
void set_escape_char(char *s)

{
  cc_t cVar1;
  int iVar2;
  char *pcVar3;
  
  if (rlogin == '\0') {
    cVar1 = '\0';
    if ((s != (char *)0x0) && (*s != '\0')) {
      iVar2 = special(s);
      cVar1 = (cc_t)iVar2;
    }
    escape = cVar1;
    pcVar3 = control(cVar1);
    __printf_chk(1,"Telnet escape character is \'%s\'.\n",pcVar3);
  }
  else {
    cVar1 = '\0';
    if ((s != (char *)0x0) && (*s != '\0')) {
      iVar2 = special(s);
      cVar1 = (cc_t)iVar2;
    }
    rlogin = cVar1;
    pcVar3 = control(rlogin);
    __printf_chk(1,"Telnet rlogin escape character is \'%s\'.\n",pcVar3);
  }
  return;
}



void FUN_0010a561(char *param_1)

{
  char cVar1;
  undefined1 uVar2;
  undefined8 uVar3;
  
  if (DAT_00133a1c == '\0') {
    uVar2 = 0;
    if ((param_1 != (char *)0x0) && (*param_1 != '\0')) {
      uVar2 = FUN_00107b77();
    }
    DAT_00133b44 = uVar2;
    uVar3 = FUN_00107b98(uVar2);
    __printf_chk(1,"Telnet escape character is \'%s\'.\n",uVar3);
  }
  else {
    cVar1 = '\0';
    if ((param_1 != (char *)0x0) && (*param_1 != '\0')) {
      cVar1 = FUN_00107b77();
    }
    DAT_00133a1c = cVar1;
    uVar3 = FUN_00107b98(cVar1);
    __printf_chk(1,"Telnet rlogin escape character is \'%s\'.\n",uVar3);
  }
  return;
}


