https://bugs.winehq.org/show_bug.cgi?id=51539
--- Comment #2 from Martin Storsjö martin@martin.st --- Also to add more context...
Before 28fe84da45bea7de56539b50eac8ebcec54342de, "ntdll: Load the main image from the Unix side.", this was easy to fix by just using the old logic of "entry = (char *)peb->ImageBaseAddress + nt->OptionalHeader.AddressOfEntryPoint;" again, but after that, it seems like the actual address where the main exe was loaded is lost somehow, without doing the relevant relocations.