Beispiel #1
0
 // Token: 0x060001F4 RID: 500 RVA: 0x00012E88 File Offset: 0x00011088
 private void timer_0_Tick(object sender, EventArgs e)
 {
     if (base.Opacity >= 1.0)
     {
         this.timer_0.Stop();
         GForm3.eventHandler_0(this, e);
         return;
     }
     base.Opacity += 0.05;
 }
Beispiel #2
0
 // Token: 0x060002B6 RID: 694 RVA: 0x000191D4 File Offset: 0x000173D4
 internal void method_0()
 {
     try
     {
         GForm3.smethod_8();
         GForm1.webView_0.QueueScriptCall(Class185.smethod_0(537700728));
         Thread.Sleep(1500);
         GForm1.gform1_0.method_9(null, null);
     }
     catch
     {
         GForm1.webView_0.QueueScriptCall(Class185.smethod_0(537700543));
     }
 }
Beispiel #3
0
 // Token: 0x060001FC RID: 508 RVA: 0x0001313C File Offset: 0x0001133C
 public static string smethod_6()
 {
     if (GForm3.string_1 == null)
     {
         GForm3.string_1 = string.Concat(new string[]
         {
             GForm3.smethod_5(),
             Class185.smethod_0(537711014),
             GForm3.smethod_3(),
             Class185.smethod_0(537711014),
             GForm3.smethod_4().Trim()
         });
         return(GForm3.string_1);
     }
     return(GForm3.string_1);
 }
Beispiel #4
0
 // Token: 0x060005F2 RID: 1522 RVA: 0x000353F0 File Offset: 0x000335F0
 internal void method_0()
 {
     GForm1.webView_0.QueueScriptCall(Class185.smethod_0(537714943));
     for (int i = 0; i < 5; i++)
     {
         GForm3.smethod_11(GClass0.string_2, false, true);
         if (GForm3.dateTime_0 > Class173.dateTime_0)
         {
             GForm1.webView_0.QueueScriptCall(Class185.smethod_0(537714806));
             Class68.smethod_1();
             return;
         }
         Thread.Sleep(3000);
     }
     GForm1.webView_0.QueueScriptCall(Class185.smethod_0(537716720));
 }
Beispiel #5
0
    // Token: 0x06000202 RID: 514 RVA: 0x0001328C File Offset: 0x0001148C
    private async void bunifuFlatButton_0_Click(object sender, EventArgs e)
    {
        this.bunifuFlatButton_0.ButtonText = Class185.smethod_0(537708238);
        string text = await GForm3.smethod_11(this.bunifuMetroTextbox_0.Text, true, false);

        if (text == Class185.smethod_0(537706979))
        {
            GClass0.string_2 = this.bunifuMetroTextbox_0.Text;
            GClass0.smethod_2();
            this.bunifuMetroTextbox_0.BorderColorFocused    = Color.Green;
            this.bunifuMetroTextbox_0.BorderColorIdle       = Color.Green;
            this.bunifuMetroTextbox_0.BorderColorMouseHover = Color.Green;
            this.bunifuCustomLabel_0.Text      = Class185.smethod_0(537708276);
            this.bunifuCustomLabel_0.ForeColor = Color.Green;
            this.method_1();
            new GForm5(true, text);
        }
        else if (text == Class185.smethod_0(537708475))
        {
            this.bunifuMetroTextbox_0.BorderColorFocused    = Color.Red;
            this.bunifuMetroTextbox_0.BorderColorIdle       = Color.Red;
            this.bunifuMetroTextbox_0.BorderColorMouseHover = Color.Red;
            this.bunifuCustomLabel_0.Text      = Class185.smethod_0(537708037);
            this.bunifuCustomLabel_0.ForeColor = Color.Red;
        }
        else if (text == Class185.smethod_0(537708458))
        {
            this.bunifuMetroTextbox_0.BorderColorFocused    = Color.Red;
            this.bunifuMetroTextbox_0.BorderColorIdle       = Color.Red;
            this.bunifuMetroTextbox_0.BorderColorMouseHover = Color.Red;
            this.bunifuCustomLabel_0.Text      = Class185.smethod_0(537708148);
            this.bunifuCustomLabel_0.ForeColor = Color.Red;
        }
        else if (text == Class185.smethod_0(537710733))
        {
            this.bunifuMetroTextbox_0.BorderColorFocused    = Color.Red;
            this.bunifuMetroTextbox_0.BorderColorIdle       = Color.Red;
            this.bunifuMetroTextbox_0.BorderColorMouseHover = Color.Red;
            this.bunifuCustomLabel_0.Text      = Class185.smethod_0(537707929);
            this.bunifuCustomLabel_0.ForeColor = Color.Red;
        }
        this.bunifuFlatButton_0.ButtonText = Class185.smethod_0(537707996);
    }
