Function at 0x180086250
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
push rbx
push rsi
push rdi
sub rsp, 0x100
mov r8d, dword [0x18014d05c]
mov rsi, rdx
movaps xmmword [rax - 0x78], xmm11
mov rdi, rcx
movaps xmmword [rax - 0x98], xmm14
xorps xmm14, xmm14
mov qword [rax + 0x18], rbp
mov rax, qword gs:[0x58]
mov ebp, 4
mov rbx, qword [rax + r8*8]
mov eax, dword [rbx + rbp]
cmp dword [0x18014ffe8], eax
jle 0x1800862d2
lea rcx, [0x18014ffe8]
call fcn.1800cc318
cmp dword [0x18014ffe8], 0xffffffff
jne 0x1800862d2
lea rcx, [0x18014ffe8]
mov qword [0x18014fff0], 0
mov dword [0x18014fff8], 0
call fcn.1800cc2ac
mov eax, dword [rbx + rbp]
cmp dword [0x18014fffc], eax
jle 0x18008630a
lea rcx, [0x18014fffc]
call fcn.1800cc318
cmp dword [0x18014fffc], 0xffffffff
jne 0x18008630a
lea rcx, [0x1800d6400]
call fcn.1800cc934
lea rcx, [0x18014fffc]
call fcn.1800cc2ac
mov eax, dword [rbx + rbp]
cmp dword [0x180150000], eax
mov rbp, qword [rsp + 0x130]
jle 0x180086353
lea rcx, [0x180150000]
call fcn.1800cc318
cmp dword [0x180150000], 0xffffffff
jne 0x180086353
lea rcx, [0x180150000]
mov qword [0x180150008], 0
mov dword [0x180150010], 0
call fcn.1800cc2ac
mov rax, qword [rdi + 0x78]
movss xmm11, dword [0x18014a320]
mulss xmm11, dword [0x18013093c]
cmp byte [rax], 0
je 0x18008677e
movzx eax, byte [0x18014d3d5]
test al, al
jne 0x18008677e
cmp byte [0x18014d4db], al
jne 0x1800863b1
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x1800863b1
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x38], 0x64
call fcn.1800653f0
jmp 0x180086658
cmp byte [0x18014d4da], 0
je 0x18008642e
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x18008642e
mov rcx, qword [rdi + 0x180]
lea rdx, [rsp + 0x48]
call fcn.180081ea0
cmp qword [rax + 0x18], 0xf
mov r8, qword [rax + 0x10]
jbe 0x1800863e9
mov rax, qword [rax]
cmp r8, 5
jne 0x180086424
lea rdx, str.BLOCK
mov rcx, rax
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x180086424
lea rcx, [rsp + 0x48]
call fcn.180074d20
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x38], 0x32
call fcn.1800653f0
jmp 0x180086658
lea rcx, [rsp + 0x48]
call fcn.180074d20
cmp byte [0x18014d4d8], 0
movaps xmmword [rsp + 0xf0], xmm6
movaps xmmword [rsp + 0xe0], xmm7
movss xmm7, dword [0x180130a00]
movaps xmmword [rsp + 0xd0], xmm8
movss xmm8, dword [0x180130a14]
movaps xmmword [rsp + 0xc0], xmm9
movaps xmmword [rsp + 0xb0], xmm10
movaps xmmword [rsp + 0x90], xmm12
movss xmm12, dword [0x180130ee0]
movaps xmmword [rsp + 0x70], xmm15
je 0x18008658b
mov rcx, qword [0x18014d4c8]
test rcx, rcx
je 0x18008658b
lea rdx, [rsp + 0x38]
call fcn.1800792b0
movsd xmm0, qword [rax]
movsd qword [0x180150008], xmm0
mov ecx, dword [rax + 8]
movss xmm1, dword [0x180150008]
movss xmm9, dword [0x18015000c]
mov dword [0x180150010], ecx
movaps xmm6, xmm9
mov rbx, qword [rsi]
movd xmm0, ecx
subss xmm1, dword [rbx + 0x24]
subss xmm0, dword [rbx + 0x2c]
subss xmm6, dword [rbx + 0x28]
movaps xmm15, xmm1
movaps xmm10, xmm0
mulss xmm15, xmm1
mulss xmm10, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_atan2f
movss xmm2, dword [rbx + 0x48]
movaps xmm1, xmm8
mulss xmm0, xmm7
divss xmm0, dword [0x180130940]
subss xmm0, dword [0x1801309d0]
subss xmm2, xmm0
xorps xmm2, xmm12
addss xmm2, xmm7
movaps xmm0, xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll_fmodf
comiss xmm14, xmm0
jbe 0x18008653c
addss xmm0, xmm8
movd xmm1, dword [0x18014a328]
subss xmm0, xmm7
cvtdq2ps xmm1, xmm1
andps xmm0, xmmword [0x180130eb0]
comiss xmm1, xmm0
jb 0x18008658b
mulss xmm6, xmm6
xorps xmm0, xmm0
addss xmm6, xmm15
addss xmm6, xmm10
ucomiss xmm0, xmm6
ja 0x180086576
xorps xmm0, xmm0
sqrtss xmm0, xmm6
jmp 0x18008657e
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
movss xmm1, dword [0x18014a324]
comiss xmm1, xmm0
jae 0x1800865a7
lea rcx, [rdi - 8]
mov r9, rsi
lea r8, [0x180150008]
call fcn.1800867a0
movss xmm9, dword [0x18015000c]
cmp qword [0x18014d4c8], 0
movaps xmm15, xmmword [rsp + 0x70]
je 0x180086611
cmp dword [0x18014d49c], 3
jne 0x1800865d2
addss xmm9, dword [0x1801308f8]
movss dword [0x18015000c], xmm9
lea rax, [rsp + 0x30]
mov byte [rsp + 0x30], 1
lea r9, [0x180150008]
mov qword [rsp + 0x20], rax
mov r8, rsi
lea rdx, [rsp + 0x38]
call fcn.180087a30
cmp byte [rsp + 0x30], 0
movsd xmm0, qword [rax]
movsd qword [0x18014fff0], xmm0
mov ecx, dword [rax + 8]
mov dword [0x18014fff8], ecx
jne 0x180086671
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x38], 0xa
call fcn.1800653f0
movaps xmm10, xmmword [rsp + 0xb0]
movaps xmm9, xmmword [rsp + 0xc0]
movaps xmm8, xmmword [rsp + 0xd0]
movaps xmm7, xmmword [rsp + 0xe0]
movaps xmm6, xmmword [rsp + 0xf0]
movaps xmm12, xmmword [rsp + 0x90]
lea r11, [rsp + 0x100]
movaps xmm11, xmmword [r11 - 0x60]
movaps xmm14, xmmword [r11 - 0x80]
mov rsp, r11
pop rdi
pop rsi
pop rbx
ret
mov rbx, qword [rsi]
movss xmm6, dword [0x18014fff0]
movss xmm9, dword [0x18014fff4]
movd xmm10, ecx
subss xmm6, dword [rbx + 0x24]
subss xmm10, dword [rbx + 0x2c]
subss xmm9, dword [rbx + 0x28]
movaps xmm0, xmm6
mulss xmm0, xmm6
movaps xmm1, xmm10
mulss xmm1, xmm10
addss xmm1, xmm0
xorps xmm0, xmm0
ucomiss xmm0, xmm1
ja 0x1800866c0
xorps xmm0, xmm0
sqrtss xmm0, xmm1
jmp 0x1800866c8
movaps xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
movaps xmm1, xmm0
movaps xmm0, xmm9
call sub.api_ms_win_crt_math_l1_1_0.dll_atan2f
movaps xmm9, xmm0
movaps xmm1, xmm6
xorps xmm9, xmm12
movaps xmm0, xmm10
mulss xmm9, xmm7
divss xmm9, dword [0x180130940]
call sub.api_ms_win_crt_math_l1_1_0.dll_atan2f
movss xmm2, dword [rbx + 0x48]
movaps xmm1, xmm8
mulss xmm0, xmm7
divss xmm0, dword [0x180130940]
subss xmm0, dword [0x1801309d0]
subss xmm2, xmm0
xorps xmm2, xmm12
addss xmm2, xmm7
movaps xmm0, xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll_fmodf
movaps xmm6, xmm0
comiss xmm14, xmm6
jbe 0x180086735
addss xmm6, xmm8
movss xmm0, dword [rbx + 0x44]
subss xmm6, xmm7
subss xmm0, xmm9
movaps xmm1, xmm8
xorps xmm0, xmm12
addss xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_fmodf
comiss xmm14, xmm0
jbe 0x18008675f
addss xmm0, xmm8
subss xmm0, xmm7
movss dword [rsp + 0x20], xmm11
lea rcx, [rdi - 8]
movaps xmm2, xmm6
movaps xmm3, xmm0
call fcn.180086e70
jmp 0x180086624
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x38], 0xfa
call fcn.1800653f0
jmp 0x180086658