CmpGetSectionLineIndex

PSTR __stdcall CmpGetSectionLineIndex(PVOID InfHandle, PSTR Section, UINT64 LineIndex, UINT64 ValueIndex){
  unsigned int v4; 
  unsigned int v5; 
  __int64 **v7; 
  _QWORD *v8; 
  __int64 **v9; 
  int v10; 
  v4 = ValueIndex;
  v5 = LineIndex;
  v7 = CmpSearchSectionByName((__int64 ***)InfHandle, Section);
  if( v7 )
  {
    v8 = CmpSearchLineInSectionByIndex((__int64)v7, v5);
    if( v8 )
    {
      v9 = (__int64 **)v8[2];
      v10 = 0;
      if( v4 )
      {
        while( v9 )
        {
          v9 = (__int64 **)*v9;
          if( ++v10 >= v4 )
            goto LABEL_4;
        }
      }
      else
      {
LABEL_4:
        if( v9 )
          return(PSTR)CmpProcessForSimpleStringSub((INT64)InfHandle, (BYTE *)v9[1]);
      }
    }
  }
  return 0i64;
}

Referenced by:

EmpInfParseGetValueFromSectionAndKeyName
EmpParseCallbacks
EmpParseRuleExpression
EmpParseRules
EmpParseStrings
EmpParseTargetRules