https://bugs.winehq.org/show_bug.cgi?id=26365
--- Comment #23 from wanderer@fastmail.fm --- I'm very glad to see that this has been tracked down!
I'd love to dig into this myself, with that information, but unfortunately I don't have a way of building Wine properly (i.e., so as to support both 32-bit and 64-bit Windows programs with one install) ever since Debian dropped ia32-libs-dev without getting multi-arch -dev packages properly in place. My best workaround requires a multi-step build process which includes changing the installed versions of various -dev packages in between the build steps, and that's not at all practical for iterative testing.
If there's anything to be done to help push getting this vetted and (if necessary) developed into an acceptable patch, I'd be glad to do what I can in that direction.