https://bugs.winehq.org/show_bug.cgi?id=52704
--- Comment #3 from Nikolay Sivov bunglehead@gmail.com --- Created attachment 72264 --> https://bugs.winehq.org/attachment.cgi?id=72264 patch
This is not related to delayed import. The problem is an exception raised when uxtheme is attached - registry handle is closed twice, and when being debugged this raises an exception from NtClose(). No idea if debugging itself is normal for this application, but attached patch works for me.