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

void trim_trailing_spaces_and_print(char *s)

{
}



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

void __regparm3 FUN_000686fa(char *param_1)

{
  char *pcVar1;
  
  pcVar1 = param_1;
  if (*param_1 != '\0') {
    do {
      pcVar1 = pcVar1 + 1;
    } while (*pcVar1 != '\0');
    for (; param_1 != pcVar1; pcVar1 = pcVar1 + -1) {
      if (((byte)(pcVar1[-1] - 9U) != 0x17) && (4 < (byte)(pcVar1[-1] - 9U))) {
        *pcVar1 = '\0';
        break;
      }
    }
  }
  puts(param_1);
  return;
}


PUSH EBX
SUB ESP,0x8
CALL 0x00017650
ADD EBX,0x7331d
CMP byte ptr [EAX],0x0
JZ 0x00068734
MOV EDX,EAX
INC EDX
CMP byte ptr [EDX],0x0
JNZ 0x00068710
CMP EAX,EDX
JZ 0x00068734
MOV CL,byte ptr [EDX + -0x1]
SUB ECX,0x9
CMP CL,0x17
JNZ 0x0006872c
DEC EDX
CMP EAX,EDX
JNZ 0x0006871a
JMP 0x00068734
CMP CL,0x4
JBE 0x00068725
MOV byte ptr [EDX],0x0
SUB ESP,0xc
PUSH EAX
CALL 0x00016920
ADD ESP,0x18
POP EBX
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid __regparm3 FUN_000686fa(char *param_1)\n\n{\n  char *pcVar1;\n  \n  pcVar1 = param_1;\n  if (*param_1 != '\0') {\n    do {\n      pcVar1 = pcVar1 + 1;\n    } while (*pcVar1 != '\0');\n    for (; param_1 != pcVar1; pcVar1 = pcVar1 + -1) {\n      if (((byte)(pcVar1[-1] - 9U) != 0x17) && (4 < (byte)(pcVar1[-1] - 9U))) {\n        *pcVar1 = '\0';\n        break;\n      }\n    }\n  }\n  puts(param_1);\n  return;\n}\n\n" comment (function_definition "void __regparm3 FUN_000686fa(char *param_1)\n\n{\n  char *pcVar1;\n  \n  pcVar1 = param_1;\n  if (*param_1 != '\0') {\n    do {\n      pcVar1 = pcVar1 + 1;\n    } while (*pcVar1 != '\0');\n    for (; param_1 != pcVar1; pcVar1 = pcVar1 + -1) {\n      if (((byte)(pcVar1[-1] - 9U) != 0x17) && (4 < (byte)(pcVar1[-1] - 9U))) {\n        *pcVar1 = '\0';\n        break;\n      }\n    }\n  }\n  puts(param_1);\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_000686fa(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 *pcVar1;\n  \n  pcVar1 = param_1;\n  if (*param_1 != '\0') {\n    do {\n      pcVar1 = pcVar1 + 1;\n    } while (*pcVar1 != '\0');\n    for (; param_1 != pcVar1; pcVar1 = pcVar1 + -1) {\n      if (((byte)(pcVar1[-1] - 9U) != 0x17) && (4 < (byte)(pcVar1[-1] - 9U))) {\n        *pcVar1 = '\0';\n        break;\n      }\n    }\n  }\n  puts(param_1);\n  return;\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (expression_statement "pcVar1 = param_1;" (assignment_expression "pcVar1 = param_1" identifier = identifier) ;) (if_statement "if (*param_1 != '\0') {\n    do {\n      pcVar1 = pcVar1 + 1;\n    } while (*pcVar1 != '\0');\n    for (; param_1 != pcVar1; pcVar1 = pcVar1 + -1) {\n      if (((byte)(pcVar1[-1] - 9U) != 0x17) && (4 < (byte)(pcVar1[-1] - 9U))) {\n        *pcVar1 = '\0';\n        break;\n      }\n    }\n  }" if (parenthesized_expression "(*param_1 != '\0')" ( (binary_expression "*param_1 != '\0'" (pointer_expression "*param_1" * identifier) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    do {\n      pcVar1 = pcVar1 + 1;\n    } while (*pcVar1 != '\0');\n    for (; param_1 != pcVar1; pcVar1 = pcVar1 + -1) {\n      if (((byte)(pcVar1[-1] - 9U) != 0x17) && (4 < (byte)(pcVar1[-1] - 9U))) {\n        *pcVar1 = '\0';\n        break;\n      }\n    }\n  }" { (do_statement "do {\n      pcVar1 = pcVar1 + 1;\n    } while (*pcVar1 != '\0');" do (compound_statement "{\n      pcVar1 = pcVar1 + 1;\n    }" { (expression_statement "pcVar1 = pcVar1 + 1;" (assignment_expression "pcVar1 = pcVar1 + 1" identifier = (binary_expression "pcVar1 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(*pcVar1 != '\0')" ( (binary_expression "*pcVar1 != '\0'" (pointer_expression "*pcVar1" * identifier) != (char_literal "'\0'" ' escape_sequence ')) )) ;) (for_statement "for (; param_1 != pcVar1; pcVar1 = pcVar1 + -1) {\n      if (((byte)(pcVar1[-1] - 9U) != 0x17) && (4 < (byte)(pcVar1[-1] - 9U))) {\n        *pcVar1 = '\0';\n        break;\n      }\n    }" for ( ; (binary_expression "param_1 != pcVar1" identifier != identifier) ; (assignment_expression "pcVar1 = pcVar1 + -1" identifier = (binary_expression "pcVar1 + -1" identifier + number_literal)) ) (compound_statement "{\n      if (((byte)(pcVar1[-1] - 9U) != 0x17) && (4 < (byte)(pcVar1[-1] - 9U))) {\n        *pcVar1 = '\0';\n        break;\n      }\n    }" { (if_statement "if (((byte)(pcVar1[-1] - 9U) != 0x17) && (4 < (byte)(pcVar1[-1] - 9U))) {\n        *pcVar1 = '\0';\n        break;\n      }" if (parenthesized_expression "(((byte)(pcVar1[-1] - 9U) != 0x17) && (4 < (byte)(pcVar1[-1] - 9U)))" ( (binary_expression "((byte)(pcVar1[-1] - 9U) != 0x17) && (4 < (byte)(pcVar1[-1] - 9U))" (parenthesized_expression "((byte)(pcVar1[-1] - 9U) != 0x17)" ( (binary_expression "(byte)(pcVar1[-1] - 9U) != 0x17" (call_expression "(byte)(pcVar1[-1] - 9U)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(pcVar1[-1] - 9U)" ( (binary_expression "pcVar1[-1] - 9U" (subscript_expression "pcVar1[-1]" identifier [ number_literal ]) - number_literal) ))) != number_literal) )) && (parenthesized_expression "(4 < (byte)(pcVar1[-1] - 9U))" ( (binary_expression "4 < (byte)(pcVar1[-1] - 9U)" number_literal < (call_expression "(byte)(pcVar1[-1] - 9U)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(pcVar1[-1] - 9U)" ( (binary_expression "pcVar1[-1] - 9U" (subscript_expression "pcVar1[-1]" identifier [ number_literal ]) - number_literal) )))) ))) )) (compound_statement "{\n        *pcVar1 = '\0';\n        break;\n      }" { (expression_statement "*pcVar1 = '\0';" (assignment_expression "*pcVar1 = '\0'" (pointer_expression "*pcVar1" * identifier) = (char_literal "'\0'" ' escape_sequence ')) ;) (break_statement "break;" break ;) })) })) })) (expression_statement "puts(param_1);" (call_expression "puts(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid trim_trailing_spaces_and_print(char *s)\n\n{\n}\n\n" comment (function_definition "void trim_trailing_spaces_and_print(char *s)\n\n{\n}" primitive_type (function_declarator "trim_trailing_spaces_and_print(char *s)" identifier (parameter_list "(char *s)" ( (parameter_declaration "char *s" primitive_type (pointer_declarator "*s" * identifier)) ))) (compound_statement "{\n}" { })))
(translation_unit "void __regparm3 FUN_000686fa(char *param_1)\n\n{\n  char *pcVar1;\n  \n  pcVar1 = param_1;\n  if (*param_1 != '\0') {\n    do {\n      pcVar1 = pcVar1 + 1;\n    } while (*pcVar1 != '\0');\n    for (; param_1 != pcVar1; pcVar1 = pcVar1 + -1) {\n      if (((byte)(pcVar1[-1] - 9U) != 0x17) && (4 < (byte)(pcVar1[-1] - 9U))) {\n        *pcVar1 = '\0';\n        break;\n      }\n    }\n  }\n  puts(param_1);\n  return;\n}\n\n" (function_definition "void __regparm3 FUN_000686fa(char *param_1)\n\n{\n  char *pcVar1;\n  \n  pcVar1 = param_1;\n  if (*param_1 != '\0') {\n    do {\n      pcVar1 = pcVar1 + 1;\n    } while (*pcVar1 != '\0');\n    for (; param_1 != pcVar1; pcVar1 = pcVar1 + -1) {\n      if (((byte)(pcVar1[-1] - 9U) != 0x17) && (4 < (byte)(pcVar1[-1] - 9U))) {\n        *pcVar1 = '\0';\n        break;\n      }\n    }\n  }\n  puts(param_1);\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_000686fa(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 *pcVar1;\n  \n  pcVar1 = param_1;\n  if (*param_1 != '\0') {\n    do {\n      pcVar1 = pcVar1 + 1;\n    } while (*pcVar1 != '\0');\n    for (; param_1 != pcVar1; pcVar1 = pcVar1 + -1) {\n      if (((byte)(pcVar1[-1] - 9U) != 0x17) && (4 < (byte)(pcVar1[-1] - 9U))) {\n        *pcVar1 = '\0';\n        break;\n      }\n    }\n  }\n  puts(param_1);\n  return;\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (expression_statement "pcVar1 = param_1;" (assignment_expression "pcVar1 = param_1" identifier = identifier) ;) (if_statement "if (*param_1 != '\0') {\n    do {\n      pcVar1 = pcVar1 + 1;\n    } while (*pcVar1 != '\0');\n    for (; param_1 != pcVar1; pcVar1 = pcVar1 + -1) {\n      if (((byte)(pcVar1[-1] - 9U) != 0x17) && (4 < (byte)(pcVar1[-1] - 9U))) {\n        *pcVar1 = '\0';\n        break;\n      }\n    }\n  }" if (parenthesized_expression "(*param_1 != '\0')" ( (binary_expression "*param_1 != '\0'" (pointer_expression "*param_1" * identifier) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    do {\n      pcVar1 = pcVar1 + 1;\n    } while (*pcVar1 != '\0');\n    for (; param_1 != pcVar1; pcVar1 = pcVar1 + -1) {\n      if (((byte)(pcVar1[-1] - 9U) != 0x17) && (4 < (byte)(pcVar1[-1] - 9U))) {\n        *pcVar1 = '\0';\n        break;\n      }\n    }\n  }" { (do_statement "do {\n      pcVar1 = pcVar1 + 1;\n    } while (*pcVar1 != '\0');" do (compound_statement "{\n      pcVar1 = pcVar1 + 1;\n    }" { (expression_statement "pcVar1 = pcVar1 + 1;" (assignment_expression "pcVar1 = pcVar1 + 1" identifier = (binary_expression "pcVar1 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(*pcVar1 != '\0')" ( (binary_expression "*pcVar1 != '\0'" (pointer_expression "*pcVar1" * identifier) != (char_literal "'\0'" ' escape_sequence ')) )) ;) (for_statement "for (; param_1 != pcVar1; pcVar1 = pcVar1 + -1) {\n      if (((byte)(pcVar1[-1] - 9U) != 0x17) && (4 < (byte)(pcVar1[-1] - 9U))) {\n        *pcVar1 = '\0';\n        break;\n      }\n    }" for ( ; (binary_expression "param_1 != pcVar1" identifier != identifier) ; (assignment_expression "pcVar1 = pcVar1 + -1" identifier = (binary_expression "pcVar1 + -1" identifier + number_literal)) ) (compound_statement "{\n      if (((byte)(pcVar1[-1] - 9U) != 0x17) && (4 < (byte)(pcVar1[-1] - 9U))) {\n        *pcVar1 = '\0';\n        break;\n      }\n    }" { (if_statement "if (((byte)(pcVar1[-1] - 9U) != 0x17) && (4 < (byte)(pcVar1[-1] - 9U))) {\n        *pcVar1 = '\0';\n        break;\n      }" if (parenthesized_expression "(((byte)(pcVar1[-1] - 9U) != 0x17) && (4 < (byte)(pcVar1[-1] - 9U)))" ( (binary_expression "((byte)(pcVar1[-1] - 9U) != 0x17) && (4 < (byte)(pcVar1[-1] - 9U))" (parenthesized_expression "((byte)(pcVar1[-1] - 9U) != 0x17)" ( (binary_expression "(byte)(pcVar1[-1] - 9U) != 0x17" (call_expression "(byte)(pcVar1[-1] - 9U)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(pcVar1[-1] - 9U)" ( (binary_expression "pcVar1[-1] - 9U" (subscript_expression "pcVar1[-1]" identifier [ number_literal ]) - number_literal) ))) != number_literal) )) && (parenthesized_expression "(4 < (byte)(pcVar1[-1] - 9U))" ( (binary_expression "4 < (byte)(pcVar1[-1] - 9U)" number_literal < (call_expression "(byte)(pcVar1[-1] - 9U)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(pcVar1[-1] - 9U)" ( (binary_expression "pcVar1[-1] - 9U" (subscript_expression "pcVar1[-1]" identifier [ number_literal ]) - number_literal) )))) ))) )) (compound_statement "{\n        *pcVar1 = '\0';\n        break;\n      }" { (expression_statement "*pcVar1 = '\0';" (assignment_expression "*pcVar1 = '\0'" (pointer_expression "*pcVar1" * identifier) = (char_literal "'\0'" ' escape_sequence ')) ;) (break_statement "break;" break ;) })) })) })) (expression_statement "puts(param_1);" (call_expression "puts(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != (char_literal ' escape_sequence ')) )) (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != (char_literal ' escape_sequence ')) )) ;) (for_statement for ( ; (binary_expression IDENT != IDENT) ; (assignment_expression IDENT = (binary_expression IDENT + LIT)) ) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (subscript_expression IDENT [ LIT ]) - LIT) ))) != LIT) )) && (parenthesized_expression ( (binary_expression LIT < (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (subscript_expression IDENT [ LIT ]) - LIT) )))) ))) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (char_literal ' escape_sequence ')) ;) (break_statement break ;) })) })) })) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (return_statement return ;) })))
(function_definition "void __regparm3 FUN_000686fa(char *param_1)\n\n{\n  char *pcVar1;\n  \n  pcVar1 = param_1;\n  if (*param_1 != '\0') {\n    do {\n      pcVar1 = pcVar1 + 1;\n    } while (*pcVar1 != '\0');\n    for (; param_1 != pcVar1; pcVar1 = pcVar1 + -1) {\n      if (((byte)(pcVar1[-1] - 9U) != 0x17) && (4 < (byte)(pcVar1[-1] - 9U))) {\n        *pcVar1 = '\0';\n        break;\n      }\n    }\n  }\n  puts(param_1);\n  return;\n}" (primitive_type "void") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_000686fa(char *param_1)" (identifier "FUN_000686fa") (parameter_list "(char *param_1)" (( "(") (parameter_declaration "char *param_1" (primitive_type "char") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  char *pcVar1;\n  \n  pcVar1 = param_1;\n  if (*param_1 != '\0') {\n    do {\n      pcVar1 = pcVar1 + 1;\n    } while (*pcVar1 != '\0');\n    for (; param_1 != pcVar1; pcVar1 = pcVar1 + -1) {\n      if (((byte)(pcVar1[-1] - 9U) != 0x17) && (4 < (byte)(pcVar1[-1] - 9U))) {\n        *pcVar1 = '\0';\n        break;\n      }\n    }\n  }\n  puts(param_1);\n  return;\n}" ({ "{") (declaration "char *pcVar1;" (primitive_type "char") (pointer_declarator "*pcVar1" (* "*") (identifier "pcVar1")) (; ";")) (expression_statement "pcVar1 = param_1;" (assignment_expression "pcVar1 = param_1" (identifier "pcVar1") (= "=") (identifier "param_1")) (; ";")) (if_statement "if (*param_1 != '\0') {\n    do {\n      pcVar1 = pcVar1 + 1;\n    } while (*pcVar1 != '\0');\n    for (; param_1 != pcVar1; pcVar1 = pcVar1 + -1) {\n      if (((byte)(pcVar1[-1] - 9U) != 0x17) && (4 < (byte)(pcVar1[-1] - 9U))) {\n        *pcVar1 = '\0';\n        break;\n      }\n    }\n  }" (if "if") (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    do {\n      pcVar1 = pcVar1 + 1;\n    } while (*pcVar1 != '\0');\n    for (; param_1 != pcVar1; pcVar1 = pcVar1 + -1) {\n      if (((byte)(pcVar1[-1] - 9U) != 0x17) && (4 < (byte)(pcVar1[-1] - 9U))) {\n        *pcVar1 = '\0';\n        break;\n      }\n    }\n  }" ({ "{") (do_statement "do {\n      pcVar1 = pcVar1 + 1;\n    } while (*pcVar1 != '\0');" (do "do") (compound_statement "{\n      pcVar1 = pcVar1 + 1;\n    }" ({ "{") (expression_statement "pcVar1 = pcVar1 + 1;" (assignment_expression "pcVar1 = pcVar1 + 1" (identifier "pcVar1") (= "=") (binary_expression "pcVar1 + 1" (identifier "pcVar1") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(*pcVar1 != '\0')" (( "(") (binary_expression "*pcVar1 != '\0'" (pointer_expression "*pcVar1" (* "*") (identifier "pcVar1")) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (; ";")) (for_statement "for (; param_1 != pcVar1; pcVar1 = pcVar1 + -1) {\n      if (((byte)(pcVar1[-1] - 9U) != 0x17) && (4 < (byte)(pcVar1[-1] - 9U))) {\n        *pcVar1 = '\0';\n        break;\n      }\n    }" (for "for") (( "(") (; ";") (binary_expression "param_1 != pcVar1" (identifier "param_1") (!= "!=") (identifier "pcVar1")) (; ";") (assignment_expression "pcVar1 = pcVar1 + -1" (identifier "pcVar1") (= "=") (binary_expression "pcVar1 + -1" (identifier "pcVar1") (+ "+") (number_literal "-1"))) () ")") (compound_statement "{\n      if (((byte)(pcVar1[-1] - 9U) != 0x17) && (4 < (byte)(pcVar1[-1] - 9U))) {\n        *pcVar1 = '\0';\n        break;\n      }\n    }" ({ "{") (if_statement "if (((byte)(pcVar1[-1] - 9U) != 0x17) && (4 < (byte)(pcVar1[-1] - 9U))) {\n        *pcVar1 = '\0';\n        break;\n      }" (if "if") (parenthesized_expression "(((byte)(pcVar1[-1] - 9U) != 0x17) && (4 < (byte)(pcVar1[-1] - 9U)))" (( "(") (binary_expression "((byte)(pcVar1[-1] - 9U) != 0x17) && (4 < (byte)(pcVar1[-1] - 9U))" (parenthesized_expression "((byte)(pcVar1[-1] - 9U) != 0x17)" (( "(") (binary_expression "(byte)(pcVar1[-1] - 9U) != 0x17" (call_expression "(byte)(pcVar1[-1] - 9U)" (parenthesized_expression "(byte)" (( "(") (identifier "byte") () ")")) (argument_list "(pcVar1[-1] - 9U)" (( "(") (binary_expression "pcVar1[-1] - 9U" (subscript_expression "pcVar1[-1]" (identifier "pcVar1") ([ "[") (number_literal "-1") (] "]")) (- "-") (number_literal "9U")) () ")"))) (!= "!=") (number_literal "0x17")) () ")")) (&& "&&") (parenthesized_expression "(4 < (byte)(pcVar1[-1] - 9U))" (( "(") (binary_expression "4 < (byte)(pcVar1[-1] - 9U)" (number_literal "4") (< "<") (call_expression "(byte)(pcVar1[-1] - 9U)" (parenthesized_expression "(byte)" (( "(") (identifier "byte") () ")")) (argument_list "(pcVar1[-1] - 9U)" (( "(") (binary_expression "pcVar1[-1] - 9U" (subscript_expression "pcVar1[-1]" (identifier "pcVar1") ([ "[") (number_literal "-1") (] "]")) (- "-") (number_literal "9U")) () ")")))) () ")"))) () ")")) (compound_statement "{\n        *pcVar1 = '\0';\n        break;\n      }" ({ "{") (expression_statement "*pcVar1 = '\0';" (assignment_expression "*pcVar1 = '\0'" (pointer_expression "*pcVar1" (* "*") (identifier "pcVar1")) (= "=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) (; ";")) (break_statement "break;" (break "break") (; ";")) (} "}"))) (} "}"))) (} "}"))) (expression_statement "puts(param_1);" (call_expression "puts(param_1)" (identifier "puts") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

void function_1(char *s)

{
}


(translation_unit (function_definition type: (primitive_type) (ERROR (identifier)) 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: (pointer_declarator declarator: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (char_literal (escape_sequence)))) consequence: (compound_statement (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (char_literal (escape_sequence))))) (for_statement condition: (binary_expression left: (identifier) right: (identifier)) update: (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))) body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal)))) right: (number_literal))) right: (parenthesized_expression (binary_expression left: (number_literal) right: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal)))))))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (char_literal (escape_sequence)))) (break_statement))))))) (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 __regparm3 MASKED(char *param_1)

{
  char *pcVar1;
  
  pcVar1 = param_1;
  if (*param_1 != '\0') {
    do {
      pcVar1 = pcVar1 + 1;
    } while (*pcVar1 != '\0');
    for (; param_1 != pcVar1; pcVar1 = pcVar1 + -1) {
      if (((byte)(pcVar1[-1] - 9U) != 0x17) && (4 < (byte)(pcVar1[-1] - 9U))) {
        *pcVar1 = '\0';
        break;
      }
    }
  }
  puts(param_1);
  return;
}