Beispiel #6
0
    // Token: 0x0600006F RID: 111 RVA: 0x0000ADF4 File Offset: 0x00008FF4
    private void method_2(object sender, LoadCompletedEventArgs e)
    {
        this.method_1();
        Class68.smethod_1();
        GForm1.gform7_0 = new GForm7(true);
        Class68.smethod_6();
        Class68.smethod_7();
        Class68.smethod_8();
        Class68.smethod_5(null, null);
        bool isAttached = Debugger.IsAttached;

        GForm3.smethod_9();
        Class173.jobject_3 = JObject.Parse(GForm1.webView_0.QueueScriptCall(Class185.smethod_0(537707460)).smethod_0());
        Class23.smethod_0();
        base.Opacity = 0.0;
        base.Show();
        this.timer_0.Interval = 10;
        this.timer_0.Tick    += this.timer_0_Tick;
        this.timer_0.Start();
    }
Beispiel #7
0
        // Token: 0x0600020C RID: 524 RVA: 0x00014618 File Offset: 0x00012818
        void IAsyncStateMachine.MoveNext()
        {
            int    num2;
            int    num   = num2;
            GForm3 gform = this;

            try
            {
                TaskAwaiter <string> taskAwaiter;
                if (num != 0)
                {
                    gform.bunifuFlatButton_0.ButtonText = Class185.smethod_0(537708238);
                    taskAwaiter = GForm3.smethod_11(gform.bunifuMetroTextbox_0.Text, true, false).GetAwaiter();
                    if (!taskAwaiter.IsCompleted)
                    {
                        num2 = 0;
                        TaskAwaiter <string> taskAwaiter2 = taskAwaiter;
                        this.asyncVoidMethodBuilder_0.AwaitUnsafeOnCompleted <TaskAwaiter <string>, GForm3.Struct6>(ref taskAwaiter, ref this);
                        return;
                    }
                }
                else
                {
                    TaskAwaiter <string> taskAwaiter2;
                    taskAwaiter  = taskAwaiter2;
                    taskAwaiter2 = default(TaskAwaiter <string>);
                    num2         = -1;
                }
                string result = taskAwaiter.GetResult();
                if (result == Class185.smethod_0(537706979))
                {
                    GClass0.string_2 = gform.bunifuMetroTextbox_0.Text;
                    GClass0.smethod_2();
                    gform.bunifuMetroTextbox_0.BorderColorFocused    = Color.Green;
                    gform.bunifuMetroTextbox_0.BorderColorIdle       = Color.Green;
                    gform.bunifuMetroTextbox_0.BorderColorMouseHover = Color.Green;
                    gform.bunifuCustomLabel_0.Text      = Class185.smethod_0(537708276);
                    gform.bunifuCustomLabel_0.ForeColor = Color.Green;
                    gform.method_1();
                    new GForm5(true, result);
                }
                else if (result == Class185.smethod_0(537708475))
                {
                    gform.bunifuMetroTextbox_0.BorderColorFocused    = Color.Red;
                    gform.bunifuMetroTextbox_0.BorderColorIdle       = Color.Red;
                    gform.bunifuMetroTextbox_0.BorderColorMouseHover = Color.Red;
                    gform.bunifuCustomLabel_0.Text      = Class185.smethod_0(537708037);
                    gform.bunifuCustomLabel_0.ForeColor = Color.Red;
                }
                else if (result == Class185.smethod_0(537708458))
                {
                    gform.bunifuMetroTextbox_0.BorderColorFocused    = Color.Red;
                    gform.bunifuMetroTextbox_0.BorderColorIdle       = Color.Red;
                    gform.bunifuMetroTextbox_0.BorderColorMouseHover = Color.Red;
                    gform.bunifuCustomLabel_0.Text      = Class185.smethod_0(537708148);
                    gform.bunifuCustomLabel_0.ForeColor = Color.Red;
                }
                else if (result == Class185.smethod_0(537710733))
                {
                    gform.bunifuMetroTextbox_0.BorderColorFocused    = Color.Red;
                    gform.bunifuMetroTextbox_0.BorderColorIdle       = Color.Red;
                    gform.bunifuMetroTextbox_0.BorderColorMouseHover = Color.Red;
                    gform.bunifuCustomLabel_0.Text      = Class185.smethod_0(537707929);
                    gform.bunifuCustomLabel_0.ForeColor = Color.Red;
                }
                gform.bunifuFlatButton_0.ButtonText = Class185.smethod_0(537707996);
            }
            catch (Exception exception)
            {
                num2 = -2;
                this.asyncVoidMethodBuilder_0.SetException(exception);
                return;
            }
            num2 = -2;
            this.asyncVoidMethodBuilder_0.SetResult();
        }
