private void method_2(Class68 options) { Class44 class44 = new Class44(this.byte_3); this.byte_2 = new byte[32]; class44.method_1(Class69.byte_0, this.byte_2); }
private void method_1(Class68 options) { byte[] hash = Md5Helper.ComputeHash(Class69.smethod_1(options.OwnerPassword ?? options.UserPassword)); byte[] dataIn = Class69.smethod_1(options.UserPassword); Class44 class44 = new Class44(hash, 0, 5); this.byte_1 = new byte[32]; class44.method_1(dataIn, this.byte_1); }
internal static bool smethod_4( string password, byte[] userEntry, byte[] ownerEntry, int permissions, byte[] fileId) { Class44 class44 = new Class44(Md5Helper.ComputeHash(Class69.smethod_1(password)), 0, 5); byte[] numArray = new byte[32]; class44.method_1(ownerEntry, numArray); return(Class69.smethod_3(numArray, userEntry, ownerEntry, permissions, fileId)); }
private static bool smethod_3( byte[] paddedPassword, byte[] userEntry, byte[] ownerEntry, int permissions, byte[] fileId) { Class44 class44 = new Class44(Class69.smethod_0(paddedPassword, ownerEntry, permissions, fileId)); byte[] numArray = new byte[32]; class44.method_1(userEntry, numArray); return(Class69.smethod_5(Class69.byte_0, numArray)); }
// Token: 0x060001E2 RID: 482 RVA: 0x00012048 File Offset: 0x00010248 void IAsyncStateMachine.MoveNext() { int num2; int num = num2; Class44 @class = this; try { try { TaskAwaiter taskAwaiter3; if (num != 0) { if (num != 1) { @class.bool_1 = true; if (bool_3 && [email protected]_2) { @class.bool_2 = bool_3; @class.method_5(string_7, string_8, true, true); GEnum1 genum = genum1_0; if (genum != (GEnum1)5) { if (genum != (GEnum1)6) { goto IL_17B; } @class.method_1(); taskAwaiter3 = @class.method_8(true).GetAwaiter(); if (!taskAwaiter3.IsCompleted) { num2 = 1; taskAwaiter2 = taskAwaiter3; this.asyncVoidMethodBuilder_0.AwaitUnsafeOnCompleted <TaskAwaiter, Class44.Struct28>(ref taskAwaiter3, ref this); return; } } else { taskAwaiter3 = @class.method_8(false).GetAwaiter(); if (!taskAwaiter3.IsCompleted) { num2 = 0; taskAwaiter2 = taskAwaiter3; this.asyncVoidMethodBuilder_0.AwaitUnsafeOnCompleted <TaskAwaiter, Class44.Struct28>(ref taskAwaiter3, ref this); return; } goto IL_174; } } else { if (!bool_3) { @class.bool_2 = bool_3; @class.method_5("Stopping...", "orange", true, true); @class.cancellationTokenSource_0.Cancel(); @class.class14_0.httpClient_0.CancelPendingRequests(); goto IL_1E3; } goto IL_1E3; } } else { taskAwaiter3 = taskAwaiter2; taskAwaiter2 = default(TaskAwaiter); num2 = -1; } taskAwaiter3.GetResult(); goto IL_17B; } taskAwaiter3 = taskAwaiter2; taskAwaiter2 = default(TaskAwaiter); num2 = -1; IL_174: taskAwaiter3.GetResult(); IL_17B: if (@class.class14_0 != null) { @class.class14_0.httpClient_0.Dispose(); } @class.cancellationTokenSource_0.Dispose(); Class130.dictionary_0.Remove((int)@class.jtoken_0["id"]); MainWindow.webView_0.QueueScriptCall(string.Format("updateButton({0},false)", @class.jtoken_0["id"])); IL_1E3 :; } catch { } } catch (Exception exception) { num2 = -2; this.asyncVoidMethodBuilder_0.SetException(exception); return; } num2 = -2; this.asyncVoidMethodBuilder_0.SetResult(); }