https://bugs.winehq.org/show_bug.cgi?id=47878
--- Comment #2 from c3210606@urhen.com --- It's kinda hard to reproduce. Basically, I was trying to install Median XL Sigma mod over Diablo 2 and run it over Wine. It requires manually extracting the installer ( the installer itself doesn't work on wine ) and applying the file changes by myself. The mod works by hijacking a dll that is put aside the original exe and applying a list of patches to the binary. It works by running a VirtualProtect with 0x40 prot, doing WriteProcessMemory and running VirtualProtect with old prot. It crashes on only one patch which is applied to an offset ending with 0xFFD, and 4 bytes of size. I confirmed the bug by changing the patch to 0xFFC after which it started working flawlessly.
If needed, I can try and prepare the install for someone so you can reproduce.