Beispiel #8
0
        // Token: 0x0600020A RID: 522 RVA: 0x000143C4 File Offset: 0x000125C4
        void IAsyncStateMachine.MoveNext()
        {
            int num = this.int_0;

            try
            {
                for (;;)
                {
                    try
                    {
                        TaskAwaiter          awaiter;
                        TaskAwaiter <string> awaiter2;
                        switch (num)
                        {
                        case 0:
                        {
                            awaiter            = this.taskAwaiter_0;
                            this.taskAwaiter_0 = default(TaskAwaiter);
                            int num2 = -1;
                            num        = -1;
                            this.int_0 = num2;
                            break;
                        }

                        case 1:
                        {
                            awaiter2           = this.taskAwaiter_1;
                            this.taskAwaiter_1 = default(TaskAwaiter <string>);
                            int num3 = -1;
                            num        = -1;
                            this.int_0 = num3;
                            goto IL_D9;
                        }

                        case 2:
                        {
                            awaiter            = this.taskAwaiter_0;
                            this.taskAwaiter_0 = default(TaskAwaiter);
                            int num4 = -1;
                            num        = -1;
                            this.int_0 = num4;
                            goto IL_19A;
                        }

                        default:
                            awaiter = Task.Delay(GForm3.int_0 * 1000).GetAwaiter();
                            if (!awaiter.IsCompleted)
                            {
                                int num5 = 0;
                                num                = 0;
                                this.int_0         = num5;
                                this.taskAwaiter_0 = awaiter;
                                this.asyncVoidMethodBuilder_0.AwaitUnsafeOnCompleted <TaskAwaiter, GForm3.Struct5>(ref awaiter, ref this);
                                return;
                            }
                            break;
                        }
                        awaiter.GetResult();
                        awaiter2 = GForm3.smethod_11(GClass0.string_2, false, true).GetAwaiter();
                        if (!awaiter2.IsCompleted)
                        {
                            int num6 = 1;
                            num                = 1;
                            this.int_0         = num6;
                            this.taskAwaiter_1 = awaiter2;
                            this.asyncVoidMethodBuilder_0.AwaitUnsafeOnCompleted <TaskAwaiter <string>, GForm3.Struct5>(ref awaiter2, ref this);
                            break;
                        }
IL_D9:
                        string result = awaiter2.GetResult();
                        if (!(result != Class185.smethod_0(537706979)) || !(result != Class185.smethod_0(537710733)))
                        {
                            continue;
                        }
                        this.int_1 = 5;
                        this.int_2 = 0;
IL_139:
                        if (this.int_1 <= this.int_2)
                        {
                            GClass0.string_2 = null;
                            GClass0.smethod_2();
                            GForm1.gform1_0.method_9(null, null);
                            continue;
                        }
                        GForm1.webView_0.QueueScriptCall(Class185.smethod_0(537708504) + (this.int_1 - this.int_2).ToString() + Class185.smethod_0(537708322));
                        awaiter = Task.Delay(1000).GetAwaiter();
                        if (!awaiter.IsCompleted)
                        {
                            int num7 = 2;
                            num                = 2;
                            this.int_0         = num7;
                            this.taskAwaiter_0 = awaiter;
                            this.asyncVoidMethodBuilder_0.AwaitUnsafeOnCompleted <TaskAwaiter, GForm3.Struct5>(ref awaiter, ref this);
                            break;
                        }
IL_19A:
                        awaiter.GetResult();
                        int num8 = this.int_2;
                        this.int_2 = num8 + 1;
                        goto IL_139;
                    }
                    catch
                    {
                    }
                }
            }
            catch (Exception exception)
            {
                this.int_0 = -2;
                this.asyncVoidMethodBuilder_0.SetException(exception);
            }
        }
