http://bugs.winehq.org/show_bug.cgi?id=58513
--- Comment #18 from Dmitry Timoshkov dmitry@baikal.ru --- (In reply to Dmitry Timoshkov from comment #17)
Created attachment 78984 [details] patch
Does this patch help?
https://gitlab.winehq.org/wine/wine/-/merge_requests/8591 should be a more correct fix.