I don't know what you can do with all this but if I were a smart Young programmer I might do away with the registry and replace it with an assembly program.
That doesn't make any sense. the registry is a data storage method. No execution takes place.
You are completely confused as to what the registry is. Perhaps I can explain:
The registry has existed since windows 3.1, and came about to facilitate the management of Component Object Model (COM) classes(for their "Object Linking and Embedding" (OLE) features. Microsoft then realized that COM was itself a useful method of binary reusability, and so created a DLL called COMPOBJ.DLL, which managed these objects for other applications via "CoCreateInstance" and so forth.
THe story goes on- but in short, I think your confusing the registry with the kernel. AFAIK, the kernel DOES contain DRM code, in that it will check a drivers "tilt bits" whenever it returns from a function within that driver. if they are flipped, the driver purposely blue screens.