
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention */

_Bool parse_ilname(parser_table *entry,char **argv,int *arg_ptr)

{
  _Bool _Var1;
  predicate *ppVar2;
  char *pcVar3;
  float fVar4;
  
  if (argv != (char **)0x0) {
    pcVar3 = argv[*arg_ptr];
    _Var1 = false;
    if (pcVar3 != (char *)0x0) {
      *arg_ptr = *arg_ptr + 1;
      ppVar2 = insert_primary(entry,pcVar3);
      (ppVar2->args).str = pcVar3;
      pcVar3 = strpbrk(pcVar3,"*?[");
      fVar4 = DAT_00052b24;
      if (pcVar3 != (char *)0x0) {
        fVar4 = DAT_00052b20;
      }
      ppVar2->est_success_rate = fVar4;
      _Var1 = true;
    }
    return _Var1;
  }
  return false;
}



/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

undefined4 FUN_0001e5b0(undefined4 param_1,int param_2,int *param_3)

{
  undefined4 uVar1;
  int iVar2;
  char *pcVar3;
  
  if (param_2 != 0) {
    pcVar3 = *(char **)(param_2 + *param_3 * 4);
    uVar1 = 0;
    if (pcVar3 != (char *)0x0) {
      *param_3 = *param_3 + 1;
      iVar2 = FUN_0001a5f0(param_1,pcVar3);
      *(char **)(iVar2 + 0x28) = pcVar3;
      pcVar3 = strpbrk(pcVar3,"*?[");
      uVar1 = DAT_00052b24;
      if (pcVar3 != (char *)0x0) {
        uVar1 = DAT_00052b20;
      }
      *(undefined4 *)(iVar2 + 0x1c) = uVar1;
      uVar1 = 1;
    }
    return uVar1;
  }
  return 0;
}


PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00014d70
ADD EBX,0x4c730
SUB ESP,0x10
MOV EAX,dword ptr [ESP + 0x24]
MOV ECX,dword ptr [ESP + 0x28]
TEST EAX,EAX
JZ 0x0001e630
MOV EDX,dword ptr [ECX]
MOV ESI,dword ptr [EAX + EDX*0x4]
XOR EAX,EAX
TEST ESI,ESI
JZ 0x0001e620
SUB ESP,0x8
ADD EDX,0x1
MOV dword ptr [ECX],EDX
PUSH ESI
PUSH dword ptr [ESP + 0x2c]
CALL 0x0001a5f0
MOV dword ptr [EAX + 0x28],ESI
MOV EDI,EAX
POP EAX
LEA EAX,[EBX + 0xfffe6c79]
POP EDX
PUSH EAX
PUSH ESI
CALL 0x00014760
FLD dword ptr [EBX + 0xfffe7e3c]
ADD ESP,0x10
TEST EAX,EAX
FSTP dword ptr [ESP + 0xc]
MOV EAX,dword ptr [ESP + 0xc]
CMOVNZ EAX,dword ptr [EBX + 0xfffe7e38]
MOV dword ptr [EDI + 0x1c],EAX
MOV EAX,0x1
ADD ESP,0x10
POP EBX
POP ESI
POP EDI
RET
ADD ESP,0x10
XOR EAX,EAX
POP EBX
POP ESI
POP EDI
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nundefined4 FUN_0001e5b0(undefined4 param_1,int param_2,int *param_3)\n\n{\n  undefined4 uVar1;\n  int iVar2;\n  char *pcVar3;\n  \n  if (param_2 != 0) {\n    pcVar3 = *(char **)(param_2 + *param_3 * 4);\n    uVar1 = 0;\n    if (pcVar3 != (char *)0x0) {\n      *param_3 = *param_3 + 1;\n      iVar2 = FUN_0001a5f0(param_1,pcVar3);\n      *(char **)(iVar2 + 0x28) = pcVar3;\n      pcVar3 = strpbrk(pcVar3,"*?[");\n      uVar1 = DAT_00052b24;\n      if (pcVar3 != (char *)0x0) {\n        uVar1 = DAT_00052b20;\n      }\n      *(undefined4 *)(iVar2 + 0x1c) = uVar1;\n      uVar1 = 1;\n    }\n    return uVar1;\n  }\n  return 0;\n}\n\n" comment (function_definition "undefined4 FUN_0001e5b0(undefined4 param_1,int param_2,int *param_3)\n\n{\n  undefined4 uVar1;\n  int iVar2;\n  char *pcVar3;\n  \n  if (param_2 != 0) {\n    pcVar3 = *(char **)(param_2 + *param_3 * 4);\n    uVar1 = 0;\n    if (pcVar3 != (char *)0x0) {\n      *param_3 = *param_3 + 1;\n      iVar2 = FUN_0001a5f0(param_1,pcVar3);\n      *(char **)(iVar2 + 0x28) = pcVar3;\n      pcVar3 = strpbrk(pcVar3,"*?[");\n      uVar1 = DAT_00052b24;\n      if (pcVar3 != (char *)0x0) {\n        uVar1 = DAT_00052b20;\n      }\n      *(undefined4 *)(iVar2 + 0x1c) = uVar1;\n      uVar1 = 1;\n    }\n    return uVar1;\n  }\n  return 0;\n}" type_identifier (function_declarator "FUN_0001e5b0(undefined4 param_1,int param_2,int *param_3)" identifier (parameter_list "(undefined4 param_1,int param_2,int *param_3)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  undefined4 uVar1;\n  int iVar2;\n  char *pcVar3;\n  \n  if (param_2 != 0) {\n    pcVar3 = *(char **)(param_2 + *param_3 * 4);\n    uVar1 = 0;\n    if (pcVar3 != (char *)0x0) {\n      *param_3 = *param_3 + 1;\n      iVar2 = FUN_0001a5f0(param_1,pcVar3);\n      *(char **)(iVar2 + 0x28) = pcVar3;\n      pcVar3 = strpbrk(pcVar3,"*?[");\n      uVar1 = DAT_00052b24;\n      if (pcVar3 != (char *)0x0) {\n        uVar1 = DAT_00052b20;\n      }\n      *(undefined4 *)(iVar2 + 0x1c) = uVar1;\n      uVar1 = 1;\n    }\n    return uVar1;\n  }\n  return 0;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "char *pcVar3;" primitive_type (pointer_declarator "*pcVar3" * identifier) ;) (if_statement "if (param_2 != 0) {\n    pcVar3 = *(char **)(param_2 + *param_3 * 4);\n    uVar1 = 0;\n    if (pcVar3 != (char *)0x0) {\n      *param_3 = *param_3 + 1;\n      iVar2 = FUN_0001a5f0(param_1,pcVar3);\n      *(char **)(iVar2 + 0x28) = pcVar3;\n      pcVar3 = strpbrk(pcVar3,"*?[");\n      uVar1 = DAT_00052b24;\n      if (pcVar3 != (char *)0x0) {\n        uVar1 = DAT_00052b20;\n      }\n      *(undefined4 *)(iVar2 + 0x1c) = uVar1;\n      uVar1 = 1;\n    }\n    return uVar1;\n  }" if (parenthesized_expression "(param_2 != 0)" ( (binary_expression "param_2 != 0" identifier != number_literal) )) (compound_statement "{\n    pcVar3 = *(char **)(param_2 + *param_3 * 4);\n    uVar1 = 0;\n    if (pcVar3 != (char *)0x0) {\n      *param_3 = *param_3 + 1;\n      iVar2 = FUN_0001a5f0(param_1,pcVar3);\n      *(char **)(iVar2 + 0x28) = pcVar3;\n      pcVar3 = strpbrk(pcVar3,"*?[");\n      uVar1 = DAT_00052b24;\n      if (pcVar3 != (char *)0x0) {\n        uVar1 = DAT_00052b20;\n      }\n      *(undefined4 *)(iVar2 + 0x1c) = uVar1;\n      uVar1 = 1;\n    }\n    return uVar1;\n  }" { (expression_statement "pcVar3 = *(char **)(param_2 + *param_3 * 4);" (assignment_expression "pcVar3 = *(char **)(param_2 + *param_3 * 4)" identifier = (pointer_expression "*(char **)(param_2 + *param_3 * 4)" * (cast_expression "(char **)(param_2 + *param_3 * 4)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_2 + *param_3 * 4)" ( (binary_expression "param_2 + *param_3 * 4" identifier + (binary_expression "*param_3 * 4" (pointer_expression "*param_3" * identifier) * number_literal)) ))))) ;) (expression_statement "uVar1 = 0;" (assignment_expression "uVar1 = 0" identifier = number_literal) ;) (if_statement "if (pcVar3 != (char *)0x0) {\n      *param_3 = *param_3 + 1;\n      iVar2 = FUN_0001a5f0(param_1,pcVar3);\n      *(char **)(iVar2 + 0x28) = pcVar3;\n      pcVar3 = strpbrk(pcVar3,"*?[");\n      uVar1 = DAT_00052b24;\n      if (pcVar3 != (char *)0x0) {\n        uVar1 = DAT_00052b20;\n      }\n      *(undefined4 *)(iVar2 + 0x1c) = uVar1;\n      uVar1 = 1;\n    }" if (parenthesized_expression "(pcVar3 != (char *)0x0)" ( (binary_expression "pcVar3 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      *param_3 = *param_3 + 1;\n      iVar2 = FUN_0001a5f0(param_1,pcVar3);\n      *(char **)(iVar2 + 0x28) = pcVar3;\n      pcVar3 = strpbrk(pcVar3,"*?[");\n      uVar1 = DAT_00052b24;\n      if (pcVar3 != (char *)0x0) {\n        uVar1 = DAT_00052b20;\n      }\n      *(undefined4 *)(iVar2 + 0x1c) = uVar1;\n      uVar1 = 1;\n    }" { (expression_statement "*param_3 = *param_3 + 1;" (assignment_expression "*param_3 = *param_3 + 1" (pointer_expression "*param_3" * identifier) = (binary_expression "*param_3 + 1" (pointer_expression "*param_3" * identifier) + number_literal)) ;) (expression_statement "iVar2 = FUN_0001a5f0(param_1,pcVar3);" (assignment_expression "iVar2 = FUN_0001a5f0(param_1,pcVar3)" identifier = (call_expression "FUN_0001a5f0(param_1,pcVar3)" identifier (argument_list "(param_1,pcVar3)" ( identifier , identifier )))) ;) (expression_statement "*(char **)(iVar2 + 0x28) = pcVar3;" (assignment_expression "*(char **)(iVar2 + 0x28) = pcVar3" (pointer_expression "*(char **)(iVar2 + 0x28)" * (cast_expression "(char **)(iVar2 + 0x28)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar2 + 0x28)" ( (binary_expression "iVar2 + 0x28" identifier + number_literal) )))) = identifier) ;) (expression_statement "pcVar3 = strpbrk(pcVar3,"*?[");" (assignment_expression "pcVar3 = strpbrk(pcVar3,"*?[")" identifier = (call_expression "strpbrk(pcVar3,"*?[")" identifier (argument_list "(pcVar3,"*?[")" ( identifier , (string_literal ""*?["" " string_content ") )))) ;) (expression_statement "uVar1 = DAT_00052b24;" (assignment_expression "uVar1 = DAT_00052b24" identifier = identifier) ;) (if_statement "if (pcVar3 != (char *)0x0) {\n        uVar1 = DAT_00052b20;\n      }" if (parenthesized_expression "(pcVar3 != (char *)0x0)" ( (binary_expression "pcVar3 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        uVar1 = DAT_00052b20;\n      }" { (expression_statement "uVar1 = DAT_00052b20;" (assignment_expression "uVar1 = DAT_00052b20" identifier = identifier) ;) })) (expression_statement "*(undefined4 *)(iVar2 + 0x1c) = uVar1;" (assignment_expression "*(undefined4 *)(iVar2 + 0x1c) = uVar1" (pointer_expression "*(undefined4 *)(iVar2 + 0x1c)" * (cast_expression "(undefined4 *)(iVar2 + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x1c)" ( (binary_expression "iVar2 + 0x1c" identifier + number_literal) )))) = identifier) ;) (expression_statement "uVar1 = 1;" (assignment_expression "uVar1 = 1" identifier = number_literal) ;) })) (return_statement "return uVar1;" return identifier ;) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n\n_Bool parse_ilname(parser_table *entry,char **argv,int *arg_ptr)\n\n{\n  _Bool _Var1;\n  predicate *ppVar2;\n  char *pcVar3;\n  float fVar4;\n  \n  if (argv != (char **)0x0) {\n    pcVar3 = argv[*arg_ptr];\n    _Var1 = false;\n    if (pcVar3 != (char *)0x0) {\n      *arg_ptr = *arg_ptr + 1;\n      ppVar2 = insert_primary(entry,pcVar3);\n      (ppVar2->args).str = pcVar3;\n      pcVar3 = strpbrk(pcVar3,"*?[");\n      fVar4 = DAT_00052b24;\n      if (pcVar3 != (char *)0x0) {\n        fVar4 = DAT_00052b20;\n      }\n      ppVar2->est_success_rate = fVar4;\n      _Var1 = true;\n    }\n    return _Var1;\n  }\n  return false;\n}\n\n" comment comment (function_definition "_Bool parse_ilname(parser_table *entry,char **argv,int *arg_ptr)\n\n{\n  _Bool _Var1;\n  predicate *ppVar2;\n  char *pcVar3;\n  float fVar4;\n  \n  if (argv != (char **)0x0) {\n    pcVar3 = argv[*arg_ptr];\n    _Var1 = false;\n    if (pcVar3 != (char *)0x0) {\n      *arg_ptr = *arg_ptr + 1;\n      ppVar2 = insert_primary(entry,pcVar3);\n      (ppVar2->args).str = pcVar3;\n      pcVar3 = strpbrk(pcVar3,"*?[");\n      fVar4 = DAT_00052b24;\n      if (pcVar3 != (char *)0x0) {\n        fVar4 = DAT_00052b20;\n      }\n      ppVar2->est_success_rate = fVar4;\n      _Var1 = true;\n    }\n    return _Var1;\n  }\n  return false;\n}" type_identifier (function_declarator "parse_ilname(parser_table *entry,char **argv,int *arg_ptr)" identifier (parameter_list "(parser_table *entry,char **argv,int *arg_ptr)" ( (parameter_declaration "parser_table *entry" type_identifier (pointer_declarator "*entry" * identifier)) , (parameter_declaration "char **argv" primitive_type (pointer_declarator "**argv" * (pointer_declarator "*argv" * identifier))) , (parameter_declaration "int *arg_ptr" primitive_type (pointer_declarator "*arg_ptr" * identifier)) ))) (compound_statement "{\n  _Bool _Var1;\n  predicate *ppVar2;\n  char *pcVar3;\n  float fVar4;\n  \n  if (argv != (char **)0x0) {\n    pcVar3 = argv[*arg_ptr];\n    _Var1 = false;\n    if (pcVar3 != (char *)0x0) {\n      *arg_ptr = *arg_ptr + 1;\n      ppVar2 = insert_primary(entry,pcVar3);\n      (ppVar2->args).str = pcVar3;\n      pcVar3 = strpbrk(pcVar3,"*?[");\n      fVar4 = DAT_00052b24;\n      if (pcVar3 != (char *)0x0) {\n        fVar4 = DAT_00052b20;\n      }\n      ppVar2->est_success_rate = fVar4;\n      _Var1 = true;\n    }\n    return _Var1;\n  }\n  return false;\n}" { (declaration "_Bool _Var1;" type_identifier identifier ;) (declaration "predicate *ppVar2;" type_identifier (pointer_declarator "*ppVar2" * identifier) ;) (declaration "char *pcVar3;" primitive_type (pointer_declarator "*pcVar3" * identifier) ;) (declaration "float fVar4;" primitive_type identifier ;) (if_statement "if (argv != (char **)0x0) {\n    pcVar3 = argv[*arg_ptr];\n    _Var1 = false;\n    if (pcVar3 != (char *)0x0) {\n      *arg_ptr = *arg_ptr + 1;\n      ppVar2 = insert_primary(entry,pcVar3);\n      (ppVar2->args).str = pcVar3;\n      pcVar3 = strpbrk(pcVar3,"*?[");\n      fVar4 = DAT_00052b24;\n      if (pcVar3 != (char *)0x0) {\n        fVar4 = DAT_00052b20;\n      }\n      ppVar2->est_success_rate = fVar4;\n      _Var1 = true;\n    }\n    return _Var1;\n  }" if (parenthesized_expression "(argv != (char **)0x0)" ( (binary_expression "argv != (char **)0x0" identifier != (cast_expression "(char **)0x0" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal)) )) (compound_statement "{\n    pcVar3 = argv[*arg_ptr];\n    _Var1 = false;\n    if (pcVar3 != (char *)0x0) {\n      *arg_ptr = *arg_ptr + 1;\n      ppVar2 = insert_primary(entry,pcVar3);\n      (ppVar2->args).str = pcVar3;\n      pcVar3 = strpbrk(pcVar3,"*?[");\n      fVar4 = DAT_00052b24;\n      if (pcVar3 != (char *)0x0) {\n        fVar4 = DAT_00052b20;\n      }\n      ppVar2->est_success_rate = fVar4;\n      _Var1 = true;\n    }\n    return _Var1;\n  }" { (expression_statement "pcVar3 = argv[*arg_ptr];" (assignment_expression "pcVar3 = argv[*arg_ptr]" identifier = (subscript_expression "argv[*arg_ptr]" identifier [ (pointer_expression "*arg_ptr" * identifier) ])) ;) (expression_statement "_Var1 = false;" (assignment_expression "_Var1 = false" identifier = false) ;) (if_statement "if (pcVar3 != (char *)0x0) {\n      *arg_ptr = *arg_ptr + 1;\n      ppVar2 = insert_primary(entry,pcVar3);\n      (ppVar2->args).str = pcVar3;\n      pcVar3 = strpbrk(pcVar3,"*?[");\n      fVar4 = DAT_00052b24;\n      if (pcVar3 != (char *)0x0) {\n        fVar4 = DAT_00052b20;\n      }\n      ppVar2->est_success_rate = fVar4;\n      _Var1 = true;\n    }" if (parenthesized_expression "(pcVar3 != (char *)0x0)" ( (binary_expression "pcVar3 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      *arg_ptr = *arg_ptr + 1;\n      ppVar2 = insert_primary(entry,pcVar3);\n      (ppVar2->args).str = pcVar3;\n      pcVar3 = strpbrk(pcVar3,"*?[");\n      fVar4 = DAT_00052b24;\n      if (pcVar3 != (char *)0x0) {\n        fVar4 = DAT_00052b20;\n      }\n      ppVar2->est_success_rate = fVar4;\n      _Var1 = true;\n    }" { (expression_statement "*arg_ptr = *arg_ptr + 1;" (assignment_expression "*arg_ptr = *arg_ptr + 1" (pointer_expression "*arg_ptr" * identifier) = (binary_expression "*arg_ptr + 1" (pointer_expression "*arg_ptr" * identifier) + number_literal)) ;) (expression_statement "ppVar2 = insert_primary(entry,pcVar3);" (assignment_expression "ppVar2 = insert_primary(entry,pcVar3)" identifier = (call_expression "insert_primary(entry,pcVar3)" identifier (argument_list "(entry,pcVar3)" ( identifier , identifier )))) ;) (expression_statement "(ppVar2->args).str = pcVar3;" (assignment_expression "(ppVar2->args).str = pcVar3" (field_expression "(ppVar2->args).str" (parenthesized_expression "(ppVar2->args)" ( (field_expression "ppVar2->args" identifier -> field_identifier) )) . field_identifier) = identifier) ;) (expression_statement "pcVar3 = strpbrk(pcVar3,"*?[");" (assignment_expression "pcVar3 = strpbrk(pcVar3,"*?[")" identifier = (call_expression "strpbrk(pcVar3,"*?[")" identifier (argument_list "(pcVar3,"*?[")" ( identifier , (string_literal ""*?["" " string_content ") )))) ;) (expression_statement "fVar4 = DAT_00052b24;" (assignment_expression "fVar4 = DAT_00052b24" identifier = identifier) ;) (if_statement "if (pcVar3 != (char *)0x0) {\n        fVar4 = DAT_00052b20;\n      }" if (parenthesized_expression "(pcVar3 != (char *)0x0)" ( (binary_expression "pcVar3 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        fVar4 = DAT_00052b20;\n      }" { (expression_statement "fVar4 = DAT_00052b20;" (assignment_expression "fVar4 = DAT_00052b20" identifier = identifier) ;) })) (expression_statement "ppVar2->est_success_rate = fVar4;" (assignment_expression "ppVar2->est_success_rate = fVar4" (field_expression "ppVar2->est_success_rate" identifier -> field_identifier) = identifier) ;) (expression_statement "_Var1 = true;" (assignment_expression "_Var1 = true" identifier = true) ;) })) (return_statement "return _Var1;" return identifier ;) })) (return_statement "return false;" return false ;) })))
(translation_unit "undefined4 FUN_0001e5b0(undefined4 param_1,int param_2,int *param_3)\n\n{\n  undefined4 uVar1;\n  int iVar2;\n  char *pcVar3;\n  \n  if (param_2 != 0) {\n    pcVar3 = *(char **)(param_2 + *param_3 * 4);\n    uVar1 = 0;\n    if (pcVar3 != (char *)0x0) {\n      *param_3 = *param_3 + 1;\n      iVar2 = FUN_0001a5f0(param_1,pcVar3);\n      *(char **)(iVar2 + 0x28) = pcVar3;\n      pcVar3 = strpbrk(pcVar3,"*?[");\n      uVar1 = DAT_00052b24;\n      if (pcVar3 != (char *)0x0) {\n        uVar1 = DAT_00052b20;\n      }\n      *(undefined4 *)(iVar2 + 0x1c) = uVar1;\n      uVar1 = 1;\n    }\n    return uVar1;\n  }\n  return 0;\n}\n\n" (function_definition "undefined4 FUN_0001e5b0(undefined4 param_1,int param_2,int *param_3)\n\n{\n  undefined4 uVar1;\n  int iVar2;\n  char *pcVar3;\n  \n  if (param_2 != 0) {\n    pcVar3 = *(char **)(param_2 + *param_3 * 4);\n    uVar1 = 0;\n    if (pcVar3 != (char *)0x0) {\n      *param_3 = *param_3 + 1;\n      iVar2 = FUN_0001a5f0(param_1,pcVar3);\n      *(char **)(iVar2 + 0x28) = pcVar3;\n      pcVar3 = strpbrk(pcVar3,"*?[");\n      uVar1 = DAT_00052b24;\n      if (pcVar3 != (char *)0x0) {\n        uVar1 = DAT_00052b20;\n      }\n      *(undefined4 *)(iVar2 + 0x1c) = uVar1;\n      uVar1 = 1;\n    }\n    return uVar1;\n  }\n  return 0;\n}" type_identifier (function_declarator "FUN_0001e5b0(undefined4 param_1,int param_2,int *param_3)" identifier (parameter_list "(undefined4 param_1,int param_2,int *param_3)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  undefined4 uVar1;\n  int iVar2;\n  char *pcVar3;\n  \n  if (param_2 != 0) {\n    pcVar3 = *(char **)(param_2 + *param_3 * 4);\n    uVar1 = 0;\n    if (pcVar3 != (char *)0x0) {\n      *param_3 = *param_3 + 1;\n      iVar2 = FUN_0001a5f0(param_1,pcVar3);\n      *(char **)(iVar2 + 0x28) = pcVar3;\n      pcVar3 = strpbrk(pcVar3,"*?[");\n      uVar1 = DAT_00052b24;\n      if (pcVar3 != (char *)0x0) {\n        uVar1 = DAT_00052b20;\n      }\n      *(undefined4 *)(iVar2 + 0x1c) = uVar1;\n      uVar1 = 1;\n    }\n    return uVar1;\n  }\n  return 0;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "char *pcVar3;" primitive_type (pointer_declarator "*pcVar3" * identifier) ;) (if_statement "if (param_2 != 0) {\n    pcVar3 = *(char **)(param_2 + *param_3 * 4);\n    uVar1 = 0;\n    if (pcVar3 != (char *)0x0) {\n      *param_3 = *param_3 + 1;\n      iVar2 = FUN_0001a5f0(param_1,pcVar3);\n      *(char **)(iVar2 + 0x28) = pcVar3;\n      pcVar3 = strpbrk(pcVar3,"*?[");\n      uVar1 = DAT_00052b24;\n      if (pcVar3 != (char *)0x0) {\n        uVar1 = DAT_00052b20;\n      }\n      *(undefined4 *)(iVar2 + 0x1c) = uVar1;\n      uVar1 = 1;\n    }\n    return uVar1;\n  }" if (parenthesized_expression "(param_2 != 0)" ( (binary_expression "param_2 != 0" identifier != number_literal) )) (compound_statement "{\n    pcVar3 = *(char **)(param_2 + *param_3 * 4);\n    uVar1 = 0;\n    if (pcVar3 != (char *)0x0) {\n      *param_3 = *param_3 + 1;\n      iVar2 = FUN_0001a5f0(param_1,pcVar3);\n      *(char **)(iVar2 + 0x28) = pcVar3;\n      pcVar3 = strpbrk(pcVar3,"*?[");\n      uVar1 = DAT_00052b24;\n      if (pcVar3 != (char *)0x0) {\n        uVar1 = DAT_00052b20;\n      }\n      *(undefined4 *)(iVar2 + 0x1c) = uVar1;\n      uVar1 = 1;\n    }\n    return uVar1;\n  }" { (expression_statement "pcVar3 = *(char **)(param_2 + *param_3 * 4);" (assignment_expression "pcVar3 = *(char **)(param_2 + *param_3 * 4)" identifier = (pointer_expression "*(char **)(param_2 + *param_3 * 4)" * (cast_expression "(char **)(param_2 + *param_3 * 4)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_2 + *param_3 * 4)" ( (binary_expression "param_2 + *param_3 * 4" identifier + (binary_expression "*param_3 * 4" (pointer_expression "*param_3" * identifier) * number_literal)) ))))) ;) (expression_statement "uVar1 = 0;" (assignment_expression "uVar1 = 0" identifier = number_literal) ;) (if_statement "if (pcVar3 != (char *)0x0) {\n      *param_3 = *param_3 + 1;\n      iVar2 = FUN_0001a5f0(param_1,pcVar3);\n      *(char **)(iVar2 + 0x28) = pcVar3;\n      pcVar3 = strpbrk(pcVar3,"*?[");\n      uVar1 = DAT_00052b24;\n      if (pcVar3 != (char *)0x0) {\n        uVar1 = DAT_00052b20;\n      }\n      *(undefined4 *)(iVar2 + 0x1c) = uVar1;\n      uVar1 = 1;\n    }" if (parenthesized_expression "(pcVar3 != (char *)0x0)" ( (binary_expression "pcVar3 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      *param_3 = *param_3 + 1;\n      iVar2 = FUN_0001a5f0(param_1,pcVar3);\n      *(char **)(iVar2 + 0x28) = pcVar3;\n      pcVar3 = strpbrk(pcVar3,"*?[");\n      uVar1 = DAT_00052b24;\n      if (pcVar3 != (char *)0x0) {\n        uVar1 = DAT_00052b20;\n      }\n      *(undefined4 *)(iVar2 + 0x1c) = uVar1;\n      uVar1 = 1;\n    }" { (expression_statement "*param_3 = *param_3 + 1;" (assignment_expression "*param_3 = *param_3 + 1" (pointer_expression "*param_3" * identifier) = (binary_expression "*param_3 + 1" (pointer_expression "*param_3" * identifier) + number_literal)) ;) (expression_statement "iVar2 = FUN_0001a5f0(param_1,pcVar3);" (assignment_expression "iVar2 = FUN_0001a5f0(param_1,pcVar3)" identifier = (call_expression "FUN_0001a5f0(param_1,pcVar3)" identifier (argument_list "(param_1,pcVar3)" ( identifier , identifier )))) ;) (expression_statement "*(char **)(iVar2 + 0x28) = pcVar3;" (assignment_expression "*(char **)(iVar2 + 0x28) = pcVar3" (pointer_expression "*(char **)(iVar2 + 0x28)" * (cast_expression "(char **)(iVar2 + 0x28)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar2 + 0x28)" ( (binary_expression "iVar2 + 0x28" identifier + number_literal) )))) = identifier) ;) (expression_statement "pcVar3 = strpbrk(pcVar3,"*?[");" (assignment_expression "pcVar3 = strpbrk(pcVar3,"*?[")" identifier = (call_expression "strpbrk(pcVar3,"*?[")" identifier (argument_list "(pcVar3,"*?[")" ( identifier , (string_literal ""*?["" " string_content ") )))) ;) (expression_statement "uVar1 = DAT_00052b24;" (assignment_expression "uVar1 = DAT_00052b24" identifier = identifier) ;) (if_statement "if (pcVar3 != (char *)0x0) {\n        uVar1 = DAT_00052b20;\n      }" if (parenthesized_expression "(pcVar3 != (char *)0x0)" ( (binary_expression "pcVar3 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        uVar1 = DAT_00052b20;\n      }" { (expression_statement "uVar1 = DAT_00052b20;" (assignment_expression "uVar1 = DAT_00052b20" identifier = identifier) ;) })) (expression_statement "*(undefined4 *)(iVar2 + 0x1c) = uVar1;" (assignment_expression "*(undefined4 *)(iVar2 + 0x1c) = uVar1" (pointer_expression "*(undefined4 *)(iVar2 + 0x1c)" * (cast_expression "(undefined4 *)(iVar2 + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x1c)" ( (binary_expression "iVar2 + 0x1c" identifier + number_literal) )))) = identifier) ;) (expression_statement "uVar1 = 1;" (assignment_expression "uVar1 = 1" identifier = number_literal) ;) })) (return_statement "return uVar1;" return identifier ;) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression (pointer_expression * IDENT) * LIT)) ))))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression (pointer_expression * IDENT) + LIT)) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content ") )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) })) (return_statement return IDENT ;) })) (return_statement return LIT ;) })))
(function_definition "undefined4 FUN_0001e5b0(undefined4 param_1,int param_2,int *param_3)\n\n{\n  undefined4 uVar1;\n  int iVar2;\n  char *pcVar3;\n  \n  if (param_2 != 0) {\n    pcVar3 = *(char **)(param_2 + *param_3 * 4);\n    uVar1 = 0;\n    if (pcVar3 != (char *)0x0) {\n      *param_3 = *param_3 + 1;\n      iVar2 = FUN_0001a5f0(param_1,pcVar3);\n      *(char **)(iVar2 + 0x28) = pcVar3;\n      pcVar3 = strpbrk(pcVar3,"*?[");\n      uVar1 = DAT_00052b24;\n      if (pcVar3 != (char *)0x0) {\n        uVar1 = DAT_00052b20;\n      }\n      *(undefined4 *)(iVar2 + 0x1c) = uVar1;\n      uVar1 = 1;\n    }\n    return uVar1;\n  }\n  return 0;\n}" (type_identifier "undefined4") (function_declarator "FUN_0001e5b0(undefined4 param_1,int param_2,int *param_3)" (identifier "FUN_0001e5b0") (parameter_list "(undefined4 param_1,int param_2,int *param_3)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) (, ",") (parameter_declaration "int *param_3" (primitive_type "int") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  int iVar2;\n  char *pcVar3;\n  \n  if (param_2 != 0) {\n    pcVar3 = *(char **)(param_2 + *param_3 * 4);\n    uVar1 = 0;\n    if (pcVar3 != (char *)0x0) {\n      *param_3 = *param_3 + 1;\n      iVar2 = FUN_0001a5f0(param_1,pcVar3);\n      *(char **)(iVar2 + 0x28) = pcVar3;\n      pcVar3 = strpbrk(pcVar3,"*?[");\n      uVar1 = DAT_00052b24;\n      if (pcVar3 != (char *)0x0) {\n        uVar1 = DAT_00052b20;\n      }\n      *(undefined4 *)(iVar2 + 0x1c) = uVar1;\n      uVar1 = 1;\n    }\n    return uVar1;\n  }\n  return 0;\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "char *pcVar3;" (primitive_type "char") (pointer_declarator "*pcVar3" (* "*") (identifier "pcVar3")) (; ";")) (if_statement "if (param_2 != 0) {\n    pcVar3 = *(char **)(param_2 + *param_3 * 4);\n    uVar1 = 0;\n    if (pcVar3 != (char *)0x0) {\n      *param_3 = *param_3 + 1;\n      iVar2 = FUN_0001a5f0(param_1,pcVar3);\n      *(char **)(iVar2 + 0x28) = pcVar3;\n      pcVar3 = strpbrk(pcVar3,"*?[");\n      uVar1 = DAT_00052b24;\n      if (pcVar3 != (char *)0x0) {\n        uVar1 = DAT_00052b20;\n      }\n      *(undefined4 *)(iVar2 + 0x1c) = uVar1;\n      uVar1 = 1;\n    }\n    return uVar1;\n  }" (if "if") (parenthesized_expression "(param_2 != 0)" (( "(") (binary_expression "param_2 != 0" (identifier "param_2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    pcVar3 = *(char **)(param_2 + *param_3 * 4);\n    uVar1 = 0;\n    if (pcVar3 != (char *)0x0) {\n      *param_3 = *param_3 + 1;\n      iVar2 = FUN_0001a5f0(param_1,pcVar3);\n      *(char **)(iVar2 + 0x28) = pcVar3;\n      pcVar3 = strpbrk(pcVar3,"*?[");\n      uVar1 = DAT_00052b24;\n      if (pcVar3 != (char *)0x0) {\n        uVar1 = DAT_00052b20;\n      }\n      *(undefined4 *)(iVar2 + 0x1c) = uVar1;\n      uVar1 = 1;\n    }\n    return uVar1;\n  }" ({ "{") (expression_statement "pcVar3 = *(char **)(param_2 + *param_3 * 4);" (assignment_expression "pcVar3 = *(char **)(param_2 + *param_3 * 4)" (identifier "pcVar3") (= "=") (pointer_expression "*(char **)(param_2 + *param_3 * 4)" (* "*") (cast_expression "(char **)(param_2 + *param_3 * 4)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_2 + *param_3 * 4)" (( "(") (binary_expression "param_2 + *param_3 * 4" (identifier "param_2") (+ "+") (binary_expression "*param_3 * 4" (pointer_expression "*param_3" (* "*") (identifier "param_3")) (* "*") (number_literal "4"))) () ")"))))) (; ";")) (expression_statement "uVar1 = 0;" (assignment_expression "uVar1 = 0" (identifier "uVar1") (= "=") (number_literal "0")) (; ";")) (if_statement "if (pcVar3 != (char *)0x0) {\n      *param_3 = *param_3 + 1;\n      iVar2 = FUN_0001a5f0(param_1,pcVar3);\n      *(char **)(iVar2 + 0x28) = pcVar3;\n      pcVar3 = strpbrk(pcVar3,"*?[");\n      uVar1 = DAT_00052b24;\n      if (pcVar3 != (char *)0x0) {\n        uVar1 = DAT_00052b20;\n      }\n      *(undefined4 *)(iVar2 + 0x1c) = uVar1;\n      uVar1 = 1;\n    }" (if "if") (parenthesized_expression "(pcVar3 != (char *)0x0)" (( "(") (binary_expression "pcVar3 != (char *)0x0" (identifier "pcVar3") (!= "!=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      *param_3 = *param_3 + 1;\n      iVar2 = FUN_0001a5f0(param_1,pcVar3);\n      *(char **)(iVar2 + 0x28) = pcVar3;\n      pcVar3 = strpbrk(pcVar3,"*?[");\n      uVar1 = DAT_00052b24;\n      if (pcVar3 != (char *)0x0) {\n        uVar1 = DAT_00052b20;\n      }\n      *(undefined4 *)(iVar2 + 0x1c) = uVar1;\n      uVar1 = 1;\n    }" ({ "{") (expression_statement "*param_3 = *param_3 + 1;" (assignment_expression "*param_3 = *param_3 + 1" (pointer_expression "*param_3" (* "*") (identifier "param_3")) (= "=") (binary_expression "*param_3 + 1" (pointer_expression "*param_3" (* "*") (identifier "param_3")) (+ "+") (number_literal "1"))) (; ";")) (expression_statement "iVar2 = FUN_0001a5f0(param_1,pcVar3);" (assignment_expression "iVar2 = FUN_0001a5f0(param_1,pcVar3)" (identifier "iVar2") (= "=") (call_expression "FUN_0001a5f0(param_1,pcVar3)" (identifier "FUN_0001a5f0") (argument_list "(param_1,pcVar3)" (( "(") (identifier "param_1") (, ",") (identifier "pcVar3") () ")")))) (; ";")) (expression_statement "*(char **)(iVar2 + 0x28) = pcVar3;" (assignment_expression "*(char **)(iVar2 + 0x28) = pcVar3" (pointer_expression "*(char **)(iVar2 + 0x28)" (* "*") (cast_expression "(char **)(iVar2 + 0x28)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar2 + 0x28)" (( "(") (binary_expression "iVar2 + 0x28" (identifier "iVar2") (+ "+") (number_literal "0x28")) () ")")))) (= "=") (identifier "pcVar3")) (; ";")) (expression_statement "pcVar3 = strpbrk(pcVar3,"*?[");" (assignment_expression "pcVar3 = strpbrk(pcVar3,"*?[")" (identifier "pcVar3") (= "=") (call_expression "strpbrk(pcVar3,"*?[")" (identifier "strpbrk") (argument_list "(pcVar3,"*?[")" (( "(") (identifier "pcVar3") (, ",") (string_literal ""*?["" (" """) (string_content "*?[") (" """)) () ")")))) (; ";")) (expression_statement "uVar1 = DAT_00052b24;" (assignment_expression "uVar1 = DAT_00052b24" (identifier "uVar1") (= "=") (identifier "DAT_00052b24")) (; ";")) (if_statement "if (pcVar3 != (char *)0x0) {\n        uVar1 = DAT_00052b20;\n      }" (if "if") (parenthesized_expression "(pcVar3 != (char *)0x0)" (( "(") (binary_expression "pcVar3 != (char *)0x0" (identifier "pcVar3") (!= "!=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n        uVar1 = DAT_00052b20;\n      }" ({ "{") (expression_statement "uVar1 = DAT_00052b20;" (assignment_expression "uVar1 = DAT_00052b20" (identifier "uVar1") (= "=") (identifier "DAT_00052b20")) (; ";")) (} "}"))) (expression_statement "*(undefined4 *)(iVar2 + 0x1c) = uVar1;" (assignment_expression "*(undefined4 *)(iVar2 + 0x1c) = uVar1" (pointer_expression "*(undefined4 *)(iVar2 + 0x1c)" (* "*") (cast_expression "(undefined4 *)(iVar2 + 0x1c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x1c)" (( "(") (binary_expression "iVar2 + 0x1c" (identifier "iVar2") (+ "+") (number_literal "0x1c")) () ")")))) (= "=") (identifier "uVar1")) (; ";")) (expression_statement "uVar1 = 1;" (assignment_expression "uVar1 = 1" (identifier "uVar1") (= "=") (number_literal "1")) (; ";")) (} "}"))) (return_statement "return uVar1;" (return "return") (identifier "uVar1") (; ";")) (} "}"))) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention */

