http://bugs.winehq.org/show_bug.cgi?id=9685
--- Comment #163 from Stefan Dösinger stefandoesinger@gmx.at 2009-06-07 09:40:13 --- One could write a set of DLLs that are loaded instead of the normal wine dlls, and contain a wrapper function for each function in the dll. In every wrapper function where PB checks the checksum, clone the instructions that are checked, so the checksum matches. Then undo the work those instructions did(reset register contents, stack, etc), and call the real Wine function.
That is a mess from a technical point of view, and legally questionable, and a LOT of work. But it could be done outside Wine, so you don't have to get this past Alexandre. The other issue is that PB could catch these thunk DLLs, or they could be abused for cheating on Windows. (So make this a set of Winelib dlls, not real PE dlls)