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

char * concat_copy2(char *first,...)

{
  size_t __n;
  int *piVar1;
  char *__dest;
  
  __dest = libiberty_concat_ptr;
  if (first != (char *)0x0) {
    piVar1 = (int *)&stack0x00000008;
    do {
      __n = strlen(first);
      memcpy(__dest,first,__n);
      first = (char *)*piVar1;
      __dest = __dest + __n;
      piVar1 = piVar1 + 1;
    } while (first != (char *)0x0);
  }
  *__dest = '\0';
  return libiberty_concat_ptr;
}



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

undefined1 * FUN_00068500(char *param_1)

{
  size_t __n;
  int *piVar1;
  undefined1 *__dest;
  
  __dest = DAT_000b9de0;
  if (param_1 != (char *)0x0) {
    piVar1 = (int *)&stack0x00000008;
    do {
      __n = strlen(param_1);
      memcpy(__dest,param_1,__n);
      param_1 = (char *)*piVar1;
      __dest = __dest + __n;
      piVar1 = piVar1 + 1;
    } while (param_1 != (char *)0x0);
  }
  *__dest = 0;
  return DAT_000b9de0;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00013f70
ADD EBX,0x4baf7
SUB ESP,0x1c
MOV ESI,dword ptr [ESP + 0x30]
LEA EDX,[EBX + 0x5de0]
MOV EDI,dword ptr [EDX]
TEST ESI,ESI
JZ 0x00068563
LEA EBP,[ESP + 0x34]
LEA ESI,[ESI]
LEA ESI,[ESI]
MOV dword ptr [ESP + 0xc],EDX
SUB ESP,0xc
ADD EBP,0x4
PUSH ESI
CALL 0x00013260
ADD ESP,0xc
PUSH EAX
MOV dword ptr [ESP + 0x10],EAX
PUSH ESI
PUSH EDI
CALL 0x000130c0
MOV ECX,dword ptr [ESP + 0x18]
MOV ESI,dword ptr [EBP + -0x4]
ADD ESP,0x10
MOV EDX,dword ptr [ESP + 0xc]
ADD EDI,ECX
TEST ESI,ESI
JNZ 0x00068530
MOV byte ptr [EDI],0x0
MOV EAX,dword ptr [EDX]
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\nundefined1 * FUN_00068500(char *param_1)\n\n{\n  size_t __n;\n  int *piVar1;\n  undefined1 *__dest;\n  \n  __dest = DAT_000b9de0;\n  if (param_1 != (char *)0x0) {\n    piVar1 = (int *)&stack0x00000008;\n    do {\n      __n = strlen(param_1);\n      memcpy(__dest,param_1,__n);\n      param_1 = (char *)*piVar1;\n      __dest = __dest + __n;\n      piVar1 = piVar1 + 1;\n    } while (param_1 != (char *)0x0);\n  }\n  *__dest = 0;\n  return DAT_000b9de0;\n}\n\n" comment (function_definition "undefined1 * FUN_00068500(char *param_1)\n\n{\n  size_t __n;\n  int *piVar1;\n  undefined1 *__dest;\n  \n  __dest = DAT_000b9de0;\n  if (param_1 != (char *)0x0) {\n    piVar1 = (int *)&stack0x00000008;\n    do {\n      __n = strlen(param_1);\n      memcpy(__dest,param_1,__n);\n      param_1 = (char *)*piVar1;\n      __dest = __dest + __n;\n      piVar1 = piVar1 + 1;\n    } while (param_1 != (char *)0x0);\n  }\n  *__dest = 0;\n  return DAT_000b9de0;\n}" type_identifier (pointer_declarator "* FUN_00068500(char *param_1)" * (function_declarator "FUN_00068500(char *param_1)" identifier (parameter_list "(char *param_1)" ( (parameter_declaration "char *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) )))) (compound_statement "{\n  size_t __n;\n  int *piVar1;\n  undefined1 *__dest;\n  \n  __dest = DAT_000b9de0;\n  if (param_1 != (char *)0x0) {\n    piVar1 = (int *)&stack0x00000008;\n    do {\n      __n = strlen(param_1);\n      memcpy(__dest,param_1,__n);\n      param_1 = (char *)*piVar1;\n      __dest = __dest + __n;\n      piVar1 = piVar1 + 1;\n    } while (param_1 != (char *)0x0);\n  }\n  *__dest = 0;\n  return DAT_000b9de0;\n}" { (declaration "size_t __n;" primitive_type identifier ;) (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "undefined1 *__dest;" type_identifier (pointer_declarator "*__dest" * identifier) ;) (expression_statement "__dest = DAT_000b9de0;" (assignment_expression "__dest = DAT_000b9de0" identifier = identifier) ;) (if_statement "if (param_1 != (char *)0x0) {\n    piVar1 = (int *)&stack0x00000008;\n    do {\n      __n = strlen(param_1);\n      memcpy(__dest,param_1,__n);\n      param_1 = (char *)*piVar1;\n      __dest = __dest + __n;\n      piVar1 = piVar1 + 1;\n    } while (param_1 != (char *)0x0);\n  }" if (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)) )) (compound_statement "{\n    piVar1 = (int *)&stack0x00000008;\n    do {\n      __n = strlen(param_1);\n      memcpy(__dest,param_1,__n);\n      param_1 = (char *)*piVar1;\n      __dest = __dest + __n;\n      piVar1 = piVar1 + 1;\n    } while (param_1 != (char *)0x0);\n  }" { (expression_statement "piVar1 = (int *)&stack0x00000008;" (assignment_expression "piVar1 = (int *)&stack0x00000008" identifier = (cast_expression "(int *)&stack0x00000008" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "&stack0x00000008" & identifier))) ;) (do_statement "do {\n      __n = strlen(param_1);\n      memcpy(__dest,param_1,__n);\n      param_1 = (char *)*piVar1;\n      __dest = __dest + __n;\n      piVar1 = piVar1 + 1;\n    } while (param_1 != (char *)0x0);" do (compound_statement "{\n      __n = strlen(param_1);\n      memcpy(__dest,param_1,__n);\n      param_1 = (char *)*piVar1;\n      __dest = __dest + __n;\n      piVar1 = piVar1 + 1;\n    }" { (expression_statement "__n = strlen(param_1);" (assignment_expression "__n = strlen(param_1)" identifier = (call_expression "strlen(param_1)" identifier (argument_list "(param_1)" ( identifier )))) ;) (expression_statement "memcpy(__dest,param_1,__n);" (call_expression "memcpy(__dest,param_1,__n)" identifier (argument_list "(__dest,param_1,__n)" ( identifier , identifier , identifier ))) ;) (expression_statement "param_1 = (char *)*piVar1;" (assignment_expression "param_1 = (char *)*piVar1" identifier = (cast_expression "(char *)*piVar1" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar1" * identifier))) ;) (expression_statement "__dest = __dest + __n;" (assignment_expression "__dest = __dest + __n" identifier = (binary_expression "__dest + __n" identifier + identifier)) ;) (expression_statement "piVar1 = piVar1 + 1;" (assignment_expression "piVar1 = piVar1 + 1" identifier = (binary_expression "piVar1 + 1" identifier + number_literal)) ;) }) while (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)) )) ;) })) (expression_statement "*__dest = 0;" (assignment_expression "*__dest = 0" (pointer_expression "*__dest" * identifier) = number_literal) ;) (return_statement "return DAT_000b9de0;" 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 * concat_copy2(char *first,...)\n\n{\n  size_t __n;\n  int *piVar1;\n  char *__dest;\n  \n  __dest = libiberty_concat_ptr;\n  if (first != (char *)0x0) {\n    piVar1 = (int *)&stack0x00000008;\n    do {\n      __n = strlen(first);\n      memcpy(__dest,first,__n);\n      first = (char *)*piVar1;\n      __dest = __dest + __n;\n      piVar1 = piVar1 + 1;\n    } while (first != (char *)0x0);\n  }\n  *__dest = '\0';\n  return libiberty_concat_ptr;\n}\n\n" comment comment (function_definition "char * concat_copy2(char *first,...)\n\n{\n  size_t __n;\n  int *piVar1;\n  char *__dest;\n  \n  __dest = libiberty_concat_ptr;\n  if (first != (char *)0x0) {\n    piVar1 = (int *)&stack0x00000008;\n    do {\n      __n = strlen(first);\n      memcpy(__dest,first,__n);\n      first = (char *)*piVar1;\n      __dest = __dest + __n;\n      piVar1 = piVar1 + 1;\n    } while (first != (char *)0x0);\n  }\n  *__dest = '\0';\n  return libiberty_concat_ptr;\n}" primitive_type (pointer_declarator "* concat_copy2(char *first,...)" * (function_declarator "concat_copy2(char *first,...)" identifier (parameter_list "(char *first,...)" ( (parameter_declaration "char *first" primitive_type (pointer_declarator "*first" * identifier)) , (variadic_parameter "..." ...) )))) (compound_statement "{\n  size_t __n;\n  int *piVar1;\n  char *__dest;\n  \n  __dest = libiberty_concat_ptr;\n  if (first != (char *)0x0) {\n    piVar1 = (int *)&stack0x00000008;\n    do {\n      __n = strlen(first);\n      memcpy(__dest,first,__n);\n      first = (char *)*piVar1;\n      __dest = __dest + __n;\n      piVar1 = piVar1 + 1;\n    } while (first != (char *)0x0);\n  }\n  *__dest = '\0';\n  return libiberty_concat_ptr;\n}" { (declaration "size_t __n;" primitive_type identifier ;) (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "char *__dest;" primitive_type (pointer_declarator "*__dest" * identifier) ;) (expression_statement "__dest = libiberty_concat_ptr;" (assignment_expression "__dest = libiberty_concat_ptr" identifier = identifier) ;) (if_statement "if (first != (char *)0x0) {\n    piVar1 = (int *)&stack0x00000008;\n    do {\n      __n = strlen(first);\n      memcpy(__dest,first,__n);\n      first = (char *)*piVar1;\n      __dest = __dest + __n;\n      piVar1 = piVar1 + 1;\n    } while (first != (char *)0x0);\n  }" if (parenthesized_expression "(first != (char *)0x0)" ( (binary_expression "first != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    piVar1 = (int *)&stack0x00000008;\n    do {\n      __n = strlen(first);\n      memcpy(__dest,first,__n);\n      first = (char *)*piVar1;\n      __dest = __dest + __n;\n      piVar1 = piVar1 + 1;\n    } while (first != (char *)0x0);\n  }" { (expression_statement "piVar1 = (int *)&stack0x00000008;" (assignment_expression "piVar1 = (int *)&stack0x00000008" identifier = (cast_expression "(int *)&stack0x00000008" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "&stack0x00000008" & identifier))) ;) (do_statement "do {\n      __n = strlen(first);\n      memcpy(__dest,first,__n);\n      first = (char *)*piVar1;\n      __dest = __dest + __n;\n      piVar1 = piVar1 + 1;\n    } while (first != (char *)0x0);" do (compound_statement "{\n      __n = strlen(first);\n      memcpy(__dest,first,__n);\n      first = (char *)*piVar1;\n      __dest = __dest + __n;\n      piVar1 = piVar1 + 1;\n    }" { (expression_statement "__n = strlen(first);" (assignment_expression "__n = strlen(first)" identifier = (call_expression "strlen(first)" identifier (argument_list "(first)" ( identifier )))) ;) (expression_statement "memcpy(__dest,first,__n);" (call_expression "memcpy(__dest,first,__n)" identifier (argument_list "(__dest,first,__n)" ( identifier , identifier , identifier ))) ;) (expression_statement "first = (char *)*piVar1;" (assignment_expression "first = (char *)*piVar1" identifier = (cast_expression "(char *)*piVar1" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar1" * identifier))) ;) (expression_statement "__dest = __dest + __n;" (assignment_expression "__dest = __dest + __n" identifier = (binary_expression "__dest + __n" identifier + identifier)) ;) (expression_statement "piVar1 = piVar1 + 1;" (assignment_expression "piVar1 = piVar1 + 1" identifier = (binary_expression "piVar1 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(first != (char *)0x0)" ( (binary_expression "first != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) })) (expression_statement "*__dest = '\0';" (assignment_expression "*__dest = '\0'" (pointer_expression "*__dest" * identifier) = (char_literal "'\0'" ' escape_sequence ')) ;) (return_statement "return libiberty_concat_ptr;" return identifier ;) })))
(translation_unit "undefined1 * FUN_00068500(char *param_1)\n\n{\n  size_t __n;\n  int *piVar1;\n  undefined1 *__dest;\n  \n  __dest = DAT_000b9de0;\n  if (param_1 != (char *)0x0) {\n    piVar1 = (int *)&stack0x00000008;\n    do {\n      __n = strlen(param_1);\n      memcpy(__dest,param_1,__n);\n      param_1 = (char *)*piVar1;\n      __dest = __dest + __n;\n      piVar1 = piVar1 + 1;\n    } while (param_1 != (char *)0x0);\n  }\n  *__dest = 0;\n  return DAT_000b9de0;\n}\n\n" (function_definition "undefined1 * FUN_00068500(char *param_1)\n\n{\n  size_t __n;\n  int *piVar1;\n  undefined1 *__dest;\n  \n  __dest = DAT_000b9de0;\n  if (param_1 != (char *)0x0) {\n    piVar1 = (int *)&stack0x00000008;\n    do {\n      __n = strlen(param_1);\n      memcpy(__dest,param_1,__n);\n      param_1 = (char *)*piVar1;\n      __dest = __dest + __n;\n      piVar1 = piVar1 + 1;\n    } while (param_1 != (char *)0x0);\n  }\n  *__dest = 0;\n  return DAT_000b9de0;\n}" type_identifier (pointer_declarator "* FUN_00068500(char *param_1)" * (function_declarator "FUN_00068500(char *param_1)" identifier (parameter_list "(char *param_1)" ( (parameter_declaration "char *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) )))) (compound_statement "{\n  size_t __n;\n  int *piVar1;\n  undefined1 *__dest;\n  \n  __dest = DAT_000b9de0;\n  if (param_1 != (char *)0x0) {\n    piVar1 = (int *)&stack0x00000008;\n    do {\n      __n = strlen(param_1);\n      memcpy(__dest,param_1,__n);\n      param_1 = (char *)*piVar1;\n      __dest = __dest + __n;\n      piVar1 = piVar1 + 1;\n    } while (param_1 != (char *)0x0);\n  }\n  *__dest = 0;\n  return DAT_000b9de0;\n}" { (declaration "size_t __n;" primitive_type identifier ;) (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "undefined1 *__dest;" type_identifier (pointer_declarator "*__dest" * identifier) ;) (expression_statement "__dest = DAT_000b9de0;" (assignment_expression "__dest = DAT_000b9de0" identifier = identifier) ;) (if_statement "if (param_1 != (char *)0x0) {\n    piVar1 = (int *)&stack0x00000008;\n    do {\n      __n = strlen(param_1);\n      memcpy(__dest,param_1,__n);\n      param_1 = (char *)*piVar1;\n      __dest = __dest + __n;\n      piVar1 = piVar1 + 1;\n    } while (param_1 != (char *)0x0);\n  }" if (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)) )) (compound_statement "{\n    piVar1 = (int *)&stack0x00000008;\n    do {\n      __n = strlen(param_1);\n      memcpy(__dest,param_1,__n);\n      param_1 = (char *)*piVar1;\n      __dest = __dest + __n;\n      piVar1 = piVar1 + 1;\n    } while (param_1 != (char *)0x0);\n  }" { (expression_statement "piVar1 = (int *)&stack0x00000008;" (assignment_expression "piVar1 = (int *)&stack0x00000008" identifier = (cast_expression "(int *)&stack0x00000008" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "&stack0x00000008" & identifier))) ;) (do_statement "do {\n      __n = strlen(param_1);\n      memcpy(__dest,param_1,__n);\n      param_1 = (char *)*piVar1;\n      __dest = __dest + __n;\n      piVar1 = piVar1 + 1;\n    } while (param_1 != (char *)0x0);" do (compound_statement "{\n      __n = strlen(param_1);\n      memcpy(__dest,param_1,__n);\n      param_1 = (char *)*piVar1;\n      __dest = __dest + __n;\n      piVar1 = piVar1 + 1;\n    }" { (expression_statement "__n = strlen(param_1);" (assignment_expression "__n = strlen(param_1)" identifier = (call_expression "strlen(param_1)" identifier (argument_list "(param_1)" ( identifier )))) ;) (expression_statement "memcpy(__dest,param_1,__n);" (call_expression "memcpy(__dest,param_1,__n)" identifier (argument_list "(__dest,param_1,__n)" ( identifier , identifier , identifier ))) ;) (expression_statement "param_1 = (char *)*piVar1;" (assignment_expression "param_1 = (char *)*piVar1" identifier = (cast_expression "(char *)*piVar1" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar1" * identifier))) ;) (expression_statement "__dest = __dest + __n;" (assignment_expression "__dest = __dest + __n" identifier = (binary_expression "__dest + __n" identifier + identifier)) ;) (expression_statement "piVar1 = piVar1 + 1;" (assignment_expression "piVar1 = piVar1 + 1" identifier = (binary_expression "piVar1 + 1" identifier + number_literal)) ;) }) while (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)) )) ;) })) (expression_statement "*__dest = 0;" (assignment_expression "*__dest = 0" (pointer_expression "*__dest" * identifier) = number_literal) ;) (return_statement "return DAT_000b9de0;" return identifier ;) })))
(translation_unit (function_definition TYPE (pointer_declarator * (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) )))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression & IDENT))) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) ;) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (return_statement return IDENT ;) })))
(function_definition "undefined1 * FUN_00068500(char *param_1)\n\n{\n  size_t __n;\n  int *piVar1;\n  undefined1 *__dest;\n  \n  __dest = DAT_000b9de0;\n  if (param_1 != (char *)0x0) {\n    piVar1 = (int *)&stack0x00000008;\n    do {\n      __n = strlen(param_1);\n      memcpy(__dest,param_1,__n);\n      param_1 = (char *)*piVar1;\n      __dest = __dest + __n;\n      piVar1 = piVar1 + 1;\n    } while (param_1 != (char *)0x0);\n  }\n  *__dest = 0;\n  return DAT_000b9de0;\n}" (type_identifier "undefined1") (pointer_declarator "* FUN_00068500(char *param_1)" (* "*") (function_declarator "FUN_00068500(char *param_1)" (identifier "FUN_00068500") (parameter_list "(char *param_1)" (( "(") (parameter_declaration "char *param_1" (primitive_type "char") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")")))) (compound_statement "{\n  size_t __n;\n  int *piVar1;\n  undefined1 *__dest;\n  \n  __dest = DAT_000b9de0;\n  if (param_1 != (char *)0x0) {\n    piVar1 = (int *)&stack0x00000008;\n    do {\n      __n = strlen(param_1);\n      memcpy(__dest,param_1,__n);\n      param_1 = (char *)*piVar1;\n      __dest = __dest + __n;\n      piVar1 = piVar1 + 1;\n    } while (param_1 != (char *)0x0);\n  }\n  *__dest = 0;\n  return DAT_000b9de0;\n}" ({ "{") (declaration "size_t __n;" (primitive_type "size_t") (identifier "__n") (; ";")) (declaration "int *piVar1;" (primitive_type "int") (pointer_declarator "*piVar1" (* "*") (identifier "piVar1")) (; ";")) (declaration "undefined1 *__dest;" (type_identifier "undefined1") (pointer_declarator "*__dest" (* "*") (identifier "__dest")) (; ";")) (expression_statement "__dest = DAT_000b9de0;" (assignment_expression "__dest = DAT_000b9de0" (identifier "__dest") (= "=") (identifier "DAT_000b9de0")) (; ";")) (if_statement "if (param_1 != (char *)0x0) {\n    piVar1 = (int *)&stack0x00000008;\n    do {\n      __n = strlen(param_1);\n      memcpy(__dest,param_1,__n);\n      param_1 = (char *)*piVar1;\n      __dest = __dest + __n;\n      piVar1 = piVar1 + 1;\n    } while (param_1 != (char *)0x0);\n  }" (if "if") (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"))) () ")")) (compound_statement "{\n    piVar1 = (int *)&stack0x00000008;\n    do {\n      __n = strlen(param_1);\n      memcpy(__dest,param_1,__n);\n      param_1 = (char *)*piVar1;\n      __dest = __dest + __n;\n      piVar1 = piVar1 + 1;\n    } while (param_1 != (char *)0x0);\n  }" ({ "{") (expression_statement "piVar1 = (int *)&stack0x00000008;" (assignment_expression "piVar1 = (int *)&stack0x00000008" (identifier "piVar1") (= "=") (cast_expression "(int *)&stack0x00000008" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "&stack0x00000008" (& "&") (identifier "stack0x00000008")))) (; ";")) (do_statement "do {\n      __n = strlen(param_1);\n      memcpy(__dest,param_1,__n);\n      param_1 = (char *)*piVar1;\n      __dest = __dest + __n;\n      piVar1 = piVar1 + 1;\n    } while (param_1 != (char *)0x0);" (do "do") (compound_statement "{\n      __n = strlen(param_1);\n      memcpy(__dest,param_1,__n);\n      param_1 = (char *)*piVar1;\n      __dest = __dest + __n;\n      piVar1 = piVar1 + 1;\n    }" ({ "{") (expression_statement "__n = strlen(param_1);" (assignment_expression "__n = strlen(param_1)" (identifier "__n") (= "=") (call_expression "strlen(param_1)" (identifier "strlen") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")")))) (; ";")) (expression_statement "memcpy(__dest,param_1,__n);" (call_expression "memcpy(__dest,param_1,__n)" (identifier "memcpy") (argument_list "(__dest,param_1,__n)" (( "(") (identifier "__dest") (, ",") (identifier "param_1") (, ",") (identifier "__n") () ")"))) (; ";")) (expression_statement "param_1 = (char *)*piVar1;" (assignment_expression "param_1 = (char *)*piVar1" (identifier "param_1") (= "=") (cast_expression "(char *)*piVar1" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*piVar1" (* "*") (identifier "piVar1")))) (; ";")) (expression_statement "__dest = __dest + __n;" (assignment_expression "__dest = __dest + __n" (identifier "__dest") (= "=") (binary_expression "__dest + __n" (identifier "__dest") (+ "+") (identifier "__n"))) (; ";")) (expression_statement "piVar1 = piVar1 + 1;" (assignment_expression "piVar1 = piVar1 + 1" (identifier "piVar1") (= "=") (binary_expression "piVar1 + 1" (identifier "piVar1") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (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"))) () ")")) (; ";")) (} "}"))) (expression_statement "*__dest = 0;" (assignment_expression "*__dest = 0" (pointer_expression "*__dest" (* "*") (identifier "__dest")) (= "=") (number_literal "0")) (; ";")) (return_statement "return DAT_000b9de0;" (return "return") (identifier "DAT_000b9de0") (; ";")) (} "}")))

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

char * function_1(char *var_1,...)

{
  size_t var_5;
  int *var_6;
  char *var_4;
  
  var_4 = libiberty_concat_ptr;
  if (var_1 != (char *)0x0) {
    var_6 = (int *)&stack0x00000008;
    do {
      var_5 = var_2(var_1);
      var_3(var_4,var_1,var_5);
      var_1 = (char *)*var_6;
      var_4 = var_4 + var_5;
      var_6 = var_6 + 1;
    } while (var_1 != (char *)0x0);
  }
  *var_4 = '\0';
  return libiberty_concat_ptr;
}


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

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

undefined1 * MASKED(char *param_1)

{
  size_t __n;
  int *piVar1;
  undefined1 *__dest;
  
  __dest = DAT_000b9de0;
  if (param_1 != (char *)0x0) {
    piVar1 = (int *)&stack0x00000008;
    do {
      __n = strlen(param_1);
      memcpy(__dest,param_1,__n);
      param_1 = (char *)*piVar1;
      __dest = __dest + __n;
      piVar1 = piVar1 + 1;
    } while (param_1 != (char *)0x0);
  }
  *__dest = 0;
  return DAT_000b9de0;
}

