https://bugs.winehq.org/show_bug.cgi?id=49412
--- Comment #12 from Matías Zúñiga matias.nicolas.zc@gmail.com --- Created attachment 67731 --> https://bugs.winehq.org/attachment.cgi?id=67731 calls and rets of a working wine
For comparison, these are the calls after KERNEL32.CheckRemoteDebuggerPresent for a working wine (5.11+patches)
There are pretty much the same until two RtlReleaseSRWLockShared calls at the end (at this point, there are two 'dispatch_exception code=c0000005' on the trace of the comment above)