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

void __regparm3 maybe_add_to_list(acc_t **newentry,acc_t **list)

{
  acc_t *paVar1;
  acc_t *paVar2;
  
  paVar1 = *newentry;
  paVar2 = *list;
  if (paVar1 != (acc_t *)0x0) {
    if (paVar1->acc == (char *)0x0) {
      free(paVar1->host);
      paVar1->host = (char *)0x0;
      free(paVar1->acc);
      paVar1->acc = (char *)0x0;
      free(paVar1->passwd);
      paVar1->passwd = (char *)0x0;
      goto LAB_0003ba55;
    }
    paVar1->next = paVar2;
    paVar2 = paVar1;
  }
  paVar1 = (acc_t *)xmalloc(0x10);
LAB_0003ba55:
  paVar1->host = (char *)0x0;
  paVar1->acc = (char *)0x0;
  paVar1->passwd = (char *)0x0;
  paVar1->next = (_acc_t *)0x0;
  *newentry = paVar1;
  *list = paVar2;
  return;
}



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

void __regparm3 FUN_0003ba20(undefined4 *param_1,undefined4 *param_2)

{
  undefined4 *puVar1;
  undefined4 *puVar2;
  
  puVar1 = (undefined4 *)*param_1;
  puVar2 = (undefined4 *)*param_2;
  if (puVar1 != (undefined4 *)0x0) {
    if (puVar1[1] == 0) {
      free((void *)*puVar1);
      *puVar1 = 0;
      free((void *)puVar1[1]);
      puVar1[1] = 0;
      free((void *)puVar1[2]);
      puVar1[2] = 0;
      goto LAB_0003ba55;
    }
    puVar1[3] = puVar2;
    puVar2 = puVar1;
  }
  puVar1 = (undefined4 *)FUN_0005acb0(0x10);
LAB_0003ba55:
  *puVar1 = 0;
  puVar1[1] = 0;
  puVar1[2] = 0;
  puVar1[3] = 0;
  *param_1 = puVar1;
  *param_2 = puVar2;
  return;
}


