Function at 0x18009dae0
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
push rbx
push rsi
push rdi
sub rsp, 0x100
mov r8d, dword [0x180152b6c]
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 [0x180155d60], eax
jle 0x18009db62
lea rcx, [0x180155d60]
call fcn.1800d1288
cmp dword [0x180155d60], 0xffffffff
jne 0x18009db62
lea rcx, [0x180155d60]
mov qword [0x180155d68], 0
mov dword [0x180155d70], 0
call fcn.1800d121c
mov eax, dword [rbx + rbp]
cmp dword [0x180155d74], eax
jle 0x18009db9a
lea rcx, [0x180155d74]
call fcn.1800d1288
cmp dword [0x180155d74], 0xffffffff
jne 0x18009db9a
lea rcx, [0x1800dbbd0]
call fcn.1800d18a4
lea rcx, [0x180155d74]
call fcn.1800d121c
mov eax, dword [rbx + rbp]
cmp dword [0x180155d78], eax
mov rbp, qword [rsp + 0x130]
jle 0x18009dbe3
lea rcx, [0x180155d78]
call fcn.1800d1288
cmp dword [0x180155d78], 0xffffffff
jne 0x18009dbe3
lea rcx, [0x180155d78]
mov qword [0x180155d80], 0
mov dword [0x180155d88], 0
call fcn.1800d121c
mov rax, qword [rdi + 0x78]
movss xmm11, dword [0x18015034c]
mulss xmm11, dword [0x1801369a4]
cmp byte [rax], 0
je 0x18009e00e
movzx eax, byte [0x1801530f5]
test al, al
jne 0x18009e00e
cmp byte [0x1801531db], al
jne 0x18009dc41
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x18009dc41
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x38], 0x64
call fcn.18008de20
jmp 0x18009dee8
cmp byte [0x1801531da], 0
je 0x18009dcbe
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x18009dcbe
mov rcx, qword [rdi + 0x180]
lea rdx, [rsp + 0x48]
call fcn.180099aa0
cmp qword [rax + 0x18], 0xf
mov r8, qword [rax + 0x10]
jbe 0x18009dc79
mov rax, qword [rax]
cmp r8, 5
jne 0x18009dcb4
lea rdx, str.BLOCK
mov rcx, rax
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x18009dcb4
lea rcx, [rsp + 0x48]
call fcn.1800653e0
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x38], 0x32
call fcn.18008de20
jmp 0x18009dee8
lea rcx, [rsp + 0x48]
call fcn.1800653e0
cmp byte [0x1801531d8], 0
movaps xmmword [rsp + 0xf0], xmm6
movaps xmmword [rsp + 0xe0], xmm7
movss xmm7, dword [0x180136a68]
movaps xmmword [rsp + 0xd0], xmm8
movss xmm8, dword [0x180136a7c]
movaps xmmword [rsp + 0xc0], xmm9
movaps xmmword [rsp + 0xb0], xmm10
movaps xmmword [rsp + 0x90], xmm12
movss xmm12, dword [0x180136f50]
movaps xmmword [rsp + 0x70], xmm15
je 0x18009de1b
mov rcx, qword [0x1801531c8]
test rcx, rcx
je 0x18009de1b
lea rdx, [rsp + 0x38]
call fcn.180090fc0
movsd xmm0, qword [rax]
movsd qword [0x180155d80], xmm0
mov ecx, dword [rax + 8]
movss xmm1, dword [0x180155d80]
movss xmm9, dword [0x180155d84]
mov dword [0x180155d88], 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 [0x1801369a8]
subss xmm0, dword [0x180136a38]
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 0x18009ddcc
addss xmm0, xmm8
movd xmm1, dword [0x180150354]
subss xmm0, xmm7
cvtdq2ps xmm1, xmm1
andps xmm0, xmmword [0x180136f20]
comiss xmm1, xmm0
jb 0x18009de1b
mulss xmm6, xmm6
xorps xmm0, xmm0
addss xmm6, xmm15
addss xmm6, xmm10
ucomiss xmm0, xmm6
ja 0x18009de06
xorps xmm0, xmm0
sqrtss xmm0, xmm6
jmp 0x18009de0e
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
movss xmm1, dword [0x180150350]
comiss xmm1, xmm0
jae 0x18009de37
lea rcx, [rdi - 8]
mov r9, rsi
lea r8, [0x180155d80]
call fcn.18009e030
movss xmm9, dword [0x180155d84]
cmp qword [0x1801531c8], 0
movaps xmm15, xmmword [rsp + 0x70]
je 0x18009dea1
cmp dword [0x180150340], 1
jne 0x18009de62
addss xmm9, dword [0x180136960]
movss dword [0x180155d84], xmm9
lea rax, [rsp + 0x30]
mov byte [rsp + 0x30], 1
lea r9, [0x180155d80]
mov qword [rsp + 0x20], rax
mov r8, rsi
lea rdx, [rsp + 0x38]
call fcn.18009efc0
cmp byte [rsp + 0x30], 0
movsd xmm0, qword [rax]
movsd qword [0x180155d68], xmm0
mov ecx, dword [rax + 8]
mov dword [0x180155d70], ecx
jne 0x18009df01
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x38], 0xa
call fcn.18008de20
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 [0x180155d68]
movss xmm9, dword [0x180155d6c]
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 0x18009df50
xorps xmm0, xmm0
sqrtss xmm0, xmm1
jmp 0x18009df58
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 [0x1801369a8]
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 [0x1801369a8]
subss xmm0, dword [0x180136a38]
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 0x18009dfc5
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 0x18009dfef
addss xmm0, xmm8
subss xmm0, xmm7
movss dword [rsp + 0x20], xmm11
lea rcx, [rdi - 8]
movaps xmm2, xmm6
movaps xmm3, xmm0
call fcn.18009e700
jmp 0x18009deb4
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x38], 0xfa
call fcn.18008de20
jmp 0x18009dee8