https://bugs.winehq.org/show_bug.cgi?id=56989
--- Comment #2 from Béla Gyebrószki gyebro69@gmail.com --- (In reply to Rémi Bernon from comment #1)
I have created https://gitlab.winehq.org/wine/wine/-/merge_requests/6228 with I believe should fix this.
The patch works here as well, thanks for your time and effort to fix this bug.