
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */

int askalg(void *frontend,char *algtype,char *algname,_func_void_void_ptr_int *callback,void *ctx)

{
  int iVar1;
  char *msg;
  undefined8 uVar2;
  void *pvVar3;
  GtkWidget *parentwin;
  
  msg = dupprintf(
                 "The first %s supported by the server is %s, which is below the configured warning threshold.\nContinue with connection?"
                 );
  iVar1 = string_width("Reasonably long line of text as a width template");
  uVar2 = gtk_widget_get_type();
  pvVar3 = get_window(frontend);
  parentwin = (GtkWidget *)g_type_check_instance_cast(pvVar3,uVar2);
  iVar1 = messagebox(parentwin,"PuTTY Security Alert",msg,iVar1,0,&DAT_0016eb24,0x79,0,1,
                     &DAT_0016eb28,0x6e,0,0,0);
  safefree(msg);
  return (int)(iVar1 != 0);
}



bool FUN_0013a6fc(undefined8 param_1)

{
  undefined4 uVar1;
  int iVar2;
  undefined8 uVar3;
  undefined8 uVar4;
  undefined8 uVar5;
  
  uVar3 = FUN_00121586(
                      "The first %s supported by the server is %s, which is below the configured warning threshold.\nContinue with connection?"
                      );
  uVar1 = FUN_00142c25("Reasonably long line of text as a width template");
  uVar4 = gtk_widget_get_type();
  uVar5 = FUN_0014417d(param_1);
  uVar4 = g_type_check_instance_cast(uVar5,uVar4);
  iVar2 = FUN_00139e30(uVar4,"PuTTY Security Alert",uVar3,uVar1,0,&DAT_0016eb24,0x79,0,1,
                       &DAT_0016eb28,0x6e,0,0,0);
  FUN_001217b3(uVar3);
  return iVar2 != 0;
}


