http://bugs.winehq.org/show_bug.cgi?id=25908
--- Comment #10 from Nikolay Sivov bunglehead@gmail.com 2011-05-08 10:06:24 CDT --- Created an attachment (id=34545) --> (http://bugs.winehq.org/attachment.cgi?id=34545) patch
Here it is.
P.S. apparently MFC's ASSERT() macro is compiled out for release builds, otherwise this failure will be caught with it.