https://bugs.winehq.org/show_bug.cgi?id=36013
--- Comment #3 from Sebastian Lackner sebastian@fds-team.de --- (In reply to Bruno Jesus from comment #2)
I don't understand this area of the API but I changed the 0 to PAGE_EXECUTE_READWRITE (which seemed like a good value for me) and the program went much further according to +vxd log and finally crashed.
Please note that PageReserve only reserves the memory without comitting it, which means those permissions only matter for PageModifyPermissions calls if at all. Before the app can access the memory, it has to call PageCommit first, and afterwards the permissions will be set as expected. I think it definitely should be safe to add such a change.