advapi32.dll is the Advanced Windows 32 Base API.
This provides security calls and functions for accessing and manipulating the Windows Registry.
A list of functions expored by advapi32.dll can be found here: https://www.geoffchappell.com/studies/windows/win32/advapi32/api/index.htm