
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention -- yet parameter storage is locked */

void netrc_cleanup(void)

{
  _acc_t *p_Var1;
  _acc_t *__ptr;
  
  __ptr = netrc_list;
  if (netrc_list != (acc_t *)0x0) {
    do {
      p_Var1 = __ptr->next;
      free(__ptr->acc);
      free(__ptr->passwd);
      free(__ptr->host);
      free(__ptr);
      __ptr = p_Var1;
    } while (p_Var1 != (_acc_t *)0x0);
  }
  processed_netrc = 0;
  return;
}



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

void FUN_0003c510(void)

{
  undefined4 *puVar1;
  undefined4 *__ptr;
  
  __ptr = DAT_000a84b4;
  if (DAT_000a84b4 != (undefined4 *)0x0) {
    do {
      puVar1 = (undefined4 *)__ptr[3];
      free((void *)__ptr[1]);
      free((void *)__ptr[2]);
      free((void *)*__ptr);
      free(__ptr);
      __ptr = puVar1;
    } while (puVar1 != (undefined4 *)0x0);
  }
  DAT_000a84b0 = 0;
  return;
}


PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00019070
ADD EBX,0x646b8
MOV ESI,dword ptr [EBX + 0x78e4]
TEST ESI,ESI
JZ 0x0003c560
LEA ESI,[ESI]
NOP
SUB ESP,0xc
MOV EDI,dword ptr [ESI + 0xc]
PUSH dword ptr [ESI + 0x4]
CALL 0x00016670
POP EAX
PUSH dword ptr [ESI + 0x8]
CALL 0x00016670
POP EDX
PUSH dword ptr [ESI]
CALL 0x00016670
MOV dword ptr [ESP],ESI
MOV ESI,EDI
CALL 0x00016670
ADD ESP,0x10
TEST EDI,EDI
JNZ 0x0003c530
MOV dword ptr [EBX + 0x78e0],0x0
POP EBX
POP ESI
POP EDI
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_0003c510(void)\n\n{\n  undefined4 *puVar1;\n  undefined4 *__ptr;\n  \n  __ptr = DAT_000a84b4;\n  if (DAT_000a84b4 != (undefined4 *)0x0) {\n    do {\n      puVar1 = (undefined4 *)__ptr[3];\n      free((void *)__ptr[1]);\n      free((void *)__ptr[2]);\n      free((void *)*__ptr);\n      free(__ptr);\n      __ptr = puVar1;\n    } while (puVar1 != (undefined4 *)0x0);\n  }\n  DAT_000a84b0 = 0;\n  return;\n}\n\n" comment (function_definition "void FUN_0003c510(void)\n\n{\n  undefined4 *puVar1;\n  undefined4 *__ptr;\n  \n  __ptr = DAT_000a84b4;\n  if (DAT_000a84b4 != (undefined4 *)0x0) {\n    do {\n      puVar1 = (undefined4 *)__ptr[3];\n      free((void *)__ptr[1]);\n      free((void *)__ptr[2]);\n      free((void *)*__ptr);\n      free(__ptr);\n      __ptr = puVar1;\n    } while (puVar1 != (undefined4 *)0x0);\n  }\n  DAT_000a84b0 = 0;\n  return;\n}" primitive_type (function_declarator "FUN_0003c510(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  undefined4 *puVar1;\n  undefined4 *__ptr;\n  \n  __ptr = DAT_000a84b4;\n  if (DAT_000a84b4 != (undefined4 *)0x0) {\n    do {\n      puVar1 = (undefined4 *)__ptr[3];\n      free((void *)__ptr[1]);\n      free((void *)__ptr[2]);\n      free((void *)*__ptr);\n      free(__ptr);\n      __ptr = puVar1;\n    } while (puVar1 != (undefined4 *)0x0);\n  }\n  DAT_000a84b0 = 0;\n  return;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined4 *__ptr;" type_identifier (pointer_declarator "*__ptr" * identifier) ;) (expression_statement "__ptr = DAT_000a84b4;" (assignment_expression "__ptr = DAT_000a84b4" identifier = identifier) ;) (if_statement "if (DAT_000a84b4 != (undefined4 *)0x0) {\n    do {\n      puVar1 = (undefined4 *)__ptr[3];\n      free((void *)__ptr[1]);\n      free((void *)__ptr[2]);\n      free((void *)*__ptr);\n      free(__ptr);\n      __ptr = puVar1;\n    } while (puVar1 != (undefined4 *)0x0);\n  }" if (parenthesized_expression "(DAT_000a84b4 != (undefined4 *)0x0)" ( (binary_expression "DAT_000a84b4 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    do {\n      puVar1 = (undefined4 *)__ptr[3];\n      free((void *)__ptr[1]);\n      free((void *)__ptr[2]);\n      free((void *)*__ptr);\n      free(__ptr);\n      __ptr = puVar1;\n    } while (puVar1 != (undefined4 *)0x0);\n  }" { (do_statement "do {\n      puVar1 = (undefined4 *)__ptr[3];\n      free((void *)__ptr[1]);\n      free((void *)__ptr[2]);\n      free((void *)*__ptr);\n      free(__ptr);\n      __ptr = puVar1;\n    } while (puVar1 != (undefined4 *)0x0);" do (compound_statement "{\n      puVar1 = (undefined4 *)__ptr[3];\n      free((void *)__ptr[1]);\n      free((void *)__ptr[2]);\n      free((void *)*__ptr);\n      free(__ptr);\n      __ptr = puVar1;\n    }" { (expression_statement "puVar1 = (undefined4 *)__ptr[3];" (assignment_expression "puVar1 = (undefined4 *)__ptr[3]" identifier = (cast_expression "(undefined4 *)__ptr[3]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "__ptr[3]" identifier [ number_literal ]))) ;) (expression_statement "free((void *)__ptr[1]);" (call_expression "free((void *)__ptr[1])" identifier (argument_list "((void *)__ptr[1])" ( (cast_expression "(void *)__ptr[1]" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "__ptr[1]" identifier [ number_literal ])) ))) ;) (expression_statement "free((void *)__ptr[2]);" (call_expression "free((void *)__ptr[2])" identifier (argument_list "((void *)__ptr[2])" ( (cast_expression "(void *)__ptr[2]" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "__ptr[2]" identifier [ number_literal ])) ))) ;) (expression_statement "free((void *)*__ptr);" (call_expression "free((void *)*__ptr)" identifier (argument_list "((void *)*__ptr)" ( (cast_expression "(void *)*__ptr" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*__ptr" * identifier)) ))) ;) (expression_statement "free(__ptr);" (call_expression "free(__ptr)" identifier (argument_list "(__ptr)" ( identifier ))) ;) (expression_statement "__ptr = puVar1;" (assignment_expression "__ptr = puVar1" identifier = identifier) ;) }) while (parenthesized_expression "(puVar1 != (undefined4 *)0x0)" ( (binary_expression "puVar1 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) })) (expression_statement "DAT_000a84b0 = 0;" (assignment_expression "DAT_000a84b0 = 0" identifier = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n\nvoid netrc_cleanup(void)\n\n{\n  _acc_t *p_Var1;\n  _acc_t *__ptr;\n  \n  __ptr = netrc_list;\n  if (netrc_list != (acc_t *)0x0) {\n    do {\n      p_Var1 = __ptr->next;\n      free(__ptr->acc);\n      free(__ptr->passwd);\n      free(__ptr->host);\n      free(__ptr);\n      __ptr = p_Var1;\n    } while (p_Var1 != (_acc_t *)0x0);\n  }\n  processed_netrc = 0;\n  return;\n}\n\n" comment comment (function_definition "void netrc_cleanup(void)\n\n{\n  _acc_t *p_Var1;\n  _acc_t *__ptr;\n  \n  __ptr = netrc_list;\n  if (netrc_list != (acc_t *)0x0) {\n    do {\n      p_Var1 = __ptr->next;\n      free(__ptr->acc);\n      free(__ptr->passwd);\n      free(__ptr->host);\n      free(__ptr);\n      __ptr = p_Var1;\n    } while (p_Var1 != (_acc_t *)0x0);\n  }\n  processed_netrc = 0;\n  return;\n}" primitive_type (function_declarator "netrc_cleanup(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  _acc_t *p_Var1;\n  _acc_t *__ptr;\n  \n  __ptr = netrc_list;\n  if (netrc_list != (acc_t *)0x0) {\n    do {\n      p_Var1 = __ptr->next;\n      free(__ptr->acc);\n      free(__ptr->passwd);\n      free(__ptr->host);\n      free(__ptr);\n      __ptr = p_Var1;\n    } while (p_Var1 != (_acc_t *)0x0);\n  }\n  processed_netrc = 0;\n  return;\n}" { (declaration "_acc_t *p_Var1;" type_identifier (pointer_declarator "*p_Var1" * identifier) ;) (declaration "_acc_t *__ptr;" type_identifier (pointer_declarator "*__ptr" * identifier) ;) (expression_statement "__ptr = netrc_list;" (assignment_expression "__ptr = netrc_list" identifier = identifier) ;) (if_statement "if (netrc_list != (acc_t *)0x0) {\n    do {\n      p_Var1 = __ptr->next;\n      free(__ptr->acc);\n      free(__ptr->passwd);\n      free(__ptr->host);\n      free(__ptr);\n      __ptr = p_Var1;\n    } while (p_Var1 != (_acc_t *)0x0);\n  }" if (parenthesized_expression "(netrc_list != (acc_t *)0x0)" ( (binary_expression "netrc_list != (acc_t *)0x0" identifier != (cast_expression "(acc_t *)0x0" ( (type_descriptor "acc_t *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    do {\n      p_Var1 = __ptr->next;\n      free(__ptr->acc);\n      free(__ptr->passwd);\n      free(__ptr->host);\n      free(__ptr);\n      __ptr = p_Var1;\n    } while (p_Var1 != (_acc_t *)0x0);\n  }" { (do_statement "do {\n      p_Var1 = __ptr->next;\n      free(__ptr->acc);\n      free(__ptr->passwd);\n      free(__ptr->host);\n      free(__ptr);\n      __ptr = p_Var1;\n    } while (p_Var1 != (_acc_t *)0x0);" do (compound_statement "{\n      p_Var1 = __ptr->next;\n      free(__ptr->acc);\n      free(__ptr->passwd);\n      free(__ptr->host);\n      free(__ptr);\n      __ptr = p_Var1;\n    }" { (expression_statement "p_Var1 = __ptr->next;" (assignment_expression "p_Var1 = __ptr->next" identifier = (field_expression "__ptr->next" identifier -> field_identifier)) ;) (expression_statement "free(__ptr->acc);" (call_expression "free(__ptr->acc)" identifier (argument_list "(__ptr->acc)" ( (field_expression "__ptr->acc" identifier -> field_identifier) ))) ;) (expression_statement "free(__ptr->passwd);" (call_expression "free(__ptr->passwd)" identifier (argument_list "(__ptr->passwd)" ( (field_expression "__ptr->passwd" identifier -> field_identifier) ))) ;) (expression_statement "free(__ptr->host);" (call_expression "free(__ptr->host)" identifier (argument_list "(__ptr->host)" ( (field_expression "__ptr->host" identifier -> field_identifier) ))) ;) (expression_statement "free(__ptr);" (call_expression "free(__ptr)" identifier (argument_list "(__ptr)" ( identifier ))) ;) (expression_statement "__ptr = p_Var1;" (assignment_expression "__ptr = p_Var1" identifier = identifier) ;) }) while (parenthesized_expression "(p_Var1 != (_acc_t *)0x0)" ( (binary_expression "p_Var1 != (_acc_t *)0x0" identifier != (cast_expression "(_acc_t *)0x0" ( (type_descriptor "_acc_t *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) })) (expression_statement "processed_netrc = 0;" (assignment_expression "processed_netrc = 0" identifier = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_0003c510(void)\n\n{\n  undefined4 *puVar1;\n  undefined4 *__ptr;\n  \n  __ptr = DAT_000a84b4;\n  if (DAT_000a84b4 != (undefined4 *)0x0) {\n    do {\n      puVar1 = (undefined4 *)__ptr[3];\n      free((void *)__ptr[1]);\n      free((void *)__ptr[2]);\n      free((void *)*__ptr);\n      free(__ptr);\n      __ptr = puVar1;\n    } while (puVar1 != (undefined4 *)0x0);\n  }\n  DAT_000a84b0 = 0;\n  return;\n}\n\n" (function_definition "void FUN_0003c510(void)\n\n{\n  undefined4 *puVar1;\n  undefined4 *__ptr;\n  \n  __ptr = DAT_000a84b4;\n  if (DAT_000a84b4 != (undefined4 *)0x0) {\n    do {\n      puVar1 = (undefined4 *)__ptr[3];\n      free((void *)__ptr[1]);\n      free((void *)__ptr[2]);\n      free((void *)*__ptr);\n      free(__ptr);\n      __ptr = puVar1;\n    } while (puVar1 != (undefined4 *)0x0);\n  }\n  DAT_000a84b0 = 0;\n  return;\n}" primitive_type (function_declarator "FUN_0003c510(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  undefined4 *puVar1;\n  undefined4 *__ptr;\n  \n  __ptr = DAT_000a84b4;\n  if (DAT_000a84b4 != (undefined4 *)0x0) {\n    do {\n      puVar1 = (undefined4 *)__ptr[3];\n      free((void *)__ptr[1]);\n      free((void *)__ptr[2]);\n      free((void *)*__ptr);\n      free(__ptr);\n      __ptr = puVar1;\n    } while (puVar1 != (undefined4 *)0x0);\n  }\n  DAT_000a84b0 = 0;\n  return;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined4 *__ptr;" type_identifier (pointer_declarator "*__ptr" * identifier) ;) (expression_statement "__ptr = DAT_000a84b4;" (assignment_expression "__ptr = DAT_000a84b4" identifier = identifier) ;) (if_statement "if (DAT_000a84b4 != (undefined4 *)0x0) {\n    do {\n      puVar1 = (undefined4 *)__ptr[3];\n      free((void *)__ptr[1]);\n      free((void *)__ptr[2]);\n      free((void *)*__ptr);\n      free(__ptr);\n      __ptr = puVar1;\n    } while (puVar1 != (undefined4 *)0x0);\n  }" if (parenthesized_expression "(DAT_000a84b4 != (undefined4 *)0x0)" ( (binary_expression "DAT_000a84b4 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    do {\n      puVar1 = (undefined4 *)__ptr[3];\n      free((void *)__ptr[1]);\n      free((void *)__ptr[2]);\n      free((void *)*__ptr);\n      free(__ptr);\n      __ptr = puVar1;\n    } while (puVar1 != (undefined4 *)0x0);\n  }" { (do_statement "do {\n      puVar1 = (undefined4 *)__ptr[3];\n      free((void *)__ptr[1]);\n      free((void *)__ptr[2]);\n      free((void *)*__ptr);\n      free(__ptr);\n      __ptr = puVar1;\n    } while (puVar1 != (undefined4 *)0x0);" do (compound_statement "{\n      puVar1 = (undefined4 *)__ptr[3];\n      free((void *)__ptr[1]);\n      free((void *)__ptr[2]);\n      free((void *)*__ptr);\n      free(__ptr);\n      __ptr = puVar1;\n    }" { (expression_statement "puVar1 = (undefined4 *)__ptr[3];" (assignment_expression "puVar1 = (undefined4 *)__ptr[3]" identifier = (cast_expression "(undefined4 *)__ptr[3]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "__ptr[3]" identifier [ number_literal ]))) ;) (expression_statement "free((void *)__ptr[1]);" (call_expression "free((void *)__ptr[1])" identifier (argument_list "((void *)__ptr[1])" ( (cast_expression "(void *)__ptr[1]" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "__ptr[1]" identifier [ number_literal ])) ))) ;) (expression_statement "free((void *)__ptr[2]);" (call_expression "free((void *)__ptr[2])" identifier (argument_list "((void *)__ptr[2])" ( (cast_expression "(void *)__ptr[2]" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "__ptr[2]" identifier [ number_literal ])) ))) ;) (expression_statement "free((void *)*__ptr);" (call_expression "free((void *)*__ptr)" identifier (argument_list "((void *)*__ptr)" ( (cast_expression "(void *)*__ptr" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*__ptr" * identifier)) ))) ;) (expression_statement "free(__ptr);" (call_expression "free(__ptr)" identifier (argument_list "(__ptr)" ( identifier ))) ;) (expression_statement "__ptr = puVar1;" (assignment_expression "__ptr = puVar1" identifier = identifier) ;) }) while (parenthesized_expression "(puVar1 != (undefined4 *)0x0)" ( (binary_expression "puVar1 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) })) (expression_statement "DAT_000a84b0 = 0;" (assignment_expression "DAT_000a84b0 = 0" identifier = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) ))) (compound_statement { (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 { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])) ))) ;) (expression_statement (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])) ))) ;) (expression_statement (call_expression IDENT (argument_list ( (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)) )) ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (return_statement return ;) })))
(function_definition "void FUN_0003c510(void)\n\n{\n  undefined4 *puVar1;\n  undefined4 *__ptr;\n  \n  __ptr = DAT_000a84b4;\n  if (DAT_000a84b4 != (undefined4 *)0x0) {\n    do {\n      puVar1 = (undefined4 *)__ptr[3];\n      free((void *)__ptr[1]);\n      free((void *)__ptr[2]);\n      free((void *)*__ptr);\n      free(__ptr);\n      __ptr = puVar1;\n    } while (puVar1 != (undefined4 *)0x0);\n  }\n  DAT_000a84b0 = 0;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0003c510(void)" (identifier "FUN_0003c510") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  undefined4 *puVar1;\n  undefined4 *__ptr;\n  \n  __ptr = DAT_000a84b4;\n  if (DAT_000a84b4 != (undefined4 *)0x0) {\n    do {\n      puVar1 = (undefined4 *)__ptr[3];\n      free((void *)__ptr[1]);\n      free((void *)__ptr[2]);\n      free((void *)*__ptr);\n      free(__ptr);\n      __ptr = puVar1;\n    } while (puVar1 != (undefined4 *)0x0);\n  }\n  DAT_000a84b0 = 0;\n  return;\n}" ({ "{") (declaration "undefined4 *puVar1;" (type_identifier "undefined4") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "undefined4 *__ptr;" (type_identifier "undefined4") (pointer_declarator "*__ptr" (* "*") (identifier "__ptr")) (; ";")) (expression_statement "__ptr = DAT_000a84b4;" (assignment_expression "__ptr = DAT_000a84b4" (identifier "__ptr") (= "=") (identifier "DAT_000a84b4")) (; ";")) (if_statement "if (DAT_000a84b4 != (undefined4 *)0x0) {\n    do {\n      puVar1 = (undefined4 *)__ptr[3];\n      free((void *)__ptr[1]);\n      free((void *)__ptr[2]);\n      free((void *)*__ptr);\n      free(__ptr);\n      __ptr = puVar1;\n    } while (puVar1 != (undefined4 *)0x0);\n  }" (if "if") (parenthesized_expression "(DAT_000a84b4 != (undefined4 *)0x0)" (( "(") (binary_expression "DAT_000a84b4 != (undefined4 *)0x0" (identifier "DAT_000a84b4") (!= "!=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    do {\n      puVar1 = (undefined4 *)__ptr[3];\n      free((void *)__ptr[1]);\n      free((void *)__ptr[2]);\n      free((void *)*__ptr);\n      free(__ptr);\n      __ptr = puVar1;\n    } while (puVar1 != (undefined4 *)0x0);\n  }" ({ "{") (do_statement "do {\n      puVar1 = (undefined4 *)__ptr[3];\n      free((void *)__ptr[1]);\n      free((void *)__ptr[2]);\n      free((void *)*__ptr);\n      free(__ptr);\n      __ptr = puVar1;\n    } while (puVar1 != (undefined4 *)0x0);" (do "do") (compound_statement "{\n      puVar1 = (undefined4 *)__ptr[3];\n      free((void *)__ptr[1]);\n      free((void *)__ptr[2]);\n      free((void *)*__ptr);\n      free(__ptr);\n      __ptr = puVar1;\n    }" ({ "{") (expression_statement "puVar1 = (undefined4 *)__ptr[3];" (assignment_expression "puVar1 = (undefined4 *)__ptr[3]" (identifier "puVar1") (= "=") (cast_expression "(undefined4 *)__ptr[3]" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "__ptr[3]" (identifier "__ptr") ([ "[") (number_literal "3") (] "]")))) (; ";")) (expression_statement "free((void *)__ptr[1]);" (call_expression "free((void *)__ptr[1])" (identifier "free") (argument_list "((void *)__ptr[1])" (( "(") (cast_expression "(void *)__ptr[1]" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "__ptr[1]" (identifier "__ptr") ([ "[") (number_literal "1") (] "]"))) () ")"))) (; ";")) (expression_statement "free((void *)__ptr[2]);" (call_expression "free((void *)__ptr[2])" (identifier "free") (argument_list "((void *)__ptr[2])" (( "(") (cast_expression "(void *)__ptr[2]" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "__ptr[2]" (identifier "__ptr") ([ "[") (number_literal "2") (] "]"))) () ")"))) (; ";")) (expression_statement "free((void *)*__ptr);" (call_expression "free((void *)*__ptr)" (identifier "free") (argument_list "((void *)*__ptr)" (( "(") (cast_expression "(void *)*__ptr" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*__ptr" (* "*") (identifier "__ptr"))) () ")"))) (; ";")) (expression_statement "free(__ptr);" (call_expression "free(__ptr)" (identifier "free") (argument_list "(__ptr)" (( "(") (identifier "__ptr") () ")"))) (; ";")) (expression_statement "__ptr = puVar1;" (assignment_expression "__ptr = puVar1" (identifier "__ptr") (= "=") (identifier "puVar1")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(puVar1 != (undefined4 *)0x0)" (( "(") (binary_expression "puVar1 != (undefined4 *)0x0" (identifier "puVar1") (!= "!=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (; ";")) (} "}"))) (expression_statement "DAT_000a84b0 = 0;" (assignment_expression "DAT_000a84b0 = 0" (identifier "DAT_000a84b0") (= "=") (number_literal "0")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention -- yet parameter storage is locked */

void function_1(void)

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


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

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

void MASKED(void)

{
  undefined4 *puVar1;
  undefined4 *__ptr;
  
  __ptr = DAT_000a84b4;
  if (DAT_000a84b4 != (undefined4 *)0x0) {
    do {
      puVar1 = (undefined4 *)__ptr[3];
      free((void *)__ptr[1]);
      free((void *)__ptr[2]);
      free((void *)*__ptr);
      free(__ptr);
      __ptr = puVar1;
    } while (puVar1 != (undefined4 *)0x0);
  }
  DAT_000a84b0 = 0;
  return;
}

