FairFight and GGC-Stream function in the same manner. The anti-cheat systems will check for open windows associated with bf4, perform keylog checks on your pc (eg. How many times do press alt {potential aimbot}) and take screenshots of whats on your screen. Depending on your hack, safety varies. If your hack is external (sounds like an external), multiple hooks are put in place to bypass some of the above, screenshots do not work on them since they are transparent overlays. Please refer to where you got your ESP cheat from to validate the safety of it.
-Regards. (PS; My private internal cheat blocks keyloggers, cleans screenshots and I play with a consistent kd ratio to avoid getting banned, I have several unbanned cheating accounts).