http://bugs.winehq.org/show_bug.cgi?id=35361
--- Comment #48 from noother wine@noother.net --- Well, I "fixed" it by commenting the FIXME in dlls/user32/input.c GetRegisteredRawInputDevices, which is otherwise empty.
I don't understand how this is causing the crash though. Patch is attached, if anyone's interested and the overlay works once again with the imm32.patch plus this applied.