Function at 0x1400bb480
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xe0
mov r14, rdx
mov rdi, rcx
mov r8d, dword [rdx + 4]
mov eax, dword [rdx]
mov dword [rbp + 0x6f], eax
mov dword [rbp + 0x73], r8d
lea rdx, [rbp + 0x6f]
call fcn.140066540
mov r15d, dword [r14 + 4]
mov r12d, dword [r14]
cmp qword [rdi + 0xf0], 0
jne 0x1400bb770
mov eax, dword [rdi + 0xd0]
sub eax, 1
js 0x1400bb537
movsxd rsi, eax
nop dword [rax]
mov rax, qword [rdi + 0xe0]
mov rax, qword [rax + rsi*8]
mov rbx, qword [rax + 8]
test rbx, rbx
je 0x1400bb531
mov rax, qword [rbx]
lea rdx, str.JRControlWnd
mov rcx, rbx
call qword [rax + 0x2f8]
test al, al
je 0x1400bb531
mov dword [rbp + 0x6f], r12d
mov dword [rbp + 0x73], r15d
mov rax, qword [rbx]
mov r8d, 3
lea rdx, [rbp + 0x6f]
mov rcx, rbx
call qword [rax + 0x648]
test al, al
jne 0x1400bb770
sub rsi, 1
jns 0x1400bb4e0
mov dl, 1
lea rcx, [rbp - 0x39]
call fcn.140084670
nop
mov ecx, dword [r14 + 4]
mov eax, dword [r14]
mov dword [rbp + 0x6f], eax
mov dword [rbp + 0x73], ecx
lea rdx, [rbp + 0x6f]
mov rcx, rdi
call fcn.1400bd3f0
lea rdx, [rdi + 0x658]
lea rcx, [rdi + 0x1e8]
call fcn.1400afca0
mov rbx, qword [rdi + 0x658]
xorps xmm0, xmm0
movups xmmword [rbp + 0x1f], xmm0
xorps xmm1, xmm1
movups xmmword [rbp - 0x59], xmm1
movups xmmword [rbp + 0xf], xmm0
movups xmmword [rbp - 1], xmm1
movups xmmword [rbp - 0x11], xmm0
movups xmmword [rbp - 0x49], xmm1
movups xmmword [rbp - 0x21], xmm0
test rbx, rbx
je 0x1400bb72b
mov rax, qword [rbx]
lea rcx, [rbp - 0x21]
mov qword [rsp + 0x40], rcx
lea rcx, [rbp - 0x49]
mov qword [rsp + 0x38], rcx
lea rcx, [rbp - 0x11]
mov qword [rsp + 0x30], rcx
lea rcx, [rbp - 1]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp + 0xf]
mov qword [rsp + 0x20], rcx
lea r9, [rbp - 0x59]
lea r8, [rbp + 0x1f]
mov rdx, rdi
mov rcx, rbx
call qword [rax + 0xf0]
test al, al
je 0x1400bb72b
lea rcx, [rdi + 0x670]
mov rax, qword [rcx]
xor edx, edx
call qword [rax + 0x18]
movsd xmm1, qword [0x1401dbc20]
comisd xmm1, xmm0
ja 0x1400bb71e
mov rcx, qword [r14]
mov rax, rcx
shr rax, 0x20
cmp ecx, dword [rbp - 0x59]
jl 0x1400bb630
cmp ecx, dword [rbp - 0x51]
jge 0x1400bb630
cmp eax, dword [rbp - 0x55]
jl 0x1400bb630
cmp eax, dword [rbp - 0x4d]
jl 0x1400bb706
mov rax, qword [rdi]
mov rdx, rbx
mov rcx, rdi
call qword [rax + 0x828]
test al, al
jne 0x1400bb706
mov rcx, qword [r14]
mov rax, rcx
shr rax, 0x20
cmp ecx, dword [rbp - 0x49]
jl 0x1400bb6aa
cmp ecx, dword [rbp - 0x41]
jge 0x1400bb6aa
cmp eax, dword [rbp - 0x45]
jl 0x1400bb6aa
cmp eax, dword [rbp - 0x3d]
jge 0x1400bb6aa
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x128]
mov edx, dword [rbx + 0x68]
mov eax, edx
and eax, 0x18
cmp al, 0x18
je 0x1400bb699
and dl, 0x18
xor r8d, r8d
cmp dl, 8
setne r8b
mov rdx, rbx
lea rcx, [rdi + 0x1e8]
call fcn.1400b1030
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x570]
jmp 0x1400bb72b
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x1400bb72b
mov ecx, 0x10
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x1400bb72b
test dword [rbx + 0x68], 0x500
jne 0x1400bb72b
lea rcx, [rbx + 0x78]
test rcx, rcx
je 0x1400bb72b
mov eax, dword [rcx]
cmp dword [rcx + 8], eax
jle 0x1400bb72b
mov eax, dword [rcx + 4]
cmp dword [rcx + 0xc], eax
jle 0x1400bb72b
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
lea rcx, [rdi + 0x1e8]
call fcn.1400b21a0
jmp 0x1400bb72b
mov r9b, 1
mov r8d, 0xffffffff
mov rdx, rbx
lea rcx, [rdi + 0x1e8]
call fcn.1400b06d0
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x128]
nop
lea rax, vtable.JRWndPtr.0
mov qword [rbp - 0x39], rax
mov rcx, qword [rbp - 0x31]
test rcx, rcx
je 0x1400bb756
cmp dword [rbp - 0x29], 1
jne 0x1400bb756
mov rax, qword [rcx]
lea rdx, [rbp - 0x39]
call qword [rax + 0x608]
mov rcx, qword [rbp - 0x31]
cmp dword [rbp - 0x29], 2
jne 0x1400bb770
test rcx, rcx
je 0x1400bb770
mov rax, qword [rcx]
mov edx, 1
call qword [rax + 0x2e8]
nop
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret