MiLocateExclusiveSecure

__int64 *__fastcall MiLocateExclusiveSecure(__int64 a1){
  __int64 *result; 

  for( result = *(__int64 **)(a1 + 56); result; result = (__int64 *)*result )
  {
    if( *((_DWORD *)result + 16) == 2 )
    {
      if( (result[1] & 0x20) != 0 )
        return result;
      return 0i64;
    }
  }
  return 0i64;
}

Referenced by:

MiAddSecureEntry