https://bugs.winehq.org/show_bug.cgi?id=45453
--- Comment #10 from Roderick Colenbrander thunderbird2k@gmail.com --- Created attachment 62712 --> https://bugs.winehq.org/attachment.cgi?id=62712 Proof-of-concept patch
An initial patch, which I expect will fix your issues. I couldn't fully test it as my bitmasks are different, but give it a try. If it works I will split the patch and submit them.