Beispiel #9
0
        // Token: 0x06000208 RID: 520 RVA: 0x00013CCC File Offset: 0x00011ECC
        void IAsyncStateMachine.MoveNext()
        {
            int    num = this.int_0;
            string result;

            try
            {
                try
                {
                    TaskAwaiter <HttpResponseMessage> awaiter;
                    if (num != 0)
                    {
                        awaiter = new Class70(null, Class185.smethod_0(537692910), 10, false, true, null, false).method_6(string.Format(Class185.smethod_0(537706925), new object[]
                        {
                            Class173.struct42_1.method_1(),
                            Class173.struct42_0.method_1(),
                            this.string_0,
                            Assembly.GetEntryAssembly().GetName().Version
                        }), false).GetAwaiter();
                        if (!awaiter.IsCompleted)
                        {
                            this.int_0         = 0;
                            this.taskAwaiter_0 = awaiter;
                            this.asyncTaskMethodBuilder_0.AwaitUnsafeOnCompleted <TaskAwaiter <HttpResponseMessage>, GForm3.Struct4>(ref awaiter, ref this);
                            return;
                        }
                    }
                    else
                    {
                        awaiter            = this.taskAwaiter_0;
                        this.taskAwaiter_0 = default(TaskAwaiter <HttpResponseMessage>);
                        this.int_0         = -1;
                    }
                    JObject jobject = awaiter.GetResult().smethod_0();
                    if ((bool)jobject[Class185.smethod_0(537706979)])
                    {
                        string text = GForm3.smethod_6();
                        GForm3.dateTime_0  = Convert.ToDateTime(jobject[Class185.smethod_0(537706783)]);
                        GForm3.int_0       = (int)jobject[Class185.smethod_0(537706765)];
                        Class173.jobject_4 = JObject.Parse(jobject[Class185.smethod_0(537706815)][Class185.smethod_0(537706797)].ToString());
                        Class173.jobject_0 = JObject.Parse(jobject[Class185.smethod_0(537706815)][Class185.smethod_0(537706840)].ToString());
                        Class173.jobject_2 = JObject.Parse(jobject[Class185.smethod_0(537692180)][Class185.smethod_0(537706825)][Class185.smethod_0(537700388)].ToString());
                        Class173.jarray_0  = JArray.Parse(jobject[Class185.smethod_0(537692180)][Class185.smethod_0(537706825)][Class185.smethod_0(537706818)].ToString());
                        Class173.jarray_1  = JArray.Parse(jobject[Class185.smethod_0(537692180)][Class185.smethod_0(537706864)][Class185.smethod_0(537706818)].ToString());
                        Class173.jobject_1 = JObject.Parse(jobject[Class185.smethod_0(537692180)][Class185.smethod_0(537706857)].ToString());
                        Class173.string_2  = jobject[Class185.smethod_0(537706655)][Class185.smethod_0(537706638)].ToString();
                        Class173.string_3  = jobject[Class185.smethod_0(537706655)][Class185.smethod_0(537706673)].ToString();
                        Class173.string_4  = jobject[Class185.smethod_0(537706655)][Class185.smethod_0(537706656)].ToString();
                        Class173.jobject_5 = JObject.Parse(jobject[Class185.smethod_0(537706707)].ToString());
                        Class173.bool_0    = (bool)jobject[Class185.smethod_0(537692180)][Class185.smethod_0(537706864)][Class185.smethod_0(537706689)];
                        Class173.bool_1    = (bool)jobject[Class185.smethod_0(537692180)][Class185.smethod_0(537706825)][Class185.smethod_0(537706689)];
                        JToken jtoken = jobject[Class185.smethod_0(537706742)];
                        GForm3.string_0 = ((jtoken != null) ? jtoken.ToString() : null);
                        if (Class173.jobject_5[Class185.smethod_0(537706724)][Assembly.GetEntryAssembly().GetName().Version.ToString()] != null && Convert.ToDateTime(jobject[Class185.smethod_0(537706783)]) < Convert.ToDateTime(Class173.jobject_5[Class185.smethod_0(537706724)][Assembly.GetEntryAssembly().GetName().Version.ToString()][Class185.smethod_0(537706515)].ToString()))
                        {
                            Process.GetCurrentProcess().Kill();
                        }
                        if (Class173.string_0 == null)
                        {
                            Class173.string_0 = GForm3.smethod_10(jobject[Class185.smethod_0(537706510)].ToString(), this.string_0 + (string)jobject[Class185.smethod_0(537706553)] + (string)jobject[Class185.smethod_0(537706655)][Class185.smethod_0(537692633)] + Class173.struct42_0.method_1(), null);
                        }
                        if (this.bool_0 && jobject[Class185.smethod_0(537706536)][Class185.smethod_0(537706534)].Type != JTokenType.Null && !GForm3.list_0.Contains(jobject[Class185.smethod_0(537706536)].ToString()))
                        {
                            GForm3.list_0.Add(jobject[Class185.smethod_0(537706536)].ToString());
                            GForm1.webView_0.QueueScriptCall(string.Format(Class185.smethod_0(537706580), jobject[Class185.smethod_0(537706536)][Class185.smethod_0(537712450)].ToString(), jobject[Class185.smethod_0(537706536)][Class185.smethod_0(537706534)].ToString()));
                        }
                        if (jobject[Class185.smethod_0(537706613)].ToString() == Class185.smethod_0(537706594))
                        {
                            result = Class185.smethod_0(537706979);
                        }
                        else if (jobject[Class185.smethod_0(537706613)].ToString() == Class185.smethod_0(537708442))
                        {
                            if (this.bool_1)
                            {
                                GForm3.smethod_7(this.string_0, text);
                                result = Class185.smethod_0(537706979);
                            }
                            else
                            {
                                result = Class185.smethod_0(537708434);
                            }
                        }
                        else if (jobject[Class185.smethod_0(537708417)].ToString() == text)
                        {
                            result = Class185.smethod_0(537706979);
                        }
                        else if (jobject[Class185.smethod_0(537708417)].ToString() != text)
                        {
                            result = Class185.smethod_0(537708475);
                        }
                        else
                        {
                            result = Class185.smethod_0(537710733);
                        }
                    }
                    else
                    {
                        result = Class185.smethod_0(537708458);
                    }
                }
                catch
                {
                    result = Class185.smethod_0(537710733);
                }
            }
            catch (Exception exception)
            {
                this.int_0 = -2;
                this.asyncTaskMethodBuilder_0.SetException(exception);
                return;
            }
            this.int_0 = -2;
            this.asyncTaskMethodBuilder_0.SetResult(result);
        }
