Function at 0x140169e40
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 - 0x58]
sub rsp, 0x140
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 [0x1402c8284]
movaps xmm1, xmm6
call fcn.1401cc1f0
mov rdi, rax
test rax, rax
je 0x14016a50f
cmp byte [rax + 0xa7], 0
je 0x14016a50f
mov rcx, rax
call fcn.14006b660
test al, al
jne 0x14016a50f
cmp byte [rdi + 0xa5], al
je 0x14016a50f
cmp byte [rdi + 0xa4], al
je 0x14016a50f
mov rax, qword [rsi + 0x70]
mov rbx, qword [0x140302380]
movss xmm7, dword [0x1402c8278]
cmp byte [rax + 0x2b0], 0
je 0x14016a112
movsd xmm0, qword [rdi + 8]
movss xmm1, dword [rbx + 8]
movsd qword [rsp + 0x30], 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 0x140169f20
xorps xmm0, xmm0
sqrtss xmm0, xmm2
jmp 0x140169f28
movaps xmm0, xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
movss xmm1, dword [0x1402c81dc]
comiss xmm1, xmm0
jbe 0x14016a112
cmp byte [rsi + 8], 0
je 0x14016a112
cmp byte [rsi + 0x98], 0
jne 0x14016a112
movd xmm0, dword [rsi + 0xac]
cvtdq2ps xmm0, xmm0
movss xmm1, dword [0x140302194]
subss xmm1, xmm0
comiss xmm1, xmm7
jbe 0x14016a112
cmp byte [rbx + 0xe8], 0
je 0x140169f86
cmp byte [rbx + 0x130], 0
je 0x140169f86
mov al, 1
jmp 0x140169f88
xor al, al
test al, al
jne 0x14016a112
movups xmm0, xmmword [rsi + 0xc0]
movaps xmmword [rsp + 0x50], xmm0
movups xmm1, xmmword [rsi + 0xd0]
movaps xmmword [rsp + 0x60], xmm1
movups xmm0, xmmword [rsi + 0xe0]
movaps xmmword [rsp + 0x70], xmm0
movups xmm1, xmmword [rsi + 0xf0]
movaps xmmword [rbp - 0x80], xmm1
lea r9, [rsp + 0x50]
mov r8, rdi
lea rdx, [rbp - 0x50]
mov rcx, qword [0x1403022d8]
call fcn.140165680
cmp dword [rbp - 4], 5
jl 0x14016a50f
movss xmm0, dword [rbp - 0x10]
ucomiss xmm0, dword [0x140302828]
jp 0x14016a015
jne 0x14016a015
movss xmm0, dword [rbp - 0xc]
ucomiss xmm0, dword [0x14030282c]
jp 0x14016a015
jne 0x14016a015
movss xmm0, dword [rbp - 8]
ucomiss xmm0, dword [0x140302830]
jp 0x14016a015
je 0x14016a50f
call fcn.140146b10
mov r15, rax
mov rcx, qword [0x1403022c0]
cmp byte [rcx + 0x6c], 0
jne 0x14016a50f
mov r14, qword [0x140302380]
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], 0
mov rdx, qword [0x140305598]
sub rdx, qword [0x140305590]
je 0x14016a086
lea rcx, [rbp - 0x70]
call fcn.140012ed0
mov rdi, qword [rbp - 0x70]
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 [rbp - 0x68], rax
lea rdx, [rbp - 0x70]
lea rcx, [r14 + 0x170]
call fcn.140062670
test al, al
jne 0x14016a50f
mov rax, qword [0x1403022e0]
cmp dword [rax + 0x15c], 1
je 0x14016a50f
mov rcx, qword [0x1403027b8]
test rcx, rcx
jne 0x14016a0df
mov ecx, 0x36e490
call fcn.14022f7fc
mov qword [rsp + 0x40], rax
mov rcx, rax
call fcn.1401debe0
mov rcx, rax
mov qword [0x1403027b8], rax
movsd xmm0, qword [rbp - 0x10]
movsd qword [rsp + 0x40], xmm0
mov eax, dword [rbp - 8]
mov dword [rsp + 0x48], eax
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x30]
call fcn.1401de270
mov r8, qword [rax]
xor edx, edx
mov rcx, r15
call fcn.14006eb00
jmp 0x14016a4fd
cmp byte [rsi + 0xa], 0
je 0x14016a18c
mov rax, qword [rsi + 0x88]
cmp byte [rax + 0x2b0], 0
je 0x14016a18c
mov rax, qword [rsi + 0xa0]
cmp byte [rax + 0x2b0], 0
jne 0x14016a18c
movsd xmm0, qword [rbx + 8]
movss xmm1, dword [rdi + 8]
movsd qword [rsp + 0x30], xmm0
subss xmm1, xmm0
movss xmm2, dword [rdi + 0x10]
subss xmm2, dword [rbx + 0x10]
mulss xmm2, xmm2
mulss xmm1, xmm1
addss xmm2, xmm1
xorps xmm0, xmm0
ucomiss xmm0, xmm2
ja 0x14016a173
xorps xmm0, xmm0
sqrtss xmm0, xmm2
jmp 0x14016a17b
movaps xmm0, xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
movss xmm1, dword [0x1402c81f0]
comiss xmm1, xmm0
jae 0x14016a50f
movsd xmm0, qword [rdi + 8]
movsd qword [rsp + 0x30], xmm0
mov eax, dword [rdi + 0x10]
mov dword [rsp + 0x38], eax
movsd xmm0, qword [rbx + 8]
movsd qword [rsp + 0x40], xmm0
mov eax, dword [rbx + 0x10]
mov dword [rsp + 0x48], eax
mov dword [rsp + 0x20], 1
movss xmm3, dword [0x1402c8108]
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x40]
call fcn.14006d410
test al, al
jne 0x14016a50f
mov rbx, qword [0x140302380]
cmp byte [rsi + 0x68], al
je 0x14016a25c
cmp byte [rsi + 0xa], al
je 0x14016a20c
mov rax, qword [rsi + 0xa0]
cmp byte [rax + 0x2b0], 0
jne 0x14016a20c
mov rax, qword [rsi + 0x88]
cmp byte [rax + 0x2b0], 0
jne 0x14016a50f
movsd xmm0, qword [rbx + 8]
movss xmm1, dword [rdi + 8]
movsd qword [rsp + 0x30], xmm0
subss xmm1, xmm0
movss xmm2, dword [rdi + 0x10]
subss xmm2, dword [rbx + 0x10]
mulss xmm2, xmm2
mulss xmm1, xmm1
addss xmm2, xmm1
xorps xmm0, xmm0
ucomiss xmm0, xmm2
ja 0x14016a247
xorps xmm0, xmm0
sqrtss xmm0, xmm2
jmp 0x14016a24f
movaps xmm0, xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
comiss xmm0, dword [0x1402c822c]
ja 0x14016a50f
cmp byte [rsi + 0xb], 0
je 0x14016a2de
mov rax, qword [rsi + 0x90]
cmp byte [rax + 0x2b0], 0
je 0x14016a2de
mov eax, dword [rbx + 0x1bc]
cmp eax, 6
jae 0x14016a282
xorps xmm1, xmm1
jmp 0x14016a2d4
movaps xmm0, xmmword [0x1402c91a0]
movups xmmword [rsp + 0x50], xmm0
movaps xmm1, xmmword [0x1402c91b0]
movups xmmword [rsp + 0x60], xmm1
movaps xmm0, xmmword [0x1402c91c0]
movups xmmword [rsp + 0x70], xmm0
mov dword [rbp - 0x80], 0x44098000
add eax, 0xfffffffa
movss xmm1, dword [rbx + 0x60]
mulss xmm1, dword [0x1402c7c6c]
addss xmm1, dword [rsp + rax*4 + 0x50]
movss xmm0, dword [rbx + 0x78]
mulss xmm0, dword [0x1402c7cf8]
addss xmm1, xmm0
comiss xmm1, dword [rdi + 0x28]
jae 0x14016a50f
mov rax, qword [rsi + 0x78]
cmp byte [rax + 0x2b0], 0
je 0x14016a50f
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 0x14016a37b
cmp byte [rsi + 8], 0
je 0x14016a37b
cmp byte [rsi + 0x98], 0
jne 0x14016a37b
movd xmm0, dword [rsi + 0xac]
cvtdq2ps xmm0, xmm0
movss xmm1, dword [0x140302194]
subss xmm1, xmm0
comiss xmm1, xmm7
jbe 0x14016a37b
mov rax, qword [0x140302380]
cmp byte [rax + 0xe8], 0
je 0x14016a358
cmp byte [rax + 0x130], 0
jne 0x14016a382
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 + 0x98], 0
je 0x14016a50f
movss xmm7, dword [rax + 0xd4]
movss xmm9, dword [0x1402c8110]
comiss xmm7, dword [0x1402c81d0]
jbe 0x14016a3af
movaps xmm1, xmm9
jmp 0x14016a3b2
movaps xmm1, xmm7
movss xmm8, dword [rsi + 0xc0]
movaps xmm0, xmm6
subss xmm0, xmm1
subss xmm0, dword [0x1402c80c8]
comiss xmm0, xmm8
jbe 0x14016a42a
movsd xmm0, qword [rdi + 8]
movss xmm1, dword [rax + 8]
movsd qword [rsp + 0x30], 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 0x14016a40b
xorps xmm0, xmm0
sqrtss xmm0, xmm2
jmp 0x14016a413
movaps xmm0, xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
movss xmm1, dword [rsi + 0x100]
comiss xmm1, xmm0
jb 0x14016a42a
comiss xmm8, dword [0x1402c8200]
ja 0x14016a45c
comiss xmm7, dword [0x1402c81d0]
ja 0x14016a437
movaps xmm9, xmm7
subss xmm6, xmm9
subss xmm6, dword [0x1402c80c8]
comiss xmm8, xmm6
jbe 0x14016a50f
comiss xmm8, dword [0x1402c8200]
jbe 0x14016a50f
movups xmm0, xmmword [rsi + 0xc0]
movups xmm1, xmmword [rsi + 0xd0]
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x60], xmm1
movups xmm0, xmmword [rsi + 0xe0]
movups xmm1, xmmword [rsi + 0xf0]
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rbp - 0x80], xmm1
lea r9, [rsp + 0x50]
mov r8, rdi
lea rdx, [rbp - 0x50]
mov rcx, qword [0x1403022d8]
call fcn.140165680
cmp dword [rbp - 4], 5
jl 0x14016a50f
movss xmm0, dword [rbp - 0x10]
ucomiss xmm0, dword [0x140302828]
jp 0x14016a4d9
jne 0x14016a4d9
movss xmm0, dword [rbp - 0xc]
ucomiss xmm0, dword [0x14030282c]
jp 0x14016a4d9
jne 0x14016a4d9
movss xmm0, dword [rbp - 8]
ucomiss xmm0, dword [0x140302830]
jp 0x14016a4d9
je 0x14016a50f
call fcn.140146b10
mov ecx, dword [rbp - 8]
movsd xmm0, qword [rbp - 0x10]
mov dword [rsp + 0x38], ecx
movsd qword [rsp + 0x30], xmm0
lea r8, [rsp + 0x30]
mov rcx, rax
call fcn.14006f210
test al, al
je 0x14016a50f
cvttss2si eax, dword [0x140302194]
mov dword [rsi + 0xac], eax
lea r11, [rsp + 0x140]
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