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

void * xzalloc(size_t s)

{
  void *pvVar1;
  
  pvVar1 = xmalloc(s);
  pvVar1 = memset(pvVar1,0,s);
  return pvVar1;
}



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

void FUN_000145f0(size_t param_1)

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


PUSH ESI
PUSH EBX
CALL 0x00011830
ADD EBX,0x6a09
SUB ESP,0x10
MOV ESI,dword ptr [ESP + 0x1c]
PUSH ESI
CALL 0x000143d0
ADD ESP,0xc
PUSH ESI
PUSH 0x0
PUSH EAX
CALL 0x00011210
ADD ESP,0x14
POP EBX
POP ESI
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_000145f0(size_t param_1)\n\n{\n  void *__s;\n  \n  __s = (void *)FUN_000143d0(param_1);\n  memset(__s,0,param_1);\n  return;\n}\n\n" comment (function_definition "void FUN_000145f0(size_t param_1)\n\n{\n  void *__s;\n  \n  __s = (void *)FUN_000143d0(param_1);\n  memset(__s,0,param_1);\n  return;\n}" primitive_type (function_declarator "FUN_000145f0(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_000143d0(param_1);\n  memset(__s,0,param_1);\n  return;\n}" { (declaration "void *__s;" primitive_type (pointer_declarator "*__s" * identifier) ;) (expression_statement "__s = (void *)FUN_000143d0(param_1);" (assignment_expression "__s = (void *)FUN_000143d0(param_1)" identifier = (cast_expression "(void *)FUN_000143d0(param_1)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_000143d0(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;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n\nvoid * xzalloc(size_t s)\n\n{\n  void *pvVar1;\n  \n  pvVar1 = xmalloc(s);\n  pvVar1 = memset(pvVar1,0,s);\n  return pvVar1;\n}\n\n" comment comment (function_definition "void * xzalloc(size_t s)\n\n{\n  void *pvVar1;\n  \n  pvVar1 = xmalloc(s);\n  pvVar1 = memset(pvVar1,0,s);\n  return pvVar1;\n}" primitive_type (pointer_declarator "* xzalloc(size_t s)" * (function_declarator "xzalloc(size_t s)" identifier (parameter_list "(size_t s)" ( (parameter_declaration "size_t s" primitive_type identifier) )))) (compound_statement "{\n  void *pvVar1;\n  \n  pvVar1 = xmalloc(s);\n  pvVar1 = memset(pvVar1,0,s);\n  return pvVar1;\n}" { (declaration "void *pvVar1;" primitive_type (pointer_declarator "*pvVar1" * identifier) ;) (expression_statement "pvVar1 = xmalloc(s);" (assignment_expression "pvVar1 = xmalloc(s)" identifier = (call_expression "xmalloc(s)" identifier (argument_list "(s)" ( identifier )))) ;) (expression_statement "pvVar1 = memset(pvVar1,0,s);" (assignment_expression "pvVar1 = memset(pvVar1,0,s)" identifier = (call_expression "memset(pvVar1,0,s)" identifier (argument_list "(pvVar1,0,s)" ( identifier , number_literal , identifier )))) ;) (return_statement "return pvVar1;" return identifier ;) })))
(translation_unit "void FUN_000145f0(size_t param_1)\n\n{\n  void *__s;\n  \n  __s = (void *)FUN_000143d0(param_1);\n  memset(__s,0,param_1);\n  return;\n}\n\n" (function_definition "void FUN_000145f0(size_t param_1)\n\n{\n  void *__s;\n  \n  __s = (void *)FUN_000143d0(param_1);\n  memset(__s,0,param_1);\n  return;\n}" primitive_type (function_declarator "FUN_000145f0(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_000143d0(param_1);\n  memset(__s,0,param_1);\n  return;\n}" { (declaration "void *__s;" primitive_type (pointer_declarator "*__s" * identifier) ;) (expression_statement "__s = (void *)FUN_000143d0(param_1);" (assignment_expression "__s = (void *)FUN_000143d0(param_1)" identifier = (cast_expression "(void *)FUN_000143d0(param_1)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_000143d0(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;" return ;) })))
(translation_unit (function_definition TYPE (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 ;) })))
(function_definition "void FUN_000145f0(size_t param_1)\n\n{\n  void *__s;\n  \n  __s = (void *)FUN_000143d0(param_1);\n  memset(__s,0,param_1);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_000145f0(size_t param_1)" (identifier "FUN_000145f0") (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_000143d0(param_1);\n  memset(__s,0,param_1);\n  return;\n}" ({ "{") (declaration "void *__s;" (primitive_type "void") (pointer_declarator "*__s" (* "*") (identifier "__s")) (; ";")) (expression_statement "__s = (void *)FUN_000143d0(param_1);" (assignment_expression "__s = (void *)FUN_000143d0(param_1)" (identifier "__s") (= "=") (cast_expression "(void *)FUN_000143d0(param_1)" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_000143d0(param_1)" (identifier "FUN_000143d0") (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;" (return "return") (; ";")) (} "}")))

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

void * function_1(size_t s)

{
  void *pvVar1;
  
  pvVar1 = var_1(s);
  pvVar1 = var_2(pvVar1,0,s);
  return pvVar1;
}


(translation_unit (function_definition type: (primitive_type) 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))))

/* 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_000143d0(param_1);
  memset(__s,0,param_1);
  return;
}

