anti-cracking library 1.0

BPMSet function
Detects a BPM breakpoint.


function BPMset: Boolean;

This function checks if a BPM breakpoint is set.

A BPM is set by filling the Debug registers with data. This function detects every BPM so there is no need to tell it, where it has to look for the breakpoint. Function first sets the Dr0 - Dr3 registers to break on 4 places in the function. If BPM is set by a debugger, the debugger will restore Dr to old values and our new breakpoints won't run.