AslpFileLargeGetChecksum

__int64 __fastcall AslpFileLargeGetChecksum(unsigned int *a1, _QWORD *a2){
  unsigned int v3; 
  __int64 v4; 
  _DWORD *v5; 
  unsigned __int64 i; 
  unsigned int v7; 
  char v8; 
  v3 = 0;
  if( *(_QWORD *)(*a2 + 16i64) < 0x100000ui64 )
    return 3221225485i64;
  v4 = a2[2];
  if( !v4 || a2[3] < 0x1200ui64 || a2[4] )
    return 3221225485i64;
  v5 = (_DWORD *)(v4 + 512);
  for( i = 0i64; i < 0x400; ++i )
  {
    v7 = *v5++ + v3;
    v8 = v7;
    v3 = v7 >> 1;
    if( (v8 & 1) != 0 )
      v3 |= 0x80000000;
  }
  *a1 = v3;
  return 0i64;
}

Referenced by:

AslpFileLargeGetChecksumAttributes