CmpLoadManufacturingProfileServicesNode
_BOOL __fastcall CmpLoadManufacturingProfileServicesNode(INT64 a1, INT64 a2, const _WCHAR *a3, INT64 *a4, INT64 a5){
unsigned int SubKeyByName;
INT64 v8;
_BOOL result;
int v10[2];
__int64 v11[2];
v11[0] = 0i64;
v10[0] = -1;
v10[1] = 0;
result = 0;
if( CmpLoadManufacturingProfileNode(a1, a2, a3, v11, (INT64)v10) )
{
SubKeyByName = CmpFindSubKeyByName(a1, v11[0], (_UNICODE_STRING *)&CmpServicesString);
(*(void(__fastcall **)(INT64, int *))(a1 + 16))(a1, v10);
if( SubKeyByName != -1 )
{
v8 = (*(__int64(__fastcall **)(INT64, _QWORD, INT64))(a1 + 8))(a1, SubKeyByName, a5);
*a4 = v8;
if( v8 )
return 1;
}
}
return result;
}Referenced by:
CmpFindDrivers