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

void __regparm3 conf_clear(Conf *conf)

{
  conf_entry *entry;
  
  while( true ) {
    entry = (conf_entry *)delpos234(conf->tree,0);
    if (entry == (conf_entry *)0x0) break;
    free_entry(entry);
  }
  return;
}



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

void __regparm3 FUN_00018710(undefined4 *param_1)

{
  int iVar1;
  undefined4 uVar2;
  
  uVar2 = 0x18719;
  while( true ) {
    iVar1 = FUN_00061600(*param_1,0);
    if (iVar1 == 0) break;
    FUN_00018640(uVar2);
  }
  return;
}


PUSH ESI
MOV ESI,EAX
PUSH EBX
CALL 0x00015fa0
ADD EBX,0x8c657
SUB ESP,0x4
JMP 0x0001872d
CALL 0x00018640
SUB ESP,0x8
PUSH 0x0
PUSH dword ptr [ESI]
CALL 0x00061600
ADD ESP,0x10
TEST EAX,EAX
JNZ 0x00018728
ADD ESP,0x4
POP EBX
POP ESI
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid __regparm3 FUN_00018710(undefined4 *param_1)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  \n  uVar2 = 0x18719;\n  while( true ) {\n    iVar1 = FUN_00061600(*param_1,0);\n    if (iVar1 == 0) break;\n    FUN_00018640(uVar2);\n  }\n  return;\n}\n\n" comment (function_definition "void __regparm3 FUN_00018710(undefined4 *param_1)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  \n  uVar2 = 0x18719;\n  while( true ) {\n    iVar1 = FUN_00061600(*param_1,0);\n    if (iVar1 == 0) break;\n    FUN_00018640(uVar2);\n  }\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_00018710(undefined4 *param_1)" identifier (parameter_list "(undefined4 *param_1)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  \n  uVar2 = 0x18719;\n  while( true ) {\n    iVar1 = FUN_00061600(*param_1,0);\n    if (iVar1 == 0) break;\n    FUN_00018640(uVar2);\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (expression_statement "uVar2 = 0x18719;" (assignment_expression "uVar2 = 0x18719" identifier = number_literal) ;) (while_statement "while( true ) {\n    iVar1 = FUN_00061600(*param_1,0);\n    if (iVar1 == 0) break;\n    FUN_00018640(uVar2);\n  }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n    iVar1 = FUN_00061600(*param_1,0);\n    if (iVar1 == 0) break;\n    FUN_00018640(uVar2);\n  }" { (expression_statement "iVar1 = FUN_00061600(*param_1,0);" (assignment_expression "iVar1 = FUN_00061600(*param_1,0)" identifier = (call_expression "FUN_00061600(*param_1,0)" identifier (argument_list "(*param_1,0)" ( (pointer_expression "*param_1" * identifier) , number_literal )))) ;) (if_statement "if (iVar1 == 0) break;" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "FUN_00018640(uVar2);" (call_expression "FUN_00018640(uVar2)" identifier (argument_list "(uVar2)" ( identifier ))) ;) })) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid __regparm3 conf_clear(Conf *conf)\n\n{\n  conf_entry *entry;\n  \n  while( true ) {\n    entry = (conf_entry *)delpos234(conf->tree,0);\n    if (entry == (conf_entry *)0x0) break;\n    free_entry(entry);\n  }\n  return;\n}\n\n" comment (function_definition "void __regparm3 conf_clear(Conf *conf)\n\n{\n  conf_entry *entry;\n  \n  while( true ) {\n    entry = (conf_entry *)delpos234(conf->tree,0);\n    if (entry == (conf_entry *)0x0) break;\n    free_entry(entry);\n  }\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "conf_clear(Conf *conf)" identifier (parameter_list "(Conf *conf)" ( (parameter_declaration "Conf *conf" type_identifier (pointer_declarator "*conf" * identifier)) ))) (compound_statement "{\n  conf_entry *entry;\n  \n  while( true ) {\n    entry = (conf_entry *)delpos234(conf->tree,0);\n    if (entry == (conf_entry *)0x0) break;\n    free_entry(entry);\n  }\n  return;\n}" { (declaration "conf_entry *entry;" type_identifier (pointer_declarator "*entry" * identifier) ;) (while_statement "while( true ) {\n    entry = (conf_entry *)delpos234(conf->tree,0);\n    if (entry == (conf_entry *)0x0) break;\n    free_entry(entry);\n  }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n    entry = (conf_entry *)delpos234(conf->tree,0);\n    if (entry == (conf_entry *)0x0) break;\n    free_entry(entry);\n  }" { (expression_statement "entry = (conf_entry *)delpos234(conf->tree,0);" (assignment_expression "entry = (conf_entry *)delpos234(conf->tree,0)" identifier = (cast_expression "(conf_entry *)delpos234(conf->tree,0)" ( (type_descriptor "conf_entry *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "delpos234(conf->tree,0)" identifier (argument_list "(conf->tree,0)" ( (field_expression "conf->tree" identifier -> field_identifier) , number_literal ))))) ;) (if_statement "if (entry == (conf_entry *)0x0) break;" if (parenthesized_expression "(entry == (conf_entry *)0x0)" ( (binary_expression "entry == (conf_entry *)0x0" identifier == (cast_expression "(conf_entry *)0x0" ( (type_descriptor "conf_entry *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (break_statement "break;" break ;)) (expression_statement "free_entry(entry);" (call_expression "free_entry(entry)" identifier (argument_list "(entry)" ( identifier ))) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void __regparm3 FUN_00018710(undefined4 *param_1)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  \n  uVar2 = 0x18719;\n  while( true ) {\n    iVar1 = FUN_00061600(*param_1,0);\n    if (iVar1 == 0) break;\n    FUN_00018640(uVar2);\n  }\n  return;\n}\n\n" (function_definition "void __regparm3 FUN_00018710(undefined4 *param_1)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  \n  uVar2 = 0x18719;\n  while( true ) {\n    iVar1 = FUN_00061600(*param_1,0);\n    if (iVar1 == 0) break;\n    FUN_00018640(uVar2);\n  }\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_00018710(undefined4 *param_1)" identifier (parameter_list "(undefined4 *param_1)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  \n  uVar2 = 0x18719;\n  while( true ) {\n    iVar1 = FUN_00061600(*param_1,0);\n    if (iVar1 == 0) break;\n    FUN_00018640(uVar2);\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (expression_statement "uVar2 = 0x18719;" (assignment_expression "uVar2 = 0x18719" identifier = number_literal) ;) (while_statement "while( true ) {\n    iVar1 = FUN_00061600(*param_1,0);\n    if (iVar1 == 0) break;\n    FUN_00018640(uVar2);\n  }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n    iVar1 = FUN_00061600(*param_1,0);\n    if (iVar1 == 0) break;\n    FUN_00018640(uVar2);\n  }" { (expression_statement "iVar1 = FUN_00061600(*param_1,0);" (assignment_expression "iVar1 = FUN_00061600(*param_1,0)" identifier = (call_expression "FUN_00061600(*param_1,0)" identifier (argument_list "(*param_1,0)" ( (pointer_expression "*param_1" * identifier) , number_literal )))) ;) (if_statement "if (iVar1 == 0) break;" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "FUN_00018640(uVar2);" (call_expression "FUN_00018640(uVar2)" identifier (argument_list "(uVar2)" ( identifier ))) ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * IDENT) , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (break_statement break ;)) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) })) (return_statement return ;) })))
(function_definition "void __regparm3 FUN_00018710(undefined4 *param_1)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  \n  uVar2 = 0x18719;\n  while( true ) {\n    iVar1 = FUN_00061600(*param_1,0);\n    if (iVar1 == 0) break;\n    FUN_00018640(uVar2);\n  }\n  return;\n}" (primitive_type "void") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_00018710(undefined4 *param_1)" (identifier "FUN_00018710") (parameter_list "(undefined4 *param_1)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  \n  uVar2 = 0x18719;\n  while( true ) {\n    iVar1 = FUN_00061600(*param_1,0);\n    if (iVar1 == 0) break;\n    FUN_00018640(uVar2);\n  }\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (expression_statement "uVar2 = 0x18719;" (assignment_expression "uVar2 = 0x18719" (identifier "uVar2") (= "=") (number_literal "0x18719")) (; ";")) (while_statement "while( true ) {\n    iVar1 = FUN_00061600(*param_1,0);\n    if (iVar1 == 0) break;\n    FUN_00018640(uVar2);\n  }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n    iVar1 = FUN_00061600(*param_1,0);\n    if (iVar1 == 0) break;\n    FUN_00018640(uVar2);\n  }" ({ "{") (expression_statement "iVar1 = FUN_00061600(*param_1,0);" (assignment_expression "iVar1 = FUN_00061600(*param_1,0)" (identifier "iVar1") (= "=") (call_expression "FUN_00061600(*param_1,0)" (identifier "FUN_00061600") (argument_list "(*param_1,0)" (( "(") (pointer_expression "*param_1" (* "*") (identifier "param_1")) (, ",") (number_literal "0") () ")")))) (; ";")) (if_statement "if (iVar1 == 0) break;" (if "if") (parenthesized_expression "(iVar1 == 0)" (( "(") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "FUN_00018640(uVar2);" (call_expression "FUN_00018640(uVar2)" (identifier "FUN_00018640") (argument_list "(uVar2)" (( "(") (identifier "uVar2") () ")"))) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

void __regparm3 function_1(type_1 *conf)

{
  type_2 *var_2;
  
  while( true ) {
    var_2 = (type_2 *)var_1(conf->tree,0);
    if (var_2 == (type_2 *)0x0) break;
    var_3(var_2);
  }
  return;
}


(translation_unit (function_definition type: (primitive_type) (ERROR (identifier)) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (while_statement condition: (parenthesized_expression (true)) body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (identifier)) (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (break_statement)) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))))) (return_statement))))

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

void __regparm3 MASKED(undefined4 *param_1)

{
  int iVar1;
  undefined4 uVar2;
  
  uVar2 = 0x18719;
  while( true ) {
    iVar1 = FUN_00061600(*param_1,0);
    if (iVar1 == 0) break;
    FUN_00018640(uVar2);
  }
  return;
}

