Function at 0x1400c1964
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push r13
push r14
push r15
sub rsp, 0x30
cmp qword [rcx - 0xa8], 0
mov r12d, r9d
mov r13d, r8d
mov r14d, edx
mov rsi, rcx
jne 0x1400c199e
xor eax, eax
jmp 0x1400c1a84
xor r15d, r15d
lea ecx, [r15 + 0x11]
call qword [sym.imp.USER32.dll_GetKeyState]
lea ecx, [r15 + 0x10]
movzx ebx, ax
call qword [sym.imp.USER32.dll_GetKeyState]
movzx edi, ax
and edi, 0x8000
bt ebx, 0xf
jb 0x1400c1a73
mov ecx, r14d
sub ecx, 0x23
je 0x1400c1b27
sub ecx, 1
je 0x1400c1aa3
cmp ecx, 0xa
jne 0x1400c1a73
mov rcx, rsi
call fcn.1400a7a84
mov rcx, qword [rax + 0x7b8]
cmp qword [rcx + 0xc0], r15
jne 0x1400c1a6a
test edi, edi
jne 0x1400c1a6a
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x280]
test eax, eax
jne 0x1400c1a6a
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x98]
test eax, eax
je 0x1400c1a6a
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x68]
test eax, eax
je 0x1400c1a6a
mov rax, qword [rsi]
lea edx, [rdi + 1]
mov rcx, rsi
call qword [rax + 0x20]
mov rax, qword [rsi]
lea rdx, [0x140134658]
mov rcx, rsi
call qword [rax + 0xf0]
mov rax, qword [rsi]
lea edx, [rdi + 1]
mov rcx, rsi
call qword [rax + 0x38]
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + VarBstrFromDisp]
lea r15d, [rdi + 1]
test r15d, r15d
jne 0x1400c1b93
mov r9d, r12d
mov r8d, r13d
mov edx, r14d
mov rcx, rsi
call fcn.1400a8ad0
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x60]
mov r12, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop r13
ret
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x68]
test eax, eax
je 0x1400c1a73
mov rcx, rsi
call fcn.1400a7e70
test eax, eax
jne 0x1400c1acc
mov rax, qword [rsi]
mov rcx, rsi
mov r8d, dword [rsi + 0x1c]
mov edx, dword [rsi + 0x18]
call qword [rax + 0x48]
mov rax, qword [rsi]
mov edx, 1
mov rcx, rsi
call qword [rax + 0x20]
mov rbx, qword [rsi + 0x58]
or edx, 0xffffffff
mov rcx, rbx
mov rdi, qword [rbx]
call qword [rdi + 0x60]
mov edx, eax
mov rcx, rbx
call qword [rdi + 0xa0]
mov rcx, qword [rsi - 0xa8]
mov edx, 0xb1
movsxd r8, eax
mov r9, r8
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rsi - 0xa8]
xor r9d, r9d
xor r8d, r8d
mov edx, UnRegisterTypeLib
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x1400c1b93
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x68]
test eax, eax
je 0x1400c1a73
mov rcx, rsi
call fcn.1400a7e70
test eax, eax
jne 0x1400c1b54
mov rax, qword [rsi]
mov rcx, rsi
mov r8d, dword [rsi + 0x1c]
mov edx, dword [rsi + 0x18]
call qword [rax + 0x48]
mov rax, qword [rsi]
mov edx, 1
mov rcx, rsi
call qword [rax + 0x20]
mov rbx, qword [rsi + 0x58]
mov rcx, rbx
mov rdi, qword [rbx]
call qword [rdi + 0x98]
mov edx, eax
mov rcx, rbx
call qword [rdi + VarBstrFromDisp]
cmp eax, 0xffffffff
je 0x1400c1b93
lea rcx, [rsi - 0xe8]
xor r9d, r9d
mov r8d, eax
mov edx, eax
call fcn.1400c3010
lea rcx, [rsi - 0xe8]
call fcn.1400c3a80
mov rcx, rsi
call fcn.1400a7a84
mov r8d, dword [rsi + 0x1c]
mov r9d, 2
mov edx, dword [rsi + 0x18]
and dword [rsp + 0x20], 0
mov rcx, qword [rax]
mov r10, qword [rcx + 0x600]
mov rcx, rax
call r10
test eax, eax
jne 0x1400c1bd9
mov rdx, qword [rsi]
mov rcx, rsi
call qword [rdx + 0x138]
mov eax, 1
jmp 0x1400c1a84