also...
... Steam? In GOG?
This is SWBF2
http://www.gog.com/game/star_wars_battlefront_ii [url=http://www.pcgamingwiki.com/wiki/Star_Wars:_Battlefront_II]http://www.pcgamingwiki.com/wiki/Star_Wars:_Battlefront_II[/url]
This one is SWBF2 2017
[url=http://www.pcgamingwiki.com/wiki/Star_Wars_Battlefront_II_(2017]http://www.pcgamingwiki.com/wiki/Star_Wars_Battlefront_II_(2017[/url])
You should validate game files from Stream Games Library. Twice. Start it directly from Steam and not from desktop links.
Remove entire folder
%USERPROFILE%\Documents\STAR WARS Battlefront II\settings\
Since this game use 3rd party launcher-DRM (EA Origin), most likely validating from Steam will do check files, but redownloading started from next launch (directly from Steam, always directly from Steam) by Origin client, not Steam itself.
Googleit this symptoms cause they not related abosulutely to the game and even to OS. This can happen on every Windows. I see that a lot on forums, but never saw clear 100% worked solution, since no one report of results, what he did and where game be installed before. Can happen even on WinXP. But even Windows DEP shouldnt be an issue.
So this is security, but not clear what exactly. Better turn on VAC and set steam.exe run as admin (additionally to all game executables if you start them without Steam).
You should reinstall everything from Program Files_(x86) to normal path
D:\Games\*game-name-2*\ (short, without spaces, ' _ ', any else symbols or non-latin letters, no polish words)
D:\Games\Steam\...
X:\Games\SteamApps\... .
Even with that still enable VAC and set admin run on game executables.
3rd party antiviruss should be turned off. Windows Defender - usually admin run on steam.exe and Games folder is enough.
Check latest stable Windows Update build\hotfixes. Reinstall video driver to one of the latest stable branch build.
Also, check system requirements for SWBF2 2017.
------------------
Carefully read readme for the mods. Do not use Steam if you want modded game. Make sure it work starting from Steam and later without Steam - before installing mods. Without Steam - set game exe admin run.
... I mean. Wait until game start working again from Steam. Then check if it working without Steam from EA Origin (you can start steam-version from Origin without Steam).
And only after that install mods. Since that do not use Steam to start game. So set game(game launcher) exe file to be started as admin.
Starting from steam.exe or any else launchers set to be adminrun also apply this admin rule to every "daughter" process started from steam\etc.