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

int cfgbox(Conf *conf)

{
  char *title;
  int iVar1;
  
  title = dupcat(appname," Configuration",0);
  iVar1 = do_config_box(title,conf,0,0);
  safefree(title);
  return iVar1;
}



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

undefined4 FUN_00073700(undefined4 param_1)

{
  undefined4 uVar1;
  undefined4 uVar2;
  
  uVar1 = FUN_000304e0(PTR_s_PuTTYtel_000c3d60," Configuration",0);
  uVar2 = FUN_0005c8b0(uVar1,param_1,0,0);
  FUN_00031580(uVar1);
  return uVar2;
}


PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x0001b410
ADD EBX,0x5209c
SUB ESP,0x4
PUSH 0x0
LEA EAX,[EBX + 0xfffd136c]
PUSH EAX
LEA EAX,[EBX + 0xffffe5bc]
PUSH dword ptr [EAX]
CALL 0x000304e0
PUSH 0x0
PUSH 0x0
MOV ESI,EAX
PUSH dword ptr [ESP + 0x28]
PUSH EAX
CALL 0x0005c8b0
ADD ESP,0x14
PUSH ESI
MOV EDI,EAX
CALL 0x00031580
ADD ESP,0x10
MOV EAX,EDI
POP EBX
POP ESI
POP EDI
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nundefined4 FUN_00073700(undefined4 param_1)\n\n{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  \n  uVar1 = FUN_000304e0(PTR_s_PuTTYtel_000c3d60," Configuration",0);\n  uVar2 = FUN_0005c8b0(uVar1,param_1,0,0);\n  FUN_00031580(uVar1);\n  return uVar2;\n}\n\n" comment (function_definition "undefined4 FUN_00073700(undefined4 param_1)\n\n{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  \n  uVar1 = FUN_000304e0(PTR_s_PuTTYtel_000c3d60," Configuration",0);\n  uVar2 = FUN_0005c8b0(uVar1,param_1,0,0);\n  FUN_00031580(uVar1);\n  return uVar2;\n}" type_identifier (function_declarator "FUN_00073700(undefined4 param_1)" identifier (parameter_list "(undefined4 param_1)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  \n  uVar1 = FUN_000304e0(PTR_s_PuTTYtel_000c3d60," Configuration",0);\n  uVar2 = FUN_0005c8b0(uVar1,param_1,0,0);\n  FUN_00031580(uVar1);\n  return uVar2;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (expression_statement "uVar1 = FUN_000304e0(PTR_s_PuTTYtel_000c3d60," Configuration",0);" (assignment_expression "uVar1 = FUN_000304e0(PTR_s_PuTTYtel_000c3d60," Configuration",0)" identifier = (call_expression "FUN_000304e0(PTR_s_PuTTYtel_000c3d60," Configuration",0)" identifier (argument_list "(PTR_s_PuTTYtel_000c3d60," Configuration",0)" ( identifier , (string_literal "" Configuration"" " string_content ") , number_literal )))) ;) (expression_statement "uVar2 = FUN_0005c8b0(uVar1,param_1,0,0);" (assignment_expression "uVar2 = FUN_0005c8b0(uVar1,param_1,0,0)" identifier = (call_expression "FUN_0005c8b0(uVar1,param_1,0,0)" identifier (argument_list "(uVar1,param_1,0,0)" ( identifier , identifier , number_literal , number_literal )))) ;) (expression_statement "FUN_00031580(uVar1);" (call_expression "FUN_00031580(uVar1)" identifier (argument_list "(uVar1)" ( identifier ))) ;) (return_statement "return uVar2;" return identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n\nint cfgbox(Conf *conf)\n\n{\n  char *title;\n  int iVar1;\n  \n  title = dupcat(appname," Configuration",0);\n  iVar1 = do_config_box(title,conf,0,0);\n  safefree(title);\n  return iVar1;\n}\n\n" comment comment (function_definition "int cfgbox(Conf *conf)\n\n{\n  char *title;\n  int iVar1;\n  \n  title = dupcat(appname," Configuration",0);\n  iVar1 = do_config_box(title,conf,0,0);\n  safefree(title);\n  return iVar1;\n}" primitive_type (function_declarator "cfgbox(Conf *conf)" identifier (parameter_list "(Conf *conf)" ( (parameter_declaration "Conf *conf" type_identifier (pointer_declarator "*conf" * identifier)) ))) (compound_statement "{\n  char *title;\n  int iVar1;\n  \n  title = dupcat(appname," Configuration",0);\n  iVar1 = do_config_box(title,conf,0,0);\n  safefree(title);\n  return iVar1;\n}" { (declaration "char *title;" primitive_type (pointer_declarator "*title" * identifier) ;) (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "title = dupcat(appname," Configuration",0);" (assignment_expression "title = dupcat(appname," Configuration",0)" identifier = (call_expression "dupcat(appname," Configuration",0)" identifier (argument_list "(appname," Configuration",0)" ( identifier , (string_literal "" Configuration"" " string_content ") , number_literal )))) ;) (expression_statement "iVar1 = do_config_box(title,conf,0,0);" (assignment_expression "iVar1 = do_config_box(title,conf,0,0)" identifier = (call_expression "do_config_box(title,conf,0,0)" identifier (argument_list "(title,conf,0,0)" ( identifier , identifier , number_literal , number_literal )))) ;) (expression_statement "safefree(title);" (call_expression "safefree(title)" identifier (argument_list "(title)" ( identifier ))) ;) (return_statement "return iVar1;" return identifier ;) })))
(translation_unit "undefined4 FUN_00073700(undefined4 param_1)\n\n{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  \n  uVar1 = FUN_000304e0(PTR_s_PuTTYtel_000c3d60," Configuration",0);\n  uVar2 = FUN_0005c8b0(uVar1,param_1,0,0);\n  FUN_00031580(uVar1);\n  return uVar2;\n}\n\n" (function_definition "undefined4 FUN_00073700(undefined4 param_1)\n\n{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  \n  uVar1 = FUN_000304e0(PTR_s_PuTTYtel_000c3d60," Configuration",0);\n  uVar2 = FUN_0005c8b0(uVar1,param_1,0,0);\n  FUN_00031580(uVar1);\n  return uVar2;\n}" type_identifier (function_declarator "FUN_00073700(undefined4 param_1)" identifier (parameter_list "(undefined4 param_1)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  \n  uVar1 = FUN_000304e0(PTR_s_PuTTYtel_000c3d60," Configuration",0);\n  uVar2 = FUN_0005c8b0(uVar1,param_1,0,0);\n  FUN_00031580(uVar1);\n  return uVar2;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (expression_statement "uVar1 = FUN_000304e0(PTR_s_PuTTYtel_000c3d60," Configuration",0);" (assignment_expression "uVar1 = FUN_000304e0(PTR_s_PuTTYtel_000c3d60," Configuration",0)" identifier = (call_expression "FUN_000304e0(PTR_s_PuTTYtel_000c3d60," Configuration",0)" identifier (argument_list "(PTR_s_PuTTYtel_000c3d60," Configuration",0)" ( identifier , (string_literal "" Configuration"" " string_content ") , number_literal )))) ;) (expression_statement "uVar2 = FUN_0005c8b0(uVar1,param_1,0,0);" (assignment_expression "uVar2 = FUN_0005c8b0(uVar1,param_1,0,0)" identifier = (call_expression "FUN_0005c8b0(uVar1,param_1,0,0)" identifier (argument_list "(uVar1,param_1,0,0)" ( identifier , identifier , number_literal , number_literal )))) ;) (expression_statement "FUN_00031580(uVar1);" (call_expression "FUN_00031580(uVar1)" identifier (argument_list "(uVar1)" ( identifier ))) ;) (return_statement "return uVar2;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content ") , LIT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , LIT , LIT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (return_statement return IDENT ;) })))
(function_definition "undefined4 FUN_00073700(undefined4 param_1)\n\n{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  \n  uVar1 = FUN_000304e0(PTR_s_PuTTYtel_000c3d60," Configuration",0);\n  uVar2 = FUN_0005c8b0(uVar1,param_1,0,0);\n  FUN_00031580(uVar1);\n  return uVar2;\n}" (type_identifier "undefined4") (function_declarator "FUN_00073700(undefined4 param_1)" (identifier "FUN_00073700") (parameter_list "(undefined4 param_1)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  undefined4 uVar2;\n  \n  uVar1 = FUN_000304e0(PTR_s_PuTTYtel_000c3d60," Configuration",0);\n  uVar2 = FUN_0005c8b0(uVar1,param_1,0,0);\n  FUN_00031580(uVar1);\n  return uVar2;\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (expression_statement "uVar1 = FUN_000304e0(PTR_s_PuTTYtel_000c3d60," Configuration",0);" (assignment_expression "uVar1 = FUN_000304e0(PTR_s_PuTTYtel_000c3d60," Configuration",0)" (identifier "uVar1") (= "=") (call_expression "FUN_000304e0(PTR_s_PuTTYtel_000c3d60," Configuration",0)" (identifier "FUN_000304e0") (argument_list "(PTR_s_PuTTYtel_000c3d60," Configuration",0)" (( "(") (identifier "PTR_s_PuTTYtel_000c3d60") (, ",") (string_literal "" Configuration"" (" """) (string_content " Configuration") (" """)) (, ",") (number_literal "0") () ")")))) (; ";")) (expression_statement "uVar2 = FUN_0005c8b0(uVar1,param_1,0,0);" (assignment_expression "uVar2 = FUN_0005c8b0(uVar1,param_1,0,0)" (identifier "uVar2") (= "=") (call_expression "FUN_0005c8b0(uVar1,param_1,0,0)" (identifier "FUN_0005c8b0") (argument_list "(uVar1,param_1,0,0)" (( "(") (identifier "uVar1") (, ",") (identifier "param_1") (, ",") (number_literal "0") (, ",") (number_literal "0") () ")")))) (; ";")) (expression_statement "FUN_00031580(uVar1);" (call_expression "FUN_00031580(uVar1)" (identifier "FUN_00031580") (argument_list "(uVar1)" (( "(") (identifier "uVar1") () ")"))) (; ";")) (return_statement "return uVar2;" (return "return") (identifier "uVar2") (; ";")) (} "}")))

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

int function_1(type_1 *conf)

{
  char *title;
  int iVar1;
  
  title = var_1(appname," Configuration",0);
  iVar1 = var_2(title,conf,0,0);
  var_3(title);
  return iVar1;
}


(translation_unit (function_definition type: (type_identifier) 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: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (string_literal (string_content)) (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (number_literal) (number_literal))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (return_statement (identifier)))))

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

undefined4 MASKED(undefined4 param_1)

{
  undefined4 uVar1;
  undefined4 uVar2;
  
  uVar1 = FUN_000304e0(PTR_s_PuTTYtel_000c3d60," Configuration",0);
  uVar2 = FUN_0005c8b0(uVar1,param_1,0,0);
  FUN_00031580(uVar1);
  return uVar2;
}

