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

char * obj_elf_section_name(void)

{
  char cVar1;
  char *pcVar2;
  void *__dest;
  size_t sVar3;
  char *__dest_00;
  char *__dest_01;
  char *pcVar4;
  char *pcVar5;
  size_t sVar6;
  int dummy;
  undefined4 uStack_14;
  
  uStack_14 = 0x4aec9;
  cVar1 = *input_line_pointer;
  if (cVar1 == ' ') {
    cVar1 = input_line_pointer[1];
    input_line_pointer = input_line_pointer + 1;
  }
  pcVar4 = input_line_pointer;
  pcVar5 = input_line_pointer;
  if (cVar1 == '\"') {
    pcVar4 = demand_copy_C_string(&dummy);
    pcVar5 = input_line_pointer;
    if (pcVar4 == (char *)0x0) {
      ignore_rest_of_line();
      return (char *)0x0;
    }
  }
  else {
    while (pcVar2 = strchr("\n\t,; ",(int)cVar1), pcVar2 == (char *)0x0) {
      pcVar5 = pcVar5 + 1;
      cVar1 = *pcVar5;
    }
    if (pcVar5 == pcVar4) {
      pcVar4 = (char *)dcgettext(0,"missing name",5);
      as_bad(pcVar4);
      ignore_rest_of_line();
      return (char *)0x0;
    }
    sVar6 = (int)pcVar5 - (int)pcVar4;
    __dest = (void *)xmalloc(sVar6 + 1);
    *(undefined1 *)((int)__dest + sVar6) = 0;
    pcVar4 = (char *)memcpy(__dest,pcVar4,sVar6);
    while (((flag_sectname_subst != 0 && (pcVar2 = strchr(pcVar4,0x25), pcVar2 != (char *)0x0)) &&
           (pcVar2[1] == 'S'))) {
      sVar6 = strlen(pcVar4);
      sVar3 = strlen(now_seg->name);
      __dest_00 = (char *)xmalloc((sVar6 - 1) + sVar3);
      memcpy(__dest_00,pcVar4,(int)pcVar2 - (int)pcVar4);
      __dest_01 = stpcpy(__dest_00 + ((int)pcVar2 - (int)pcVar4),now_seg->name);
      strcpy(__dest_01,pcVar2 + 2);
      free(pcVar4);
      pcVar4 = __dest_00;
    }
  }
  input_line_pointer = pcVar5;
  if (*input_line_pointer == ' ') {
    input_line_pointer = input_line_pointer + 1;
  }
  return pcVar4;
}



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

char * FUN_0004aec0(void)

