https://bugs.winehq.org/show_bug.cgi?id=625
--- Comment #35 from Bryan Kirk Zero3K@teknik.io --- I think reading through https://learn.microsoft.com/en-us/windows/win32/api/libloaderapi/nf-libloade... will help with making a patch that fixes this issue.