its closed source atm but i can tell u basically how it works, theres hooks for different types of player inputs such as mouse movement, hook, fire, etc; every time the hooks are called it saves a little bit of data and then analyzes the last X data points for certain patterns