SUB RSP,0x8
MOVZX EAX,byte ptr [0x00133a1c]
TEST AL,AL
JZ 0x0010a5b0
MOV EAX,0x0
TEST RDI,RDI
JZ 0x0010a584
CMP byte ptr [RDI],0x0
JZ 0x0010a584
CALL 0x00107b77
MOV byte ptr [0x00133a1c],AL
MOVZX EDI,AL
CALL 0x00107b98
MOV RDX,RAX
LEA RSI,[0x11f688]
MOV EDI,0x1
MOV EAX,0x0
CALL 0x001076a0
ADD RSP,0x8
RET
TEST RDI,RDI
JZ 0x0010a5bf
CMP byte ptr [RDI],0x0
JZ 0x0010a5bf
CALL 0x00107b77
MOV byte ptr [0x00133b44],AL
MOVZX EDI,AL
CALL 0x00107b98
MOV RDX,RAX
LEA RSI,[0x11f6b8]
MOV EDI,0x1
MOV EAX,0x0
CALL 0x001076a0
JMP 0x0010a5ab
(translation_unit "void FUN_0010a561(char *param_1)\n\n{\n  char cVar1;\n  undefined1 uVar2;\n  undefined8 uVar3;\n  \n  if (DAT_00133a1c == '\0') {\n    uVar2 = 0;\n    if ((param_1 != (char *)0x0) && (*param_1 != '\0')) {\n      uVar2 = FUN_00107b77();\n    }\n    DAT_00133b44 = uVar2;\n    uVar3 = FUN_00107b98(uVar2);\n    __printf_chk(1,"Telnet escape character is \'%s\'.\n",uVar3);\n  }\n  else {\n    cVar1 = '\0';\n    if ((param_1 != (char *)0x0) && (*param_1 != '\0')) {\n      cVar1 = FUN_00107b77();\n    }\n    DAT_00133a1c = cVar1;\n    uVar3 = FUN_00107b98(cVar1);\n    __printf_chk(1,"Telnet rlogin escape character is \'%s\'.\n",uVar3);\n  }\n  return;\n}\n\n" (function_definition "void FUN_0010a561(char *param_1)\n\n{\n  char cVar1;\n  undefined1 uVar2;\n  undefined8 uVar3;\n  \n  if (DAT_00133a1c == '\0') {\n    uVar2 = 0;\n    if ((param_1 != (char *)0x0) && (*param_1 != '\0')) {\n      uVar2 = FUN_00107b77();\n    }\n    DAT_00133b44 = uVar2;\n    uVar3 = FUN_00107b98(uVar2);\n    __printf_chk(1,"Telnet escape character is \'%s\'.\n",uVar3);\n  }\n  else {\n    cVar1 = '\0';\n    if ((param_1 != (char *)0x0) && (*param_1 != '\0')) {\n      cVar1 = FUN_00107b77();\n    }\n    DAT_00133a1c = cVar1;\n    uVar3 = FUN_00107b98(cVar1);\n    __printf_chk(1,"Telnet rlogin escape character is \'%s\'.\n",uVar3);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_0010a561(char *param_1)" identifier (parameter_list "(char *param_1)" ( (parameter_declaration "char *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  char cVar1;\n  undefined1 uVar2;\n  undefined8 uVar3;\n  \n  if (DAT_00133a1c == '\0') {\n    uVar2 = 0;\n    if ((param_1 != (char *)0x0) && (*param_1 != '\0')) {\n      uVar2 = FUN_00107b77();\n    }\n    DAT_00133b44 = uVar2;\n    uVar3 = FUN_00107b98(uVar2);\n    __printf_chk(1,"Telnet escape character is \'%s\'.\n",uVar3);\n  }\n  else {\n    cVar1 = '\0';\n    if ((param_1 != (char *)0x0) && (*param_1 != '\0')) {\n      cVar1 = FUN_00107b77();\n    }\n    DAT_00133a1c = cVar1;\n    uVar3 = FUN_00107b98(cVar1);\n    __printf_chk(1,"Telnet rlogin escape character is \'%s\'.\n",uVar3);\n  }\n  return;\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "undefined1 uVar2;" type_identifier identifier ;) (declaration "undefined8 uVar3;" type_identifier identifier ;) (if_statement "if (DAT_00133a1c == '\0') {\n    uVar2 = 0;\n    if ((param_1 != (char *)0x0) && (*param_1 != '\0')) {\n      uVar2 = FUN_00107b77();\n    }\n    DAT_00133b44 = uVar2;\n    uVar3 = FUN_00107b98(uVar2);\n    __printf_chk(1,"Telnet escape character is \'%s\'.\n",uVar3);\n  }\n  else {\n    cVar1 = '\0';\n    if ((param_1 != (char *)0x0) && (*param_1 != '\0')) {\n      cVar1 = FUN_00107b77();\n    }\n    DAT_00133a1c = cVar1;\n    uVar3 = FUN_00107b98(cVar1);\n    __printf_chk(1,"Telnet rlogin escape character is \'%s\'.\n",uVar3);\n  }" if (parenthesized_expression "(DAT_00133a1c == '\0')" ( (binary_expression "DAT_00133a1c == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    uVar2 = 0;\n    if ((param_1 != (char *)0x0) && (*param_1 != '\0')) {\n      uVar2 = FUN_00107b77();\n    }\n    DAT_00133b44 = uVar2;\n    uVar3 = FUN_00107b98(uVar2);\n    __printf_chk(1,"Telnet escape character is \'%s\'.\n",uVar3);\n  }" { (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) (if_statement "if ((param_1 != (char *)0x0) && (*param_1 != '\0')) {\n      uVar2 = FUN_00107b77();\n    }" if (parenthesized_expression "((param_1 != (char *)0x0) && (*param_1 != '\0'))" ( (binary_expression "(param_1 != (char *)0x0) && (*param_1 != '\0')" (parenthesized_expression "(param_1 != (char *)0x0)" ( (binary_expression "param_1 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(*param_1 != '\0')" ( (binary_expression "*param_1 != '\0'" (pointer_expression "*param_1" * identifier) != (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n      uVar2 = FUN_00107b77();\n    }" { (expression_statement "uVar2 = FUN_00107b77();" (assignment_expression "uVar2 = FUN_00107b77()" identifier = (call_expression "FUN_00107b77()" identifier (argument_list "()" ( )))) ;) })) (expression_statement "DAT_00133b44 = uVar2;" (assignment_expression "DAT_00133b44 = uVar2" identifier = identifier) ;) (expression_statement "uVar3 = FUN_00107b98(uVar2);" (assignment_expression "uVar3 = FUN_00107b98(uVar2)" identifier = (call_expression "FUN_00107b98(uVar2)" identifier (argument_list "(uVar2)" ( identifier )))) ;) (expression_statement "__printf_chk(1,"Telnet escape character is \'%s\'.\n",uVar3);" (call_expression "__printf_chk(1,"Telnet escape character is \'%s\'.\n",uVar3)" identifier (argument_list "(1,"Telnet escape character is \'%s\'.\n",uVar3)" ( number_literal , (string_literal ""Telnet escape character is \'%s\'.\n"" " string_content escape_sequence string_content escape_sequence string_content escape_sequence ") , identifier ))) ;) }) (else_clause "else {\n    cVar1 = '\0';\n    if ((param_1 != (char *)0x0) && (*param_1 != '\0')) {\n      cVar1 = FUN_00107b77();\n    }\n    DAT_00133a1c = cVar1;\n    uVar3 = FUN_00107b98(cVar1);\n    __printf_chk(1,"Telnet rlogin escape character is \'%s\'.\n",uVar3);\n  }" else (compound_statement "{\n    cVar1 = '\0';\n    if ((param_1 != (char *)0x0) && (*param_1 != '\0')) {\n      cVar1 = FUN_00107b77();\n    }\n    DAT_00133a1c = cVar1;\n    uVar3 = FUN_00107b98(cVar1);\n    __printf_chk(1,"Telnet rlogin escape character is \'%s\'.\n",uVar3);\n  }" { (expression_statement "cVar1 = '\0';" (assignment_expression "cVar1 = '\0'" identifier = (char_literal "'\0'" ' escape_sequence ')) ;) (if_statement "if ((param_1 != (char *)0x0) && (*param_1 != '\0')) {\n      cVar1 = FUN_00107b77();\n    }" if (parenthesized_expression "((param_1 != (char *)0x0) && (*param_1 != '\0'))" ( (binary_expression "(param_1 != (char *)0x0) && (*param_1 != '\0')" (parenthesized_expression "(param_1 != (char *)0x0)" ( (binary_expression "param_1 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(*param_1 != '\0')" ( (binary_expression "*param_1 != '\0'" (pointer_expression "*param_1" * identifier) != (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n      cVar1 = FUN_00107b77();\n    }" { (expression_statement "cVar1 = FUN_00107b77();" (assignment_expression "cVar1 = FUN_00107b77()" identifier = (call_expression "FUN_00107b77()" identifier (argument_list "()" ( )))) ;) })) (expression_statement "DAT_00133a1c = cVar1;" (assignment_expression "DAT_00133a1c = cVar1" identifier = identifier) ;) (expression_statement "uVar3 = FUN_00107b98(cVar1);" (assignment_expression "uVar3 = FUN_00107b98(cVar1)" identifier = (call_expression "FUN_00107b98(cVar1)" identifier (argument_list "(cVar1)" ( identifier )))) ;) (expression_statement "__printf_chk(1,"Telnet rlogin escape character is \'%s\'.\n",uVar3);" (call_expression "__printf_chk(1,"Telnet rlogin escape character is \'%s\'.\n",uVar3)" identifier (argument_list "(1,"Telnet rlogin escape character is \'%s\'.\n",uVar3)" ( number_literal , (string_literal ""Telnet rlogin escape character is \'%s\'.\n"" " string_content escape_sequence string_content escape_sequence string_content escape_sequence ") , identifier ))) ;) }))) (return_statement "return;" return ;) })))
(translation_unit "void set_escape_char(char *s)\n\n{\n  cc_t cVar1;\n  int iVar2;\n  char *pcVar3;\n  \n  if (rlogin == '\0') {\n    cVar1 = '\0';\n    if ((s != (char *)0x0) && (*s != '\0')) {\n      iVar2 = special(s);\n      cVar1 = (cc_t)iVar2;\n    }\n    escape = cVar1;\n    pcVar3 = control(cVar1);\n    __printf_chk(1,"Telnet escape character is \'%s\'.\n",pcVar3);\n  }\n  else {\n    cVar1 = '\0';\n    if ((s != (char *)0x0) && (*s != '\0')) {\n      iVar2 = special(s);\n      cVar1 = (cc_t)iVar2;\n    }\n    rlogin = cVar1;\n    pcVar3 = control(rlogin);\n    __printf_chk(1,"Telnet rlogin escape character is \'%s\'.\n",pcVar3);\n  }\n  return;\n}\n\n" (function_definition "void set_escape_char(char *s)\n\n{\n  cc_t cVar1;\n  int iVar2;\n  char *pcVar3;\n  \n  if (rlogin == '\0') {\n    cVar1 = '\0';\n    if ((s != (char *)0x0) && (*s != '\0')) {\n      iVar2 = special(s);\n      cVar1 = (cc_t)iVar2;\n    }\n    escape = cVar1;\n    pcVar3 = control(cVar1);\n    __printf_chk(1,"Telnet escape character is \'%s\'.\n",pcVar3);\n  }\n  else {\n    cVar1 = '\0';\n    if ((s != (char *)0x0) && (*s != '\0')) {\n      iVar2 = special(s);\n      cVar1 = (cc_t)iVar2;\n    }\n    rlogin = cVar1;\n    pcVar3 = control(rlogin);\n    __printf_chk(1,"Telnet rlogin escape character is \'%s\'.\n",pcVar3);\n  }\n  return;\n}" primitive_type (function_declarator "set_escape_char(char *s)" identifier (parameter_list "(char *s)" ( (parameter_declaration "char *s" primitive_type (pointer_declarator "*s" * identifier)) ))) (compound_statement "{\n  cc_t cVar1;\n  int iVar2;\n  char *pcVar3;\n  \n  if (rlogin == '\0') {\n    cVar1 = '\0';\n    if ((s != (char *)0x0) && (*s != '\0')) {\n      iVar2 = special(s);\n      cVar1 = (cc_t)iVar2;\n    }\n    escape = cVar1;\n    pcVar3 = control(cVar1);\n    __printf_chk(1,"Telnet escape character is \'%s\'.\n",pcVar3);\n  }\n  else {\n    cVar1 = '\0';\n    if ((s != (char *)0x0) && (*s != '\0')) {\n      iVar2 = special(s);\n      cVar1 = (cc_t)iVar2;\n    }\n    rlogin = cVar1;\n    pcVar3 = control(rlogin);\n    __printf_chk(1,"Telnet rlogin escape character is \'%s\'.\n",pcVar3);\n  }\n  return;\n}" { (declaration "cc_t cVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "char *pcVar3;" primitive_type (pointer_declarator "*pcVar3" * identifier) ;) (if_statement "if (rlogin == '\0') {\n    cVar1 = '\0';\n    if ((s != (char *)0x0) && (*s != '\0')) {\n      iVar2 = special(s);\n      cVar1 = (cc_t)iVar2;\n    }\n    escape = cVar1;\n    pcVar3 = control(cVar1);\n    __printf_chk(1,"Telnet escape character is \'%s\'.\n",pcVar3);\n  }\n  else {\n    cVar1 = '\0';\n    if ((s != (char *)0x0) && (*s != '\0')) {\n      iVar2 = special(s);\n      cVar1 = (cc_t)iVar2;\n    }\n    rlogin = cVar1;\n    pcVar3 = control(rlogin);\n    __printf_chk(1,"Telnet rlogin escape character is \'%s\'.\n",pcVar3);\n  }" if (parenthesized_expression "(rlogin == '\0')" ( (binary_expression "rlogin == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    cVar1 = '\0';\n    if ((s != (char *)0x0) && (*s != '\0')) {\n      iVar2 = special(s);\n      cVar1 = (cc_t)iVar2;\n    }\n    escape = cVar1;\n    pcVar3 = control(cVar1);\n    __printf_chk(1,"Telnet escape character is \'%s\'.\n",pcVar3);\n  }" { (expression_statement "cVar1 = '\0';" (assignment_expression "cVar1 = '\0'" identifier = (char_literal "'\0'" ' escape_sequence ')) ;) (if_statement "if ((s != (char *)0x0) && (*s != '\0')) {\n      iVar2 = special(s);\n      cVar1 = (cc_t)iVar2;\n    }" if (parenthesized_expression "((s != (char *)0x0) && (*s != '\0'))" ( (binary_expression "(s != (char *)0x0) && (*s != '\0')" (parenthesized_expression "(s != (char *)0x0)" ( (binary_expression "s != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(*s != '\0')" ( (binary_expression "*s != '\0'" (pointer_expression "*s" * identifier) != (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n      iVar2 = special(s);\n      cVar1 = (cc_t)iVar2;\n    }" { (expression_statement "iVar2 = special(s);" (assignment_expression "iVar2 = special(s)" identifier = (call_expression "special(s)" identifier (argument_list "(s)" ( identifier )))) ;) (expression_statement "cVar1 = (cc_t)iVar2;" (assignment_expression "cVar1 = (cc_t)iVar2" identifier = (cast_expression "(cc_t)iVar2" ( (type_descriptor "cc_t" type_identifier) ) identifier)) ;) })) (expression_statement "escape = cVar1;" (assignment_expression "escape = cVar1" identifier = identifier) ;) (expression_statement "pcVar3 = control(cVar1);" (assignment_expression "pcVar3 = control(cVar1)" identifier = (call_expression "control(cVar1)" identifier (argument_list "(cVar1)" ( identifier )))) ;) (expression_statement "__printf_chk(1,"Telnet escape character is \'%s\'.\n",pcVar3);" (call_expression "__printf_chk(1,"Telnet escape character is \'%s\'.\n",pcVar3)" identifier (argument_list "(1,"Telnet escape character is \'%s\'.\n",pcVar3)" ( number_literal , (string_literal ""Telnet escape character is \'%s\'.\n"" " string_content escape_sequence string_content escape_sequence string_content escape_sequence ") , identifier ))) ;) }) (else_clause "else {\n    cVar1 = '\0';\n    if ((s != (char *)0x0) && (*s != '\0')) {\n      iVar2 = special(s);\n      cVar1 = (cc_t)iVar2;\n    }\n    rlogin = cVar1;\n    pcVar3 = control(rlogin);\n    __printf_chk(1,"Telnet rlogin escape character is \'%s\'.\n",pcVar3);\n  }" else (compound_statement "{\n    cVar1 = '\0';\n    if ((s != (char *)0x0) && (*s != '\0')) {\n      iVar2 = special(s);\n      cVar1 = (cc_t)iVar2;\n    }\n    rlogin = cVar1;\n    pcVar3 = control(rlogin);\n    __printf_chk(1,"Telnet rlogin escape character is \'%s\'.\n",pcVar3);\n  }" { (expression_statement "cVar1 = '\0';" (assignment_expression "cVar1 = '\0'" identifier = (char_literal "'\0'" ' escape_sequence ')) ;) (if_statement "if ((s != (char *)0x0) && (*s != '\0')) {\n      iVar2 = special(s);\n      cVar1 = (cc_t)iVar2;\n    }" if (parenthesized_expression "((s != (char *)0x0) && (*s != '\0'))" ( (binary_expression "(s != (char *)0x0) && (*s != '\0')" (parenthesized_expression "(s != (char *)0x0)" ( (binary_expression "s != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(*s != '\0')" ( (binary_expression "*s != '\0'" (pointer_expression "*s" * identifier) != (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n      iVar2 = special(s);\n      cVar1 = (cc_t)iVar2;\n    }" { (expression_statement "iVar2 = special(s);" (assignment_expression "iVar2 = special(s)" identifier = (call_expression "special(s)" identifier (argument_list "(s)" ( identifier )))) ;) (expression_statement "cVar1 = (cc_t)iVar2;" (assignment_expression "cVar1 = (cc_t)iVar2" identifier = (cast_expression "(cc_t)iVar2" ( (type_descriptor "cc_t" type_identifier) ) identifier)) ;) })) (expression_statement "rlogin = cVar1;" (assignment_expression "rlogin = cVar1" identifier = identifier) ;) (expression_statement "pcVar3 = control(rlogin);" (assignment_expression "pcVar3 = control(rlogin)" identifier = (call_expression "control(rlogin)" identifier (argument_list "(rlogin)" ( identifier )))) ;) (expression_statement "__printf_chk(1,"Telnet rlogin escape character is \'%s\'.\n",pcVar3);" (call_expression "__printf_chk(1,"Telnet rlogin escape character is \'%s\'.\n",pcVar3)" identifier (argument_list "(1,"Telnet rlogin escape character is \'%s\'.\n",pcVar3)" ( number_literal , (string_literal ""Telnet rlogin escape character is \'%s\'.\n"" " string_content escape_sequence string_content escape_sequence string_content escape_sequence ") , identifier ))) ;) }))) (return_statement "return;" return ;) })))
(translation_unit "void FUN_0010a561(char *param_1)\n\n{\n  char cVar1;\n  undefined1 uVar2;\n  undefined8 uVar3;\n  \n  if (DAT_00133a1c == '\0') {\n    uVar2 = 0;\n    if ((param_1 != (char *)0x0) && (*param_1 != '\0')) {\n      uVar2 = FUN_00107b77();\n    }\n    DAT_00133b44 = uVar2;\n    uVar3 = FUN_00107b98(uVar2);\n    __printf_chk(1,"Telnet escape character is \'%s\'.\n",uVar3);\n  }\n  else {\n    cVar1 = '\0';\n    if ((param_1 != (char *)0x0) && (*param_1 != '\0')) {\n      cVar1 = FUN_00107b77();\n    }\n    DAT_00133a1c = cVar1;\n    uVar3 = FUN_00107b98(cVar1);\n    __printf_chk(1,"Telnet rlogin escape character is \'%s\'.\n",uVar3);\n  }\n  return;\n}\n\n" (function_definition "void FUN_0010a561(char *param_1)\n\n{\n  char cVar1;\n  undefined1 uVar2;\n  undefined8 uVar3;\n  \n  if (DAT_00133a1c == '\0') {\n    uVar2 = 0;\n    if ((param_1 != (char *)0x0) && (*param_1 != '\0')) {\n      uVar2 = FUN_00107b77();\n    }\n    DAT_00133b44 = uVar2;\n    uVar3 = FUN_00107b98(uVar2);\n    __printf_chk(1,"Telnet escape character is \'%s\'.\n",uVar3);\n  }\n  else {\n    cVar1 = '\0';\n    if ((param_1 != (char *)0x0) && (*param_1 != '\0')) {\n      cVar1 = FUN_00107b77();\n    }\n    DAT_00133a1c = cVar1;\n    uVar3 = FUN_00107b98(cVar1);\n    __printf_chk(1,"Telnet rlogin escape character is \'%s\'.\n",uVar3);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_0010a561(char *param_1)" identifier (parameter_list "(char *param_1)" ( (parameter_declaration "char *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  char cVar1;\n  undefined1 uVar2;\n  undefined8 uVar3;\n  \n  if (DAT_00133a1c == '\0') {\n    uVar2 = 0;\n    if ((param_1 != (char *)0x0) && (*param_1 != '\0')) {\n      uVar2 = FUN_00107b77();\n    }\n    DAT_00133b44 = uVar2;\n    uVar3 = FUN_00107b98(uVar2);\n    __printf_chk(1,"Telnet escape character is \'%s\'.\n",uVar3);\n  }\n  else {\n    cVar1 = '\0';\n    if ((param_1 != (char *)0x0) && (*param_1 != '\0')) {\n      cVar1 = FUN_00107b77();\n    }\n    DAT_00133a1c = cVar1;\n    uVar3 = FUN_00107b98(cVar1);\n    __printf_chk(1,"Telnet rlogin escape character is \'%s\'.\n",uVar3);\n  }\n  return;\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "undefined1 uVar2;" type_identifier identifier ;) (declaration "undefined8 uVar3;" type_identifier identifier ;) (if_statement "if (DAT_00133a1c == '\0') {\n    uVar2 = 0;\n    if ((param_1 != (char *)0x0) && (*param_1 != '\0')) {\n      uVar2 = FUN_00107b77();\n    }\n    DAT_00133b44 = uVar2;\n    uVar3 = FUN_00107b98(uVar2);\n    __printf_chk(1,"Telnet escape character is \'%s\'.\n",uVar3);\n  }\n  else {\n    cVar1 = '\0';\n    if ((param_1 != (char *)0x0) && (*param_1 != '\0')) {\n      cVar1 = FUN_00107b77();\n    }\n    DAT_00133a1c = cVar1;\n    uVar3 = FUN_00107b98(cVar1);\n    __printf_chk(1,"Telnet rlogin escape character is \'%s\'.\n",uVar3);\n  }" if (parenthesized_expression "(DAT_00133a1c == '\0')" ( (binary_expression "DAT_00133a1c == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    uVar2 = 0;\n    if ((param_1 != (char *)0x0) && (*param_1 != '\0')) {\n      uVar2 = FUN_00107b77();\n    }\n    DAT_00133b44 = uVar2;\n    uVar3 = FUN_00107b98(uVar2);\n    __printf_chk(1,"Telnet escape character is \'%s\'.\n",uVar3);\n  }" { (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) (if_statement "if ((param_1 != (char *)0x0) && (*param_1 != '\0')) {\n      uVar2 = FUN_00107b77();\n    }" if (parenthesized_expression "((param_1 != (char *)0x0) && (*param_1 != '\0'))" ( (binary_expression "(param_1 != (char *)0x0) && (*param_1 != '\0')" (parenthesized_expression "(param_1 != (char *)0x0)" ( (binary_expression "param_1 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(*param_1 != '\0')" ( (binary_expression "*param_1 != '\0'" (pointer_expression "*param_1" * identifier) != (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n      uVar2 = FUN_00107b77();\n    }" { (expression_statement "uVar2 = FUN_00107b77();" (assignment_expression "uVar2 = FUN_00107b77()" identifier = (call_expression "FUN_00107b77()" identifier (argument_list "()" ( )))) ;) })) (expression_statement "DAT_00133b44 = uVar2;" (assignment_expression "DAT_00133b44 = uVar2" identifier = identifier) ;) (expression_statement "uVar3 = FUN_00107b98(uVar2);" (assignment_expression "uVar3 = FUN_00107b98(uVar2)" identifier = (call_expression "FUN_00107b98(uVar2)" identifier (argument_list "(uVar2)" ( identifier )))) ;) (expression_statement "__printf_chk(1,"Telnet escape character is \'%s\'.\n",uVar3);" (call_expression "__printf_chk(1,"Telnet escape character is \'%s\'.\n",uVar3)" identifier (argument_list "(1,"Telnet escape character is \'%s\'.\n",uVar3)" ( number_literal , (string_literal ""Telnet escape character is \'%s\'.\n"" " string_content escape_sequence string_content escape_sequence string_content escape_sequence ") , identifier ))) ;) }) (else_clause "else {\n    cVar1 = '\0';\n    if ((param_1 != (char *)0x0) && (*param_1 != '\0')) {\n      cVar1 = FUN_00107b77();\n    }\n    DAT_00133a1c = cVar1;\n    uVar3 = FUN_00107b98(cVar1);\n    __printf_chk(1,"Telnet rlogin escape character is \'%s\'.\n",uVar3);\n  }" else (compound_statement "{\n    cVar1 = '\0';\n    if ((param_1 != (char *)0x0) && (*param_1 != '\0')) {\n      cVar1 = FUN_00107b77();\n    }\n    DAT_00133a1c = cVar1;\n    uVar3 = FUN_00107b98(cVar1);\n    __printf_chk(1,"Telnet rlogin escape character is \'%s\'.\n",uVar3);\n  }" { (expression_statement "cVar1 = '\0';" (assignment_expression "cVar1 = '\0'" identifier = (char_literal "'\0'" ' escape_sequence ')) ;) (if_statement "if ((param_1 != (char *)0x0) && (*param_1 != '\0')) {\n      cVar1 = FUN_00107b77();\n    }" if (parenthesized_expression "((param_1 != (char *)0x0) && (*param_1 != '\0'))" ( (binary_expression "(param_1 != (char *)0x0) && (*param_1 != '\0')" (parenthesized_expression "(param_1 != (char *)0x0)" ( (binary_expression "param_1 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(*param_1 != '\0')" ( (binary_expression "*param_1 != '\0'" (pointer_expression "*param_1" * identifier) != (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n      cVar1 = FUN_00107b77();\n    }" { (expression_statement "cVar1 = FUN_00107b77();" (assignment_expression "cVar1 = FUN_00107b77()" identifier = (call_expression "FUN_00107b77()" identifier (argument_list "()" ( )))) ;) })) (expression_statement "DAT_00133a1c = cVar1;" (assignment_expression "DAT_00133a1c = cVar1" identifier = identifier) ;) (expression_statement "uVar3 = FUN_00107b98(cVar1);" (assignment_expression "uVar3 = FUN_00107b98(cVar1)" identifier = (call_expression "FUN_00107b98(cVar1)" identifier (argument_list "(cVar1)" ( identifier )))) ;) (expression_statement "__printf_chk(1,"Telnet rlogin escape character is \'%s\'.\n",uVar3);" (call_expression "__printf_chk(1,"Telnet rlogin escape character is \'%s\'.\n",uVar3)" identifier (argument_list "(1,"Telnet rlogin escape character is \'%s\'.\n",uVar3)" ( number_literal , (string_literal ""Telnet rlogin escape character is \'%s\'.\n"" " string_content escape_sequence string_content escape_sequence string_content escape_sequence ") , identifier ))) ;) }))) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) && (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != (char_literal ' escape_sequence ')) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (call_expression IDENT (argument_list ( LIT , (string_literal " string_content escape_sequence string_content escape_sequence string_content escape_sequence ") , IDENT ))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (char_literal ' escape_sequence ')) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) && (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != (char_literal ' escape_sequence ')) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (call_expression IDENT (argument_list ( LIT , (string_literal " string_content escape_sequence string_content escape_sequence string_content escape_sequence ") , IDENT ))) ;) }))) (return_statement return ;) })))
(function_definition "void FUN_0010a561(char *param_1)\n\n{\n  char cVar1;\n  undefined1 uVar2;\n  undefined8 uVar3;\n  \n  if (DAT_00133a1c == '\0') {\n    uVar2 = 0;\n    if ((param_1 != (char *)0x0) && (*param_1 != '\0')) {\n      uVar2 = FUN_00107b77();\n    }\n    DAT_00133b44 = uVar2;\n    uVar3 = FUN_00107b98(uVar2);\n    __printf_chk(1,"Telnet escape character is \'%s\'.\n",uVar3);\n  }\n  else {\n    cVar1 = '\0';\n    if ((param_1 != (char *)0x0) && (*param_1 != '\0')) {\n      cVar1 = FUN_00107b77();\n    }\n    DAT_00133a1c = cVar1;\n    uVar3 = FUN_00107b98(cVar1);\n    __printf_chk(1,"Telnet rlogin escape character is \'%s\'.\n",uVar3);\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0010a561(char *param_1)" (identifier "FUN_0010a561") (parameter_list "(char *param_1)" (( "(") (parameter_declaration "char *param_1" (primitive_type "char") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  char cVar1;\n  undefined1 uVar2;\n  undefined8 uVar3;\n  \n  if (DAT_00133a1c == '\0') {\n    uVar2 = 0;\n    if ((param_1 != (char *)0x0) && (*param_1 != '\0')) {\n      uVar2 = FUN_00107b77();\n    }\n    DAT_00133b44 = uVar2;\n    uVar3 = FUN_00107b98(uVar2);\n    __printf_chk(1,"Telnet escape character is \'%s\'.\n",uVar3);\n  }\n  else {\n    cVar1 = '\0';\n    if ((param_1 != (char *)0x0) && (*param_1 != '\0')) {\n      cVar1 = FUN_00107b77();\n    }\n    DAT_00133a1c = cVar1;\n    uVar3 = FUN_00107b98(cVar1);\n    __printf_chk(1,"Telnet rlogin escape character is \'%s\'.\n",uVar3);\n  }\n  return;\n}" ({ "{") (declaration "char cVar1;" (primitive_type "char") (identifier "cVar1") (; ";")) (declaration "undefined1 uVar2;" (type_identifier "undefined1") (identifier "uVar2") (; ";")) (declaration "undefined8 uVar3;" (type_identifier "undefined8") (identifier "uVar3") (; ";")) (if_statement "if (DAT_00133a1c == '\0') {\n    uVar2 = 0;\n    if ((param_1 != (char *)0x0) && (*param_1 != '\0')) {\n      uVar2 = FUN_00107b77();\n    }\n    DAT_00133b44 = uVar2;\n    uVar3 = FUN_00107b98(uVar2);\n    __printf_chk(1,"Telnet escape character is \'%s\'.\n",uVar3);\n  }\n  else {\n    cVar1 = '\0';\n    if ((param_1 != (char *)0x0) && (*param_1 != '\0')) {\n      cVar1 = FUN_00107b77();\n    }\n    DAT_00133a1c = cVar1;\n    uVar3 = FUN_00107b98(cVar1);\n    __printf_chk(1,"Telnet rlogin escape character is \'%s\'.\n",uVar3);\n  }" (if "if") (parenthesized_expression "(DAT_00133a1c == '\0')" (( "(") (binary_expression "DAT_00133a1c == '\0'" (identifier "DAT_00133a1c") (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n    uVar2 = 0;\n    if ((param_1 != (char *)0x0) && (*param_1 != '\0')) {\n      uVar2 = FUN_00107b77();\n    }\n    DAT_00133b44 = uVar2;\n    uVar3 = FUN_00107b98(uVar2);\n    __printf_chk(1,"Telnet escape character is \'%s\'.\n",uVar3);\n  }" ({ "{") (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" (identifier "uVar2") (= "=") (number_literal "0")) (; ";")) (if_statement "if ((param_1 != (char *)0x0) && (*param_1 != '\0')) {\n      uVar2 = FUN_00107b77();\n    }" (if "if") (parenthesized_expression "((param_1 != (char *)0x0) && (*param_1 != '\0'))" (( "(") (binary_expression "(param_1 != (char *)0x0) && (*param_1 != '\0')" (parenthesized_expression "(param_1 != (char *)0x0)" (( "(") (binary_expression "param_1 != (char *)0x0" (identifier "param_1") (!= "!=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (&& "&&") (parenthesized_expression "(*param_1 != '\0')" (( "(") (binary_expression "*param_1 != '\0'" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")"))) () ")")) (compound_statement "{\n      uVar2 = FUN_00107b77();\n    }" ({ "{") (expression_statement "uVar2 = FUN_00107b77();" (assignment_expression "uVar2 = FUN_00107b77()" (identifier "uVar2") (= "=") (call_expression "FUN_00107b77()" (identifier "FUN_00107b77") (argument_list "()" (( "(") () ")")))) (; ";")) (} "}"))) (expression_statement "DAT_00133b44 = uVar2;" (assignment_expression "DAT_00133b44 = uVar2" (identifier "DAT_00133b44") (= "=") (identifier "uVar2")) (; ";")) (expression_statement "uVar3 = FUN_00107b98(uVar2);" (assignment_expression "uVar3 = FUN_00107b98(uVar2)" (identifier "uVar3") (= "=") (call_expression "FUN_00107b98(uVar2)" (identifier "FUN_00107b98") (argument_list "(uVar2)" (( "(") (identifier "uVar2") () ")")))) (; ";")) (expression_statement "__printf_chk(1,"Telnet escape character is \'%s\'.\n",uVar3);" (call_expression "__printf_chk(1,"Telnet escape character is \'%s\'.\n",uVar3)" (identifier "__printf_chk") (argument_list "(1,"Telnet escape character is \'%s\'.\n",uVar3)" (( "(") (number_literal "1") (, ",") (string_literal ""Telnet escape character is \'%s\'.\n"" (" """) (string_content "Telnet escape character is ") (escape_sequence "\'") (string_content "%s") (escape_sequence "\'") (string_content ".") (escape_sequence "\n") (" """)) (, ",") (identifier "uVar3") () ")"))) (; ";")) (} "}")) (else_clause "else {\n    cVar1 = '\0';\n    if ((param_1 != (char *)0x0) && (*param_1 != '\0')) {\n      cVar1 = FUN_00107b77();\n    }\n    DAT_00133a1c = cVar1;\n    uVar3 = FUN_00107b98(cVar1);\n    __printf_chk(1,"Telnet rlogin escape character is \'%s\'.\n",uVar3);\n  }" (else "else") (compound_statement "{\n    cVar1 = '\0';\n    if ((param_1 != (char *)0x0) && (*param_1 != '\0')) {\n      cVar1 = FUN_00107b77();\n    }\n    DAT_00133a1c = cVar1;\n    uVar3 = FUN_00107b98(cVar1);\n    __printf_chk(1,"Telnet rlogin escape character is \'%s\'.\n",uVar3);\n  }" ({ "{") (expression_statement "cVar1 = '\0';" (assignment_expression "cVar1 = '\0'" (identifier "cVar1") (= "=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) (; ";")) (if_statement "if ((param_1 != (char *)0x0) && (*param_1 != '\0')) {\n      cVar1 = FUN_00107b77();\n    }" (if "if") (parenthesized_expression "((param_1 != (char *)0x0) && (*param_1 != '\0'))" (( "(") (binary_expression "(param_1 != (char *)0x0) && (*param_1 != '\0')" (parenthesized_expression "(param_1 != (char *)0x0)" (( "(") (binary_expression "param_1 != (char *)0x0" (identifier "param_1") (!= "!=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (&& "&&") (parenthesized_expression "(*param_1 != '\0')" (( "(") (binary_expression "*param_1 != '\0'" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")"))) () ")")) (compound_statement "{\n      cVar1 = FUN_00107b77();\n    }" ({ "{") (expression_statement "cVar1 = FUN_00107b77();" (assignment_expression "cVar1 = FUN_00107b77()" (identifier "cVar1") (= "=") (call_expression "FUN_00107b77()" (identifier "FUN_00107b77") (argument_list "()" (( "(") () ")")))) (; ";")) (} "}"))) (expression_statement "DAT_00133a1c = cVar1;" (assignment_expression "DAT_00133a1c = cVar1" (identifier "DAT_00133a1c") (= "=") (identifier "cVar1")) (; ";")) (expression_statement "uVar3 = FUN_00107b98(cVar1);" (assignment_expression "uVar3 = FUN_00107b98(cVar1)" (identifier "uVar3") (= "=") (call_expression "FUN_00107b98(cVar1)" (identifier "FUN_00107b98") (argument_list "(cVar1)" (( "(") (identifier "cVar1") () ")")))) (; ";")) (expression_statement "__printf_chk(1,"Telnet rlogin escape character is \'%s\'.\n",uVar3);" (call_expression "__printf_chk(1,"Telnet rlogin escape character is \'%s\'.\n",uVar3)" (identifier "__printf_chk") (argument_list "(1,"Telnet rlogin escape character is \'%s\'.\n",uVar3)" (( "(") (number_literal "1") (, ",") (string_literal ""Telnet rlogin escape character is \'%s\'.\n"" (" """) (string_content "Telnet rlogin escape character is ") (escape_sequence "\'") (string_content "%s") (escape_sequence "\'") (string_content ".") (escape_sequence "\n") (" """)) (, ",") (identifier "uVar3") () ")"))) (; ";")) (} "}")))) (return_statement "return;" (return "return") (; ";")) (} "}")))

void function_1(char *var_2)

{
  type_1 cVar1;
  int iVar2;
  char *pcVar3;
  
  if (var_1 == '\0') {
    cVar1 = '\0';
    if ((var_2 != (char *)0x0) && (*var_2 != '\0')) {
      iVar2 = var_3(var_2);
      cVar1 = (type_1)iVar2;
    }
    escape = cVar1;
    pcVar3 = var_4(cVar1);
    var_5(1,"Telnet escape character is \'%s\'.\n",pcVar3);
  }
  else {
    cVar1 = '\0';
    if ((var_2 != (char *)0x0) && (*var_2 != '\0')) {
      iVar2 = var_3(var_2);
      cVar1 = (type_1)iVar2;
    }
    var_1 = cVar1;
    pcVar3 = var_4(var_1);
    var_5(1,"Telnet rlogin escape character is \'%s\'.\n",pcVar3);
  }
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (escape_sequence)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) right: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (char_literal (escape_sequence)))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))))) (expression_statement (assignment_expression left: (identifier) right: (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 (number_literal) (string_literal (string_content) (escape_sequence) (string_content) (escape_sequence) (string_content) (escape_sequence)) (identifier))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (char_literal (escape_sequence)))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) right: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (char_literal (escape_sequence)))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))))) (expression_statement (assignment_expression left: (identifier) right: (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 (number_literal) (string_literal (string_content) (escape_sequence) (string_content) (escape_sequence) (string_content) (escape_sequence)) (identifier))))))) (return_statement))))

void MASKED(char *param_1)

{
  char cVar1;
  undefined1 uVar2;
  undefined8 uVar3;
  
  if (DAT_00133a1c == '\0') {
    uVar2 = 0;
    if ((param_1 != (char *)0x0) && (*param_1 != '\0')) {
      uVar2 = FUN_00107b77();
    }
    DAT_00133b44 = uVar2;
    uVar3 = FUN_00107b98(uVar2);
    __printf_chk(1,"Telnet escape character is \'%s\'.\n",uVar3);
  }
  else {
    cVar1 = '\0';
    if ((param_1 != (char *)0x0) && (*param_1 != '\0')) {
      cVar1 = FUN_00107b77();
    }
    DAT_00133a1c = cVar1;
    uVar3 = FUN_00107b98(cVar1);
    __printf_chk(1,"Telnet rlogin escape character is \'%s\'.\n",uVar3);
  }
  return;
}