{
  char cVar1;
  char *pcVar2;
  void *__dest;
  size_t sVar3;
  char *__dest_00;
  char *__dest_01;
  char *pcVar4;
  undefined4 uVar5;
  char *pcVar6;
  size_t sVar7;
  undefined1 local_20 [12];
  undefined4 uStack_14;
  
  uStack_14 = 0x4aec9;
  cVar1 = *DAT_00077838;
  if (cVar1 == ' ') {
    cVar1 = DAT_00077838[1];
    DAT_00077838 = DAT_00077838 + 1;
  }
  pcVar4 = DAT_00077838;
  pcVar6 = DAT_00077838;
  if (cVar1 == '\"') {
    pcVar4 = (char *)FUN_000338a0(local_20);
    pcVar6 = DAT_00077838;
    if (pcVar4 == (char *)0x0) {
      FUN_0002dff0();
      return (char *)0x0;
    }
  }
  else {
    while (pcVar2 = strchr("\n\t,; ",(int)cVar1), pcVar2 == (char *)0x0) {
      pcVar6 = pcVar6 + 1;
      cVar1 = *pcVar6;
    }
    if (pcVar6 == pcVar4) {
      uVar5 = dcgettext(0,"missing name",5);
      FUN_0002bcf0(uVar5);
      FUN_0002dff0();
      return (char *)0x0;
    }
    sVar7 = (int)pcVar6 - (int)pcVar4;
    __dest = (void *)xmalloc(sVar7 + 1);
    *(undefined1 *)((int)__dest + sVar7) = 0;
    pcVar4 = (char *)memcpy(__dest,pcVar4,sVar7);
    while (((DAT_00077634 != 0 && (pcVar2 = strchr(pcVar4,0x25), pcVar2 != (char *)0x0)) &&
           (pcVar2[1] == 'S'))) {
      sVar7 = strlen(pcVar4);
      sVar3 = strlen((char *)*DAT_0007763c);
      __dest_00 = (char *)xmalloc((sVar7 - 1) + sVar3);
      memcpy(__dest_00,pcVar4,(int)pcVar2 - (int)pcVar4);
      __dest_01 = stpcpy(__dest_00 + ((int)pcVar2 - (int)pcVar4),(char *)*DAT_0007763c);
      strcpy(__dest_01,pcVar2 + 2);
      free(pcVar4);
      pcVar4 = __dest_00;
    }
  }
  DAT_00077838 = pcVar6;
  if (*DAT_00077838 == ' ') {
    DAT_00077838 = DAT_00077838 + 1;
  }
  return pcVar4;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00016040
ADD EBX,0x23137
SUB ESP,0x3c
LEA EAX,[EBX + 0x9838]
MOV EDI,dword ptr [EAX]
MOV dword ptr [ESP + 0x1c],EAX
MOVSX EAX,byte ptr [EDI]
CMP AL,0x20
JNZ 0x0004aef4
MOV EAX,dword ptr [ESP + 0x1c]
LEA EDX,[EDI + 0x1]
MOV dword ptr [EAX],EDX
MOVSX EAX,byte ptr [EDI + 0x1]
MOV EDI,EDX
MOV dword ptr [ESP + 0x18],EDI
LEA ESI,[EBX + 0xfffe9e94]
MOV EBP,dword ptr [ESP + 0x18]
CMP AL,0x22
JNZ 0x0004af17
JMP 0x0004b040
ADD EBP,0x1
MOVSX EAX,byte ptr [EBP]
SUB ESP,0x8
PUSH EAX
PUSH ESI
CALL 0x00014430
ADD ESP,0x10
TEST EAX,EAX
JZ 0x0004af10
MOV dword ptr [ESP + 0x18],EBP
CMP EBP,EDI
JZ 0x0004b062
MOV ESI,dword ptr [ESP + 0x18]
SUB ESP,0xc
SUB ESI,EDI
LEA EAX,[ESI + 0x1]
PUSH EAX
CALL 0x000147d0
ADD ESP,0xc
MOV byte ptr [EAX + ESI*0x1],0x0
PUSH ESI
PUSH EDI
PUSH EAX
CALL 0x000140f0
MOV EBP,EAX
LEA EAX,[EBX + 0x9634]
MOV EDI,dword ptr [EAX]
MOV dword ptr [ESP + 0x24],EAX
ADD ESP,0x10
TEST EDI,EDI
JZ 0x0004b015
LEA EAX,[EBX + 0x963c]
MOV dword ptr [ESP + 0xc],EAX
JMP 0x0004affd
CMP byte ptr [EAX + 0x1],0x53
JNZ 0x0004b015
SUB ESP,0xc
PUSH EBP
CALL 0x00014440
POP EDX
MOV EDI,EAX
MOV EAX,dword ptr [ESP + 0x18]
MOV EAX,dword ptr [EAX]
PUSH dword ptr [EAX]
CALL 0x00014440
LEA EAX,[EDI + EAX*0x1 + -0x1]
MOV dword ptr [ESP],EAX
CALL 0x000147d0
MOV EDX,ESI
ADD ESP,0xc
ADD ESI,0x2
SUB EDX,EBP
MOV EDI,EAX
PUSH EDX
MOV dword ptr [ESP + 0x18],EDX
PUSH EBP
PUSH EAX
CALL 0x000140f0
POP ECX
POP EAX
MOV EAX,dword ptr [ESP + 0x14]
MOV EAX,dword ptr [EAX]
PUSH dword ptr [EAX]
MOV EDX,dword ptr [ESP + 0x1c]
ADD EDX,EDI
PUSH EDX
CALL 0x000141b0
POP EDX
POP ECX
PUSH ESI
PUSH EAX
CALL 0x00014310
MOV dword ptr [ESP],EBP
MOV EBP,EDI
CALL 0x000147c0
ADD ESP,0x10
MOV EAX,dword ptr [ESP + 0x14]
MOV ESI,dword ptr [EAX]
TEST ESI,ESI
JZ 0x0004b015
SUB ESP,0x8
PUSH 0x25
PUSH EBP
CALL 0x00014430
ADD ESP,0x10
MOV ESI,EAX
TEST EAX,EAX
JNZ 0x0004af80
MOV EAX,dword ptr [ESP + 0x1c]
MOV ECX,dword ptr [ESP + 0x18]
MOV dword ptr [EAX],ECX
MOV EAX,dword ptr [ESP + 0x18]
CMP byte ptr [EAX],0x20
JNZ 0x0004b031
MOV ECX,dword ptr [ESP + 0x1c]
ADD EAX,0x1
MOV dword ptr [ECX],EAX
ADD ESP,0x3c
MOV EAX,EBP
POP EBX
POP ESI
POP EDI
POP EBP
RET
SUB ESP,0xc
LEA EAX,[ESP + 0x38]
PUSH EAX
CALL 0x000338a0
ADD ESP,0x10
MOV EBP,EAX
TEST EAX,EAX
JZ 0x0004b089
MOV EAX,dword ptr [ESP + 0x1c]
MOV EAX,dword ptr [EAX]
MOV dword ptr [ESP + 0x18],EAX
JMP 0x0004b01f
SUB ESP,0x4
LEA EAX,[EBX + 0xfffe9e9a]
XOR EBP,EBP
PUSH 0x5
PUSH EAX
PUSH 0x0
CALL 0x000141a0
MOV dword ptr [ESP],EAX
CALL 0x0002bcf0
CALL 0x0002dff0
ADD ESP,0x10
JMP 0x0004b031
CALL 0x0002dff0
JMP 0x0004b031
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nchar * FUN_0004aec0(void)\n\n{\n  char cVar1;\n  char *pcVar2;\n  void *__dest;\n  size_t sVar3;\n  char *__dest_00;\n  char *__dest_01;\n  char *pcVar4;\n  undefined4 uVar5;\n  char *pcVar6;\n  size_t sVar7;\n  undefined1 local_20 [12];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x4aec9;\n  cVar1 = *DAT_00077838;\n  if (cVar1 == ' ') {\n    cVar1 = DAT_00077838[1];\n    DAT_00077838 = DAT_00077838 + 1;\n  }\n  pcVar4 = DAT_00077838;\n  pcVar6 = DAT_00077838;\n  if (cVar1 == '\"') {\n    pcVar4 = (char *)FUN_000338a0(local_20);\n    pcVar6 = DAT_00077838;\n    if (pcVar4 == (char *)0x0) {\n      FUN_0002dff0();\n      return (char *)0x0;\n    }\n  }\n  else {\n    while (pcVar2 = strchr("\n\t,; ",(int)cVar1), pcVar2 == (char *)0x0) {\n      pcVar6 = pcVar6 + 1;\n      cVar1 = *pcVar6;\n    }\n    if (pcVar6 == pcVar4) {\n      uVar5 = dcgettext(0,"missing name",5);\n      FUN_0002bcf0(uVar5);\n      FUN_0002dff0();\n      return (char *)0x0;\n    }\n    sVar7 = (int)pcVar6 - (int)pcVar4;\n    __dest = (void *)xmalloc(sVar7 + 1);\n    *(undefined1 *)((int)__dest + sVar7) = 0;\n    pcVar4 = (char *)memcpy(__dest,pcVar4,sVar7);\n    while (((DAT_00077634 != 0 && (pcVar2 = strchr(pcVar4,0x25), pcVar2 != (char *)0x0)) &&\n           (pcVar2[1] == 'S'))) {\n      sVar7 = strlen(pcVar4);\n      sVar3 = strlen((char *)*DAT_0007763c);\n      __dest_00 = (char *)xmalloc((sVar7 - 1) + sVar3);\n      memcpy(__dest_00,pcVar4,(int)pcVar2 - (int)pcVar4);\n      __dest_01 = stpcpy(__dest_00 + ((int)pcVar2 - (int)pcVar4),(char *)*DAT_0007763c);\n      strcpy(__dest_01,pcVar2 + 2);\n      free(pcVar4);\n      pcVar4 = __dest_00;\n    }\n  }\n  DAT_00077838 = pcVar6;\n  if (*DAT_00077838 == ' ') {\n    DAT_00077838 = DAT_00077838 + 1;\n  }\n  return pcVar4;\n}\n\n" comment (function_definition "char * FUN_0004aec0(void)\n\n{\n  char cVar1;\n  char *pcVar2;\n  void *__dest;\n  size_t sVar3;\n  char *__dest_00;\n  char *__dest_01;\n  char *pcVar4;\n  undefined4 uVar5;\n  char *pcVar6;\n  size_t sVar7;\n  undefined1 local_20 [12];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x4aec9;\n  cVar1 = *DAT_00077838;\n  if (cVar1 == ' ') {\n    cVar1 = DAT_00077838[1];\n    DAT_00077838 = DAT_00077838 + 1;\n  }\n  pcVar4 = DAT_00077838;\n  pcVar6 = DAT_00077838;\n  if (cVar1 == '\"') {\n    pcVar4 = (char *)FUN_000338a0(local_20);\n    pcVar6 = DAT_00077838;\n    if (pcVar4 == (char *)0x0) {\n      FUN_0002dff0();\n      return (char *)0x0;\n    }\n  }\n  else {\n    while (pcVar2 = strchr("\n\t,; ",(int)cVar1), pcVar2 == (char *)0x0) {\n      pcVar6 = pcVar6 + 1;\n      cVar1 = *pcVar6;\n    }\n    if (pcVar6 == pcVar4) {\n      uVar5 = dcgettext(0,"missing name",5);\n      FUN_0002bcf0(uVar5);\n      FUN_0002dff0();\n      return (char *)0x0;\n    }\n    sVar7 = (int)pcVar6 - (int)pcVar4;\n    __dest = (void *)xmalloc(sVar7 + 1);\n    *(undefined1 *)((int)__dest + sVar7) = 0;\n    pcVar4 = (char *)memcpy(__dest,pcVar4,sVar7);\n    while (((DAT_00077634 != 0 && (pcVar2 = strchr(pcVar4,0x25), pcVar2 != (char *)0x0)) &&\n           (pcVar2[1] == 'S'))) {\n      sVar7 = strlen(pcVar4);\n      sVar3 = strlen((char *)*DAT_0007763c);\n      __dest_00 = (char *)xmalloc((sVar7 - 1) + sVar3);\n      memcpy(__dest_00,pcVar4,(int)pcVar2 - (int)pcVar4);\n      __dest_01 = stpcpy(__dest_00 + ((int)pcVar2 - (int)pcVar4),(char *)*DAT_0007763c);\n      strcpy(__dest_01,pcVar2 + 2);\n      free(pcVar4);\n      pcVar4 = __dest_00;\n    }\n  }\n  DAT_00077838 = pcVar6;\n  if (*DAT_00077838 == ' ') {\n    DAT_00077838 = DAT_00077838 + 1;\n  }\n  return pcVar4;\n}" primitive_type (pointer_declarator "* FUN_0004aec0(void)" * (function_declarator "FUN_0004aec0(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) )))) (compound_statement "{\n  char cVar1;\n  char *pcVar2;\n  void *__dest;\n  size_t sVar3;\n  char *__dest_00;\n  char *__dest_01;\n  char *pcVar4;\n  undefined4 uVar5;\n  char *pcVar6;\n  size_t sVar7;\n  undefined1 local_20 [12];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x4aec9;\n  cVar1 = *DAT_00077838;\n  if (cVar1 == ' ') {\n    cVar1 = DAT_00077838[1];\n    DAT_00077838 = DAT_00077838 + 1;\n  }\n  pcVar4 = DAT_00077838;\n  pcVar6 = DAT_00077838;\n  if (cVar1 == '\"') {\n    pcVar4 = (char *)FUN_000338a0(local_20);\n    pcVar6 = DAT_00077838;\n    if (pcVar4 == (char *)0x0) {\n      FUN_0002dff0();\n      return (char *)0x0;\n    }\n  }\n  else {\n    while (pcVar2 = strchr("\n\t,; ",(int)cVar1), pcVar2 == (char *)0x0) {\n      pcVar6 = pcVar6 + 1;\n      cVar1 = *pcVar6;\n    }\n    if (pcVar6 == pcVar4) {\n      uVar5 = dcgettext(0,"missing name",5);\n      FUN_0002bcf0(uVar5);\n      FUN_0002dff0();\n      return (char *)0x0;\n    }\n    sVar7 = (int)pcVar6 - (int)pcVar4;\n    __dest = (void *)xmalloc(sVar7 + 1);\n    *(undefined1 *)((int)__dest + sVar7) = 0;\n    pcVar4 = (char *)memcpy(__dest,pcVar4,sVar7);\n    while (((DAT_00077634 != 0 && (pcVar2 = strchr(pcVar4,0x25), pcVar2 != (char *)0x0)) &&\n           (pcVar2[1] == 'S'))) {\n      sVar7 = strlen(pcVar4);\n      sVar3 = strlen((char *)*DAT_0007763c);\n      __dest_00 = (char *)xmalloc((sVar7 - 1) + sVar3);\n      memcpy(__dest_00,pcVar4,(int)pcVar2 - (int)pcVar4);\n      __dest_01 = stpcpy(__dest_00 + ((int)pcVar2 - (int)pcVar4),(char *)*DAT_0007763c);\n      strcpy(__dest_01,pcVar2 + 2);\n      free(pcVar4);\n      pcVar4 = __dest_00;\n    }\n  }\n  DAT_00077838 = pcVar6;\n  if (*DAT_00077838 == ' ') {\n    DAT_00077838 = DAT_00077838 + 1;\n  }\n  return pcVar4;\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "char *pcVar2;" primitive_type (pointer_declarator "*pcVar2" * identifier) ;) (declaration "void *__dest;" primitive_type (pointer_declarator "*__dest" * identifier) ;) (declaration "size_t sVar3;" primitive_type identifier ;) (declaration "char *__dest_00;" primitive_type (pointer_declarator "*__dest_00" * identifier) ;) (declaration "char *__dest_01;" primitive_type (pointer_declarator "*__dest_01" * identifier) ;) (declaration "char *pcVar4;" primitive_type (pointer_declarator "*pcVar4" * identifier) ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "char *pcVar6;" primitive_type (pointer_declarator "*pcVar6" * identifier) ;) (declaration "size_t sVar7;" primitive_type identifier ;) (declaration "undefined1 local_20 [12];" type_identifier (array_declarator "local_20 [12]" identifier [ number_literal ]) ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x4aec9;" (assignment_expression "uStack_14 = 0x4aec9" identifier = number_literal) ;) (expression_statement "cVar1 = *DAT_00077838;" (assignment_expression "cVar1 = *DAT_00077838" identifier = (pointer_expression "*DAT_00077838" * identifier)) ;) (if_statement "if (cVar1 == ' ') {\n    cVar1 = DAT_00077838[1];\n    DAT_00077838 = DAT_00077838 + 1;\n  }" if (parenthesized_expression "(cVar1 == ' ')" ( (binary_expression "cVar1 == ' '" identifier == (char_literal "' '" ' character ')) )) (compound_statement "{\n    cVar1 = DAT_00077838[1];\n    DAT_00077838 = DAT_00077838 + 1;\n  }" { (expression_statement "cVar1 = DAT_00077838[1];" (assignment_expression "cVar1 = DAT_00077838[1]" identifier = (subscript_expression "DAT_00077838[1]" identifier [ number_literal ])) ;) (expression_statement "DAT_00077838 = DAT_00077838 + 1;" (assignment_expression "DAT_00077838 = DAT_00077838 + 1" identifier = (binary_expression "DAT_00077838 + 1" identifier + number_literal)) ;) })) (expression_statement "pcVar4 = DAT_00077838;" (assignment_expression "pcVar4 = DAT_00077838" identifier = identifier) ;) (expression_statement "pcVar6 = DAT_00077838;" (assignment_expression "pcVar6 = DAT_00077838" identifier = identifier) ;) (if_statement "if (cVar1 == '\"') {\n    pcVar4 = (char *)FUN_000338a0(local_20);\n    pcVar6 = DAT_00077838;\n    if (pcVar4 == (char *)0x0) {\n      FUN_0002dff0();\n      return (char *)0x0;\n    }\n  }\n  else {\n    while (pcVar2 = strchr("\n\t,; ",(int)cVar1), pcVar2 == (char *)0x0) {\n      pcVar6 = pcVar6 + 1;\n      cVar1 = *pcVar6;\n    }\n    if (pcVar6 == pcVar4) {\n      uVar5 = dcgettext(0,"missing name",5);\n      FUN_0002bcf0(uVar5);\n      FUN_0002dff0();\n      return (char *)0x0;\n    }\n    sVar7 = (int)pcVar6 - (int)pcVar4;\n    __dest = (void *)xmalloc(sVar7 + 1);\n    *(undefined1 *)((int)__dest + sVar7) = 0;\n    pcVar4 = (char *)memcpy(__dest,pcVar4,sVar7);\n    while (((DAT_00077634 != 0 && (pcVar2 = strchr(pcVar4,0x25), pcVar2 != (char *)0x0)) &&\n           (pcVar2[1] == 'S'))) {\n      sVar7 = strlen(pcVar4);\n      sVar3 = strlen((char *)*DAT_0007763c);\n      __dest_00 = (char *)xmalloc((sVar7 - 1) + sVar3);\n      memcpy(__dest_00,pcVar4,(int)pcVar2 - (int)pcVar4);\n      __dest_01 = stpcpy(__dest_00 + ((int)pcVar2 - (int)pcVar4),(char *)*DAT_0007763c);\n      strcpy(__dest_01,pcVar2 + 2);\n      free(pcVar4);\n      pcVar4 = __dest_00;\n    }\n  }" if (parenthesized_expression "(cVar1 == '\"')" ( (binary_expression "cVar1 == '\"'" identifier == (char_literal "'\"'" ' escape_sequence ')) )) (compound_statement "{\n    pcVar4 = (char *)FUN_000338a0(local_20);\n    pcVar6 = DAT_00077838;\n    if (pcVar4 == (char *)0x0) {\n      FUN_0002dff0();\n      return (char *)0x0;\n    }\n  }" { (expression_statement "pcVar4 = (char *)FUN_000338a0(local_20);" (assignment_expression "pcVar4 = (char *)FUN_000338a0(local_20)" identifier = (cast_expression "(char *)FUN_000338a0(local_20)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_000338a0(local_20)" identifier (argument_list "(local_20)" ( identifier ))))) ;) (expression_statement "pcVar6 = DAT_00077838;" (assignment_expression "pcVar6 = DAT_00077838" identifier = identifier) ;) (if_statement "if (pcVar4 == (char *)0x0) {\n      FUN_0002dff0();\n      return (char *)0x0;\n    }" if (parenthesized_expression "(pcVar4 == (char *)0x0)" ( (binary_expression "pcVar4 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      FUN_0002dff0();\n      return (char *)0x0;\n    }" { (expression_statement "FUN_0002dff0();" (call_expression "FUN_0002dff0()" identifier (argument_list "()" ( ))) ;) (return_statement "return (char *)0x0;" return (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) ;) })) }) (else_clause "else {\n    while (pcVar2 = strchr("\n\t,; ",(int)cVar1), pcVar2 == (char *)0x0) {\n      pcVar6 = pcVar6 + 1;\n      cVar1 = *pcVar6;\n    }\n    if (pcVar6 == pcVar4) {\n      uVar5 = dcgettext(0,"missing name",5);\n      FUN_0002bcf0(uVar5);\n      FUN_0002dff0();\n      return (char *)0x0;\n    }\n    sVar7 = (int)pcVar6 - (int)pcVar4;\n    __dest = (void *)xmalloc(sVar7 + 1);\n    *(undefined1 *)((int)__dest + sVar7) = 0;\n    pcVar4 = (char *)memcpy(__dest,pcVar4,sVar7);\n    while (((DAT_00077634 != 0 && (pcVar2 = strchr(pcVar4,0x25), pcVar2 != (char *)0x0)) &&\n           (pcVar2[1] == 'S'))) {\n      sVar7 = strlen(pcVar4);\n      sVar3 = strlen((char *)*DAT_0007763c);\n      __dest_00 = (char *)xmalloc((sVar7 - 1) + sVar3);\n      memcpy(__dest_00,pcVar4,(int)pcVar2 - (int)pcVar4);\n      __dest_01 = stpcpy(__dest_00 + ((int)pcVar2 - (int)pcVar4),(char *)*DAT_0007763c);\n      strcpy(__dest_01,pcVar2 + 2);\n      free(pcVar4);\n      pcVar4 = __dest_00;\n    }\n  }" else (compound_statement "{\n    while (pcVar2 = strchr("\n\t,; ",(int)cVar1), pcVar2 == (char *)0x0) {\n      pcVar6 = pcVar6 + 1;\n      cVar1 = *pcVar6;\n    }\n    if (pcVar6 == pcVar4) {\n      uVar5 = dcgettext(0,"missing name",5);\n      FUN_0002bcf0(uVar5);\n      FUN_0002dff0();\n      return (char *)0x0;\n    }\n    sVar7 = (int)pcVar6 - (int)pcVar4;\n    __dest = (void *)xmalloc(sVar7 + 1);\n    *(undefined1 *)((int)__dest + sVar7) = 0;\n    pcVar4 = (char *)memcpy(__dest,pcVar4,sVar7);\n    while (((DAT_00077634 != 0 && (pcVar2 = strchr(pcVar4,0x25), pcVar2 != (char *)0x0)) &&\n           (pcVar2[1] == 'S'))) {\n      sVar7 = strlen(pcVar4);\n      sVar3 = strlen((char *)*DAT_0007763c);\n      __dest_00 = (char *)xmalloc((sVar7 - 1) + sVar3);\n      memcpy(__dest_00,pcVar4,(int)pcVar2 - (int)pcVar4);\n      __dest_01 = stpcpy(__dest_00 + ((int)pcVar2 - (int)pcVar4),(char *)*DAT_0007763c);\n      strcpy(__dest_01,pcVar2 + 2);\n      free(pcVar4);\n      pcVar4 = __dest_00;\n    }\n  }" { (while_statement "while (pcVar2 = strchr("\n\t,; ",(int)cVar1), pcVar2 == (char *)0x0) {\n      pcVar6 = pcVar6 + 1;\n      cVar1 = *pcVar6;\n    }" while (parenthesized_expression "(pcVar2 = strchr("\n\t,; ",(int)cVar1), pcVar2 == (char *)0x0)" ( (comma_expression "pcVar2 = strchr("\n\t,; ",(int)cVar1), pcVar2 == (char *)0x0" (assignment_expression "pcVar2 = strchr("\n\t,; ",(int)cVar1)" identifier = (call_expression "strchr("\n\t,; ",(int)cVar1)" identifier (argument_list "("\n\t,; ",(int)cVar1)" ( (string_literal ""\n\t,; "" " escape_sequence escape_sequence string_content ") , (cast_expression "(int)cVar1" ( (type_descriptor "int" primitive_type) ) identifier) )))) , (binary_expression "pcVar2 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal))) )) (compound_statement "{\n      pcVar6 = pcVar6 + 1;\n      cVar1 = *pcVar6;\n    }" { (expression_statement "pcVar6 = pcVar6 + 1;" (assignment_expression "pcVar6 = pcVar6 + 1" identifier = (binary_expression "pcVar6 + 1" identifier + number_literal)) ;) (expression_statement "cVar1 = *pcVar6;" (assignment_expression "cVar1 = *pcVar6" identifier = (pointer_expression "*pcVar6" * identifier)) ;) })) (if_statement "if (pcVar6 == pcVar4) {\n      uVar5 = dcgettext(0,"missing name",5);\n      FUN_0002bcf0(uVar5);\n      FUN_0002dff0();\n      return (char *)0x0;\n    }" if (parenthesized_expression "(pcVar6 == pcVar4)" ( (binary_expression "pcVar6 == pcVar4" identifier == identifier) )) (compound_statement "{\n      uVar5 = dcgettext(0,"missing name",5);\n      FUN_0002bcf0(uVar5);\n      FUN_0002dff0();\n      return (char *)0x0;\n    }" { (expression_statement "uVar5 = dcgettext(0,"missing name",5);" (assignment_expression "uVar5 = dcgettext(0,"missing name",5)" identifier = (call_expression "dcgettext(0,"missing name",5)" identifier (argument_list "(0,"missing name",5)" ( number_literal , (string_literal ""missing name"" " string_content ") , number_literal )))) ;) (expression_statement "FUN_0002bcf0(uVar5);" (call_expression "FUN_0002bcf0(uVar5)" identifier (argument_list "(uVar5)" ( identifier ))) ;) (expression_statement "FUN_0002dff0();" (call_expression "FUN_0002dff0()" identifier (argument_list "()" ( ))) ;) (return_statement "return (char *)0x0;" return (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) ;) })) (expression_statement "sVar7 = (int)pcVar6 - (int)pcVar4;" (assignment_expression "sVar7 = (int)pcVar6 - (int)pcVar4" identifier = (binary_expression "(int)pcVar6 - (int)pcVar4" (cast_expression "(int)pcVar6" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)pcVar4" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (expression_statement "__dest = (void *)xmalloc(sVar7 + 1);" (assignment_expression "__dest = (void *)xmalloc(sVar7 + 1)" identifier = (cast_expression "(void *)xmalloc(sVar7 + 1)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(sVar7 + 1)" identifier (argument_list "(sVar7 + 1)" ( (binary_expression "sVar7 + 1" identifier + number_literal) ))))) ;) (expression_statement "*(undefined1 *)((int)__dest + sVar7) = 0;" (assignment_expression "*(undefined1 *)((int)__dest + sVar7) = 0" (pointer_expression "*(undefined1 *)((int)__dest + sVar7)" * (cast_expression "(undefined1 *)((int)__dest + sVar7)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)__dest + sVar7)" ( (binary_expression "(int)__dest + sVar7" (cast_expression "(int)__dest" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) = number_literal) ;) (expression_statement "pcVar4 = (char *)memcpy(__dest,pcVar4,sVar7);" (assignment_expression "pcVar4 = (char *)memcpy(__dest,pcVar4,sVar7)" identifier = (cast_expression "(char *)memcpy(__dest,pcVar4,sVar7)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "memcpy(__dest,pcVar4,sVar7)" identifier (argument_list "(__dest,pcVar4,sVar7)" ( identifier , identifier , identifier ))))) ;) (while_statement "while (((DAT_00077634 != 0 && (pcVar2 = strchr(pcVar4,0x25), pcVar2 != (char *)0x0)) &&\n           (pcVar2[1] == 'S'))) {\n      sVar7 = strlen(pcVar4);\n      sVar3 = strlen((char *)*DAT_0007763c);\n      __dest_00 = (char *)xmalloc((sVar7 - 1) + sVar3);\n      memcpy(__dest_00,pcVar4,(int)pcVar2 - (int)pcVar4);\n      __dest_01 = stpcpy(__dest_00 + ((int)pcVar2 - (int)pcVar4),(char *)*DAT_0007763c);\n      strcpy(__dest_01,pcVar2 + 2);\n      free(pcVar4);\n      pcVar4 = __dest_00;\n    }" while (parenthesized_expression "(((DAT_00077634 != 0 && (pcVar2 = strchr(pcVar4,0x25), pcVar2 != (char *)0x0)) &&\n           (pcVar2[1] == 'S')))" ( (parenthesized_expression "((DAT_00077634 != 0 && (pcVar2 = strchr(pcVar4,0x25), pcVar2 != (char *)0x0)) &&\n           (pcVar2[1] == 'S'))" ( (binary_expression "(DAT_00077634 != 0 && (pcVar2 = strchr(pcVar4,0x25), pcVar2 != (char *)0x0)) &&\n           (pcVar2[1] == 'S')" (parenthesized_expression "(DAT_00077634 != 0 && (pcVar2 = strchr(pcVar4,0x25), pcVar2 != (char *)0x0))" ( (binary_expression "DAT_00077634 != 0 && (pcVar2 = strchr(pcVar4,0x25), pcVar2 != (char *)0x0)" (binary_expression "DAT_00077634 != 0" identifier != number_literal) && (parenthesized_expression "(pcVar2 = strchr(pcVar4,0x25), pcVar2 != (char *)0x0)" ( (comma_expression "pcVar2 = strchr(pcVar4,0x25), pcVar2 != (char *)0x0" (assignment_expression "pcVar2 = strchr(pcVar4,0x25)" identifier = (call_expression "strchr(pcVar4,0x25)" identifier (argument_list "(pcVar4,0x25)" ( identifier , number_literal )))) , (binary_expression "pcVar2 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) && (parenthesized_expression "(pcVar2[1] == 'S')" ( (binary_expression "pcVar2[1] == 'S'" (subscript_expression "pcVar2[1]" identifier [ number_literal ]) == (char_literal "'S'" ' character ')) ))) )) )) (compound_statement "{\n      sVar7 = strlen(pcVar4);\n      sVar3 = strlen((char *)*DAT_0007763c);\n      __dest_00 = (char *)xmalloc((sVar7 - 1) + sVar3);\n      memcpy(__dest_00,pcVar4,(int)pcVar2 - (int)pcVar4);\n      __dest_01 = stpcpy(__dest_00 + ((int)pcVar2 - (int)pcVar4),(char *)*DAT_0007763c);\n      strcpy(__dest_01,pcVar2 + 2);\n      free(pcVar4);\n      pcVar4 = __dest_00;\n    }" { (expression_statement "sVar7 = strlen(pcVar4);" (assignment_expression "sVar7 = strlen(pcVar4)" identifier = (call_expression "strlen(pcVar4)" identifier (argument_list "(pcVar4)" ( identifier )))) ;) (expression_statement "sVar3 = strlen((char *)*DAT_0007763c);" (assignment_expression "sVar3 = strlen((char *)*DAT_0007763c)" identifier = (call_expression "strlen((char *)*DAT_0007763c)" identifier (argument_list "((char *)*DAT_0007763c)" ( (cast_expression "(char *)*DAT_0007763c" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*DAT_0007763c" * identifier)) )))) ;) (expression_statement "__dest_00 = (char *)xmalloc((sVar7 - 1) + sVar3);" (assignment_expression "__dest_00 = (char *)xmalloc((sVar7 - 1) + sVar3)" identifier = (cast_expression "(char *)xmalloc((sVar7 - 1) + sVar3)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc((sVar7 - 1) + sVar3)" identifier (argument_list "((sVar7 - 1) + sVar3)" ( (binary_expression "(sVar7 - 1) + sVar3" (parenthesized_expression "(sVar7 - 1)" ( (binary_expression "sVar7 - 1" identifier - number_literal) )) + identifier) ))))) ;) (expression_statement "memcpy(__dest_00,pcVar4,(int)pcVar2 - (int)pcVar4);" (call_expression "memcpy(__dest_00,pcVar4,(int)pcVar2 - (int)pcVar4)" identifier (argument_list "(__dest_00,pcVar4,(int)pcVar2 - (int)pcVar4)" ( identifier , identifier , (binary_expression "(int)pcVar2 - (int)pcVar4" (cast_expression "(int)pcVar2" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)pcVar4" ( (type_descriptor "int" primitive_type) ) identifier)) ))) ;) (expression_statement "__dest_01 = stpcpy(__dest_00 + ((int)pcVar2 - (int)pcVar4),(char *)*DAT_0007763c);" (assignment_expression "__dest_01 = stpcpy(__dest_00 + ((int)pcVar2 - (int)pcVar4),(char *)*DAT_0007763c)" identifier = (call_expression "stpcpy(__dest_00 + ((int)pcVar2 - (int)pcVar4),(char *)*DAT_0007763c)" identifier (argument_list "(__dest_00 + ((int)pcVar2 - (int)pcVar4),(char *)*DAT_0007763c)" ( (binary_expression "__dest_00 + ((int)pcVar2 - (int)pcVar4)" identifier + (parenthesized_expression "((int)pcVar2 - (int)pcVar4)" ( (binary_expression "(int)pcVar2 - (int)pcVar4" (cast_expression "(int)pcVar2" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)pcVar4" ( (type_descriptor "int" primitive_type) ) identifier)) ))) , (cast_expression "(char *)*DAT_0007763c" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*DAT_0007763c" * identifier)) )))) ;) (expression_statement "strcpy(__dest_01,pcVar2 + 2);" (call_expression "strcpy(__dest_01,pcVar2 + 2)" identifier (argument_list "(__dest_01,pcVar2 + 2)" ( identifier , (binary_expression "pcVar2 + 2" identifier + number_literal) ))) ;) (expression_statement "free(pcVar4);" (call_expression "free(pcVar4)" identifier (argument_list "(pcVar4)" ( identifier ))) ;) (expression_statement "pcVar4 = __dest_00;" (assignment_expression "pcVar4 = __dest_00" identifier = identifier) ;) })) }))) (expression_statement "DAT_00077838 = pcVar6;" (assignment_expression "DAT_00077838 = pcVar6" identifier = identifier) ;) (if_statement "if (*DAT_00077838 == ' ') {\n    DAT_00077838 = DAT_00077838 + 1;\n  }" if (parenthesized_expression "(*DAT_00077838 == ' ')" ( (binary_expression "*DAT_00077838 == ' '" (pointer_expression "*DAT_00077838" * identifier) == (char_literal "' '" ' character ')) )) (compound_statement "{\n    DAT_00077838 = DAT_00077838 + 1;\n  }" { (expression_statement "DAT_00077838 = DAT_00077838 + 1;" (assignment_expression "DAT_00077838 = DAT_00077838 + 1" identifier = (binary_expression "DAT_00077838 + 1" identifier + number_literal)) ;) })) (return_statement "return pcVar4;" 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 * obj_elf_section_name(void)\n\n{\n  char cVar1;\n  char *pcVar2;\n  void *__dest;\n  size_t sVar3;\n  char *__dest_00;\n  char *__dest_01;\n  char *pcVar4;\n  char *pcVar5;\n  size_t sVar6;\n  int dummy;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x4aec9;\n  cVar1 = *input_line_pointer;\n  if (cVar1 == ' ') {\n    cVar1 = input_line_pointer[1];\n    input_line_pointer = input_line_pointer + 1;\n  }\n  pcVar4 = input_line_pointer;\n  pcVar5 = input_line_pointer;\n  if (cVar1 == '\"') {\n    pcVar4 = demand_copy_C_string(&dummy);\n    pcVar5 = input_line_pointer;\n    if (pcVar4 == (char *)0x0) {\n      ignore_rest_of_line();\n      return (char *)0x0;\n    }\n  }\n  else {\n    while (pcVar2 = strchr("\n\t,; ",(int)cVar1), pcVar2 == (char *)0x0) {\n      pcVar5 = pcVar5 + 1;\n      cVar1 = *pcVar5;\n    }\n    if (pcVar5 == pcVar4) {\n      pcVar4 = (char *)dcgettext(0,"missing name",5);\n      as_bad(pcVar4);\n      ignore_rest_of_line();\n      return (char *)0x0;\n    }\n    sVar6 = (int)pcVar5 - (int)pcVar4;\n    __dest = (void *)xmalloc(sVar6 + 1);\n    *(undefined1 *)((int)__dest + sVar6) = 0;\n    pcVar4 = (char *)memcpy(__dest,pcVar4,sVar6);\n    while (((flag_sectname_subst != 0 && (pcVar2 = strchr(pcVar4,0x25), pcVar2 != (char *)0x0)) &&\n           (pcVar2[1] == 'S'))) {\n      sVar6 = strlen(pcVar4);\n      sVar3 = strlen(now_seg->name);\n      __dest_00 = (char *)xmalloc((sVar6 - 1) + sVar3);\n      memcpy(__dest_00,pcVar4,(int)pcVar2 - (int)pcVar4);\n      __dest_01 = stpcpy(__dest_00 + ((int)pcVar2 - (int)pcVar4),now_seg->name);\n      strcpy(__dest_01,pcVar2 + 2);\n      free(pcVar4);\n      pcVar4 = __dest_00;\n    }\n  }\n  input_line_pointer = pcVar5;\n  if (*input_line_pointer == ' ') {\n    input_line_pointer = input_line_pointer + 1;\n  }\n  return pcVar4;\n}\n\n" comment comment (function_definition "char * obj_elf_section_name(void)\n\n{\n  char cVar1;\n  char *pcVar2;\n  void *__dest;\n  size_t sVar3;\n  char *__dest_00;\n  char *__dest_01;\n  char *pcVar4;\n  char *pcVar5;\n  size_t sVar6;\n  int dummy;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x4aec9;\n  cVar1 = *input_line_pointer;\n  if (cVar1 == ' ') {\n    cVar1 = input_line_pointer[1];\n    input_line_pointer = input_line_pointer + 1;\n  }\n  pcVar4 = input_line_pointer;\n  pcVar5 = input_line_pointer;\n  if (cVar1 == '\"') {\n    pcVar4 = demand_copy_C_string(&dummy);\n    pcVar5 = input_line_pointer;\n    if (pcVar4 == (char *)0x0) {\n      ignore_rest_of_line();\n      return (char *)0x0;\n    }\n  }\n  else {\n    while (pcVar2 = strchr("\n\t,; ",(int)cVar1), pcVar2 == (char *)0x0) {\n      pcVar5 = pcVar5 + 1;\n      cVar1 = *pcVar5;\n    }\n    if (pcVar5 == pcVar4) {\n      pcVar4 = (char *)dcgettext(0,"missing name",5);\n      as_bad(pcVar4);\n      ignore_rest_of_line();\n      return (char *)0x0;\n    }\n    sVar6 = (int)pcVar5 - (int)pcVar4;\n    __dest = (void *)xmalloc(sVar6 + 1);\n    *(undefined1 *)((int)__dest + sVar6) = 0;\n    pcVar4 = (char *)memcpy(__dest,pcVar4,sVar6);\n    while (((flag_sectname_subst != 0 && (pcVar2 = strchr(pcVar4,0x25), pcVar2 != (char *)0x0)) &&\n           (pcVar2[1] == 'S'))) {\n      sVar6 = strlen(pcVar4);\n      sVar3 = strlen(now_seg->name);\n      __dest_00 = (char *)xmalloc((sVar6 - 1) + sVar3);\n      memcpy(__dest_00,pcVar4,(int)pcVar2 - (int)pcVar4);\n      __dest_01 = stpcpy(__dest_00 + ((int)pcVar2 - (int)pcVar4),now_seg->name);\n      strcpy(__dest_01,pcVar2 + 2);\n      free(pcVar4);\n      pcVar4 = __dest_00;\n    }\n  }\n  input_line_pointer = pcVar5;\n  if (*input_line_pointer == ' ') {\n    input_line_pointer = input_line_pointer + 1;\n  }\n  return pcVar4;\n}" primitive_type (pointer_declarator "* obj_elf_section_name(void)" * (function_declarator "obj_elf_section_name(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) )))) (compound_statement "{\n  char cVar1;\n  char *pcVar2;\n  void *__dest;\n  size_t sVar3;\n  char *__dest_00;\n  char *__dest_01;\n  char *pcVar4;\n  char *pcVar5;\n  size_t sVar6;\n  int dummy;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x4aec9;\n  cVar1 = *input_line_pointer;\n  if (cVar1 == ' ') {\n    cVar1 = input_line_pointer[1];\n    input_line_pointer = input_line_pointer + 1;\n  }\n  pcVar4 = input_line_pointer;\n  pcVar5 = input_line_pointer;\n  if (cVar1 == '\"') {\n    pcVar4 = demand_copy_C_string(&dummy);\n    pcVar5 = input_line_pointer;\n    if (pcVar4 == (char *)0x0) {\n      ignore_rest_of_line();\n      return (char *)0x0;\n    }\n  }\n  else {\n    while (pcVar2 = strchr("\n\t,; ",(int)cVar1), pcVar2 == (char *)0x0) {\n      pcVar5 = pcVar5 + 1;\n      cVar1 = *pcVar5;\n    }\n    if (pcVar5 == pcVar4) {\n      pcVar4 = (char *)dcgettext(0,"missing name",5);\n      as_bad(pcVar4);\n      ignore_rest_of_line();\n      return (char *)0x0;\n    }\n    sVar6 = (int)pcVar5 - (int)pcVar4;\n    __dest = (void *)xmalloc(sVar6 + 1);\n    *(undefined1 *)((int)__dest + sVar6) = 0;\n    pcVar4 = (char *)memcpy(__dest,pcVar4,sVar6);\n    while (((flag_sectname_subst != 0 && (pcVar2 = strchr(pcVar4,0x25), pcVar2 != (char *)0x0)) &&\n           (pcVar2[1] == 'S'))) {\n      sVar6 = strlen(pcVar4);\n      sVar3 = strlen(now_seg->name);\n      __dest_00 = (char *)xmalloc((sVar6 - 1) + sVar3);\n      memcpy(__dest_00,pcVar4,(int)pcVar2 - (int)pcVar4);\n      __dest_01 = stpcpy(__dest_00 + ((int)pcVar2 - (int)pcVar4),now_seg->name);\n      strcpy(__dest_01,pcVar2 + 2);\n      free(pcVar4);\n      pcVar4 = __dest_00;\n    }\n  }\n  input_line_pointer = pcVar5;\n  if (*input_line_pointer == ' ') {\n    input_line_pointer = input_line_pointer + 1;\n  }\n  return pcVar4;\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "char *pcVar2;" primitive_type (pointer_declarator "*pcVar2" * identifier) ;) (declaration "void *__dest;" primitive_type (pointer_declarator "*__dest" * identifier) ;) (declaration "size_t sVar3;" primitive_type identifier ;) (declaration "char *__dest_00;" primitive_type (pointer_declarator "*__dest_00" * identifier) ;) (declaration "char *__dest_01;" primitive_type (pointer_declarator "*__dest_01" * identifier) ;) (declaration "char *pcVar4;" primitive_type (pointer_declarator "*pcVar4" * identifier) ;) (declaration "char *pcVar5;" primitive_type (pointer_declarator "*pcVar5" * identifier) ;) (declaration "size_t sVar6;" primitive_type identifier ;) (declaration "int dummy;" primitive_type identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x4aec9;" (assignment_expression "uStack_14 = 0x4aec9" identifier = number_literal) ;) (expression_statement "cVar1 = *input_line_pointer;" (assignment_expression "cVar1 = *input_line_pointer" identifier = (pointer_expression "*input_line_pointer" * identifier)) ;) (if_statement "if (cVar1 == ' ') {\n    cVar1 = input_line_pointer[1];\n    input_line_pointer = input_line_pointer + 1;\n  }" if (parenthesized_expression "(cVar1 == ' ')" ( (binary_expression "cVar1 == ' '" identifier == (char_literal "' '" ' character ')) )) (compound_statement "{\n    cVar1 = input_line_pointer[1];\n    input_line_pointer = input_line_pointer + 1;\n  }" { (expression_statement "cVar1 = input_line_pointer[1];" (assignment_expression "cVar1 = input_line_pointer[1]" identifier = (subscript_expression "input_line_pointer[1]" identifier [ number_literal ])) ;) (expression_statement "input_line_pointer = input_line_pointer + 1;" (assignment_expression "input_line_pointer = input_line_pointer + 1" identifier = (binary_expression "input_line_pointer + 1" identifier + number_literal)) ;) })) (expression_statement "pcVar4 = input_line_pointer;" (assignment_expression "pcVar4 = input_line_pointer" identifier = identifier) ;) (expression_statement "pcVar5 = input_line_pointer;" (assignment_expression "pcVar5 = input_line_pointer" identifier = identifier) ;) (if_statement "if (cVar1 == '\"') {\n    pcVar4 = demand_copy_C_string(&dummy);\n    pcVar5 = input_line_pointer;\n    if (pcVar4 == (char *)0x0) {\n      ignore_rest_of_line();\n      return (char *)0x0;\n    }\n  }\n  else {\n    while (pcVar2 = strchr("\n\t,; ",(int)cVar1), pcVar2 == (char *)0x0) {\n      pcVar5 = pcVar5 + 1;\n      cVar1 = *pcVar5;\n    }\n    if (pcVar5 == pcVar4) {\n      pcVar4 = (char *)dcgettext(0,"missing name",5);\n      as_bad(pcVar4);\n      ignore_rest_of_line();\n      return (char *)0x0;\n    }\n    sVar6 = (int)pcVar5 - (int)pcVar4;\n    __dest = (void *)xmalloc(sVar6 + 1);\n    *(undefined1 *)((int)__dest + sVar6) = 0;\n    pcVar4 = (char *)memcpy(__dest,pcVar4,sVar6);\n    while (((flag_sectname_subst != 0 && (pcVar2 = strchr(pcVar4,0x25), pcVar2 != (char *)0x0)) &&\n           (pcVar2[1] == 'S'))) {\n      sVar6 = strlen(pcVar4);\n      sVar3 = strlen(now_seg->name);\n      __dest_00 = (char *)xmalloc((sVar6 - 1) + sVar3);\n      memcpy(__dest_00,pcVar4,(int)pcVar2 - (int)pcVar4);\n      __dest_01 = stpcpy(__dest_00 + ((int)pcVar2 - (int)pcVar4),now_seg->name);\n      strcpy(__dest_01,pcVar2 + 2);\n      free(pcVar4);\n      pcVar4 = __dest_00;\n    }\n  }" if (parenthesized_expression "(cVar1 == '\"')" ( (binary_expression "cVar1 == '\"'" identifier == (char_literal "'\"'" ' escape_sequence ')) )) (compound_statement "{\n    pcVar4 = demand_copy_C_string(&dummy);\n    pcVar5 = input_line_pointer;\n    if (pcVar4 == (char *)0x0) {\n      ignore_rest_of_line();\n      return (char *)0x0;\n    }\n  }" { (expression_statement "pcVar4 = demand_copy_C_string(&dummy);" (assignment_expression "pcVar4 = demand_copy_C_string(&dummy)" identifier = (call_expression "demand_copy_C_string(&dummy)" identifier (argument_list "(&dummy)" ( (pointer_expression "&dummy" & identifier) )))) ;) (expression_statement "pcVar5 = input_line_pointer;" (assignment_expression "pcVar5 = input_line_pointer" identifier = identifier) ;) (if_statement "if (pcVar4 == (char *)0x0) {\n      ignore_rest_of_line();\n      return (char *)0x0;\n    }" if (parenthesized_expression "(pcVar4 == (char *)0x0)" ( (binary_expression "pcVar4 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      ignore_rest_of_line();\n      return (char *)0x0;\n    }" { (expression_statement "ignore_rest_of_line();" (call_expression "ignore_rest_of_line()" identifier (argument_list "()" ( ))) ;) (return_statement "return (char *)0x0;" return (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) ;) })) }) (else_clause "else {\n    while (pcVar2 = strchr("\n\t,; ",(int)cVar1), pcVar2 == (char *)0x0) {\n      pcVar5 = pcVar5 + 1;\n      cVar1 = *pcVar5;\n    }\n    if (pcVar5 == pcVar4) {\n      pcVar4 = (char *)dcgettext(0,"missing name",5);\n      as_bad(pcVar4);\n      ignore_rest_of_line();\n      return (char *)0x0;\n    }\n    sVar6 = (int)pcVar5 - (int)pcVar4;\n    __dest = (void *)xmalloc(sVar6 + 1);\n    *(undefined1 *)((int)__dest + sVar6) = 0;\n    pcVar4 = (char *)memcpy(__dest,pcVar4,sVar6);\n    while (((flag_sectname_subst != 0 && (pcVar2 = strchr(pcVar4,0x25), pcVar2 != (char *)0x0)) &&\n           (pcVar2[1] == 'S'))) {\n      sVar6 = strlen(pcVar4);\n      sVar3 = strlen(now_seg->name);\n      __dest_00 = (char *)xmalloc((sVar6 - 1) + sVar3);\n      memcpy(__dest_00,pcVar4,(int)pcVar2 - (int)pcVar4);\n      __dest_01 = stpcpy(__dest_00 + ((int)pcVar2 - (int)pcVar4),now_seg->name);\n      strcpy(__dest_01,pcVar2 + 2);\n      free(pcVar4);\n      pcVar4 = __dest_00;\n    }\n  }" else (compound_statement "{\n    while (pcVar2 = strchr("\n\t,; ",(int)cVar1), pcVar2 == (char *)0x0) {\n      pcVar5 = pcVar5 + 1;\n      cVar1 = *pcVar5;\n    }\n    if (pcVar5 == pcVar4) {\n      pcVar4 = (char *)dcgettext(0,"missing name",5);\n      as_bad(pcVar4);\n      ignore_rest_of_line();\n      return (char *)0x0;\n    }\n    sVar6 = (int)pcVar5 - (int)pcVar4;\n    __dest = (void *)xmalloc(sVar6 + 1);\n    *(undefined1 *)((int)__dest + sVar6) = 0;\n    pcVar4 = (char *)memcpy(__dest,pcVar4,sVar6);\n    while (((flag_sectname_subst != 0 && (pcVar2 = strchr(pcVar4,0x25), pcVar2 != (char *)0x0)) &&\n           (pcVar2[1] == 'S'))) {\n      sVar6 = strlen(pcVar4);\n      sVar3 = strlen(now_seg->name);\n      __dest_00 = (char *)xmalloc((sVar6 - 1) + sVar3);\n      memcpy(__dest_00,pcVar4,(int)pcVar2 - (int)pcVar4);\n      __dest_01 = stpcpy(__dest_00 + ((int)pcVar2 - (int)pcVar4),now_seg->name);\n      strcpy(__dest_01,pcVar2 + 2);\n      free(pcVar4);\n      pcVar4 = __dest_00;\n    }\n  }" { (while_statement "while (pcVar2 = strchr("\n\t,; ",(int)cVar1), pcVar2 == (char *)0x0) {\n      pcVar5 = pcVar5 + 1;\n      cVar1 = *pcVar5;\n    }" while (parenthesized_expression "(pcVar2 = strchr("\n\t,; ",(int)cVar1), pcVar2 == (char *)0x0)" ( (comma_expression "pcVar2 = strchr("\n\t,; ",(int)cVar1), pcVar2 == (char *)0x0" (assignment_expression "pcVar2 = strchr("\n\t,; ",(int)cVar1)" identifier = (call_expression "strchr("\n\t,; ",(int)cVar1)" identifier (argument_list "("\n\t,; ",(int)cVar1)" ( (string_literal ""\n\t,; "" " escape_sequence escape_sequence string_content ") , (cast_expression "(int)cVar1" ( (type_descriptor "int" primitive_type) ) identifier) )))) , (binary_expression "pcVar2 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal))) )) (compound_statement "{\n      pcVar5 = pcVar5 + 1;\n      cVar1 = *pcVar5;\n    }" { (expression_statement "pcVar5 = pcVar5 + 1;" (assignment_expression "pcVar5 = pcVar5 + 1" identifier = (binary_expression "pcVar5 + 1" identifier + number_literal)) ;) (expression_statement "cVar1 = *pcVar5;" (assignment_expression "cVar1 = *pcVar5" identifier = (pointer_expression "*pcVar5" * identifier)) ;) })) (if_statement "if (pcVar5 == pcVar4) {\n      pcVar4 = (char *)dcgettext(0,"missing name",5);\n      as_bad(pcVar4);\n      ignore_rest_of_line();\n      return (char *)0x0;\n    }" if (parenthesized_expression "(pcVar5 == pcVar4)" ( (binary_expression "pcVar5 == pcVar4" identifier == identifier) )) (compound_statement "{\n      pcVar4 = (char *)dcgettext(0,"missing name",5);\n      as_bad(pcVar4);\n      ignore_rest_of_line();\n      return (char *)0x0;\n    }" { (expression_statement "pcVar4 = (char *)dcgettext(0,"missing name",5);" (assignment_expression "pcVar4 = (char *)dcgettext(0,"missing name",5)" identifier = (cast_expression "(char *)dcgettext(0,"missing name",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,"missing name",5)" identifier (argument_list "(0,"missing name",5)" ( number_literal , (string_literal ""missing name"" " string_content ") , number_literal ))))) ;) (expression_statement "as_bad(pcVar4);" (call_expression "as_bad(pcVar4)" identifier (argument_list "(pcVar4)" ( identifier ))) ;) (expression_statement "ignore_rest_of_line();" (call_expression "ignore_rest_of_line()" identifier (argument_list "()" ( ))) ;) (return_statement "return (char *)0x0;" return (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) ;) })) (expression_statement "sVar6 = (int)pcVar5 - (int)pcVar4;" (assignment_expression "sVar6 = (int)pcVar5 - (int)pcVar4" identifier = (binary_expression "(int)pcVar5 - (int)pcVar4" (cast_expression "(int)pcVar5" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)pcVar4" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (expression_statement "__dest = (void *)xmalloc(sVar6 + 1);" (assignment_expression "__dest = (void *)xmalloc(sVar6 + 1)" identifier = (cast_expression "(void *)xmalloc(sVar6 + 1)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(sVar6 + 1)" identifier (argument_list "(sVar6 + 1)" ( (binary_expression "sVar6 + 1" identifier + number_literal) ))))) ;) (expression_statement "*(undefined1 *)((int)__dest + sVar6) = 0;" (assignment_expression "*(undefined1 *)((int)__dest + sVar6) = 0" (pointer_expression "*(undefined1 *)((int)__dest + sVar6)" * (cast_expression "(undefined1 *)((int)__dest + sVar6)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)__dest + sVar6)" ( (binary_expression "(int)__dest + sVar6" (cast_expression "(int)__dest" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) = number_literal) ;) (expression_statement "pcVar4 = (char *)memcpy(__dest,pcVar4,sVar6);" (assignment_expression "pcVar4 = (char *)memcpy(__dest,pcVar4,sVar6)" identifier = (cast_expression "(char *)memcpy(__dest,pcVar4,sVar6)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "memcpy(__dest,pcVar4,sVar6)" identifier (argument_list "(__dest,pcVar4,sVar6)" ( identifier , identifier , identifier ))))) ;) (while_statement "while (((flag_sectname_subst != 0 && (pcVar2 = strchr(pcVar4,0x25), pcVar2 != (char *)0x0)) &&\n           (pcVar2[1] == 'S'))) {\n      sVar6 = strlen(pcVar4);\n      sVar3 = strlen(now_seg->name);\n      __dest_00 = (char *)xmalloc((sVar6 - 1) + sVar3);\n      memcpy(__dest_00,pcVar4,(int)pcVar2 - (int)pcVar4);\n      __dest_01 = stpcpy(__dest_00 + ((int)pcVar2 - (int)pcVar4),now_seg->name);\n      strcpy(__dest_01,pcVar2 + 2);\n      free(pcVar4);\n      pcVar4 = __dest_00;\n    }" while (parenthesized_expression "(((flag_sectname_subst != 0 && (pcVar2 = strchr(pcVar4,0x25), pcVar2 != (char *)0x0)) &&\n           (pcVar2[1] == 'S')))" ( (parenthesized_expression "((flag_sectname_subst != 0 && (pcVar2 = strchr(pcVar4,0x25), pcVar2 != (char *)0x0)) &&\n           (pcVar2[1] == 'S'))" ( (binary_expression "(flag_sectname_subst != 0 && (pcVar2 = strchr(pcVar4,0x25), pcVar2 != (char *)0x0)) &&\n           (pcVar2[1] == 'S')" (parenthesized_expression "(flag_sectname_subst != 0 && (pcVar2 = strchr(pcVar4,0x25), pcVar2 != (char *)0x0))" ( (binary_expression "flag_sectname_subst != 0 && (pcVar2 = strchr(pcVar4,0x25), pcVar2 != (char *)0x0)" (binary_expression "flag_sectname_subst != 0" identifier != number_literal) && (parenthesized_expression "(pcVar2 = strchr(pcVar4,0x25), pcVar2 != (char *)0x0)" ( (comma_expression "pcVar2 = strchr(pcVar4,0x25), pcVar2 != (char *)0x0" (assignment_expression "pcVar2 = strchr(pcVar4,0x25)" identifier = (call_expression "strchr(pcVar4,0x25)" identifier (argument_list "(pcVar4,0x25)" ( identifier , number_literal )))) , (binary_expression "pcVar2 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) && (parenthesized_expression "(pcVar2[1] == 'S')" ( (binary_expression "pcVar2[1] == 'S'" (subscript_expression "pcVar2[1]" identifier [ number_literal ]) == (char_literal "'S'" ' character ')) ))) )) )) (compound_statement "{\n      sVar6 = strlen(pcVar4);\n      sVar3 = strlen(now_seg->name);\n      __dest_00 = (char *)xmalloc((sVar6 - 1) + sVar3);\n      memcpy(__dest_00,pcVar4,(int)pcVar2 - (int)pcVar4);\n      __dest_01 = stpcpy(__dest_00 + ((int)pcVar2 - (int)pcVar4),now_seg->name);\n      strcpy(__dest_01,pcVar2 + 2);\n      free(pcVar4);\n      pcVar4 = __dest_00;\n    }" { (expression_statement "sVar6 = strlen(pcVar4);" (assignment_expression "sVar6 = strlen(pcVar4)" identifier = (call_expression "strlen(pcVar4)" identifier (argument_list "(pcVar4)" ( identifier )))) ;) (expression_statement "sVar3 = strlen(now_seg->name);" (assignment_expression "sVar3 = strlen(now_seg->name)" identifier = (call_expression "strlen(now_seg->name)" identifier (argument_list "(now_seg->name)" ( (field_expression "now_seg->name" identifier -> field_identifier) )))) ;) (expression_statement "__dest_00 = (char *)xmalloc((sVar6 - 1) + sVar3);" (assignment_expression "__dest_00 = (char *)xmalloc((sVar6 - 1) + sVar3)" identifier = (cast_expression "(char *)xmalloc((sVar6 - 1) + sVar3)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc((sVar6 - 1) + sVar3)" identifier (argument_list "((sVar6 - 1) + sVar3)" ( (binary_expression "(sVar6 - 1) + sVar3" (parenthesized_expression "(sVar6 - 1)" ( (binary_expression "sVar6 - 1" identifier - number_literal) )) + identifier) ))))) ;) (expression_statement "memcpy(__dest_00,pcVar4,(int)pcVar2 - (int)pcVar4);" (call_expression "memcpy(__dest_00,pcVar4,(int)pcVar2 - (int)pcVar4)" identifier (argument_list "(__dest_00,pcVar4,(int)pcVar2 - (int)pcVar4)" ( identifier , identifier , (binary_expression "(int)pcVar2 - (int)pcVar4" (cast_expression "(int)pcVar2" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)pcVar4" ( (type_descriptor "int" primitive_type) ) identifier)) ))) ;) (expression_statement "__dest_01 = stpcpy(__dest_00 + ((int)pcVar2 - (int)pcVar4),now_seg->name);" (assignment_expression "__dest_01 = stpcpy(__dest_00 + ((int)pcVar2 - (int)pcVar4),now_seg->name)" identifier = (call_expression "stpcpy(__dest_00 + ((int)pcVar2 - (int)pcVar4),now_seg->name)" identifier (argument_list "(__dest_00 + ((int)pcVar2 - (int)pcVar4),now_seg->name)" ( (binary_expression "__dest_00 + ((int)pcVar2 - (int)pcVar4)" identifier + (parenthesized_expression "((int)pcVar2 - (int)pcVar4)" ( (binary_expression "(int)pcVar2 - (int)pcVar4" (cast_expression "(int)pcVar2" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)pcVar4" ( (type_descriptor "int" primitive_type) ) identifier)) ))) , (field_expression "now_seg->name" identifier -> field_identifier) )))) ;) (expression_statement "strcpy(__dest_01,pcVar2 + 2);" (call_expression "strcpy(__dest_01,pcVar2 + 2)" identifier (argument_list "(__dest_01,pcVar2 + 2)" ( identifier , (binary_expression "pcVar2 + 2" identifier + number_literal) ))) ;) (expression_statement "free(pcVar4);" (call_expression "free(pcVar4)" identifier (argument_list "(pcVar4)" ( identifier ))) ;) (expression_statement "pcVar4 = __dest_00;" (assignment_expression "pcVar4 = __dest_00" identifier = identifier) ;) })) }))) (expression_statement "input_line_pointer = pcVar5;" (assignment_expression "input_line_pointer = pcVar5" identifier = identifier) ;) (if_statement "if (*input_line_pointer == ' ') {\n    input_line_pointer = input_line_pointer + 1;\n  }" if (parenthesized_expression "(*input_line_pointer == ' ')" ( (binary_expression "*input_line_pointer == ' '" (pointer_expression "*input_line_pointer" * identifier) == (char_literal "' '" ' character ')) )) (compound_statement "{\n    input_line_pointer = input_line_pointer + 1;\n  }" { (expression_statement "input_line_pointer = input_line_pointer + 1;" (assignment_expression "input_line_pointer = input_line_pointer + 1" identifier = (binary_expression "input_line_pointer + 1" identifier + number_literal)) ;) })) (return_statement "return pcVar4;" return identifier ;) })))
(translation_unit "char * FUN_0004aec0(void)\n\n{\n  char cVar1;\n  char *pcVar2;\n  void *__dest;\n  size_t sVar3;\n  char *__dest_00;\n  char *__dest_01;\n  char *pcVar4;\n  undefined4 uVar5;\n  char *pcVar6;\n  size_t sVar7;\n  undefined1 local_20 [12];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x4aec9;\n  cVar1 = *DAT_00077838;\n  if (cVar1 == ' ') {\n    cVar1 = DAT_00077838[1];\n    DAT_00077838 = DAT_00077838 + 1;\n  }\n  pcVar4 = DAT_00077838;\n  pcVar6 = DAT_00077838;\n  if (cVar1 == '\"') {\n    pcVar4 = (char *)FUN_000338a0(local_20);\n    pcVar6 = DAT_00077838;\n    if (pcVar4 == (char *)0x0) {\n      FUN_0002dff0();\n      return (char *)0x0;\n    }\n  }\n  else {\n    while (pcVar2 = strchr("\n\t,; ",(int)cVar1), pcVar2 == (char *)0x0) {\n      pcVar6 = pcVar6 + 1;\n      cVar1 = *pcVar6;\n    }\n    if (pcVar6 == pcVar4) {\n      uVar5 = dcgettext(0,"missing name",5);\n      FUN_0002bcf0(uVar5);\n      FUN_0002dff0();\n      return (char *)0x0;\n    }\n    sVar7 = (int)pcVar6 - (int)pcVar4;\n    __dest = (void *)xmalloc(sVar7 + 1);\n    *(undefined1 *)((int)__dest + sVar7) = 0;\n    pcVar4 = (char *)memcpy(__dest,pcVar4,sVar7);\n    while (((DAT_00077634 != 0 && (pcVar2 = strchr(pcVar4,0x25), pcVar2 != (char *)0x0)) &&\n           (pcVar2[1] == 'S'))) {\n      sVar7 = strlen(pcVar4);\n      sVar3 = strlen((char *)*DAT_0007763c);\n      __dest_00 = (char *)xmalloc((sVar7 - 1) + sVar3);\n      memcpy(__dest_00,pcVar4,(int)pcVar2 - (int)pcVar4);\n      __dest_01 = stpcpy(__dest_00 + ((int)pcVar2 - (int)pcVar4),(char *)*DAT_0007763c);\n      strcpy(__dest_01,pcVar2 + 2);\n      free(pcVar4);\n      pcVar4 = __dest_00;\n    }\n  }\n  DAT_00077838 = pcVar6;\n  if (*DAT_00077838 == ' ') {\n    DAT_00077838 = DAT_00077838 + 1;\n  }\n  return pcVar4;\n}\n\n" (function_definition "char * FUN_0004aec0(void)\n\n{\n  char cVar1;\n  char *pcVar2;\n  void *__dest;\n  size_t sVar3;\n  char *__dest_00;\n  char *__dest_01;\n  char *pcVar4;\n  undefined4 uVar5;\n  char *pcVar6;\n  size_t sVar7;\n  undefined1 local_20 [12];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x4aec9;\n  cVar1 = *DAT_00077838;\n  if (cVar1 == ' ') {\n    cVar1 = DAT_00077838[1];\n    DAT_00077838 = DAT_00077838 + 1;\n  }\n  pcVar4 = DAT_00077838;\n  pcVar6 = DAT_00077838;\n  if (cVar1 == '\"') {\n    pcVar4 = (char *)FUN_000338a0(local_20);\n    pcVar6 = DAT_00077838;\n    if (pcVar4 == (char *)0x0) {\n      FUN_0002dff0();\n      return (char *)0x0;\n    }\n  }\n  else {\n    while (pcVar2 = strchr("\n\t,; ",(int)cVar1), pcVar2 == (char *)0x0) {\n      pcVar6 = pcVar6 + 1;\n      cVar1 = *pcVar6;\n    }\n    if (pcVar6 == pcVar4) {\n      uVar5 = dcgettext(0,"missing name",5);\n      FUN_0002bcf0(uVar5);\n      FUN_0002dff0();\n      return (char *)0x0;\n    }\n    sVar7 = (int)pcVar6 - (int)pcVar4;\n    __dest = (void *)xmalloc(sVar7 + 1);\n    *(undefined1 *)((int)__dest + sVar7) = 0;\n    pcVar4 = (char *)memcpy(__dest,pcVar4,sVar7);\n    while (((DAT_00077634 != 0 && (pcVar2 = strchr(pcVar4,0x25), pcVar2 != (char *)0x0)) &&\n           (pcVar2[1] == 'S'))) {\n      sVar7 = strlen(pcVar4);\n      sVar3 = strlen((char *)*DAT_0007763c);\n      __dest_00 = (char *)xmalloc((sVar7 - 1) + sVar3);\n      memcpy(__dest_00,pcVar4,(int)pcVar2 - (int)pcVar4);\n      __dest_01 = stpcpy(__dest_00 + ((int)pcVar2 - (int)pcVar4),(char *)*DAT_0007763c);\n      strcpy(__dest_01,pcVar2 + 2);\n      free(pcVar4);\n      pcVar4 = __dest_00;\n    }\n  }\n  DAT_00077838 = pcVar6;\n  if (*DAT_00077838 == ' ') {\n    DAT_00077838 = DAT_00077838 + 1;\n  }\n  return pcVar4;\n}" primitive_type (pointer_declarator "* FUN_0004aec0(void)" * (function_declarator "FUN_0004aec0(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) )))) (compound_statement "{\n  char cVar1;\n  char *pcVar2;\n  void *__dest;\n  size_t sVar3;\n  char *__dest_00;\n  char *__dest_01;\n  char *pcVar4;\n  undefined4 uVar5;\n  char *pcVar6;\n  size_t sVar7;\n  undefined1 local_20 [12];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x4aec9;\n  cVar1 = *DAT_00077838;\n  if (cVar1 == ' ') {\n    cVar1 = DAT_00077838[1];\n    DAT_00077838 = DAT_00077838 + 1;\n  }\n  pcVar4 = DAT_00077838;\n  pcVar6 = DAT_00077838;\n  if (cVar1 == '\"') {\n    pcVar4 = (char *)FUN_000338a0(local_20);\n    pcVar6 = DAT_00077838;\n    if (pcVar4 == (char *)0x0) {\n      FUN_0002dff0();\n      return (char *)0x0;\n    }\n  }\n  else {\n    while (pcVar2 = strchr("\n\t,; ",(int)cVar1), pcVar2 == (char *)0x0) {\n      pcVar6 = pcVar6 + 1;\n      cVar1 = *pcVar6;\n    }\n    if (pcVar6 == pcVar4) {\n      uVar5 = dcgettext(0,"missing name",5);\n      FUN_0002bcf0(uVar5);\n      FUN_0002dff0();\n      return (char *)0x0;\n    }\n    sVar7 = (int)pcVar6 - (int)pcVar4;\n    __dest = (void *)xmalloc(sVar7 + 1);\n    *(undefined1 *)((int)__dest + sVar7) = 0;\n    pcVar4 = (char *)memcpy(__dest,pcVar4,sVar7);\n    while (((DAT_00077634 != 0 && (pcVar2 = strchr(pcVar4,0x25), pcVar2 != (char *)0x0)) &&\n           (pcVar2[1] == 'S'))) {\n      sVar7 = strlen(pcVar4);\n      sVar3 = strlen((char *)*DAT_0007763c);\n      __dest_00 = (char *)xmalloc((sVar7 - 1) + sVar3);\n      memcpy(__dest_00,pcVar4,(int)pcVar2 - (int)pcVar4);\n      __dest_01 = stpcpy(__dest_00 + ((int)pcVar2 - (int)pcVar4),(char *)*DAT_0007763c);\n      strcpy(__dest_01,pcVar2 + 2);\n      free(pcVar4);\n      pcVar4 = __dest_00;\n    }\n  }\n  DAT_00077838 = pcVar6;\n  if (*DAT_00077838 == ' ') {\n    DAT_00077838 = DAT_00077838 + 1;\n  }\n  return pcVar4;\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "char *pcVar2;" primitive_type (pointer_declarator "*pcVar2" * identifier) ;) (declaration "void *__dest;" primitive_type (pointer_declarator "*__dest" * identifier) ;) (declaration "size_t sVar3;" primitive_type identifier ;) (declaration "char *__dest_00;" primitive_type (pointer_declarator "*__dest_00" * identifier) ;) (declaration "char *__dest_01;" primitive_type (pointer_declarator "*__dest_01" * identifier) ;) (declaration "char *pcVar4;" primitive_type (pointer_declarator "*pcVar4" * identifier) ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "char *pcVar6;" primitive_type (pointer_declarator "*pcVar6" * identifier) ;) (declaration "size_t sVar7;" primitive_type identifier ;) (declaration "undefined1 local_20 [12];" type_identifier (array_declarator "local_20 [12]" identifier [ number_literal ]) ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x4aec9;" (assignment_expression "uStack_14 = 0x4aec9" identifier = number_literal) ;) (expression_statement "cVar1 = *DAT_00077838;" (assignment_expression "cVar1 = *DAT_00077838" identifier = (pointer_expression "*DAT_00077838" * identifier)) ;) (if_statement "if (cVar1 == ' ') {\n    cVar1 = DAT_00077838[1];\n    DAT_00077838 = DAT_00077838 + 1;\n  }" if (parenthesized_expression "(cVar1 == ' ')" ( (binary_expression "cVar1 == ' '" identifier == (char_literal "' '" ' character ')) )) (compound_statement "{\n    cVar1 = DAT_00077838[1];\n    DAT_00077838 = DAT_00077838 + 1;\n  }" { (expression_statement "cVar1 = DAT_00077838[1];" (assignment_expression "cVar1 = DAT_00077838[1]" identifier = (subscript_expression "DAT_00077838[1]" identifier [ number_literal ])) ;) (expression_statement "DAT_00077838 = DAT_00077838 + 1;" (assignment_expression "DAT_00077838 = DAT_00077838 + 1" identifier = (binary_expression "DAT_00077838 + 1" identifier + number_literal)) ;) })) (expression_statement "pcVar4 = DAT_00077838;" (assignment_expression "pcVar4 = DAT_00077838" identifier = identifier) ;) (expression_statement "pcVar6 = DAT_00077838;" (assignment_expression "pcVar6 = DAT_00077838" identifier = identifier) ;) (if_statement "if (cVar1 == '\"') {\n    pcVar4 = (char *)FUN_000338a0(local_20);\n    pcVar6 = DAT_00077838;\n    if (pcVar4 == (char *)0x0) {\n      FUN_0002dff0();\n      return (char *)0x0;\n    }\n  }\n  else {\n    while (pcVar2 = strchr("\n\t,; ",(int)cVar1), pcVar2 == (char *)0x0) {\n      pcVar6 = pcVar6 + 1;\n      cVar1 = *pcVar6;\n    }\n    if (pcVar6 == pcVar4) {\n      uVar5 = dcgettext(0,"missing name",5);\n      FUN_0002bcf0(uVar5);\n      FUN_0002dff0();\n      return (char *)0x0;\n    }\n    sVar7 = (int)pcVar6 - (int)pcVar4;\n    __dest = (void *)xmalloc(sVar7 + 1);\n    *(undefined1 *)((int)__dest + sVar7) = 0;\n    pcVar4 = (char *)memcpy(__dest,pcVar4,sVar7);\n    while (((DAT_00077634 != 0 && (pcVar2 = strchr(pcVar4,0x25), pcVar2 != (char *)0x0)) &&\n           (pcVar2[1] == 'S'))) {\n      sVar7 = strlen(pcVar4);\n      sVar3 = strlen((char *)*DAT_0007763c);\n      __dest_00 = (char *)xmalloc((sVar7 - 1) + sVar3);\n      memcpy(__dest_00,pcVar4,(int)pcVar2 - (int)pcVar4);\n      __dest_01 = stpcpy(__dest_00 + ((int)pcVar2 - (int)pcVar4),(char *)*DAT_0007763c);\n      strcpy(__dest_01,pcVar2 + 2);\n      free(pcVar4);\n      pcVar4 = __dest_00;\n    }\n  }" if (parenthesized_expression "(cVar1 == '\"')" ( (binary_expression "cVar1 == '\"'" identifier == (char_literal "'\"'" ' escape_sequence ')) )) (compound_statement "{\n    pcVar4 = (char *)FUN_000338a0(local_20);\n    pcVar6 = DAT_00077838;\n    if (pcVar4 == (char *)0x0) {\n      FUN_0002dff0();\n      return (char *)0x0;\n    }\n  }" { (expression_statement "pcVar4 = (char *)FUN_000338a0(local_20);" (assignment_expression "pcVar4 = (char *)FUN_000338a0(local_20)" identifier = (cast_expression "(char *)FUN_000338a0(local_20)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_000338a0(local_20)" identifier (argument_list "(local_20)" ( identifier ))))) ;) (expression_statement "pcVar6 = DAT_00077838;" (assignment_expression "pcVar6 = DAT_00077838" identifier = identifier) ;) (if_statement "if (pcVar4 == (char *)0x0) {\n      FUN_0002dff0();\n      return (char *)0x0;\n    }" if (parenthesized_expression "(pcVar4 == (char *)0x0)" ( (binary_expression "pcVar4 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      FUN_0002dff0();\n      return (char *)0x0;\n    }" { (expression_statement "FUN_0002dff0();" (call_expression "FUN_0002dff0()" identifier (argument_list "()" ( ))) ;) (return_statement "return (char *)0x0;" return (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) ;) })) }) (else_clause "else {\n    while (pcVar2 = strchr("\n\t,; ",(int)cVar1), pcVar2 == (char *)0x0) {\n      pcVar6 = pcVar6 + 1;\n      cVar1 = *pcVar6;\n    }\n    if (pcVar6 == pcVar4) {\n      uVar5 = dcgettext(0,"missing name",5);\n      FUN_0002bcf0(uVar5);\n      FUN_0002dff0();\n      return (char *)0x0;\n    }\n    sVar7 = (int)pcVar6 - (int)pcVar4;\n    __dest = (void *)xmalloc(sVar7 + 1);\n    *(undefined1 *)((int)__dest + sVar7) = 0;\n    pcVar4 = (char *)memcpy(__dest,pcVar4,sVar7);\n    while (((DAT_00077634 != 0 && (pcVar2 = strchr(pcVar4,0x25), pcVar2 != (char *)0x0)) &&\n           (pcVar2[1] == 'S'))) {\n      sVar7 = strlen(pcVar4);\n      sVar3 = strlen((char *)*DAT_0007763c);\n      __dest_00 = (char *)xmalloc((sVar7 - 1) + sVar3);\n      memcpy(__dest_00,pcVar4,(int)pcVar2 - (int)pcVar4);\n      __dest_01 = stpcpy(__dest_00 + ((int)pcVar2 - (int)pcVar4),(char *)*DAT_0007763c);\n      strcpy(__dest_01,pcVar2 + 2);\n      free(pcVar4);\n      pcVar4 = __dest_00;\n    }\n  }" else (compound_statement "{\n    while (pcVar2 = strchr("\n\t,; ",(int)cVar1), pcVar2 == (char *)0x0) {\n      pcVar6 = pcVar6 + 1;\n      cVar1 = *pcVar6;\n    }\n    if (pcVar6 == pcVar4) {\n      uVar5 = dcgettext(0,"missing name",5);\n      FUN_0002bcf0(uVar5);\n      FUN_0002dff0();\n      return (char *)0x0;\n    }\n    sVar7 = (int)pcVar6 - (int)pcVar4;\n    __dest = (void *)xmalloc(sVar7 + 1);\n    *(undefined1 *)((int)__dest + sVar7) = 0;\n    pcVar4 = (char *)memcpy(__dest,pcVar4,sVar7);\n    while (((DAT_00077634 != 0 && (pcVar2 = strchr(pcVar4,0x25), pcVar2 != (char *)0x0)) &&\n           (pcVar2[1] == 'S'))) {\n      sVar7 = strlen(pcVar4);\n      sVar3 = strlen((char *)*DAT_0007763c);\n      __dest_00 = (char *)xmalloc((sVar7 - 1) + sVar3);\n      memcpy(__dest_00,pcVar4,(int)pcVar2 - (int)pcVar4);\n      __dest_01 = stpcpy(__dest_00 + ((int)pcVar2 - (int)pcVar4),(char *)*DAT_0007763c);\n      strcpy(__dest_01,pcVar2 + 2);\n      free(pcVar4);\n      pcVar4 = __dest_00;\n    }\n  }" { (while_statement "while (pcVar2 = strchr("\n\t,; ",(int)cVar1), pcVar2 == (char *)0x0) {\n      pcVar6 = pcVar6 + 1;\n      cVar1 = *pcVar6;\n    }" while (parenthesized_expression "(pcVar2 = strchr("\n\t,; ",(int)cVar1), pcVar2 == (char *)0x0)" ( (comma_expression "pcVar2 = strchr("\n\t,; ",(int)cVar1), pcVar2 == (char *)0x0" (assignment_expression "pcVar2 = strchr("\n\t,; ",(int)cVar1)" identifier = (call_expression "strchr("\n\t,; ",(int)cVar1)" identifier (argument_list "("\n\t,; ",(int)cVar1)" ( (string_literal ""\n\t,; "" " escape_sequence escape_sequence string_content ") , (cast_expression "(int)cVar1" ( (type_descriptor "int" primitive_type) ) identifier) )))) , (binary_expression "pcVar2 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal))) )) (compound_statement "{\n      pcVar6 = pcVar6 + 1;\n      cVar1 = *pcVar6;\n    }" { (expression_statement "pcVar6 = pcVar6 + 1;" (assignment_expression "pcVar6 = pcVar6 + 1" identifier = (binary_expression "pcVar6 + 1" identifier + number_literal)) ;) (expression_statement "cVar1 = *pcVar6;" (assignment_expression "cVar1 = *pcVar6" identifier = (pointer_expression "*pcVar6" * identifier)) ;) })) (if_statement "if (pcVar6 == pcVar4) {\n      uVar5 = dcgettext(0,"missing name",5);\n      FUN_0002bcf0(uVar5);\n      FUN_0002dff0();\n      return (char *)0x0;\n    }" if (parenthesized_expression "(pcVar6 == pcVar4)" ( (binary_expression "pcVar6 == pcVar4" identifier == identifier) )) (compound_statement "{\n      uVar5 = dcgettext(0,"missing name",5);\n      FUN_0002bcf0(uVar5);\n      FUN_0002dff0();\n      return (char *)0x0;\n    }" { (expression_statement "uVar5 = dcgettext(0,"missing name",5);" (assignment_expression "uVar5 = dcgettext(0,"missing name",5)" identifier = (call_expression "dcgettext(0,"missing name",5)" identifier (argument_list "(0,"missing name",5)" ( number_literal , (string_literal ""missing name"" " string_content ") , number_literal )))) ;) (expression_statement "FUN_0002bcf0(uVar5);" (call_expression "FUN_0002bcf0(uVar5)" identifier (argument_list "(uVar5)" ( identifier ))) ;) (expression_statement "FUN_0002dff0();" (call_expression "FUN_0002dff0()" identifier (argument_list "()" ( ))) ;) (return_statement "return (char *)0x0;" return (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) ;) })) (expression_statement "sVar7 = (int)pcVar6 - (int)pcVar4;" (assignment_expression "sVar7 = (int)pcVar6 - (int)pcVar4" identifier = (binary_expression "(int)pcVar6 - (int)pcVar4" (cast_expression "(int)pcVar6" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)pcVar4" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (expression_statement "__dest = (void *)xmalloc(sVar7 + 1);" (assignment_expression "__dest = (void *)xmalloc(sVar7 + 1)" identifier = (cast_expression "(void *)xmalloc(sVar7 + 1)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(sVar7 + 1)" identifier (argument_list "(sVar7 + 1)" ( (binary_expression "sVar7 + 1" identifier + number_literal) ))))) ;) (expression_statement "*(undefined1 *)((int)__dest + sVar7) = 0;" (assignment_expression "*(undefined1 *)((int)__dest + sVar7) = 0" (pointer_expression "*(undefined1 *)((int)__dest + sVar7)" * (cast_expression "(undefined1 *)((int)__dest + sVar7)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)__dest + sVar7)" ( (binary_expression "(int)__dest + sVar7" (cast_expression "(int)__dest" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) = number_literal) ;) (expression_statement "pcVar4 = (char *)memcpy(__dest,pcVar4,sVar7);" (assignment_expression "pcVar4 = (char *)memcpy(__dest,pcVar4,sVar7)" identifier = (cast_expression "(char *)memcpy(__dest,pcVar4,sVar7)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "memcpy(__dest,pcVar4,sVar7)" identifier (argument_list "(__dest,pcVar4,sVar7)" ( identifier , identifier , identifier ))))) ;) (while_statement "while (((DAT_00077634 != 0 && (pcVar2 = strchr(pcVar4,0x25), pcVar2 != (char *)0x0)) &&\n           (pcVar2[1] == 'S'))) {\n      sVar7 = strlen(pcVar4);\n      sVar3 = strlen((char *)*DAT_0007763c);\n      __dest_00 = (char *)xmalloc((sVar7 - 1) + sVar3);\n      memcpy(__dest_00,pcVar4,(int)pcVar2 - (int)pcVar4);\n      __dest_01 = stpcpy(__dest_00 + ((int)pcVar2 - (int)pcVar4),(char *)*DAT_0007763c);\n      strcpy(__dest_01,pcVar2 + 2);\n      free(pcVar4);\n      pcVar4 = __dest_00;\n    }" while (parenthesized_expression "(((DAT_00077634 != 0 && (pcVar2 = strchr(pcVar4,0x25), pcVar2 != (char *)0x0)) &&\n           (pcVar2[1] == 'S')))" ( (parenthesized_expression "((DAT_00077634 != 0 && (pcVar2 = strchr(pcVar4,0x25), pcVar2 != (char *)0x0)) &&\n           (pcVar2[1] == 'S'))" ( (binary_expression "(DAT_00077634 != 0 && (pcVar2 = strchr(pcVar4,0x25), pcVar2 != (char *)0x0)) &&\n           (pcVar2[1] == 'S')" (parenthesized_expression "(DAT_00077634 != 0 && (pcVar2 = strchr(pcVar4,0x25), pcVar2 != (char *)0x0))" ( (binary_expression "DAT_00077634 != 0 && (pcVar2 = strchr(pcVar4,0x25), pcVar2 != (char *)0x0)" (binary_expression "DAT_00077634 != 0" identifier != number_literal) && (parenthesized_expression "(pcVar2 = strchr(pcVar4,0x25), pcVar2 != (char *)0x0)" ( (comma_expression "pcVar2 = strchr(pcVar4,0x25), pcVar2 != (char *)0x0" (assignment_expression "pcVar2 = strchr(pcVar4,0x25)" identifier = (call_expression "strchr(pcVar4,0x25)" identifier (argument_list "(pcVar4,0x25)" ( identifier , number_literal )))) , (binary_expression "pcVar2 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) && (parenthesized_expression "(pcVar2[1] == 'S')" ( (binary_expression "pcVar2[1] == 'S'" (subscript_expression "pcVar2[1]" identifier [ number_literal ]) == (char_literal "'S'" ' character ')) ))) )) )) (compound_statement "{\n      sVar7 = strlen(pcVar4);\n      sVar3 = strlen((char *)*DAT_0007763c);\n      __dest_00 = (char *)xmalloc((sVar7 - 1) + sVar3);\n      memcpy(__dest_00,pcVar4,(int)pcVar2 - (int)pcVar4);\n      __dest_01 = stpcpy(__dest_00 + ((int)pcVar2 - (int)pcVar4),(char *)*DAT_0007763c);\n      strcpy(__dest_01,pcVar2 + 2);\n      free(pcVar4);\n      pcVar4 = __dest_00;\n    }" { (expression_statement "sVar7 = strlen(pcVar4);" (assignment_expression "sVar7 = strlen(pcVar4)" identifier = (call_expression "strlen(pcVar4)" identifier (argument_list "(pcVar4)" ( identifier )))) ;) (expression_statement "sVar3 = strlen((char *)*DAT_0007763c);" (assignment_expression "sVar3 = strlen((char *)*DAT_0007763c)" identifier = (call_expression "strlen((char *)*DAT_0007763c)" identifier (argument_list "((char *)*DAT_0007763c)" ( (cast_expression "(char *)*DAT_0007763c" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*DAT_0007763c" * identifier)) )))) ;) (expression_statement "__dest_00 = (char *)xmalloc((sVar7 - 1) + sVar3);" (assignment_expression "__dest_00 = (char *)xmalloc((sVar7 - 1) + sVar3)" identifier = (cast_expression "(char *)xmalloc((sVar7 - 1) + sVar3)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc((sVar7 - 1) + sVar3)" identifier (argument_list "((sVar7 - 1) + sVar3)" ( (binary_expression "(sVar7 - 1) + sVar3" (parenthesized_expression "(sVar7 - 1)" ( (binary_expression "sVar7 - 1" identifier - number_literal) )) + identifier) ))))) ;) (expression_statement "memcpy(__dest_00,pcVar4,(int)pcVar2 - (int)pcVar4);" (call_expression "memcpy(__dest_00,pcVar4,(int)pcVar2 - (int)pcVar4)" identifier (argument_list "(__dest_00,pcVar4,(int)pcVar2 - (int)pcVar4)" ( identifier , identifier , (binary_expression "(int)pcVar2 - (int)pcVar4" (cast_expression "(int)pcVar2" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)pcVar4" ( (type_descriptor "int" primitive_type) ) identifier)) ))) ;) (expression_statement "__dest_01 = stpcpy(__dest_00 + ((int)pcVar2 - (int)pcVar4),(char *)*DAT_0007763c);" (assignment_expression "__dest_01 = stpcpy(__dest_00 + ((int)pcVar2 - (int)pcVar4),(char *)*DAT_0007763c)" identifier = (call_expression "stpcpy(__dest_00 + ((int)pcVar2 - (int)pcVar4),(char *)*DAT_0007763c)" identifier (argument_list "(__dest_00 + ((int)pcVar2 - (int)pcVar4),(char *)*DAT_0007763c)" ( (binary_expression "__dest_00 + ((int)pcVar2 - (int)pcVar4)" identifier + (parenthesized_expression "((int)pcVar2 - (int)pcVar4)" ( (binary_expression "(int)pcVar2 - (int)pcVar4" (cast_expression "(int)pcVar2" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)pcVar4" ( (type_descriptor "int" primitive_type) ) identifier)) ))) , (cast_expression "(char *)*DAT_0007763c" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*DAT_0007763c" * identifier)) )))) ;) (expression_statement "strcpy(__dest_01,pcVar2 + 2);" (call_expression "strcpy(__dest_01,pcVar2 + 2)" identifier (argument_list "(__dest_01,pcVar2 + 2)" ( identifier , (binary_expression "pcVar2 + 2" identifier + number_literal) ))) ;) (expression_statement "free(pcVar4);" (call_expression "free(pcVar4)" identifier (argument_list "(pcVar4)" ( identifier ))) ;) (expression_statement "pcVar4 = __dest_00;" (assignment_expression "pcVar4 = __dest_00" identifier = identifier) ;) })) }))) (expression_statement "DAT_00077838 = pcVar6;" (assignment_expression "DAT_00077838 = pcVar6" identifier = identifier) ;) (if_statement "if (*DAT_00077838 == ' ') {\n    DAT_00077838 = DAT_00077838 + 1;\n  }" if (parenthesized_expression "(*DAT_00077838 == ' ')" ( (binary_expression "*DAT_00077838 == ' '" (pointer_expression "*DAT_00077838" * identifier) == (char_literal "' '" ' character ')) )) (compound_statement "{\n    DAT_00077838 = DAT_00077838 + 1;\n  }" { (expression_statement "DAT_00077838 = DAT_00077838 + 1;" (assignment_expression "DAT_00077838 = DAT_00077838 + 1" identifier = (binary_expression "DAT_00077838 + 1" identifier + number_literal)) ;) })) (return_statement "return pcVar4;" return identifier ;) })))
(translation_unit (function_definition TYPE (pointer_declarator * (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) )))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (char_literal ' character ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( 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 (call_expression IDENT (argument_list ( ))) ;) (return_statement return (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT) ;) })) }) (else_clause else (compound_statement { (while_statement while (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( (string_literal " escape_sequence escape_sequence string_content ") , (cast_expression ( (type_descriptor TYPE) ) IDENT) )))) , (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , (string_literal " string_content ") , LIT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (return_statement return (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + IDENT) )))) = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT ))))) ;) (while_statement while (parenthesized_expression ( (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (binary_expression IDENT != LIT) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , LIT )))) , (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT))) ))) )) && (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == (char_literal ' character ')) ))) )) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT)) )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( (binary_expression (parenthesized_expression ( (binary_expression IDENT - LIT) )) + IDENT) ))))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - (cast_expression ( (type_descriptor TYPE) ) IDENT)) ))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (binary_expression IDENT + (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - (cast_expression ( (type_descriptor TYPE) ) IDENT)) ))) , (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT)) )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (binary_expression IDENT + LIT) ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) })) }))) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == (char_literal ' character ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (return_statement return IDENT ;) })))
(function_definition "char * FUN_0004aec0(void)\n\n{\n  char cVar1;\n  char *pcVar2;\n  void *__dest;\n  size_t sVar3;\n  char *__dest_00;\n  char *__dest_01;\n  char *pcVar4;\n  undefined4 uVar5;\n  char *pcVar6;\n  size_t sVar7;\n  undefined1 local_20 [12];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x4aec9;\n  cVar1 = *DAT_00077838;\n  if (cVar1 == ' ') {\n    cVar1 = DAT_00077838[1];\n    DAT_00077838 = DAT_00077838 + 1;\n  }\n  pcVar4 = DAT_00077838;\n  pcVar6 = DAT_00077838;\n  if (cVar1 == '\"') {\n    pcVar4 = (char *)FUN_000338a0(local_20);\n    pcVar6 = DAT_00077838;\n    if (pcVar4 == (char *)0x0) {\n      FUN_0002dff0();\n      return (char *)0x0;\n    }\n  }\n  else {\n    while (pcVar2 = strchr("\n\t,; ",(int)cVar1), pcVar2 == (char *)0x0) {\n      pcVar6 = pcVar6 + 1;\n      cVar1 = *pcVar6;\n    }\n    if (pcVar6 == pcVar4) {\n      uVar5 = dcgettext(0,"missing name",5);\n      FUN_0002bcf0(uVar5);\n      FUN_0002dff0();\n      return (char *)0x0;\n    }\n    sVar7 = (int)pcVar6 - (int)pcVar4;\n    __dest = (void *)xmalloc(sVar7 + 1);\n    *(undefined1 *)((int)__dest + sVar7) = 0;\n    pcVar4 = (char *)memcpy(__dest,pcVar4,sVar7);\n    while (((DAT_00077634 != 0 && (pcVar2 = strchr(pcVar4,0x25), pcVar2 != (char *)0x0)) &&\n           (pcVar2[1] == 'S'))) {\n      sVar7 = strlen(pcVar4);\n      sVar3 = strlen((char *)*DAT_0007763c);\n      __dest_00 = (char *)xmalloc((sVar7 - 1) + sVar3);\n      memcpy(__dest_00,pcVar4,(int)pcVar2 - (int)pcVar4);\n      __dest_01 = stpcpy(__dest_00 + ((int)pcVar2 - (int)pcVar4),(char *)*DAT_0007763c);\n      strcpy(__dest_01,pcVar2 + 2);\n      free(pcVar4);\n      pcVar4 = __dest_00;\n    }\n  }\n  DAT_00077838 = pcVar6;\n  if (*DAT_00077838 == ' ') {\n    DAT_00077838 = DAT_00077838 + 1;\n  }\n  return pcVar4;\n}" (primitive_type "char") (pointer_declarator "* FUN_0004aec0(void)" (* "*") (function_declarator "FUN_0004aec0(void)" (identifier "FUN_0004aec0") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")")))) (compound_statement "{\n  char cVar1;\n  char *pcVar2;\n  void *__dest;\n  size_t sVar3;\n  char *__dest_00;\n  char *__dest_01;\n  char *pcVar4;\n  undefined4 uVar5;\n  char *pcVar6;\n  size_t sVar7;\n  undefined1 local_20 [12];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x4aec9;\n  cVar1 = *DAT_00077838;\n  if (cVar1 == ' ') {\n    cVar1 = DAT_00077838[1];\n    DAT_00077838 = DAT_00077838 + 1;\n  }\n  pcVar4 = DAT_00077838;\n  pcVar6 = DAT_00077838;\n  if (cVar1 == '\"') {\n    pcVar4 = (char *)FUN_000338a0(local_20);\n    pcVar6 = DAT_00077838;\n    if (pcVar4 == (char *)0x0) {\n      FUN_0002dff0();\n      return (char *)0x0;\n    }\n  }\n  else {\n    while (pcVar2 = strchr("\n\t,; ",(int)cVar1), pcVar2 == (char *)0x0) {\n      pcVar6 = pcVar6 + 1;\n      cVar1 = *pcVar6;\n    }\n    if (pcVar6 == pcVar4) {\n      uVar5 = dcgettext(0,"missing name",5);\n      FUN_0002bcf0(uVar5);\n      FUN_0002dff0();\n      return (char *)0x0;\n    }\n    sVar7 = (int)pcVar6 - (int)pcVar4;\n    __dest = (void *)xmalloc(sVar7 + 1);\n    *(undefined1 *)((int)__dest + sVar7) = 0;\n    pcVar4 = (char *)memcpy(__dest,pcVar4,sVar7);\n    while (((DAT_00077634 != 0 && (pcVar2 = strchr(pcVar4,0x25), pcVar2 != (char *)0x0)) &&\n           (pcVar2[1] == 'S'))) {\n      sVar7 = strlen(pcVar4);\n      sVar3 = strlen((char *)*DAT_0007763c);\n      __dest_00 = (char *)xmalloc((sVar7 - 1) + sVar3);\n      memcpy(__dest_00,pcVar4,(int)pcVar2 - (int)pcVar4);\n      __dest_01 = stpcpy(__dest_00 + ((int)pcVar2 - (int)pcVar4),(char *)*DAT_0007763c);\n      strcpy(__dest_01,pcVar2 + 2);\n      free(pcVar4);\n      pcVar4 = __dest_00;\n    }\n  }\n  DAT_00077838 = pcVar6;\n  if (*DAT_00077838 == ' ') {\n    DAT_00077838 = DAT_00077838 + 1;\n  }\n  return pcVar4;\n}" ({ "{") (declaration "char cVar1;" (primitive_type "char") (identifier "cVar1") (; ";")) (declaration "char *pcVar2;" (primitive_type "char") (pointer_declarator "*pcVar2" (* "*") (identifier "pcVar2")) (; ";")) (declaration "void *__dest;" (primitive_type "void") (pointer_declarator "*__dest" (* "*") (identifier "__dest")) (; ";")) (declaration "size_t sVar3;" (primitive_type "size_t") (identifier "sVar3") (; ";")) (declaration "char *__dest_00;" (primitive_type "char") (pointer_declarator "*__dest_00" (* "*") (identifier "__dest_00")) (; ";")) (declaration "char *__dest_01;" (primitive_type "char") (pointer_declarator "*__dest_01" (* "*") (identifier "__dest_01")) (; ";")) (declaration "char *pcVar4;" (primitive_type "char") (pointer_declarator "*pcVar4" (* "*") (identifier "pcVar4")) (; ";")) (declaration "undefined4 uVar5;" (type_identifier "undefined4") (identifier "uVar5") (; ";")) (declaration "char *pcVar6;" (primitive_type "char") (pointer_declarator "*pcVar6" (* "*") (identifier "pcVar6")) (; ";")) (declaration "size_t sVar7;" (primitive_type "size_t") (identifier "sVar7") (; ";")) (declaration "undefined1 local_20 [12];" (type_identifier "undefined1") (array_declarator "local_20 [12]" (identifier "local_20") ([ "[") (number_literal "12") (] "]")) (; ";")) (declaration "undefined4 uStack_14;" (type_identifier "undefined4") (identifier "uStack_14") (; ";")) (expression_statement "uStack_14 = 0x4aec9;" (assignment_expression "uStack_14 = 0x4aec9" (identifier "uStack_14") (= "=") (number_literal "0x4aec9")) (; ";")) (expression_statement "cVar1 = *DAT_00077838;" (assignment_expression "cVar1 = *DAT_00077838" (identifier "cVar1") (= "=") (pointer_expression "*DAT_00077838" (* "*") (identifier "DAT_00077838"))) (; ";")) (if_statement "if (cVar1 == ' ') {\n    cVar1 = DAT_00077838[1];\n    DAT_00077838 = DAT_00077838 + 1;\n  }" (if "if") (parenthesized_expression "(cVar1 == ' ')" (( "(") (binary_expression "cVar1 == ' '" (identifier "cVar1") (== "==") (char_literal "' '" (' "'") (character " ") (' "'"))) () ")")) (compound_statement "{\n    cVar1 = DAT_00077838[1];\n    DAT_00077838 = DAT_00077838 + 1;\n  }" ({ "{") (expression_statement "cVar1 = DAT_00077838[1];" (assignment_expression "cVar1 = DAT_00077838[1]" (identifier "cVar1") (= "=") (subscript_expression "DAT_00077838[1]" (identifier "DAT_00077838") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "DAT_00077838 = DAT_00077838 + 1;" (assignment_expression "DAT_00077838 = DAT_00077838 + 1" (identifier "DAT_00077838") (= "=") (binary_expression "DAT_00077838 + 1" (identifier "DAT_00077838") (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (expression_statement "pcVar4 = DAT_00077838;" (assignment_expression "pcVar4 = DAT_00077838" (identifier "pcVar4") (= "=") (identifier "DAT_00077838")) (; ";")) (expression_statement "pcVar6 = DAT_00077838;" (assignment_expression "pcVar6 = DAT_00077838" (identifier "pcVar6") (= "=") (identifier "DAT_00077838")) (; ";")) (if_statement "if (cVar1 == '\"') {\n    pcVar4 = (char *)FUN_000338a0(local_20);\n    pcVar6 = DAT_00077838;\n    if (pcVar4 == (char *)0x0) {\n      FUN_0002dff0();\n      return (char *)0x0;\n    }\n  }\n  else {\n    while (pcVar2 = strchr("\n\t,; ",(int)cVar1), pcVar2 == (char *)0x0) {\n      pcVar6 = pcVar6 + 1;\n      cVar1 = *pcVar6;\n    }\n    if (pcVar6 == pcVar4) {\n      uVar5 = dcgettext(0,"missing name",5);\n      FUN_0002bcf0(uVar5);\n      FUN_0002dff0();\n      return (char *)0x0;\n    }\n    sVar7 = (int)pcVar6 - (int)pcVar4;\n    __dest = (void *)xmalloc(sVar7 + 1);\n    *(undefined1 *)((int)__dest + sVar7) = 0;\n    pcVar4 = (char *)memcpy(__dest,pcVar4,sVar7);\n    while (((DAT_00077634 != 0 && (pcVar2 = strchr(pcVar4,0x25), pcVar2 != (char *)0x0)) &&\n           (pcVar2[1] == 'S'))) {\n      sVar7 = strlen(pcVar4);\n      sVar3 = strlen((char *)*DAT_0007763c);\n      __dest_00 = (char *)xmalloc((sVar7 - 1) + sVar3);\n      memcpy(__dest_00,pcVar4,(int)pcVar2 - (int)pcVar4);\n      __dest_01 = stpcpy(__dest_00 + ((int)pcVar2 - (int)pcVar4),(char *)*DAT_0007763c);\n      strcpy(__dest_01,pcVar2 + 2);\n      free(pcVar4);\n      pcVar4 = __dest_00;\n    }\n  }" (if "if") (parenthesized_expression "(cVar1 == '\"')" (( "(") (binary_expression "cVar1 == '\"'" (identifier "cVar1") (== "==") (char_literal "'\"'" (' "'") (escape_sequence "\"") (' "'"))) () ")")) (compound_statement "{\n    pcVar4 = (char *)FUN_000338a0(local_20);\n    pcVar6 = DAT_00077838;\n    if (pcVar4 == (char *)0x0) {\n      FUN_0002dff0();\n      return (char *)0x0;\n    }\n  }" ({ "{") (expression_statement "pcVar4 = (char *)FUN_000338a0(local_20);" (assignment_expression "pcVar4 = (char *)FUN_000338a0(local_20)" (identifier "pcVar4") (= "=") (cast_expression "(char *)FUN_000338a0(local_20)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_000338a0(local_20)" (identifier "FUN_000338a0") (argument_list "(local_20)" (( "(") (identifier "local_20") () ")"))))) (; ";")) (expression_statement "pcVar6 = DAT_00077838;" (assignment_expression "pcVar6 = DAT_00077838" (identifier "pcVar6") (= "=") (identifier "DAT_00077838")) (; ";")) (if_statement "if (pcVar4 == (char *)0x0) {\n      FUN_0002dff0();\n      return (char *)0x0;\n    }" (if "if") (parenthesized_expression "(pcVar4 == (char *)0x0)" (( "(") (binary_expression "pcVar4 == (char *)0x0" (identifier "pcVar4") (== "==") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      FUN_0002dff0();\n      return (char *)0x0;\n    }" ({ "{") (expression_statement "FUN_0002dff0();" (call_expression "FUN_0002dff0()" (identifier "FUN_0002dff0") (argument_list "()" (( "(") () ")"))) (; ";")) (return_statement "return (char *)0x0;" (return "return") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0")) (; ";")) (} "}"))) (} "}")) (else_clause "else {\n    while (pcVar2 = strchr("\n\t,; ",(int)cVar1), pcVar2 == (char *)0x0) {\n      pcVar6 = pcVar6 + 1;\n      cVar1 = *pcVar6;\n    }\n    if (pcVar6 == pcVar4) {\n      uVar5 = dcgettext(0,"missing name",5);\n      FUN_0002bcf0(uVar5);\n      FUN_0002dff0();\n      return (char *)0x0;\n    }\n    sVar7 = (int)pcVar6 - (int)pcVar4;\n    __dest = (void *)xmalloc(sVar7 + 1);\n    *(undefined1 *)((int)__dest + sVar7) = 0;\n    pcVar4 = (char *)memcpy(__dest,pcVar4,sVar7);\n    while (((DAT_00077634 != 0 && (pcVar2 = strchr(pcVar4,0x25), pcVar2 != (char *)0x0)) &&\n           (pcVar2[1] == 'S'))) {\n      sVar7 = strlen(pcVar4);\n      sVar3 = strlen((char *)*DAT_0007763c);\n      __dest_00 = (char *)xmalloc((sVar7 - 1) + sVar3);\n      memcpy(__dest_00,pcVar4,(int)pcVar2 - (int)pcVar4);\n      __dest_01 = stpcpy(__dest_00 + ((int)pcVar2 - (int)pcVar4),(char *)*DAT_0007763c);\n      strcpy(__dest_01,pcVar2 + 2);\n      free(pcVar4);\n      pcVar4 = __dest_00;\n    }\n  }" (else "else") (compound_statement "{\n    while (pcVar2 = strchr("\n\t,; ",(int)cVar1), pcVar2 == (char *)0x0) {\n      pcVar6 = pcVar6 + 1;\n      cVar1 = *pcVar6;\n    }\n    if (pcVar6 == pcVar4) {\n      uVar5 = dcgettext(0,"missing name",5);\n      FUN_0002bcf0(uVar5);\n      FUN_0002dff0();\n      return (char *)0x0;\n    }\n    sVar7 = (int)pcVar6 - (int)pcVar4;\n    __dest = (void *)xmalloc(sVar7 + 1);\n    *(undefined1 *)((int)__dest + sVar7) = 0;\n    pcVar4 = (char *)memcpy(__dest,pcVar4,sVar7);\n    while (((DAT_00077634 != 0 && (pcVar2 = strchr(pcVar4,0x25), pcVar2 != (char *)0x0)) &&\n           (pcVar2[1] == 'S'))) {\n      sVar7 = strlen(pcVar4);\n      sVar3 = strlen((char *)*DAT_0007763c);\n      __dest_00 = (char *)xmalloc((sVar7 - 1) + sVar3);\n      memcpy(__dest_00,pcVar4,(int)pcVar2 - (int)pcVar4);\n      __dest_01 = stpcpy(__dest_00 + ((int)pcVar2 - (int)pcVar4),(char *)*DAT_0007763c);\n      strcpy(__dest_01,pcVar2 + 2);\n      free(pcVar4);\n      pcVar4 = __dest_00;\n    }\n  }" ({ "{") (while_statement "while (pcVar2 = strchr("\n\t,; ",(int)cVar1), pcVar2 == (char *)0x0) {\n      pcVar6 = pcVar6 + 1;\n      cVar1 = *pcVar6;\n    }" (while "while") (parenthesized_expression "(pcVar2 = strchr("\n\t,; ",(int)cVar1), pcVar2 == (char *)0x0)" (( "(") (comma_expression "pcVar2 = strchr("\n\t,; ",(int)cVar1), pcVar2 == (char *)0x0" (assignment_expression "pcVar2 = strchr("\n\t,; ",(int)cVar1)" (identifier "pcVar2") (= "=") (call_expression "strchr("\n\t,; ",(int)cVar1)" (identifier "strchr") (argument_list "("\n\t,; ",(int)cVar1)" (( "(") (string_literal ""\n\t,; "" (" """) (escape_sequence "\n") (escape_sequence "\t") (string_content ",; ") (" """)) (, ",") (cast_expression "(int)cVar1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "cVar1")) () ")")))) (, ",") (binary_expression "pcVar2 == (char *)0x0" (identifier "pcVar2") (== "==") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0")))) () ")")) (compound_statement "{\n      pcVar6 = pcVar6 + 1;\n      cVar1 = *pcVar6;\n    }" ({ "{") (expression_statement "pcVar6 = pcVar6 + 1;" (assignment_expression "pcVar6 = pcVar6 + 1" (identifier "pcVar6") (= "=") (binary_expression "pcVar6 + 1" (identifier "pcVar6") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "cVar1 = *pcVar6;" (assignment_expression "cVar1 = *pcVar6" (identifier "cVar1") (= "=") (pointer_expression "*pcVar6" (* "*") (identifier "pcVar6"))) (; ";")) (} "}"))) (if_statement "if (pcVar6 == pcVar4) {\n      uVar5 = dcgettext(0,"missing name",5);\n      FUN_0002bcf0(uVar5);\n      FUN_0002dff0();\n      return (char *)0x0;\n    }" (if "if") (parenthesized_expression "(pcVar6 == pcVar4)" (( "(") (binary_expression "pcVar6 == pcVar4" (identifier "pcVar6") (== "==") (identifier "pcVar4")) () ")")) (compound_statement "{\n      uVar5 = dcgettext(0,"missing name",5);\n      FUN_0002bcf0(uVar5);\n      FUN_0002dff0();\n      return (char *)0x0;\n    }" ({ "{") (expression_statement "uVar5 = dcgettext(0,"missing name",5);" (assignment_expression "uVar5 = dcgettext(0,"missing name",5)" (identifier "uVar5") (= "=") (call_expression "dcgettext(0,"missing name",5)" (identifier "dcgettext") (argument_list "(0,"missing name",5)" (( "(") (number_literal "0") (, ",") (string_literal ""missing name"" (" """) (string_content "missing name") (" """)) (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "FUN_0002bcf0(uVar5);" (call_expression "FUN_0002bcf0(uVar5)" (identifier "FUN_0002bcf0") (argument_list "(uVar5)" (( "(") (identifier "uVar5") () ")"))) (; ";")) (expression_statement "FUN_0002dff0();" (call_expression "FUN_0002dff0()" (identifier "FUN_0002dff0") (argument_list "()" (( "(") () ")"))) (; ";")) (return_statement "return (char *)0x0;" (return "return") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0")) (; ";")) (} "}"))) (expression_statement "sVar7 = (int)pcVar6 - (int)pcVar4;" (assignment_expression "sVar7 = (int)pcVar6 - (int)pcVar4" (identifier "sVar7") (= "=") (binary_expression "(int)pcVar6 - (int)pcVar4" (cast_expression "(int)pcVar6" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "pcVar6")) (- "-") (cast_expression "(int)pcVar4" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "pcVar4")))) (; ";")) (expression_statement "__dest = (void *)xmalloc(sVar7 + 1);" (assignment_expression "__dest = (void *)xmalloc(sVar7 + 1)" (identifier "__dest") (= "=") (cast_expression "(void *)xmalloc(sVar7 + 1)" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "xmalloc(sVar7 + 1)" (identifier "xmalloc") (argument_list "(sVar7 + 1)" (( "(") (binary_expression "sVar7 + 1" (identifier "sVar7") (+ "+") (number_literal "1")) () ")"))))) (; ";")) (expression_statement "*(undefined1 *)((int)__dest + sVar7) = 0;" (assignment_expression "*(undefined1 *)((int)__dest + sVar7) = 0" (pointer_expression "*(undefined1 *)((int)__dest + sVar7)" (* "*") (cast_expression "(undefined1 *)((int)__dest + sVar7)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)__dest + sVar7)" (( "(") (binary_expression "(int)__dest + sVar7" (cast_expression "(int)__dest" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "__dest")) (+ "+") (identifier "sVar7")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "pcVar4 = (char *)memcpy(__dest,pcVar4,sVar7);" (assignment_expression "pcVar4 = (char *)memcpy(__dest,pcVar4,sVar7)" (identifier "pcVar4") (= "=") (cast_expression "(char *)memcpy(__dest,pcVar4,sVar7)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "memcpy(__dest,pcVar4,sVar7)" (identifier "memcpy") (argument_list "(__dest,pcVar4,sVar7)" (( "(") (identifier "__dest") (, ",") (identifier "pcVar4") (, ",") (identifier "sVar7") () ")"))))) (; ";")) (while_statement "while (((DAT_00077634 != 0 && (pcVar2 = strchr(pcVar4,0x25), pcVar2 != (char *)0x0)) &&\n           (pcVar2[1] == 'S'))) {\n      sVar7 = strlen(pcVar4);\n      sVar3 = strlen((char *)*DAT_0007763c);\n      __dest_00 = (char *)xmalloc((sVar7 - 1) + sVar3);\n      memcpy(__dest_00,pcVar4,(int)pcVar2 - (int)pcVar4);\n      __dest_01 = stpcpy(__dest_00 + ((int)pcVar2 - (int)pcVar4),(char *)*DAT_0007763c);\n      strcpy(__dest_01,pcVar2 + 2);\n      free(pcVar4);\n      pcVar4 = __dest_00;\n    }" (while "while") (parenthesized_expression "(((DAT_00077634 != 0 && (pcVar2 = strchr(pcVar4,0x25), pcVar2 != (char *)0x0)) &&\n           (pcVar2[1] == 'S')))" (( "(") (parenthesized_expression "((DAT_00077634 != 0 && (pcVar2 = strchr(pcVar4,0x25), pcVar2 != (char *)0x0)) &&\n           (pcVar2[1] == 'S'))" (( "(") (binary_expression "(DAT_00077634 != 0 && (pcVar2 = strchr(pcVar4,0x25), pcVar2 != (char *)0x0)) &&\n           (pcVar2[1] == 'S')" (parenthesized_expression "(DAT_00077634 != 0 && (pcVar2 = strchr(pcVar4,0x25), pcVar2 != (char *)0x0))" (( "(") (binary_expression "DAT_00077634 != 0 && (pcVar2 = strchr(pcVar4,0x25), pcVar2 != (char *)0x0)" (binary_expression "DAT_00077634 != 0" (identifier "DAT_00077634") (!= "!=") (number_literal "0")) (&& "&&") (parenthesized_expression "(pcVar2 = strchr(pcVar4,0x25), pcVar2 != (char *)0x0)" (( "(") (comma_expression "pcVar2 = strchr(pcVar4,0x25), pcVar2 != (char *)0x0" (assignment_expression "pcVar2 = strchr(pcVar4,0x25)" (identifier "pcVar2") (= "=") (call_expression "strchr(pcVar4,0x25)" (identifier "strchr") (argument_list "(pcVar4,0x25)" (( "(") (identifier "pcVar4") (, ",") (number_literal "0x25") () ")")))) (, ",") (binary_expression "pcVar2 != (char *)0x0" (identifier "pcVar2") (!= "!=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0")))) () ")"))) () ")")) (&& "&&") (parenthesized_expression "(pcVar2[1] == 'S')" (( "(") (binary_expression "pcVar2[1] == 'S'" (subscript_expression "pcVar2[1]" (identifier "pcVar2") ([ "[") (number_literal "1") (] "]")) (== "==") (char_literal "'S'" (' "'") (character "S") (' "'"))) () ")"))) () ")")) () ")")) (compound_statement "{\n      sVar7 = strlen(pcVar4);\n      sVar3 = strlen((char *)*DAT_0007763c);\n      __dest_00 = (char *)xmalloc((sVar7 - 1) + sVar3);\n      memcpy(__dest_00,pcVar4,(int)pcVar2 - (int)pcVar4);\n      __dest_01 = stpcpy(__dest_00 + ((int)pcVar2 - (int)pcVar4),(char *)*DAT_0007763c);\n      strcpy(__dest_01,pcVar2 + 2);\n      free(pcVar4);\n      pcVar4 = __dest_00;\n    }" ({ "{") (expression_statement "sVar7 = strlen(pcVar4);" (assignment_expression "sVar7 = strlen(pcVar4)" (identifier "sVar7") (= "=") (call_expression "strlen(pcVar4)" (identifier "strlen") (argument_list "(pcVar4)" (( "(") (identifier "pcVar4") () ")")))) (; ";")) (expression_statement "sVar3 = strlen((char *)*DAT_0007763c);" (assignment_expression "sVar3 = strlen((char *)*DAT_0007763c)" (identifier "sVar3") (= "=") (call_expression "strlen((char *)*DAT_0007763c)" (identifier "strlen") (argument_list "((char *)*DAT_0007763c)" (( "(") (cast_expression "(char *)*DAT_0007763c" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*DAT_0007763c" (* "*") (identifier "DAT_0007763c"))) () ")")))) (; ";")) (expression_statement "__dest_00 = (char *)xmalloc((sVar7 - 1) + sVar3);" (assignment_expression "__dest_00 = (char *)xmalloc((sVar7 - 1) + sVar3)" (identifier "__dest_00") (= "=") (cast_expression "(char *)xmalloc((sVar7 - 1) + sVar3)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "xmalloc((sVar7 - 1) + sVar3)" (identifier "xmalloc") (argument_list "((sVar7 - 1) + sVar3)" (( "(") (binary_expression "(sVar7 - 1) + sVar3" (parenthesized_expression "(sVar7 - 1)" (( "(") (binary_expression "sVar7 - 1" (identifier "sVar7") (- "-") (number_literal "1")) () ")")) (+ "+") (identifier "sVar3")) () ")"))))) (; ";")) (expression_statement "memcpy(__dest_00,pcVar4,(int)pcVar2 - (int)pcVar4);" (call_expression "memcpy(__dest_00,pcVar4,(int)pcVar2 - (int)pcVar4)" (identifier "memcpy") (argument_list "(__dest_00,pcVar4,(int)pcVar2 - (int)pcVar4)" (( "(") (identifier "__dest_00") (, ",") (identifier "pcVar4") (, ",") (binary_expression "(int)pcVar2 - (int)pcVar4" (cast_expression "(int)pcVar2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "pcVar2")) (- "-") (cast_expression "(int)pcVar4" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "pcVar4"))) () ")"))) (; ";")) (expression_statement "__dest_01 = stpcpy(__dest_00 + ((int)pcVar2 - (int)pcVar4),(char *)*DAT_0007763c);" (assignment_expression "__dest_01 = stpcpy(__dest_00 + ((int)pcVar2 - (int)pcVar4),(char *)*DAT_0007763c)" (identifier "__dest_01") (= "=") (call_expression "stpcpy(__dest_00 + ((int)pcVar2 - (int)pcVar4),(char *)*DAT_0007763c)" (identifier "stpcpy") (argument_list "(__dest_00 + ((int)pcVar2 - (int)pcVar4),(char *)*DAT_0007763c)" (( "(") (binary_expression "__dest_00 + ((int)pcVar2 - (int)pcVar4)" (identifier "__dest_00") (+ "+") (parenthesized_expression "((int)pcVar2 - (int)pcVar4)" (( "(") (binary_expression "(int)pcVar2 - (int)pcVar4" (cast_expression "(int)pcVar2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "pcVar2")) (- "-") (cast_expression "(int)pcVar4" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "pcVar4"))) () ")"))) (, ",") (cast_expression "(char *)*DAT_0007763c" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*DAT_0007763c" (* "*") (identifier "DAT_0007763c"))) () ")")))) (; ";")) (expression_statement "strcpy(__dest_01,pcVar2 + 2);" (call_expression "strcpy(__dest_01,pcVar2 + 2)" (identifier "strcpy") (argument_list "(__dest_01,pcVar2 + 2)" (( "(") (identifier "__dest_01") (, ",") (binary_expression "pcVar2 + 2" (identifier "pcVar2") (+ "+") (number_literal "2")) () ")"))) (; ";")) (expression_statement "free(pcVar4);" (call_expression "free(pcVar4)" (identifier "free") (argument_list "(pcVar4)" (( "(") (identifier "pcVar4") () ")"))) (; ";")) (expression_statement "pcVar4 = __dest_00;" (assignment_expression "pcVar4 = __dest_00" (identifier "pcVar4") (= "=") (identifier "__dest_00")) (; ";")) (} "}"))) (} "}")))) (expression_statement "DAT_00077838 = pcVar6;" (assignment_expression "DAT_00077838 = pcVar6" (identifier "DAT_00077838") (= "=") (identifier "pcVar6")) (; ";")) (if_statement "if (*DAT_00077838 == ' ') {\n    DAT_00077838 = DAT_00077838 + 1;\n  }" (if "if") (parenthesized_expression "(*DAT_00077838 == ' ')" (( "(") (binary_expression "*DAT_00077838 == ' '" (pointer_expression "*DAT_00077838" (* "*") (identifier "DAT_00077838")) (== "==") (char_literal "' '" (' "'") (character " ") (' "'"))) () ")")) (compound_statement "{\n    DAT_00077838 = DAT_00077838 + 1;\n  }" ({ "{") (expression_statement "DAT_00077838 = DAT_00077838 + 1;" (assignment_expression "DAT_00077838 = DAT_00077838 + 1" (identifier "DAT_00077838") (= "=") (binary_expression "DAT_00077838 + 1" (identifier "DAT_00077838") (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (return_statement "return pcVar4;" (return "return") (identifier "pcVar4") (; ";")) (} "}")))

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

char * function_1(void)

{
  char var_1;
  char *var_7;
  void *__dest;
  size_t var_16;
  char *var_18;
  char *__dest_01;
  char *var_4;
  char *var_8;
  size_t var_12;
  int dummy;
  type_1 uStack_14;
  
  uStack_14 = 0x4aec9;
  var_1 = *var_2;
  if (var_1 == ' ') {
    var_1 = var_2[1];
    var_2 = var_2 + 1;
  }
  var_4 = var_2;
  var_8 = var_2;
  if (var_1 == '\"') {
    var_4 = var_3(&dummy);
    var_8 = var_2;
    if (var_4 == (char *)0x0) {
      var_5();
      return (char *)0x0;
    }
  }
  else {
    while (var_7 = var_6("\n\t,; ",(int)var_1), var_7 == (char *)0x0) {
      var_8 = var_8 + 1;
      var_1 = *var_8;
    }
    if (var_8 == var_4) {
      var_4 = (char *)var_9(0,"missing name",5);
      var_10(var_4);
      var_5();
      return (char *)0x0;
    }
    var_12 = (int)var_8 - (int)var_4;
    __dest = (void *)var_11(var_12 + 1);
    *(type_2 *)((int)__dest + var_12) = 0;
    var_4 = (char *)var_13(__dest,var_4,var_12);
    while (((var_14 != 0 && (var_7 = var_6(var_4,0x25), var_7 != (char *)0x0)) &&
           (var_7[1] == 'S'))) {
      var_12 = var_15(var_4);
      var_16 = var_15(now_seg->name);
      var_18 = (char *)var_11((var_12 - 1) + var_16);
      var_13(var_18,var_4,(int)var_7 - (int)var_4);
      __dest_01 = var_17(var_18 + ((int)var_7 - (int)var_4),now_seg->name);
      var_19(__dest_01,var_7 + 2);
      var_20(var_4);
      var_4 = var_18;
    }
  }
  var_2 = var_8;
  if (*var_2 == ' ') {
    var_2 = var_2 + 1;
  }
  return var_4;
}


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

{
  char cVar1;
  char *pcVar2;
  void *__dest;
  size_t sVar3;
  char *__dest_00;
  char *__dest_01;
  char *pcVar4;
  undefined4 uVar5;
  char *pcVar6;
  size_t sVar7;
  undefined1 local_20 [12];
  undefined4 uStack_14;
  
  uStack_14 = 0x4aec9;
  cVar1 = *DAT_00077838;
  if (cVar1 == ' ') {
    cVar1 = DAT_00077838[1];
    DAT_00077838 = DAT_00077838 + 1;
  }
  pcVar4 = DAT_00077838;
  pcVar6 = DAT_00077838;
  if (cVar1 == '\"') {
    pcVar4 = (char *)FUN_000338a0(local_20);
    pcVar6 = DAT_00077838;
    if (pcVar4 == (char *)0x0) {
      FUN_0002dff0();
      return (char *)0x0;
    }
  }
  else {
    while (pcVar2 = strchr("\n\t,; ",(int)cVar1), pcVar2 == (char *)0x0) {
      pcVar6 = pcVar6 + 1;
      cVar1 = *pcVar6;
    }
    if (pcVar6 == pcVar4) {
      uVar5 = dcgettext(0,"missing name",5);
      FUN_0002bcf0(uVar5);
      FUN_0002dff0();
      return (char *)0x0;
    }
    sVar7 = (int)pcVar6 - (int)pcVar4;
    __dest = (void *)xmalloc(sVar7 + 1);
    *(undefined1 *)((int)__dest + sVar7) = 0;
    pcVar4 = (char *)memcpy(__dest,pcVar4,sVar7);
    while (((DAT_00077634 != 0 && (pcVar2 = strchr(pcVar4,0x25), pcVar2 != (char *)0x0)) &&
           (pcVar2[1] == 'S'))) {
      sVar7 = strlen(pcVar4);
      sVar3 = strlen((char *)*DAT_0007763c);
      __dest_00 = (char *)xmalloc((sVar7 - 1) + sVar3);
      memcpy(__dest_00,pcVar4,(int)pcVar2 - (int)pcVar4);
      __dest_01 = stpcpy(__dest_00 + ((int)pcVar2 - (int)pcVar4),(char *)*DAT_0007763c);
      strcpy(__dest_01,pcVar2 + 2);
      free(pcVar4);
      pcVar4 = __dest_00;
    }
  }
  DAT_00077838 = pcVar6;
  if (*DAT_00077838 == ' ') {
    DAT_00077838 = DAT_00077838 + 1;
  }
  return pcVar4;
}

