[Bug 52676] enigma protected software fails to work properly

WineHQ Bugzilla wine-bugs at winehq.org
Sat Mar 19 15:12:43 CDT 2022


https://bugs.winehq.org/show_bug.cgi?id=52676

--- Comment #21 from Fabian Maurer <dark.shadow4 at web.de> ---
Created attachment 72054
  --> https://bugs.winehq.org/attachment.cgi?id=72054
Disasm of one affected function

So, I managed to find one affected function: gdi32/text.c:EnumFontFamiliesExW
Attaching disassembly of EnumFontFamiliesExW.

Lines of note:
> b8 02 00 00 00       	mov    eax,0x2
> c4 e2 7b f7 95 64 c7 	shrx   edx,DWORD PTR [ebp-0x389c],eax
> ff ff 

I also edited the crash handler to output the data of the illegal instruction,
it changes randomly, here's 3 samples:
> c4 e2 0f 8b bd 44
> c4 e2 0f 8b cf 44 
> c4 e2 0f 8b e1 44

Seems like enigma screws up that shrx instruction.

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.


More information about the wine-bugs mailing list