It seems Wine has problems with correct return address for the int3 brakepoint exception. It's covered in bug http://bugs.winehq.org/show_bug.cgi?id=7063
There is even a test case with a proposed fixes. Can anyone with knowledge of the debugger events take a look at it?
If the patch can be committed Wine will get that much closer to the supporting more unti-debugger protection schemes.
Vitaliy Margolen.