ExpOwnerEntryToThread

__int64 __fastcall ExpOwnerEntryToThread(__int64 *a1){
  __int64 v1; 
  __int64 result; 
  if( (a1[1] & 2) != 0 )
    return *a1 & 0xFFFFFFFFFFFFFFFCui64;
  v1 = *a1;
  result = 0i64;
  if( (v1 & 3) == 0 )
    return v1;
  return result;
}

Referenced by:

ExDeleteResourceLite
ExQuerySystemLockInformation
ExReinitializeResourceLite