CmpNotifyTriggerCheck

UINT8 __fastcall CmpNotifyTriggerCheck(INT64 a1, INT64 a2, INT64 a3){
  __int64 v6; 
  ExAcquireFastMutexUnsafe(&CmpPostLock);
  v6 = *(_QWORD *)(a1 + 16);
  if( v6 == a1 + 16 || (unsigned __int16)*(_DWORD *)(v6 + 56) != 3 )
  {
    ExReleaseFastMutexUnsafe(&CmpPostLock);
    return CmpCheckNotifyAccess((_CM_NOTIFY_BLOCK *)a1, (_HHIVE *)a2, (_CM_KEY_NODE *)a3);
  }
  else
  {
    ExReleaseFastMutexUnsafe(&CmpPostLock);
    return 1;
  }
}

Referenced by:

CmpReportNotifyHelper