You're missing dependencies. Where did you get openBVE from?
Also, assuming you're not infected with Cryptolocker, factory resetting your PC because of an infected file is akin to burning a house down to get rid of a few roaches. Next time, try MalwareBytes.