This is my first revision, please don't blame me if I missed some style guidelines..
As reported by at least myself (heard rumors more people have that problem) pyrogenesis is crashing without any error message on some Win10 machines which have G Data Internet Security installed.
Forum thread
This doesn't prevent the error message at startup which is also described in the forum post. Its just a solution for the crash. This also means that #4847 is unrelated to this.
This patch isn't actually fully preventing the appcrash, but logging it properly (preventing would probably introduce some unsightly code which would be rarely used as only the svn version is affected)