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

char * stripslashes(char *str,int local)

{
  char *pcVar1;
  
  pcVar1 = strrchr(str,0x2f);
  if (pcVar1 != (char *)0x0) {
    str = pcVar1 + 1;
  }
  return str;
}



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

char * FUN_0006ac90(char *param_1)

{
  char *pcVar1;
  
  pcVar1 = strrchr(param_1,0x2f);
  if (pcVar1 != (char *)0x0) {
    param_1 = pcVar1 + 1;
  }
  return param_1;
}


PUSH ESI
PUSH EBX
CALL 0x00014970
ADD EBX,0x3f0f9
SUB ESP,0xc
MOV ESI,dword ptr [ESP + 0x18]
PUSH 0x2f
PUSH ESI
CALL 0x00014660
TEST EAX,EAX
LEA EDX,[EAX + 0x1]
MOV EAX,ESI
CMOVNZ EAX,EDX
ADD ESP,0x14
POP EBX
POP ESI
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nchar * FUN_0006ac90(char *param_1)\n\n{\n  char *pcVar1;\n  \n  pcVar1 = strrchr(param_1,0x2f);\n  if (pcVar1 != (char *)0x0) {\n    param_1 = pcVar1 + 1;\n  }\n  return param_1;\n}\n\n" comment (function_definition "char * FUN_0006ac90(char *param_1)\n\n{\n  char *pcVar1;\n  \n  pcVar1 = strrchr(param_1,0x2f);\n  if (pcVar1 != (char *)0x0) {\n    param_1 = pcVar1 + 1;\n  }\n  return param_1;\n}" primitive_type (pointer_declarator "* FUN_0006ac90(char *param_1)" * (function_declarator "FUN_0006ac90(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 = strrchr(param_1,0x2f);\n  if (pcVar1 != (char *)0x0) {\n    param_1 = pcVar1 + 1;\n  }\n  return param_1;\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (expression_statement "pcVar1 = strrchr(param_1,0x2f);" (assignment_expression "pcVar1 = strrchr(param_1,0x2f)" identifier = (call_expression "strrchr(param_1,0x2f)" identifier (argument_list "(param_1,0x2f)" ( identifier , number_literal )))) ;) (if_statement "if (pcVar1 != (char *)0x0) {\n    param_1 = pcVar1 + 1;\n  }" if (parenthesized_expression "(pcVar1 != (char *)0x0)" ( (binary_expression "pcVar1 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    param_1 = pcVar1 + 1;\n  }" { (expression_statement "param_1 = pcVar1 + 1;" (assignment_expression "param_1 = pcVar1 + 1" identifier = (binary_expression "pcVar1 + 1" identifier + number_literal)) ;) })) (return_statement "return param_1;" return identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n\nchar * stripslashes(char *str,int local)\n\n{\n  char *pcVar1;\n  \n  pcVar1 = strrchr(str,0x2f);\n  if (pcVar1 != (char *)0x0) {\n    str = pcVar1 + 1;\n  }\n  return str;\n}\n\n" comment comment (function_definition "char * stripslashes(char *str,int local)\n\n{\n  char *pcVar1;\n  \n  pcVar1 = strrchr(str,0x2f);\n  if (pcVar1 != (char *)0x0) {\n    str = pcVar1 + 1;\n  }\n  return str;\n}" primitive_type (pointer_declarator "* stripslashes(char *str,int local)" * (function_declarator "stripslashes(char *str,int local)" identifier (parameter_list "(char *str,int local)" ( (parameter_declaration "char *str" primitive_type (pointer_declarator "*str" * identifier)) , (parameter_declaration "int local" primitive_type identifier) )))) (compound_statement "{\n  char *pcVar1;\n  \n  pcVar1 = strrchr(str,0x2f);\n  if (pcVar1 != (char *)0x0) {\n    str = pcVar1 + 1;\n  }\n  return str;\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (expression_statement "pcVar1 = strrchr(str,0x2f);" (assignment_expression "pcVar1 = strrchr(str,0x2f)" identifier = (call_expression "strrchr(str,0x2f)" identifier (argument_list "(str,0x2f)" ( identifier , number_literal )))) ;) (if_statement "if (pcVar1 != (char *)0x0) {\n    str = pcVar1 + 1;\n  }" if (parenthesized_expression "(pcVar1 != (char *)0x0)" ( (binary_expression "pcVar1 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    str = pcVar1 + 1;\n  }" { (expression_statement "str = pcVar1 + 1;" (assignment_expression "str = pcVar1 + 1" identifier = (binary_expression "pcVar1 + 1" identifier + number_literal)) ;) })) (return_statement "return str;" return identifier ;) })))
(translation_unit "char * FUN_0006ac90(char *param_1)\n\n{\n  char *pcVar1;\n  \n  pcVar1 = strrchr(param_1,0x2f);\n  if (pcVar1 != (char *)0x0) {\n    param_1 = pcVar1 + 1;\n  }\n  return param_1;\n}\n\n" (function_definition "char * FUN_0006ac90(char *param_1)\n\n{\n  char *pcVar1;\n  \n  pcVar1 = strrchr(param_1,0x2f);\n  if (pcVar1 != (char *)0x0) {\n    param_1 = pcVar1 + 1;\n  }\n  return param_1;\n}" primitive_type (pointer_declarator "* FUN_0006ac90(char *param_1)" * (function_declarator "FUN_0006ac90(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 = strrchr(param_1,0x2f);\n  if (pcVar1 != (char *)0x0) {\n    param_1 = pcVar1 + 1;\n  }\n  return param_1;\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (expression_statement "pcVar1 = strrchr(param_1,0x2f);" (assignment_expression "pcVar1 = strrchr(param_1,0x2f)" identifier = (call_expression "strrchr(param_1,0x2f)" identifier (argument_list "(param_1,0x2f)" ( identifier , number_literal )))) ;) (if_statement "if (pcVar1 != (char *)0x0) {\n    param_1 = pcVar1 + 1;\n  }" if (parenthesized_expression "(pcVar1 != (char *)0x0)" ( (binary_expression "pcVar1 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    param_1 = pcVar1 + 1;\n  }" { (expression_statement "param_1 = pcVar1 + 1;" (assignment_expression "param_1 = pcVar1 + 1" identifier = (binary_expression "pcVar1 + 1" identifier + number_literal)) ;) })) (return_statement "return param_1;" return identifier ;) })))
(translation_unit (function_definition TYPE (pointer_declarator * (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) )))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (return_statement return IDENT ;) })))
(function_definition "char * FUN_0006ac90(char *param_1)\n\n{\n  char *pcVar1;\n  \n  pcVar1 = strrchr(param_1,0x2f);\n  if (pcVar1 != (char *)0x0) {\n    param_1 = pcVar1 + 1;\n  }\n  return param_1;\n}" (primitive_type "char") (pointer_declarator "* FUN_0006ac90(char *param_1)" (* "*") (function_declarator "FUN_0006ac90(char *param_1)" (identifier "FUN_0006ac90") (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 = strrchr(param_1,0x2f);\n  if (pcVar1 != (char *)0x0) {\n    param_1 = pcVar1 + 1;\n  }\n  return param_1;\n}" ({ "{") (declaration "char *pcVar1;" (primitive_type "char") (pointer_declarator "*pcVar1" (* "*") (identifier "pcVar1")) (; ";")) (expression_statement "pcVar1 = strrchr(param_1,0x2f);" (assignment_expression "pcVar1 = strrchr(param_1,0x2f)" (identifier "pcVar1") (= "=") (call_expression "strrchr(param_1,0x2f)" (identifier "strrchr") (argument_list "(param_1,0x2f)" (( "(") (identifier "param_1") (, ",") (number_literal "0x2f") () ")")))) (; ";")) (if_statement "if (pcVar1 != (char *)0x0) {\n    param_1 = pcVar1 + 1;\n  }" (if "if") (parenthesized_expression "(pcVar1 != (char *)0x0)" (( "(") (binary_expression "pcVar1 != (char *)0x0" (identifier "pcVar1") (!= "!=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    param_1 = pcVar1 + 1;\n  }" ({ "{") (expression_statement "param_1 = pcVar1 + 1;" (assignment_expression "param_1 = pcVar1 + 1" (identifier "param_1") (= "=") (binary_expression "pcVar1 + 1" (identifier "pcVar1") (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (return_statement "return param_1;" (return "return") (identifier "param_1") (; ";")) (} "}")))

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

char * function_1(char *str,int local)

{
  char *var_2;
  
  var_2 = var_1(str,0x2f);
  if (var_2 != (char *)0x0) {
    str = var_2 + 1;
  }
  return str;
}


(translation_unit (function_definition type: (primitive_type) declarator: (pointer_declarator 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: (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))))) (return_statement (identifier)))))

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

char * MASKED(char *param_1)

{
  char *pcVar1;
  
  pcVar1 = strrchr(param_1,0x2f);
  if (pcVar1 != (char *)0x0) {
    param_1 = pcVar1 + 1;
  }
  return param_1;
}

