
/* WARNING: Unknown calling convention */

Packet * ssh_new_packet(void)

{
  Packet *pPVar1;
  
  pPVar1 = (Packet *)safemalloc(1,0x58);
  pPVar1->data = (uchar *)0x0;
  pPVar1->body = (uchar *)0x0;
  pPVar1->maxlen = 0;
  return pPVar1;
}



void FUN_0011d54e(void)

{
  long lVar1;
  
  lVar1 = FUN_0010d233(1,0x58);
  *(undefined8 *)(lVar1 + 0x20) = 0;
  *(undefined8 *)(lVar1 + 0x28) = 0;
  *(undefined8 *)(lVar1 + 0x38) = 0;
  return;
}


SUB RSP,0x8
MOV ESI,0x58
MOV EDI,0x1
CALL 0x0010d233
MOV qword ptr [RAX + 0x20],0x0
MOV qword ptr [RAX + 0x28],0x0
MOV qword ptr [RAX + 0x38],0x0
ADD RSP,0x8
RET
(translation_unit "void FUN_0011d54e(void)\n\n{\n  long lVar1;\n  \n  lVar1 = FUN_0010d233(1,0x58);\n  *(undefined8 *)(lVar1 + 0x20) = 0;\n  *(undefined8 *)(lVar1 + 0x28) = 0;\n  *(undefined8 *)(lVar1 + 0x38) = 0;\n  return;\n}\n\n" (function_definition "void FUN_0011d54e(void)\n\n{\n  long lVar1;\n  \n  lVar1 = FUN_0010d233(1,0x58);\n  *(undefined8 *)(lVar1 + 0x20) = 0;\n  *(undefined8 *)(lVar1 + 0x28) = 0;\n  *(undefined8 *)(lVar1 + 0x38) = 0;\n  return;\n}" primitive_type (function_declarator "FUN_0011d54e(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  long lVar1;\n  \n  lVar1 = FUN_0010d233(1,0x58);\n  *(undefined8 *)(lVar1 + 0x20) = 0;\n  *(undefined8 *)(lVar1 + 0x28) = 0;\n  *(undefined8 *)(lVar1 + 0x38) = 0;\n  return;\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (expression_statement "lVar1 = FUN_0010d233(1,0x58);" (assignment_expression "lVar1 = FUN_0010d233(1,0x58)" identifier = (call_expression "FUN_0010d233(1,0x58)" identifier (argument_list "(1,0x58)" ( number_literal , number_literal )))) ;) (expression_statement "*(undefined8 *)(lVar1 + 0x20) = 0;" (assignment_expression "*(undefined8 *)(lVar1 + 0x20) = 0" (pointer_expression "*(undefined8 *)(lVar1 + 0x20)" * (cast_expression "(undefined8 *)(lVar1 + 0x20)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0x20)" ( (binary_expression "lVar1 + 0x20" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined8 *)(lVar1 + 0x28) = 0;" (assignment_expression "*(undefined8 *)(lVar1 + 0x28) = 0" (pointer_expression "*(undefined8 *)(lVar1 + 0x28)" * (cast_expression "(undefined8 *)(lVar1 + 0x28)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0x28)" ( (binary_expression "lVar1 + 0x28" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined8 *)(lVar1 + 0x38) = 0;" (assignment_expression "*(undefined8 *)(lVar1 + 0x38) = 0" (pointer_expression "*(undefined8 *)(lVar1 + 0x38)" * (cast_expression "(undefined8 *)(lVar1 + 0x38)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0x38)" ( (binary_expression "lVar1 + 0x38" identifier + number_literal) )))) = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Unknown calling convention */\n\nPacket * ssh_new_packet(void)\n\n{\n  Packet *pPVar1;\n  \n  pPVar1 = (Packet *)safemalloc(1,0x58);\n  pPVar1->data = (uchar *)0x0;\n  pPVar1->body = (uchar *)0x0;\n  pPVar1->maxlen = 0;\n  return pPVar1;\n}\n\n" comment (function_definition "Packet * ssh_new_packet(void)\n\n{\n  Packet *pPVar1;\n  \n  pPVar1 = (Packet *)safemalloc(1,0x58);\n  pPVar1->data = (uchar *)0x0;\n  pPVar1->body = (uchar *)0x0;\n  pPVar1->maxlen = 0;\n  return pPVar1;\n}" type_identifier (pointer_declarator "* ssh_new_packet(void)" * (function_declarator "ssh_new_packet(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) )))) (compound_statement "{\n  Packet *pPVar1;\n  \n  pPVar1 = (Packet *)safemalloc(1,0x58);\n  pPVar1->data = (uchar *)0x0;\n  pPVar1->body = (uchar *)0x0;\n  pPVar1->maxlen = 0;\n  return pPVar1;\n}" { (declaration "Packet *pPVar1;" type_identifier (pointer_declarator "*pPVar1" * identifier) ;) (expression_statement "pPVar1 = (Packet *)safemalloc(1,0x58);" (assignment_expression "pPVar1 = (Packet *)safemalloc(1,0x58)" identifier = (cast_expression "(Packet *)safemalloc(1,0x58)" ( (type_descriptor "Packet *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "safemalloc(1,0x58)" identifier (argument_list "(1,0x58)" ( number_literal , number_literal ))))) ;) (expression_statement "pPVar1->data = (uchar *)0x0;" (assignment_expression "pPVar1->data = (uchar *)0x0" (field_expression "pPVar1->data" identifier -> field_identifier) = (cast_expression "(uchar *)0x0" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "pPVar1->body = (uchar *)0x0;" (assignment_expression "pPVar1->body = (uchar *)0x0" (field_expression "pPVar1->body" identifier -> field_identifier) = (cast_expression "(uchar *)0x0" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "pPVar1->maxlen = 0;" (assignment_expression "pPVar1->maxlen = 0" (field_expression "pPVar1->maxlen" identifier -> field_identifier) = number_literal) ;) (return_statement "return pPVar1;" return identifier ;) })))
(translation_unit "void FUN_0011d54e(void)\n\n{\n  long lVar1;\n  \n  lVar1 = FUN_0010d233(1,0x58);\n  *(undefined8 *)(lVar1 + 0x20) = 0;\n  *(undefined8 *)(lVar1 + 0x28) = 0;\n  *(undefined8 *)(lVar1 + 0x38) = 0;\n  return;\n}\n\n" (function_definition "void FUN_0011d54e(void)\n\n{\n  long lVar1;\n  \n  lVar1 = FUN_0010d233(1,0x58);\n  *(undefined8 *)(lVar1 + 0x20) = 0;\n  *(undefined8 *)(lVar1 + 0x28) = 0;\n  *(undefined8 *)(lVar1 + 0x38) = 0;\n  return;\n}" primitive_type (function_declarator "FUN_0011d54e(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  long lVar1;\n  \n  lVar1 = FUN_0010d233(1,0x58);\n  *(undefined8 *)(lVar1 + 0x20) = 0;\n  *(undefined8 *)(lVar1 + 0x28) = 0;\n  *(undefined8 *)(lVar1 + 0x38) = 0;\n  return;\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (expression_statement "lVar1 = FUN_0010d233(1,0x58);" (assignment_expression "lVar1 = FUN_0010d233(1,0x58)" identifier = (call_expression "FUN_0010d233(1,0x58)" identifier (argument_list "(1,0x58)" ( number_literal , number_literal )))) ;) (expression_statement "*(undefined8 *)(lVar1 + 0x20) = 0;" (assignment_expression "*(undefined8 *)(lVar1 + 0x20) = 0" (pointer_expression "*(undefined8 *)(lVar1 + 0x20)" * (cast_expression "(undefined8 *)(lVar1 + 0x20)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0x20)" ( (binary_expression "lVar1 + 0x20" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined8 *)(lVar1 + 0x28) = 0;" (assignment_expression "*(undefined8 *)(lVar1 + 0x28) = 0" (pointer_expression "*(undefined8 *)(lVar1 + 0x28)" * (cast_expression "(undefined8 *)(lVar1 + 0x28)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0x28)" ( (binary_expression "lVar1 + 0x28" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined8 *)(lVar1 + 0x38) = 0;" (assignment_expression "*(undefined8 *)(lVar1 + 0x38) = 0" (pointer_expression "*(undefined8 *)(lVar1 + 0x38)" * (cast_expression "(undefined8 *)(lVar1 + 0x38)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0x38)" ( (binary_expression "lVar1 + 0x38" identifier + number_literal) )))) = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) ))) (compound_statement { (declaration (sized_type_specifier long) IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , LIT )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (return_statement return ;) })))
(function_definition "void FUN_0011d54e(void)\n\n{\n  long lVar1;\n  \n  lVar1 = FUN_0010d233(1,0x58);\n  *(undefined8 *)(lVar1 + 0x20) = 0;\n  *(undefined8 *)(lVar1 + 0x28) = 0;\n  *(undefined8 *)(lVar1 + 0x38) = 0;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0011d54e(void)" (identifier "FUN_0011d54e") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  long lVar1;\n  \n  lVar1 = FUN_0010d233(1,0x58);\n  *(undefined8 *)(lVar1 + 0x20) = 0;\n  *(undefined8 *)(lVar1 + 0x28) = 0;\n  *(undefined8 *)(lVar1 + 0x38) = 0;\n  return;\n}" ({ "{") (declaration "long lVar1;" (sized_type_specifier "long" (long "long")) (identifier "lVar1") (; ";")) (expression_statement "lVar1 = FUN_0010d233(1,0x58);" (assignment_expression "lVar1 = FUN_0010d233(1,0x58)" (identifier "lVar1") (= "=") (call_expression "FUN_0010d233(1,0x58)" (identifier "FUN_0010d233") (argument_list "(1,0x58)" (( "(") (number_literal "1") (, ",") (number_literal "0x58") () ")")))) (; ";")) (expression_statement "*(undefined8 *)(lVar1 + 0x20) = 0;" (assignment_expression "*(undefined8 *)(lVar1 + 0x20) = 0" (pointer_expression "*(undefined8 *)(lVar1 + 0x20)" (* "*") (cast_expression "(undefined8 *)(lVar1 + 0x20)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar1 + 0x20)" (( "(") (binary_expression "lVar1 + 0x20" (identifier "lVar1") (+ "+") (number_literal "0x20")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined8 *)(lVar1 + 0x28) = 0;" (assignment_expression "*(undefined8 *)(lVar1 + 0x28) = 0" (pointer_expression "*(undefined8 *)(lVar1 + 0x28)" (* "*") (cast_expression "(undefined8 *)(lVar1 + 0x28)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar1 + 0x28)" (( "(") (binary_expression "lVar1 + 0x28" (identifier "lVar1") (+ "+") (number_literal "0x28")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined8 *)(lVar1 + 0x38) = 0;" (assignment_expression "*(undefined8 *)(lVar1 + 0x38) = 0" (pointer_expression "*(undefined8 *)(lVar1 + 0x38)" (* "*") (cast_expression "(undefined8 *)(lVar1 + 0x38)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar1 + 0x38)" (( "(") (binary_expression "lVar1 + 0x38" (identifier "lVar1") (+ "+") (number_literal "0x38")) () ")")))) (= "=") (number_literal "0")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Unknown calling convention */

type_1 * function_1(void)

{
  type_1 *pPVar1;
  
  pPVar1 = (type_1 *)var_1(1,0x58);
  pPVar1->data = (type_2 *)0x0;
  pPVar1->body = (type_2 *)0x0;
  pPVar1->maxlen = 0;
  return pPVar1;
}


(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: (sized_type_specifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (number_literal) (number_literal))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) (return_statement))))

void MASKED(void)

{
  long lVar1;
  
  lVar1 = FUN_0010d233(1,0x58);
  *(undefined8 *)(lVar1 + 0x20) = 0;
  *(undefined8 *)(lVar1 + 0x28) = 0;
  *(undefined8 *)(lVar1 + 0x38) = 0;
  return;
}

