
/* 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 ssh_delete_sharing_channel(Ssh_conflict ssh,uint localid)

{
  ssh_channel *c;
  
  c = (ssh_channel *)find234(ssh->channels,&localid,ssh_channelfind);
  if (c != (ssh_channel *)0x0) {
    ssh_channel_destroy(c);
  }
  return;
}



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

void FUN_00049da0(int param_1)

{
  int iVar1;
  
  iVar1 = FUN_000817b0(*(undefined4 *)(param_1 + 0x124),&stack0x00000008,FUN_00039030);
  if (iVar1 != 0) {
    FUN_00047c10();
  }
  return;
}


PUSH EBX
CALL 0x0001c4f0
ADD EBX,0xc69aa
SUB ESP,0xc
LEA EAX,[EBX + 0xfff288e0]
PUSH EAX
LEA EAX,[ESP + 0x1c]
PUSH EAX
MOV EAX,dword ptr [ESP + 0x1c]
PUSH dword ptr [EAX + 0x124]
CALL 0x000817b0
ADD ESP,0x10
TEST EAX,EAX
JZ 0x00049dd6
CALL 0x00047c10
ADD ESP,0x8
POP EBX
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_00049da0(int param_1)\n\n{\n  int iVar1;\n  \n  iVar1 = FUN_000817b0(*(undefined4 *)(param_1 + 0x124),&stack0x00000008,FUN_00039030);\n  if (iVar1 != 0) {\n    FUN_00047c10();\n  }\n  return;\n}\n\n" comment (function_definition "void FUN_00049da0(int param_1)\n\n{\n  int iVar1;\n  \n  iVar1 = FUN_000817b0(*(undefined4 *)(param_1 + 0x124),&stack0x00000008,FUN_00039030);\n  if (iVar1 != 0) {\n    FUN_00047c10();\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00049da0(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = FUN_000817b0(*(undefined4 *)(param_1 + 0x124),&stack0x00000008,FUN_00039030);\n  if (iVar1 != 0) {\n    FUN_00047c10();\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = FUN_000817b0(*(undefined4 *)(param_1 + 0x124),&stack0x00000008,FUN_00039030);" (assignment_expression "iVar1 = FUN_000817b0(*(undefined4 *)(param_1 + 0x124),&stack0x00000008,FUN_00039030)" identifier = (call_expression "FUN_000817b0(*(undefined4 *)(param_1 + 0x124),&stack0x00000008,FUN_00039030)" identifier (argument_list "(*(undefined4 *)(param_1 + 0x124),&stack0x00000008,FUN_00039030)" ( (pointer_expression "*(undefined4 *)(param_1 + 0x124)" * (cast_expression "(undefined4 *)(param_1 + 0x124)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x124)" ( (binary_expression "param_1 + 0x124" identifier + number_literal) )))) , (pointer_expression "&stack0x00000008" & identifier) , identifier )))) ;) (if_statement "if (iVar1 != 0) {\n    FUN_00047c10();\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    FUN_00047c10();\n  }" { (expression_statement "FUN_00047c10();" (call_expression "FUN_00047c10()" identifier (argument_list "()" ( ))) ;) })) (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 ssh_delete_sharing_channel(Ssh_conflict ssh,uint localid)\n\n{\n  ssh_channel *c;\n  \n  c = (ssh_channel *)find234(ssh->channels,&localid,ssh_channelfind);\n  if (c != (ssh_channel *)0x0) {\n    ssh_channel_destroy(c);\n  }\n  return;\n}\n\n" comment comment (function_definition "void ssh_delete_sharing_channel(Ssh_conflict ssh,uint localid)\n\n{\n  ssh_channel *c;\n  \n  c = (ssh_channel *)find234(ssh->channels,&localid,ssh_channelfind);\n  if (c != (ssh_channel *)0x0) {\n    ssh_channel_destroy(c);\n  }\n  return;\n}" primitive_type (function_declarator "ssh_delete_sharing_channel(Ssh_conflict ssh,uint localid)" identifier (parameter_list "(Ssh_conflict ssh,uint localid)" ( (parameter_declaration "Ssh_conflict ssh" type_identifier identifier) , (parameter_declaration "uint localid" type_identifier identifier) ))) (compound_statement "{\n  ssh_channel *c;\n  \n  c = (ssh_channel *)find234(ssh->channels,&localid,ssh_channelfind);\n  if (c != (ssh_channel *)0x0) {\n    ssh_channel_destroy(c);\n  }\n  return;\n}" { (declaration "ssh_channel *c;" type_identifier (pointer_declarator "*c" * identifier) ;) (expression_statement "c = (ssh_channel *)find234(ssh->channels,&localid,ssh_channelfind);" (assignment_expression "c = (ssh_channel *)find234(ssh->channels,&localid,ssh_channelfind)" identifier = (cast_expression "(ssh_channel *)find234(ssh->channels,&localid,ssh_channelfind)" ( (type_descriptor "ssh_channel *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "find234(ssh->channels,&localid,ssh_channelfind)" identifier (argument_list "(ssh->channels,&localid,ssh_channelfind)" ( (field_expression "ssh->channels" identifier -> field_identifier) , (pointer_expression "&localid" & identifier) , identifier ))))) ;) (if_statement "if (c != (ssh_channel *)0x0) {\n    ssh_channel_destroy(c);\n  }" if (parenthesized_expression "(c != (ssh_channel *)0x0)" ( (binary_expression "c != (ssh_channel *)0x0" identifier != (cast_expression "(ssh_channel *)0x0" ( (type_descriptor "ssh_channel *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    ssh_channel_destroy(c);\n  }" { (expression_statement "ssh_channel_destroy(c);" (call_expression "ssh_channel_destroy(c)" identifier (argument_list "(c)" ( identifier ))) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00049da0(int param_1)\n\n{\n  int iVar1;\n  \n  iVar1 = FUN_000817b0(*(undefined4 *)(param_1 + 0x124),&stack0x00000008,FUN_00039030);\n  if (iVar1 != 0) {\n    FUN_00047c10();\n  }\n  return;\n}\n\n" (function_definition "void FUN_00049da0(int param_1)\n\n{\n  int iVar1;\n  \n  iVar1 = FUN_000817b0(*(undefined4 *)(param_1 + 0x124),&stack0x00000008,FUN_00039030);\n  if (iVar1 != 0) {\n    FUN_00047c10();\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00049da0(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = FUN_000817b0(*(undefined4 *)(param_1 + 0x124),&stack0x00000008,FUN_00039030);\n  if (iVar1 != 0) {\n    FUN_00047c10();\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = FUN_000817b0(*(undefined4 *)(param_1 + 0x124),&stack0x00000008,FUN_00039030);" (assignment_expression "iVar1 = FUN_000817b0(*(undefined4 *)(param_1 + 0x124),&stack0x00000008,FUN_00039030)" identifier = (call_expression "FUN_000817b0(*(undefined4 *)(param_1 + 0x124),&stack0x00000008,FUN_00039030)" identifier (argument_list "(*(undefined4 *)(param_1 + 0x124),&stack0x00000008,FUN_00039030)" ( (pointer_expression "*(undefined4 *)(param_1 + 0x124)" * (cast_expression "(undefined4 *)(param_1 + 0x124)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x124)" ( (binary_expression "param_1 + 0x124" identifier + number_literal) )))) , (pointer_expression "&stack0x00000008" & identifier) , identifier )))) ;) (if_statement "if (iVar1 != 0) {\n    FUN_00047c10();\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    FUN_00047c10();\n  }" { (expression_statement "FUN_00047c10();" (call_expression "FUN_00047c10()" identifier (argument_list "()" ( ))) ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (pointer_expression & IDENT) , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (return_statement return ;) })))
(function_definition "void FUN_00049da0(int param_1)\n\n{\n  int iVar1;\n  \n  iVar1 = FUN_000817b0(*(undefined4 *)(param_1 + 0x124),&stack0x00000008,FUN_00039030);\n  if (iVar1 != 0) {\n    FUN_00047c10();\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00049da0(int param_1)" (identifier "FUN_00049da0") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = FUN_000817b0(*(undefined4 *)(param_1 + 0x124),&stack0x00000008,FUN_00039030);\n  if (iVar1 != 0) {\n    FUN_00047c10();\n  }\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (expression_statement "iVar1 = FUN_000817b0(*(undefined4 *)(param_1 + 0x124),&stack0x00000008,FUN_00039030);" (assignment_expression "iVar1 = FUN_000817b0(*(undefined4 *)(param_1 + 0x124),&stack0x00000008,FUN_00039030)" (identifier "iVar1") (= "=") (call_expression "FUN_000817b0(*(undefined4 *)(param_1 + 0x124),&stack0x00000008,FUN_00039030)" (identifier "FUN_000817b0") (argument_list "(*(undefined4 *)(param_1 + 0x124),&stack0x00000008,FUN_00039030)" (( "(") (pointer_expression "*(undefined4 *)(param_1 + 0x124)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x124)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x124)" (( "(") (binary_expression "param_1 + 0x124" (identifier "param_1") (+ "+") (number_literal "0x124")) () ")")))) (, ",") (pointer_expression "&stack0x00000008" (& "&") (identifier "stack0x00000008")) (, ",") (identifier "FUN_00039030") () ")")))) (; ";")) (if_statement "if (iVar1 != 0) {\n    FUN_00047c10();\n  }" (if "if") (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    FUN_00047c10();\n  }" ({ "{") (expression_statement "FUN_00047c10();" (call_expression "FUN_00047c10()" (identifier "FUN_00047c10") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (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 function_1(type_1 ssh,type_2 localid)

{
  type_3 *var_2;
  
  var_2 = (type_3 *)var_1(ssh->channels,&localid,ssh_channelfind);
  if (var_2 != (type_3 *)0x0) {
    var_3(var_2);
  }
  return;
}


(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: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (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))))) (pointer_expression argument: (identifier)) (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list))))) (return_statement))))

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

void MASKED(int param_1)

{
  int iVar1;
  
  iVar1 = FUN_000817b0(*(undefined4 *)(param_1 + 0x124),&stack0x00000008,FUN_00039030);
  if (iVar1 != 0) {
    FUN_00047c10();
  }
  return;
}

