https://bugs.winehq.org/show_bug.cgi?id=50405
--- Comment #16 from dmex04@gmail.com --- (In reply to Gijs Vermeulen from comment #15)
This should be fixed by https://source.winehq.org/git/wine.git/commit/ dc90fe9a947cb04d2ea80acd0770514845e93989, please retest with wine-6.1.
These types are incorrect for 64-bit. The EnvironmentSize and EnvironmentVersion fields should be ULONG_PTR.
https://github.com/processhacker/phnt/blob/e9c8121f41b00cd24e31eb466c9795785...