EMI: Patch out calls to ReadRegistryValue and WriteRegistryValue in the demo.