ExRundownCompletedCacheAware

INT64 __stdcall ExRundownCompletedCacheAware(
        VOID *SecurityDescriptor,
        UINT64 SecurityInformation,
        WCHAR **StringSecurityDescriptor,
        UINT64 *StringSecurityDescriptorLen){
  unsigned int v5; 
  unsigned int v6; 
  int v7; 
  INT64 result; 
  v5 = 0;
  v6 = *((_DWORD *)SecurityDescriptor + 5);
  if( v6 )
  {
    do
    {
      v7 = v5 % v6;
      ++v5;
      result = _InterlockedExchange64(
                 (volatile __int64 *)(*(_QWORD *)SecurityDescriptor
                                    + (unsigned int)(*((_DWORD *)SecurityDescriptor + 4) * v7)),
                 1i64);
      v6 = *((_DWORD *)SecurityDescriptor + 5);
    }
    while( v5 < v6 );
  }
  return result;
}

Referenced by:

ExReInitializeRundownProtectionCacheAware