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

void telnet_log(Plug plug,int type,SockAddr addr,int port,char *error_msg,int error_code)

{
  backend_socket_log(plug[3],type,addr,port,error_msg,error_code,(Conf *)plug[0x1c],(int)plug[0x1a])
  ;
  return;
}



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

void FUN_0005ea10(int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,
                 undefined4 param_5,undefined4 param_6)

{
  FUN_00016130(*(undefined4 *)(param_1 + 0xc),param_2,param_3,param_4,param_5,param_6,
               *(undefined4 *)(param_1 + 0x70),*(undefined4 *)(param_1 + 0x68));
  return;
}


PUSH EBX
CALL 0x00015fa0
ADD EBX,0x4635a
SUB ESP,0x8
MOV EAX,dword ptr [ESP + 0x10]
PUSH dword ptr [EAX + 0x68]
PUSH dword ptr [EAX + 0x70]
PUSH dword ptr [ESP + 0x2c]
PUSH dword ptr [ESP + 0x2c]
PUSH dword ptr [ESP + 0x2c]
PUSH dword ptr [ESP + 0x2c]
PUSH dword ptr [ESP + 0x2c]
PUSH dword ptr [EAX + 0xc]
CALL 0x00016130
ADD ESP,0x28
POP EBX
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_0005ea10(int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                 undefined4 param_5,undefined4 param_6)\n\n{\n  FUN_00016130(*(undefined4 *)(param_1 + 0xc),param_2,param_3,param_4,param_5,param_6,\n               *(undefined4 *)(param_1 + 0x70),*(undefined4 *)(param_1 + 0x68));\n  return;\n}\n\n" comment (function_definition "void FUN_0005ea10(int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                 undefined4 param_5,undefined4 param_6)\n\n{\n  FUN_00016130(*(undefined4 *)(param_1 + 0xc),param_2,param_3,param_4,param_5,param_6,\n               *(undefined4 *)(param_1 + 0x70),*(undefined4 *)(param_1 + 0x68));\n  return;\n}" primitive_type (function_declarator "FUN_0005ea10(int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                 undefined4 param_5,undefined4 param_6)" identifier (parameter_list "(int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                 undefined4 param_5,undefined4 param_6)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) , (parameter_declaration "undefined4 param_5" type_identifier identifier) , (parameter_declaration "undefined4 param_6" type_identifier identifier) ))) (compound_statement "{\n  FUN_00016130(*(undefined4 *)(param_1 + 0xc),param_2,param_3,param_4,param_5,param_6,\n               *(undefined4 *)(param_1 + 0x70),*(undefined4 *)(param_1 + 0x68));\n  return;\n}" { (expression_statement "FUN_00016130(*(undefined4 *)(param_1 + 0xc),param_2,param_3,param_4,param_5,param_6,\n               *(undefined4 *)(param_1 + 0x70),*(undefined4 *)(param_1 + 0x68));" (call_expression "FUN_00016130(*(undefined4 *)(param_1 + 0xc),param_2,param_3,param_4,param_5,param_6,\n               *(undefined4 *)(param_1 + 0x70),*(undefined4 *)(param_1 + 0x68))" identifier (argument_list "(*(undefined4 *)(param_1 + 0xc),param_2,param_3,param_4,param_5,param_6,\n               *(undefined4 *)(param_1 + 0x70),*(undefined4 *)(param_1 + 0x68))" ( (pointer_expression "*(undefined4 *)(param_1 + 0xc)" * (cast_expression "(undefined4 *)(param_1 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) , identifier , identifier , identifier , identifier , identifier , (pointer_expression "*(undefined4 *)(param_1 + 0x70)" * (cast_expression "(undefined4 *)(param_1 + 0x70)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x70)" ( (binary_expression "param_1 + 0x70" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(param_1 + 0x68)" * (cast_expression "(undefined4 *)(param_1 + 0x68)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x68)" ( (binary_expression "param_1 + 0x68" identifier + number_literal) )))) ))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid telnet_log(Plug plug,int type,SockAddr addr,int port,char *error_msg,int error_code)\n\n{\n  backend_socket_log(plug[3],type,addr,port,error_msg,error_code,(Conf *)plug[0x1c],(int)plug[0x1a])\n  ;\n  return;\n}\n\n" comment comment comment (function_definition "void telnet_log(Plug plug,int type,SockAddr addr,int port,char *error_msg,int error_code)\n\n{\n  backend_socket_log(plug[3],type,addr,port,error_msg,error_code,(Conf *)plug[0x1c],(int)plug[0x1a])\n  ;\n  return;\n}" primitive_type (function_declarator "telnet_log(Plug plug,int type,SockAddr addr,int port,char *error_msg,int error_code)" identifier (parameter_list "(Plug plug,int type,SockAddr addr,int port,char *error_msg,int error_code)" ( (parameter_declaration "Plug plug" type_identifier identifier) , (parameter_declaration "int type" primitive_type identifier) , (parameter_declaration "SockAddr addr" type_identifier identifier) , (parameter_declaration "int port" primitive_type identifier) , (parameter_declaration "char *error_msg" primitive_type (pointer_declarator "*error_msg" * identifier)) , (parameter_declaration "int error_code" primitive_type identifier) ))) (compound_statement "{\n  backend_socket_log(plug[3],type,addr,port,error_msg,error_code,(Conf *)plug[0x1c],(int)plug[0x1a])\n  ;\n  return;\n}" { (expression_statement "backend_socket_log(plug[3],type,addr,port,error_msg,error_code,(Conf *)plug[0x1c],(int)plug[0x1a])\n  ;" (call_expression "backend_socket_log(plug[3],type,addr,port,error_msg,error_code,(Conf *)plug[0x1c],(int)plug[0x1a])" identifier (argument_list "(plug[3],type,addr,port,error_msg,error_code,(Conf *)plug[0x1c],(int)plug[0x1a])" ( (subscript_expression "plug[3]" identifier [ number_literal ]) , identifier , identifier , identifier , identifier , identifier , (cast_expression "(Conf *)plug[0x1c]" ( (type_descriptor "Conf *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "plug[0x1c]" identifier [ number_literal ])) , (cast_expression "(int)plug[0x1a]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "plug[0x1a]" identifier [ number_literal ])) ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_0005ea10(int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                 undefined4 param_5,undefined4 param_6)\n\n{\n  FUN_00016130(*(undefined4 *)(param_1 + 0xc),param_2,param_3,param_4,param_5,param_6,\n               *(undefined4 *)(param_1 + 0x70),*(undefined4 *)(param_1 + 0x68));\n  return;\n}\n\n" (function_definition "void FUN_0005ea10(int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                 undefined4 param_5,undefined4 param_6)\n\n{\n  FUN_00016130(*(undefined4 *)(param_1 + 0xc),param_2,param_3,param_4,param_5,param_6,\n               *(undefined4 *)(param_1 + 0x70),*(undefined4 *)(param_1 + 0x68));\n  return;\n}" primitive_type (function_declarator "FUN_0005ea10(int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                 undefined4 param_5,undefined4 param_6)" identifier (parameter_list "(int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                 undefined4 param_5,undefined4 param_6)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) , (parameter_declaration "undefined4 param_5" type_identifier identifier) , (parameter_declaration "undefined4 param_6" type_identifier identifier) ))) (compound_statement "{\n  FUN_00016130(*(undefined4 *)(param_1 + 0xc),param_2,param_3,param_4,param_5,param_6,\n               *(undefined4 *)(param_1 + 0x70),*(undefined4 *)(param_1 + 0x68));\n  return;\n}" { (expression_statement "FUN_00016130(*(undefined4 *)(param_1 + 0xc),param_2,param_3,param_4,param_5,param_6,\n               *(undefined4 *)(param_1 + 0x70),*(undefined4 *)(param_1 + 0x68));" (call_expression "FUN_00016130(*(undefined4 *)(param_1 + 0xc),param_2,param_3,param_4,param_5,param_6,\n               *(undefined4 *)(param_1 + 0x70),*(undefined4 *)(param_1 + 0x68))" identifier (argument_list "(*(undefined4 *)(param_1 + 0xc),param_2,param_3,param_4,param_5,param_6,\n               *(undefined4 *)(param_1 + 0x70),*(undefined4 *)(param_1 + 0x68))" ( (pointer_expression "*(undefined4 *)(param_1 + 0xc)" * (cast_expression "(undefined4 *)(param_1 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) , identifier , identifier , identifier , identifier , identifier , (pointer_expression "*(undefined4 *)(param_1 + 0x70)" * (cast_expression "(undefined4 *)(param_1 + 0x70)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x70)" ( (binary_expression "param_1 + 0x70" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(param_1 + 0x68)" * (cast_expression "(undefined4 *)(param_1 + 0x68)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x68)" ( (binary_expression "param_1 + 0x68" identifier + number_literal) )))) ))) ;) (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) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , IDENT , IDENT , IDENT , IDENT , IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) (return_statement return ;) })))
(function_definition "void FUN_0005ea10(int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                 undefined4 param_5,undefined4 param_6)\n\n{\n  FUN_00016130(*(undefined4 *)(param_1 + 0xc),param_2,param_3,param_4,param_5,param_6,\n               *(undefined4 *)(param_1 + 0x70),*(undefined4 *)(param_1 + 0x68));\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0005ea10(int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                 undefined4 param_5,undefined4 param_6)" (identifier "FUN_0005ea10") (parameter_list "(int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                 undefined4 param_5,undefined4 param_6)" (( "(") (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")) (, ",") (parameter_declaration "undefined4 param_4" (type_identifier "undefined4") (identifier "param_4")) (, ",") (parameter_declaration "undefined4 param_5" (type_identifier "undefined4") (identifier "param_5")) (, ",") (parameter_declaration "undefined4 param_6" (type_identifier "undefined4") (identifier "param_6")) () ")"))) (compound_statement "{\n  FUN_00016130(*(undefined4 *)(param_1 + 0xc),param_2,param_3,param_4,param_5,param_6,\n               *(undefined4 *)(param_1 + 0x70),*(undefined4 *)(param_1 + 0x68));\n  return;\n}" ({ "{") (expression_statement "FUN_00016130(*(undefined4 *)(param_1 + 0xc),param_2,param_3,param_4,param_5,param_6,\n               *(undefined4 *)(param_1 + 0x70),*(undefined4 *)(param_1 + 0x68));" (call_expression "FUN_00016130(*(undefined4 *)(param_1 + 0xc),param_2,param_3,param_4,param_5,param_6,\n               *(undefined4 *)(param_1 + 0x70),*(undefined4 *)(param_1 + 0x68))" (identifier "FUN_00016130") (argument_list "(*(undefined4 *)(param_1 + 0xc),param_2,param_3,param_4,param_5,param_6,\n               *(undefined4 *)(param_1 + 0x70),*(undefined4 *)(param_1 + 0x68))" (( "(") (pointer_expression "*(undefined4 *)(param_1 + 0xc)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xc)" (( "(") (binary_expression "param_1 + 0xc" (identifier "param_1") (+ "+") (number_literal "0xc")) () ")")))) (, ",") (identifier "param_2") (, ",") (identifier "param_3") (, ",") (identifier "param_4") (, ",") (identifier "param_5") (, ",") (identifier "param_6") (, ",") (pointer_expression "*(undefined4 *)(param_1 + 0x70)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x70)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x70)" (( "(") (binary_expression "param_1 + 0x70" (identifier "param_1") (+ "+") (number_literal "0x70")) () ")")))) (, ",") (pointer_expression "*(undefined4 *)(param_1 + 0x68)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x68)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x68)" (( "(") (binary_expression "param_1 + 0x68" (identifier "param_1") (+ "+") (number_literal "0x68")) () ")")))) () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

void function_1(type_1 plug,int type,type_2 addr,int port,char *error_msg,int error_code)

{
  var_1(plug[3],type,addr,port,error_msg,error_code,(type_3 *)plug[0x1c],(int)plug[0x1a])
  ;
  return;
}


(translation_unit (function_definition type: (primitive_type) 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)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (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))))) (identifier) (identifier) (identifier) (identifier) (identifier) (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: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))) (return_statement))))

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

void MASKED(int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,
                 undefined4 param_5,undefined4 param_6)

{
  FUN_00016130(*(undefined4 *)(param_1 + 0xc),param_2,param_3,param_4,param_5,param_6,
               *(undefined4 *)(param_1 + 0x70),*(undefined4 *)(param_1 + 0x68));
  return;
}

