
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
/* DWARF original prototype: Packet * ssh2_chanopen_init(ssh_channel * c, char * type, ssh_channel *
   c) */

Packet * __regparm3 ssh2_chanopen_init(ssh_channel *c,char *type,ssh_channel *c_1)

{
  int iVar1;
  Packet *pkt;
  int in_GS_OFFSET;
  uchar x [4];
  
  iVar1 = *(int *)(in_GS_OFFSET + 0x14);
  pkt = ssh2_pkt_init(0x5a);
  ssh_pkt_addstring(pkt,(char *)c_1);
  ssh_pkt_adduint32(pkt,(ulong)c->ssh);
  ssh_pkt_adduint32(pkt,*(ulong *)type);
  x[0] = '\0';
  x[1] = '\0';
  x[2] = '@';
  x[3] = '\0';
  ssh_pkt_adddata(pkt,x,4);
  if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {
    return pkt;
  }
                    /* WARNING: Subroutine does not return */
  __stack_chk_fail_local();
}



undefined4 FUN_0002aae0(void)

{
  int iVar1;
  undefined4 uVar2;
  int in_GS_OFFSET;
  
  iVar1 = *(int *)(in_GS_OFFSET + 0x14);
  uVar2 = FUN_00029d20();
  FUN_00029e50();
  FUN_00029e10();
  FUN_00029e10();
  FUN_00029c40();
  if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {
    return uVar2;
  }
                    /* WARNING: Subroutine does not return */
  FUN_0006dad0();
}


