KiTpIsExcludedKernelTracepointLocation

INT64 __stdcall KiTpIsExcludedKernelTracepointLocation(ULONGLONG Maximum){
  unsigned int v2; 
  struct _RTL_RANGE_LIST *v3; 
  CHAR *v4; 
  unsigned __int64 Start; 
  v2 = 0;
  v3 = KiTpExcludedRangeList;
  if( !KiTpExcludedRangeList )
  {
    v4 = KiTpBuildExcludedKernelTracepointRangeList();
    if( _InterlockedCompareExchange64((volatile signed __int64 *)&KiTpExcludedRangeList, (signed __int64)v4, 0i64) )
    {
      if( v4 )
      {
        RtlFreeRangeList((INT64)v4);
        ExFreePoolWithTag(v4, 0x70727446u);
      }
    }
    v3 = KiTpExcludedRangeList;
    if( !KiTpExcludedRangeList )
      return(unsigned int)((_DWORD)KiTpExcludedRangeList + 1);
  }
  LOBYTE(v2) = RtlFindRange(v3, Maximum, Maximum, 1u, 1u, 0, 0, 0i64, 0i64, &Start) < 0;
  return v2;
}

Referenced by:

KiTpIsSupportedKernelTracepointLocation