PfSnParametersVerify
__int64 __fastcall PfSnParametersVerify(_DWORD *a1){
unsigned int v2;
int v3;
_WORD *i;
unsigned int v5;
UINT16 *v6;
int v7;
_QWORD *v8;
_DWORD *j;
v2 = -1073741811;
v3 = 0;
for( i = a1 + 12; *i; ++i )
{
if( (unsigned int)++v3 >= 0x30 )
return v2;
}
v5 = 0;
v6 = (UINT16 *)(a1 + 36);
while( *v6 )
{
if( towupper(*v6) == *v6 )
{
++v5;
++v6;
if( v5 < 0x80 )
continue;
}
return v2;
}
v7 = 0;
v8 = a1 + 4;
for( j = a1;
*j <= 2u
&& *((_DWORD *)v8 - 2) <= 0x100000u
&& *((_DWORD *)v8 - 1) <= 0x4000u
&& (unsigned __int64)(*v8 + 6000000000i64) <= 0x165A0BBFFi64;
++j )
{
++v7;
v8 += 2;
if( v7 >= 2 )
{
if( a1[10] <= 0x1000u && a1[11] <= 0x1000u && a1[100] < 0x20u && (unsigned int)(a1[101] - 1) <= 9 )
return 0;
return v2;
}
}
return v2;
}Referenced by:
PfSnParametersRead