[Bug 54550] New: Move registry functions implementations into offreg.dll