PUSH EBP
MOV EBP,EAX
PUSH EDI
MOV EDI,EDX
PUSH ESI
PUSH EBX
CALL 0x00019070
ADD EBX,0x651a3
SUB ESP,0x1c
MOV ESI,dword ptr [EAX]
MOV EDX,dword ptr [EDX]
TEST ESI,ESI
JZ 0x0003ba80
MOV ECX,dword ptr [ESI + 0x4]
TEST ECX,ECX
JZ 0x0003ba88
MOV dword ptr [ESI + 0xc],EDX
SUB ESP,0xc
PUSH 0x10
CALL 0x0005acb0
ADD ESP,0x10
MOV dword ptr [EAX],0x0
MOV dword ptr [EAX + 0x4],0x0
MOV dword ptr [EAX + 0x8],0x0
MOV dword ptr [EAX + 0xc],0x0
MOV dword ptr [EBP],EAX
MOV dword ptr [EDI],ESI
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV ESI,EDX
JMP 0x0003ba48
MOV dword ptr [ESP + 0xc],EDX
SUB ESP,0xc
PUSH dword ptr [ESI]
CALL 0x00016670
MOV dword ptr [ESI],0x0
POP EAX
PUSH dword ptr [ESI + 0x4]
CALL 0x00016670
MOV dword ptr [ESI + 0x4],0x0
POP EDX
PUSH dword ptr [ESI + 0x8]
CALL 0x00016670
ADD ESP,0x10
MOV EDX,dword ptr [ESP + 0xc]
MOV EAX,ESI
MOV dword ptr [ESI + 0x8],0x0
MOV ESI,EDX
JMP 0x0003ba55
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid __regparm3 FUN_0003ba20(undefined4 *param_1,undefined4 *param_2)\n\n{\n  undefined4 *puVar1;\n  undefined4 *puVar2;\n  \n  puVar1 = (undefined4 *)*param_1;\n  puVar2 = (undefined4 *)*param_2;\n  if (puVar1 != (undefined4 *)0x0) {\n    if (puVar1[1] == 0) {\n      free((void *)*puVar1);\n      *puVar1 = 0;\n      free((void *)puVar1[1]);\n      puVar1[1] = 0;\n      free((void *)puVar1[2]);\n      puVar1[2] = 0;\n      goto LAB_0003ba55;\n    }\n    puVar1[3] = puVar2;\n    puVar2 = puVar1;\n  }\n  puVar1 = (undefined4 *)FUN_0005acb0(0x10);\nLAB_0003ba55:\n  *puVar1 = 0;\n  puVar1[1] = 0;\n  puVar1[2] = 0;\n  puVar1[3] = 0;\n  *param_1 = puVar1;\n  *param_2 = puVar2;\n  return;\n}\n\n" comment (function_definition "void __regparm3 FUN_0003ba20(undefined4 *param_1,undefined4 *param_2)\n\n{\n  undefined4 *puVar1;\n  undefined4 *puVar2;\n  \n  puVar1 = (undefined4 *)*param_1;\n  puVar2 = (undefined4 *)*param_2;\n  if (puVar1 != (undefined4 *)0x0) {\n    if (puVar1[1] == 0) {\n      free((void *)*puVar1);\n      *puVar1 = 0;\n      free((void *)puVar1[1]);\n      puVar1[1] = 0;\n      free((void *)puVar1[2]);\n      puVar1[2] = 0;\n      goto LAB_0003ba55;\n    }\n    puVar1[3] = puVar2;\n    puVar2 = puVar1;\n  }\n  puVar1 = (undefined4 *)FUN_0005acb0(0x10);\nLAB_0003ba55:\n  *puVar1 = 0;\n  puVar1[1] = 0;\n  puVar1[2] = 0;\n  puVar1[3] = 0;\n  *param_1 = puVar1;\n  *param_2 = puVar2;\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_0003ba20(undefined4 *param_1,undefined4 *param_2)" identifier (parameter_list "(undefined4 *param_1,undefined4 *param_2)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  undefined4 *puVar1;\n  undefined4 *puVar2;\n  \n  puVar1 = (undefined4 *)*param_1;\n  puVar2 = (undefined4 *)*param_2;\n  if (puVar1 != (undefined4 *)0x0) {\n    if (puVar1[1] == 0) {\n      free((void *)*puVar1);\n      *puVar1 = 0;\n      free((void *)puVar1[1]);\n      puVar1[1] = 0;\n      free((void *)puVar1[2]);\n      puVar1[2] = 0;\n      goto LAB_0003ba55;\n    }\n    puVar1[3] = puVar2;\n    puVar2 = puVar1;\n  }\n  puVar1 = (undefined4 *)FUN_0005acb0(0x10);\nLAB_0003ba55:\n  *puVar1 = 0;\n  puVar1[1] = 0;\n  puVar1[2] = 0;\n  puVar1[3] = 0;\n  *param_1 = puVar1;\n  *param_2 = puVar2;\n  return;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (expression_statement "puVar1 = (undefined4 *)*param_1;" (assignment_expression "puVar1 = (undefined4 *)*param_1" identifier = (cast_expression "(undefined4 *)*param_1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (expression_statement "puVar2 = (undefined4 *)*param_2;" (assignment_expression "puVar2 = (undefined4 *)*param_2" identifier = (cast_expression "(undefined4 *)*param_2" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_2" * identifier))) ;) (if_statement "if (puVar1 != (undefined4 *)0x0) {\n    if (puVar1[1] == 0) {\n      free((void *)*puVar1);\n      *puVar1 = 0;\n      free((void *)puVar1[1]);\n      puVar1[1] = 0;\n      free((void *)puVar1[2]);\n      puVar1[2] = 0;\n      goto LAB_0003ba55;\n    }\n    puVar1[3] = puVar2;\n    puVar2 = puVar1;\n  }" if (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)) )) (compound_statement "{\n    if (puVar1[1] == 0) {\n      free((void *)*puVar1);\n      *puVar1 = 0;\n      free((void *)puVar1[1]);\n      puVar1[1] = 0;\n      free((void *)puVar1[2]);\n      puVar1[2] = 0;\n      goto LAB_0003ba55;\n    }\n    puVar1[3] = puVar2;\n    puVar2 = puVar1;\n  }" { (if_statement "if (puVar1[1] == 0) {\n      free((void *)*puVar1);\n      *puVar1 = 0;\n      free((void *)puVar1[1]);\n      puVar1[1] = 0;\n      free((void *)puVar1[2]);\n      puVar1[2] = 0;\n      goto LAB_0003ba55;\n    }" if (parenthesized_expression "(puVar1[1] == 0)" ( (binary_expression "puVar1[1] == 0" (subscript_expression "puVar1[1]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n      free((void *)*puVar1);\n      *puVar1 = 0;\n      free((void *)puVar1[1]);\n      puVar1[1] = 0;\n      free((void *)puVar1[2]);\n      puVar1[2] = 0;\n      goto LAB_0003ba55;\n    }" { (expression_statement "free((void *)*puVar1);" (call_expression "free((void *)*puVar1)" identifier (argument_list "((void *)*puVar1)" ( (cast_expression "(void *)*puVar1" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar1" * identifier)) ))) ;) (expression_statement "*puVar1 = 0;" (assignment_expression "*puVar1 = 0" (pointer_expression "*puVar1" * identifier) = number_literal) ;) (expression_statement "free((void *)puVar1[1]);" (call_expression "free((void *)puVar1[1])" identifier (argument_list "((void *)puVar1[1])" ( (cast_expression "(void *)puVar1[1]" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar1[1]" identifier [ number_literal ])) ))) ;) (expression_statement "puVar1[1] = 0;" (assignment_expression "puVar1[1] = 0" (subscript_expression "puVar1[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "free((void *)puVar1[2]);" (call_expression "free((void *)puVar1[2])" identifier (argument_list "((void *)puVar1[2])" ( (cast_expression "(void *)puVar1[2]" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar1[2]" identifier [ number_literal ])) ))) ;) (expression_statement "puVar1[2] = 0;" (assignment_expression "puVar1[2] = 0" (subscript_expression "puVar1[2]" identifier [ number_literal ]) = number_literal) ;) (goto_statement "goto LAB_0003ba55;" goto statement_identifier ;) })) (expression_statement "puVar1[3] = puVar2;" (assignment_expression "puVar1[3] = puVar2" (subscript_expression "puVar1[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar2 = puVar1;" (assignment_expression "puVar2 = puVar1" identifier = identifier) ;) })) (expression_statement "puVar1 = (undefined4 *)FUN_0005acb0(0x10);" (assignment_expression "puVar1 = (undefined4 *)FUN_0005acb0(0x10)" identifier = (cast_expression "(undefined4 *)FUN_0005acb0(0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0005acb0(0x10)" identifier (argument_list "(0x10)" ( number_literal ))))) ;) (labeled_statement "LAB_0003ba55:\n  *puVar1 = 0;" statement_identifier : (expression_statement "*puVar1 = 0;" (assignment_expression "*puVar1 = 0" (pointer_expression "*puVar1" * identifier) = number_literal) ;)) (expression_statement "puVar1[1] = 0;" (assignment_expression "puVar1[1] = 0" (subscript_expression "puVar1[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar1[2] = 0;" (assignment_expression "puVar1[2] = 0" (subscript_expression "puVar1[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar1[3] = 0;" (assignment_expression "puVar1[3] = 0" (subscript_expression "puVar1[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*param_1 = puVar1;" (assignment_expression "*param_1 = puVar1" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "*param_2 = puVar2;" (assignment_expression "*param_2 = puVar2" (pointer_expression "*param_2" * identifier) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid __regparm3 maybe_add_to_list(acc_t **newentry,acc_t **list)\n\n{\n  acc_t *paVar1;\n  acc_t *paVar2;\n  \n  paVar1 = *newentry;\n  paVar2 = *list;\n  if (paVar1 != (acc_t *)0x0) {\n    if (paVar1->acc == (char *)0x0) {\n      free(paVar1->host);\n      paVar1->host = (char *)0x0;\n      free(paVar1->acc);\n      paVar1->acc = (char *)0x0;\n      free(paVar1->passwd);\n      paVar1->passwd = (char *)0x0;\n      goto LAB_0003ba55;\n    }\n    paVar1->next = paVar2;\n    paVar2 = paVar1;\n  }\n  paVar1 = (acc_t *)xmalloc(0x10);\nLAB_0003ba55:\n  paVar1->host = (char *)0x0;\n  paVar1->acc = (char *)0x0;\n  paVar1->passwd = (char *)0x0;\n  paVar1->next = (_acc_t *)0x0;\n  *newentry = paVar1;\n  *list = paVar2;\n  return;\n}\n\n" comment (function_definition "void __regparm3 maybe_add_to_list(acc_t **newentry,acc_t **list)\n\n{\n  acc_t *paVar1;\n  acc_t *paVar2;\n  \n  paVar1 = *newentry;\n  paVar2 = *list;\n  if (paVar1 != (acc_t *)0x0) {\n    if (paVar1->acc == (char *)0x0) {\n      free(paVar1->host);\n      paVar1->host = (char *)0x0;\n      free(paVar1->acc);\n      paVar1->acc = (char *)0x0;\n      free(paVar1->passwd);\n      paVar1->passwd = (char *)0x0;\n      goto LAB_0003ba55;\n    }\n    paVar1->next = paVar2;\n    paVar2 = paVar1;\n  }\n  paVar1 = (acc_t *)xmalloc(0x10);\nLAB_0003ba55:\n  paVar1->host = (char *)0x0;\n  paVar1->acc = (char *)0x0;\n  paVar1->passwd = (char *)0x0;\n  paVar1->next = (_acc_t *)0x0;\n  *newentry = paVar1;\n  *list = paVar2;\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "maybe_add_to_list(acc_t **newentry,acc_t **list)" identifier (parameter_list "(acc_t **newentry,acc_t **list)" ( (parameter_declaration "acc_t **newentry" type_identifier (pointer_declarator "**newentry" * (pointer_declarator "*newentry" * identifier))) , (parameter_declaration "acc_t **list" type_identifier (pointer_declarator "**list" * (pointer_declarator "*list" * identifier))) ))) (compound_statement "{\n  acc_t *paVar1;\n  acc_t *paVar2;\n  \n  paVar1 = *newentry;\n  paVar2 = *list;\n  if (paVar1 != (acc_t *)0x0) {\n    if (paVar1->acc == (char *)0x0) {\n      free(paVar1->host);\n      paVar1->host = (char *)0x0;\n      free(paVar1->acc);\n      paVar1->acc = (char *)0x0;\n      free(paVar1->passwd);\n      paVar1->passwd = (char *)0x0;\n      goto LAB_0003ba55;\n    }\n    paVar1->next = paVar2;\n    paVar2 = paVar1;\n  }\n  paVar1 = (acc_t *)xmalloc(0x10);\nLAB_0003ba55:\n  paVar1->host = (char *)0x0;\n  paVar1->acc = (char *)0x0;\n  paVar1->passwd = (char *)0x0;\n  paVar1->next = (_acc_t *)0x0;\n  *newentry = paVar1;\n  *list = paVar2;\n  return;\n}" { (declaration "acc_t *paVar1;" type_identifier (pointer_declarator "*paVar1" * identifier) ;) (declaration "acc_t *paVar2;" type_identifier (pointer_declarator "*paVar2" * identifier) ;) (expression_statement "paVar1 = *newentry;" (assignment_expression "paVar1 = *newentry" identifier = (pointer_expression "*newentry" * identifier)) ;) (expression_statement "paVar2 = *list;" (assignment_expression "paVar2 = *list" identifier = (pointer_expression "*list" * identifier)) ;) (if_statement "if (paVar1 != (acc_t *)0x0) {\n    if (paVar1->acc == (char *)0x0) {\n      free(paVar1->host);\n      paVar1->host = (char *)0x0;\n      free(paVar1->acc);\n      paVar1->acc = (char *)0x0;\n      free(paVar1->passwd);\n      paVar1->passwd = (char *)0x0;\n      goto LAB_0003ba55;\n    }\n    paVar1->next = paVar2;\n    paVar2 = paVar1;\n  }" if (parenthesized_expression "(paVar1 != (acc_t *)0x0)" ( (binary_expression "paVar1 != (acc_t *)0x0" identifier != (cast_expression "(acc_t *)0x0" ( (type_descriptor "acc_t *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    if (paVar1->acc == (char *)0x0) {\n      free(paVar1->host);\n      paVar1->host = (char *)0x0;\n      free(paVar1->acc);\n      paVar1->acc = (char *)0x0;\n      free(paVar1->passwd);\n      paVar1->passwd = (char *)0x0;\n      goto LAB_0003ba55;\n    }\n    paVar1->next = paVar2;\n    paVar2 = paVar1;\n  }" { (if_statement "if (paVar1->acc == (char *)0x0) {\n      free(paVar1->host);\n      paVar1->host = (char *)0x0;\n      free(paVar1->acc);\n      paVar1->acc = (char *)0x0;\n      free(paVar1->passwd);\n      paVar1->passwd = (char *)0x0;\n      goto LAB_0003ba55;\n    }" if (parenthesized_expression "(paVar1->acc == (char *)0x0)" ( (binary_expression "paVar1->acc == (char *)0x0" (field_expression "paVar1->acc" identifier -> field_identifier) == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      free(paVar1->host);\n      paVar1->host = (char *)0x0;\n      free(paVar1->acc);\n      paVar1->acc = (char *)0x0;\n      free(paVar1->passwd);\n      paVar1->passwd = (char *)0x0;\n      goto LAB_0003ba55;\n    }" { (expression_statement "free(paVar1->host);" (call_expression "free(paVar1->host)" identifier (argument_list "(paVar1->host)" ( (field_expression "paVar1->host" identifier -> field_identifier) ))) ;) (expression_statement "paVar1->host = (char *)0x0;" (assignment_expression "paVar1->host = (char *)0x0" (field_expression "paVar1->host" identifier -> field_identifier) = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "free(paVar1->acc);" (call_expression "free(paVar1->acc)" identifier (argument_list "(paVar1->acc)" ( (field_expression "paVar1->acc" identifier -> field_identifier) ))) ;) (expression_statement "paVar1->acc = (char *)0x0;" (assignment_expression "paVar1->acc = (char *)0x0" (field_expression "paVar1->acc" identifier -> field_identifier) = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "free(paVar1->passwd);" (call_expression "free(paVar1->passwd)" identifier (argument_list "(paVar1->passwd)" ( (field_expression "paVar1->passwd" identifier -> field_identifier) ))) ;) (expression_statement "paVar1->passwd = (char *)0x0;" (assignment_expression "paVar1->passwd = (char *)0x0" (field_expression "paVar1->passwd" identifier -> field_identifier) = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (goto_statement "goto LAB_0003ba55;" goto statement_identifier ;) })) (expression_statement "paVar1->next = paVar2;" (assignment_expression "paVar1->next = paVar2" (field_expression "paVar1->next" identifier -> field_identifier) = identifier) ;) (expression_statement "paVar2 = paVar1;" (assignment_expression "paVar2 = paVar1" identifier = identifier) ;) })) (expression_statement "paVar1 = (acc_t *)xmalloc(0x10);" (assignment_expression "paVar1 = (acc_t *)xmalloc(0x10)" identifier = (cast_expression "(acc_t *)xmalloc(0x10)" ( (type_descriptor "acc_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(0x10)" identifier (argument_list "(0x10)" ( number_literal ))))) ;) (labeled_statement "LAB_0003ba55:\n  paVar1->host = (char *)0x0;" statement_identifier : (expression_statement "paVar1->host = (char *)0x0;" (assignment_expression "paVar1->host = (char *)0x0" (field_expression "paVar1->host" identifier -> field_identifier) = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;)) (expression_statement "paVar1->acc = (char *)0x0;" (assignment_expression "paVar1->acc = (char *)0x0" (field_expression "paVar1->acc" identifier -> field_identifier) = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "paVar1->passwd = (char *)0x0;" (assignment_expression "paVar1->passwd = (char *)0x0" (field_expression "paVar1->passwd" identifier -> field_identifier) = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "paVar1->next = (_acc_t *)0x0;" (assignment_expression "paVar1->next = (_acc_t *)0x0" (field_expression "paVar1->next" identifier -> field_identifier) = (cast_expression "(_acc_t *)0x0" ( (type_descriptor "_acc_t *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "*newentry = paVar1;" (assignment_expression "*newentry = paVar1" (pointer_expression "*newentry" * identifier) = identifier) ;) (expression_statement "*list = paVar2;" (assignment_expression "*list = paVar2" (pointer_expression "*list" * identifier) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit "void __regparm3 FUN_0003ba20(undefined4 *param_1,undefined4 *param_2)\n\n{\n  undefined4 *puVar1;\n  undefined4 *puVar2;\n  \n  puVar1 = (undefined4 *)*param_1;\n  puVar2 = (undefined4 *)*param_2;\n  if (puVar1 != (undefined4 *)0x0) {\n    if (puVar1[1] == 0) {\n      free((void *)*puVar1);\n      *puVar1 = 0;\n      free((void *)puVar1[1]);\n      puVar1[1] = 0;\n      free((void *)puVar1[2]);\n      puVar1[2] = 0;\n      goto LAB_0003ba55;\n    }\n    puVar1[3] = puVar2;\n    puVar2 = puVar1;\n  }\n  puVar1 = (undefined4 *)FUN_0005acb0(0x10);\nLAB_0003ba55:\n  *puVar1 = 0;\n  puVar1[1] = 0;\n  puVar1[2] = 0;\n  puVar1[3] = 0;\n  *param_1 = puVar1;\n  *param_2 = puVar2;\n  return;\n}\n\n" (function_definition "void __regparm3 FUN_0003ba20(undefined4 *param_1,undefined4 *param_2)\n\n{\n  undefined4 *puVar1;\n  undefined4 *puVar2;\n  \n  puVar1 = (undefined4 *)*param_1;\n  puVar2 = (undefined4 *)*param_2;\n  if (puVar1 != (undefined4 *)0x0) {\n    if (puVar1[1] == 0) {\n      free((void *)*puVar1);\n      *puVar1 = 0;\n      free((void *)puVar1[1]);\n      puVar1[1] = 0;\n      free((void *)puVar1[2]);\n      puVar1[2] = 0;\n      goto LAB_0003ba55;\n    }\n    puVar1[3] = puVar2;\n    puVar2 = puVar1;\n  }\n  puVar1 = (undefined4 *)FUN_0005acb0(0x10);\nLAB_0003ba55:\n  *puVar1 = 0;\n  puVar1[1] = 0;\n  puVar1[2] = 0;\n  puVar1[3] = 0;\n  *param_1 = puVar1;\n  *param_2 = puVar2;\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_0003ba20(undefined4 *param_1,undefined4 *param_2)" identifier (parameter_list "(undefined4 *param_1,undefined4 *param_2)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  undefined4 *puVar1;\n  undefined4 *puVar2;\n  \n  puVar1 = (undefined4 *)*param_1;\n  puVar2 = (undefined4 *)*param_2;\n  if (puVar1 != (undefined4 *)0x0) {\n    if (puVar1[1] == 0) {\n      free((void *)*puVar1);\n      *puVar1 = 0;\n      free((void *)puVar1[1]);\n      puVar1[1] = 0;\n      free((void *)puVar1[2]);\n      puVar1[2] = 0;\n      goto LAB_0003ba55;\n    }\n    puVar1[3] = puVar2;\n    puVar2 = puVar1;\n  }\n  puVar1 = (undefined4 *)FUN_0005acb0(0x10);\nLAB_0003ba55:\n  *puVar1 = 0;\n  puVar1[1] = 0;\n  puVar1[2] = 0;\n  puVar1[3] = 0;\n  *param_1 = puVar1;\n  *param_2 = puVar2;\n  return;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (expression_statement "puVar1 = (undefined4 *)*param_1;" (assignment_expression "puVar1 = (undefined4 *)*param_1" identifier = (cast_expression "(undefined4 *)*param_1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (expression_statement "puVar2 = (undefined4 *)*param_2;" (assignment_expression "puVar2 = (undefined4 *)*param_2" identifier = (cast_expression "(undefined4 *)*param_2" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_2" * identifier))) ;) (if_statement "if (puVar1 != (undefined4 *)0x0) {\n    if (puVar1[1] == 0) {\n      free((void *)*puVar1);\n      *puVar1 = 0;\n      free((void *)puVar1[1]);\n      puVar1[1] = 0;\n      free((void *)puVar1[2]);\n      puVar1[2] = 0;\n      goto LAB_0003ba55;\n    }\n    puVar1[3] = puVar2;\n    puVar2 = puVar1;\n  }" if (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)) )) (compound_statement "{\n    if (puVar1[1] == 0) {\n      free((void *)*puVar1);\n      *puVar1 = 0;\n      free((void *)puVar1[1]);\n      puVar1[1] = 0;\n      free((void *)puVar1[2]);\n      puVar1[2] = 0;\n      goto LAB_0003ba55;\n    }\n    puVar1[3] = puVar2;\n    puVar2 = puVar1;\n  }" { (if_statement "if (puVar1[1] == 0) {\n      free((void *)*puVar1);\n      *puVar1 = 0;\n      free((void *)puVar1[1]);\n      puVar1[1] = 0;\n      free((void *)puVar1[2]);\n      puVar1[2] = 0;\n      goto LAB_0003ba55;\n    }" if (parenthesized_expression "(puVar1[1] == 0)" ( (binary_expression "puVar1[1] == 0" (subscript_expression "puVar1[1]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n      free((void *)*puVar1);\n      *puVar1 = 0;\n      free((void *)puVar1[1]);\n      puVar1[1] = 0;\n      free((void *)puVar1[2]);\n      puVar1[2] = 0;\n      goto LAB_0003ba55;\n    }" { (expression_statement "free((void *)*puVar1);" (call_expression "free((void *)*puVar1)" identifier (argument_list "((void *)*puVar1)" ( (cast_expression "(void *)*puVar1" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar1" * identifier)) ))) ;) (expression_statement "*puVar1 = 0;" (assignment_expression "*puVar1 = 0" (pointer_expression "*puVar1" * identifier) = number_literal) ;) (expression_statement "free((void *)puVar1[1]);" (call_expression "free((void *)puVar1[1])" identifier (argument_list "((void *)puVar1[1])" ( (cast_expression "(void *)puVar1[1]" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar1[1]" identifier [ number_literal ])) ))) ;) (expression_statement "puVar1[1] = 0;" (assignment_expression "puVar1[1] = 0" (subscript_expression "puVar1[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "free((void *)puVar1[2]);" (call_expression "free((void *)puVar1[2])" identifier (argument_list "((void *)puVar1[2])" ( (cast_expression "(void *)puVar1[2]" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar1[2]" identifier [ number_literal ])) ))) ;) (expression_statement "puVar1[2] = 0;" (assignment_expression "puVar1[2] = 0" (subscript_expression "puVar1[2]" identifier [ number_literal ]) = number_literal) ;) (goto_statement "goto LAB_0003ba55;" goto statement_identifier ;) })) (expression_statement "puVar1[3] = puVar2;" (assignment_expression "puVar1[3] = puVar2" (subscript_expression "puVar1[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar2 = puVar1;" (assignment_expression "puVar2 = puVar1" identifier = identifier) ;) })) (expression_statement "puVar1 = (undefined4 *)FUN_0005acb0(0x10);" (assignment_expression "puVar1 = (undefined4 *)FUN_0005acb0(0x10)" identifier = (cast_expression "(undefined4 *)FUN_0005acb0(0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0005acb0(0x10)" identifier (argument_list "(0x10)" ( number_literal ))))) ;) (labeled_statement "LAB_0003ba55:\n  *puVar1 = 0;" statement_identifier : (expression_statement "*puVar1 = 0;" (assignment_expression "*puVar1 = 0" (pointer_expression "*puVar1" * identifier) = number_literal) ;)) (expression_statement "puVar1[1] = 0;" (assignment_expression "puVar1[1] = 0" (subscript_expression "puVar1[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar1[2] = 0;" (assignment_expression "puVar1[2] = 0" (subscript_expression "puVar1[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar1[3] = 0;" (assignment_expression "puVar1[3] = 0" (subscript_expression "puVar1[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*param_1 = puVar1;" (assignment_expression "*param_1 = puVar1" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "*param_2 = puVar2;" (assignment_expression "*param_2 = puVar2" (pointer_expression "*param_2" * identifier) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT)) ))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])) ))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])) ))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( LIT ))))) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;)) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (return_statement return ;) })))
(function_definition "void __regparm3 FUN_0003ba20(undefined4 *param_1,undefined4 *param_2)\n\n{\n  undefined4 *puVar1;\n  undefined4 *puVar2;\n  \n  puVar1 = (undefined4 *)*param_1;\n  puVar2 = (undefined4 *)*param_2;\n  if (puVar1 != (undefined4 *)0x0) {\n    if (puVar1[1] == 0) {\n      free((void *)*puVar1);\n      *puVar1 = 0;\n      free((void *)puVar1[1]);\n      puVar1[1] = 0;\n      free((void *)puVar1[2]);\n      puVar1[2] = 0;\n      goto LAB_0003ba55;\n    }\n    puVar1[3] = puVar2;\n    puVar2 = puVar1;\n  }\n  puVar1 = (undefined4 *)FUN_0005acb0(0x10);\nLAB_0003ba55:\n  *puVar1 = 0;\n  puVar1[1] = 0;\n  puVar1[2] = 0;\n  puVar1[3] = 0;\n  *param_1 = puVar1;\n  *param_2 = puVar2;\n  return;\n}" (primitive_type "void") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_0003ba20(undefined4 *param_1,undefined4 *param_2)" (identifier "FUN_0003ba20") (parameter_list "(undefined4 *param_1,undefined4 *param_2)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "undefined4 *param_2" (type_identifier "undefined4") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")"))) (compound_statement "{\n  undefined4 *puVar1;\n  undefined4 *puVar2;\n  \n  puVar1 = (undefined4 *)*param_1;\n  puVar2 = (undefined4 *)*param_2;\n  if (puVar1 != (undefined4 *)0x0) {\n    if (puVar1[1] == 0) {\n      free((void *)*puVar1);\n      *puVar1 = 0;\n      free((void *)puVar1[1]);\n      puVar1[1] = 0;\n      free((void *)puVar1[2]);\n      puVar1[2] = 0;\n      goto LAB_0003ba55;\n    }\n    puVar1[3] = puVar2;\n    puVar2 = puVar1;\n  }\n  puVar1 = (undefined4 *)FUN_0005acb0(0x10);\nLAB_0003ba55:\n  *puVar1 = 0;\n  puVar1[1] = 0;\n  puVar1[2] = 0;\n  puVar1[3] = 0;\n  *param_1 = puVar1;\n  *param_2 = puVar2;\n  return;\n}" ({ "{") (declaration "undefined4 *puVar1;" (type_identifier "undefined4") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "undefined4 *puVar2;" (type_identifier "undefined4") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (expression_statement "puVar1 = (undefined4 *)*param_1;" (assignment_expression "puVar1 = (undefined4 *)*param_1" (identifier "puVar1") (= "=") (cast_expression "(undefined4 *)*param_1" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1")))) (; ";")) (expression_statement "puVar2 = (undefined4 *)*param_2;" (assignment_expression "puVar2 = (undefined4 *)*param_2" (identifier "puVar2") (= "=") (cast_expression "(undefined4 *)*param_2" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_2" (* "*") (identifier "param_2")))) (; ";")) (if_statement "if (puVar1 != (undefined4 *)0x0) {\n    if (puVar1[1] == 0) {\n      free((void *)*puVar1);\n      *puVar1 = 0;\n      free((void *)puVar1[1]);\n      puVar1[1] = 0;\n      free((void *)puVar1[2]);\n      puVar1[2] = 0;\n      goto LAB_0003ba55;\n    }\n    puVar1[3] = puVar2;\n    puVar2 = puVar1;\n  }" (if "if") (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"))) () ")")) (compound_statement "{\n    if (puVar1[1] == 0) {\n      free((void *)*puVar1);\n      *puVar1 = 0;\n      free((void *)puVar1[1]);\n      puVar1[1] = 0;\n      free((void *)puVar1[2]);\n      puVar1[2] = 0;\n      goto LAB_0003ba55;\n    }\n    puVar1[3] = puVar2;\n    puVar2 = puVar1;\n  }" ({ "{") (if_statement "if (puVar1[1] == 0) {\n      free((void *)*puVar1);\n      *puVar1 = 0;\n      free((void *)puVar1[1]);\n      puVar1[1] = 0;\n      free((void *)puVar1[2]);\n      puVar1[2] = 0;\n      goto LAB_0003ba55;\n    }" (if "if") (parenthesized_expression "(puVar1[1] == 0)" (( "(") (binary_expression "puVar1[1] == 0" (subscript_expression "puVar1[1]" (identifier "puVar1") ([ "[") (number_literal "1") (] "]")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      free((void *)*puVar1);\n      *puVar1 = 0;\n      free((void *)puVar1[1]);\n      puVar1[1] = 0;\n      free((void *)puVar1[2]);\n      puVar1[2] = 0;\n      goto LAB_0003ba55;\n    }" ({ "{") (expression_statement "free((void *)*puVar1);" (call_expression "free((void *)*puVar1)" (identifier "free") (argument_list "((void *)*puVar1)" (( "(") (cast_expression "(void *)*puVar1" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar1" (* "*") (identifier "puVar1"))) () ")"))) (; ";")) (expression_statement "*puVar1 = 0;" (assignment_expression "*puVar1 = 0" (pointer_expression "*puVar1" (* "*") (identifier "puVar1")) (= "=") (number_literal "0")) (; ";")) (expression_statement "free((void *)puVar1[1]);" (call_expression "free((void *)puVar1[1])" (identifier "free") (argument_list "((void *)puVar1[1])" (( "(") (cast_expression "(void *)puVar1[1]" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "puVar1[1]" (identifier "puVar1") ([ "[") (number_literal "1") (] "]"))) () ")"))) (; ";")) (expression_statement "puVar1[1] = 0;" (assignment_expression "puVar1[1] = 0" (subscript_expression "puVar1[1]" (identifier "puVar1") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "free((void *)puVar1[2]);" (call_expression "free((void *)puVar1[2])" (identifier "free") (argument_list "((void *)puVar1[2])" (( "(") (cast_expression "(void *)puVar1[2]" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "puVar1[2]" (identifier "puVar1") ([ "[") (number_literal "2") (] "]"))) () ")"))) (; ";")) (expression_statement "puVar1[2] = 0;" (assignment_expression "puVar1[2] = 0" (subscript_expression "puVar1[2]" (identifier "puVar1") ([ "[") (number_literal "2") (] "]")) (= "=") (number_literal "0")) (; ";")) (goto_statement "goto LAB_0003ba55;" (goto "goto") (statement_identifier "LAB_0003ba55") (; ";")) (} "}"))) (expression_statement "puVar1[3] = puVar2;" (assignment_expression "puVar1[3] = puVar2" (subscript_expression "puVar1[3]" (identifier "puVar1") ([ "[") (number_literal "3") (] "]")) (= "=") (identifier "puVar2")) (; ";")) (expression_statement "puVar2 = puVar1;" (assignment_expression "puVar2 = puVar1" (identifier "puVar2") (= "=") (identifier "puVar1")) (; ";")) (} "}"))) (expression_statement "puVar1 = (undefined4 *)FUN_0005acb0(0x10);" (assignment_expression "puVar1 = (undefined4 *)FUN_0005acb0(0x10)" (identifier "puVar1") (= "=") (cast_expression "(undefined4 *)FUN_0005acb0(0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_0005acb0(0x10)" (identifier "FUN_0005acb0") (argument_list "(0x10)" (( "(") (number_literal "0x10") () ")"))))) (; ";")) (labeled_statement "LAB_0003ba55:\n  *puVar1 = 0;" (statement_identifier "LAB_0003ba55") (: ":") (expression_statement "*puVar1 = 0;" (assignment_expression "*puVar1 = 0" (pointer_expression "*puVar1" (* "*") (identifier "puVar1")) (= "=") (number_literal "0")) (; ";"))) (expression_statement "puVar1[1] = 0;" (assignment_expression "puVar1[1] = 0" (subscript_expression "puVar1[1]" (identifier "puVar1") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar1[2] = 0;" (assignment_expression "puVar1[2] = 0" (subscript_expression "puVar1[2]" (identifier "puVar1") ([ "[") (number_literal "2") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar1[3] = 0;" (assignment_expression "puVar1[3] = 0" (subscript_expression "puVar1[3]" (identifier "puVar1") ([ "[") (number_literal "3") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "*param_1 = puVar1;" (assignment_expression "*param_1 = puVar1" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (identifier "puVar1")) (; ";")) (expression_statement "*param_2 = puVar2;" (assignment_expression "*param_2 = puVar2" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (identifier "puVar2")) (; ";")) (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 **newentry,type_1 **list)

{
  type_1 *var_1;
  type_1 *paVar2;
  
  var_1 = *newentry;
  paVar2 = *list;
  if (var_1 != (type_1 *)0x0) {
    if (var_1->acc == (char *)0x0) {
      var_2(var_1->host);
      var_1->host = (char *)0x0;
      var_2(var_1->acc);
      var_1->acc = (char *)0x0;
      var_2(var_1->passwd);
      var_1->passwd = (char *)0x0;
      goto LAB_0003ba55;
    }
    var_1->next = paVar2;
    paVar2 = var_1;
  }
  var_1 = (type_1 *)var_3(0x10);
LAB_0003ba55:
  var_1->host = (char *)0x0;
  var_1->acc = (char *)0x0;
  var_1->passwd = (char *)0x0;
  var_1->next = (type_2 *)0x0;
  *newentry = var_1;
  *list = paVar2;
  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))) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) 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: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (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 (if_statement condition: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) consequence: (compound_statement (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 (assignment_expression left: (pointer_expression argument: (identifier)) right: (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 (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (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 (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (goto_statement label: (statement_identifier)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list (number_literal)))))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (return_statement))))

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

void __regparm3 MASKED(undefined4 *param_1,undefined4 *param_2)

{
  undefined4 *puVar1;
  undefined4 *puVar2;
  
  puVar1 = (undefined4 *)*param_1;
  puVar2 = (undefined4 *)*param_2;
  if (puVar1 != (undefined4 *)0x0) {
    if (puVar1[1] == 0) {
      free((void *)*puVar1);
      *puVar1 = 0;
      free((void *)puVar1[1]);
      puVar1[1] = 0;
      free((void *)puVar1[2]);
      puVar1[2] = 0;
      goto LAB_0003ba55;
    }
    puVar1[3] = puVar2;
    puVar2 = puVar1;
  }
  puVar1 = (undefined4 *)FUN_0005acb0(0x10);
LAB_0003ba55:
  *puVar1 = 0;
  puVar1[1] = 0;
  puVar1[2] = 0;
  puVar1[3] = 0;
  *param_1 = puVar1;
  *param_2 = puVar2;
  return;
}

