https://bugs.winehq.org/show_bug.cgi?id=50405
--- Comment #1 from Nikolay Sivov bunglehead@gmail.com --- Hi,
have you tried with 6.0-rc3? Also please attach compiled executable, preferably with source code that demonstrates the issue. Have you verified that ReadProcessMemory() works at all on your system?