I've tried disassembling Model3, it's a bit out of my research league.There's only 3 model 2 with security.
No need to recompile just test it out in a game driver for one of the games that doesn't use security.I'd also have to compile a special version of MAME that doesn't automagically apply the keys.