
void * tls_get_zeroed_outbuf(tls_state_t *tls,int len)

{
  void *pvVar1;
  
  pvVar1 = tls_get_outbuf(tls,len);
  pvVar1 = memset(pvVar1,0,(long)len);
  return pvVar1;
}



void FUN_0012e950(undefined8 param_1,int param_2)

{
  void *__s;
  
  __s = (void *)FUN_0012e91a();
  memset(__s,0,(long)param_2);
  return;
}


PUSH RBP
PUSH RBX
SUB RSP,0x8
MOV EBX,ESI
CALL 0x0012e91a
MOVSXD RDX,EBX
MOV ESI,0x0
MOV RDI,RAX
CALL 0x0010b710
ADD RSP,0x8
POP RBX
POP RBP
RET
(translation_unit "void FUN_0012e950(undefined8 param_1,int param_2)\n\n{\n  void *__s;\n  \n  __s = (void *)FUN_0012e91a();\n  memset(__s,0,(long)param_2);\n  return;\n}\n\n" (function_definition "void FUN_0012e950(undefined8 param_1,int param_2)\n\n{\n  void *__s;\n  \n  __s = (void *)FUN_0012e91a();\n  memset(__s,0,(long)param_2);\n  return;\n}" primitive_type (function_declarator "FUN_0012e950(undefined8 param_1,int param_2)" identifier (parameter_list "(undefined8 param_1,int param_2)" ( (parameter_declaration "undefined8 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  void *__s;\n  \n  __s = (void *)FUN_0012e91a();\n  memset(__s,0,(long)param_2);\n  return;\n}" { (declaration "void *__s;" primitive_type (pointer_declarator "*__s" * identifier) ;) (expression_statement "__s = (void *)FUN_0012e91a();" (assignment_expression "__s = (void *)FUN_0012e91a()" identifier = (cast_expression "(void *)FUN_0012e91a()" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0012e91a()" identifier (argument_list "()" ( ))))) ;) (expression_statement "memset(__s,0,(long)param_2);" (call_expression "memset(__s,0,(long)param_2)" identifier (argument_list "(__s,0,(long)param_2)" ( identifier , number_literal , (cast_expression "(long)param_2" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void * tls_get_zeroed_outbuf(tls_state_t *tls,int len)\n\n{\n  void *pvVar1;\n  \n  pvVar1 = tls_get_outbuf(tls,len);\n  pvVar1 = memset(pvVar1,0,(long)len);\n  return pvVar1;\n}\n\n" (function_definition "void * tls_get_zeroed_outbuf(tls_state_t *tls,int len)\n\n{\n  void *pvVar1;\n  \n  pvVar1 = tls_get_outbuf(tls,len);\n  pvVar1 = memset(pvVar1,0,(long)len);\n  return pvVar1;\n}" primitive_type (pointer_declarator "* tls_get_zeroed_outbuf(tls_state_t *tls,int len)" * (function_declarator "tls_get_zeroed_outbuf(tls_state_t *tls,int len)" identifier (parameter_list "(tls_state_t *tls,int len)" ( (parameter_declaration "tls_state_t *tls" type_identifier (pointer_declarator "*tls" * identifier)) , (parameter_declaration "int len" primitive_type identifier) )))) (compound_statement "{\n  void *pvVar1;\n  \n  pvVar1 = tls_get_outbuf(tls,len);\n  pvVar1 = memset(pvVar1,0,(long)len);\n  return pvVar1;\n}" { (declaration "void *pvVar1;" primitive_type (pointer_declarator "*pvVar1" * identifier) ;) (expression_statement "pvVar1 = tls_get_outbuf(tls,len);" (assignment_expression "pvVar1 = tls_get_outbuf(tls,len)" identifier = (call_expression "tls_get_outbuf(tls,len)" identifier (argument_list "(tls,len)" ( identifier , identifier )))) ;) (expression_statement "pvVar1 = memset(pvVar1,0,(long)len);" (assignment_expression "pvVar1 = memset(pvVar1,0,(long)len)" identifier = (call_expression "memset(pvVar1,0,(long)len)" identifier (argument_list "(pvVar1,0,(long)len)" ( identifier , number_literal , (cast_expression "(long)len" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) )))) ;) (return_statement "return pvVar1;" return identifier ;) })))
(translation_unit "void FUN_0012e950(undefined8 param_1,int param_2)\n\n{\n  void *__s;\n  \n  __s = (void *)FUN_0012e91a();\n  memset(__s,0,(long)param_2);\n  return;\n}\n\n" (function_definition "void FUN_0012e950(undefined8 param_1,int param_2)\n\n{\n  void *__s;\n  \n  __s = (void *)FUN_0012e91a();\n  memset(__s,0,(long)param_2);\n  return;\n}" primitive_type (function_declarator "FUN_0012e950(undefined8 param_1,int param_2)" identifier (parameter_list "(undefined8 param_1,int param_2)" ( (parameter_declaration "undefined8 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  void *__s;\n  \n  __s = (void *)FUN_0012e91a();\n  memset(__s,0,(long)param_2);\n  return;\n}" { (declaration "void *__s;" primitive_type (pointer_declarator "*__s" * identifier) ;) (expression_statement "__s = (void *)FUN_0012e91a();" (assignment_expression "__s = (void *)FUN_0012e91a()" identifier = (cast_expression "(void *)FUN_0012e91a()" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0012e91a()" identifier (argument_list "()" ( ))))) ;) (expression_statement "memset(__s,0,(long)param_2);" (call_expression "memset(__s,0,(long)param_2)" identifier (argument_list "(__s,0,(long)param_2)" ( identifier , number_literal , (cast_expression "(long)param_2" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (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 ( ))))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT , (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) ))) ;) (return_statement return ;) })))
(function_definition "void FUN_0012e950(undefined8 param_1,int param_2)\n\n{\n  void *__s;\n  \n  __s = (void *)FUN_0012e91a();\n  memset(__s,0,(long)param_2);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0012e950(undefined8 param_1,int param_2)" (identifier "FUN_0012e950") (parameter_list "(undefined8 param_1,int param_2)" (( "(") (parameter_declaration "undefined8 param_1" (type_identifier "undefined8") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")"))) (compound_statement "{\n  void *__s;\n  \n  __s = (void *)FUN_0012e91a();\n  memset(__s,0,(long)param_2);\n  return;\n}" ({ "{") (declaration "void *__s;" (primitive_type "void") (pointer_declarator "*__s" (* "*") (identifier "__s")) (; ";")) (expression_statement "__s = (void *)FUN_0012e91a();" (assignment_expression "__s = (void *)FUN_0012e91a()" (identifier "__s") (= "=") (cast_expression "(void *)FUN_0012e91a()" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_0012e91a()" (identifier "FUN_0012e91a") (argument_list "()" (( "(") () ")"))))) (; ";")) (expression_statement "memset(__s,0,(long)param_2);" (call_expression "memset(__s,0,(long)param_2)" (identifier "memset") (argument_list "(__s,0,(long)param_2)" (( "(") (identifier "__s") (, ",") (number_literal "0") (, ",") (cast_expression "(long)param_2" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "param_2")) () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

void * function_1(type_1 *tls,int len)

{
  void *pvVar1;
  
  pvVar1 = var_1(tls,len);
  pvVar1 = var_2(pvVar1,0,(long)len);
  return pvVar1;
}


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

void MASKED(undefined8 param_1,int param_2)

{
  void *__s;
  
  __s = (void *)FUN_0012e91a();
  memset(__s,0,(long)param_2);
  return;
}

