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

void s_print(int ignore)

{
  char *__s;
  int len;
  undefined4 uStack_8;
  
  uStack_8 = 0x328f6;
  __s = demand_copy_C_string(&len);
  if (__s != (char *)0x0) {
    puts(__s);
  }
  demand_empty_rest_of_line();
  return;
}



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

void FUN_000328f0(void)

{
  char *__s;
  undefined1 local_10 [8];
  undefined4 uStack_8;
  
  uStack_8 = 0x328f6;
  __s = (char *)FUN_00032880(local_10);
  if (__s != (char *)0x0) {
    puts(__s);
  }
  FUN_0002d190();
  return;
}


PUSH EBX
CALL 0x00015020
ADD EBX,0x3570a
SUB ESP,0x24
LEA EAX,[ESP + 0x18]
PUSH EAX
CALL 0x00032880
ADD ESP,0x10
TEST EAX,EAX
JZ 0x0003291c
SUB ESP,0xc
PUSH EAX
CALL 0x00013390
ADD ESP,0x10
CALL 0x0002d190
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_000328f0(void)\n\n{\n  char *__s;\n  undefined1 local_10 [8];\n  undefined4 uStack_8;\n  \n  uStack_8 = 0x328f6;\n  __s = (char *)FUN_00032880(local_10);\n  if (__s != (char *)0x0) {\n    puts(__s);\n  }\n  FUN_0002d190();\n  return;\n}\n\n" comment (function_definition "void FUN_000328f0(void)\n\n{\n  char *__s;\n  undefined1 local_10 [8];\n  undefined4 uStack_8;\n  \n  uStack_8 = 0x328f6;\n  __s = (char *)FUN_00032880(local_10);\n  if (__s != (char *)0x0) {\n    puts(__s);\n  }\n  FUN_0002d190();\n  return;\n}" primitive_type (function_declarator "FUN_000328f0(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  char *__s;\n  undefined1 local_10 [8];\n  undefined4 uStack_8;\n  \n  uStack_8 = 0x328f6;\n  __s = (char *)FUN_00032880(local_10);\n  if (__s != (char *)0x0) {\n    puts(__s);\n  }\n  FUN_0002d190();\n  return;\n}" { (declaration "char *__s;" primitive_type (pointer_declarator "*__s" * identifier) ;) (declaration "undefined1 local_10 [8];" type_identifier (array_declarator "local_10 [8]" identifier [ number_literal ]) ;) (declaration "undefined4 uStack_8;" type_identifier identifier ;) (expression_statement "uStack_8 = 0x328f6;" (assignment_expression "uStack_8 = 0x328f6" identifier = number_literal) ;) (expression_statement "__s = (char *)FUN_00032880(local_10);" (assignment_expression "__s = (char *)FUN_00032880(local_10)" identifier = (cast_expression "(char *)FUN_00032880(local_10)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00032880(local_10)" identifier (argument_list "(local_10)" ( identifier ))))) ;) (if_statement "if (__s != (char *)0x0) {\n    puts(__s);\n  }" if (parenthesized_expression "(__s != (char *)0x0)" ( (binary_expression "__s != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    puts(__s);\n  }" { (expression_statement "puts(__s);" (call_expression "puts(__s)" identifier (argument_list "(__s)" ( identifier ))) ;) })) (expression_statement "FUN_0002d190();" (call_expression "FUN_0002d190()" identifier (argument_list "()" ( ))) ;) (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\nvoid s_print(int ignore)\n\n{\n  char *__s;\n  int len;\n  undefined4 uStack_8;\n  \n  uStack_8 = 0x328f6;\n  __s = demand_copy_C_string(&len);\n  if (__s != (char *)0x0) {\n    puts(__s);\n  }\n  demand_empty_rest_of_line();\n  return;\n}\n\n" comment comment (function_definition "void s_print(int ignore)\n\n{\n  char *__s;\n  int len;\n  undefined4 uStack_8;\n  \n  uStack_8 = 0x328f6;\n  __s = demand_copy_C_string(&len);\n  if (__s != (char *)0x0) {\n    puts(__s);\n  }\n  demand_empty_rest_of_line();\n  return;\n}" primitive_type (function_declarator "s_print(int ignore)" identifier (parameter_list "(int ignore)" ( (parameter_declaration "int ignore" primitive_type identifier) ))) (compound_statement "{\n  char *__s;\n  int len;\n  undefined4 uStack_8;\n  \n  uStack_8 = 0x328f6;\n  __s = demand_copy_C_string(&len);\n  if (__s != (char *)0x0) {\n    puts(__s);\n  }\n  demand_empty_rest_of_line();\n  return;\n}" { (declaration "char *__s;" primitive_type (pointer_declarator "*__s" * identifier) ;) (declaration "int len;" primitive_type identifier ;) (declaration "undefined4 uStack_8;" type_identifier identifier ;) (expression_statement "uStack_8 = 0x328f6;" (assignment_expression "uStack_8 = 0x328f6" identifier = number_literal) ;) (expression_statement "__s = demand_copy_C_string(&len);" (assignment_expression "__s = demand_copy_C_string(&len)" identifier = (call_expression "demand_copy_C_string(&len)" identifier (argument_list "(&len)" ( (pointer_expression "&len" & identifier) )))) ;) (if_statement "if (__s != (char *)0x0) {\n    puts(__s);\n  }" if (parenthesized_expression "(__s != (char *)0x0)" ( (binary_expression "__s != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    puts(__s);\n  }" { (expression_statement "puts(__s);" (call_expression "puts(__s)" identifier (argument_list "(__s)" ( identifier ))) ;) })) (expression_statement "demand_empty_rest_of_line();" (call_expression "demand_empty_rest_of_line()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_000328f0(void)\n\n{\n  char *__s;\n  undefined1 local_10 [8];\n  undefined4 uStack_8;\n  \n  uStack_8 = 0x328f6;\n  __s = (char *)FUN_00032880(local_10);\n  if (__s != (char *)0x0) {\n    puts(__s);\n  }\n  FUN_0002d190();\n  return;\n}\n\n" (function_definition "void FUN_000328f0(void)\n\n{\n  char *__s;\n  undefined1 local_10 [8];\n  undefined4 uStack_8;\n  \n  uStack_8 = 0x328f6;\n  __s = (char *)FUN_00032880(local_10);\n  if (__s != (char *)0x0) {\n    puts(__s);\n  }\n  FUN_0002d190();\n  return;\n}" primitive_type (function_declarator "FUN_000328f0(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  char *__s;\n  undefined1 local_10 [8];\n  undefined4 uStack_8;\n  \n  uStack_8 = 0x328f6;\n  __s = (char *)FUN_00032880(local_10);\n  if (__s != (char *)0x0) {\n    puts(__s);\n  }\n  FUN_0002d190();\n  return;\n}" { (declaration "char *__s;" primitive_type (pointer_declarator "*__s" * identifier) ;) (declaration "undefined1 local_10 [8];" type_identifier (array_declarator "local_10 [8]" identifier [ number_literal ]) ;) (declaration "undefined4 uStack_8;" type_identifier identifier ;) (expression_statement "uStack_8 = 0x328f6;" (assignment_expression "uStack_8 = 0x328f6" identifier = number_literal) ;) (expression_statement "__s = (char *)FUN_00032880(local_10);" (assignment_expression "__s = (char *)FUN_00032880(local_10)" identifier = (cast_expression "(char *)FUN_00032880(local_10)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00032880(local_10)" identifier (argument_list "(local_10)" ( identifier ))))) ;) (if_statement "if (__s != (char *)0x0) {\n    puts(__s);\n  }" if (parenthesized_expression "(__s != (char *)0x0)" ( (binary_expression "__s != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    puts(__s);\n  }" { (expression_statement "puts(__s);" (call_expression "puts(__s)" identifier (argument_list "(__s)" ( identifier ))) ;) })) (expression_statement "FUN_0002d190();" (call_expression "FUN_0002d190()" identifier (argument_list "()" ( ))) ;) (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 (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) })) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (return_statement return ;) })))
(function_definition "void FUN_000328f0(void)\n\n{\n  char *__s;\n  undefined1 local_10 [8];\n  undefined4 uStack_8;\n  \n  uStack_8 = 0x328f6;\n  __s = (char *)FUN_00032880(local_10);\n  if (__s != (char *)0x0) {\n    puts(__s);\n  }\n  FUN_0002d190();\n  return;\n}" (primitive_type "void") (function_declarator "FUN_000328f0(void)" (identifier "FUN_000328f0") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  char *__s;\n  undefined1 local_10 [8];\n  undefined4 uStack_8;\n  \n  uStack_8 = 0x328f6;\n  __s = (char *)FUN_00032880(local_10);\n  if (__s != (char *)0x0) {\n    puts(__s);\n  }\n  FUN_0002d190();\n  return;\n}" ({ "{") (declaration "char *__s;" (primitive_type "char") (pointer_declarator "*__s" (* "*") (identifier "__s")) (; ";")) (declaration "undefined1 local_10 [8];" (type_identifier "undefined1") (array_declarator "local_10 [8]" (identifier "local_10") ([ "[") (number_literal "8") (] "]")) (; ";")) (declaration "undefined4 uStack_8;" (type_identifier "undefined4") (identifier "uStack_8") (; ";")) (expression_statement "uStack_8 = 0x328f6;" (assignment_expression "uStack_8 = 0x328f6" (identifier "uStack_8") (= "=") (number_literal "0x328f6")) (; ";")) (expression_statement "__s = (char *)FUN_00032880(local_10);" (assignment_expression "__s = (char *)FUN_00032880(local_10)" (identifier "__s") (= "=") (cast_expression "(char *)FUN_00032880(local_10)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_00032880(local_10)" (identifier "FUN_00032880") (argument_list "(local_10)" (( "(") (identifier "local_10") () ")"))))) (; ";")) (if_statement "if (__s != (char *)0x0) {\n    puts(__s);\n  }" (if "if") (parenthesized_expression "(__s != (char *)0x0)" (( "(") (binary_expression "__s != (char *)0x0" (identifier "__s") (!= "!=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    puts(__s);\n  }" ({ "{") (expression_statement "puts(__s);" (call_expression "puts(__s)" (identifier "puts") (argument_list "(__s)" (( "(") (identifier "__s") () ")"))) (; ";")) (} "}"))) (expression_statement "FUN_0002d190();" (call_expression "FUN_0002d190()" (identifier "FUN_0002d190") (argument_list "()" (( "(") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

void function_1(int ignore)

{
  char *var_2;
  int len;
  type_1 uStack_8;
  
  uStack_8 = 0x328f6;
  var_2 = var_1(&len);
  if (var_2 != (char *)0x0) {
    var_3(var_2);
  }
  var_4();
  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: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (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 (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 (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (return_statement))))

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

void MASKED(void)

{
  char *__s;
  undefined1 local_10 [8];
  undefined4 uStack_8;
  
  uStack_8 = 0x328f6;
  __s = (char *)FUN_00032880(local_10);
  if (__s != (char *)0x0) {
    puts(__s);
  }
  FUN_0002d190();
  return;
}

