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

void __regparm3 tzfree(timezone_t tz)

{
  tm_zone *ptVar1;
  
  if (tz != (timezone_t)0x0) {
    do {
      ptVar1 = tz->next;
      free(tz);
      tz = ptVar1;
    } while (ptVar1 != (tm_zone *)0x0);
  }
  return;
}



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

void __regparm3 FUN_00049ea0(int *param_1)

{
  int *piVar1;
  
  if (param_1 != (int *)0x0) {
    do {
      piVar1 = (int *)*param_1;
      free(param_1);
      param_1 = piVar1;
    } while (piVar1 != (int *)0x0);
  }
  return;
}


PUSH ESI
PUSH EBX
CALL 0x00014d70
ADD EBX,0x20e41
SUB ESP,0x4
TEST EAX,EAX
JZ 0x00049ecc
LEA ESI,[ESI]
SUB ESP,0xc
MOV ESI,dword ptr [EAX]
PUSH EAX
CALL 0x00014190
MOV EAX,ESI
ADD ESP,0x10
TEST ESI,ESI
JNZ 0x00049eb8
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_00049ea0(int *param_1)\n\n{\n  int *piVar1;\n  \n  if (param_1 != (int *)0x0) {\n    do {\n      piVar1 = (int *)*param_1;\n      free(param_1);\n      param_1 = piVar1;\n    } while (piVar1 != (int *)0x0);\n  }\n  return;\n}\n\n" comment (function_definition "void __regparm3 FUN_00049ea0(int *param_1)\n\n{\n  int *piVar1;\n  \n  if (param_1 != (int *)0x0) {\n    do {\n      piVar1 = (int *)*param_1;\n      free(param_1);\n      param_1 = piVar1;\n    } while (piVar1 != (int *)0x0);\n  }\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_00049ea0(int *param_1)" identifier (parameter_list "(int *param_1)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  int *piVar1;\n  \n  if (param_1 != (int *)0x0) {\n    do {\n      piVar1 = (int *)*param_1;\n      free(param_1);\n      param_1 = piVar1;\n    } while (piVar1 != (int *)0x0);\n  }\n  return;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (if_statement "if (param_1 != (int *)0x0) {\n    do {\n      piVar1 = (int *)*param_1;\n      free(param_1);\n      param_1 = piVar1;\n    } while (piVar1 != (int *)0x0);\n  }" if (parenthesized_expression "(param_1 != (int *)0x0)" ( (binary_expression "param_1 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    do {\n      piVar1 = (int *)*param_1;\n      free(param_1);\n      param_1 = piVar1;\n    } while (piVar1 != (int *)0x0);\n  }" { (do_statement "do {\n      piVar1 = (int *)*param_1;\n      free(param_1);\n      param_1 = piVar1;\n    } while (piVar1 != (int *)0x0);" do (compound_statement "{\n      piVar1 = (int *)*param_1;\n      free(param_1);\n      param_1 = piVar1;\n    }" { (expression_statement "piVar1 = (int *)*param_1;" (assignment_expression "piVar1 = (int *)*param_1" identifier = (cast_expression "(int *)*param_1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (expression_statement "free(param_1);" (call_expression "free(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (expression_statement "param_1 = piVar1;" (assignment_expression "param_1 = piVar1" identifier = identifier) ;) }) while (parenthesized_expression "(piVar1 != (int *)0x0)" ( (binary_expression "piVar1 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) })) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid __regparm3 tzfree(timezone_t tz)\n\n{\n  tm_zone *ptVar1;\n  \n  if (tz != (timezone_t)0x0) {\n    do {\n      ptVar1 = tz->next;\n      free(tz);\n      tz = ptVar1;\n    } while (ptVar1 != (tm_zone *)0x0);\n  }\n  return;\n}\n\n" comment (function_definition "void __regparm3 tzfree(timezone_t tz)\n\n{\n  tm_zone *ptVar1;\n  \n  if (tz != (timezone_t)0x0) {\n    do {\n      ptVar1 = tz->next;\n      free(tz);\n      tz = ptVar1;\n    } while (ptVar1 != (tm_zone *)0x0);\n  }\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "tzfree(timezone_t tz)" identifier (parameter_list "(timezone_t tz)" ( (parameter_declaration "timezone_t tz" type_identifier identifier) ))) (compound_statement "{\n  tm_zone *ptVar1;\n  \n  if (tz != (timezone_t)0x0) {\n    do {\n      ptVar1 = tz->next;\n      free(tz);\n      tz = ptVar1;\n    } while (ptVar1 != (tm_zone *)0x0);\n  }\n  return;\n}" { (declaration "tm_zone *ptVar1;" type_identifier (pointer_declarator "*ptVar1" * identifier) ;) (if_statement "if (tz != (timezone_t)0x0) {\n    do {\n      ptVar1 = tz->next;\n      free(tz);\n      tz = ptVar1;\n    } while (ptVar1 != (tm_zone *)0x0);\n  }" if (parenthesized_expression "(tz != (timezone_t)0x0)" ( (binary_expression "tz != (timezone_t)0x0" identifier != (cast_expression "(timezone_t)0x0" ( (type_descriptor "timezone_t" type_identifier) ) number_literal)) )) (compound_statement "{\n    do {\n      ptVar1 = tz->next;\n      free(tz);\n      tz = ptVar1;\n    } while (ptVar1 != (tm_zone *)0x0);\n  }" { (do_statement "do {\n      ptVar1 = tz->next;\n      free(tz);\n      tz = ptVar1;\n    } while (ptVar1 != (tm_zone *)0x0);" do (compound_statement "{\n      ptVar1 = tz->next;\n      free(tz);\n      tz = ptVar1;\n    }" { (expression_statement "ptVar1 = tz->next;" (assignment_expression "ptVar1 = tz->next" identifier = (field_expression "tz->next" identifier -> field_identifier)) ;) (expression_statement "free(tz);" (call_expression "free(tz)" identifier (argument_list "(tz)" ( identifier ))) ;) (expression_statement "tz = ptVar1;" (assignment_expression "tz = ptVar1" identifier = identifier) ;) }) while (parenthesized_expression "(ptVar1 != (tm_zone *)0x0)" ( (binary_expression "ptVar1 != (tm_zone *)0x0" identifier != (cast_expression "(tm_zone *)0x0" ( (type_descriptor "tm_zone *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void __regparm3 FUN_00049ea0(int *param_1)\n\n{\n  int *piVar1;\n  \n  if (param_1 != (int *)0x0) {\n    do {\n      piVar1 = (int *)*param_1;\n      free(param_1);\n      param_1 = piVar1;\n    } while (piVar1 != (int *)0x0);\n  }\n  return;\n}\n\n" (function_definition "void __regparm3 FUN_00049ea0(int *param_1)\n\n{\n  int *piVar1;\n  \n  if (param_1 != (int *)0x0) {\n    do {\n      piVar1 = (int *)*param_1;\n      free(param_1);\n      param_1 = piVar1;\n    } while (piVar1 != (int *)0x0);\n  }\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_00049ea0(int *param_1)" identifier (parameter_list "(int *param_1)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  int *piVar1;\n  \n  if (param_1 != (int *)0x0) {\n    do {\n      piVar1 = (int *)*param_1;\n      free(param_1);\n      param_1 = piVar1;\n    } while (piVar1 != (int *)0x0);\n  }\n  return;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (if_statement "if (param_1 != (int *)0x0) {\n    do {\n      piVar1 = (int *)*param_1;\n      free(param_1);\n      param_1 = piVar1;\n    } while (piVar1 != (int *)0x0);\n  }" if (parenthesized_expression "(param_1 != (int *)0x0)" ( (binary_expression "param_1 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    do {\n      piVar1 = (int *)*param_1;\n      free(param_1);\n      param_1 = piVar1;\n    } while (piVar1 != (int *)0x0);\n  }" { (do_statement "do {\n      piVar1 = (int *)*param_1;\n      free(param_1);\n      param_1 = piVar1;\n    } while (piVar1 != (int *)0x0);" do (compound_statement "{\n      piVar1 = (int *)*param_1;\n      free(param_1);\n      param_1 = piVar1;\n    }" { (expression_statement "piVar1 = (int *)*param_1;" (assignment_expression "piVar1 = (int *)*param_1" identifier = (cast_expression "(int *)*param_1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (expression_statement "free(param_1);" (call_expression "free(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (expression_statement "param_1 = piVar1;" (assignment_expression "param_1 = piVar1" identifier = identifier) ;) }) while (parenthesized_expression "(piVar1 != (int *)0x0)" ( (binary_expression "piVar1 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) })) (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 (pointer_declarator * IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) while (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) ;) })) (return_statement return ;) })))
(function_definition "void __regparm3 FUN_00049ea0(int *param_1)\n\n{\n  int *piVar1;\n  \n  if (param_1 != (int *)0x0) {\n    do {\n      piVar1 = (int *)*param_1;\n      free(param_1);\n      param_1 = piVar1;\n    } while (piVar1 != (int *)0x0);\n  }\n  return;\n}" (primitive_type "void") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_00049ea0(int *param_1)" (identifier "FUN_00049ea0") (parameter_list "(int *param_1)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  int *piVar1;\n  \n  if (param_1 != (int *)0x0) {\n    do {\n      piVar1 = (int *)*param_1;\n      free(param_1);\n      param_1 = piVar1;\n    } while (piVar1 != (int *)0x0);\n  }\n  return;\n}" ({ "{") (declaration "int *piVar1;" (primitive_type "int") (pointer_declarator "*piVar1" (* "*") (identifier "piVar1")) (; ";")) (if_statement "if (param_1 != (int *)0x0) {\n    do {\n      piVar1 = (int *)*param_1;\n      free(param_1);\n      param_1 = piVar1;\n    } while (piVar1 != (int *)0x0);\n  }" (if "if") (parenthesized_expression "(param_1 != (int *)0x0)" (( "(") (binary_expression "param_1 != (int *)0x0" (identifier "param_1") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    do {\n      piVar1 = (int *)*param_1;\n      free(param_1);\n      param_1 = piVar1;\n    } while (piVar1 != (int *)0x0);\n  }" ({ "{") (do_statement "do {\n      piVar1 = (int *)*param_1;\n      free(param_1);\n      param_1 = piVar1;\n    } while (piVar1 != (int *)0x0);" (do "do") (compound_statement "{\n      piVar1 = (int *)*param_1;\n      free(param_1);\n      param_1 = piVar1;\n    }" ({ "{") (expression_statement "piVar1 = (int *)*param_1;" (assignment_expression "piVar1 = (int *)*param_1" (identifier "piVar1") (= "=") (cast_expression "(int *)*param_1" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1")))) (; ";")) (expression_statement "free(param_1);" (call_expression "free(param_1)" (identifier "free") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")"))) (; ";")) (expression_statement "param_1 = piVar1;" (assignment_expression "param_1 = piVar1" (identifier "param_1") (= "=") (identifier "piVar1")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(piVar1 != (int *)0x0)" (( "(") (binary_expression "piVar1 != (int *)0x0" (identifier "piVar1") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (; ";")) (} "}"))) (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 var_1)

{
  type_2 *var_3;
  
  if (var_1 != (type_1)0x0) {
    do {
      var_3 = var_1->next;
      var_2(var_1);
      var_1 = var_3;
    } while (var_3 != (type_2 *)0x0);
  }
  return;
}


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

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

void __regparm3 MASKED(int *param_1)

{
  int *piVar1;
  
  if (param_1 != (int *)0x0) {
    do {
      piVar1 = (int *)*param_1;
      free(param_1);
      param_1 = piVar1;
    } while (piVar1 != (int *)0x0);
  }
  return;
}