type_1 function_1(type_2 *entry,char **var_1,int *arg_ptr)

{
  type_1 _Var1;
  type_3 *ppVar2;
  char *var_2;
  float fVar4;
  
  if (var_1 != (char **)0x0) {
    var_2 = var_1[*arg_ptr];
    _Var1 = false;
    if (var_2 != (char *)0x0) {
      *arg_ptr = *arg_ptr + 1;
      ppVar2 = var_3(entry,var_2);
      (ppVar2->args).str = var_2;
      var_2 = var_4(var_2,"*?[");
      fVar4 = DAT_00052b24;
      if (var_2 != (char *)0x0) {
        fVar4 = DAT_00052b20;
      }
      ppVar2->est_success_rate = fVar4;
      _Var1 = true;
    }
    return _Var1;
  }
  return false;
}


(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal)))))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (string_literal (string_content)))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))))) (return_statement (identifier)))) (return_statement (number_literal)))))

/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

undefined4 MASKED(undefined4 param_1,int param_2,int *param_3)

{
  undefined4 uVar1;
  int iVar2;
  char *pcVar3;
  
  if (param_2 != 0) {
    pcVar3 = *(char **)(param_2 + *param_3 * 4);
    uVar1 = 0;
    if (pcVar3 != (char *)0x0) {
      *param_3 = *param_3 + 1;
      iVar2 = FUN_0001a5f0(param_1,pcVar3);
      *(char **)(iVar2 + 0x28) = pcVar3;
      pcVar3 = strpbrk(pcVar3,"*?[");
      uVar1 = DAT_00052b24;
      if (pcVar3 != (char *)0x0) {
        uVar1 = DAT_00052b20;
      }
      *(undefined4 *)(iVar2 + 0x1c) = uVar1;
      uVar1 = 1;
    }
    return uVar1;
  }
  return 0;
}

