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

char * make_tempdir(char *filename)

{
  char *pcVar1;
  
  pcVar1 = template_in_dir(filename);
  pcVar1 = mkdtemp(pcVar1);
  return pcVar1;
}



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

void FUN_0002d0f0(void)

{
  char *__template;
  
  __template = (char *)FUN_0002c500();
  mkdtemp(__template);
  return;
}


PUSH EBX
CALL 0x000166c0
ADD EBX,0x12f0a
SUB ESP,0x8
MOV EAX,dword ptr [ESP + 0x10]
CALL 0x0002c500
SUB ESP,0xc
PUSH EAX
CALL 0x00013780
ADD ESP,0x18
POP EBX
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_0002d0f0(void)\n\n{\n  char *__template;\n  \n  __template = (char *)FUN_0002c500();\n  mkdtemp(__template);\n  return;\n}\n\n" comment (function_definition "void FUN_0002d0f0(void)\n\n{\n  char *__template;\n  \n  __template = (char *)FUN_0002c500();\n  mkdtemp(__template);\n  return;\n}" primitive_type (function_declarator "FUN_0002d0f0(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  char *__template;\n  \n  __template = (char *)FUN_0002c500();\n  mkdtemp(__template);\n  return;\n}" { (declaration "char *__template;" primitive_type (pointer_declarator "*__template" * identifier) ;) (expression_statement "__template = (char *)FUN_0002c500();" (assignment_expression "__template = (char *)FUN_0002c500()" identifier = (cast_expression "(char *)FUN_0002c500()" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0002c500()" identifier (argument_list "()" ( ))))) ;) (expression_statement "mkdtemp(__template);" (call_expression "mkdtemp(__template)" identifier (argument_list "(__template)" ( identifier ))) ;) (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 */\n\nchar * make_tempdir(char *filename)\n\n{\n  char *pcVar1;\n  \n  pcVar1 = template_in_dir(filename);\n  pcVar1 = mkdtemp(pcVar1);\n  return pcVar1;\n}\n\n" comment comment (function_definition "char * make_tempdir(char *filename)\n\n{\n  char *pcVar1;\n  \n  pcVar1 = template_in_dir(filename);\n  pcVar1 = mkdtemp(pcVar1);\n  return pcVar1;\n}" primitive_type (pointer_declarator "* make_tempdir(char *filename)" * (function_declarator "make_tempdir(char *filename)" identifier (parameter_list "(char *filename)" ( (parameter_declaration "char *filename" primitive_type (pointer_declarator "*filename" * identifier)) )))) (compound_statement "{\n  char *pcVar1;\n  \n  pcVar1 = template_in_dir(filename);\n  pcVar1 = mkdtemp(pcVar1);\n  return pcVar1;\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (expression_statement "pcVar1 = template_in_dir(filename);" (assignment_expression "pcVar1 = template_in_dir(filename)" identifier = (call_expression "template_in_dir(filename)" identifier (argument_list "(filename)" ( identifier )))) ;) (expression_statement "pcVar1 = mkdtemp(pcVar1);" (assignment_expression "pcVar1 = mkdtemp(pcVar1)" identifier = (call_expression "mkdtemp(pcVar1)" identifier (argument_list "(pcVar1)" ( identifier )))) ;) (return_statement "return pcVar1;" return identifier ;) })))
(translation_unit "void FUN_0002d0f0(void)\n\n{\n  char *__template;\n  \n  __template = (char *)FUN_0002c500();\n  mkdtemp(__template);\n  return;\n}\n\n" (function_definition "void FUN_0002d0f0(void)\n\n{\n  char *__template;\n  \n  __template = (char *)FUN_0002c500();\n  mkdtemp(__template);\n  return;\n}" primitive_type (function_declarator "FUN_0002d0f0(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  char *__template;\n  \n  __template = (char *)FUN_0002c500();\n  mkdtemp(__template);\n  return;\n}" { (declaration "char *__template;" primitive_type (pointer_declarator "*__template" * identifier) ;) (expression_statement "__template = (char *)FUN_0002c500();" (assignment_expression "__template = (char *)FUN_0002c500()" identifier = (cast_expression "(char *)FUN_0002c500()" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0002c500()" identifier (argument_list "()" ( ))))) ;) (expression_statement "mkdtemp(__template);" (call_expression "mkdtemp(__template)" identifier (argument_list "(__template)" ( identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( ))))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (return_statement return ;) })))
(function_definition "void FUN_0002d0f0(void)\n\n{\n  char *__template;\n  \n  __template = (char *)FUN_0002c500();\n  mkdtemp(__template);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0002d0f0(void)" (identifier "FUN_0002d0f0") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  char *__template;\n  \n  __template = (char *)FUN_0002c500();\n  mkdtemp(__template);\n  return;\n}" ({ "{") (declaration "char *__template;" (primitive_type "char") (pointer_declarator "*__template" (* "*") (identifier "__template")) (; ";")) (expression_statement "__template = (char *)FUN_0002c500();" (assignment_expression "__template = (char *)FUN_0002c500()" (identifier "__template") (= "=") (cast_expression "(char *)FUN_0002c500()" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_0002c500()" (identifier "FUN_0002c500") (argument_list "()" (( "(") () ")"))))) (; ";")) (expression_statement "mkdtemp(__template);" (call_expression "mkdtemp(__template)" (identifier "mkdtemp") (argument_list "(__template)" (( "(") (identifier "__template") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

char * function_1(char *filename)

{
  char *pcVar1;
  
  pcVar1 = var_1(filename);
  pcVar1 = var_2(pcVar1);
  return pcVar1;
}


(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: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (return_statement))))

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

void MASKED(void)

{
  char *__template;
  
  __template = (char *)FUN_0002c500();
  mkdtemp(__template);
  return;
}

