Function at 0x1401d6f50
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x28]
sub rsp, 0x110
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
mov rsi, rcx
movss xmm1, dword [0x1402b884c]
call fcn.1401bc430
mov rdi, rax
test rax, rax
je 0x1401d74cc
cmp byte [rax + 0xa7], 0
je 0x1401d74cc
mov rcx, rax
call fcn.140066ad0
test al, al
jne 0x1401d74cc
cmp byte [rdi + 0xa5], al
je 0x1401d74cc
cmp byte [rdi + 0xa4], al
je 0x1401d74cc
mov eax, dword [rsi + 0x54]
add eax, 0x1f4
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss xmm6, dword [0x1402f0ad4]
comiss xmm6, xmm0
jbe 0x1401d74cc
mov eax, dword [rsi + 0x58]
add eax, 0x1f4
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm6, xmm0
jbe 0x1401d74cc
mov rbx, qword [0x1402f0cc0]
movsd xmm0, qword [rdi + 8]
movss xmm1, dword [rbx + 8]
movsd qword [rsp + 0x20], xmm0
subss xmm1, xmm0
movss xmm2, dword [rbx + 0x10]
subss xmm2, dword [rdi + 0x10]
mulss xmm2, xmm2
mulss xmm1, xmm1
addss xmm2, xmm1
xorps xmm0, xmm0
ucomiss xmm0, xmm2
ja 0x1401d7042
xorps xmm0, xmm0
sqrtss xmm0, xmm2
jmp 0x1401d704a
movaps xmm0, xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
movss xmm1, dword [0x1402b87a8]
movss xmm7, dword [0x1402b87fc]
comiss xmm1, xmm0
jbe 0x1401d72ab
cmp dword [rbx + 0x2b8], 0
jbe 0x1401d7079
cmp dword [rbx + 0x2b4], 0
je 0x1401d72ab
movss xmm0, dword [0x1402f0af0]
comiss xmm0, dword [rbx + 0x2c0]
jb 0x1401d72ab
mov eax, dword [rbx + 0x2b0]
test eax, eax
je 0x1401d72ab
dec eax
movss xmm0, dword [rbx + 0x30]
comiss xmm0, dword [rbx + rax*4 + 0x2e8]
jb 0x1401d72ab
cmp byte [rsi + 0x48], 0
jne 0x1401d72ab
cmp byte [rsi + 0x49], 0
je 0x1401d72ab
movd xmm0, dword [rsi + 0x50]
cvtdq2ps xmm0, xmm0
subss xmm6, xmm0
comiss xmm6, xmm7
jbe 0x1401d72ab
cmp byte [rbx + 0xe8], 0
je 0x1401d70f0
cmp byte [rbx + 0x130], 0
je 0x1401d70f0
mov al, 1
jmp 0x1401d70f2
xor al, al
test al, al
jne 0x1401d72ab
movups xmm0, xmmword [rsi + 0x60]
movaps xmmword [rbp - 0x50], xmm0
movups xmm1, xmmword [rsi + 0x70]
movaps xmmword [rbp - 0x40], xmm1
movups xmm0, xmmword [rsi + 0x80]
movaps xmmword [rbp - 0x30], xmm0
movups xmm1, xmmword [rsi + 0x90]
movaps xmmword [rbp - 0x20], xmm1
lea r9, [rbp - 0x50]
mov r8, rdi
lea rdx, [rsp + 0x60]
mov rcx, qword [0x1402f0c18]
call fcn.140157c60
mov ecx, dword [rsi + 0xc8]
test ecx, ecx
je 0x1401d7166
sub ecx, 1
je 0x1401d715f
sub ecx, 1
je 0x1401d7151
cmp ecx, 1
je 0x1401d7158
mov eax, 5
jmp 0x1401d716b
mov eax, 6
jmp 0x1401d716b
mov eax, 4
jmp 0x1401d716b
mov eax, 3
cmp dword [rbp - 0x54], eax
jl 0x1401d74cc
movss xmm0, dword [rbp - 0x60]
ucomiss xmm0, dword [0x1402f1148]
jp 0x1401d71a8
jne 0x1401d71a8
movss xmm0, dword [rbp - 0x5c]
ucomiss xmm0, dword [0x1402f114c]
jp 0x1401d71a8
jne 0x1401d71a8
movss xmm0, dword [rbp - 0x58]
ucomiss xmm0, dword [0x1402f1150]
jp 0x1401d71a8
je 0x1401d74cc
call fcn.140139ee0
mov r15, rax
mov rcx, qword [0x1402f0bc0]
cmp byte [rcx + 0x6c], 0
jne 0x1401d74cc
mov r14, qword [0x1402f0cc0]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], 0
mov rdx, qword [0x1402f3eb8]
sub rdx, qword [0x1402f3eb0]
je 0x1401d721e
lea rcx, [rsp + 0x40]
call fcn.140012e50
mov rdi, qword [rsp + 0x40]
mov rbx, qword [0x1402f3eb8]
mov rdx, qword [0x1402f3eb0]
sub rbx, rdx
mov r8, rbx
mov rcx, rdi
call sub.VCRUNTIME140.dll_memmove
lea rax, [rbx + rdi]
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x40]
lea rcx, [r14 + 0x170]
call fcn.140062b20
test al, al
jne 0x1401d74cc
mov rax, qword [0x1402f0c20]
cmp dword [rax + 0x154], 1
je 0x1401d74cc
mov rcx, qword [0x1402f10d8]
test rcx, rcx
jne 0x1401d7278
mov ecx, 0x36e490
call fcn.14022033c
mov qword [rsp + 0x30], rax
mov rcx, rax
call fcn.1401cf6f0
mov rcx, rax
mov qword [0x1402f10d8], rax
movsd xmm0, qword [rbp - 0x60]
movsd qword [rsp + 0x30], xmm0
mov eax, dword [rbp - 0x58]
mov dword [rsp + 0x38], eax
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x20]
call fcn.1401cec00
mov r8, qword [rax]
xor edx, edx
mov rcx, r15
call fcn.140069d30
jmp 0x1401d74bd
call fcn.140139ee0
call fcn.140139ee0
mov rax, qword [0x1402f0b90]
movzx ecx, byte [rax + 0x2b0]
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov rdx, qword [0x1402f0cc0]
test al, 1
jne 0x1401d737e
cmp dword [rdx + 0x2b8], 0
jbe 0x1401d72f1
cmp dword [rdx + 0x2b4], 0
je 0x1401d737e
movss xmm0, dword [0x1402f0af0]
comiss xmm0, dword [rdx + 0x2c0]
jb 0x1401d737e
mov eax, dword [rdx + 0x2b0]
test eax, eax
je 0x1401d737e
dec eax
movss xmm0, dword [rdx + 0x30]
comiss xmm0, dword [rdx + rax*4 + 0x2e8]
jb 0x1401d737e
cmp byte [rsi + 0x48], 0
jne 0x1401d7388
cmp byte [rsi + 0x49], 0
je 0x1401d737e
movd xmm0, dword [rsi + 0x50]
cvtdq2ps xmm0, xmm0
movss xmm1, dword [0x1402f0ad4]
subss xmm1, xmm0
comiss xmm1, xmm7
jbe 0x1401d737e
cmp byte [rdx + 0xe8], 0
je 0x1401d7354
cmp byte [rdx + 0x130], 0
jne 0x1401d737e
call fcn.140139ee0
mov rbx, rax
call fcn.140139ee0
mov rcx, qword [0x1402f0b90]
movzx edx, byte [rcx + 0x2b0]
mov rcx, rbx
call fcn.140069c30
mov rdx, qword [0x1402f0cc0]
cmp byte [rsi + 0x48], 0
je 0x1401d74cc
movss xmm6, dword [rsi + 0x60]
movss xmm7, dword [0x1402b8828]
comiss xmm7, xmm6
jbe 0x1401d73ea
movsd xmm0, qword [rdi + 8]
movss xmm1, dword [rdx + 8]
movsd qword [rsp + 0x20], xmm0
subss xmm1, xmm0
movss xmm2, dword [rdx + 0x10]
subss xmm2, dword [rdi + 0x10]
mulss xmm2, xmm2
mulss xmm1, xmm1
addss xmm2, xmm1
xorps xmm0, xmm0
ucomiss xmm0, xmm2
ja 0x1401d73d5
xorps xmm0, xmm0
sqrtss xmm0, xmm2
jmp 0x1401d73dd
movaps xmm0, xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
movss xmm1, dword [rsi + 0xa0]
comiss xmm1, xmm0
jae 0x1401d73f3
comiss xmm6, xmm7
jbe 0x1401d74cc
movups xmm0, xmmword [rsi + 0x60]
movaps xmmword [rbp - 0x50], xmm0
movups xmm1, xmmword [rsi + 0x70]
movaps xmmword [rbp - 0x40], xmm1
movups xmm0, xmmword [rsi + 0x80]
movaps xmmword [rbp - 0x30], xmm0
movups xmm1, xmmword [rsi + 0x90]
movaps xmmword [rbp - 0x20], xmm1
lea r9, [rbp - 0x50]
mov r8, rdi
lea rdx, [rsp + 0x60]
mov rcx, qword [0x1402f0c18]
call fcn.140157c60
mov ecx, dword [rsi + 0xc8]
test ecx, ecx
je 0x1401d745f
sub ecx, 1
je 0x1401d7458
sub ecx, 1
je 0x1401d744a
cmp ecx, 1
je 0x1401d7451
mov eax, 5
jmp 0x1401d7464
mov eax, 6
jmp 0x1401d7464
mov eax, 4
jmp 0x1401d7464
mov eax, 3
cmp dword [rbp - 0x54], eax
jl 0x1401d74cc
movss xmm0, dword [rbp - 0x60]
ucomiss xmm0, dword [0x1402f1148]
jp 0x1401d7499
jne 0x1401d7499
movss xmm0, dword [rbp - 0x5c]
ucomiss xmm0, dword [0x1402f114c]
jp 0x1401d7499
jne 0x1401d7499
movss xmm0, dword [rbp - 0x58]
ucomiss xmm0, dword [0x1402f1150]
jp 0x1401d7499
je 0x1401d74cc
call fcn.140139ee0
mov ecx, dword [rbp - 0x58]
movsd xmm0, qword [rbp - 0x60]
mov dword [rsp + 0x28], ecx
movsd qword [rsp + 0x20], xmm0
lea r8, [rsp + 0x20]
mov rcx, rax
call fcn.14006a440
test al, al
je 0x1401d74cc
cvttss2si eax, dword [0x1402f0ad4]
mov dword [rsi + 0x50], eax
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop rbp
ret