PUSH R13
PUSH R12
PUSH RBP
PUSH RBX
SUB RSP,0x8
MOV R13,RDI
LEA RDI,[0x177160]
MOV EAX,0x0
CALL 0x00121586
MOV RBX,RAX
LEA RDI,[0x176d58]
CALL 0x00142c25
MOV EBP,EAX
CALL 0x0010f4e0
MOV R12,RAX
MOV RDI,R13
CALL 0x0014417d
MOV RSI,R12
MOV RDI,RAX
CALL 0x0010f550
PUSH 0x0
PUSH 0x0
PUSH 0x0
PUSH 0x6e
LEA RCX,[0x16eb28]
PUSH RCX
PUSH 0x1
PUSH 0x0
PUSH 0x79
LEA R9,[0x16eb24]
MOV R8D,0x0
MOV ECX,EBP
MOV RDX,RBX
LEA RSI,[0x176513]
MOV RDI,RAX
MOV EAX,0x0
CALL 0x00139e30
MOV EBP,EAX
ADD RSP,0x40
MOV RDI,RBX
CALL 0x001217b3
TEST EBP,EBP
SETNZ AL
MOVZX EAX,AL
ADD RSP,0x8
POP RBX
POP RBP
POP R12
POP R13
RET
(translation_unit "bool FUN_0013a6fc(undefined8 param_1)\n\n{\n  undefined4 uVar1;\n  int iVar2;\n  undefined8 uVar3;\n  undefined8 uVar4;\n  undefined8 uVar5;\n  \n  uVar3 = FUN_00121586(\n                      "The first %s supported by the server is %s, which is below the configured warning threshold.\nContinue with connection?"\n                      );\n  uVar1 = FUN_00142c25("Reasonably long line of text as a width template");\n  uVar4 = gtk_widget_get_type();\n  uVar5 = FUN_0014417d(param_1);\n  uVar4 = g_type_check_instance_cast(uVar5,uVar4);\n  iVar2 = FUN_00139e30(uVar4,"PuTTY Security Alert",uVar3,uVar1,0,&DAT_0016eb24,0x79,0,1,\n                       &DAT_0016eb28,0x6e,0,0,0);\n  FUN_001217b3(uVar3);\n  return iVar2 != 0;\n}\n\n" (function_definition "bool FUN_0013a6fc(undefined8 param_1)\n\n{\n  undefined4 uVar1;\n  int iVar2;\n  undefined8 uVar3;\n  undefined8 uVar4;\n  undefined8 uVar5;\n  \n  uVar3 = FUN_00121586(\n                      "The first %s supported by the server is %s, which is below the configured warning threshold.\nContinue with connection?"\n                      );\n  uVar1 = FUN_00142c25("Reasonably long line of text as a width template");\n  uVar4 = gtk_widget_get_type();\n  uVar5 = FUN_0014417d(param_1);\n  uVar4 = g_type_check_instance_cast(uVar5,uVar4);\n  iVar2 = FUN_00139e30(uVar4,"PuTTY Security Alert",uVar3,uVar1,0,&DAT_0016eb24,0x79,0,1,\n                       &DAT_0016eb28,0x6e,0,0,0);\n  FUN_001217b3(uVar3);\n  return iVar2 != 0;\n}" primitive_type (function_declarator "FUN_0013a6fc(undefined8 param_1)" identifier (parameter_list "(undefined8 param_1)" ( (parameter_declaration "undefined8 param_1" type_identifier identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  int iVar2;\n  undefined8 uVar3;\n  undefined8 uVar4;\n  undefined8 uVar5;\n  \n  uVar3 = FUN_00121586(\n                      "The first %s supported by the server is %s, which is below the configured warning threshold.\nContinue with connection?"\n                      );\n  uVar1 = FUN_00142c25("Reasonably long line of text as a width template");\n  uVar4 = gtk_widget_get_type();\n  uVar5 = FUN_0014417d(param_1);\n  uVar4 = g_type_check_instance_cast(uVar5,uVar4);\n  iVar2 = FUN_00139e30(uVar4,"PuTTY Security Alert",uVar3,uVar1,0,&DAT_0016eb24,0x79,0,1,\n                       &DAT_0016eb28,0x6e,0,0,0);\n  FUN_001217b3(uVar3);\n  return iVar2 != 0;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined8 uVar3;" type_identifier identifier ;) (declaration "undefined8 uVar4;" type_identifier identifier ;) (declaration "undefined8 uVar5;" type_identifier identifier ;) (expression_statement "uVar3 = FUN_00121586(\n                      "The first %s supported by the server is %s, which is below the configured warning threshold.\nContinue with connection?"\n                      );" (assignment_expression "uVar3 = FUN_00121586(\n                      "The first %s supported by the server is %s, which is below the configured warning threshold.\nContinue with connection?"\n                      )" identifier = (call_expression "FUN_00121586(\n                      "The first %s supported by the server is %s, which is below the configured warning threshold.\nContinue with connection?"\n                      )" identifier (argument_list "(\n                      "The first %s supported by the server is %s, which is below the configured warning threshold.\nContinue with connection?"\n                      )" ( (string_literal ""The first %s supported by the server is %s, which is below the configured warning threshold.\nContinue with connection?"" " string_content escape_sequence string_content ") )))) ;) (expression_statement "uVar1 = FUN_00142c25("Reasonably long line of text as a width template");" (assignment_expression "uVar1 = FUN_00142c25("Reasonably long line of text as a width template")" identifier = (call_expression "FUN_00142c25("Reasonably long line of text as a width template")" identifier (argument_list "("Reasonably long line of text as a width template")" ( (string_literal ""Reasonably long line of text as a width template"" " string_content ") )))) ;) (expression_statement "uVar4 = gtk_widget_get_type();" (assignment_expression "uVar4 = gtk_widget_get_type()" identifier = (call_expression "gtk_widget_get_type()" identifier (argument_list "()" ( )))) ;) (expression_statement "uVar5 = FUN_0014417d(param_1);" (assignment_expression "uVar5 = FUN_0014417d(param_1)" identifier = (call_expression "FUN_0014417d(param_1)" identifier (argument_list "(param_1)" ( identifier )))) ;) (expression_statement "uVar4 = g_type_check_instance_cast(uVar5,uVar4);" (assignment_expression "uVar4 = g_type_check_instance_cast(uVar5,uVar4)" identifier = (call_expression "g_type_check_instance_cast(uVar5,uVar4)" identifier (argument_list "(uVar5,uVar4)" ( identifier , identifier )))) ;) (expression_statement "iVar2 = FUN_00139e30(uVar4,"PuTTY Security Alert",uVar3,uVar1,0,&DAT_0016eb24,0x79,0,1,\n                       &DAT_0016eb28,0x6e,0,0,0);" (assignment_expression "iVar2 = FUN_00139e30(uVar4,"PuTTY Security Alert",uVar3,uVar1,0,&DAT_0016eb24,0x79,0,1,\n                       &DAT_0016eb28,0x6e,0,0,0)" identifier = (call_expression "FUN_00139e30(uVar4,"PuTTY Security Alert",uVar3,uVar1,0,&DAT_0016eb24,0x79,0,1,\n                       &DAT_0016eb28,0x6e,0,0,0)" identifier (argument_list "(uVar4,"PuTTY Security Alert",uVar3,uVar1,0,&DAT_0016eb24,0x79,0,1,\n                       &DAT_0016eb28,0x6e,0,0,0)" ( identifier , (string_literal ""PuTTY Security Alert"" " string_content ") , identifier , identifier , number_literal , (pointer_expression "&DAT_0016eb24" & identifier) , number_literal , number_literal , number_literal , (pointer_expression "&DAT_0016eb28" & identifier) , number_literal , number_literal , number_literal , number_literal )))) ;) (expression_statement "FUN_001217b3(uVar3);" (call_expression "FUN_001217b3(uVar3)" identifier (argument_list "(uVar3)" ( identifier ))) ;) (return_statement "return iVar2 != 0;" return (binary_expression "iVar2 != 0" identifier != number_literal) ;) })))
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nint askalg(void *frontend,char *algtype,char *algname,_func_void_void_ptr_int *callback,void *ctx)\n\n{\n  int iVar1;\n  char *msg;\n  undefined8 uVar2;\n  void *pvVar3;\n  GtkWidget *parentwin;\n  \n  msg = dupprintf(\n                 "The first %s supported by the server is %s, which is below the configured warning threshold.\nContinue with connection?"\n                 );\n  iVar1 = string_width("Reasonably long line of text as a width template");\n  uVar2 = gtk_widget_get_type();\n  pvVar3 = get_window(frontend);\n  parentwin = (GtkWidget *)g_type_check_instance_cast(pvVar3,uVar2);\n  iVar1 = messagebox(parentwin,"PuTTY Security Alert",msg,iVar1,0,&DAT_0016eb24,0x79,0,1,\n                     &DAT_0016eb28,0x6e,0,0,0);\n  safefree(msg);\n  return (int)(iVar1 != 0);\n}\n\n" comment (function_definition "int askalg(void *frontend,char *algtype,char *algname,_func_void_void_ptr_int *callback,void *ctx)\n\n{\n  int iVar1;\n  char *msg;\n  undefined8 uVar2;\n  void *pvVar3;\n  GtkWidget *parentwin;\n  \n  msg = dupprintf(\n                 "The first %s supported by the server is %s, which is below the configured warning threshold.\nContinue with connection?"\n                 );\n  iVar1 = string_width("Reasonably long line of text as a width template");\n  uVar2 = gtk_widget_get_type();\n  pvVar3 = get_window(frontend);\n  parentwin = (GtkWidget *)g_type_check_instance_cast(pvVar3,uVar2);\n  iVar1 = messagebox(parentwin,"PuTTY Security Alert",msg,iVar1,0,&DAT_0016eb24,0x79,0,1,\n                     &DAT_0016eb28,0x6e,0,0,0);\n  safefree(msg);\n  return (int)(iVar1 != 0);\n}" primitive_type (function_declarator "askalg(void *frontend,char *algtype,char *algname,_func_void_void_ptr_int *callback,void *ctx)" identifier (parameter_list "(void *frontend,char *algtype,char *algname,_func_void_void_ptr_int *callback,void *ctx)" ( (parameter_declaration "void *frontend" primitive_type (pointer_declarator "*frontend" * identifier)) , (parameter_declaration "char *algtype" primitive_type (pointer_declarator "*algtype" * identifier)) , (parameter_declaration "char *algname" primitive_type (pointer_declarator "*algname" * identifier)) , (parameter_declaration "_func_void_void_ptr_int *callback" type_identifier (pointer_declarator "*callback" * identifier)) , (parameter_declaration "void *ctx" primitive_type (pointer_declarator "*ctx" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  char *msg;\n  undefined8 uVar2;\n  void *pvVar3;\n  GtkWidget *parentwin;\n  \n  msg = dupprintf(\n                 "The first %s supported by the server is %s, which is below the configured warning threshold.\nContinue with connection?"\n                 );\n  iVar1 = string_width("Reasonably long line of text as a width template");\n  uVar2 = gtk_widget_get_type();\n  pvVar3 = get_window(frontend);\n  parentwin = (GtkWidget *)g_type_check_instance_cast(pvVar3,uVar2);\n  iVar1 = messagebox(parentwin,"PuTTY Security Alert",msg,iVar1,0,&DAT_0016eb24,0x79,0,1,\n                     &DAT_0016eb28,0x6e,0,0,0);\n  safefree(msg);\n  return (int)(iVar1 != 0);\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "char *msg;" primitive_type (pointer_declarator "*msg" * identifier) ;) (declaration "undefined8 uVar2;" type_identifier identifier ;) (declaration "void *pvVar3;" primitive_type (pointer_declarator "*pvVar3" * identifier) ;) (declaration "GtkWidget *parentwin;" type_identifier (pointer_declarator "*parentwin" * identifier) ;) (expression_statement "msg = dupprintf(\n                 "The first %s supported by the server is %s, which is below the configured warning threshold.\nContinue with connection?"\n                 );" (assignment_expression "msg = dupprintf(\n                 "The first %s supported by the server is %s, which is below the configured warning threshold.\nContinue with connection?"\n                 )" identifier = (call_expression "dupprintf(\n                 "The first %s supported by the server is %s, which is below the configured warning threshold.\nContinue with connection?"\n                 )" identifier (argument_list "(\n                 "The first %s supported by the server is %s, which is below the configured warning threshold.\nContinue with connection?"\n                 )" ( (string_literal ""The first %s supported by the server is %s, which is below the configured warning threshold.\nContinue with connection?"" " string_content escape_sequence string_content ") )))) ;) (expression_statement "iVar1 = string_width("Reasonably long line of text as a width template");" (assignment_expression "iVar1 = string_width("Reasonably long line of text as a width template")" identifier = (call_expression "string_width("Reasonably long line of text as a width template")" identifier (argument_list "("Reasonably long line of text as a width template")" ( (string_literal ""Reasonably long line of text as a width template"" " string_content ") )))) ;) (expression_statement "uVar2 = gtk_widget_get_type();" (assignment_expression "uVar2 = gtk_widget_get_type()" identifier = (call_expression "gtk_widget_get_type()" identifier (argument_list "()" ( )))) ;) (expression_statement "pvVar3 = get_window(frontend);" (assignment_expression "pvVar3 = get_window(frontend)" identifier = (call_expression "get_window(frontend)" identifier (argument_list "(frontend)" ( identifier )))) ;) (expression_statement "parentwin = (GtkWidget *)g_type_check_instance_cast(pvVar3,uVar2);" (assignment_expression "parentwin = (GtkWidget *)g_type_check_instance_cast(pvVar3,uVar2)" identifier = (cast_expression "(GtkWidget *)g_type_check_instance_cast(pvVar3,uVar2)" ( (type_descriptor "GtkWidget *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "g_type_check_instance_cast(pvVar3,uVar2)" identifier (argument_list "(pvVar3,uVar2)" ( identifier , identifier ))))) ;) (expression_statement "iVar1 = messagebox(parentwin,"PuTTY Security Alert",msg,iVar1,0,&DAT_0016eb24,0x79,0,1,\n                     &DAT_0016eb28,0x6e,0,0,0);" (assignment_expression "iVar1 = messagebox(parentwin,"PuTTY Security Alert",msg,iVar1,0,&DAT_0016eb24,0x79,0,1,\n                     &DAT_0016eb28,0x6e,0,0,0)" identifier = (call_expression "messagebox(parentwin,"PuTTY Security Alert",msg,iVar1,0,&DAT_0016eb24,0x79,0,1,\n                     &DAT_0016eb28,0x6e,0,0,0)" identifier (argument_list "(parentwin,"PuTTY Security Alert",msg,iVar1,0,&DAT_0016eb24,0x79,0,1,\n                     &DAT_0016eb28,0x6e,0,0,0)" ( identifier , (string_literal ""PuTTY Security Alert"" " string_content ") , identifier , identifier , number_literal , (pointer_expression "&DAT_0016eb24" & identifier) , number_literal , number_literal , number_literal , (pointer_expression "&DAT_0016eb28" & identifier) , number_literal , number_literal , number_literal , number_literal )))) ;) (expression_statement "safefree(msg);" (call_expression "safefree(msg)" identifier (argument_list "(msg)" ( identifier ))) ;) (return_statement "return (int)(iVar1 != 0);" return (cast_expression "(int)(iVar1 != 0)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) ))) ;) })))
(translation_unit "bool FUN_0013a6fc(undefined8 param_1)\n\n{\n  undefined4 uVar1;\n  int iVar2;\n  undefined8 uVar3;\n  undefined8 uVar4;\n  undefined8 uVar5;\n  \n  uVar3 = FUN_00121586(\n                      "The first %s supported by the server is %s, which is below the configured warning threshold.\nContinue with connection?"\n                      );\n  uVar1 = FUN_00142c25("Reasonably long line of text as a width template");\n  uVar4 = gtk_widget_get_type();\n  uVar5 = FUN_0014417d(param_1);\n  uVar4 = g_type_check_instance_cast(uVar5,uVar4);\n  iVar2 = FUN_00139e30(uVar4,"PuTTY Security Alert",uVar3,uVar1,0,&DAT_0016eb24,0x79,0,1,\n                       &DAT_0016eb28,0x6e,0,0,0);\n  FUN_001217b3(uVar3);\n  return iVar2 != 0;\n}\n\n" (function_definition "bool FUN_0013a6fc(undefined8 param_1)\n\n{\n  undefined4 uVar1;\n  int iVar2;\n  undefined8 uVar3;\n  undefined8 uVar4;\n  undefined8 uVar5;\n  \n  uVar3 = FUN_00121586(\n                      "The first %s supported by the server is %s, which is below the configured warning threshold.\nContinue with connection?"\n                      );\n  uVar1 = FUN_00142c25("Reasonably long line of text as a width template");\n  uVar4 = gtk_widget_get_type();\n  uVar5 = FUN_0014417d(param_1);\n  uVar4 = g_type_check_instance_cast(uVar5,uVar4);\n  iVar2 = FUN_00139e30(uVar4,"PuTTY Security Alert",uVar3,uVar1,0,&DAT_0016eb24,0x79,0,1,\n                       &DAT_0016eb28,0x6e,0,0,0);\n  FUN_001217b3(uVar3);\n  return iVar2 != 0;\n}" primitive_type (function_declarator "FUN_0013a6fc(undefined8 param_1)" identifier (parameter_list "(undefined8 param_1)" ( (parameter_declaration "undefined8 param_1" type_identifier identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  int iVar2;\n  undefined8 uVar3;\n  undefined8 uVar4;\n  undefined8 uVar5;\n  \n  uVar3 = FUN_00121586(\n                      "The first %s supported by the server is %s, which is below the configured warning threshold.\nContinue with connection?"\n                      );\n  uVar1 = FUN_00142c25("Reasonably long line of text as a width template");\n  uVar4 = gtk_widget_get_type();\n  uVar5 = FUN_0014417d(param_1);\n  uVar4 = g_type_check_instance_cast(uVar5,uVar4);\n  iVar2 = FUN_00139e30(uVar4,"PuTTY Security Alert",uVar3,uVar1,0,&DAT_0016eb24,0x79,0,1,\n                       &DAT_0016eb28,0x6e,0,0,0);\n  FUN_001217b3(uVar3);\n  return iVar2 != 0;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined8 uVar3;" type_identifier identifier ;) (declaration "undefined8 uVar4;" type_identifier identifier ;) (declaration "undefined8 uVar5;" type_identifier identifier ;) (expression_statement "uVar3 = FUN_00121586(\n                      "The first %s supported by the server is %s, which is below the configured warning threshold.\nContinue with connection?"\n                      );" (assignment_expression "uVar3 = FUN_00121586(\n                      "The first %s supported by the server is %s, which is below the configured warning threshold.\nContinue with connection?"\n                      )" identifier = (call_expression "FUN_00121586(\n                      "The first %s supported by the server is %s, which is below the configured warning threshold.\nContinue with connection?"\n                      )" identifier (argument_list "(\n                      "The first %s supported by the server is %s, which is below the configured warning threshold.\nContinue with connection?"\n                      )" ( (string_literal ""The first %s supported by the server is %s, which is below the configured warning threshold.\nContinue with connection?"" " string_content escape_sequence string_content ") )))) ;) (expression_statement "uVar1 = FUN_00142c25("Reasonably long line of text as a width template");" (assignment_expression "uVar1 = FUN_00142c25("Reasonably long line of text as a width template")" identifier = (call_expression "FUN_00142c25("Reasonably long line of text as a width template")" identifier (argument_list "("Reasonably long line of text as a width template")" ( (string_literal ""Reasonably long line of text as a width template"" " string_content ") )))) ;) (expression_statement "uVar4 = gtk_widget_get_type();" (assignment_expression "uVar4 = gtk_widget_get_type()" identifier = (call_expression "gtk_widget_get_type()" identifier (argument_list "()" ( )))) ;) (expression_statement "uVar5 = FUN_0014417d(param_1);" (assignment_expression "uVar5 = FUN_0014417d(param_1)" identifier = (call_expression "FUN_0014417d(param_1)" identifier (argument_list "(param_1)" ( identifier )))) ;) (expression_statement "uVar4 = g_type_check_instance_cast(uVar5,uVar4);" (assignment_expression "uVar4 = g_type_check_instance_cast(uVar5,uVar4)" identifier = (call_expression "g_type_check_instance_cast(uVar5,uVar4)" identifier (argument_list "(uVar5,uVar4)" ( identifier , identifier )))) ;) (expression_statement "iVar2 = FUN_00139e30(uVar4,"PuTTY Security Alert",uVar3,uVar1,0,&DAT_0016eb24,0x79,0,1,\n                       &DAT_0016eb28,0x6e,0,0,0);" (assignment_expression "iVar2 = FUN_00139e30(uVar4,"PuTTY Security Alert",uVar3,uVar1,0,&DAT_0016eb24,0x79,0,1,\n                       &DAT_0016eb28,0x6e,0,0,0)" identifier = (call_expression "FUN_00139e30(uVar4,"PuTTY Security Alert",uVar3,uVar1,0,&DAT_0016eb24,0x79,0,1,\n                       &DAT_0016eb28,0x6e,0,0,0)" identifier (argument_list "(uVar4,"PuTTY Security Alert",uVar3,uVar1,0,&DAT_0016eb24,0x79,0,1,\n                       &DAT_0016eb28,0x6e,0,0,0)" ( identifier , (string_literal ""PuTTY Security Alert"" " string_content ") , identifier , identifier , number_literal , (pointer_expression "&DAT_0016eb24" & identifier) , number_literal , number_literal , number_literal , (pointer_expression "&DAT_0016eb28" & identifier) , number_literal , number_literal , number_literal , number_literal )))) ;) (expression_statement "FUN_001217b3(uVar3);" (call_expression "FUN_001217b3(uVar3)" identifier (argument_list "(uVar3)" ( identifier ))) ;) (return_statement "return iVar2 != 0;" return (binary_expression "iVar2 != 0" identifier != number_literal) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (string_literal " string_content escape_sequence string_content ") )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (string_literal " string_content ") )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content ") , IDENT , IDENT , LIT , (pointer_expression & IDENT) , LIT , LIT , LIT , (pointer_expression & IDENT) , LIT , LIT , LIT , LIT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (return_statement return (binary_expression IDENT != LIT) ;) })))
(function_definition "bool FUN_0013a6fc(undefined8 param_1)\n\n{\n  undefined4 uVar1;\n  int iVar2;\n  undefined8 uVar3;\n  undefined8 uVar4;\n  undefined8 uVar5;\n  \n  uVar3 = FUN_00121586(\n                      "The first %s supported by the server is %s, which is below the configured warning threshold.\nContinue with connection?"\n                      );\n  uVar1 = FUN_00142c25("Reasonably long line of text as a width template");\n  uVar4 = gtk_widget_get_type();\n  uVar5 = FUN_0014417d(param_1);\n  uVar4 = g_type_check_instance_cast(uVar5,uVar4);\n  iVar2 = FUN_00139e30(uVar4,"PuTTY Security Alert",uVar3,uVar1,0,&DAT_0016eb24,0x79,0,1,\n                       &DAT_0016eb28,0x6e,0,0,0);\n  FUN_001217b3(uVar3);\n  return iVar2 != 0;\n}" (primitive_type "bool") (function_declarator "FUN_0013a6fc(undefined8 param_1)" (identifier "FUN_0013a6fc") (parameter_list "(undefined8 param_1)" (( "(") (parameter_declaration "undefined8 param_1" (type_identifier "undefined8") (identifier "param_1")) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  int iVar2;\n  undefined8 uVar3;\n  undefined8 uVar4;\n  undefined8 uVar5;\n  \n  uVar3 = FUN_00121586(\n                      "The first %s supported by the server is %s, which is below the configured warning threshold.\nContinue with connection?"\n                      );\n  uVar1 = FUN_00142c25("Reasonably long line of text as a width template");\n  uVar4 = gtk_widget_get_type();\n  uVar5 = FUN_0014417d(param_1);\n  uVar4 = g_type_check_instance_cast(uVar5,uVar4);\n  iVar2 = FUN_00139e30(uVar4,"PuTTY Security Alert",uVar3,uVar1,0,&DAT_0016eb24,0x79,0,1,\n                       &DAT_0016eb28,0x6e,0,0,0);\n  FUN_001217b3(uVar3);\n  return iVar2 != 0;\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "undefined8 uVar3;" (type_identifier "undefined8") (identifier "uVar3") (; ";")) (declaration "undefined8 uVar4;" (type_identifier "undefined8") (identifier "uVar4") (; ";")) (declaration "undefined8 uVar5;" (type_identifier "undefined8") (identifier "uVar5") (; ";")) (expression_statement "uVar3 = FUN_00121586(\n                      "The first %s supported by the server is %s, which is below the configured warning threshold.\nContinue with connection?"\n                      );" (assignment_expression "uVar3 = FUN_00121586(\n                      "The first %s supported by the server is %s, which is below the configured warning threshold.\nContinue with connection?"\n                      )" (identifier "uVar3") (= "=") (call_expression "FUN_00121586(\n                      "The first %s supported by the server is %s, which is below the configured warning threshold.\nContinue with connection?"\n                      )" (identifier "FUN_00121586") (argument_list "(\n                      "The first %s supported by the server is %s, which is below the configured warning threshold.\nContinue with connection?"\n                      )" (( "(") (string_literal ""The first %s supported by the server is %s, which is below the configured warning threshold.\nContinue with connection?"" (" """) (string_content "The first %s supported by the server is %s, which is below the configured warning threshold.") (escape_sequence "\n") (string_content "Continue with connection?") (" """)) () ")")))) (; ";")) (expression_statement "uVar1 = FUN_00142c25("Reasonably long line of text as a width template");" (assignment_expression "uVar1 = FUN_00142c25("Reasonably long line of text as a width template")" (identifier "uVar1") (= "=") (call_expression "FUN_00142c25("Reasonably long line of text as a width template")" (identifier "FUN_00142c25") (argument_list "("Reasonably long line of text as a width template")" (( "(") (string_literal ""Reasonably long line of text as a width template"" (" """) (string_content "Reasonably long line of text as a width template") (" """)) () ")")))) (; ";")) (expression_statement "uVar4 = gtk_widget_get_type();" (assignment_expression "uVar4 = gtk_widget_get_type()" (identifier "uVar4") (= "=") (call_expression "gtk_widget_get_type()" (identifier "gtk_widget_get_type") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "uVar5 = FUN_0014417d(param_1);" (assignment_expression "uVar5 = FUN_0014417d(param_1)" (identifier "uVar5") (= "=") (call_expression "FUN_0014417d(param_1)" (identifier "FUN_0014417d") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")")))) (; ";")) (expression_statement "uVar4 = g_type_check_instance_cast(uVar5,uVar4);" (assignment_expression "uVar4 = g_type_check_instance_cast(uVar5,uVar4)" (identifier "uVar4") (= "=") (call_expression "g_type_check_instance_cast(uVar5,uVar4)" (identifier "g_type_check_instance_cast") (argument_list "(uVar5,uVar4)" (( "(") (identifier "uVar5") (, ",") (identifier "uVar4") () ")")))) (; ";")) (expression_statement "iVar2 = FUN_00139e30(uVar4,"PuTTY Security Alert",uVar3,uVar1,0,&DAT_0016eb24,0x79,0,1,\n                       &DAT_0016eb28,0x6e,0,0,0);" (assignment_expression "iVar2 = FUN_00139e30(uVar4,"PuTTY Security Alert",uVar3,uVar1,0,&DAT_0016eb24,0x79,0,1,\n                       &DAT_0016eb28,0x6e,0,0,0)" (identifier "iVar2") (= "=") (call_expression "FUN_00139e30(uVar4,"PuTTY Security Alert",uVar3,uVar1,0,&DAT_0016eb24,0x79,0,1,\n                       &DAT_0016eb28,0x6e,0,0,0)" (identifier "FUN_00139e30") (argument_list "(uVar4,"PuTTY Security Alert",uVar3,uVar1,0,&DAT_0016eb24,0x79,0,1,\n                       &DAT_0016eb28,0x6e,0,0,0)" (( "(") (identifier "uVar4") (, ",") (string_literal ""PuTTY Security Alert"" (" """) (string_content "PuTTY Security Alert") (" """)) (, ",") (identifier "uVar3") (, ",") (identifier "uVar1") (, ",") (number_literal "0") (, ",") (pointer_expression "&DAT_0016eb24" (& "&") (identifier "DAT_0016eb24")) (, ",") (number_literal "0x79") (, ",") (number_literal "0") (, ",") (number_literal "1") (, ",") (pointer_expression "&DAT_0016eb28" (& "&") (identifier "DAT_0016eb28")) (, ",") (number_literal "0x6e") (, ",") (number_literal "0") (, ",") (number_literal "0") (, ",") (number_literal "0") () ")")))) (; ";")) (expression_statement "FUN_001217b3(uVar3);" (call_expression "FUN_001217b3(uVar3)" (identifier "FUN_001217b3") (argument_list "(uVar3)" (( "(") (identifier "uVar3") () ")"))) (; ";")) (return_statement "return iVar2 != 0;" (return "return") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0")) (; ";")) (} "}")))

/* WARNING: Enum "anon_enum_32": Some values do not have unique names */

int function_1(void *frontend,char *algtype,char *algname,type_1 *callback,void *ctx)

{
  int var_8;
  char *msg;
  type_2 uVar2;
  void *pvVar3;
  type_3 *parentwin;
  
  msg = var_1(
                 "The first %s supported by the server is %s, which is below the configured warning threshold.\nContinue with connection?"
                 );
  var_8 = var_2("Reasonably long line of text as a width template");
  uVar2 = var_3();
  pvVar3 = var_4(frontend);
  parentwin = (type_3 *)var_5(pvVar3,uVar2);
  var_8 = var_6(parentwin,"PuTTY Security Alert",msg,var_8,0,&DAT_0016eb24,0x79,0,1,
                     &DAT_0016eb28,0x6e,0,0,0);
  var_7(msg);
  return (int)(var_8 != 0);
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content) (escape_sequence) (string_content)))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (string_literal (string_content)) (identifier) (identifier) (number_literal) (pointer_expression argument: (identifier)) (number_literal) (number_literal) (number_literal) (pointer_expression argument: (identifier)) (number_literal) (number_literal) (number_literal) (number_literal))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (return_statement (binary_expression left: (identifier) right: (number_literal))))))

bool MASKED(undefined8 param_1)

{
  undefined4 uVar1;
  int iVar2;
  undefined8 uVar3;
  undefined8 uVar4;
  undefined8 uVar5;
  
  uVar3 = FUN_00121586(
                      "The first %s supported by the server is %s, which is below the configured warning threshold.\nContinue with connection?"
                      );
  uVar1 = FUN_00142c25("Reasonably long line of text as a width template");
  uVar4 = gtk_widget_get_type();
  uVar5 = FUN_0014417d(param_1);
  uVar4 = g_type_check_instance_cast(uVar5,uVar4);
  iVar2 = FUN_00139e30(uVar4,"PuTTY Security Alert",uVar3,uVar1,0,&DAT_0016eb24,0x79,0,1,
                       &DAT_0016eb28,0x6e,0,0,0);
  FUN_001217b3(uVar3);
  return iVar2 != 0;
}

