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

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

{
  predicate *ppVar1;
  parser_table *ppVar2;
  int iVar3;
  parser_table *entry_00;
  
  entry_00 = noop;
  if (noop == (parser_table *)0x0) {
    ppVar2 = parse_table;
    iVar3 = 0;
    entry_00 = (parser_table *)&DAT_00051acc;
    while (ppVar2 = ppVar2 + 1, iVar3 = iVar3 + 1, entry_00 != (parser_table *)0x0) {
      if (ppVar2->type == ARG_NOOP) {
        entry_00 = parse_table + iVar3;
        noop = entry_00;
        break;
      }
      entry_00 = (parser_table *)ppVar2[1].parser_name;
    }
  }
  ppVar1 = insert_primary_noarg(entry_00);
  ppVar1->need_stat = false;
  ppVar1->need_type = false;
  ppVar1->est_success_rate = 1.0;
  return true;
}



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

undefined4 FUN_00020780(void)

{
  int iVar1;
  int *piVar2;
  undefined4 *puVar3;
  
  puVar3 = DAT_0006bd14;
  if (DAT_0006bd14 == (undefined4 *)0x0) {
    iVar1 = 0;
    puVar3 = (undefined4 *)&DAT_00051acc;
    piVar2 = &DAT_0006a690;
    while (iVar1 = iVar1 + 1, puVar3 != (undefined4 *)0x0) {
      if (*piVar2 == 1) {
        puVar3 = &DAT_0006a680 + iVar1 * 4;
        DAT_0006bd14 = puVar3;
        break;
      }
      puVar3 = (undefined4 *)piVar2[5];
      piVar2 = piVar2 + 4;
    }
  }
  iVar1 = FUN_0001a660(puVar3);
  *(undefined2 *)(iVar1 + 0x12) = 0;
  *(undefined4 *)(iVar1 + 0x1c) = 0x3f800000;
  return 1;
}


