This sample will use SSPLUAObject to set registry keys, and trigger UAC bypass.
To build and test code you will need Visual Studio Build tools 2013, 2015 or 2017, either standalone or one integrated with Visual Studio, and cmake:
SSPLUA Object exposes interface which allows us to set any registry key : SLLUARegKeySetValue.
Code sets Silent Process Exit Monitor registry keys and launches auto elevated process. On exit our code will be executed with High integrity.
NOTE: There are no advanced techniques inside. Only pure demonstration of this interface.