Function at 0x1401e6330
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 [0x1402c82cc]
call fcn.1401cc040
mov rdi, rax
test rax, rax
je 0x1401e6870
cmp byte [rax + 0xa7], 0
je 0x1401e6870
mov rcx, rax
call fcn.14006b660
test al, al
jne 0x1401e6870
cmp byte [rdi + 0xa5], al
je 0x1401e6870
cmp byte [rdi + 0xa4], al
je 0x1401e6870
mov eax, dword [rsi + 0x94]
add eax, 0x1f4
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss xmm6, dword [0x140302194]
comiss xmm6, xmm0
jbe 0x1401e6870
mov eax, dword [rsi + 0x98]
add eax, 0x1f4
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm6, xmm0
jbe 0x1401e6870
mov eax, dword [rsi + 0x9c]
add eax, 0x1f4
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm6, xmm0
jbe 0x1401e6870
mov rbx, qword [0x140302380]
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 0x1401e6443
xorps xmm0, xmm0
sqrtss xmm0, xmm2
jmp 0x1401e644b
movaps xmm0, xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
movss xmm1, dword [0x1402c8220]
movss xmm7, dword [0x1402c8278]
comiss xmm1, xmm0
jbe 0x1401e6677
cmp byte [rsi + 8], 0
je 0x1401e6677
cmp byte [rsi + 0x88], 0
jne 0x1401e6677
cmp byte [rsi + 0x89], 0
je 0x1401e6677
movd xmm0, dword [rsi + 0x90]
cvtdq2ps xmm0, xmm0
subss xmm6, xmm0
comiss xmm6, xmm7
jbe 0x1401e6677
cmp byte [rbx + 0xe8], 0
je 0x1401e64b6
cmp byte [rbx + 0x130], 0
je 0x1401e64b6
mov al, 1
jmp 0x1401e64b8
xor al, al
test al, al
jne 0x1401e6677
movups xmm0, xmmword [rsi + 0xa0]
movaps xmmword [rbp - 0x50], xmm0
movups xmm1, xmmword [rsi + 0xb0]
movaps xmmword [rbp - 0x40], xmm1
movups xmm0, xmmword [rsi + 0xc0]
movaps xmmword [rbp - 0x30], xmm0
movups xmm1, xmmword [rsi + 0xd0]
movaps xmmword [rbp - 0x20], xmm1
lea r9, [rbp - 0x50]
mov r8, rdi
lea rdx, [rsp + 0x60]
mov rcx, qword [0x1403022d8]
call fcn.140165680
mov ecx, dword [rsi + 0x108]
test ecx, ecx
je 0x1401e6532
sub ecx, 1
je 0x1401e652b
sub ecx, 1
je 0x1401e651d
cmp ecx, 1
je 0x1401e6524
mov eax, 5
jmp 0x1401e6537
mov eax, 6
jmp 0x1401e6537
mov eax, 4
jmp 0x1401e6537
mov eax, 3
cmp dword [rbp - 0x54], eax
jl 0x1401e6870
movss xmm0, dword [rbp - 0x60]
ucomiss xmm0, dword [0x140302828]
jp 0x1401e6574
jne 0x1401e6574
movss xmm0, dword [rbp - 0x5c]
ucomiss xmm0, dword [0x14030282c]
jp 0x1401e6574
jne 0x1401e6574
movss xmm0, dword [rbp - 0x58]
ucomiss xmm0, dword [0x140302830]
jp 0x1401e6574
je 0x1401e6870
call fcn.140146b10
mov r15, rax
mov rcx, qword [0x1403022c0]
cmp byte [rcx + 0x6c], 0
jne 0x1401e6870
mov r14, qword [0x140302380]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], 0
mov rdx, qword [0x140305598]
sub rdx, qword [0x140305590]
je 0x1401e65ea
lea rcx, [rsp + 0x40]
call fcn.140012ed0
mov rdi, qword [rsp + 0x40]
mov rbx, qword [0x140305598]
mov rdx, qword [0x140305590]
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.140062670
test al, al
jne 0x1401e6870
mov rax, qword [0x1403022e0]
cmp dword [rax + 0x15c], 1
je 0x1401e6870
mov rcx, qword [0x1403027b8]
test rcx, rcx
jne 0x1401e6644
mov ecx, 0x36e490
call fcn.14022f7fc
mov qword [rsp + 0x30], rax
mov rcx, rax
call fcn.1401debe0
mov rcx, rax
mov qword [0x1403027b8], 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.1401de270
mov r8, qword [rax]
xor edx, edx
mov rcx, r15
call fcn.14006eb00
jmp 0x1401e685e
call fcn.140146b10
call fcn.140146b10
mov rax, qword [0x140302240]
movzx ecx, byte [rax + 0x2b0]
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x1401e670c
cmp byte [rsi + 8], 0
je 0x1401e670c
cmp byte [rsi + 0x88], 0
jne 0x1401e670c
cmp byte [rsi + 0x89], 0
je 0x1401e670c
movd xmm0, dword [rsi + 0x90]
cvtdq2ps xmm0, xmm0
movss xmm1, dword [0x140302194]
subss xmm1, xmm0
comiss xmm1, xmm7
jbe 0x1401e670c
mov rax, qword [0x140302380]
cmp byte [rax + 0xe8], 0
je 0x1401e66e9
cmp byte [rax + 0x130], 0
jne 0x1401e6713
call fcn.140146b10
mov rbx, rax
call fcn.140146b10
mov rcx, qword [0x140302240]
movzx edx, byte [rcx + 0x2b0]
mov rcx, rbx
call fcn.14006ea00
mov rax, qword [0x140302380]
cmp byte [rsi + 0x88], 0
je 0x1401e6870
movss xmm6, dword [rsi + 0xa0]
movss xmm7, dword [0x1402c82a8]
comiss xmm7, xmm6
jbe 0x1401e6785
movsd xmm0, qword [rdi + 8]
movss xmm1, dword [rax + 8]
movsd qword [rsp + 0x20], xmm0
subss xmm1, xmm0
movss xmm2, dword [rax + 0x10]
subss xmm2, dword [rdi + 0x10]
mulss xmm2, xmm2
mulss xmm1, xmm1
addss xmm2, xmm1
xorps xmm0, xmm0
ucomiss xmm0, xmm2
ja 0x1401e6770
xorps xmm0, xmm0
sqrtss xmm0, xmm2
jmp 0x1401e6778
movaps xmm0, xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
movss xmm1, dword [rsi + 0xe0]
comiss xmm1, xmm0
jae 0x1401e678e
comiss xmm6, xmm7
jbe 0x1401e6870
movups xmm0, xmmword [rsi + 0xa0]
movaps xmmword [rbp - 0x50], xmm0
movups xmm1, xmmword [rsi + 0xb0]
movaps xmmword [rbp - 0x40], xmm1
movups xmm0, xmmword [rsi + 0xc0]
movaps xmmword [rbp - 0x30], xmm0
movups xmm1, xmmword [rsi + 0xd0]
movaps xmmword [rbp - 0x20], xmm1
lea r9, [rbp - 0x50]
mov r8, rdi
lea rdx, [rsp + 0x60]
mov rcx, qword [0x1403022d8]
call fcn.140165680
mov ecx, dword [rsi + 0x108]
test ecx, ecx
je 0x1401e6800
sub ecx, 1
je 0x1401e67f9
sub ecx, 1
je 0x1401e67eb
cmp ecx, 1
je 0x1401e67f2
mov eax, 5
jmp 0x1401e6805
mov eax, 6
jmp 0x1401e6805
mov eax, 4
jmp 0x1401e6805
mov eax, 3
cmp dword [rbp - 0x54], eax
jl 0x1401e6870
movss xmm0, dword [rbp - 0x60]
ucomiss xmm0, dword [0x140302828]
jp 0x1401e683a
jne 0x1401e683a
movss xmm0, dword [rbp - 0x5c]
ucomiss xmm0, dword [0x14030282c]
jp 0x1401e683a
jne 0x1401e683a
movss xmm0, dword [rbp - 0x58]
ucomiss xmm0, dword [0x140302830]
jp 0x1401e683a
je 0x1401e6870
call fcn.140146b10
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.14006f210
test al, al
je 0x1401e6870
cvttss2si eax, dword [0x140302194]
mov dword [rsi + 0x90], 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