I have tried the following:
Deleting the Battleye folder and dayz executables, verify integrity afterwards,
Reinstalled,
Moved to HDD
Moved to SSD,
Reinstalled vcredist
Disabled and uninstalled Malwarebytes, disabled firewall and windows defender
Ran a scan
Set up DayZ_BE and DayZ to run as admin and compatibility modes(changing options repeatedly)
Ran steam as admin
I have done about everything I can to fix this, but to no avail. I think there is a problem with dayz and windows 8.1
EDIT FIX: THIS PROBLEM IS RELATED TO RAZER SYNAPSE. EITHER UNINSTALL OR REINSTALL RAZER PROGRAMS.