PUSH EBP
MOV EBP,ECX
PUSH EDI
MOV EDI,EAX
PUSH ESI
MOV ESI,EDX
PUSH EBX
SUB ESP,0x1c
MOV EAX,GS:[0x14]
MOV dword ptr [ESP + 0xc],EAX
XOR EAX,EAX
MOV EAX,0x5a
CALL 0x00029d20
MOV EDX,EBP
MOV EBX,EAX
CALL 0x00029e50
MOV EDX,dword ptr [EDI]
MOV EAX,EBX
CALL 0x00029e10
MOV EDX,dword ptr [ESI]
MOV EAX,EBX
CALL 0x00029e10
MOV ECX,0x4
LEA EDX,[ESP + 0x8]
MOV EAX,EBX
MOV dword ptr [ESP + 0x8],0x400000
CALL 0x00029c40
MOV ECX,dword ptr [ESP + 0xc]
XOR ECX,dword ptr GS:[0x14]
JNZ 0x0002ab4d
ADD ESP,0x1c
MOV EAX,EBX
POP EBX
POP ESI
POP EDI
POP EBP
RET
CALL 0x0006dad0
(translation_unit "undefined4 FUN_0002aae0(void)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  int in_GS_OFFSET;\n  \n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  uVar2 = FUN_00029d20();\n  FUN_00029e50();\n  FUN_00029e10();\n  FUN_00029e10();\n  FUN_00029c40();\n  if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return uVar2;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0006dad0();\n}\n\n" (function_definition "undefined4 FUN_0002aae0(void)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  int in_GS_OFFSET;\n  \n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  uVar2 = FUN_00029d20();\n  FUN_00029e50();\n  FUN_00029e10();\n  FUN_00029e10();\n  FUN_00029c40();\n  if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return uVar2;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0006dad0();\n}" type_identifier (function_declarator "FUN_0002aae0(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  int in_GS_OFFSET;\n  \n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  uVar2 = FUN_00029d20();\n  FUN_00029e50();\n  FUN_00029e10();\n  FUN_00029e10();\n  FUN_00029c40();\n  if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return uVar2;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0006dad0();\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (expression_statement "iVar1 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "iVar1 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (expression_statement "uVar2 = FUN_00029d20();" (assignment_expression "uVar2 = FUN_00029d20()" identifier = (call_expression "FUN_00029d20()" identifier (argument_list "()" ( )))) ;) (expression_statement "FUN_00029e50();" (call_expression "FUN_00029e50()" identifier (argument_list "()" ( ))) ;) (expression_statement "FUN_00029e10();" (call_expression "FUN_00029e10()" identifier (argument_list "()" ( ))) ;) (expression_statement "FUN_00029e10();" (call_expression "FUN_00029e10()" identifier (argument_list "()" ( ))) ;) (expression_statement "FUN_00029c40();" (call_expression "FUN_00029c40()" identifier (argument_list "()" ( ))) ;) (if_statement "if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return uVar2;\n  }" if (parenthesized_expression "(iVar1 == *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "iVar1 == *(int *)(in_GS_OFFSET + 0x14)" identifier == (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n    return uVar2;\n  }" { (return_statement "return uVar2;" return identifier ;) })) comment (expression_statement "FUN_0006dad0();" (call_expression "FUN_0006dad0()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n/* DWARF original prototype: Packet * ssh2_chanopen_init(ssh_channel * c, char * type, ssh_channel *\n   c) */\n\nPacket * __regparm3 ssh2_chanopen_init(ssh_channel *c,char *type,ssh_channel *c_1)\n\n{\n  int iVar1;\n  Packet *pkt;\n  int in_GS_OFFSET;\n  uchar x [4];\n  \n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  pkt = ssh2_pkt_init(0x5a);\n  ssh_pkt_addstring(pkt,(char *)c_1);\n  ssh_pkt_adduint32(pkt,(ulong)c->ssh);\n  ssh_pkt_adduint32(pkt,*(ulong *)type);\n  x[0] = '\0';\n  x[1] = '\0';\n  x[2] = '@';\n  x[3] = '\0';\n  ssh_pkt_adddata(pkt,x,4);\n  if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return pkt;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail_local();\n}\n\n" comment comment (ERROR "Packet * __regparm3 ssh2_chanopen_init(ssh_channel *c,char *type,ssh_channel *c_1)" (binary_expression "Packet * __regparm3 ssh2_chanopen_init(ssh_channel *c,char *type,ssh_channel *c_1)" identifier * (ERROR "__regparm3" identifier) (call_expression "ssh2_chanopen_init(ssh_channel *c,char *type,ssh_channel *c_1)" identifier (argument_list "(ssh_channel *c,char *type,ssh_channel *c_1)" ( (binary_expression "ssh_channel *c" identifier * identifier) , (binary_expression "char *type" identifier * identifier) , (binary_expression "ssh_channel *c_1" identifier * identifier) ))))) (compound_statement "{\n  int iVar1;\n  Packet *pkt;\n  int in_GS_OFFSET;\n  uchar x [4];\n  \n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  pkt = ssh2_pkt_init(0x5a);\n  ssh_pkt_addstring(pkt,(char *)c_1);\n  ssh_pkt_adduint32(pkt,(ulong)c->ssh);\n  ssh_pkt_adduint32(pkt,*(ulong *)type);\n  x[0] = '\0';\n  x[1] = '\0';\n  x[2] = '@';\n  x[3] = '\0';\n  ssh_pkt_adddata(pkt,x,4);\n  if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return pkt;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail_local();\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "Packet *pkt;" type_identifier (pointer_declarator "*pkt" * identifier) ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "uchar x [4];" type_identifier (array_declarator "x [4]" identifier [ number_literal ]) ;) (expression_statement "iVar1 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "iVar1 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (expression_statement "pkt = ssh2_pkt_init(0x5a);" (assignment_expression "pkt = ssh2_pkt_init(0x5a)" identifier = (call_expression "ssh2_pkt_init(0x5a)" identifier (argument_list "(0x5a)" ( number_literal )))) ;) (expression_statement "ssh_pkt_addstring(pkt,(char *)c_1);" (call_expression "ssh_pkt_addstring(pkt,(char *)c_1)" identifier (argument_list "(pkt,(char *)c_1)" ( identifier , (cast_expression "(char *)c_1" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) ))) ;) (expression_statement "ssh_pkt_adduint32(pkt,(ulong)c->ssh);" (call_expression "ssh_pkt_adduint32(pkt,(ulong)c->ssh)" identifier (argument_list "(pkt,(ulong)c->ssh)" ( identifier , (cast_expression "(ulong)c->ssh" ( (type_descriptor "ulong" type_identifier) ) (field_expression "c->ssh" identifier -> field_identifier)) ))) ;) (expression_statement "ssh_pkt_adduint32(pkt,*(ulong *)type);" (call_expression "ssh_pkt_adduint32(pkt,*(ulong *)type)" identifier (argument_list "(pkt,*(ulong *)type)" ( identifier , (pointer_expression "*(ulong *)type" * (cast_expression "(ulong *)type" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ))) ;) (expression_statement "x[0] = '\0';" (assignment_expression "x[0] = '\0'" (subscript_expression "x[0]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "x[1] = '\0';" (assignment_expression "x[1] = '\0'" (subscript_expression "x[1]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "x[2] = '@';" (assignment_expression "x[2] = '@'" (subscript_expression "x[2]" identifier [ number_literal ]) = (char_literal "'@'" ' character ')) ;) (expression_statement "x[3] = '\0';" (assignment_expression "x[3] = '\0'" (subscript_expression "x[3]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "ssh_pkt_adddata(pkt,x,4);" (call_expression "ssh_pkt_adddata(pkt,x,4)" identifier (argument_list "(pkt,x,4)" ( identifier , identifier , number_literal ))) ;) (if_statement "if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return pkt;\n  }" if (parenthesized_expression "(iVar1 == *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "iVar1 == *(int *)(in_GS_OFFSET + 0x14)" identifier == (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n    return pkt;\n  }" { (return_statement "return pkt;" return identifier ;) })) comment (expression_statement "__stack_chk_fail_local();" (call_expression "__stack_chk_fail_local()" identifier (argument_list "()" ( ))) ;) }))
(translation_unit "undefined4 FUN_0002aae0(void)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  int in_GS_OFFSET;\n  \n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  uVar2 = FUN_00029d20();\n  FUN_00029e50();\n  FUN_00029e10();\n  FUN_00029e10();\n  FUN_00029c40();\n  if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return uVar2;\n  }\n                    \n  FUN_0006dad0();\n}\n\n" (function_definition "undefined4 FUN_0002aae0(void)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  int in_GS_OFFSET;\n  \n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  uVar2 = FUN_00029d20();\n  FUN_00029e50();\n  FUN_00029e10();\n  FUN_00029e10();\n  FUN_00029c40();\n  if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return uVar2;\n  }\n                    \n  FUN_0006dad0();\n}" type_identifier (function_declarator "FUN_0002aae0(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  int in_GS_OFFSET;\n  \n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  uVar2 = FUN_00029d20();\n  FUN_00029e50();\n  FUN_00029e10();\n  FUN_00029e10();\n  FUN_00029c40();\n  if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return uVar2;\n  }\n                    \n  FUN_0006dad0();\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (expression_statement "iVar1 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "iVar1 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (expression_statement "uVar2 = FUN_00029d20();" (assignment_expression "uVar2 = FUN_00029d20()" identifier = (call_expression "FUN_00029d20()" identifier (argument_list "()" ( )))) ;) (expression_statement "FUN_00029e50();" (call_expression "FUN_00029e50()" identifier (argument_list "()" ( ))) ;) (expression_statement "FUN_00029e10();" (call_expression "FUN_00029e10()" identifier (argument_list "()" ( ))) ;) (expression_statement "FUN_00029e10();" (call_expression "FUN_00029e10()" identifier (argument_list "()" ( ))) ;) (expression_statement "FUN_00029c40();" (call_expression "FUN_00029c40()" identifier (argument_list "()" ( ))) ;) (if_statement "if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return uVar2;\n  }" if (parenthesized_expression "(iVar1 == *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "iVar1 == *(int *)(in_GS_OFFSET + 0x14)" identifier == (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n    return uVar2;\n  }" { (return_statement "return uVar2;" return identifier ;) })) (expression_statement "FUN_0006dad0();" (call_expression "FUN_0006dad0()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (return_statement return IDENT ;) })) (expression_statement (call_expression IDENT (argument_list ( ))) ;) })))
(function_definition "undefined4 FUN_0002aae0(void)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  int in_GS_OFFSET;\n  \n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  uVar2 = FUN_00029d20();\n  FUN_00029e50();\n  FUN_00029e10();\n  FUN_00029e10();\n  FUN_00029c40();\n  if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return uVar2;\n  }\n                    \n  FUN_0006dad0();\n}" (type_identifier "undefined4") (function_declarator "FUN_0002aae0(void)" (identifier "FUN_0002aae0") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  int in_GS_OFFSET;\n  \n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  uVar2 = FUN_00029d20();\n  FUN_00029e50();\n  FUN_00029e10();\n  FUN_00029e10();\n  FUN_00029c40();\n  if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return uVar2;\n  }\n                    \n  FUN_0006dad0();\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (declaration "int in_GS_OFFSET;" (primitive_type "int") (identifier "in_GS_OFFSET") (; ";")) (expression_statement "iVar1 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "iVar1 = *(int *)(in_GS_OFFSET + 0x14)" (identifier "iVar1") (= "=") (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" (* "*") (cast_expression "(int *)(in_GS_OFFSET + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_GS_OFFSET + 0x14)" (( "(") (binary_expression "in_GS_OFFSET + 0x14" (identifier "in_GS_OFFSET") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (expression_statement "uVar2 = FUN_00029d20();" (assignment_expression "uVar2 = FUN_00029d20()" (identifier "uVar2") (= "=") (call_expression "FUN_00029d20()" (identifier "FUN_00029d20") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "FUN_00029e50();" (call_expression "FUN_00029e50()" (identifier "FUN_00029e50") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "FUN_00029e10();" (call_expression "FUN_00029e10()" (identifier "FUN_00029e10") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "FUN_00029e10();" (call_expression "FUN_00029e10()" (identifier "FUN_00029e10") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "FUN_00029c40();" (call_expression "FUN_00029c40()" (identifier "FUN_00029c40") (argument_list "()" (( "(") () ")"))) (; ";")) (if_statement "if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return uVar2;\n  }" (if "if") (parenthesized_expression "(iVar1 == *(int *)(in_GS_OFFSET + 0x14))" (( "(") (binary_expression "iVar1 == *(int *)(in_GS_OFFSET + 0x14)" (identifier "iVar1") (== "==") (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" (* "*") (cast_expression "(int *)(in_GS_OFFSET + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_GS_OFFSET + 0x14)" (( "(") (binary_expression "in_GS_OFFSET + 0x14" (identifier "in_GS_OFFSET") (+ "+") (number_literal "0x14")) () ")"))))) () ")")) (compound_statement "{\n    return uVar2;\n  }" ({ "{") (return_statement "return uVar2;" (return "return") (identifier "uVar2") (; ";")) (} "}"))) (expression_statement "FUN_0006dad0();" (call_expression "FUN_0006dad0()" (identifier "FUN_0006dad0") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))

/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
/* DWARF original prototype: Packet * ssh2_chanopen_init(ssh_channel * c, char * type, ssh_channel *
   c) */

type_1 * __regparm3 ssh2_chanopen_init(ssh_channel *c,char *type,ssh_channel *c_1)

{
  int var_6;
  type_1 *pkt;
  int var_1;
  type_2 x [4];
  
  var_6 = *(int *)(var_1 + 0x14);
  pkt = var_2(0x5a);
  var_3(pkt,(char *)c_1);
  var_4(pkt,(type_3)c->ssh);
  var_4(pkt,*(type_3 *)type);
  x[0] = '\0';
  x[1] = '\0';
  x[2] = '@';
  x[3] = '\0';
  var_5(pkt,x,4);
  if (var_6 == *(int *)(var_1 + 0x14)) {
    return pkt;
  }
                    /* WARNING: Subroutine does not return */
  var_7();
}


(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) consequence: (compound_statement (return_statement (identifier)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))))))

undefined4 MASKED(void)

{
  int iVar1;
  undefined4 uVar2;
  int in_GS_OFFSET;
  
  iVar1 = *(int *)(in_GS_OFFSET + 0x14);
  uVar2 = FUN_00029d20();
  FUN_00029e50();
  FUN_00029e10();
  FUN_00029e10();
  FUN_00029c40();
  if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {
    return uVar2;
  }
                    /* WARNING: Subroutine does not return */
  FUN_0006dad0();
}

