SeSinglePrivilegeCheck

INT8 __fastcall SeSinglePrivilegeCheck(INT64 a1, INT8 a2){
  _KPROCESSOR_MODE v4; 
  _SECURITY_SUBJECT_CONTEXT SubjectContext; 

  memset(&SubjectContext, 0, sizeof(SubjectContext));
  SeCaptureSubjectContext((INT64)&SubjectContext);
  LOBYTE(v4) = a2;
  LOBYTE(a1) = SeSinglePrivilegeCheckEx((_LUID)a1, &SubjectContext, v4);
  SeReleaseSubjectContext(&SubjectContext);
  return a1;
}

Referenced by:

CmLoadDifferencingKey
CmUnloadKey
CmpCreateKeyBody
EtwSetPerformanceTraceInformation
EtwpSetMark
EtwpUpdateGroupMasks
ExCpuSetResourceManagerAccessCheck
ExpProfileCreate
ExpQuerySystemInformation
ExpRaiseHardError
ExpSetBootEntry
ExpSetDriverEntry
ExpWnfCheckCrossScopeAccess
IopAllocRealFileObject
IopLoadDriverImage
IopUnloadDriver
MiAllocateAweInfo
MiAllocateUserPhysicalPages
MiCreatePagingFile
MiCreatePagingFileMap
MiIsUserQueryVmCallerTrusted
MiLockUnlockCommon
MiMapViewOfSection
MiReserveUserMemory
MmCreateMirror
MmIssueMemoryListCommand
MmManagePartitionCreateLargePages
MmManagePartitionMoveMemory
MmProcessWorkingSetControl
NtCompactKeys
NtCompressKey
NtCreatePartition
NtCreateTokenEx
NtCreateWnfStateName
NtDeleteBootEntry
NtDeleteDriverEntry
NtDisableLastKnownGood
NtDisplayString
NtDrawText
NtEnableLastKnownGood
NtEnumerateBootEntries
NtEnumerateDriverEntries
NtEnumerateSystemEnvironmentValuesEx
NtFilterBootOption
NtFlushInstallUILanguage
NtFreezeRegistry
NtGetNextProcess
NtGetNextThread
NtInitializeRegistry
NtInitiatePowerAction
NtMakePermanentObject
NtManageHotPatch
NtPlugPlayControl
NtPowerInformation
NtQueryBootEntryOrder
NtQueryBootOptions
NtQueryDriverEntryOrder
NtQueryInformationToken
NtQueryOpenSubKeysEx
NtQuerySystemEnvironmentValue
NtQuerySystemEnvironmentValueEx
NtReplaceKey
NtReplacePartitionUnit
NtRestoreKey
NtSaveKeyEx
NtSaveMergedKeys
NtSerializeBoot
NtSetBootEntryOrder
NtSetBootOptions
NtSetDebugFilterState
NtSetDefaultHardErrorPort
NtSetDriverEntryOrder
NtSetInformationFile
NtSetInformationJobObject
NtSetInformationObject
NtSetInformationProcess
NtSetInformationSymbolicLink
NtSetInformationThread
NtSetInformationToken
NtSetInformationVirtualMemory
NtSetIntervalProfile
NtSetSystemEnvironmentValue
NtSetSystemEnvironmentValueEx
NtSetSystemInformation
NtSetSystemTime
NtShutdownSystem
NtSystemDebugControl
NtThawRegistry
NtTranslateFilePath
ObCreateObjectEx
ObSetRefTraceInformation
ObpLookupObjectName
PfSetSuperfetchInformation
PfSnQueryPrefetcherInformation
PfSnSetPrefetcherInformation
PfpPrivSourceEnum
PopTransitionSystemPowerStateEx
PsOpenThread
PsQueryCpuQuotaInformation
PsSetCpuQuotaInformation
PspAllocateProcess
PspApplyIFEOPerfOptions
PspSetProcessPriorityClass
PspSetQuotaLimits
SepLinkLogonSessions
SepVerifyDesktopAppPolicyOverrideCaller
SmProcessConfigRequest
SmProcessCreateRequest
SmProcessStatsRequest
SmQueryStoreInformation
SmSetStoreInformation
VrpHandleIoctlLoadDifferencingHive
VrpHandleIoctlLoadDifferencingHiveForHost
VrpHandleIoctlUnloadDifferencingHiveForHost