Function at 0x14027c630
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0xa8
mov qword [rsp + 0x80], 0xfffffffffffffffe
mov eax, dword [0x1404e9010]
and eax, 1
test eax, eax
jne 0x14027c68c
mov eax, dword [0x1404e9010]
or eax, 1
mov dword [0x1404e9010], eax
lea rcx, [0x1404e9008]
call qword [0x1403f4428]
lea rcx, [0x1403f0a30]
call fcn.1403ade90
nop
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax + 0x488]
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
jne 0x14027c6b6
mov qword [rsp + 0x88], 0
jmp 0x14027c6c7
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 0x40]
mov qword [rsp + 0x88], rax
cmp qword [rsp + 0x88], 0
je 0x14027c722
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax + 0x488]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jne 0x14027c6fc
mov qword [rsp + 0x90], 0
jmp 0x14027c70d
mov rax, qword [rsp + 0x58]
mov rax, qword [rax + 0x40]
mov qword [rsp + 0x90], rax
mov rcx, qword [rsp + 0xc0]
mov rax, qword [rsp + 0x90]
cmp qword [rcx], rax
je 0x14027c729
xor eax, eax
jmp 0x14027c8ff
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 8]
sub eax, 1
mov dword [rsp + 0x2c], eax
cmp dword [rsp + 0x2c], 0
jl 0x14027c811
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax + 0x448]
mov qword [rsp + 0x60], rax
mov eax, dword [rsp + 0x60]
cmp dword [rsp + 0x2c], eax
jge 0x14027c811
movsxd rax, dword [rsp + 0x2c]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0xb0]
add rax, reloc.mfc90u.dll_AfxCriticalNewHandler
mov qword [rsp + 0x70], rax
cmp qword [rsp + 0x78], 0
jl 0x14027c7aa
mov rax, qword [rsp + 0x70]
mov rax, qword [rax + 0x10]
cmp qword [rsp + 0x78], rax
jl 0x14027c7af
call sub.mfc90u.dll_AfxOleUnregisterServerClass
mov rcx, qword [rsp + 0x70]
mov rcx, qword [rcx + 8]
mov rax, qword [rsp + 0x78]
lea rax, [rcx + rax*8]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov rax, qword [rax]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
lea rdx, [0x1404e9008]
mov rcx, qword [rsp + 0x30]
call qword [rax + 0x40]
test eax, eax
je 0x14027c811
lea rcx, [0x1404e9008]
call qword [sym.imp.mfc90u.dll_CDumpContext::operator___1]
mov r11, rax
mov rax, qword [rsp + 0x20]
mov qword [rax + 0x18], r11
mov eax, 1
jmp 0x14027c8ff
mov dword [rsp + 0x28], 0
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax + 8]
mov qword [rsp + 0x98], rax
cmp qword [rsp + 0x98], 1
je 0x14027c850
cmp qword [rsp + 0x98], 2
je 0x14027c85a
cmp qword [rsp + 0x98], 3
je 0x14027c8a7
jmp 0x14027c8af
mov dword [rsp + 0x28], 0x3ea0
jmp 0x14027c8af
mov ecx, setsockopt
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov word [rsp + 0x38], ax
mov dword [rsp + 0x28], 0x3ea1
movsx eax, word [rsp + 0x38]
and eax, 0x8000
test eax, eax
je 0x14027c8a5
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax]
mov rcx, qword [rsp + 0xb0]
call qword [rax + 0x648]
test eax, eax
je 0x14027c8a5
mov dword [rsp + 0x28], 0x3ea4
jmp 0x14027c8af
mov dword [rsp + 0x28], 0x428e
cmp dword [rsp + 0x28], 0
jne 0x14027c8ba
xor eax, eax
jmp 0x14027c8ff
lea rcx, [rsp + 0x40]
call fcn.14021e3c0
nop
mov edx, dword [rsp + 0x28]
lea rcx, [0x1404e9008]
call qword [sym.imp.mfc90u.dll_CPreviewDC::GrayStringW]
nop
lea rcx, [rsp + 0x40]
call fcn.14021e420
lea rcx, [0x1404e9008]
call qword [sym.imp.mfc90u.dll_CDumpContext::operator___1]
mov r11, rax
mov rax, qword [rsp + 0x20]
mov qword [rax + 0x18], r11
mov eax, 1
add rsp, 0xa8
ret