sub_1407A2000
INT64 __fastcall sub_1407A2000(UINT64 **a1){
UINT64 *v1;
unsigned int v2;
unsigned int v3;
unsigned int v4;
unsigned int v5;
unsigned int v6;
v1 = *a1;
v2 = 0;
if( v1 )
{
if( *((_DWORD *)v1 + 20481) != 3 )
return(unsigned int)-1073741762;
v3 = *((_DWORD *)v1 + 20480);
if( v3 < 0x18 )
return(unsigned int)-1073741762;
v4 = *(_DWORD *)v1;
if( v3 < *(_DWORD *)v1 )
return(unsigned int)-1073741762;
if( v4 < 0x18 )
return(unsigned int)-1073741762;
v5 = *((_DWORD *)v1 + 1);
if( v3 < v5 )
return(unsigned int)-1073741762;
if( v4 < v5 )
return(unsigned int)-1073741762;
v6 = *((_DWORD *)v1 + 2);
if( v3 < v6 || v4 < v6 || v6 + v5 > v4 )
return(unsigned int)-1073741762;
}
return v2;
}Referenced by:
ExInitLicenseData
ExpLoadAndSortLicensingCacheDescriptors