https://bugs.winehq.org/show_bug.cgi?id=51465
--- Comment #4 from algebro@tuta.io --- I've been doing more debugging, and there seem to be a couple of issues going on (all are happening in cryptopp so far). If we figure out it's some sort of cryptopp bug then I'll close this ticket and report it there, but at least one of the problems seems to be something with allocation, which could be wine related.
Issue #1:
the game crashes at https://github.com/weidai11/cryptopp/blob/2d8e4680855691657cb8029ae5cb05c67c... after checking the result value of a FIPS self-test. From what I can tell, DoPowerUpSelfTest() in fipstest.cpp is never called to run the tests, so this fails and it throws an exception. Just as a test case, I patched the cryptopp.dll that shipped with the launcher to remove that check and it gets past it just fine.
Issue #2:
We're crashing in SetNewAndDeleteFunctionPointers() in dll.cpp (https://github.com/weidai11/cryptopp/blob/2d8e4680855691657cb8029ae5cb05c67c...). For some reason GetModuleHandle("msvcrtd") or GetModuleHandle("msvcrt") are failing. Anyone know what could cause that?