Beispiel #10
0
        // Token: 0x06000522 RID: 1314 RVA: 0x0002BE5C File Offset: 0x0002A05C
        void IAsyncStateMachine.MoveNext()
        {
            int    num2;
            int    num   = num2;
            GForm5 gform = this;

            try
            {
                for (;;)
                {
                    try
                    {
                        string a;
                        TaskAwaiter <string> taskAwaiter3;
                        if (num != 0)
                        {
                            if (gform.string_1 != null)
                            {
                                a = gform.string_1;
                                goto IL_E7;
                            }
                            if (GClass0.string_2 == null || GClass0.string_2.Length <= 5)
                            {
                                gform.method_5(Class185.smethod_0(537721779), Class185.smethod_0(537721735));
                                a = Class185.smethod_0(537721762);
                                goto IL_E7;
                            }
                            gform.method_5(Class185.smethod_0(537721754), Class185.smethod_0(537721735));
                            taskAwaiter3 = GForm3.smethod_11(GClass0.string_2, true, false).GetAwaiter();
                            if (!taskAwaiter3.IsCompleted)
                            {
                                int num3 = 0;
                                num          = 0;
                                num2         = num3;
                                taskAwaiter2 = taskAwaiter3;
                                this.asyncVoidMethodBuilder_0.AwaitUnsafeOnCompleted <TaskAwaiter <string>, GForm5.Struct41>(ref taskAwaiter3, ref this);
                                return;
                            }
                        }
                        else
                        {
                            taskAwaiter3 = taskAwaiter2;
                            taskAwaiter2 = default(TaskAwaiter <string>);
                            int num4 = -1;
                            num  = -1;
                            num2 = num4;
                        }
                        a = taskAwaiter3.GetResult();
IL_E7:
                        if (a == Class185.smethod_0(537706979))
                        {
                            gform.method_6();
                            Thread.Sleep(500);
                            gform.method_5(string.Format(Class185.smethod_0(537721821), GForm3.string_0.Split(new char[]
                            {
                                '#'
                            })[0]), Class185.smethod_0(537721735));
                            GForm1.smethod_0(new EventHandler(gform.method_3));
                            new GForm1().Show();
                        }
                        else
                        {
                            if (a == Class185.smethod_0(537710733))
                            {
                                for (int i = 10; i > 0; i--)
                                {
                                    gform.method_5(string.Format(Class185.smethod_0(537721796), i), Class185.smethod_0(537721735));
                                    Thread.Sleep(1000);
                                }
                                continue;
                            }
                            GForm3.smethod_0(new EventHandler(gform.method_3));
                            new GForm3();
                        }
                    }
                    catch
                    {
                        for (int j = 10; j > 0; j--)
                        {
                            gform.method_5(string.Format(Class185.smethod_0(537721796), j), Class185.smethod_0(537721735));
                            Thread.Sleep(1000);
                        }
                        continue;
                    }
                    break;
                }
            }
            catch (Exception exception)
            {
                num2 = -2;
                this.asyncVoidMethodBuilder_0.SetException(exception);
                return;
            }
            num2 = -2;
            this.asyncVoidMethodBuilder_0.SetResult();
        }
