Function at 0x180005de0
Capabilities:
Check for unmoving mouse cursor
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0x100
mov rax, qword [0x180012040]
xor rax, rsp
mov qword [rbp - 0x39], rax
cmp byte [0x1800120a4], 0
mov rdi, r8
mov dword [0x18001636c], 0
jne 0x180005e1d
xor al, al
jmp 0x18000621b
mov qword [rsp + 0x110], rbx
lea rcx, [rbp - 0x49]
movaps xmmword [rsp + 0xf0], xmm6
movsd xmm6, qword [0x180015988]
movaps xmmword [rsp + 0xe0], xmm7
movsd xmm7, qword [0x180015980]
movaps xmmword [rsp + 0xd0], xmm8
movsd xmm8, qword [r8 + 8]
call qword [sym.imp.USER32.dll_GetCursorPos]
movd xmm0, dword [rbp - 0x49]
movd xmm1, dword [rbp - 0x45]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
cvtps2pd xmm3, xmm0
cvtps2pd xmm2, xmm1
comisd xmm3, xmm7
jbe 0x180005e99
comisd xmm2, xmm6
jbe 0x180005e99
addsd xmm7, qword [rdi]
comisd xmm7, xmm3
jbe 0x180005e99
addsd xmm6, xmm8
comisd xmm6, xmm2
jbe 0x180005e99
mov bl, 1
jmp 0x180005e9b
xor bl, bl
cmp dword [0x1800158d4], 0xffffffff
je 0x180005ebe
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x180005ebe
mov dword [0x1800158d4], 0xffffffff
movzx eax, byte [0x180016370]
test al, al
je 0x180005ee4
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x180005fd9
movzx eax, byte [0x180016370]
xorps xmm6, xmm6
test bl, bl
jne 0x180005eff
movsd xmm0, qword [0x180016380]
ucomisd xmm0, xmm6
jp 0x180005eff
je 0x180005fd2
test al, al
jne 0x180005fd2
cmp byte [0x180016350], 0
movsxd rax, dword [0x18001636c]
je 0x180005faf
lea rcx, [0x180016250]
cmp byte [rax + rcx], 0
jne 0x180005f2c
mov byte [rax + rcx], 1
lea rcx, [rbp - 0x41]
call qword [sym.imp.USER32.dll_GetCursorPos]
movd xmm0, dword [rbp - 0x41]
cvtdq2ps xmm0, xmm0
cvtps2pd xmm2, xmm0
movd xmm0, dword [rbp - 0x3d]
subsd xmm2, qword [rdi]
cvtdq2ps xmm0, xmm0
cvtps2pd xmm3, xmm0
movsd xmm0, qword [0x180016380]
ucomisd xmm0, xmm6
subsd xmm3, xmm8
jp 0x180005f8d
jne 0x180005f8d
movaps xmm0, xmm2
movaps xmm1, xmm3
subsd xmm0, qword [0x180015980]
subsd xmm1, qword [0x180015988]
movsd qword [0x180016380], xmm0
movsd qword [0x180016388], xmm1
jmp 0x180005f95
movsd xmm1, qword [0x180016388]
subsd xmm2, xmm0
subsd xmm3, xmm1
movsd qword [0x180015980], xmm2
movsd qword [0x180015988], xmm3
jmp 0x180005fd9
cmp rax, 0x100
jae 0x180006238
lea rcx, [0x180016250]
xorps xmm0, xmm0
mov byte [rax + rcx], 0
movups xmmword [0x180016380], xmm0
jmp 0x180005fd9
mov byte [0x180016370], 0
movss xmm7, dword [0x18000e938]
xorps xmm0, xmm0
movaps xmmword [rsp + 0xc0], xmm9
xorps xmm6, xmm6
movaps xmmword [rsp + 0xb0], xmm10
xorps xmm1, xmm1
movsd xmm10, qword [0x180015980]
movaps xmmword [rsp + 0xa0], xmm11
movsd xmm11, qword [0x180015988]
movaps xmmword [rsp + 0x90], xmm12
cvtpd2ps xmm12, xmm8
mov dword [0x180016364], 0
mov dword [0x180016374], 0
movaps xmmword [rsp + 0x80], xmm13
xorps xmm8, xmm8
comiss xmm12, xmm6
movsd xmm13, qword [rdi]
movups xmmword [0x180015940], xmm0
movups xmmword [0x180015930], xmm0
movups xmm0, xmmword [0x18000e5f0]
movsd qword [0x180015a00], xmm10
movsd qword [0x180015a08], xmm11
movups xmmword [0x1800159a0], xmm1
movdqa xmmword [rbp - 0x59], xmm0
cvtpd2ps xmm13, xmm13
jbe 0x1800060e0
cvtps2pd xmm9, xmm13
addsd xmm9, xmm10
mov rcx, qword [0x180016390]
lea rax, [rbp - 0x59]
xorps xmm0, xmm0
movsd qword [rbp - 0x69], xmm9
cvtss2sd xmm0, xmm8
lea r8, [rbp - 0x69]
mov qword [rsp + 0x20], rax
lea rdx, [rbp - 0x79]
movaps xmm3, xmm7
movsd qword [rbp - 0x79], xmm10
addsd xmm0, xmm11
movsd qword [rbp - 0x61], xmm0
movsd qword [rbp - 0x71], xmm0
call fcn.180004d80
addss xmm8, xmm7
comiss xmm12, xmm8
ja 0x180006092
movups xmm0, xmmword [0x180015a20]
movsd xmm9, qword [0x180015980]
xorps xmm8, xmm8
movsd xmm11, qword [0x180015988]
movss xmm10, dword [0x18000eabc]
movaps xmm12, xmmword [rsp + 0x90]
cvtss2sd xmm8, xmm13
movaps xmm13, xmmword [rsp + 0x80]
addsd xmm8, xmm9
movdqa xmmword [rbp - 0x59], xmm0
nop word [rax + rax]
mov rcx, qword [0x180016390]
lea rax, [rbp - 0x59]
xorps xmm0, xmm0
movsd qword [rbp - 0x79], xmm8
cvtss2sd xmm0, xmm6
lea r8, [rbp - 0x79]
mov qword [rsp + 0x20], rax
lea rdx, [rbp - 0x69]
movaps xmm3, xmm7
movsd qword [rbp - 0x69], xmm9
addsd xmm0, xmm11
movsd qword [rbp - 0x71], xmm0
movsd qword [rbp - 0x61], xmm0
call fcn.180004d80
addss xmm6, xmm7
comiss xmm10, xmm6
ja 0x180006130
movss xmm0, dword [0x180016374]
lea r8, [rbp - 0x59]
movsd xmm1, qword [rdi]
addss xmm0, xmm10
mulsd xmm1, qword [0x18000e940]
lea rdx, [rbp - 0x79]
lea rcx, str.Bodycam_Internal_v1
movsd xmm2, qword [0x180015988]
addsd xmm2, qword [0x18000e9a8]
movaps xmm11, xmmword [rsp + 0xa0]
addsd xmm1, qword [0x180015980]
movaps xmm9, xmmword [rsp + 0xc0]
movss dword [0x180016374], xmm0
movaps xmm0, xmmword [0x18000f230]
movaps xmmword [rbp - 0x59], xmm0
unpcklpd xmm1, xmm2
movdqa xmmword [rbp - 0x79], xmm1
call fcn.180005b60
movaps xmm10, xmmword [rsp + 0xb0]
mov al, 1
movaps xmm7, xmmword [rsp + 0xe0]
movaps xmm6, xmmword [rsp + 0xf0]
mov rbx, qword [rsp + 0x110]
movaps xmm8, xmmword [rsp + 0xd0]
mov rcx, qword [rbp - 0x39]
xor rcx, rsp
call fcn.18000ba70
mov rdi, qword [rsp + 0x118]
add rsp, 0x100
pop rbp
ret
call fcn.18000be78
int3