EmpInfParseGetStringIndexFromName

NTSTATUS __stdcall EmpInfParseGetStringIndexFromName(PVOID ParsedInfHandle, PSTR StringName, UINT64 *Index){
  UINT64 v3; 
  char v5; 
  INT8 *ValueFromSectionAndKeyName; 
  unsigned int v7; 
  INT8 **v8; 
  INT8 *v9; 
  int v10; 
  int v11; 

  v5 = 0;
  ValueFromSectionAndKeyName = EmpInfParseGetValueFromSectionAndKeyName(
                                 ParsedInfHandle,
                                 (INT8 *)"Strings",
                                 StringName,
                                 v3,
                                 0i64);
  if( ValueFromSectionAndKeyName )
  {
    v7 = 0;
    if( dword_140C50888 )
    {
      v8 = (INT8 **)qword_140C50898;
      while( 1 )
      {
        v9 = *v8;
        do
        {
          v10 = (unsigned __int8)v9[ValueFromSectionAndKeyName - *v8];
          v11 = (unsigned __int8)*v9 - v10;
          if( v11 )
            break;
          ++v9;
        }
        while( v10 );
        if( !v11 )
          break;
        ++v7;
        ++v8;
        if( v7 >= dword_140C50888 )
          goto LABEL_11;
      }
      v5 = 1;
    }
LABEL_11:
    *(_DWORD *)Index = v7;
  }
  return v5 == 0 ? 0xC0000225 : 0;
}

Referenced by:

EmpParseTargetRuleStringIndexList