Beispiel #11
0
 // Token: 0x0600051D RID: 1309 RVA: 0x0002BD14 File Offset: 0x00029F14
 public async void method_7(object sender, EventArgs e)
 {
     for (;;)
     {
         try
         {
             string a;
             if (this.string_1 == null)
             {
                 if (GClass0.string_2 != null && GClass0.string_2.Length > 5)
                 {
                     this.method_5(Class185.smethod_0(537721754), Class185.smethod_0(537721735));
                     TaskAwaiter <string> taskAwaiter = GForm3.smethod_11(GClass0.string_2, true, false).GetAwaiter();
                     if (!taskAwaiter.IsCompleted)
                     {
                         await taskAwaiter;
                         TaskAwaiter <string> taskAwaiter2;
                         taskAwaiter  = taskAwaiter2;
                         taskAwaiter2 = default(TaskAwaiter <string>);
                     }
                     a = taskAwaiter.GetResult();
                 }
                 else
                 {
                     this.method_5(Class185.smethod_0(537721779), Class185.smethod_0(537721735));
                     a = Class185.smethod_0(537721762);
                 }
             }
             else
             {
                 a = this.string_1;
             }
             if (a == Class185.smethod_0(537706979))
             {
                 this.method_6();
                 Thread.Sleep(500);
                 this.method_5(string.Format(Class185.smethod_0(537721821), GForm3.string_0.Split(new char[]
                 {
                     '#'
                 })[0]), Class185.smethod_0(537721735));
                 GForm1.smethod_0(new EventHandler(this.method_3));
                 new GForm1().Show();
             }
             else
             {
                 if (a == Class185.smethod_0(537710733))
                 {
                     for (int i = 10; i > 0; i--)
                     {
                         this.method_5(string.Format(Class185.smethod_0(537721796), i), Class185.smethod_0(537721735));
                         Thread.Sleep(1000);
                     }
                     continue;
                 }
                 GForm3.smethod_0(new EventHandler(this.method_3));
                 new GForm3();
             }
         }
         catch
         {
             for (int j = 10; j > 0; j--)
             {
                 this.method_5(string.Format(Class185.smethod_0(537721796), j), Class185.smethod_0(537721735));
                 Thread.Sleep(1000);
             }
             continue;
         }
         break;
     }
 }