Function at 0x14007fff0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
sub rsp, 0x50
mov ebp, r9d
mov r12d, r8d
mov edi, edx
mov rsi, rcx
test rcx, rcx
je 0x140080032
cmp qword [rcx + 0x40], 0
je 0x140080032
mov rax, qword [rcx]
call qword [rax + 0x648]
mov rcx, rax
call fcn.1400789a0
test rax, rax
je 0x140080039
mov al, 1
jmp 0x1400802d3
mov qword [rsp + 0x60], rbx
mov rbx, qword [rsp + 0x80]
lea rcx, [rsp + 0x30]
movzx eax, byte [rbx]
mov r9d, r12d
mov r8d, edi
mov byte [rsp + 0x28], al
mov rdx, rsi
mov dword [rsp + 0x20], ebp
call fcn.1400785a0
lea rcx, [rsp + 0x30]
call fcn.140078640
test al, al
je 0x140080084
movzx eax, byte [rsp + 0x38]
shr al, 1
and al, 1
mov byte [rbx], al
mov al, 1
jmp 0x1400802ce
lea eax, [rdi - 9]
xor bpl, bpl
cmp eax, 0x1f
ja case.0x1400800ac.10
lea rdx, [0x140000000]
movzx eax, byte [rdx + rax + 0x80300]
mov ecx, dword [rdx + rax*4 + 0x802ec]
add rcx, rdx
jmp rcx
mov eax, dword [rsi + 0xa98]
mov rbx, qword [rsi + 0x40]
test eax, eax
jns 0x1400800c6
cmp eax, 0xffffff9b
je 0x1400800c6
cmp eax, 0xffffff9a
jne 0x1400800f2
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x298]
test al, al
jne 0x1400800f2
mov dl, 1
mov rcx, rsi
call fcn.14007b310
mov rcx, qword [0x140272990]
mov edx, 3
mov rax, qword [rcx]
call qword [rax + 0x18]
mov rcx, rbx
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x140080206
mov edx, dword [rsi + 0xa98]
cmp edx, 0xffffff9a
je 0x14008012a
cmp edx, 0xffffff9b
je 0x140080123
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x6e8]
mov edx, eax
jmp 0x14008012f
mov edx, 0xfffffffd
jmp 0x14008012f
mov edx, 0xfffffffe
mov rax, qword [rsi]
xor r8d, r8d
mov rcx, rsi
call qword [rax + 0x638]
mov al, 1
jmp 0x1400802ce
mov rax, qword [rsi]
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call qword [rax + 0x638]
mov al, 1
jmp 0x1400802ce
test byte [rsi + 0x3cc], 1
je 0x14008017e
mov rax, qword [rsi]
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call qword [rax + 0x638]
mov al, 1
jmp 0x1400802ce
mov rcx, qword [rsi + 0x3e8]
mov rax, qword [rcx]
call qword [rax + 0x310]
mov rcx, qword [rsi + 0x3e8]
mov rdi, qword [rsi + 0x40]
mov rdx, qword [rcx]
mov ebx, eax
call qword [rdx + 0x598]
mov rcx, qword [rsi + 0x3e8]
xor r9d, r9d
mov r10, qword [rcx]
lea r8d, [r9 + 1]
xor edx, edx
call qword [r10 + 0x530]
mov rcx, qword [rsi + 0x3e8]
mov r9d, 1
mov rax, qword [rcx]
xor r8d, r8d
mov edx, ebx
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 1
call qword [rax + 0x540]
mov rcx, rdi
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x140080206
mov rcx, qword [rsi + 0x3e8]
mov rax, qword [rcx]
call qword [rax + 0x598]
mov al, 1
jmp 0x1400802ce
cmp edi, 9
jne 0x140080266
lea ecx, [rdi + 9]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
lea ecx, [rdi + 8]
mov bx, ax
shr ebx, 0xf
and bl, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov r11w, ax
shr r11d, 0xf
test r11b, 1
jne case.0x1400800ac.10
test bl, bl
jne case.0x1400800ac.10
lea ecx, [rdi + 7]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov r11w, ax
shr r11d, 0xf
mov dil, r11b
not dil
and edi, 1
add edi, edi
or edi, 0x25
mov ebx, dword [rsi + 0xa98]
mov rax, qword [rsi]
mov r8d, edi
mov edx, ebx
mov rcx, rsi
call qword [rax + 0x6f8]
cmp eax, ebx
mov dword [rsi + 0xa98], eax
setne bpl
test bpl, bpl
je case.0x1400800ac.10
mov rax, qword [rsi]
mov rbx, qword [rsi + 0x40]
mov dl, 1
mov rcx, rsi
call qword [rax + 0x600]
mov rcx, rbx
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x140080206
xor edx, edx
mov rcx, rsi
call fcn.14007b310
mov rcx, qword [rsi + 0x40]
xor edx, edx
lea r8d, [rdx + 1]
call qword [sym.imp.USER32.dll_InvalidateRect]
mov al, bpl
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop r12
ret