CmpApplyAdminSdOnHiveFiles

NTSTATUS __stdcall CmpApplyAdminSdOnHiveFiles(PVOID BugCheckParameter2, PVOID BugCheckParameter3){
  NTSTATUS v4; 
  NTSTATUS v5; 
  void *v6; 
  void *v7; 
  void *v8; 
  v4 = ZwSetSecurityObject(*((PVOID *)BugCheckParameter2 + 192), 4ui64, CmpAdminSystemFileSecurityDescriptor);
  v5 = v4;
  if( v4 < 0 )
    KeBugCheckEx(0x51u, 0x13ui64, (ULONG_PTR)BugCheckParameter2, (ULONG_PTR)BugCheckParameter3, v4);
  v6 = (void *)*((_QWORD *)BugCheckParameter2 + 196);
  if( v6 )
    ZwSetSecurityObject(v6, 4ui64, CmpAdminSystemFileSecurityDescriptor);
  v7 = (void *)*((_QWORD *)BugCheckParameter2 + 197);
  if( v7 )
    ZwSetSecurityObject(v7, 4ui64, CmpAdminSystemFileSecurityDescriptor);
  v8 = (void *)*((_QWORD *)BugCheckParameter2 + 193);
  if( v8 )
    ZwSetSecurityObject(v8, 4ui64, CmpAdminSystemFileSecurityDescriptor);
  return v5;
}

Referenced by:

CmpLoadHiveThread