CmpApplyAdminSdOnHiveFiles

INT64 __stdcall CmpApplyAdminSdOnHiveFiles(PVOID BugCheckParameter2, PVOID BugCheckParameter3){
  NTSTATUS v4; 
  unsigned int v5; 
  UINT64 v6; 
  UINT64 v7; 
  UINT64 v8; 

  v4 = ZwSetSecurityObject(*((_QWORD *)BugCheckParameter2 + 192), 4ui64, SecurityDescriptor);
  v5 = v4;
  if( v4 < 0 )
    KeBugCheckEx(0x51u, (PVOID)0x13, BugCheckParameter2, BugCheckParameter3, (PVOID)v4);
  v6 = *((_QWORD *)BugCheckParameter2 + 196);
  if( v6 )
    ZwSetSecurityObject(v6, 4ui64, SecurityDescriptor);
  v7 = *((_QWORD *)BugCheckParameter2 + 197);
  if( v7 )
    ZwSetSecurityObject(v7, 4ui64, SecurityDescriptor);
  v8 = *((_QWORD *)BugCheckParameter2 + 193);
  if( v8 )
    ZwSetSecurityObject(v8, 4ui64, SecurityDescriptor);
  return v5;
}

Referenced by:

CmpLoadHiveThread