This issue was present in Horizons also fyi, was something that was driving me nuts back then and spent many a days reading through suggestions not only affiliated to ED but other games too (remove stutter / hitch etc)
I did 3 of the following things in conjunction which resolved the issue for me.
• Add the game.exe /folder to WinDefender Whitelist (Method 2)
• Add the game.exe to
Exploit protection in windows 10 and turn off CFG (control flow guard) associated to it.
• Use
Win10 privacy to disable all telemetry / bloatware in Win10
(also gives you the option to force disable WinDefender and backend services associated to it, including MSMPENG.exe)
Monitor the game in task manager and see if you can associate the hang with the running of MSMPENG.exe
I noticed the correlation but I was fault finding another issue with another game so Win10 Privacy may have helped with my ED issue as I disabled all the guff and disabled all the Telemetry cr4p.