Function at 0x14015c670
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 - 0x48]
sub rsp, 0x130
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
movaps xmmword [rax - 0x48], xmm8
movaps xmmword [rax - 0x58], xmm9
mov rsi, rcx
movss xmm6, dword [0x1402b8808]
movaps xmm1, xmm6
call fcn.1401bc5e0
mov rdi, rax
test rax, rax
je 0x14015cc0a
cmp byte [rax + 0xa7], 0
je 0x14015cc0a
mov rcx, rax
call fcn.140066ad0
test al, al
jne 0x14015cc0a
cmp byte [rdi + 0xa5], al
je 0x14015cc0a
cmp byte [rdi + 0xa4], al
je 0x14015cc0a
mov rax, qword [rsi + 0x58]
movss xmm7, dword [0x1402b87fc]
cmp byte [rax + 0x2b0], 0
je 0x14015c989
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 0x14015c750
xorps xmm0, xmm0
sqrtss xmm0, xmm2
jmp 0x14015c758
movaps xmm0, xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
movss xmm1, dword [0x1402b8764]
comiss xmm1, xmm0
jbe 0x14015c989
cmp dword [rbx + 0x2b8], 0
jbe 0x14015c77f
cmp dword [rbx + 0x2b4], 0
je 0x14015c989
movss xmm0, dword [0x1402f0af0]
comiss xmm0, dword [rbx + 0x2c0]
jb 0x14015c989
mov eax, dword [rbx + 0x2b0]
test eax, eax
je 0x14015c989
dec eax
movss xmm0, dword [rbx + 0x30]
comiss xmm0, dword [rbx + rax*4 + 0x2e8]
jb 0x14015c989
cmp byte [rsi + 0x80], 0
jne 0x14015c989
movd xmm0, dword [rsi + 0x94]
cvtdq2ps xmm0, xmm0
movss xmm1, dword [0x1402f0ad4]
subss xmm1, xmm0
comiss xmm1, xmm7
jbe 0x14015c989
cmp byte [rbx + 0xe8], 0
je 0x14015c7fa
cmp byte [rbx + 0x130], 0
je 0x14015c7fa
mov al, 1
jmp 0x14015c7fc
xor al, al
test al, al
jne 0x14015c989
movups xmm0, xmmword [rsi + 0xa8]
movaps xmmword [rbp - 0x50], xmm0
movups xmm1, xmmword [rsi + 0xb8]
movaps xmmword [rbp - 0x40], xmm1
movups xmm0, xmmword [rsi + 0xc8]
movaps xmmword [rbp - 0x30], xmm0
movups xmm1, xmmword [rsi + 0xd8]
movaps xmmword [rbp - 0x20], xmm1
lea r9, [rbp - 0x50]
mov r8, rdi
lea rdx, [rsp + 0x60]
mov rcx, qword [0x1402f0c18]
call fcn.140157c60
cmp dword [rbp - 0x54], 5
jl 0x14015cc0a
movss xmm0, dword [rbp - 0x60]
ucomiss xmm0, dword [0x1402f1148]
jp 0x14015c886
jne 0x14015c886
movss xmm0, dword [rbp - 0x5c]
ucomiss xmm0, dword [0x1402f114c]
jp 0x14015c886
jne 0x14015c886
movss xmm0, dword [rbp - 0x58]
ucomiss xmm0, dword [0x1402f1150]
jp 0x14015c886
je 0x14015cc0a
call fcn.140139ee0
mov r15, rax
mov rcx, qword [0x1402f0bc0]
cmp byte [rcx + 0x6c], 0
jne 0x14015cc0a
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 0x14015c8fc
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 0x14015cc0a
mov rax, qword [0x1402f0c20]
cmp dword [rax + 0x154], 1
je 0x14015cc0a
mov rcx, qword [0x1402f10d8]
test rcx, rcx
jne 0x14015c956
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 0x14015cbf8
mov rdx, rdi
mov rcx, rsi
call fcn.14015b860
test al, al
je 0x14015cc0a
mov rax, qword [rsi + 0x60]
cmp byte [rax + 0x2b0], 0
je 0x14015cc0a
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 0x14015ca80
cmp dword [rdx + 0x2b8], 0
jbe 0x14015c9f3
cmp dword [rdx + 0x2b4], 0
je 0x14015ca80
movss xmm0, dword [0x1402f0af0]
comiss xmm0, dword [rdx + 0x2c0]
jb 0x14015ca80
mov eax, dword [rdx + 0x2b0]
test eax, eax
je 0x14015ca80
dec eax
movss xmm0, dword [rdx + 0x30]
comiss xmm0, dword [rdx + rax*4 + 0x2e8]
jb 0x14015ca80
cmp byte [rsi + 0x80], 0
jne 0x14015ca8d
movd xmm0, dword [rsi + 0x94]
cvtdq2ps xmm0, xmm0
movss xmm1, dword [0x1402f0ad4]
subss xmm1, xmm0
comiss xmm1, xmm7
jbe 0x14015ca80
cmp byte [rdx + 0xe8], 0
je 0x14015ca56
cmp byte [rdx + 0x130], 0
jne 0x14015ca80
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 + 0x80], 0
je 0x14015cc0a
movss xmm7, dword [rdx + 0xd4]
movss xmm9, dword [0x1402b869c]
comiss xmm7, dword [0x1402b8758]
jbe 0x14015caad
movaps xmm1, xmm9
jmp 0x14015cab0
movaps xmm1, xmm7
movss xmm8, dword [rsi + 0xa8]
movaps xmm0, xmm6
subss xmm0, xmm1
subss xmm0, dword [0x1402b8654]
comiss xmm0, xmm8
jbe 0x14015cb28
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 0x14015cb09
xorps xmm0, xmm0
sqrtss xmm0, xmm2
jmp 0x14015cb11
movaps xmm0, xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
movss xmm1, dword [rsi + 0xe8]
comiss xmm1, xmm0
jb 0x14015cb28
comiss xmm8, dword [0x1402b8788]
ja 0x14015cb5a
comiss xmm7, dword [0x1402b8758]
ja 0x14015cb35
movaps xmm9, xmm7
subss xmm6, xmm9
subss xmm6, dword [0x1402b8654]
comiss xmm8, xmm6
jbe 0x14015cc0a
comiss xmm8, dword [0x1402b8788]
jbe 0x14015cc0a
movups xmm0, xmmword [rsi + 0xa8]
movups xmm1, xmmword [rsi + 0xb8]
movaps xmmword [rbp - 0x50], xmm0
movaps xmmword [rbp - 0x40], xmm1
movups xmm0, xmmword [rsi + 0xc8]
movups xmm1, xmmword [rsi + 0xd8]
movaps xmmword [rbp - 0x30], xmm0
movaps xmmword [rbp - 0x20], xmm1
lea r9, [rbp - 0x50]
mov r8, rdi
lea rdx, [rsp + 0x60]
mov rcx, qword [0x1402f0c18]
call fcn.140157c60
cmp dword [rbp - 0x54], 5
jl 0x14015cc0a
movss xmm0, dword [rbp - 0x60]
ucomiss xmm0, dword [0x1402f1148]
jp 0x14015cbd4
jne 0x14015cbd4
movss xmm0, dword [rbp - 0x5c]
ucomiss xmm0, dword [0x1402f114c]
jp 0x14015cbd4
jne 0x14015cbd4
movss xmm0, dword [rbp - 0x58]
ucomiss xmm0, dword [0x1402f1150]
jp 0x14015cbd4
je 0x14015cc0a
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 0x14015cc0a
cvttss2si eax, dword [0x1402f0ad4]
mov dword [rsi + 0x94], eax
lea r11, [rsp + 0x130]
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]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
mov rsp, r11
pop r15
pop r14
pop rbp
ret