https://bugs.winehq.org/show_bug.cgi?id=43567
--- Comment #5 from Jan Havran havran.jan@email.cz --- Created attachment 63122 --> https://bugs.winehq.org/attachment.cgi?id=63122 test case
I also prepared primitive test case, where I tested behavior of ECX in GetTickCount() function.
Here are the outputs for Win 7, XP and Wine before and after patch.
Windows 7 asm: 3545699, C: 3545699 before 42, after 0
Windows XP asm: 3622368, C: 3622368 before 42, after 42
wine-4.0-rc2 asm: 1734890, C: 1734890 before 42, after 61fe40
wine-4.0-rc2 + workaround asm: 2620090, C: 2620090 before 42, after 42
My patch (and probably yours too) fixes the issue for both Demo and full version (I used full version for debugging).
OT: It took me a whole day to find a hard drive where I could install Windows 7 and Windows XP, install both systems and test it. And wait two more days would be enough. Sigh :(