PUSH EBX
CALL 0x00014d70
ADD EBX,0x4a562
SUB ESP,0x8
MOV EDX,dword ptr [EBX + 0x102c]
TEST EDX,EDX
JZ 0x000207c0
SUB ESP,0xc
PUSH EDX
CALL 0x0001a660
XOR EDX,EDX
MOV word ptr [EAX + 0x12],DX
MOV dword ptr [EAX + 0x1c],0x3f800000
ADD ESP,0x18
MOV EAX,0x1
POP EBX
RET
LEA EAX,[EBX + 0xfffff9a8]
LEA EDX,[EBX + 0xfffe6de4]
XOR ECX,ECX
JMP 0x000207d3
MOV EDX,dword ptr [EAX + 0x4]
ADD ECX,0x1
TEST EDX,EDX
JZ 0x00020799
ADD EAX,0x10
CMP dword ptr [EAX + -0x10],0x1
JNZ 0x000207d0
SHL ECX,0x4
LEA EDX,[EBX + ECX*0x1 + 0xfffff998]
MOV dword ptr [EBX + 0x102c],EDX
JMP 0x00020799
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nundefined4 FUN_00020780(void)\n\n{\n  int iVar1;\n  int *piVar2;\n  undefined4 *puVar3;\n  \n  puVar3 = DAT_0006bd14;\n  if (DAT_0006bd14 == (undefined4 *)0x0) {\n    iVar1 = 0;\n    puVar3 = (undefined4 *)&DAT_00051acc;\n    piVar2 = &DAT_0006a690;\n    while (iVar1 = iVar1 + 1, puVar3 != (undefined4 *)0x0) {\n      if (*piVar2 == 1) {\n        puVar3 = &DAT_0006a680 + iVar1 * 4;\n        DAT_0006bd14 = puVar3;\n        break;\n      }\n      puVar3 = (undefined4 *)piVar2[5];\n      piVar2 = piVar2 + 4;\n    }\n  }\n  iVar1 = FUN_0001a660(puVar3);\n  *(undefined2 *)(iVar1 + 0x12) = 0;\n  *(undefined4 *)(iVar1 + 0x1c) = 0x3f800000;\n  return 1;\n}\n\n" comment (function_definition "undefined4 FUN_00020780(void)\n\n{\n  int iVar1;\n  int *piVar2;\n  undefined4 *puVar3;\n  \n  puVar3 = DAT_0006bd14;\n  if (DAT_0006bd14 == (undefined4 *)0x0) {\n    iVar1 = 0;\n    puVar3 = (undefined4 *)&DAT_00051acc;\n    piVar2 = &DAT_0006a690;\n    while (iVar1 = iVar1 + 1, puVar3 != (undefined4 *)0x0) {\n      if (*piVar2 == 1) {\n        puVar3 = &DAT_0006a680 + iVar1 * 4;\n        DAT_0006bd14 = puVar3;\n        break;\n      }\n      puVar3 = (undefined4 *)piVar2[5];\n      piVar2 = piVar2 + 4;\n    }\n  }\n  iVar1 = FUN_0001a660(puVar3);\n  *(undefined2 *)(iVar1 + 0x12) = 0;\n  *(undefined4 *)(iVar1 + 0x1c) = 0x3f800000;\n  return 1;\n}" type_identifier (function_declarator "FUN_00020780(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  int iVar1;\n  int *piVar2;\n  undefined4 *puVar3;\n  \n  puVar3 = DAT_0006bd14;\n  if (DAT_0006bd14 == (undefined4 *)0x0) {\n    iVar1 = 0;\n    puVar3 = (undefined4 *)&DAT_00051acc;\n    piVar2 = &DAT_0006a690;\n    while (iVar1 = iVar1 + 1, puVar3 != (undefined4 *)0x0) {\n      if (*piVar2 == 1) {\n        puVar3 = &DAT_0006a680 + iVar1 * 4;\n        DAT_0006bd14 = puVar3;\n        break;\n      }\n      puVar3 = (undefined4 *)piVar2[5];\n      piVar2 = piVar2 + 4;\n    }\n  }\n  iVar1 = FUN_0001a660(puVar3);\n  *(undefined2 *)(iVar1 + 0x12) = 0;\n  *(undefined4 *)(iVar1 + 0x1c) = 0x3f800000;\n  return 1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "undefined4 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (expression_statement "puVar3 = DAT_0006bd14;" (assignment_expression "puVar3 = DAT_0006bd14" identifier = identifier) ;) (if_statement "if (DAT_0006bd14 == (undefined4 *)0x0) {\n    iVar1 = 0;\n    puVar3 = (undefined4 *)&DAT_00051acc;\n    piVar2 = &DAT_0006a690;\n    while (iVar1 = iVar1 + 1, puVar3 != (undefined4 *)0x0) {\n      if (*piVar2 == 1) {\n        puVar3 = &DAT_0006a680 + iVar1 * 4;\n        DAT_0006bd14 = puVar3;\n        break;\n      }\n      puVar3 = (undefined4 *)piVar2[5];\n      piVar2 = piVar2 + 4;\n    }\n  }" if (parenthesized_expression "(DAT_0006bd14 == (undefined4 *)0x0)" ( (binary_expression "DAT_0006bd14 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    iVar1 = 0;\n    puVar3 = (undefined4 *)&DAT_00051acc;\n    piVar2 = &DAT_0006a690;\n    while (iVar1 = iVar1 + 1, puVar3 != (undefined4 *)0x0) {\n      if (*piVar2 == 1) {\n        puVar3 = &DAT_0006a680 + iVar1 * 4;\n        DAT_0006bd14 = puVar3;\n        break;\n      }\n      puVar3 = (undefined4 *)piVar2[5];\n      piVar2 = piVar2 + 4;\n    }\n  }" { (expression_statement "iVar1 = 0;" (assignment_expression "iVar1 = 0" identifier = number_literal) ;) (expression_statement "puVar3 = (undefined4 *)&DAT_00051acc;" (assignment_expression "puVar3 = (undefined4 *)&DAT_00051acc" identifier = (cast_expression "(undefined4 *)&DAT_00051acc" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&DAT_00051acc" & identifier))) ;) (expression_statement "piVar2 = &DAT_0006a690;" (assignment_expression "piVar2 = &DAT_0006a690" identifier = (pointer_expression "&DAT_0006a690" & identifier)) ;) (while_statement "while (iVar1 = iVar1 + 1, puVar3 != (undefined4 *)0x0) {\n      if (*piVar2 == 1) {\n        puVar3 = &DAT_0006a680 + iVar1 * 4;\n        DAT_0006bd14 = puVar3;\n        break;\n      }\n      puVar3 = (undefined4 *)piVar2[5];\n      piVar2 = piVar2 + 4;\n    }" while (parenthesized_expression "(iVar1 = iVar1 + 1, puVar3 != (undefined4 *)0x0)" ( (comma_expression "iVar1 = iVar1 + 1, puVar3 != (undefined4 *)0x0" (assignment_expression "iVar1 = iVar1 + 1" identifier = (binary_expression "iVar1 + 1" identifier + number_literal)) , (binary_expression "puVar3 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) )) (compound_statement "{\n      if (*piVar2 == 1) {\n        puVar3 = &DAT_0006a680 + iVar1 * 4;\n        DAT_0006bd14 = puVar3;\n        break;\n      }\n      puVar3 = (undefined4 *)piVar2[5];\n      piVar2 = piVar2 + 4;\n    }" { (if_statement "if (*piVar2 == 1) {\n        puVar3 = &DAT_0006a680 + iVar1 * 4;\n        DAT_0006bd14 = puVar3;\n        break;\n      }" if (parenthesized_expression "(*piVar2 == 1)" ( (binary_expression "*piVar2 == 1" (pointer_expression "*piVar2" * identifier) == number_literal) )) (compound_statement "{\n        puVar3 = &DAT_0006a680 + iVar1 * 4;\n        DAT_0006bd14 = puVar3;\n        break;\n      }" { (expression_statement "puVar3 = &DAT_0006a680 + iVar1 * 4;" (assignment_expression "puVar3 = &DAT_0006a680 + iVar1 * 4" identifier = (binary_expression "&DAT_0006a680 + iVar1 * 4" (pointer_expression "&DAT_0006a680" & identifier) + (binary_expression "iVar1 * 4" identifier * number_literal))) ;) (expression_statement "DAT_0006bd14 = puVar3;" (assignment_expression "DAT_0006bd14 = puVar3" identifier = identifier) ;) (break_statement "break;" break ;) })) (expression_statement "puVar3 = (undefined4 *)piVar2[5];" (assignment_expression "puVar3 = (undefined4 *)piVar2[5]" identifier = (cast_expression "(undefined4 *)piVar2[5]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar2[5]" identifier [ number_literal ]))) ;) (expression_statement "piVar2 = piVar2 + 4;" (assignment_expression "piVar2 = piVar2 + 4" identifier = (binary_expression "piVar2 + 4" identifier + number_literal)) ;) })) })) (expression_statement "iVar1 = FUN_0001a660(puVar3);" (assignment_expression "iVar1 = FUN_0001a660(puVar3)" identifier = (call_expression "FUN_0001a660(puVar3)" identifier (argument_list "(puVar3)" ( identifier )))) ;) (expression_statement "*(undefined2 *)(iVar1 + 0x12) = 0;" (assignment_expression "*(undefined2 *)(iVar1 + 0x12) = 0" (pointer_expression "*(undefined2 *)(iVar1 + 0x12)" * (cast_expression "(undefined2 *)(iVar1 + 0x12)" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x12)" ( (binary_expression "iVar1 + 0x12" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(iVar1 + 0x1c) = 0x3f800000;" (assignment_expression "*(undefined4 *)(iVar1 + 0x1c) = 0x3f800000" (pointer_expression "*(undefined4 *)(iVar1 + 0x1c)" * (cast_expression "(undefined4 *)(iVar1 + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x1c)" ( (binary_expression "iVar1 + 0x1c" identifier + number_literal) )))) = number_literal) ;) (return_statement "return 1;" return number_literal ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\n_Bool parse_noop(parser_table *entry,char **argv,int *arg_ptr)\n\n{\n  predicate *ppVar1;\n  parser_table *ppVar2;\n  int iVar3;\n  parser_table *entry_00;\n  \n  entry_00 = noop;\n  if (noop == (parser_table *)0x0) {\n    ppVar2 = parse_table;\n    iVar3 = 0;\n    entry_00 = (parser_table *)&DAT_00051acc;\n    while (ppVar2 = ppVar2 + 1, iVar3 = iVar3 + 1, entry_00 != (parser_table *)0x0) {\n      if (ppVar2->type == ARG_NOOP) {\n        entry_00 = parse_table + iVar3;\n        noop = entry_00;\n        break;\n      }\n      entry_00 = (parser_table *)ppVar2[1].parser_name;\n    }\n  }\n  ppVar1 = insert_primary_noarg(entry_00);\n  ppVar1->need_stat = false;\n  ppVar1->need_type = false;\n  ppVar1->est_success_rate = 1.0;\n  return true;\n}\n\n" comment (function_definition "_Bool parse_noop(parser_table *entry,char **argv,int *arg_ptr)\n\n{\n  predicate *ppVar1;\n  parser_table *ppVar2;\n  int iVar3;\n  parser_table *entry_00;\n  \n  entry_00 = noop;\n  if (noop == (parser_table *)0x0) {\n    ppVar2 = parse_table;\n    iVar3 = 0;\n    entry_00 = (parser_table *)&DAT_00051acc;\n    while (ppVar2 = ppVar2 + 1, iVar3 = iVar3 + 1, entry_00 != (parser_table *)0x0) {\n      if (ppVar2->type == ARG_NOOP) {\n        entry_00 = parse_table + iVar3;\n        noop = entry_00;\n        break;\n      }\n      entry_00 = (parser_table *)ppVar2[1].parser_name;\n    }\n  }\n  ppVar1 = insert_primary_noarg(entry_00);\n  ppVar1->need_stat = false;\n  ppVar1->need_type = false;\n  ppVar1->est_success_rate = 1.0;\n  return true;\n}" type_identifier (function_declarator "parse_noop(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  predicate *ppVar1;\n  parser_table *ppVar2;\n  int iVar3;\n  parser_table *entry_00;\n  \n  entry_00 = noop;\n  if (noop == (parser_table *)0x0) {\n    ppVar2 = parse_table;\n    iVar3 = 0;\n    entry_00 = (parser_table *)&DAT_00051acc;\n    while (ppVar2 = ppVar2 + 1, iVar3 = iVar3 + 1, entry_00 != (parser_table *)0x0) {\n      if (ppVar2->type == ARG_NOOP) {\n        entry_00 = parse_table + iVar3;\n        noop = entry_00;\n        break;\n      }\n      entry_00 = (parser_table *)ppVar2[1].parser_name;\n    }\n  }\n  ppVar1 = insert_primary_noarg(entry_00);\n  ppVar1->need_stat = false;\n  ppVar1->need_type = false;\n  ppVar1->est_success_rate = 1.0;\n  return true;\n}" { (declaration "predicate *ppVar1;" type_identifier (pointer_declarator "*ppVar1" * identifier) ;) (declaration "parser_table *ppVar2;" type_identifier (pointer_declarator "*ppVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "parser_table *entry_00;" type_identifier (pointer_declarator "*entry_00" * identifier) ;) (expression_statement "entry_00 = noop;" (assignment_expression "entry_00 = noop" identifier = identifier) ;) (if_statement "if (noop == (parser_table *)0x0) {\n    ppVar2 = parse_table;\n    iVar3 = 0;\n    entry_00 = (parser_table *)&DAT_00051acc;\n    while (ppVar2 = ppVar2 + 1, iVar3 = iVar3 + 1, entry_00 != (parser_table *)0x0) {\n      if (ppVar2->type == ARG_NOOP) {\n        entry_00 = parse_table + iVar3;\n        noop = entry_00;\n        break;\n      }\n      entry_00 = (parser_table *)ppVar2[1].parser_name;\n    }\n  }" if (parenthesized_expression "(noop == (parser_table *)0x0)" ( (binary_expression "noop == (parser_table *)0x0" identifier == (cast_expression "(parser_table *)0x0" ( (type_descriptor "parser_table *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    ppVar2 = parse_table;\n    iVar3 = 0;\n    entry_00 = (parser_table *)&DAT_00051acc;\n    while (ppVar2 = ppVar2 + 1, iVar3 = iVar3 + 1, entry_00 != (parser_table *)0x0) {\n      if (ppVar2->type == ARG_NOOP) {\n        entry_00 = parse_table + iVar3;\n        noop = entry_00;\n        break;\n      }\n      entry_00 = (parser_table *)ppVar2[1].parser_name;\n    }\n  }" { (expression_statement "ppVar2 = parse_table;" (assignment_expression "ppVar2 = parse_table" identifier = identifier) ;) (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;) (expression_statement "entry_00 = (parser_table *)&DAT_00051acc;" (assignment_expression "entry_00 = (parser_table *)&DAT_00051acc" identifier = (cast_expression "(parser_table *)&DAT_00051acc" ( (type_descriptor "parser_table *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&DAT_00051acc" & identifier))) ;) (while_statement "while (ppVar2 = ppVar2 + 1, iVar3 = iVar3 + 1, entry_00 != (parser_table *)0x0) {\n      if (ppVar2->type == ARG_NOOP) {\n        entry_00 = parse_table + iVar3;\n        noop = entry_00;\n        break;\n      }\n      entry_00 = (parser_table *)ppVar2[1].parser_name;\n    }" while (parenthesized_expression "(ppVar2 = ppVar2 + 1, iVar3 = iVar3 + 1, entry_00 != (parser_table *)0x0)" ( (comma_expression "ppVar2 = ppVar2 + 1, iVar3 = iVar3 + 1, entry_00 != (parser_table *)0x0" (assignment_expression "ppVar2 = ppVar2 + 1" identifier = (binary_expression "ppVar2 + 1" identifier + number_literal)) , (comma_expression "iVar3 = iVar3 + 1, entry_00 != (parser_table *)0x0" (assignment_expression "iVar3 = iVar3 + 1" identifier = (binary_expression "iVar3 + 1" identifier + number_literal)) , (binary_expression "entry_00 != (parser_table *)0x0" identifier != (cast_expression "(parser_table *)0x0" ( (type_descriptor "parser_table *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)))) )) (compound_statement "{\n      if (ppVar2->type == ARG_NOOP) {\n        entry_00 = parse_table + iVar3;\n        noop = entry_00;\n        break;\n      }\n      entry_00 = (parser_table *)ppVar2[1].parser_name;\n    }" { (if_statement "if (ppVar2->type == ARG_NOOP) {\n        entry_00 = parse_table + iVar3;\n        noop = entry_00;\n        break;\n      }" if (parenthesized_expression "(ppVar2->type == ARG_NOOP)" ( (binary_expression "ppVar2->type == ARG_NOOP" (field_expression "ppVar2->type" identifier -> field_identifier) == identifier) )) (compound_statement "{\n        entry_00 = parse_table + iVar3;\n        noop = entry_00;\n        break;\n      }" { (expression_statement "entry_00 = parse_table + iVar3;" (assignment_expression "entry_00 = parse_table + iVar3" identifier = (binary_expression "parse_table + iVar3" identifier + identifier)) ;) (expression_statement "noop = entry_00;" (assignment_expression "noop = entry_00" identifier = identifier) ;) (break_statement "break;" break ;) })) (expression_statement "entry_00 = (parser_table *)ppVar2[1].parser_name;" (assignment_expression "entry_00 = (parser_table *)ppVar2[1].parser_name" identifier = (cast_expression "(parser_table *)ppVar2[1].parser_name" ( (type_descriptor "parser_table *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "ppVar2[1].parser_name" (subscript_expression "ppVar2[1]" identifier [ number_literal ]) . field_identifier))) ;) })) })) (expression_statement "ppVar1 = insert_primary_noarg(entry_00);" (assignment_expression "ppVar1 = insert_primary_noarg(entry_00)" identifier = (call_expression "insert_primary_noarg(entry_00)" identifier (argument_list "(entry_00)" ( identifier )))) ;) (expression_statement "ppVar1->need_stat = false;" (assignment_expression "ppVar1->need_stat = false" (field_expression "ppVar1->need_stat" identifier -> field_identifier) = false) ;) (expression_statement "ppVar1->need_type = false;" (assignment_expression "ppVar1->need_type = false" (field_expression "ppVar1->need_type" identifier -> field_identifier) = false) ;) (expression_statement "ppVar1->est_success_rate = 1.0;" (assignment_expression "ppVar1->est_success_rate = 1.0" (field_expression "ppVar1->est_success_rate" identifier -> field_identifier) = number_literal) ;) (return_statement "return true;" return true ;) })))
(translation_unit "undefined4 FUN_00020780(void)\n\n{\n  int iVar1;\n  int *piVar2;\n  undefined4 *puVar3;\n  \n  puVar3 = DAT_0006bd14;\n  if (DAT_0006bd14 == (undefined4 *)0x0) {\n    iVar1 = 0;\n    puVar3 = (undefined4 *)&DAT_00051acc;\n    piVar2 = &DAT_0006a690;\n    while (iVar1 = iVar1 + 1, puVar3 != (undefined4 *)0x0) {\n      if (*piVar2 == 1) {\n        puVar3 = &DAT_0006a680 + iVar1 * 4;\n        DAT_0006bd14 = puVar3;\n        break;\n      }\n      puVar3 = (undefined4 *)piVar2[5];\n      piVar2 = piVar2 + 4;\n    }\n  }\n  iVar1 = FUN_0001a660(puVar3);\n  *(undefined2 *)(iVar1 + 0x12) = 0;\n  *(undefined4 *)(iVar1 + 0x1c) = 0x3f800000;\n  return 1;\n}\n\n" (function_definition "undefined4 FUN_00020780(void)\n\n{\n  int iVar1;\n  int *piVar2;\n  undefined4 *puVar3;\n  \n  puVar3 = DAT_0006bd14;\n  if (DAT_0006bd14 == (undefined4 *)0x0) {\n    iVar1 = 0;\n    puVar3 = (undefined4 *)&DAT_00051acc;\n    piVar2 = &DAT_0006a690;\n    while (iVar1 = iVar1 + 1, puVar3 != (undefined4 *)0x0) {\n      if (*piVar2 == 1) {\n        puVar3 = &DAT_0006a680 + iVar1 * 4;\n        DAT_0006bd14 = puVar3;\n        break;\n      }\n      puVar3 = (undefined4 *)piVar2[5];\n      piVar2 = piVar2 + 4;\n    }\n  }\n  iVar1 = FUN_0001a660(puVar3);\n  *(undefined2 *)(iVar1 + 0x12) = 0;\n  *(undefined4 *)(iVar1 + 0x1c) = 0x3f800000;\n  return 1;\n}" type_identifier (function_declarator "FUN_00020780(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  int iVar1;\n  int *piVar2;\n  undefined4 *puVar3;\n  \n  puVar3 = DAT_0006bd14;\n  if (DAT_0006bd14 == (undefined4 *)0x0) {\n    iVar1 = 0;\n    puVar3 = (undefined4 *)&DAT_00051acc;\n    piVar2 = &DAT_0006a690;\n    while (iVar1 = iVar1 + 1, puVar3 != (undefined4 *)0x0) {\n      if (*piVar2 == 1) {\n        puVar3 = &DAT_0006a680 + iVar1 * 4;\n        DAT_0006bd14 = puVar3;\n        break;\n      }\n      puVar3 = (undefined4 *)piVar2[5];\n      piVar2 = piVar2 + 4;\n    }\n  }\n  iVar1 = FUN_0001a660(puVar3);\n  *(undefined2 *)(iVar1 + 0x12) = 0;\n  *(undefined4 *)(iVar1 + 0x1c) = 0x3f800000;\n  return 1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "undefined4 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (expression_statement "puVar3 = DAT_0006bd14;" (assignment_expression "puVar3 = DAT_0006bd14" identifier = identifier) ;) (if_statement "if (DAT_0006bd14 == (undefined4 *)0x0) {\n    iVar1 = 0;\n    puVar3 = (undefined4 *)&DAT_00051acc;\n    piVar2 = &DAT_0006a690;\n    while (iVar1 = iVar1 + 1, puVar3 != (undefined4 *)0x0) {\n      if (*piVar2 == 1) {\n        puVar3 = &DAT_0006a680 + iVar1 * 4;\n        DAT_0006bd14 = puVar3;\n        break;\n      }\n      puVar3 = (undefined4 *)piVar2[5];\n      piVar2 = piVar2 + 4;\n    }\n  }" if (parenthesized_expression "(DAT_0006bd14 == (undefined4 *)0x0)" ( (binary_expression "DAT_0006bd14 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    iVar1 = 0;\n    puVar3 = (undefined4 *)&DAT_00051acc;\n    piVar2 = &DAT_0006a690;\n    while (iVar1 = iVar1 + 1, puVar3 != (undefined4 *)0x0) {\n      if (*piVar2 == 1) {\n        puVar3 = &DAT_0006a680 + iVar1 * 4;\n        DAT_0006bd14 = puVar3;\n        break;\n      }\n      puVar3 = (undefined4 *)piVar2[5];\n      piVar2 = piVar2 + 4;\n    }\n  }" { (expression_statement "iVar1 = 0;" (assignment_expression "iVar1 = 0" identifier = number_literal) ;) (expression_statement "puVar3 = (undefined4 *)&DAT_00051acc;" (assignment_expression "puVar3 = (undefined4 *)&DAT_00051acc" identifier = (cast_expression "(undefined4 *)&DAT_00051acc" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&DAT_00051acc" & identifier))) ;) (expression_statement "piVar2 = &DAT_0006a690;" (assignment_expression "piVar2 = &DAT_0006a690" identifier = (pointer_expression "&DAT_0006a690" & identifier)) ;) (while_statement "while (iVar1 = iVar1 + 1, puVar3 != (undefined4 *)0x0) {\n      if (*piVar2 == 1) {\n        puVar3 = &DAT_0006a680 + iVar1 * 4;\n        DAT_0006bd14 = puVar3;\n        break;\n      }\n      puVar3 = (undefined4 *)piVar2[5];\n      piVar2 = piVar2 + 4;\n    }" while (parenthesized_expression "(iVar1 = iVar1 + 1, puVar3 != (undefined4 *)0x0)" ( (comma_expression "iVar1 = iVar1 + 1, puVar3 != (undefined4 *)0x0" (assignment_expression "iVar1 = iVar1 + 1" identifier = (binary_expression "iVar1 + 1" identifier + number_literal)) , (binary_expression "puVar3 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) )) (compound_statement "{\n      if (*piVar2 == 1) {\n        puVar3 = &DAT_0006a680 + iVar1 * 4;\n        DAT_0006bd14 = puVar3;\n        break;\n      }\n      puVar3 = (undefined4 *)piVar2[5];\n      piVar2 = piVar2 + 4;\n    }" { (if_statement "if (*piVar2 == 1) {\n        puVar3 = &DAT_0006a680 + iVar1 * 4;\n        DAT_0006bd14 = puVar3;\n        break;\n      }" if (parenthesized_expression "(*piVar2 == 1)" ( (binary_expression "*piVar2 == 1" (pointer_expression "*piVar2" * identifier) == number_literal) )) (compound_statement "{\n        puVar3 = &DAT_0006a680 + iVar1 * 4;\n        DAT_0006bd14 = puVar3;\n        break;\n      }" { (expression_statement "puVar3 = &DAT_0006a680 + iVar1 * 4;" (assignment_expression "puVar3 = &DAT_0006a680 + iVar1 * 4" identifier = (binary_expression "&DAT_0006a680 + iVar1 * 4" (pointer_expression "&DAT_0006a680" & identifier) + (binary_expression "iVar1 * 4" identifier * number_literal))) ;) (expression_statement "DAT_0006bd14 = puVar3;" (assignment_expression "DAT_0006bd14 = puVar3" identifier = identifier) ;) (break_statement "break;" break ;) })) (expression_statement "puVar3 = (undefined4 *)piVar2[5];" (assignment_expression "puVar3 = (undefined4 *)piVar2[5]" identifier = (cast_expression "(undefined4 *)piVar2[5]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar2[5]" identifier [ number_literal ]))) ;) (expression_statement "piVar2 = piVar2 + 4;" (assignment_expression "piVar2 = piVar2 + 4" identifier = (binary_expression "piVar2 + 4" identifier + number_literal)) ;) })) })) (expression_statement "iVar1 = FUN_0001a660(puVar3);" (assignment_expression "iVar1 = FUN_0001a660(puVar3)" identifier = (call_expression "FUN_0001a660(puVar3)" identifier (argument_list "(puVar3)" ( identifier )))) ;) (expression_statement "*(undefined2 *)(iVar1 + 0x12) = 0;" (assignment_expression "*(undefined2 *)(iVar1 + 0x12) = 0" (pointer_expression "*(undefined2 *)(iVar1 + 0x12)" * (cast_expression "(undefined2 *)(iVar1 + 0x12)" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x12)" ( (binary_expression "iVar1 + 0x12" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(iVar1 + 0x1c) = 0x3f800000;" (assignment_expression "*(undefined4 *)(iVar1 + 0x1c) = 0x3f800000" (pointer_expression "*(undefined4 *)(iVar1 + 0x1c)" * (cast_expression "(undefined4 *)(iVar1 + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x1c)" ( (binary_expression "iVar1 + 0x1c" identifier + number_literal) )))) = number_literal) ;) (return_statement "return 1;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (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 = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression & IDENT))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (while_statement while (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (binary_expression IDENT + LIT)) , (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT))) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression & IDENT) + (binary_expression IDENT * LIT))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (break_statement break ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (return_statement return LIT ;) })))
(function_definition "undefined4 FUN_00020780(void)\n\n{\n  int iVar1;\n  int *piVar2;\n  undefined4 *puVar3;\n  \n  puVar3 = DAT_0006bd14;\n  if (DAT_0006bd14 == (undefined4 *)0x0) {\n    iVar1 = 0;\n    puVar3 = (undefined4 *)&DAT_00051acc;\n    piVar2 = &DAT_0006a690;\n    while (iVar1 = iVar1 + 1, puVar3 != (undefined4 *)0x0) {\n      if (*piVar2 == 1) {\n        puVar3 = &DAT_0006a680 + iVar1 * 4;\n        DAT_0006bd14 = puVar3;\n        break;\n      }\n      puVar3 = (undefined4 *)piVar2[5];\n      piVar2 = piVar2 + 4;\n    }\n  }\n  iVar1 = FUN_0001a660(puVar3);\n  *(undefined2 *)(iVar1 + 0x12) = 0;\n  *(undefined4 *)(iVar1 + 0x1c) = 0x3f800000;\n  return 1;\n}" (type_identifier "undefined4") (function_declarator "FUN_00020780(void)" (identifier "FUN_00020780") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  int iVar1;\n  int *piVar2;\n  undefined4 *puVar3;\n  \n  puVar3 = DAT_0006bd14;\n  if (DAT_0006bd14 == (undefined4 *)0x0) {\n    iVar1 = 0;\n    puVar3 = (undefined4 *)&DAT_00051acc;\n    piVar2 = &DAT_0006a690;\n    while (iVar1 = iVar1 + 1, puVar3 != (undefined4 *)0x0) {\n      if (*piVar2 == 1) {\n        puVar3 = &DAT_0006a680 + iVar1 * 4;\n        DAT_0006bd14 = puVar3;\n        break;\n      }\n      puVar3 = (undefined4 *)piVar2[5];\n      piVar2 = piVar2 + 4;\n    }\n  }\n  iVar1 = FUN_0001a660(puVar3);\n  *(undefined2 *)(iVar1 + 0x12) = 0;\n  *(undefined4 *)(iVar1 + 0x1c) = 0x3f800000;\n  return 1;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "int *piVar2;" (primitive_type "int") (pointer_declarator "*piVar2" (* "*") (identifier "piVar2")) (; ";")) (declaration "undefined4 *puVar3;" (type_identifier "undefined4") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (expression_statement "puVar3 = DAT_0006bd14;" (assignment_expression "puVar3 = DAT_0006bd14" (identifier "puVar3") (= "=") (identifier "DAT_0006bd14")) (; ";")) (if_statement "if (DAT_0006bd14 == (undefined4 *)0x0) {\n    iVar1 = 0;\n    puVar3 = (undefined4 *)&DAT_00051acc;\n    piVar2 = &DAT_0006a690;\n    while (iVar1 = iVar1 + 1, puVar3 != (undefined4 *)0x0) {\n      if (*piVar2 == 1) {\n        puVar3 = &DAT_0006a680 + iVar1 * 4;\n        DAT_0006bd14 = puVar3;\n        break;\n      }\n      puVar3 = (undefined4 *)piVar2[5];\n      piVar2 = piVar2 + 4;\n    }\n  }" (if "if") (parenthesized_expression "(DAT_0006bd14 == (undefined4 *)0x0)" (( "(") (binary_expression "DAT_0006bd14 == (undefined4 *)0x0" (identifier "DAT_0006bd14") (== "==") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    iVar1 = 0;\n    puVar3 = (undefined4 *)&DAT_00051acc;\n    piVar2 = &DAT_0006a690;\n    while (iVar1 = iVar1 + 1, puVar3 != (undefined4 *)0x0) {\n      if (*piVar2 == 1) {\n        puVar3 = &DAT_0006a680 + iVar1 * 4;\n        DAT_0006bd14 = puVar3;\n        break;\n      }\n      puVar3 = (undefined4 *)piVar2[5];\n      piVar2 = piVar2 + 4;\n    }\n  }" ({ "{") (expression_statement "iVar1 = 0;" (assignment_expression "iVar1 = 0" (identifier "iVar1") (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar3 = (undefined4 *)&DAT_00051acc;" (assignment_expression "puVar3 = (undefined4 *)&DAT_00051acc" (identifier "puVar3") (= "=") (cast_expression "(undefined4 *)&DAT_00051acc" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "&DAT_00051acc" (& "&") (identifier "DAT_00051acc")))) (; ";")) (expression_statement "piVar2 = &DAT_0006a690;" (assignment_expression "piVar2 = &DAT_0006a690" (identifier "piVar2") (= "=") (pointer_expression "&DAT_0006a690" (& "&") (identifier "DAT_0006a690"))) (; ";")) (while_statement "while (iVar1 = iVar1 + 1, puVar3 != (undefined4 *)0x0) {\n      if (*piVar2 == 1) {\n        puVar3 = &DAT_0006a680 + iVar1 * 4;\n        DAT_0006bd14 = puVar3;\n        break;\n      }\n      puVar3 = (undefined4 *)piVar2[5];\n      piVar2 = piVar2 + 4;\n    }" (while "while") (parenthesized_expression "(iVar1 = iVar1 + 1, puVar3 != (undefined4 *)0x0)" (( "(") (comma_expression "iVar1 = iVar1 + 1, puVar3 != (undefined4 *)0x0" (assignment_expression "iVar1 = iVar1 + 1" (identifier "iVar1") (= "=") (binary_expression "iVar1 + 1" (identifier "iVar1") (+ "+") (number_literal "1"))) (, ",") (binary_expression "puVar3 != (undefined4 *)0x0" (identifier "puVar3") (!= "!=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0")))) () ")")) (compound_statement "{\n      if (*piVar2 == 1) {\n        puVar3 = &DAT_0006a680 + iVar1 * 4;\n        DAT_0006bd14 = puVar3;\n        break;\n      }\n      puVar3 = (undefined4 *)piVar2[5];\n      piVar2 = piVar2 + 4;\n    }" ({ "{") (if_statement "if (*piVar2 == 1) {\n        puVar3 = &DAT_0006a680 + iVar1 * 4;\n        DAT_0006bd14 = puVar3;\n        break;\n      }" (if "if") (parenthesized_expression "(*piVar2 == 1)" (( "(") (binary_expression "*piVar2 == 1" (pointer_expression "*piVar2" (* "*") (identifier "piVar2")) (== "==") (number_literal "1")) () ")")) (compound_statement "{\n        puVar3 = &DAT_0006a680 + iVar1 * 4;\n        DAT_0006bd14 = puVar3;\n        break;\n      }" ({ "{") (expression_statement "puVar3 = &DAT_0006a680 + iVar1 * 4;" (assignment_expression "puVar3 = &DAT_0006a680 + iVar1 * 4" (identifier "puVar3") (= "=") (binary_expression "&DAT_0006a680 + iVar1 * 4" (pointer_expression "&DAT_0006a680" (& "&") (identifier "DAT_0006a680")) (+ "+") (binary_expression "iVar1 * 4" (identifier "iVar1") (* "*") (number_literal "4")))) (; ";")) (expression_statement "DAT_0006bd14 = puVar3;" (assignment_expression "DAT_0006bd14 = puVar3" (identifier "DAT_0006bd14") (= "=") (identifier "puVar3")) (; ";")) (break_statement "break;" (break "break") (; ";")) (} "}"))) (expression_statement "puVar3 = (undefined4 *)piVar2[5];" (assignment_expression "puVar3 = (undefined4 *)piVar2[5]" (identifier "puVar3") (= "=") (cast_expression "(undefined4 *)piVar2[5]" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar2[5]" (identifier "piVar2") ([ "[") (number_literal "5") (] "]")))) (; ";")) (expression_statement "piVar2 = piVar2 + 4;" (assignment_expression "piVar2 = piVar2 + 4" (identifier "piVar2") (= "=") (binary_expression "piVar2 + 4" (identifier "piVar2") (+ "+") (number_literal "4"))) (; ";")) (} "}"))) (} "}"))) (expression_statement "iVar1 = FUN_0001a660(puVar3);" (assignment_expression "iVar1 = FUN_0001a660(puVar3)" (identifier "iVar1") (= "=") (call_expression "FUN_0001a660(puVar3)" (identifier "FUN_0001a660") (argument_list "(puVar3)" (( "(") (identifier "puVar3") () ")")))) (; ";")) (expression_statement "*(undefined2 *)(iVar1 + 0x12) = 0;" (assignment_expression "*(undefined2 *)(iVar1 + 0x12) = 0" (pointer_expression "*(undefined2 *)(iVar1 + 0x12)" (* "*") (cast_expression "(undefined2 *)(iVar1 + 0x12)" (( "(") (type_descriptor "undefined2 *" (type_identifier "undefined2") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x12)" (( "(") (binary_expression "iVar1 + 0x12" (identifier "iVar1") (+ "+") (number_literal "0x12")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 *)(iVar1 + 0x1c) = 0x3f800000;" (assignment_expression "*(undefined4 *)(iVar1 + 0x1c) = 0x3f800000" (pointer_expression "*(undefined4 *)(iVar1 + 0x1c)" (* "*") (cast_expression "(undefined4 *)(iVar1 + 0x1c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x1c)" (( "(") (binary_expression "iVar1 + 0x1c" (identifier "iVar1") (+ "+") (number_literal "0x1c")) () ")")))) (= "=") (number_literal "0x3f800000")) (; ";")) (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}")))

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

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

{
  type_3 *ppVar1;
  type_2 *var_2;
  int var_3;
  type_2 *var_4;
  
  var_4 = var_1;
  if (var_1 == (type_2 *)0x0) {
    var_2 = var_6;
    var_3 = 0;
    var_4 = (type_2 *)&DAT_00051acc;
    while (var_2 = var_2 + 1, var_3 = var_3 + 1, var_4 != (type_2 *)0x0) {
      if (var_2->type == var_5) {
        var_4 = var_6 + var_3;
        var_1 = var_4;
        break;
      }
      var_4 = (type_2 *)var_2[1].parser_name;
    }
  }
  ppVar1 = var_7(var_4);
  ppVar1->need_stat = false;
  ppVar1->need_type = false;
  ppVar1->est_success_rate = 1.0;
  return true;
}


(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (while_statement condition: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))) right: (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal))))) body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (pointer_expression argument: (identifier)) right: (binary_expression left: (identifier) right: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (break_statement))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (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: (number_literal))) (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: (number_literal))) (return_statement (number_literal)))))

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

undefined4 MASKED(void)

{
  int iVar1;
  int *piVar2;
  undefined4 *puVar3;
  
  puVar3 = DAT_0006bd14;
  if (DAT_0006bd14 == (undefined4 *)0x0) {
    iVar1 = 0;
    puVar3 = (undefined4 *)&DAT_00051acc;
    piVar2 = &DAT_0006a690;
    while (iVar1 = iVar1 + 1, puVar3 != (undefined4 *)0x0) {
      if (*piVar2 == 1) {
        puVar3 = &DAT_0006a680 + iVar1 * 4;
        DAT_0006bd14 = puVar3;
        break;
      }
      puVar3 = (undefined4 *)piVar2[5];
      piVar2 = piVar2 + 4;
    }
  }
  iVar1 = FUN_0001a660(puVar3);
  *(undefined2 *)(iVar1 + 0x12) = 0;
  *(undefined4 *)(iVar1 + 0x1c) = 0x3f800000;
  return 1;
}

