// Token: 0x0600054D RID: 1357 RVA: 0x0002DC48 File Offset: 0x0002BE48 public static async Task <string> smethod_0(string string_0, string string_1, string string_2, CancellationToken cancellationToken_0) { MainWindow.mainWindow_0.Invoke(new MethodInvoker(CaptchaQueue.Class126.class126_0.method_0)); Class131 @class = new Class131 { int_0 = (int)Convert.ToInt16(string_2), string_1 = string_0, uri_0 = new Uri(string_1) }; CaptchaQueue.concurrentDictionary_0[@class.string_0] = @class; CaptchaQueue.smethod_1(null, null); Task <string> task = @class.taskCompletionSource_0.Task; Task task2 = await Task.WhenAny(new Task[] { task, cancellationToken_0.smethod_23() }); Class131 class2; CaptchaQueue.concurrentDictionary_0.TryRemove(@class.string_0, out class2); CaptchaQueue.smethod_5(@class.int_1); CaptchaQueue.smethod_1(null, null); return((task == task2) ? task.Result : null); }
// Token: 0x0600057A RID: 1402 RVA: 0x00030B0C File Offset: 0x0002ED0C void IAsyncStateMachine.MoveNext() { int num2; int num = num2; string result2; try { TaskAwaiter <Task> taskAwaiter; if (num != 0) { MainWindow.mainWindow_0.Invoke(new MethodInvoker(CaptchaQueue.Class126.class126_0.method_0)); @class = new Class131 { int_0 = (int)Convert.ToInt16(string_2), string_1 = string_0, uri_0 = new Uri(string_1) }; CaptchaQueue.concurrentDictionary_0[@class.string_0] = @class; CaptchaQueue.smethod_1(null, null); task = @class.taskCompletionSource_0.Task; taskAwaiter = Task.WhenAny(new Task[] { task, cancellationToken_0.smethod_23() }).GetAwaiter(); if (!taskAwaiter.IsCompleted) { num2 = 0; TaskAwaiter <Task> taskAwaiter2 = taskAwaiter; this.asyncTaskMethodBuilder_0.AwaitUnsafeOnCompleted <TaskAwaiter <Task>, CaptchaQueue.Struct81>(ref taskAwaiter, ref this); return; } } else { TaskAwaiter <Task> taskAwaiter2; taskAwaiter = taskAwaiter2; taskAwaiter2 = default(TaskAwaiter <Task>); num2 = -1; } Task result = taskAwaiter.GetResult(); Class131 class2; CaptchaQueue.concurrentDictionary_0.TryRemove(@class.string_0, out class2); CaptchaQueue.smethod_5(@class.int_1); CaptchaQueue.smethod_1(null, null); result2 = ((task == result) ? task.Result : null); } catch (Exception exception) { num2 = -2; this.asyncTaskMethodBuilder_0.SetException(exception); return; } num2 = -2; this.asyncTaskMethodBuilder_0.SetResult(result2); }
// Token: 0x0600055F RID: 1375 RVA: 0x0002E458 File Offset: 0x0002C658 private void reloadCaptcha_Click(object sender, EventArgs e) { Class131 value = CaptchaQueue.concurrentDictionary_0.Where(new Func <KeyValuePair <string, Class131>, bool>(CaptchaQueue.Class126.class126_0.method_9)).FirstOrDefault <KeyValuePair <string, Class131> >().Value; if (value != null) { CaptchaQueue.dictionary_1[value.int_1].webView_0.LoadHtml(value.uri_0.ToString().Contains("supreme") ? CaptchaQueue.smethod_3(value.string_1, value.string_0) : CaptchaQueue.smethod_2(value.string_1, value.int_0, value.string_0, value.uri_0), value.uri_0.ToString()); return; } CaptchaQueue.smethod_5(CaptchaQueue.int_0); }
// Token: 0x06000023 RID: 35 RVA: 0x00007E4C File Offset: 0x0000604C internal void method_2() { if (CaptchaQueue.list_0.Count > 0) { ConcurrentDictionary <string, string>[] array = CaptchaQueue.list_0.Where(new Func <ConcurrentDictionary <string, string>, bool>(CaptchaQueue.Class0.class0_0.method_3)).ToArray <ConcurrentDictionary <string, string> >(); for (int i = 0; i < array.Length; i++) { CaptchaQueue.Class2 @class = new CaptchaQueue.Class2(); @class.concurrentDictionary_0 = array[i]; CaptchaQueue.Class3 class2 = new CaptchaQueue.Class3(); class2.class2_0 = @class; if (class2.class2_0.concurrentDictionary_0 == null) { return; } bool flag = false; bool flag2 = false; class2.webView_0 = CaptchaQueue.smethod_2(class2.class2_0.concurrentDictionary_0["use_invisible"] == "true", out flag2, out flag, out class2.string_0); if (!flag2) { class2.class2_0.concurrentDictionary_0["use_invisible"] = "false"; } class2.class2_0.concurrentDictionary_0["browser_name"] = class2.string_0; if (flag) { class2.class2_0.concurrentDictionary_0["solving"] = "true"; if (!flag2) { CaptchaQueue.soundPlayer_0.Play(); } if (class2.class2_0.concurrentDictionary_0["domain"].Contains("supreme")) { class2.webView_0.LoadHtml(CaptchaQueue.smethod_5(class2.class2_0.concurrentDictionary_0["sitekey"], class2.class2_0.concurrentDictionary_0["token"]), class2.class2_0.concurrentDictionary_0["domain"]); } else { class2.webView_0.LoadHtml(CaptchaQueue.smethod_4(class2.class2_0.concurrentDictionary_0["sitekey"], class2.class2_0.concurrentDictionary_0["taskID"], class2.class2_0.concurrentDictionary_0["token"], class2.class2_0.concurrentDictionary_0["domain"]), class2.class2_0.concurrentDictionary_0["domain"]); } if (flag2) { new Task(new Action(class2.method_0)).Start(); } } } return; } if (CaptchaQueue.concurrentDictionary_1["main"] && !CaptchaQueue.webView_0.GetText().Contains("WAITING")) { CaptchaQueue.smethod_7(); } }