AslpFileGetCrcChecksum

__int64 __fastcall AslpFileGetCrcChecksum(_DWORD *a1, __int64 a2){
  unsigned __int64 v3; 
  UINT64 v4; 
  UINT64 v5; 
  UINT8 *v6; 
  UINT8 *v7; 
  UINT8 *v8; 
  v3 = *(_QWORD *)(a2 + 16);
  v4 = 0i64;
  if( v3 >= 0x2000 )
  {
    v7 = *(UINT8 **)(a2 + 24);
    v8 = &v7[v3];
    v4 = (unsigned int)AslComputeCrc32(0i64, v7, 0x1000ui64);
    v6 = v8 - 4096;
  }
  else
  {
    v5 = *(unsigned int *)(a2 + 32);
    v6 = *(UINT8 **)(a2 + 24);
  }
  *a1 = AslComputeCrc32(v4, v6, v5);
  return 0i64;
}

Referenced by:

AslpFileGetChecksumAttributes