https://bugs.winehq.org/show_bug.cgi?id=55604
Paul Gofman pgofman@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |pgofman@codeweavers.com
--- Comment #19 from Paul Gofman pgofman@codeweavers.com --- I looked into that a bit and it is most likely Wine specific behaviour which expects the old way of working with segment registers before the blamed commit.
The anticheat detects wine, removing wine_get_version makes it break even earlier, trying to find and then call (NULL on wine) LdrResSearchResource() to find something in ntdll. The version check even minds Wine version 7 vs greater version and does something a bit different.
FWIW Windows also resets, e. g., ds to 0x2b upon syscall (which Wine currently doesn't do). Doing that part like on Windows without the blamed commit breaks it the same way.