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

void * zalloc(size_t size)

{
  void *__s;
  
  __s = xmalloc(size);
  memset(__s,0,size);
  return __s;
}



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

void * FUN_0001d920(size_t param_1)

{
  void *__s;
  
  __s = (void *)FUN_00023c60(param_1);
  memset(__s,0,param_1);
  return __s;
}


PUSH EDI
PUSH ESI
PUSH EBX
MOV EDI,dword ptr [ESP + 0x10]
CALL 0x00013b20
ADD EBX,0x2f6d4
SUB ESP,0xc
PUSH EDI
CALL 0x00023c60
ADD ESP,0xc
PUSH EDI
MOV ESI,EAX
PUSH 0x0
PUSH EAX
CALL 0x00012450
ADD ESP,0x10
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\nvoid * FUN_0001d920(size_t param_1)\n\n{\n  void *__s;\n  \n  __s = (void *)FUN_00023c60(param_1);\n  memset(__s,0,param_1);\n  return __s;\n}\n\n" comment (function_definition "void * FUN_0001d920(size_t param_1)\n\n{\n  void *__s;\n  \n  __s = (void *)FUN_00023c60(param_1);\n  memset(__s,0,param_1);\n  return __s;\n}" primitive_type (pointer_declarator "* FUN_0001d920(size_t param_1)" * (function_declarator "FUN_0001d920(size_t param_1)" identifier (parameter_list "(size_t param_1)" ( (parameter_declaration "size_t param_1" primitive_type identifier) )))) (compound_statement "{\n  void *__s;\n  \n  __s = (void *)FUN_00023c60(param_1);\n  memset(__s,0,param_1);\n  return __s;\n}" { (declaration "void *__s;" primitive_type (pointer_declarator "*__s" * identifier) ;) (expression_statement "__s = (void *)FUN_00023c60(param_1);" (assignment_expression "__s = (void *)FUN_00023c60(param_1)" identifier = (cast_expression "(void *)FUN_00023c60(param_1)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00023c60(param_1)" identifier (argument_list "(param_1)" ( identifier ))))) ;) (expression_statement "memset(__s,0,param_1);" (call_expression "memset(__s,0,param_1)" identifier (argument_list "(__s,0,param_1)" ( identifier , number_literal , identifier ))) ;) (return_statement "return __s;" return identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n\nvoid * zalloc(size_t size)\n\n{\n  void *__s;\n  \n  __s = xmalloc(size);\n  memset(__s,0,size);\n  return __s;\n}\n\n" comment comment (function_definition "void * zalloc(size_t size)\n\n{\n  void *__s;\n  \n  __s = xmalloc(size);\n  memset(__s,0,size);\n  return __s;\n}" primitive_type (pointer_declarator "* zalloc(size_t size)" * (function_declarator "zalloc(size_t size)" identifier (parameter_list "(size_t size)" ( (parameter_declaration "size_t size" primitive_type identifier) )))) (compound_statement "{\n  void *__s;\n  \n  __s = xmalloc(size);\n  memset(__s,0,size);\n  return __s;\n}" { (declaration "void *__s;" primitive_type (pointer_declarator "*__s" * identifier) ;) (expression_statement "__s = xmalloc(size);" (assignment_expression "__s = xmalloc(size)" identifier = (call_expression "xmalloc(size)" identifier (argument_list "(size)" ( identifier )))) ;) (expression_statement "memset(__s,0,size);" (call_expression "memset(__s,0,size)" identifier (argument_list "(__s,0,size)" ( identifier , number_literal , identifier ))) ;) (return_statement "return __s;" return identifier ;) })))
(translation_unit "void * FUN_0001d920(size_t param_1)\n\n{\n  void *__s;\n  \n  __s = (void *)FUN_00023c60(param_1);\n  memset(__s,0,param_1);\n  return __s;\n}\n\n" (function_definition "void * FUN_0001d920(size_t param_1)\n\n{\n  void *__s;\n  \n  __s = (void *)FUN_00023c60(param_1);\n  memset(__s,0,param_1);\n  return __s;\n}" primitive_type (pointer_declarator "* FUN_0001d920(size_t param_1)" * (function_declarator "FUN_0001d920(size_t param_1)" identifier (parameter_list "(size_t param_1)" ( (parameter_declaration "size_t param_1" primitive_type identifier) )))) (compound_statement "{\n  void *__s;\n  \n  __s = (void *)FUN_00023c60(param_1);\n  memset(__s,0,param_1);\n  return __s;\n}" { (declaration "void *__s;" primitive_type (pointer_declarator "*__s" * identifier) ;) (expression_statement "__s = (void *)FUN_00023c60(param_1);" (assignment_expression "__s = (void *)FUN_00023c60(param_1)" identifier = (cast_expression "(void *)FUN_00023c60(param_1)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00023c60(param_1)" identifier (argument_list "(param_1)" ( identifier ))))) ;) (expression_statement "memset(__s,0,param_1);" (call_expression "memset(__s,0,param_1)" identifier (argument_list "(__s,0,param_1)" ( identifier , number_literal , identifier ))) ;) (return_statement "return __s;" return identifier ;) })))
(translation_unit (function_definition TYPE (pointer_declarator * (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) )))) (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 ( IDENT ))))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT , IDENT ))) ;) (return_statement return IDENT ;) })))
(function_definition "void * FUN_0001d920(size_t param_1)\n\n{\n  void *__s;\n  \n  __s = (void *)FUN_00023c60(param_1);\n  memset(__s,0,param_1);\n  return __s;\n}" (primitive_type "void") (pointer_declarator "* FUN_0001d920(size_t param_1)" (* "*") (function_declarator "FUN_0001d920(size_t param_1)" (identifier "FUN_0001d920") (parameter_list "(size_t param_1)" (( "(") (parameter_declaration "size_t param_1" (primitive_type "size_t") (identifier "param_1")) () ")")))) (compound_statement "{\n  void *__s;\n  \n  __s = (void *)FUN_00023c60(param_1);\n  memset(__s,0,param_1);\n  return __s;\n}" ({ "{") (declaration "void *__s;" (primitive_type "void") (pointer_declarator "*__s" (* "*") (identifier "__s")) (; ";")) (expression_statement "__s = (void *)FUN_00023c60(param_1);" (assignment_expression "__s = (void *)FUN_00023c60(param_1)" (identifier "__s") (= "=") (cast_expression "(void *)FUN_00023c60(param_1)" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_00023c60(param_1)" (identifier "FUN_00023c60") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")"))))) (; ";")) (expression_statement "memset(__s,0,param_1);" (call_expression "memset(__s,0,param_1)" (identifier "memset") (argument_list "(__s,0,param_1)" (( "(") (identifier "__s") (, ",") (number_literal "0") (, ",") (identifier "param_1") () ")"))) (; ";")) (return_statement "return __s;" (return "return") (identifier "__s") (; ";")) (} "}")))

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

void * function_1(size_t size)

{
  void *__s;
  
  __s = var_1(size);
  var_2(__s,0,size);
  return __s;
}


(translation_unit (function_definition type: (primitive_type) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier))))) 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 (identifier)))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal) (identifier)))) (return_statement (identifier)))))

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

void * MASKED(size_t param_1)

{
  void *__s;
  
  __s = (void *)FUN_00023c60(param_1);
  memset(__s,0,param_1);
  return __s;
}

