
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention */

void ssh1_write_pubkey(FILE *fp,RSAKey *key)

{
  char *ptr;
  
  ptr = ssh1_pubkey_str(key);
  __fprintf_chk(fp,1,"%s\n",ptr);
  safefree(ptr);
  return;
}



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

void FUN_000379b0(undefined4 param_1,undefined4 param_2)

{
  undefined4 uVar1;
  
  uVar1 = FUN_00037910(param_2);
  __fprintf_chk(param_1,1,"%s\n",uVar1);
  FUN_0001a110(uVar1);
  return;
}


PUSH ESI
PUSH EBX
CALL 0x000152d0
ADD EBX,0x37331
SUB ESP,0x10
PUSH dword ptr [ESP + 0x20]
CALL 0x00037910
PUSH EAX
MOV ESI,EAX
LEA EAX,[EBX + 0xfffe4cf6]
PUSH EAX
PUSH 0x1
PUSH dword ptr [ESP + 0x2c]
CALL 0x000148f0
ADD ESP,0x14
PUSH ESI
CALL 0x0001a110
ADD ESP,0x14
POP EBX
POP ESI
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_000379b0(undefined4 param_1,undefined4 param_2)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = FUN_00037910(param_2);\n  __fprintf_chk(param_1,1,"%s\n",uVar1);\n  FUN_0001a110(uVar1);\n  return;\n}\n\n" comment (function_definition "void FUN_000379b0(undefined4 param_1,undefined4 param_2)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = FUN_00037910(param_2);\n  __fprintf_chk(param_1,1,"%s\n",uVar1);\n  FUN_0001a110(uVar1);\n  return;\n}" primitive_type (function_declarator "FUN_000379b0(undefined4 param_1,undefined4 param_2)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  \n  uVar1 = FUN_00037910(param_2);\n  __fprintf_chk(param_1,1,"%s\n",uVar1);\n  FUN_0001a110(uVar1);\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (expression_statement "uVar1 = FUN_00037910(param_2);" (assignment_expression "uVar1 = FUN_00037910(param_2)" identifier = (call_expression "FUN_00037910(param_2)" identifier (argument_list "(param_2)" ( identifier )))) ;) (expression_statement "__fprintf_chk(param_1,1,"%s\n",uVar1);" (call_expression "__fprintf_chk(param_1,1,"%s\n",uVar1)" identifier (argument_list "(param_1,1,"%s\n",uVar1)" ( identifier , number_literal , (string_literal ""%s\n"" " string_content escape_sequence ") , identifier ))) ;) (expression_statement "FUN_0001a110(uVar1);" (call_expression "FUN_0001a110(uVar1)" identifier (argument_list "(uVar1)" ( identifier ))) ;) (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\nvoid ssh1_write_pubkey(FILE *fp,RSAKey *key)\n\n{\n  char *ptr;\n  \n  ptr = ssh1_pubkey_str(key);\n  __fprintf_chk(fp,1,"%s\n",ptr);\n  safefree(ptr);\n  return;\n}\n\n" comment comment (function_definition "void ssh1_write_pubkey(FILE *fp,RSAKey *key)\n\n{\n  char *ptr;\n  \n  ptr = ssh1_pubkey_str(key);\n  __fprintf_chk(fp,1,"%s\n",ptr);\n  safefree(ptr);\n  return;\n}" primitive_type (function_declarator "ssh1_write_pubkey(FILE *fp,RSAKey *key)" identifier (parameter_list "(FILE *fp,RSAKey *key)" ( (parameter_declaration "FILE *fp" type_identifier (pointer_declarator "*fp" * identifier)) , (parameter_declaration "RSAKey *key" type_identifier (pointer_declarator "*key" * identifier)) ))) (compound_statement "{\n  char *ptr;\n  \n  ptr = ssh1_pubkey_str(key);\n  __fprintf_chk(fp,1,"%s\n",ptr);\n  safefree(ptr);\n  return;\n}" { (declaration "char *ptr;" primitive_type (pointer_declarator "*ptr" * identifier) ;) (expression_statement "ptr = ssh1_pubkey_str(key);" (assignment_expression "ptr = ssh1_pubkey_str(key)" identifier = (call_expression "ssh1_pubkey_str(key)" identifier (argument_list "(key)" ( identifier )))) ;) (expression_statement "__fprintf_chk(fp,1,"%s\n",ptr);" (call_expression "__fprintf_chk(fp,1,"%s\n",ptr)" identifier (argument_list "(fp,1,"%s\n",ptr)" ( identifier , number_literal , (string_literal ""%s\n"" " string_content escape_sequence ") , identifier ))) ;) (expression_statement "safefree(ptr);" (call_expression "safefree(ptr)" identifier (argument_list "(ptr)" ( identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_000379b0(undefined4 param_1,undefined4 param_2)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = FUN_00037910(param_2);\n  __fprintf_chk(param_1,1,"%s\n",uVar1);\n  FUN_0001a110(uVar1);\n  return;\n}\n\n" (function_definition "void FUN_000379b0(undefined4 param_1,undefined4 param_2)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = FUN_00037910(param_2);\n  __fprintf_chk(param_1,1,"%s\n",uVar1);\n  FUN_0001a110(uVar1);\n  return;\n}" primitive_type (function_declarator "FUN_000379b0(undefined4 param_1,undefined4 param_2)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  \n  uVar1 = FUN_00037910(param_2);\n  __fprintf_chk(param_1,1,"%s\n",uVar1);\n  FUN_0001a110(uVar1);\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (expression_statement "uVar1 = FUN_00037910(param_2);" (assignment_expression "uVar1 = FUN_00037910(param_2)" identifier = (call_expression "FUN_00037910(param_2)" identifier (argument_list "(param_2)" ( identifier )))) ;) (expression_statement "__fprintf_chk(param_1,1,"%s\n",uVar1);" (call_expression "__fprintf_chk(param_1,1,"%s\n",uVar1)" identifier (argument_list "(param_1,1,"%s\n",uVar1)" ( identifier , number_literal , (string_literal ""%s\n"" " string_content escape_sequence ") , identifier ))) ;) (expression_statement "FUN_0001a110(uVar1);" (call_expression "FUN_0001a110(uVar1)" identifier (argument_list "(uVar1)" ( identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT , (string_literal " string_content escape_sequence ") , IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (return_statement return ;) })))
(function_definition "void FUN_000379b0(undefined4 param_1,undefined4 param_2)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = FUN_00037910(param_2);\n  __fprintf_chk(param_1,1,"%s\n",uVar1);\n  FUN_0001a110(uVar1);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_000379b0(undefined4 param_1,undefined4 param_2)" (identifier "FUN_000379b0") (parameter_list "(undefined4 param_1,undefined4 param_2)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  \n  uVar1 = FUN_00037910(param_2);\n  __fprintf_chk(param_1,1,"%s\n",uVar1);\n  FUN_0001a110(uVar1);\n  return;\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (expression_statement "uVar1 = FUN_00037910(param_2);" (assignment_expression "uVar1 = FUN_00037910(param_2)" (identifier "uVar1") (= "=") (call_expression "FUN_00037910(param_2)" (identifier "FUN_00037910") (argument_list "(param_2)" (( "(") (identifier "param_2") () ")")))) (; ";")) (expression_statement "__fprintf_chk(param_1,1,"%s\n",uVar1);" (call_expression "__fprintf_chk(param_1,1,"%s\n",uVar1)" (identifier "__fprintf_chk") (argument_list "(param_1,1,"%s\n",uVar1)" (( "(") (identifier "param_1") (, ",") (number_literal "1") (, ",") (string_literal ""%s\n"" (" """) (string_content "%s") (escape_sequence "\n") (" """)) (, ",") (identifier "uVar1") () ")"))) (; ";")) (expression_statement "FUN_0001a110(uVar1);" (call_expression "FUN_0001a110(uVar1)" (identifier "FUN_0001a110") (argument_list "(uVar1)" (( "(") (identifier "uVar1") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention */

void function_1(type_1 *fp,type_2 *key)

{
  char *ptr;
  
  ptr = var_1(key);
  var_2(fp,1,"%s\n",ptr);
  var_3(ptr);
  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)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal) (string_literal (string_content) (escape_sequence)) (identifier)))) (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 MASKED(undefined4 param_1,undefined4 param_2)

{
  undefined4 uVar1;
  
  uVar1 = FUN_00037910(param_2);
  __fprintf_chk(param_1,1,"%s\n",uVar1);
  FUN_0001a110(uVar1);
  return;
}

