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

Filename * filename_copy(Filename *fn)

{
  Filename *pFVar1;
  char *pcVar2;
  
  pcVar2 = fn->path;
  pFVar1 = (Filename *)safemalloc(1,4);
  pcVar2 = dupstr(pcVar2);
  pFVar1->path = pcVar2;
  return pFVar1;
}



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

undefined4 * FUN_00083d30(undefined4 *param_1)

{
  undefined4 *puVar1;
  undefined4 uVar2;
  
  uVar2 = *param_1;
  puVar1 = (undefined4 *)FUN_0001db90(1,4);
  uVar2 = FUN_0001cbd0(uVar2);
  *puVar1 = uVar2;
  return puVar1;
}


PUSH EDI
PUSH ESI
PUSH EBX
MOV EAX,dword ptr [ESP + 0x10]
CALL 0x000149a0
ADD EBX,0x4c054
MOV EDI,dword ptr [EAX]
SUB ESP,0x8
PUSH 0x4
PUSH 0x1
CALL 0x0001db90
MOV dword ptr [ESP],EDI
MOV ESI,EAX
CALL 0x0001cbd0
ADD ESP,0x10
MOV dword ptr [ESI],EAX
MOV EAX,ESI
POP EBX
POP ESI
POP EDI
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nundefined4 * FUN_00083d30(undefined4 *param_1)\n\n{\n  undefined4 *puVar1;\n  undefined4 uVar2;\n  \n  uVar2 = *param_1;\n  puVar1 = (undefined4 *)FUN_0001db90(1,4);\n  uVar2 = FUN_0001cbd0(uVar2);\n  *puVar1 = uVar2;\n  return puVar1;\n}\n\n" comment (function_definition "undefined4 * FUN_00083d30(undefined4 *param_1)\n\n{\n  undefined4 *puVar1;\n  undefined4 uVar2;\n  \n  uVar2 = *param_1;\n  puVar1 = (undefined4 *)FUN_0001db90(1,4);\n  uVar2 = FUN_0001cbd0(uVar2);\n  *puVar1 = uVar2;\n  return puVar1;\n}" type_identifier (pointer_declarator "* FUN_00083d30(undefined4 *param_1)" * (function_declarator "FUN_00083d30(undefined4 *param_1)" identifier (parameter_list "(undefined4 *param_1)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) )))) (compound_statement "{\n  undefined4 *puVar1;\n  undefined4 uVar2;\n  \n  uVar2 = *param_1;\n  puVar1 = (undefined4 *)FUN_0001db90(1,4);\n  uVar2 = FUN_0001cbd0(uVar2);\n  *puVar1 = uVar2;\n  return puVar1;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (expression_statement "uVar2 = *param_1;" (assignment_expression "uVar2 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "puVar1 = (undefined4 *)FUN_0001db90(1,4);" (assignment_expression "puVar1 = (undefined4 *)FUN_0001db90(1,4)" identifier = (cast_expression "(undefined4 *)FUN_0001db90(1,4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0001db90(1,4)" identifier (argument_list "(1,4)" ( number_literal , number_literal ))))) ;) (expression_statement "uVar2 = FUN_0001cbd0(uVar2);" (assignment_expression "uVar2 = FUN_0001cbd0(uVar2)" identifier = (call_expression "FUN_0001cbd0(uVar2)" identifier (argument_list "(uVar2)" ( identifier )))) ;) (expression_statement "*puVar1 = uVar2;" (assignment_expression "*puVar1 = uVar2" (pointer_expression "*puVar1" * identifier) = identifier) ;) (return_statement "return puVar1;" return identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n\nFilename * filename_copy(Filename *fn)\n\n{\n  Filename *pFVar1;\n  char *pcVar2;\n  \n  pcVar2 = fn->path;\n  pFVar1 = (Filename *)safemalloc(1,4);\n  pcVar2 = dupstr(pcVar2);\n  pFVar1->path = pcVar2;\n  return pFVar1;\n}\n\n" comment comment (function_definition "Filename * filename_copy(Filename *fn)\n\n{\n  Filename *pFVar1;\n  char *pcVar2;\n  \n  pcVar2 = fn->path;\n  pFVar1 = (Filename *)safemalloc(1,4);\n  pcVar2 = dupstr(pcVar2);\n  pFVar1->path = pcVar2;\n  return pFVar1;\n}" type_identifier (pointer_declarator "* filename_copy(Filename *fn)" * (function_declarator "filename_copy(Filename *fn)" identifier (parameter_list "(Filename *fn)" ( (parameter_declaration "Filename *fn" type_identifier (pointer_declarator "*fn" * identifier)) )))) (compound_statement "{\n  Filename *pFVar1;\n  char *pcVar2;\n  \n  pcVar2 = fn->path;\n  pFVar1 = (Filename *)safemalloc(1,4);\n  pcVar2 = dupstr(pcVar2);\n  pFVar1->path = pcVar2;\n  return pFVar1;\n}" { (declaration "Filename *pFVar1;" type_identifier (pointer_declarator "*pFVar1" * identifier) ;) (declaration "char *pcVar2;" primitive_type (pointer_declarator "*pcVar2" * identifier) ;) (expression_statement "pcVar2 = fn->path;" (assignment_expression "pcVar2 = fn->path" identifier = (field_expression "fn->path" identifier -> field_identifier)) ;) (expression_statement "pFVar1 = (Filename *)safemalloc(1,4);" (assignment_expression "pFVar1 = (Filename *)safemalloc(1,4)" identifier = (cast_expression "(Filename *)safemalloc(1,4)" ( (type_descriptor "Filename *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "safemalloc(1,4)" identifier (argument_list "(1,4)" ( number_literal , number_literal ))))) ;) (expression_statement "pcVar2 = dupstr(pcVar2);" (assignment_expression "pcVar2 = dupstr(pcVar2)" identifier = (call_expression "dupstr(pcVar2)" identifier (argument_list "(pcVar2)" ( identifier )))) ;) (expression_statement "pFVar1->path = pcVar2;" (assignment_expression "pFVar1->path = pcVar2" (field_expression "pFVar1->path" identifier -> field_identifier) = identifier) ;) (return_statement "return pFVar1;" return identifier ;) })))
(translation_unit "undefined4 * FUN_00083d30(undefined4 *param_1)\n\n{\n  undefined4 *puVar1;\n  undefined4 uVar2;\n  \n  uVar2 = *param_1;\n  puVar1 = (undefined4 *)FUN_0001db90(1,4);\n  uVar2 = FUN_0001cbd0(uVar2);\n  *puVar1 = uVar2;\n  return puVar1;\n}\n\n" (function_definition "undefined4 * FUN_00083d30(undefined4 *param_1)\n\n{\n  undefined4 *puVar1;\n  undefined4 uVar2;\n  \n  uVar2 = *param_1;\n  puVar1 = (undefined4 *)FUN_0001db90(1,4);\n  uVar2 = FUN_0001cbd0(uVar2);\n  *puVar1 = uVar2;\n  return puVar1;\n}" type_identifier (pointer_declarator "* FUN_00083d30(undefined4 *param_1)" * (function_declarator "FUN_00083d30(undefined4 *param_1)" identifier (parameter_list "(undefined4 *param_1)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) )))) (compound_statement "{\n  undefined4 *puVar1;\n  undefined4 uVar2;\n  \n  uVar2 = *param_1;\n  puVar1 = (undefined4 *)FUN_0001db90(1,4);\n  uVar2 = FUN_0001cbd0(uVar2);\n  *puVar1 = uVar2;\n  return puVar1;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (expression_statement "uVar2 = *param_1;" (assignment_expression "uVar2 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "puVar1 = (undefined4 *)FUN_0001db90(1,4);" (assignment_expression "puVar1 = (undefined4 *)FUN_0001db90(1,4)" identifier = (cast_expression "(undefined4 *)FUN_0001db90(1,4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0001db90(1,4)" identifier (argument_list "(1,4)" ( number_literal , number_literal ))))) ;) (expression_statement "uVar2 = FUN_0001cbd0(uVar2);" (assignment_expression "uVar2 = FUN_0001cbd0(uVar2)" identifier = (call_expression "FUN_0001cbd0(uVar2)" identifier (argument_list "(uVar2)" ( identifier )))) ;) (expression_statement "*puVar1 = uVar2;" (assignment_expression "*puVar1 = uVar2" (pointer_expression "*puVar1" * identifier) = identifier) ;) (return_statement "return puVar1;" return identifier ;) })))
(translation_unit (function_definition TYPE (pointer_declarator * (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) )))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( LIT , LIT ))))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (return_statement return IDENT ;) })))
(function_definition "undefined4 * FUN_00083d30(undefined4 *param_1)\n\n{\n  undefined4 *puVar1;\n  undefined4 uVar2;\n  \n  uVar2 = *param_1;\n  puVar1 = (undefined4 *)FUN_0001db90(1,4);\n  uVar2 = FUN_0001cbd0(uVar2);\n  *puVar1 = uVar2;\n  return puVar1;\n}" (type_identifier "undefined4") (pointer_declarator "* FUN_00083d30(undefined4 *param_1)" (* "*") (function_declarator "FUN_00083d30(undefined4 *param_1)" (identifier "FUN_00083d30") (parameter_list "(undefined4 *param_1)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")")))) (compound_statement "{\n  undefined4 *puVar1;\n  undefined4 uVar2;\n  \n  uVar2 = *param_1;\n  puVar1 = (undefined4 *)FUN_0001db90(1,4);\n  uVar2 = FUN_0001cbd0(uVar2);\n  *puVar1 = uVar2;\n  return puVar1;\n}" ({ "{") (declaration "undefined4 *puVar1;" (type_identifier "undefined4") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (expression_statement "uVar2 = *param_1;" (assignment_expression "uVar2 = *param_1" (identifier "uVar2") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (expression_statement "puVar1 = (undefined4 *)FUN_0001db90(1,4);" (assignment_expression "puVar1 = (undefined4 *)FUN_0001db90(1,4)" (identifier "puVar1") (= "=") (cast_expression "(undefined4 *)FUN_0001db90(1,4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_0001db90(1,4)" (identifier "FUN_0001db90") (argument_list "(1,4)" (( "(") (number_literal "1") (, ",") (number_literal "4") () ")"))))) (; ";")) (expression_statement "uVar2 = FUN_0001cbd0(uVar2);" (assignment_expression "uVar2 = FUN_0001cbd0(uVar2)" (identifier "uVar2") (= "=") (call_expression "FUN_0001cbd0(uVar2)" (identifier "FUN_0001cbd0") (argument_list "(uVar2)" (( "(") (identifier "uVar2") () ")")))) (; ";")) (expression_statement "*puVar1 = uVar2;" (assignment_expression "*puVar1 = uVar2" (pointer_expression "*puVar1" (* "*") (identifier "puVar1")) (= "=") (identifier "uVar2")) (; ";")) (return_statement "return puVar1;" (return "return") (identifier "puVar1") (; ";")) (} "}")))

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

type_1 * function_1(type_1 *fn)

{
  type_1 *pFVar1;
  char *pcVar2;
  
  pcVar2 = fn->path;
  pFVar1 = (type_1 *)var_1(1,4);
  pcVar2 = var_2(pcVar2);
  pFVar1->path = pcVar2;
  return pFVar1;
}


(translation_unit (function_definition type: (type_identifier) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (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: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (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) (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (return_statement (identifier)))))

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

undefined4 * MASKED(undefined4 *param_1)

{
  undefined4 *puVar1;
  undefined4 uVar2;
  
  uVar2 = *param_1;
  puVar1 = (undefined4 *)FUN_0001db90(1,4);
  uVar2 = FUN_0001cbd0(uVar2);
  *puVar1 = uVar2;
  return puVar1;
}

