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

void __regparm3 full_path_write(url *url,char *where)

{
  char *pcVar1;
  size_t sVar2;
  
  pcVar1 = url->path;
  if (pcVar1 != (char *)0x0) {
    sVar2 = strlen(pcVar1);
    *where = '/';
    memcpy(where + 1,pcVar1,sVar2);
    where = where + 1 + sVar2;
  }
  pcVar1 = url->params;
  if (pcVar1 != (char *)0x0) {
    sVar2 = strlen(pcVar1);
    *where = ';';
    memcpy(where + 1,pcVar1,sVar2);
    where = where + 1 + sVar2;
  }
  pcVar1 = url->query;
  if (pcVar1 != (char *)0x0) {
    sVar2 = strlen(pcVar1);
    *where = '?';
    memcpy(where + 1,pcVar1,sVar2);
  }
  return;
}



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

void __regparm3 FUN_000442c0(int param_1,undefined1 *param_2)

{
  char *pcVar1;
  size_t sVar2;
  
  pcVar1 = *(char **)(param_1 + 0x10);
  if (pcVar1 != (char *)0x0) {
    sVar2 = strlen(pcVar1);
    *param_2 = 0x2f;
    memcpy(param_2 + 1,pcVar1,sVar2);
    param_2 = param_2 + 1 + sVar2;
  }
  pcVar1 = *(char **)(param_1 + 0x14);
  if (pcVar1 != (char *)0x0) {
    sVar2 = strlen(pcVar1);
    *param_2 = 0x3b;
    memcpy(param_2 + 1,pcVar1,sVar2);
    param_2 = param_2 + 1 + sVar2;
  }
  pcVar1 = *(char **)(param_1 + 0x18);
  if (pcVar1 != (char *)0x0) {
    sVar2 = strlen(pcVar1);
    *param_2 = 0x3f;
    memcpy(param_2 + 1,pcVar1,sVar2);
  }
  return;
}


