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

void ssh_sharing_downstream_connected(Ssh_conflict ssh,uint id,char *peerinfo)

{
  if (peerinfo != (char *)0x0) {
    logeventf(ssh,"Connection sharing downstream #%u connected from %s",id,peerinfo);
    return;
  }
  logeventf(ssh,"Connection sharing downstream #%u connected");
  return;
}



/* WARNING: Function: __i686.get_pc_thunk.dx replaced with injection: get_pc_thunk_dx */

void FUN_0003f460(undefined4 param_1,undefined4 param_2,int param_3)

{
  if (param_3 != 0) {
    FUN_00039170(param_1,"Connection sharing downstream #%u connected from %s",param_2,param_3);
    return;
  }
  FUN_00039170();
  return;
}


CALL 0x0001c625
ADD EDX,0xd12eb
PUSH EBX
SUB ESP,0x8
MOV EAX,dword ptr [ESP + 0x18]
MOV EBX,dword ptr [ESP + 0x10]
MOV ECX,dword ptr [ESP + 0x14]
TEST EAX,EAX
JZ 0x0003f498
PUSH EAX
LEA EAX,[EDX + 0xfffafb80]
PUSH ECX
PUSH EAX
PUSH EBX
CALL 0x00039170
ADD ESP,0x18
POP EBX
RET
LEA EAX,[EDX + 0xfffafbb4]
MOV dword ptr [ESP + 0x18],ECX
MOV dword ptr [ESP + 0x14],EAX
ADD ESP,0x8
POP EBX
JMP 0x00039170
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.dx replaced with injection: get_pc_thunk_dx */\n\nvoid FUN_0003f460(undefined4 param_1,undefined4 param_2,int param_3)\n\n{\n  if (param_3 != 0) {\n    FUN_00039170(param_1,"Connection sharing downstream #%u connected from %s",param_2,param_3);\n    return;\n  }\n  FUN_00039170();\n  return;\n}\n\n" comment (function_definition "void FUN_0003f460(undefined4 param_1,undefined4 param_2,int param_3)\n\n{\n  if (param_3 != 0) {\n    FUN_00039170(param_1,"Connection sharing downstream #%u connected from %s",param_2,param_3);\n    return;\n  }\n  FUN_00039170();\n  return;\n}" primitive_type (function_declarator "FUN_0003f460(undefined4 param_1,undefined4 param_2,int param_3)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,int param_3)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  if (param_3 != 0) {\n    FUN_00039170(param_1,"Connection sharing downstream #%u connected from %s",param_2,param_3);\n    return;\n  }\n  FUN_00039170();\n  return;\n}" { (if_statement "if (param_3 != 0) {\n    FUN_00039170(param_1,"Connection sharing downstream #%u connected from %s",param_2,param_3);\n    return;\n  }" if (parenthesized_expression "(param_3 != 0)" ( (binary_expression "param_3 != 0" identifier != number_literal) )) (compound_statement "{\n    FUN_00039170(param_1,"Connection sharing downstream #%u connected from %s",param_2,param_3);\n    return;\n  }" { (expression_statement "FUN_00039170(param_1,"Connection sharing downstream #%u connected from %s",param_2,param_3);" (call_expression "FUN_00039170(param_1,"Connection sharing downstream #%u connected from %s",param_2,param_3)" identifier (argument_list "(param_1,"Connection sharing downstream #%u connected from %s",param_2,param_3)" ( identifier , (string_literal ""Connection sharing downstream #%u connected from %s"" " string_content ") , identifier , identifier ))) ;) (return_statement "return;" return ;) })) (expression_statement "FUN_00039170();" (call_expression "FUN_00039170()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.dx replaced with injection: get_pc_thunk_dx */\n/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid ssh_sharing_downstream_connected(Ssh_conflict ssh,uint id,char *peerinfo)\n\n{\n  if (peerinfo != (char *)0x0) {\n    logeventf(ssh,"Connection sharing downstream #%u connected from %s",id,peerinfo);\n    return;\n  }\n  logeventf(ssh,"Connection sharing downstream #%u connected");\n  return;\n}\n\n" comment comment (function_definition "void ssh_sharing_downstream_connected(Ssh_conflict ssh,uint id,char *peerinfo)\n\n{\n  if (peerinfo != (char *)0x0) {\n    logeventf(ssh,"Connection sharing downstream #%u connected from %s",id,peerinfo);\n    return;\n  }\n  logeventf(ssh,"Connection sharing downstream #%u connected");\n  return;\n}" primitive_type (function_declarator "ssh_sharing_downstream_connected(Ssh_conflict ssh,uint id,char *peerinfo)" identifier (parameter_list "(Ssh_conflict ssh,uint id,char *peerinfo)" ( (parameter_declaration "Ssh_conflict ssh" type_identifier identifier) , (parameter_declaration "uint id" type_identifier identifier) , (parameter_declaration "char *peerinfo" primitive_type (pointer_declarator "*peerinfo" * identifier)) ))) (compound_statement "{\n  if (peerinfo != (char *)0x0) {\n    logeventf(ssh,"Connection sharing downstream #%u connected from %s",id,peerinfo);\n    return;\n  }\n  logeventf(ssh,"Connection sharing downstream #%u connected");\n  return;\n}" { (if_statement "if (peerinfo != (char *)0x0) {\n    logeventf(ssh,"Connection sharing downstream #%u connected from %s",id,peerinfo);\n    return;\n  }" if (parenthesized_expression "(peerinfo != (char *)0x0)" ( (binary_expression "peerinfo != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    logeventf(ssh,"Connection sharing downstream #%u connected from %s",id,peerinfo);\n    return;\n  }" { (expression_statement "logeventf(ssh,"Connection sharing downstream #%u connected from %s",id,peerinfo);" (call_expression "logeventf(ssh,"Connection sharing downstream #%u connected from %s",id,peerinfo)" identifier (argument_list "(ssh,"Connection sharing downstream #%u connected from %s",id,peerinfo)" ( identifier , (string_literal ""Connection sharing downstream #%u connected from %s"" " string_content ") , identifier , identifier ))) ;) (return_statement "return;" return ;) })) (expression_statement "logeventf(ssh,"Connection sharing downstream #%u connected");" (call_expression "logeventf(ssh,"Connection sharing downstream #%u connected")" identifier (argument_list "(ssh,"Connection sharing downstream #%u connected")" ( identifier , (string_literal ""Connection sharing downstream #%u connected"" " string_content ") ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_0003f460(undefined4 param_1,undefined4 param_2,int param_3)\n\n{\n  if (param_3 != 0) {\n    FUN_00039170(param_1,"Connection sharing downstream #%u connected from %s",param_2,param_3);\n    return;\n  }\n  FUN_00039170();\n  return;\n}\n\n" (function_definition "void FUN_0003f460(undefined4 param_1,undefined4 param_2,int param_3)\n\n{\n  if (param_3 != 0) {\n    FUN_00039170(param_1,"Connection sharing downstream #%u connected from %s",param_2,param_3);\n    return;\n  }\n  FUN_00039170();\n  return;\n}" primitive_type (function_declarator "FUN_0003f460(undefined4 param_1,undefined4 param_2,int param_3)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,int param_3)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  if (param_3 != 0) {\n    FUN_00039170(param_1,"Connection sharing downstream #%u connected from %s",param_2,param_3);\n    return;\n  }\n  FUN_00039170();\n  return;\n}" { (if_statement "if (param_3 != 0) {\n    FUN_00039170(param_1,"Connection sharing downstream #%u connected from %s",param_2,param_3);\n    return;\n  }" if (parenthesized_expression "(param_3 != 0)" ( (binary_expression "param_3 != 0" identifier != number_literal) )) (compound_statement "{\n    FUN_00039170(param_1,"Connection sharing downstream #%u connected from %s",param_2,param_3);\n    return;\n  }" { (expression_statement "FUN_00039170(param_1,"Connection sharing downstream #%u connected from %s",param_2,param_3);" (call_expression "FUN_00039170(param_1,"Connection sharing downstream #%u connected from %s",param_2,param_3)" identifier (argument_list "(param_1,"Connection sharing downstream #%u connected from %s",param_2,param_3)" ( identifier , (string_literal ""Connection sharing downstream #%u connected from %s"" " string_content ") , identifier , identifier ))) ;) (return_statement "return;" return ;) })) (expression_statement "FUN_00039170();" (call_expression "FUN_00039170()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content ") , IDENT , IDENT ))) ;) (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (return_statement return ;) })))
(function_definition "void FUN_0003f460(undefined4 param_1,undefined4 param_2,int param_3)\n\n{\n  if (param_3 != 0) {\n    FUN_00039170(param_1,"Connection sharing downstream #%u connected from %s",param_2,param_3);\n    return;\n  }\n  FUN_00039170();\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0003f460(undefined4 param_1,undefined4 param_2,int param_3)" (identifier "FUN_0003f460") (parameter_list "(undefined4 param_1,undefined4 param_2,int param_3)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) () ")"))) (compound_statement "{\n  if (param_3 != 0) {\n    FUN_00039170(param_1,"Connection sharing downstream #%u connected from %s",param_2,param_3);\n    return;\n  }\n  FUN_00039170();\n  return;\n}" ({ "{") (if_statement "if (param_3 != 0) {\n    FUN_00039170(param_1,"Connection sharing downstream #%u connected from %s",param_2,param_3);\n    return;\n  }" (if "if") (parenthesized_expression "(param_3 != 0)" (( "(") (binary_expression "param_3 != 0" (identifier "param_3") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    FUN_00039170(param_1,"Connection sharing downstream #%u connected from %s",param_2,param_3);\n    return;\n  }" ({ "{") (expression_statement "FUN_00039170(param_1,"Connection sharing downstream #%u connected from %s",param_2,param_3);" (call_expression "FUN_00039170(param_1,"Connection sharing downstream #%u connected from %s",param_2,param_3)" (identifier "FUN_00039170") (argument_list "(param_1,"Connection sharing downstream #%u connected from %s",param_2,param_3)" (( "(") (identifier "param_1") (, ",") (string_literal ""Connection sharing downstream #%u connected from %s"" (" """) (string_content "Connection sharing downstream #%u connected from %s") (" """)) (, ",") (identifier "param_2") (, ",") (identifier "param_3") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "FUN_00039170();" (call_expression "FUN_00039170()" (identifier "FUN_00039170") (argument_list "()" (( "(") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

void function_1(type_1 ssh,type_2 id,char *var_1)

{
  if (var_1 != (char *)0x0) {
    var_2(ssh,"Connection sharing downstream #%u connected from %s",id,var_1);
    return;
  }
  var_2(ssh,"Connection sharing downstream #%u connected");
  return;
}


(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: (type_identifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (string_literal (string_content)) (identifier) (identifier)))) (return_statement))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (return_statement))))

/* WARNING: Function: __i686.get_pc_thunk.dx replaced with injection: get_pc_thunk_dx */

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

{
  if (param_3 != 0) {
    FUN_00039170(param_1,"Connection sharing downstream #%u connected from %s",param_2,param_3);
    return;
  }
  FUN_00039170();
  return;
}

