Function at 0x1400b83c0
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0x38
mov rax, qword [0x1401b6830]
movaps xmmword [rsp + 0x20], xmm6
xorps xmm6, xmm6
movss xmm0, dword [rax + 0x34]
ucomiss xmm0, xmm6
jp 0x1400b83e3
je 0x1400b8665
movss xmm0, dword [rax + 0x1c]
ucomiss xmm0, dword [0x140198868]
jp 0x1400b8665
jne 0x1400b8665
cvttss2si ecx, xmm0
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x1400b8665
call fcn.14009ed80
test al, al
je 0x1400b8665
mov qword [rsp + 0x48], rbx
mov rbx, qword [0x1401b6830]
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x30], rdi
movss xmm0, dword [rbx + 8]
ucomiss xmm0, xmm6
jp 0x1400b8576
jne 0x1400b8576
call qword [sym.imp.MSVCP140.dll__Query_perf_frequency]
mov rbx, rax
call qword [sym.imp.MSVCP140.dll__Query_perf_counter]
cmp rbx, 0x989680
jne 0x1400b8463
imul rax, rax, 0x64
jmp 0x1400b8481
cqo
idiv rbx
mov rcx, rax
imul rax, rdx, 0x3b9aca00
imul rcx, rcx, 0x3b9aca00
cqo
idiv rbx
add rax, rcx
movabs rcx, 0x7ffffffffd050f7e
movabs rdi, 0x7fffffffffffffff
cmp rax, rcx
jg 0x1400b84a7
add rax, 0x2faf080
mov qword [rsp + 0x40], rax
jmp 0x1400b84ac
mov qword [rsp + 0x40], rdi
lea rcx, [rsp + 0x40]
call fcn.140024100
mov rax, qword [0x1401bb9b8]
cmp dword [rax], 0
je 0x1400b863b
movabs rsi, 0x7ffffffffff0bdbe
mov rax, qword [0x1401b6830]
cvttss2si ecx, dword [rax + 0xc]
mov edx, ecx
call fcn.14009daa0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
call fcn.1400b7720
test al, al
jne 0x1400b863b
call fcn.14009ed80
test al, al
je 0x1400b863b
call qword [sym.imp.MSVCP140.dll__Query_perf_frequency]
mov rbx, rax
call qword [sym.imp.MSVCP140.dll__Query_perf_counter]
cmp rbx, 0x989680
jne 0x1400b8522
imul rax, rax, 0x64
jmp 0x1400b8540
cqo
idiv rbx
mov rcx, rax
imul rax, rdx, 0x3b9aca00
imul rcx, rcx, 0x3b9aca00
cqo
idiv rbx
add rax, rcx
cmp rax, rsi
jg 0x1400b8552
add rax, 0xf4240
mov qword [rsp + 0x40], rax
jmp 0x1400b8557
mov qword [rsp + 0x40], rdi
lea rcx, [rsp + 0x40]
call fcn.140024100
mov rax, qword [0x1401bb9b8]
cmp dword [rax], 0
jne 0x1400b84d0
jmp 0x1400b863b
cvttss2si edx, dword [rbx + 0x18]
cvttss2si ecx, dword [rbx + 0x14]
call fcn.14009daa0
movss xmm1, dword [0x140198a60]
movd xmm0, eax
xor eax, eax
cvtdq2ps xmm0, xmm0
addss xmm0, dword [rbx + 8]
comiss xmm0, xmm1
jb 0x1400b85b6
subss xmm0, xmm1
comiss xmm0, xmm1
jae 0x1400b85b6
movabs rcx, 0x8000000000000000
mov rax, rcx
cvttss2si rbx, xmm0
add rbx, rax
call qword [sym.imp.MSVCP140.dll__Query_perf_frequency]
mov rdi, rax
call qword [sym.imp.MSVCP140.dll__Query_perf_counter]
cmp rdi, 0x989680
jne 0x1400b85dc
imul rax, rax, 0x64
jmp 0x1400b85fa
cqo
idiv rdi
mov rcx, rax
imul rax, rdx, 0x3b9aca00
imul rcx, rcx, 0x3b9aca00
cqo
idiv rdi
add rax, rcx
mov qword [rsp + 0x40], rax
cmp rbx, 1
jl 0x1400b8631
imul rdx, rbx, 0xf4240
movabs rdi, 0x7fffffffffffffff
mov rcx, rdi
sub rcx, rdx
cmp rax, rcx
jge 0x1400b862c
lea rcx, [rax + rdx]
mov qword [rsp + 0x40], rcx
jmp 0x1400b8631
mov qword [rsp + 0x40], rdi
lea rcx, [rsp + 0x40]
call fcn.140024100
call qword [sym.imp.USER32.dll_GetForegroundWindow]
xor r9d, r9d
mov edx, 0x202
mov rcx, rax
lea r8d, [r9 + 1]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rdi, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x48]
movaps xmm6, xmmword [rsp + 0x20]
add rsp, 0x38
ret