
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */

void __regparm3 ssh_process_incoming_data(Ssh_conflict ssh,uchar **data,int *datalen)

{
  Packet *ptr;
  
  ptr = (*ssh->s_rdpkt)(ssh,data,datalen);
  if (ptr != (Packet *)0x0) {
    (*ssh->protocol)(ssh,(void *)0x0,0,ptr);
    safefree(ptr->data);
    safefree(ptr);
  }
  return;
}



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

void __regparm3 FUN_0002b330(int param_1,undefined4 param_2,undefined4 param_3)

{
  int iVar1;
  
  iVar1 = (**(code **)(param_1 + 0x240))(param_1,param_2,param_3,0x2b33a);
  if (iVar1 != 0) {
    (**(code **)(param_1 + 0x23c))(param_1,0,0,iVar1);
    FUN_0001b240(*(undefined4 *)(iVar1 + 0x10));
    FUN_0001b240(iVar1);
  }
  return;
}


PUSH EDI
PUSH ESI
MOV ESI,EAX
PUSH EBX
CALL 0x00014970
ADD EBX,0x7ea56
SUB ESP,0x4
PUSH ECX
PUSH EDX
PUSH EAX
CALL dword ptr [EAX + 0x240]
ADD ESP,0x10
TEST EAX,EAX
JZ 0x0002b375
MOV EDI,EAX
PUSH EAX
PUSH 0x0
PUSH 0x0
PUSH ESI
CALL dword ptr [ESI + 0x23c]
POP EAX
PUSH dword ptr [EDI + 0x10]
CALL 0x0001b240
MOV dword ptr [ESP],EDI
CALL 0x0001b240
ADD ESP,0x10
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 __regparm3 FUN_0002b330(int param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  int iVar1;\n  \n  iVar1 = (**(code **)(param_1 + 0x240))(param_1,param_2,param_3,0x2b33a);\n  if (iVar1 != 0) {\n    (**(code **)(param_1 + 0x23c))(param_1,0,0,iVar1);\n    FUN_0001b240(*(undefined4 *)(iVar1 + 0x10));\n    FUN_0001b240(iVar1);\n  }\n  return;\n}\n\n" comment (function_definition "void __regparm3 FUN_0002b330(int param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  int iVar1;\n  \n  iVar1 = (**(code **)(param_1 + 0x240))(param_1,param_2,param_3,0x2b33a);\n  if (iVar1 != 0) {\n    (**(code **)(param_1 + 0x23c))(param_1,0,0,iVar1);\n    FUN_0001b240(*(undefined4 *)(iVar1 + 0x10));\n    FUN_0001b240(iVar1);\n  }\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_0002b330(int param_1,undefined4 param_2,undefined4 param_3)" identifier (parameter_list "(int param_1,undefined4 param_2,undefined4 param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = (**(code **)(param_1 + 0x240))(param_1,param_2,param_3,0x2b33a);\n  if (iVar1 != 0) {\n    (**(code **)(param_1 + 0x23c))(param_1,0,0,iVar1);\n    FUN_0001b240(*(undefined4 *)(iVar1 + 0x10));\n    FUN_0001b240(iVar1);\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = (**(code **)(param_1 + 0x240))(param_1,param_2,param_3,0x2b33a);" (assignment_expression "iVar1 = (**(code **)(param_1 + 0x240))(param_1,param_2,param_3,0x2b33a)" identifier = (call_expression "(**(code **)(param_1 + 0x240))(param_1,param_2,param_3,0x2b33a)" (parenthesized_expression "(**(code **)(param_1 + 0x240))" ( (pointer_expression "**(code **)(param_1 + 0x240)" * (pointer_expression "*(code **)(param_1 + 0x240)" * (cast_expression "(code **)(param_1 + 0x240)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x240)" ( (binary_expression "param_1 + 0x240" identifier + number_literal) ))))) )) (argument_list "(param_1,param_2,param_3,0x2b33a)" ( identifier , identifier , identifier , number_literal )))) ;) (if_statement "if (iVar1 != 0) {\n    (**(code **)(param_1 + 0x23c))(param_1,0,0,iVar1);\n    FUN_0001b240(*(undefined4 *)(iVar1 + 0x10));\n    FUN_0001b240(iVar1);\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    (**(code **)(param_1 + 0x23c))(param_1,0,0,iVar1);\n    FUN_0001b240(*(undefined4 *)(iVar1 + 0x10));\n    FUN_0001b240(iVar1);\n  }" { (expression_statement "(**(code **)(param_1 + 0x23c))(param_1,0,0,iVar1);" (call_expression "(**(code **)(param_1 + 0x23c))(param_1,0,0,iVar1)" (parenthesized_expression "(**(code **)(param_1 + 0x23c))" ( (pointer_expression "**(code **)(param_1 + 0x23c)" * (pointer_expression "*(code **)(param_1 + 0x23c)" * (cast_expression "(code **)(param_1 + 0x23c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x23c)" ( (binary_expression "param_1 + 0x23c" identifier + number_literal) ))))) )) (argument_list "(param_1,0,0,iVar1)" ( identifier , number_literal , number_literal , identifier ))) ;) (expression_statement "FUN_0001b240(*(undefined4 *)(iVar1 + 0x10));" (call_expression "FUN_0001b240(*(undefined4 *)(iVar1 + 0x10))" identifier (argument_list "(*(undefined4 *)(iVar1 + 0x10))" ( (pointer_expression "*(undefined4 *)(iVar1 + 0x10)" * (cast_expression "(undefined4 *)(iVar1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x10)" ( (binary_expression "iVar1 + 0x10" identifier + number_literal) )))) ))) ;) (expression_statement "FUN_0001b240(iVar1);" (call_expression "FUN_0001b240(iVar1)" identifier (argument_list "(iVar1)" ( identifier ))) ;) })) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid __regparm3 ssh_process_incoming_data(Ssh_conflict ssh,uchar **data,int *datalen)\n\n{\n  Packet *ptr;\n  \n  ptr = (*ssh->s_rdpkt)(ssh,data,datalen);\n  if (ptr != (Packet *)0x0) {\n    (*ssh->protocol)(ssh,(void *)0x0,0,ptr);\n    safefree(ptr->data);\n    safefree(ptr);\n  }\n  return;\n}\n\n" comment comment (function_definition "void __regparm3 ssh_process_incoming_data(Ssh_conflict ssh,uchar **data,int *datalen)\n\n{\n  Packet *ptr;\n  \n  ptr = (*ssh->s_rdpkt)(ssh,data,datalen);\n  if (ptr != (Packet *)0x0) {\n    (*ssh->protocol)(ssh,(void *)0x0,0,ptr);\n    safefree(ptr->data);\n    safefree(ptr);\n  }\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "ssh_process_incoming_data(Ssh_conflict ssh,uchar **data,int *datalen)" identifier (parameter_list "(Ssh_conflict ssh,uchar **data,int *datalen)" ( (parameter_declaration "Ssh_conflict ssh" type_identifier identifier) , (parameter_declaration "uchar **data" type_identifier (pointer_declarator "**data" * (pointer_declarator "*data" * identifier))) , (parameter_declaration "int *datalen" primitive_type (pointer_declarator "*datalen" * identifier)) ))) (compound_statement "{\n  Packet *ptr;\n  \n  ptr = (*ssh->s_rdpkt)(ssh,data,datalen);\n  if (ptr != (Packet *)0x0) {\n    (*ssh->protocol)(ssh,(void *)0x0,0,ptr);\n    safefree(ptr->data);\n    safefree(ptr);\n  }\n  return;\n}" { (declaration "Packet *ptr;" type_identifier (pointer_declarator "*ptr" * identifier) ;) (expression_statement "ptr = (*ssh->s_rdpkt)(ssh,data,datalen);" (assignment_expression "ptr = (*ssh->s_rdpkt)(ssh,data,datalen)" identifier = (call_expression "(*ssh->s_rdpkt)(ssh,data,datalen)" (parenthesized_expression "(*ssh->s_rdpkt)" ( (pointer_expression "*ssh->s_rdpkt" * (field_expression "ssh->s_rdpkt" identifier -> field_identifier)) )) (argument_list "(ssh,data,datalen)" ( identifier , identifier , identifier )))) ;) (if_statement "if (ptr != (Packet *)0x0) {\n    (*ssh->protocol)(ssh,(void *)0x0,0,ptr);\n    safefree(ptr->data);\n    safefree(ptr);\n  }" if (parenthesized_expression "(ptr != (Packet *)0x0)" ( (binary_expression "ptr != (Packet *)0x0" identifier != (cast_expression "(Packet *)0x0" ( (type_descriptor "Packet *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    (*ssh->protocol)(ssh,(void *)0x0,0,ptr);\n    safefree(ptr->data);\n    safefree(ptr);\n  }" { (expression_statement "(*ssh->protocol)(ssh,(void *)0x0,0,ptr);" (call_expression "(*ssh->protocol)(ssh,(void *)0x0,0,ptr)" (parenthesized_expression "(*ssh->protocol)" ( (pointer_expression "*ssh->protocol" * (field_expression "ssh->protocol" identifier -> field_identifier)) )) (argument_list "(ssh,(void *)0x0,0,ptr)" ( identifier , (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) , number_literal , identifier ))) ;) (expression_statement "safefree(ptr->data);" (call_expression "safefree(ptr->data)" identifier (argument_list "(ptr->data)" ( (field_expression "ptr->data" identifier -> field_identifier) ))) ;) (expression_statement "safefree(ptr);" (call_expression "safefree(ptr)" identifier (argument_list "(ptr)" ( identifier ))) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void __regparm3 FUN_0002b330(int param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  int iVar1;\n  \n  iVar1 = (**(code **)(param_1 + 0x240))(param_1,param_2,param_3,0x2b33a);\n  if (iVar1 != 0) {\n    (**(code **)(param_1 + 0x23c))(param_1,0,0,iVar1);\n    FUN_0001b240(*(undefined4 *)(iVar1 + 0x10));\n    FUN_0001b240(iVar1);\n  }\n  return;\n}\n\n" (function_definition "void __regparm3 FUN_0002b330(int param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  int iVar1;\n  \n  iVar1 = (**(code **)(param_1 + 0x240))(param_1,param_2,param_3,0x2b33a);\n  if (iVar1 != 0) {\n    (**(code **)(param_1 + 0x23c))(param_1,0,0,iVar1);\n    FUN_0001b240(*(undefined4 *)(iVar1 + 0x10));\n    FUN_0001b240(iVar1);\n  }\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_0002b330(int param_1,undefined4 param_2,undefined4 param_3)" identifier (parameter_list "(int param_1,undefined4 param_2,undefined4 param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = (**(code **)(param_1 + 0x240))(param_1,param_2,param_3,0x2b33a);\n  if (iVar1 != 0) {\n    (**(code **)(param_1 + 0x23c))(param_1,0,0,iVar1);\n    FUN_0001b240(*(undefined4 *)(iVar1 + 0x10));\n    FUN_0001b240(iVar1);\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = (**(code **)(param_1 + 0x240))(param_1,param_2,param_3,0x2b33a);" (assignment_expression "iVar1 = (**(code **)(param_1 + 0x240))(param_1,param_2,param_3,0x2b33a)" identifier = (call_expression "(**(code **)(param_1 + 0x240))(param_1,param_2,param_3,0x2b33a)" (parenthesized_expression "(**(code **)(param_1 + 0x240))" ( (pointer_expression "**(code **)(param_1 + 0x240)" * (pointer_expression "*(code **)(param_1 + 0x240)" * (cast_expression "(code **)(param_1 + 0x240)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x240)" ( (binary_expression "param_1 + 0x240" identifier + number_literal) ))))) )) (argument_list "(param_1,param_2,param_3,0x2b33a)" ( identifier , identifier , identifier , number_literal )))) ;) (if_statement "if (iVar1 != 0) {\n    (**(code **)(param_1 + 0x23c))(param_1,0,0,iVar1);\n    FUN_0001b240(*(undefined4 *)(iVar1 + 0x10));\n    FUN_0001b240(iVar1);\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    (**(code **)(param_1 + 0x23c))(param_1,0,0,iVar1);\n    FUN_0001b240(*(undefined4 *)(iVar1 + 0x10));\n    FUN_0001b240(iVar1);\n  }" { (expression_statement "(**(code **)(param_1 + 0x23c))(param_1,0,0,iVar1);" (call_expression "(**(code **)(param_1 + 0x23c))(param_1,0,0,iVar1)" (parenthesized_expression "(**(code **)(param_1 + 0x23c))" ( (pointer_expression "**(code **)(param_1 + 0x23c)" * (pointer_expression "*(code **)(param_1 + 0x23c)" * (cast_expression "(code **)(param_1 + 0x23c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x23c)" ( (binary_expression "param_1 + 0x23c" identifier + number_literal) ))))) )) (argument_list "(param_1,0,0,iVar1)" ( identifier , number_literal , number_literal , identifier ))) ;) (expression_statement "FUN_0001b240(*(undefined4 *)(iVar1 + 0x10));" (call_expression "FUN_0001b240(*(undefined4 *)(iVar1 + 0x10))" identifier (argument_list "(*(undefined4 *)(iVar1 + 0x10))" ( (pointer_expression "*(undefined4 *)(iVar1 + 0x10)" * (cast_expression "(undefined4 *)(iVar1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x10)" ( (binary_expression "iVar1 + 0x10" identifier + number_literal) )))) ))) ;) (expression_statement "FUN_0001b240(iVar1);" (call_expression "FUN_0001b240(iVar1)" identifier (argument_list "(iVar1)" ( identifier ))) ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT , IDENT , IDENT , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT , LIT , LIT , IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) })) (return_statement return ;) })))
(function_definition "void __regparm3 FUN_0002b330(int param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  int iVar1;\n  \n  iVar1 = (**(code **)(param_1 + 0x240))(param_1,param_2,param_3,0x2b33a);\n  if (iVar1 != 0) {\n    (**(code **)(param_1 + 0x23c))(param_1,0,0,iVar1);\n    FUN_0001b240(*(undefined4 *)(iVar1 + 0x10));\n    FUN_0001b240(iVar1);\n  }\n  return;\n}" (primitive_type "void") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_0002b330(int param_1,undefined4 param_2,undefined4 param_3)" (identifier "FUN_0002b330") (parameter_list "(int param_1,undefined4 param_2,undefined4 param_3)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "undefined4 param_3" (type_identifier "undefined4") (identifier "param_3")) () ")"))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = (**(code **)(param_1 + 0x240))(param_1,param_2,param_3,0x2b33a);\n  if (iVar1 != 0) {\n    (**(code **)(param_1 + 0x23c))(param_1,0,0,iVar1);\n    FUN_0001b240(*(undefined4 *)(iVar1 + 0x10));\n    FUN_0001b240(iVar1);\n  }\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (expression_statement "iVar1 = (**(code **)(param_1 + 0x240))(param_1,param_2,param_3,0x2b33a);" (assignment_expression "iVar1 = (**(code **)(param_1 + 0x240))(param_1,param_2,param_3,0x2b33a)" (identifier "iVar1") (= "=") (call_expression "(**(code **)(param_1 + 0x240))(param_1,param_2,param_3,0x2b33a)" (parenthesized_expression "(**(code **)(param_1 + 0x240))" (( "(") (pointer_expression "**(code **)(param_1 + 0x240)" (* "*") (pointer_expression "*(code **)(param_1 + 0x240)" (* "*") (cast_expression "(code **)(param_1 + 0x240)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x240)" (( "(") (binary_expression "param_1 + 0x240" (identifier "param_1") (+ "+") (number_literal "0x240")) () ")"))))) () ")")) (argument_list "(param_1,param_2,param_3,0x2b33a)" (( "(") (identifier "param_1") (, ",") (identifier "param_2") (, ",") (identifier "param_3") (, ",") (number_literal "0x2b33a") () ")")))) (; ";")) (if_statement "if (iVar1 != 0) {\n    (**(code **)(param_1 + 0x23c))(param_1,0,0,iVar1);\n    FUN_0001b240(*(undefined4 *)(iVar1 + 0x10));\n    FUN_0001b240(iVar1);\n  }" (if "if") (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    (**(code **)(param_1 + 0x23c))(param_1,0,0,iVar1);\n    FUN_0001b240(*(undefined4 *)(iVar1 + 0x10));\n    FUN_0001b240(iVar1);\n  }" ({ "{") (expression_statement "(**(code **)(param_1 + 0x23c))(param_1,0,0,iVar1);" (call_expression "(**(code **)(param_1 + 0x23c))(param_1,0,0,iVar1)" (parenthesized_expression "(**(code **)(param_1 + 0x23c))" (( "(") (pointer_expression "**(code **)(param_1 + 0x23c)" (* "*") (pointer_expression "*(code **)(param_1 + 0x23c)" (* "*") (cast_expression "(code **)(param_1 + 0x23c)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x23c)" (( "(") (binary_expression "param_1 + 0x23c" (identifier "param_1") (+ "+") (number_literal "0x23c")) () ")"))))) () ")")) (argument_list "(param_1,0,0,iVar1)" (( "(") (identifier "param_1") (, ",") (number_literal "0") (, ",") (number_literal "0") (, ",") (identifier "iVar1") () ")"))) (; ";")) (expression_statement "FUN_0001b240(*(undefined4 *)(iVar1 + 0x10));" (call_expression "FUN_0001b240(*(undefined4 *)(iVar1 + 0x10))" (identifier "FUN_0001b240") (argument_list "(*(undefined4 *)(iVar1 + 0x10))" (( "(") (pointer_expression "*(undefined4 *)(iVar1 + 0x10)" (* "*") (cast_expression "(undefined4 *)(iVar1 + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x10)" (( "(") (binary_expression "iVar1 + 0x10" (identifier "iVar1") (+ "+") (number_literal "0x10")) () ")")))) () ")"))) (; ";")) (expression_statement "FUN_0001b240(iVar1);" (call_expression "FUN_0001b240(iVar1)" (identifier "FUN_0001b240") (argument_list "(iVar1)" (( "(") (identifier "iVar1") () ")"))) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */

void __regparm3 function_1(type_1 ssh,type_2 **data,int *datalen)

{
  type_3 *var_1;
  
  var_1 = (*ssh->s_rdpkt)(ssh,data,datalen);
  if (var_1 != (type_3 *)0x0) {
    (*ssh->protocol)(ssh,(void *)0x0,0,var_1);
    var_2(var_1->data);
    var_2(var_1);
  }
  return;
}


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

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

void __regparm3 MASKED(int param_1,undefined4 param_2,undefined4 param_3)

{
  int iVar1;
  
  iVar1 = (**(code **)(param_1 + 0x240))(param_1,param_2,param_3,0x2b33a);
  if (iVar1 != 0) {
    (**(code **)(param_1 + 0x23c))(param_1,0,0,iVar1);
    FUN_0001b240(*(undefined4 *)(iVar1 + 0x10));
    FUN_0001b240(iVar1);
  }
  return;
}

