New
#11
The desktop is managed by then explorer.exe and dwm.exe (Desktop Window Manager) processes. The code is contained in the process exe and the many DLLs they load. This is all very complex.
As to where the ad is ultimately pointing to, this is something the adware developers really don't want you to know and have devoted considerable effort to ensure you don't. There are many ways of doing this.