https://bugs.winehq.org/show_bug.cgi?id=45570
Bug ID: 45570 Summary: League of Legends 8.12+ fails to start a game (anticheat engine, incorrect implementation of LdrInitializeThunk) Product: Wine Version: 3.13 Hardware: x86 OS: Linux Status: NEW Severity: normal Priority: P2 Component: ntdll Assignee: wine-bugs@winehq.org Reporter: z.figura12@gmail.com Distribution: ---
Diagnosed by Andrew Wesie; partially split off from bug 45327.
The game expects LdrInitialize thunk to be called whenever a new thread is created and that the first argument is the CONTEXT for the thread. Furthermore, it expects that %eax will contain the thread's entry point.