PUSH EBP
PUSH EDI
MOV EDI,EAX
PUSH ESI
MOV ESI,EDX
PUSH EBX
CALL 0x00019070
ADD EBX,0x5c903
SUB ESP,0x1c
MOV EBP,dword ptr [EAX + 0x10]
TEST EBP,EBP
JZ 0x0004430d
SUB ESP,0xc
PUSH EBP
CALL 0x000168c0
ADD ESP,0xc
MOV byte ptr [ESI],0x2f
LEA ECX,[ESI + 0x1]
PUSH EAX
MOV dword ptr [ESP + 0x14],EAX
PUSH EBP
PUSH ECX
MOV dword ptr [ESP + 0x18],ECX
CALL 0x000168a0
MOV ECX,dword ptr [ESP + 0x18]
MOV EDX,dword ptr [ESP + 0x1c]
ADD ESP,0x10
LEA ESI,[ECX + EDX*0x1]
MOV EBP,dword ptr [EDI + 0x14]
TEST EBP,EBP
JZ 0x00044344
SUB ESP,0xc
PUSH EBP
CALL 0x000168c0
ADD ESP,0xc
MOV byte ptr [ESI],0x3b
LEA ECX,[ESI + 0x1]
PUSH EAX
MOV dword ptr [ESP + 0x14],EAX
PUSH EBP
PUSH ECX
MOV dword ptr [ESP + 0x18],ECX
CALL 0x000168a0
MOV ECX,dword ptr [ESP + 0x18]
MOV EDX,dword ptr [ESP + 0x1c]
ADD ESP,0x10
LEA ESI,[ECX + EDX*0x1]
MOV EDI,dword ptr [EDI + 0x18]
TEST EDI,EDI
JZ 0x00044369
SUB ESP,0xc
ADD ESI,0x1
PUSH EDI
CALL 0x000168c0
ADD ESP,0xc
MOV byte ptr [ESI + -0x1],0x3f
PUSH EAX
PUSH EDI
PUSH ESI
CALL 0x000168a0
ADD ESP,0x10
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid __regparm3 FUN_000442c0(int param_1,undefined1 *param_2)\n\n{\n  char *pcVar1;\n  size_t sVar2;\n  \n  pcVar1 = *(char **)(param_1 + 0x10);\n  if (pcVar1 != (char *)0x0) {\n    sVar2 = strlen(pcVar1);\n    *param_2 = 0x2f;\n    memcpy(param_2 + 1,pcVar1,sVar2);\n    param_2 = param_2 + 1 + sVar2;\n  }\n  pcVar1 = *(char **)(param_1 + 0x14);\n  if (pcVar1 != (char *)0x0) {\n    sVar2 = strlen(pcVar1);\n    *param_2 = 0x3b;\n    memcpy(param_2 + 1,pcVar1,sVar2);\n    param_2 = param_2 + 1 + sVar2;\n  }\n  pcVar1 = *(char **)(param_1 + 0x18);\n  if (pcVar1 != (char *)0x0) {\n    sVar2 = strlen(pcVar1);\n    *param_2 = 0x3f;\n    memcpy(param_2 + 1,pcVar1,sVar2);\n  }\n  return;\n}\n\n" comment (function_definition "void __regparm3 FUN_000442c0(int param_1,undefined1 *param_2)\n\n{\n  char *pcVar1;\n  size_t sVar2;\n  \n  pcVar1 = *(char **)(param_1 + 0x10);\n  if (pcVar1 != (char *)0x0) {\n    sVar2 = strlen(pcVar1);\n    *param_2 = 0x2f;\n    memcpy(param_2 + 1,pcVar1,sVar2);\n    param_2 = param_2 + 1 + sVar2;\n  }\n  pcVar1 = *(char **)(param_1 + 0x14);\n  if (pcVar1 != (char *)0x0) {\n    sVar2 = strlen(pcVar1);\n    *param_2 = 0x3b;\n    memcpy(param_2 + 1,pcVar1,sVar2);\n    param_2 = param_2 + 1 + sVar2;\n  }\n  pcVar1 = *(char **)(param_1 + 0x18);\n  if (pcVar1 != (char *)0x0) {\n    sVar2 = strlen(pcVar1);\n    *param_2 = 0x3f;\n    memcpy(param_2 + 1,pcVar1,sVar2);\n  }\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_000442c0(int param_1,undefined1 *param_2)" identifier (parameter_list "(int param_1,undefined1 *param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined1 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  char *pcVar1;\n  size_t sVar2;\n  \n  pcVar1 = *(char **)(param_1 + 0x10);\n  if (pcVar1 != (char *)0x0) {\n    sVar2 = strlen(pcVar1);\n    *param_2 = 0x2f;\n    memcpy(param_2 + 1,pcVar1,sVar2);\n    param_2 = param_2 + 1 + sVar2;\n  }\n  pcVar1 = *(char **)(param_1 + 0x14);\n  if (pcVar1 != (char *)0x0) {\n    sVar2 = strlen(pcVar1);\n    *param_2 = 0x3b;\n    memcpy(param_2 + 1,pcVar1,sVar2);\n    param_2 = param_2 + 1 + sVar2;\n  }\n  pcVar1 = *(char **)(param_1 + 0x18);\n  if (pcVar1 != (char *)0x0) {\n    sVar2 = strlen(pcVar1);\n    *param_2 = 0x3f;\n    memcpy(param_2 + 1,pcVar1,sVar2);\n  }\n  return;\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (declaration "size_t sVar2;" primitive_type identifier ;) (expression_statement "pcVar1 = *(char **)(param_1 + 0x10);" (assignment_expression "pcVar1 = *(char **)(param_1 + 0x10)" identifier = (pointer_expression "*(char **)(param_1 + 0x10)" * (cast_expression "(char **)(param_1 + 0x10)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) ))))) ;) (if_statement "if (pcVar1 != (char *)0x0) {\n    sVar2 = strlen(pcVar1);\n    *param_2 = 0x2f;\n    memcpy(param_2 + 1,pcVar1,sVar2);\n    param_2 = param_2 + 1 + sVar2;\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    sVar2 = strlen(pcVar1);\n    *param_2 = 0x2f;\n    memcpy(param_2 + 1,pcVar1,sVar2);\n    param_2 = param_2 + 1 + sVar2;\n  }" { (expression_statement "sVar2 = strlen(pcVar1);" (assignment_expression "sVar2 = strlen(pcVar1)" identifier = (call_expression "strlen(pcVar1)" identifier (argument_list "(pcVar1)" ( identifier )))) ;) (expression_statement "*param_2 = 0x2f;" (assignment_expression "*param_2 = 0x2f" (pointer_expression "*param_2" * identifier) = number_literal) ;) (expression_statement "memcpy(param_2 + 1,pcVar1,sVar2);" (call_expression "memcpy(param_2 + 1,pcVar1,sVar2)" identifier (argument_list "(param_2 + 1,pcVar1,sVar2)" ( (binary_expression "param_2 + 1" identifier + number_literal) , identifier , identifier ))) ;) (expression_statement "param_2 = param_2 + 1 + sVar2;" (assignment_expression "param_2 = param_2 + 1 + sVar2" identifier = (binary_expression "param_2 + 1 + sVar2" (binary_expression "param_2 + 1" identifier + number_literal) + identifier)) ;) })) (expression_statement "pcVar1 = *(char **)(param_1 + 0x14);" (assignment_expression "pcVar1 = *(char **)(param_1 + 0x14)" identifier = (pointer_expression "*(char **)(param_1 + 0x14)" * (cast_expression "(char **)(param_1 + 0x14)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) ))))) ;) (if_statement "if (pcVar1 != (char *)0x0) {\n    sVar2 = strlen(pcVar1);\n    *param_2 = 0x3b;\n    memcpy(param_2 + 1,pcVar1,sVar2);\n    param_2 = param_2 + 1 + sVar2;\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    sVar2 = strlen(pcVar1);\n    *param_2 = 0x3b;\n    memcpy(param_2 + 1,pcVar1,sVar2);\n    param_2 = param_2 + 1 + sVar2;\n  }" { (expression_statement "sVar2 = strlen(pcVar1);" (assignment_expression "sVar2 = strlen(pcVar1)" identifier = (call_expression "strlen(pcVar1)" identifier (argument_list "(pcVar1)" ( identifier )))) ;) (expression_statement "*param_2 = 0x3b;" (assignment_expression "*param_2 = 0x3b" (pointer_expression "*param_2" * identifier) = number_literal) ;) (expression_statement "memcpy(param_2 + 1,pcVar1,sVar2);" (call_expression "memcpy(param_2 + 1,pcVar1,sVar2)" identifier (argument_list "(param_2 + 1,pcVar1,sVar2)" ( (binary_expression "param_2 + 1" identifier + number_literal) , identifier , identifier ))) ;) (expression_statement "param_2 = param_2 + 1 + sVar2;" (assignment_expression "param_2 = param_2 + 1 + sVar2" identifier = (binary_expression "param_2 + 1 + sVar2" (binary_expression "param_2 + 1" identifier + number_literal) + identifier)) ;) })) (expression_statement "pcVar1 = *(char **)(param_1 + 0x18);" (assignment_expression "pcVar1 = *(char **)(param_1 + 0x18)" identifier = (pointer_expression "*(char **)(param_1 + 0x18)" * (cast_expression "(char **)(param_1 + 0x18)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) ))))) ;) (if_statement "if (pcVar1 != (char *)0x0) {\n    sVar2 = strlen(pcVar1);\n    *param_2 = 0x3f;\n    memcpy(param_2 + 1,pcVar1,sVar2);\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    sVar2 = strlen(pcVar1);\n    *param_2 = 0x3f;\n    memcpy(param_2 + 1,pcVar1,sVar2);\n  }" { (expression_statement "sVar2 = strlen(pcVar1);" (assignment_expression "sVar2 = strlen(pcVar1)" identifier = (call_expression "strlen(pcVar1)" identifier (argument_list "(pcVar1)" ( identifier )))) ;) (expression_statement "*param_2 = 0x3f;" (assignment_expression "*param_2 = 0x3f" (pointer_expression "*param_2" * identifier) = number_literal) ;) (expression_statement "memcpy(param_2 + 1,pcVar1,sVar2);" (call_expression "memcpy(param_2 + 1,pcVar1,sVar2)" identifier (argument_list "(param_2 + 1,pcVar1,sVar2)" ( (binary_expression "param_2 + 1" identifier + number_literal) , identifier , identifier ))) ;) })) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid __regparm3 full_path_write(url *url,char *where)\n\n{\n  char *pcVar1;\n  size_t sVar2;\n  \n  pcVar1 = url->path;\n  if (pcVar1 != (char *)0x0) {\n    sVar2 = strlen(pcVar1);\n    *where = '/';\n    memcpy(where + 1,pcVar1,sVar2);\n    where = where + 1 + sVar2;\n  }\n  pcVar1 = url->params;\n  if (pcVar1 != (char *)0x0) {\n    sVar2 = strlen(pcVar1);\n    *where = ';';\n    memcpy(where + 1,pcVar1,sVar2);\n    where = where + 1 + sVar2;\n  }\n  pcVar1 = url->query;\n  if (pcVar1 != (char *)0x0) {\n    sVar2 = strlen(pcVar1);\n    *where = '?';\n    memcpy(where + 1,pcVar1,sVar2);\n  }\n  return;\n}\n\n" comment (function_definition "void __regparm3 full_path_write(url *url,char *where)\n\n{\n  char *pcVar1;\n  size_t sVar2;\n  \n  pcVar1 = url->path;\n  if (pcVar1 != (char *)0x0) {\n    sVar2 = strlen(pcVar1);\n    *where = '/';\n    memcpy(where + 1,pcVar1,sVar2);\n    where = where + 1 + sVar2;\n  }\n  pcVar1 = url->params;\n  if (pcVar1 != (char *)0x0) {\n    sVar2 = strlen(pcVar1);\n    *where = ';';\n    memcpy(where + 1,pcVar1,sVar2);\n    where = where + 1 + sVar2;\n  }\n  pcVar1 = url->query;\n  if (pcVar1 != (char *)0x0) {\n    sVar2 = strlen(pcVar1);\n    *where = '?';\n    memcpy(where + 1,pcVar1,sVar2);\n  }\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "full_path_write(url *url,char *where)" identifier (parameter_list "(url *url,char *where)" ( (parameter_declaration "url *url" type_identifier (pointer_declarator "*url" * identifier)) , (parameter_declaration "char *where" primitive_type (pointer_declarator "*where" * identifier)) ))) (compound_statement "{\n  char *pcVar1;\n  size_t sVar2;\n  \n  pcVar1 = url->path;\n  if (pcVar1 != (char *)0x0) {\n    sVar2 = strlen(pcVar1);\n    *where = '/';\n    memcpy(where + 1,pcVar1,sVar2);\n    where = where + 1 + sVar2;\n  }\n  pcVar1 = url->params;\n  if (pcVar1 != (char *)0x0) {\n    sVar2 = strlen(pcVar1);\n    *where = ';';\n    memcpy(where + 1,pcVar1,sVar2);\n    where = where + 1 + sVar2;\n  }\n  pcVar1 = url->query;\n  if (pcVar1 != (char *)0x0) {\n    sVar2 = strlen(pcVar1);\n    *where = '?';\n    memcpy(where + 1,pcVar1,sVar2);\n  }\n  return;\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (declaration "size_t sVar2;" primitive_type identifier ;) (expression_statement "pcVar1 = url->path;" (assignment_expression "pcVar1 = url->path" identifier = (field_expression "url->path" identifier -> field_identifier)) ;) (if_statement "if (pcVar1 != (char *)0x0) {\n    sVar2 = strlen(pcVar1);\n    *where = '/';\n    memcpy(where + 1,pcVar1,sVar2);\n    where = where + 1 + sVar2;\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    sVar2 = strlen(pcVar1);\n    *where = '/';\n    memcpy(where + 1,pcVar1,sVar2);\n    where = where + 1 + sVar2;\n  }" { (expression_statement "sVar2 = strlen(pcVar1);" (assignment_expression "sVar2 = strlen(pcVar1)" identifier = (call_expression "strlen(pcVar1)" identifier (argument_list "(pcVar1)" ( identifier )))) ;) (expression_statement "*where = '/';" (assignment_expression "*where = '/'" (pointer_expression "*where" * identifier) = (char_literal "'/'" ' character ')) ;) (expression_statement "memcpy(where + 1,pcVar1,sVar2);" (call_expression "memcpy(where + 1,pcVar1,sVar2)" identifier (argument_list "(where + 1,pcVar1,sVar2)" ( (binary_expression "where + 1" identifier + number_literal) , identifier , identifier ))) ;) (expression_statement "where = where + 1 + sVar2;" (assignment_expression "where = where + 1 + sVar2" identifier = (binary_expression "where + 1 + sVar2" (binary_expression "where + 1" identifier + number_literal) + identifier)) ;) })) (expression_statement "pcVar1 = url->params;" (assignment_expression "pcVar1 = url->params" identifier = (field_expression "url->params" identifier -> field_identifier)) ;) (if_statement "if (pcVar1 != (char *)0x0) {\n    sVar2 = strlen(pcVar1);\n    *where = ';';\n    memcpy(where + 1,pcVar1,sVar2);\n    where = where + 1 + sVar2;\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    sVar2 = strlen(pcVar1);\n    *where = ';';\n    memcpy(where + 1,pcVar1,sVar2);\n    where = where + 1 + sVar2;\n  }" { (expression_statement "sVar2 = strlen(pcVar1);" (assignment_expression "sVar2 = strlen(pcVar1)" identifier = (call_expression "strlen(pcVar1)" identifier (argument_list "(pcVar1)" ( identifier )))) ;) (expression_statement "*where = ';';" (assignment_expression "*where = ';'" (pointer_expression "*where" * identifier) = (char_literal "';'" ' character ')) ;) (expression_statement "memcpy(where + 1,pcVar1,sVar2);" (call_expression "memcpy(where + 1,pcVar1,sVar2)" identifier (argument_list "(where + 1,pcVar1,sVar2)" ( (binary_expression "where + 1" identifier + number_literal) , identifier , identifier ))) ;) (expression_statement "where = where + 1 + sVar2;" (assignment_expression "where = where + 1 + sVar2" identifier = (binary_expression "where + 1 + sVar2" (binary_expression "where + 1" identifier + number_literal) + identifier)) ;) })) (expression_statement "pcVar1 = url->query;" (assignment_expression "pcVar1 = url->query" identifier = (field_expression "url->query" identifier -> field_identifier)) ;) (if_statement "if (pcVar1 != (char *)0x0) {\n    sVar2 = strlen(pcVar1);\n    *where = '?';\n    memcpy(where + 1,pcVar1,sVar2);\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    sVar2 = strlen(pcVar1);\n    *where = '?';\n    memcpy(where + 1,pcVar1,sVar2);\n  }" { (expression_statement "sVar2 = strlen(pcVar1);" (assignment_expression "sVar2 = strlen(pcVar1)" identifier = (call_expression "strlen(pcVar1)" identifier (argument_list "(pcVar1)" ( identifier )))) ;) (expression_statement "*where = '?';" (assignment_expression "*where = '?'" (pointer_expression "*where" * identifier) = (char_literal "'?'" ' character ')) ;) (expression_statement "memcpy(where + 1,pcVar1,sVar2);" (call_expression "memcpy(where + 1,pcVar1,sVar2)" identifier (argument_list "(where + 1,pcVar1,sVar2)" ( (binary_expression "where + 1" identifier + number_literal) , identifier , identifier ))) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void __regparm3 FUN_000442c0(int param_1,undefined1 *param_2)\n\n{\n  char *pcVar1;\n  size_t sVar2;\n  \n  pcVar1 = *(char **)(param_1 + 0x10);\n  if (pcVar1 != (char *)0x0) {\n    sVar2 = strlen(pcVar1);\n    *param_2 = 0x2f;\n    memcpy(param_2 + 1,pcVar1,sVar2);\n    param_2 = param_2 + 1 + sVar2;\n  }\n  pcVar1 = *(char **)(param_1 + 0x14);\n  if (pcVar1 != (char *)0x0) {\n    sVar2 = strlen(pcVar1);\n    *param_2 = 0x3b;\n    memcpy(param_2 + 1,pcVar1,sVar2);\n    param_2 = param_2 + 1 + sVar2;\n  }\n  pcVar1 = *(char **)(param_1 + 0x18);\n  if (pcVar1 != (char *)0x0) {\n    sVar2 = strlen(pcVar1);\n    *param_2 = 0x3f;\n    memcpy(param_2 + 1,pcVar1,sVar2);\n  }\n  return;\n}\n\n" (function_definition "void __regparm3 FUN_000442c0(int param_1,undefined1 *param_2)\n\n{\n  char *pcVar1;\n  size_t sVar2;\n  \n  pcVar1 = *(char **)(param_1 + 0x10);\n  if (pcVar1 != (char *)0x0) {\n    sVar2 = strlen(pcVar1);\n    *param_2 = 0x2f;\n    memcpy(param_2 + 1,pcVar1,sVar2);\n    param_2 = param_2 + 1 + sVar2;\n  }\n  pcVar1 = *(char **)(param_1 + 0x14);\n  if (pcVar1 != (char *)0x0) {\n    sVar2 = strlen(pcVar1);\n    *param_2 = 0x3b;\n    memcpy(param_2 + 1,pcVar1,sVar2);\n    param_2 = param_2 + 1 + sVar2;\n  }\n  pcVar1 = *(char **)(param_1 + 0x18);\n  if (pcVar1 != (char *)0x0) {\n    sVar2 = strlen(pcVar1);\n    *param_2 = 0x3f;\n    memcpy(param_2 + 1,pcVar1,sVar2);\n  }\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_000442c0(int param_1,undefined1 *param_2)" identifier (parameter_list "(int param_1,undefined1 *param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined1 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  char *pcVar1;\n  size_t sVar2;\n  \n  pcVar1 = *(char **)(param_1 + 0x10);\n  if (pcVar1 != (char *)0x0) {\n    sVar2 = strlen(pcVar1);\n    *param_2 = 0x2f;\n    memcpy(param_2 + 1,pcVar1,sVar2);\n    param_2 = param_2 + 1 + sVar2;\n  }\n  pcVar1 = *(char **)(param_1 + 0x14);\n  if (pcVar1 != (char *)0x0) {\n    sVar2 = strlen(pcVar1);\n    *param_2 = 0x3b;\n    memcpy(param_2 + 1,pcVar1,sVar2);\n    param_2 = param_2 + 1 + sVar2;\n  }\n  pcVar1 = *(char **)(param_1 + 0x18);\n  if (pcVar1 != (char *)0x0) {\n    sVar2 = strlen(pcVar1);\n    *param_2 = 0x3f;\n    memcpy(param_2 + 1,pcVar1,sVar2);\n  }\n  return;\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (declaration "size_t sVar2;" primitive_type identifier ;) (expression_statement "pcVar1 = *(char **)(param_1 + 0x10);" (assignment_expression "pcVar1 = *(char **)(param_1 + 0x10)" identifier = (pointer_expression "*(char **)(param_1 + 0x10)" * (cast_expression "(char **)(param_1 + 0x10)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) ))))) ;) (if_statement "if (pcVar1 != (char *)0x0) {\n    sVar2 = strlen(pcVar1);\n    *param_2 = 0x2f;\n    memcpy(param_2 + 1,pcVar1,sVar2);\n    param_2 = param_2 + 1 + sVar2;\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    sVar2 = strlen(pcVar1);\n    *param_2 = 0x2f;\n    memcpy(param_2 + 1,pcVar1,sVar2);\n    param_2 = param_2 + 1 + sVar2;\n  }" { (expression_statement "sVar2 = strlen(pcVar1);" (assignment_expression "sVar2 = strlen(pcVar1)" identifier = (call_expression "strlen(pcVar1)" identifier (argument_list "(pcVar1)" ( identifier )))) ;) (expression_statement "*param_2 = 0x2f;" (assignment_expression "*param_2 = 0x2f" (pointer_expression "*param_2" * identifier) = number_literal) ;) (expression_statement "memcpy(param_2 + 1,pcVar1,sVar2);" (call_expression "memcpy(param_2 + 1,pcVar1,sVar2)" identifier (argument_list "(param_2 + 1,pcVar1,sVar2)" ( (binary_expression "param_2 + 1" identifier + number_literal) , identifier , identifier ))) ;) (expression_statement "param_2 = param_2 + 1 + sVar2;" (assignment_expression "param_2 = param_2 + 1 + sVar2" identifier = (binary_expression "param_2 + 1 + sVar2" (binary_expression "param_2 + 1" identifier + number_literal) + identifier)) ;) })) (expression_statement "pcVar1 = *(char **)(param_1 + 0x14);" (assignment_expression "pcVar1 = *(char **)(param_1 + 0x14)" identifier = (pointer_expression "*(char **)(param_1 + 0x14)" * (cast_expression "(char **)(param_1 + 0x14)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) ))))) ;) (if_statement "if (pcVar1 != (char *)0x0) {\n    sVar2 = strlen(pcVar1);\n    *param_2 = 0x3b;\n    memcpy(param_2 + 1,pcVar1,sVar2);\n    param_2 = param_2 + 1 + sVar2;\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    sVar2 = strlen(pcVar1);\n    *param_2 = 0x3b;\n    memcpy(param_2 + 1,pcVar1,sVar2);\n    param_2 = param_2 + 1 + sVar2;\n  }" { (expression_statement "sVar2 = strlen(pcVar1);" (assignment_expression "sVar2 = strlen(pcVar1)" identifier = (call_expression "strlen(pcVar1)" identifier (argument_list "(pcVar1)" ( identifier )))) ;) (expression_statement "*param_2 = 0x3b;" (assignment_expression "*param_2 = 0x3b" (pointer_expression "*param_2" * identifier) = number_literal) ;) (expression_statement "memcpy(param_2 + 1,pcVar1,sVar2);" (call_expression "memcpy(param_2 + 1,pcVar1,sVar2)" identifier (argument_list "(param_2 + 1,pcVar1,sVar2)" ( (binary_expression "param_2 + 1" identifier + number_literal) , identifier , identifier ))) ;) (expression_statement "param_2 = param_2 + 1 + sVar2;" (assignment_expression "param_2 = param_2 + 1 + sVar2" identifier = (binary_expression "param_2 + 1 + sVar2" (binary_expression "param_2 + 1" identifier + number_literal) + identifier)) ;) })) (expression_statement "pcVar1 = *(char **)(param_1 + 0x18);" (assignment_expression "pcVar1 = *(char **)(param_1 + 0x18)" identifier = (pointer_expression "*(char **)(param_1 + 0x18)" * (cast_expression "(char **)(param_1 + 0x18)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) ))))) ;) (if_statement "if (pcVar1 != (char *)0x0) {\n    sVar2 = strlen(pcVar1);\n    *param_2 = 0x3f;\n    memcpy(param_2 + 1,pcVar1,sVar2);\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    sVar2 = strlen(pcVar1);\n    *param_2 = 0x3f;\n    memcpy(param_2 + 1,pcVar1,sVar2);\n  }" { (expression_statement "sVar2 = strlen(pcVar1);" (assignment_expression "sVar2 = strlen(pcVar1)" identifier = (call_expression "strlen(pcVar1)" identifier (argument_list "(pcVar1)" ( identifier )))) ;) (expression_statement "*param_2 = 0x3f;" (assignment_expression "*param_2 = 0x3f" (pointer_expression "*param_2" * identifier) = number_literal) ;) (expression_statement "memcpy(param_2 + 1,pcVar1,sVar2);" (call_expression "memcpy(param_2 + 1,pcVar1,sVar2)" identifier (argument_list "(param_2 + 1,pcVar1,sVar2)" ( (binary_expression "param_2 + 1" identifier + number_literal) , identifier , identifier ))) ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression 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 = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + LIT) + IDENT)) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression 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 = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + LIT) + IDENT)) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression 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 = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , IDENT , IDENT ))) ;) })) (return_statement return ;) })))
(function_definition "void __regparm3 FUN_000442c0(int param_1,undefined1 *param_2)\n\n{\n  char *pcVar1;\n  size_t sVar2;\n  \n  pcVar1 = *(char **)(param_1 + 0x10);\n  if (pcVar1 != (char *)0x0) {\n    sVar2 = strlen(pcVar1);\n    *param_2 = 0x2f;\n    memcpy(param_2 + 1,pcVar1,sVar2);\n    param_2 = param_2 + 1 + sVar2;\n  }\n  pcVar1 = *(char **)(param_1 + 0x14);\n  if (pcVar1 != (char *)0x0) {\n    sVar2 = strlen(pcVar1);\n    *param_2 = 0x3b;\n    memcpy(param_2 + 1,pcVar1,sVar2);\n    param_2 = param_2 + 1 + sVar2;\n  }\n  pcVar1 = *(char **)(param_1 + 0x18);\n  if (pcVar1 != (char *)0x0) {\n    sVar2 = strlen(pcVar1);\n    *param_2 = 0x3f;\n    memcpy(param_2 + 1,pcVar1,sVar2);\n  }\n  return;\n}" (primitive_type "void") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_000442c0(int param_1,undefined1 *param_2)" (identifier "FUN_000442c0") (parameter_list "(int param_1,undefined1 *param_2)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "undefined1 *param_2" (type_identifier "undefined1") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")"))) (compound_statement "{\n  char *pcVar1;\n  size_t sVar2;\n  \n  pcVar1 = *(char **)(param_1 + 0x10);\n  if (pcVar1 != (char *)0x0) {\n    sVar2 = strlen(pcVar1);\n    *param_2 = 0x2f;\n    memcpy(param_2 + 1,pcVar1,sVar2);\n    param_2 = param_2 + 1 + sVar2;\n  }\n  pcVar1 = *(char **)(param_1 + 0x14);\n  if (pcVar1 != (char *)0x0) {\n    sVar2 = strlen(pcVar1);\n    *param_2 = 0x3b;\n    memcpy(param_2 + 1,pcVar1,sVar2);\n    param_2 = param_2 + 1 + sVar2;\n  }\n  pcVar1 = *(char **)(param_1 + 0x18);\n  if (pcVar1 != (char *)0x0) {\n    sVar2 = strlen(pcVar1);\n    *param_2 = 0x3f;\n    memcpy(param_2 + 1,pcVar1,sVar2);\n  }\n  return;\n}" ({ "{") (declaration "char *pcVar1;" (primitive_type "char") (pointer_declarator "*pcVar1" (* "*") (identifier "pcVar1")) (; ";")) (declaration "size_t sVar2;" (primitive_type "size_t") (identifier "sVar2") (; ";")) (expression_statement "pcVar1 = *(char **)(param_1 + 0x10);" (assignment_expression "pcVar1 = *(char **)(param_1 + 0x10)" (identifier "pcVar1") (= "=") (pointer_expression "*(char **)(param_1 + 0x10)" (* "*") (cast_expression "(char **)(param_1 + 0x10)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")"))))) (; ";")) (if_statement "if (pcVar1 != (char *)0x0) {\n    sVar2 = strlen(pcVar1);\n    *param_2 = 0x2f;\n    memcpy(param_2 + 1,pcVar1,sVar2);\n    param_2 = param_2 + 1 + sVar2;\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    sVar2 = strlen(pcVar1);\n    *param_2 = 0x2f;\n    memcpy(param_2 + 1,pcVar1,sVar2);\n    param_2 = param_2 + 1 + sVar2;\n  }" ({ "{") (expression_statement "sVar2 = strlen(pcVar1);" (assignment_expression "sVar2 = strlen(pcVar1)" (identifier "sVar2") (= "=") (call_expression "strlen(pcVar1)" (identifier "strlen") (argument_list "(pcVar1)" (( "(") (identifier "pcVar1") () ")")))) (; ";")) (expression_statement "*param_2 = 0x2f;" (assignment_expression "*param_2 = 0x2f" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (number_literal "0x2f")) (; ";")) (expression_statement "memcpy(param_2 + 1,pcVar1,sVar2);" (call_expression "memcpy(param_2 + 1,pcVar1,sVar2)" (identifier "memcpy") (argument_list "(param_2 + 1,pcVar1,sVar2)" (( "(") (binary_expression "param_2 + 1" (identifier "param_2") (+ "+") (number_literal "1")) (, ",") (identifier "pcVar1") (, ",") (identifier "sVar2") () ")"))) (; ";")) (expression_statement "param_2 = param_2 + 1 + sVar2;" (assignment_expression "param_2 = param_2 + 1 + sVar2" (identifier "param_2") (= "=") (binary_expression "param_2 + 1 + sVar2" (binary_expression "param_2 + 1" (identifier "param_2") (+ "+") (number_literal "1")) (+ "+") (identifier "sVar2"))) (; ";")) (} "}"))) (expression_statement "pcVar1 = *(char **)(param_1 + 0x14);" (assignment_expression "pcVar1 = *(char **)(param_1 + 0x14)" (identifier "pcVar1") (= "=") (pointer_expression "*(char **)(param_1 + 0x14)" (* "*") (cast_expression "(char **)(param_1 + 0x14)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x14)" (( "(") (binary_expression "param_1 + 0x14" (identifier "param_1") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (if_statement "if (pcVar1 != (char *)0x0) {\n    sVar2 = strlen(pcVar1);\n    *param_2 = 0x3b;\n    memcpy(param_2 + 1,pcVar1,sVar2);\n    param_2 = param_2 + 1 + sVar2;\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    sVar2 = strlen(pcVar1);\n    *param_2 = 0x3b;\n    memcpy(param_2 + 1,pcVar1,sVar2);\n    param_2 = param_2 + 1 + sVar2;\n  }" ({ "{") (expression_statement "sVar2 = strlen(pcVar1);" (assignment_expression "sVar2 = strlen(pcVar1)" (identifier "sVar2") (= "=") (call_expression "strlen(pcVar1)" (identifier "strlen") (argument_list "(pcVar1)" (( "(") (identifier "pcVar1") () ")")))) (; ";")) (expression_statement "*param_2 = 0x3b;" (assignment_expression "*param_2 = 0x3b" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (number_literal "0x3b")) (; ";")) (expression_statement "memcpy(param_2 + 1,pcVar1,sVar2);" (call_expression "memcpy(param_2 + 1,pcVar1,sVar2)" (identifier "memcpy") (argument_list "(param_2 + 1,pcVar1,sVar2)" (( "(") (binary_expression "param_2 + 1" (identifier "param_2") (+ "+") (number_literal "1")) (, ",") (identifier "pcVar1") (, ",") (identifier "sVar2") () ")"))) (; ";")) (expression_statement "param_2 = param_2 + 1 + sVar2;" (assignment_expression "param_2 = param_2 + 1 + sVar2" (identifier "param_2") (= "=") (binary_expression "param_2 + 1 + sVar2" (binary_expression "param_2 + 1" (identifier "param_2") (+ "+") (number_literal "1")) (+ "+") (identifier "sVar2"))) (; ";")) (} "}"))) (expression_statement "pcVar1 = *(char **)(param_1 + 0x18);" (assignment_expression "pcVar1 = *(char **)(param_1 + 0x18)" (identifier "pcVar1") (= "=") (pointer_expression "*(char **)(param_1 + 0x18)" (* "*") (cast_expression "(char **)(param_1 + 0x18)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x18)" (( "(") (binary_expression "param_1 + 0x18" (identifier "param_1") (+ "+") (number_literal "0x18")) () ")"))))) (; ";")) (if_statement "if (pcVar1 != (char *)0x0) {\n    sVar2 = strlen(pcVar1);\n    *param_2 = 0x3f;\n    memcpy(param_2 + 1,pcVar1,sVar2);\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    sVar2 = strlen(pcVar1);\n    *param_2 = 0x3f;\n    memcpy(param_2 + 1,pcVar1,sVar2);\n  }" ({ "{") (expression_statement "sVar2 = strlen(pcVar1);" (assignment_expression "sVar2 = strlen(pcVar1)" (identifier "sVar2") (= "=") (call_expression "strlen(pcVar1)" (identifier "strlen") (argument_list "(pcVar1)" (( "(") (identifier "pcVar1") () ")")))) (; ";")) (expression_statement "*param_2 = 0x3f;" (assignment_expression "*param_2 = 0x3f" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (number_literal "0x3f")) (; ";")) (expression_statement "memcpy(param_2 + 1,pcVar1,sVar2);" (call_expression "memcpy(param_2 + 1,pcVar1,sVar2)" (identifier "memcpy") (argument_list "(param_2 + 1,pcVar1,sVar2)" (( "(") (binary_expression "param_2 + 1" (identifier "param_2") (+ "+") (number_literal "1")) (, ",") (identifier "pcVar1") (, ",") (identifier "sVar2") () ")"))) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

void __regparm3 function_1(type_1 *type_1,char *var_4)

{
  char *var_1;
  size_t var_5;
  
  var_1 = type_1->path;
  if (var_1 != (char *)0x0) {
    var_5 = var_2(var_1);
    *var_4 = '/';
    var_3(var_4 + 1,var_1,var_5);
    var_4 = var_4 + 1 + var_5;
  }
  var_1 = type_1->params;
  if (var_1 != (char *)0x0) {
    var_5 = var_2(var_1);
    *var_4 = ';';
    var_3(var_4 + 1,var_1,var_5);
    var_4 = var_4 + 1 + var_5;
  }
  var_1 = type_1->query;
  if (var_1 != (char *)0x0) {
    var_5 = var_2(var_1);
    *var_4 = '?';
    var_3(var_4 + 1,var_1,var_5);
  }
  return;
}


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

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

void __regparm3 MASKED(int param_1,undefined1 *param_2)

{
  char *pcVar1;
  size_t sVar2;
  
  pcVar1 = *(char **)(param_1 + 0x10);
  if (pcVar1 != (char *)0x0) {
    sVar2 = strlen(pcVar1);
    *param_2 = 0x2f;
    memcpy(param_2 + 1,pcVar1,sVar2);
    param_2 = param_2 + 1 + sVar2;
  }
  pcVar1 = *(char **)(param_1 + 0x14);
  if (pcVar1 != (char *)0x0) {
    sVar2 = strlen(pcVar1);
    *param_2 = 0x3b;
    memcpy(param_2 + 1,pcVar1,sVar2);
    param_2 = param_2 + 1 + sVar2;
  }
  pcVar1 = *(char **)(param_1 + 0x18);
  if (pcVar1 != (char *)0x0) {
    sVar2 = strlen(pcVar1);
    *param_2 = 0x3f;
    memcpy(param_2 + 1,pcVar1,sVar2);
  }
  return;
}

