Function at 0x14009ee20
Capabilities:
Log keystrokes via polling

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
lea rdi, [rcx + 0x1e8]
mov byte [rsp + 0x20], 1
xor r12d, r12d
mov rbx, rdx
test rcx, rcx
mov rsi, rcx
mov rax, rdi
lea rcx, [rbp - 0x20]
cmove rax, r12
mov r8b, 1
mov qword [rbp - 0x10], rax
xor r9d, r9d
mov eax, dword [rdx]
mov r15d, 0x7f01
mov dword [rbp + 0x40], eax
mov eax, dword [rdx + 4]
lea rdx, [rbp + 0x40]
mov dword [rbp + 0x44], eax
call fcn.14008b5c0
mov eax, dword [rbx]
lea rdx, [rbp + 0x40]
mov dword [rbp + 0x40], eax
lea rcx, [rbp - 0x50]
mov eax, dword [rbx + 4]
xor r9d, r9d
mov r8b, 1
mov dword [rbp + 0x44], eax
mov qword [rbp - 0x40], rdi
mov byte [rsp + 0x20], 1
call fcn.14008b5c0
movsxd rax, dword [rbp - 0x50]
mov rdx, qword [rbp - 0x40]
test eax, eax
js 0x14009eec1
cmp eax, dword [rdx + 0x10]
jge 0x14009eec1
mov rcx, rax
mov rax, qword [rdx + 0x20]
mov r14, qword [rax + rcx*8]
jmp 0x14009eec4
mov r14, r12
movsxd rax, dword [rbp - 0x18]
mov qword [rsp + 0xd8], r13
test eax, eax
js 0x14009eeec
cmp eax, dword [rsi + 0x290]
jge 0x14009eeec
mov rcx, rax
mov rax, qword [rsi + 0x2a0]
mov r13, qword [rax + rcx*8]
jmp 0x14009eeef
mov r13, r12
mov eax, dword [rbx]
lea rdx, [rbp + 0x40]
mov r9b, 1
mov dword [rbp + 0x40], eax
mov eax, dword [rbx + 4]
lea rcx, [rbp - 0x38]
movzx r8d, r9b
mov dword [rbp + 0x44], eax
mov qword [rbp - 0x28], rdi
mov byte [rsp + 0x20], 1
call fcn.14008b5c0
movsxd rax, dword [rbp - 0x38]
mov rdx, qword [rbp - 0x28]
test eax, eax
js 0x14009ef33
cmp eax, dword [rdx + 0x10]
jge 0x14009ef33
mov rcx, rax
mov rax, qword [rdx + 0x20]
mov r12, qword [rax + rcx*8]
mov rcx, qword [rsi + 0x3e0]
test rcx, rcx
je 0x14009ef65
mov eax, dword [rbx]
lea rdx, [rbp + 0x40]
mov dword [rbp + 0x40], eax
mov r8d, 1
mov eax, dword [rbx + 4]
mov dword [rbp + 0x44], eax
mov rax, qword [rcx]
call qword [rax + 0x648]
test al, al
jne 0x14009f041
cmp qword [rsi + 0xf0], 0
mov eax, dword [rbx]
mov dword [rbp + 0x40], eax
mov eax, dword [rbx + 4]
mov dword [rbp + 0x48], eax
jne 0x14009f046
mov eax, dword [rsi + 0xd0]
sub eax, 1
js 0x14009efe7
movsxd rdi, eax
nop dword [rax]
mov rax, qword [rsi + 0xe0]
mov rcx, qword [rax + rdi*8]
mov rbx, qword [rcx + 8]
test rbx, rbx
je 0x14009efe1
mov rax, qword [rbx]
lea rdx, str.JRControlWnd
mov rcx, rbx
call qword [rax + 0x2f8]
test al, al
je 0x14009efe1
mov eax, dword [rbp + 0x40]
lea rdx, [rbp + 0x50]
mov dword [rbp + 0x50], eax
mov r8d, 2
mov eax, dword [rbp + 0x48]
mov rcx, rbx
mov dword [rbp + 0x54], eax
mov rax, qword [rbx]
call qword [rax + 0x648]
test al, al
jne 0x14009f046
sub rdi, 1
jns 0x14009ef90
test r13, r13
je 0x14009f013
mov ecx, dword [r13 + 0x28]
mov eax, ecx
shr eax, 3
test al, 1
jne 0x14009f025
shr ecx, 4
test cl, 1
je 0x14009f013
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x14009f025
test r14, r14
je 0x14009f02c
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 0x48]
test al, al
je 0x14009f02c
mov eax, 0x7f89
jmp 0x14009f04b
mov eax, 0x7f00
test r12, r12
je 0x14009f04b
cmp dword [rsi + 0x450], 1
cmove r15, rax
mov rax, r15
jmp 0x14009f04b
mov eax, 0x7f00
mov r13, qword [rsp + 0xd8]
add rsp, 0x80
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret