Function at 0x1800886a0
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
push rsi
sub rsp, 0x28
mov rax, qword [rcx + 0x78]
mov rsi, rdx
mov rbx, rcx
cmp byte [rax], 0
jne 0x1800886d0
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x40], 0xfa
call fcn.1800653f0
add rsp, 0x28
pop rsi
pop rbx
ret
mov rax, qword gs:[0x58]
mov ecx, dword [0x18014d05c]
mov qword [rsp + 0x48], rbp
mov qword [rsp + 0x50], rdi
mov ebp, 4
mov rdi, qword [rax + rcx*8]
mov eax, dword [rdi + rbp]
cmp dword [0x180150100], eax
jle 0x18008872a
lea rcx, [0x180150100]
call fcn.1800cc318
cmp dword [0x180150100], 0xffffffff
jne 0x18008872a
lea rcx, [0x1800d6450]
call fcn.1800cc934
lea rcx, [0x180150100]
call fcn.1800cc2ac
cmp byte [0x18014d460], 0
je 0x180088921
cmp byte [0x18014d588], 0
mov qword [rsp + 0x20], r14
movabs r14, 0x431bde82d7b634db
je 0x1800888b3
mov eax, dword [rdi + rbp]
cmp dword [0x180150104], eax
jle 0x18008879e
lea rcx, [0x180150104]
call fcn.1800cc318
cmp dword [0x180150104], 0xffffffff
jne 0x18008879e
lea rcx, [rsp + 0x40]
mov qword [0x180150108], 0
call fcn.180074d90
lea rcx, [0x180150104]
mov rdx, qword [rax]
mov qword [0x180150108], rdx
call fcn.1800cc2ac
mov rax, qword [0x18014d570]
mov rdx, qword [0x18014d578]
cmp rax, rdx
je 0x18008886d
lea rcx, [rsp + 0x40]
call fcn.180074d90
xorps xmm0, xmm0
mov rcx, qword [rax]
mov rax, r14
sub rcx, qword [0x180150108]
imul rcx
sar rdx, 0x12
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cvtsi2ss xmm0, rdx
comiss xmm0, dword [0x180130a04]
jb 0x18008885a
lea rcx, [rsp + 0x40]
call fcn.180074d90
mov rdx, qword [0x18014d578]
movss xmm1, dword [0x180130eb0]
movss xmm2, dword [0x180130824]
mov rcx, qword [rax]
mov qword [0x180150108], rcx
mov r8, qword [rsi]
movss xmm0, dword [rdx - 0xc]
add r8, 0x24
subss xmm0, dword [r8]
andps xmm0, xmm1
comiss xmm2, xmm0
jbe 0x180088874
movss xmm0, dword [rdx - 8]
subss xmm0, dword [r8 + 4]
andps xmm0, xmm1
comiss xmm2, xmm0
jbe 0x180088874
movss xmm0, dword [rdx - 4]
subss xmm0, dword [r8 + 8]
andps xmm0, xmm1
comiss xmm2, xmm0
ja 0x18008889c
jmp 0x180088874
mov rdx, qword [0x18014d578]
mov rax, qword [0x18014d570]
cmp rax, rdx
jne 0x18008889c
mov r8, qword [rsi]
add r8, 0x24
cmp rdx, qword [0x18014d580]
je 0x180088897
movsd xmm0, qword [r8]
movsd qword [rdx], xmm0
mov eax, dword [r8 + 8]
mov dword [rdx + 8], eax
add qword [0x18014d578], 0xc
jmp 0x18008889c
call fcn.180089050
movzx ecx, byte [rbx + 0x198]
test cl, cl
je 0x1800888b3
lea rcx, [rbx + 0x1a0]
call fcn.180088d40
lea rcx, [rsp + 0x40]
call fcn.180074d90
movss xmm0, dword [0x18014a330]
xorps xmm1, xmm1
mulss xmm0, dword [0x180130a30]
mov rcx, qword [rax]
mov rax, r14
sub rcx, qword [rbx + 0x190]
mov r14, qword [rsp + 0x20]
imul rcx
sar rdx, 0x12
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cvtsi2ss xmm1, rdx
comiss xmm1, xmm0
jb 0x180088996
cmp byte [0x18014d450], 0
mov byte [0x18014d460], 0
je 0x180088918
mov byte [0x18014d450], 0
mov byte [rbx + 0x199], 0
jmp 0x180088996
movzx eax, byte [rbx + 0x198]
test al, al
jne 0x180088955
movzx eax, byte [rbx + 0x198]
test al, al
jne 0x180088955
mov qword [rsp + 0x40], 1
lea rcx, [rsp + 0x40]
call fcn.1800653f0
movzx eax, byte [rbx + 0x198]
test al, al
je 0x180088940
mov rax, qword [rbx + 0x1a0]
cmp rax, qword [rbx + 0x1a8]
je 0x18008896c
mov qword [rbx + 0x1a8], rax
mov rax, qword [0x18014d570]
cmp rax, qword [0x18014d578]
je 0x180088983
mov qword [0x18014d578], rax
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x40], 0xa
call fcn.1800653f0
movzx eax, byte [0x18014d3d5]
mov rdi, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x48]
test al, al
jne 0x180088a3c
mov ecx, dword [0x18014d58c]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1800889fd
cmp byte [rbx + 0x199], 0
je 0x1800889fd
cmp byte [0x18014d589], 0
mov byte [0x18014d460], 1
je 0x1800889e0
mov byte [0x18014d450], 1
lea rcx, [rsp + 0x40]
call fcn.180074d90
mov rcx, qword [rax]
mov qword [rbx + 0x190], rcx
mov byte [rbx + 0x199], 0
jmp 0x180088a3c
mov ecx, dword [0x18014d58c]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x180088a3c
cmp byte [0x18014d450], al
mov byte [0x18014d460], al
je 0x180088a22
mov byte [0x18014d450], al
lea rcx, [rsp + 0x40]
mov byte [rbx + 0x199], 1
mov qword [rsp + 0x40], 0xa
call fcn.1800653f0
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x40], 1
call fcn.1800653f0
add rsp, 0x28
pop rsi
pop rbx
ret