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

void elf_file_symbol(char *s,int appfile)

{
  symbolS *s_00;
  size_t sVar1;
  char *pcVar2;
  size_t sVar3;
  asymbol *paVar4;
  uint __n;
  
  if ((((appfile == 0) || (symbol_rootP == (symbolS *)0x0)) ||
      (symbol_rootP->bsym == (asymbol *)0x0)) || ((symbol_rootP->bsym->flags & 0x4000) == 0)) {
    s_00 = symbol_new(s,(segT)(PTR__bfd_std_section_00067fa4 + 0x180),0,(fragS *)0x0);
    symbol_set_frag(s_00,(fragS *)PTR_zero_address_frag_00067f64);
    sVar1 = strlen(s);
    pcVar2 = S_GET_NAME(s_00);
    sVar3 = strlen(pcVar2);
    if (sVar3 < sVar1) {
      __n = sVar1 + 1;
      if ((uint)((int)notes.chunk_limit - (int)notes.next_free) < __n) {
        _obstack_newchunk(&notes,__n);
      }
      memcpy(notes.next_free,s,__n);
      pcVar2 = notes.object_base;
      if (notes.next_free + __n == notes.object_base) {
        notes._40_1_ = notes._40_1_ | 2;
      }
      notes.next_free =
           (char *)(~notes.alignment_mask & (uint)(notes.next_free + __n + notes.alignment_mask));
      if ((uint)((int)notes.chunk_limit - (int)notes.chunk) <
          (uint)((int)notes.next_free - (int)notes.chunk)) {
        notes.next_free = notes.chunk_limit;
      }
      notes.object_base = notes.next_free;
      S_SET_NAME(s_00,pcVar2);
    }
    else {
      pcVar2 = S_GET_NAME(s_00);
      strcpy(pcVar2,s);
    }
    paVar4 = symbol_get_bfdsym(s_00);
    paVar4->flags = paVar4->flags | 0x4000;
    if ((symbol_rootP != s_00) &&
       ((symbol_rootP->bsym == (asymbol *)0x0 || ((symbol_rootP->bsym->flags & 0x4000) == 0)))) {
      symbol_remove(s_00,&symbol_rootP,&symbol_lastP);
      symbol_insert(s_00,symbol_rootP,&symbol_rootP,&symbol_lastP);
    }
  }
  return;
}



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

void FUN_000447e0(char *param_1,int param_2)

{
  void *pvVar1;
  int iVar2;
  size_t sVar3;
  char *pcVar4;
  size_t sVar5;
  int iVar6;
  uint __n;
  
  if ((((param_2 == 0) || (DAT_00071114 == 0)) || (*(int *)(DAT_00071114 + 4) == 0)) ||
     ((*(byte *)(*(int *)(DAT_00071114 + 4) + 0x11) & 0x40) == 0)) {
    iVar2 = FUN_00037700(param_1,PTR__bfd_std_section_00067fa4 + 0x180,0,0,0);
    FUN_0003a170(iVar2,PTR_DAT_00067f64);
    sVar3 = strlen(param_1);
    pcVar4 = (char *)FUN_00037470(iVar2);
    sVar5 = strlen(pcVar4);
    if (sVar5 < sVar3) {
      __n = sVar3 + 1;
      if ((uint)((int)DAT_000710b0 - (int)DAT_000710ac) < __n) {
        _obstack_newchunk(&DAT_000710a0,__n);
      }
      memcpy(DAT_000710ac,param_1,__n);
      pvVar1 = DAT_000710a8;
      if ((void *)(__n + (int)DAT_000710ac) == DAT_000710a8) {
        DAT_000710c8 = DAT_000710c8 | 2;
      }
      DAT_000710ac = (void *)(~DAT_000710b8 & (int)(__n + (int)DAT_000710ac) + DAT_000710b8);
      if ((uint)((int)DAT_000710b0 - DAT_000710a4) < (uint)((int)DAT_000710ac - DAT_000710a4)) {
        DAT_000710ac = DAT_000710b0;
      }
      DAT_000710a8 = DAT_000710ac;
      FUN_00039db0(iVar2,pvVar1);
    }
    else {
      pcVar4 = (char *)FUN_00037470(iVar2);
      strcpy(pcVar4,param_1);
    }
    iVar6 = FUN_0003a7e0(iVar2);
    *(uint *)(iVar6 + 0x10) = *(uint *)(iVar6 + 0x10) | 0x4000;
    if ((DAT_00071114 != iVar2) &&
       ((*(int *)(DAT_00071114 + 4) == 0 ||
        ((*(byte *)(*(int *)(DAT_00071114 + 4) + 0x11) & 0x40) == 0)))) {
      FUN_000360c0(iVar2,&DAT_00071114,&DAT_00071118);
      FUN_00036160(iVar2,DAT_00071114,&DAT_00071114,&DAT_00071118);
    }
  }
  return;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00015020
ADD EBX,0x23817
SUB ESP,0x1c
MOV EAX,dword ptr [ESP + 0x34]
LEA EDI,[EBX + 0x9114]
TEST EAX,EAX
JZ 0x00044820
MOV EAX,dword ptr [EDI]
TEST EAX,EAX
JZ 0x00044820
MOV EAX,dword ptr [EAX + 0x4]
TEST EAX,EAX
JZ 0x00044820
TEST byte ptr [EAX + 0x11],0x40
JNZ 0x00044937
LEA ESI,[ESI]
NOP
MOV EAX,dword ptr [EBX + 0xffffffa4]
SUB ESP,0xc
PUSH 0x0
ADD EAX,0x180
PUSH 0x0
PUSH 0x0
PUSH EAX
PUSH dword ptr [ESP + 0x4c]
CALL 0x00037700
ADD ESP,0x18
PUSH dword ptr [EBX + 0xffffff64]
PUSH EAX
MOV ESI,EAX
CALL 0x0003a170
POP EBP
PUSH dword ptr [ESP + 0x3c]
CALL 0x00013440
MOV dword ptr [ESP],ESI
MOV EBP,EAX
CALL 0x00037470
MOV dword ptr [ESP],EAX
CALL 0x00013440
ADD ESP,0x10
CMP EAX,EBP
JNC 0x00044950
LEA ECX,[EBX + 0x90a0]
ADD EBP,0x1
MOV EAX,dword ptr [ECX + 0xc]
MOV EDX,dword ptr [ECX + 0x10]
SUB EDX,EAX
CMP EBP,EDX
JA 0x00044970
MOV dword ptr [ESP + 0x8],ECX
SUB ESP,0x4
PUSH EBP
PUSH dword ptr [ESP + 0x38]
PUSH EAX
CALL 0x000130f0
MOV ECX,dword ptr [ESP + 0x18]
MOV EAX,dword ptr [ECX + 0x8]
ADD EBP,dword ptr [ECX + 0xc]
MOV dword ptr [ECX + 0xc],EBP
MOV dword ptr [ESP + 0x18],EAX
ADD ESP,0x10
CMP EBP,EAX
JZ 0x00044990
MOV EDX,dword ptr [ECX + 0x18]
ADD EBP,EDX
NOT EDX
AND EDX,EBP
MOV EBP,dword ptr [ECX + 0x10]
MOV EAX,EDX
SUB EAX,dword ptr [ECX + 0x4]
MOV dword ptr [ECX + 0xc],EDX
MOV dword ptr [ESP + 0xc],EAX
MOV EAX,EBP
SUB EAX,dword ptr [ECX + 0x4]
CMP dword ptr [ESP + 0xc],EAX
JA 0x00044940
SUB ESP,0x8
MOV dword ptr [ECX + 0x8],EDX
PUSH dword ptr [ESP + 0x10]
PUSH ESI
CALL 0x00039db0
ADD ESP,0x10
SUB ESP,0xc
PUSH ESI
CALL 0x0003a7e0
ADD ESP,0x10
OR dword ptr [EAX + 0x10],0x4000
MOV EAX,dword ptr [EDI]
CMP EAX,ESI
JZ 0x00044937
MOV EAX,dword ptr [EAX + 0x4]
TEST EAX,EAX
JZ 0x00044919
TEST byte ptr [EAX + 0x11],0x40
JNZ 0x00044937
LEA EBP,[EBX + 0x9118]
SUB ESP,0x4
PUSH EBP
PUSH EDI
PUSH ESI
CALL 0x000360c0
PUSH EBP
PUSH EDI
PUSH dword ptr [EDI]
PUSH ESI
CALL 0x00036160
ADD ESP,0x20
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV dword ptr [ECX + 0xc],EBP
MOV EDX,EBP
JMP 0x000448e0
SUB ESP,0xc
PUSH ESI
CALL 0x00037470
POP EDX
POP ECX
PUSH dword ptr [ESP + 0x38]
PUSH EAX
CALL 0x00013310
ADD ESP,0x10
JMP 0x000448f3
SUB ESP,0x8
PUSH EBP
PUSH ECX
MOV dword ptr [ESP + 0x18],ECX
CALL 0x000131a0
MOV ECX,dword ptr [ESP + 0x18]
ADD ESP,0x10
MOV EAX,dword ptr [ECX + 0xc]
JMP 0x0004488f
OR byte ptr [ECX + 0x28],0x2
JMP 0x000448bd
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_000447e0(char *param_1,int param_2)\n\n{\n  void *pvVar1;\n  int iVar2;\n  size_t sVar3;\n  char *pcVar4;\n  size_t sVar5;\n  int iVar6;\n  uint __n;\n  \n  if ((((param_2 == 0) || (DAT_00071114 == 0)) || (*(int *)(DAT_00071114 + 4) == 0)) ||\n     ((*(byte *)(*(int *)(DAT_00071114 + 4) + 0x11) & 0x40) == 0)) {\n    iVar2 = FUN_00037700(param_1,PTR__bfd_std_section_00067fa4 + 0x180,0,0,0);\n    FUN_0003a170(iVar2,PTR_DAT_00067f64);\n    sVar3 = strlen(param_1);\n    pcVar4 = (char *)FUN_00037470(iVar2);\n    sVar5 = strlen(pcVar4);\n    if (sVar5 < sVar3) {\n      __n = sVar3 + 1;\n      if ((uint)((int)DAT_000710b0 - (int)DAT_000710ac) < __n) {\n        _obstack_newchunk(&DAT_000710a0,__n);\n      }\n      memcpy(DAT_000710ac,param_1,__n);\n      pvVar1 = DAT_000710a8;\n      if ((void *)(__n + (int)DAT_000710ac) == DAT_000710a8) {\n        DAT_000710c8 = DAT_000710c8 | 2;\n      }\n      DAT_000710ac = (void *)(~DAT_000710b8 & (int)(__n + (int)DAT_000710ac) + DAT_000710b8);\n      if ((uint)((int)DAT_000710b0 - DAT_000710a4) < (uint)((int)DAT_000710ac - DAT_000710a4)) {\n        DAT_000710ac = DAT_000710b0;\n      }\n      DAT_000710a8 = DAT_000710ac;\n      FUN_00039db0(iVar2,pvVar1);\n    }\n    else {\n      pcVar4 = (char *)FUN_00037470(iVar2);\n      strcpy(pcVar4,param_1);\n    }\n    iVar6 = FUN_0003a7e0(iVar2);\n    *(uint *)(iVar6 + 0x10) = *(uint *)(iVar6 + 0x10) | 0x4000;\n    if ((DAT_00071114 != iVar2) &&\n       ((*(int *)(DAT_00071114 + 4) == 0 ||\n        ((*(byte *)(*(int *)(DAT_00071114 + 4) + 0x11) & 0x40) == 0)))) {\n      FUN_000360c0(iVar2,&DAT_00071114,&DAT_00071118);\n      FUN_00036160(iVar2,DAT_00071114,&DAT_00071114,&DAT_00071118);\n    }\n  }\n  return;\n}\n\n" comment (function_definition "void FUN_000447e0(char *param_1,int param_2)\n\n{\n  void *pvVar1;\n  int iVar2;\n  size_t sVar3;\n  char *pcVar4;\n  size_t sVar5;\n  int iVar6;\n  uint __n;\n  \n  if ((((param_2 == 0) || (DAT_00071114 == 0)) || (*(int *)(DAT_00071114 + 4) == 0)) ||\n     ((*(byte *)(*(int *)(DAT_00071114 + 4) + 0x11) & 0x40) == 0)) {\n    iVar2 = FUN_00037700(param_1,PTR__bfd_std_section_00067fa4 + 0x180,0,0,0);\n    FUN_0003a170(iVar2,PTR_DAT_00067f64);\n    sVar3 = strlen(param_1);\n    pcVar4 = (char *)FUN_00037470(iVar2);\n    sVar5 = strlen(pcVar4);\n    if (sVar5 < sVar3) {\n      __n = sVar3 + 1;\n      if ((uint)((int)DAT_000710b0 - (int)DAT_000710ac) < __n) {\n        _obstack_newchunk(&DAT_000710a0,__n);\n      }\n      memcpy(DAT_000710ac,param_1,__n);\n      pvVar1 = DAT_000710a8;\n      if ((void *)(__n + (int)DAT_000710ac) == DAT_000710a8) {\n        DAT_000710c8 = DAT_000710c8 | 2;\n      }\n      DAT_000710ac = (void *)(~DAT_000710b8 & (int)(__n + (int)DAT_000710ac) + DAT_000710b8);\n      if ((uint)((int)DAT_000710b0 - DAT_000710a4) < (uint)((int)DAT_000710ac - DAT_000710a4)) {\n        DAT_000710ac = DAT_000710b0;\n      }\n      DAT_000710a8 = DAT_000710ac;\n      FUN_00039db0(iVar2,pvVar1);\n    }\n    else {\n      pcVar4 = (char *)FUN_00037470(iVar2);\n      strcpy(pcVar4,param_1);\n    }\n    iVar6 = FUN_0003a7e0(iVar2);\n    *(uint *)(iVar6 + 0x10) = *(uint *)(iVar6 + 0x10) | 0x4000;\n    if ((DAT_00071114 != iVar2) &&\n       ((*(int *)(DAT_00071114 + 4) == 0 ||\n        ((*(byte *)(*(int *)(DAT_00071114 + 4) + 0x11) & 0x40) == 0)))) {\n      FUN_000360c0(iVar2,&DAT_00071114,&DAT_00071118);\n      FUN_00036160(iVar2,DAT_00071114,&DAT_00071114,&DAT_00071118);\n    }\n  }\n  return;\n}" primitive_type (function_declarator "FUN_000447e0(char *param_1,int param_2)" identifier (parameter_list "(char *param_1,int param_2)" ( (parameter_declaration "char *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  void *pvVar1;\n  int iVar2;\n  size_t sVar3;\n  char *pcVar4;\n  size_t sVar5;\n  int iVar6;\n  uint __n;\n  \n  if ((((param_2 == 0) || (DAT_00071114 == 0)) || (*(int *)(DAT_00071114 + 4) == 0)) ||\n     ((*(byte *)(*(int *)(DAT_00071114 + 4) + 0x11) & 0x40) == 0)) {\n    iVar2 = FUN_00037700(param_1,PTR__bfd_std_section_00067fa4 + 0x180,0,0,0);\n    FUN_0003a170(iVar2,PTR_DAT_00067f64);\n    sVar3 = strlen(param_1);\n    pcVar4 = (char *)FUN_00037470(iVar2);\n    sVar5 = strlen(pcVar4);\n    if (sVar5 < sVar3) {\n      __n = sVar3 + 1;\n      if ((uint)((int)DAT_000710b0 - (int)DAT_000710ac) < __n) {\n        _obstack_newchunk(&DAT_000710a0,__n);\n      }\n      memcpy(DAT_000710ac,param_1,__n);\n      pvVar1 = DAT_000710a8;\n      if ((void *)(__n + (int)DAT_000710ac) == DAT_000710a8) {\n        DAT_000710c8 = DAT_000710c8 | 2;\n      }\n      DAT_000710ac = (void *)(~DAT_000710b8 & (int)(__n + (int)DAT_000710ac) + DAT_000710b8);\n      if ((uint)((int)DAT_000710b0 - DAT_000710a4) < (uint)((int)DAT_000710ac - DAT_000710a4)) {\n        DAT_000710ac = DAT_000710b0;\n      }\n      DAT_000710a8 = DAT_000710ac;\n      FUN_00039db0(iVar2,pvVar1);\n    }\n    else {\n      pcVar4 = (char *)FUN_00037470(iVar2);\n      strcpy(pcVar4,param_1);\n    }\n    iVar6 = FUN_0003a7e0(iVar2);\n    *(uint *)(iVar6 + 0x10) = *(uint *)(iVar6 + 0x10) | 0x4000;\n    if ((DAT_00071114 != iVar2) &&\n       ((*(int *)(DAT_00071114 + 4) == 0 ||\n        ((*(byte *)(*(int *)(DAT_00071114 + 4) + 0x11) & 0x40) == 0)))) {\n      FUN_000360c0(iVar2,&DAT_00071114,&DAT_00071118);\n      FUN_00036160(iVar2,DAT_00071114,&DAT_00071114,&DAT_00071118);\n    }\n  }\n  return;\n}" { (declaration "void *pvVar1;" primitive_type (pointer_declarator "*pvVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "size_t sVar3;" primitive_type identifier ;) (declaration "char *pcVar4;" primitive_type (pointer_declarator "*pcVar4" * identifier) ;) (declaration "size_t sVar5;" primitive_type identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "uint __n;" type_identifier identifier ;) (if_statement "if ((((param_2 == 0) || (DAT_00071114 == 0)) || (*(int *)(DAT_00071114 + 4) == 0)) ||\n     ((*(byte *)(*(int *)(DAT_00071114 + 4) + 0x11) & 0x40) == 0)) {\n    iVar2 = FUN_00037700(param_1,PTR__bfd_std_section_00067fa4 + 0x180,0,0,0);\n    FUN_0003a170(iVar2,PTR_DAT_00067f64);\n    sVar3 = strlen(param_1);\n    pcVar4 = (char *)FUN_00037470(iVar2);\n    sVar5 = strlen(pcVar4);\n    if (sVar5 < sVar3) {\n      __n = sVar3 + 1;\n      if ((uint)((int)DAT_000710b0 - (int)DAT_000710ac) < __n) {\n        _obstack_newchunk(&DAT_000710a0,__n);\n      }\n      memcpy(DAT_000710ac,param_1,__n);\n      pvVar1 = DAT_000710a8;\n      if ((void *)(__n + (int)DAT_000710ac) == DAT_000710a8) {\n        DAT_000710c8 = DAT_000710c8 | 2;\n      }\n      DAT_000710ac = (void *)(~DAT_000710b8 & (int)(__n + (int)DAT_000710ac) + DAT_000710b8);\n      if ((uint)((int)DAT_000710b0 - DAT_000710a4) < (uint)((int)DAT_000710ac - DAT_000710a4)) {\n        DAT_000710ac = DAT_000710b0;\n      }\n      DAT_000710a8 = DAT_000710ac;\n      FUN_00039db0(iVar2,pvVar1);\n    }\n    else {\n      pcVar4 = (char *)FUN_00037470(iVar2);\n      strcpy(pcVar4,param_1);\n    }\n    iVar6 = FUN_0003a7e0(iVar2);\n    *(uint *)(iVar6 + 0x10) = *(uint *)(iVar6 + 0x10) | 0x4000;\n    if ((DAT_00071114 != iVar2) &&\n       ((*(int *)(DAT_00071114 + 4) == 0 ||\n        ((*(byte *)(*(int *)(DAT_00071114 + 4) + 0x11) & 0x40) == 0)))) {\n      FUN_000360c0(iVar2,&DAT_00071114,&DAT_00071118);\n      FUN_00036160(iVar2,DAT_00071114,&DAT_00071114,&DAT_00071118);\n    }\n  }" if (parenthesized_expression "((((param_2 == 0) || (DAT_00071114 == 0)) || (*(int *)(DAT_00071114 + 4) == 0)) ||\n     ((*(byte *)(*(int *)(DAT_00071114 + 4) + 0x11) & 0x40) == 0))" ( (binary_expression "(((param_2 == 0) || (DAT_00071114 == 0)) || (*(int *)(DAT_00071114 + 4) == 0)) ||\n     ((*(byte *)(*(int *)(DAT_00071114 + 4) + 0x11) & 0x40) == 0)" (parenthesized_expression "(((param_2 == 0) || (DAT_00071114 == 0)) || (*(int *)(DAT_00071114 + 4) == 0))" ( (binary_expression "((param_2 == 0) || (DAT_00071114 == 0)) || (*(int *)(DAT_00071114 + 4) == 0)" (parenthesized_expression "((param_2 == 0) || (DAT_00071114 == 0))" ( (binary_expression "(param_2 == 0) || (DAT_00071114 == 0)" (parenthesized_expression "(param_2 == 0)" ( (binary_expression "param_2 == 0" identifier == number_literal) )) || (parenthesized_expression "(DAT_00071114 == 0)" ( (binary_expression "DAT_00071114 == 0" identifier == number_literal) ))) )) || (parenthesized_expression "(*(int *)(DAT_00071114 + 4) == 0)" ( (binary_expression "*(int *)(DAT_00071114 + 4) == 0" (pointer_expression "*(int *)(DAT_00071114 + 4)" * (cast_expression "(int *)(DAT_00071114 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_00071114 + 4)" ( (binary_expression "DAT_00071114 + 4" identifier + number_literal) )))) == number_literal) ))) )) || (parenthesized_expression "((*(byte *)(*(int *)(DAT_00071114 + 4) + 0x11) & 0x40) == 0)" ( (binary_expression "(*(byte *)(*(int *)(DAT_00071114 + 4) + 0x11) & 0x40) == 0" (parenthesized_expression "(*(byte *)(*(int *)(DAT_00071114 + 4) + 0x11) & 0x40)" ( (binary_expression "*(byte *)(*(int *)(DAT_00071114 + 4) + 0x11) & 0x40" (pointer_expression "*(byte *)(*(int *)(DAT_00071114 + 4) + 0x11)" * (cast_expression "(byte *)(*(int *)(DAT_00071114 + 4) + 0x11)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(DAT_00071114 + 4) + 0x11)" ( (binary_expression "*(int *)(DAT_00071114 + 4) + 0x11" (pointer_expression "*(int *)(DAT_00071114 + 4)" * (cast_expression "(int *)(DAT_00071114 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_00071114 + 4)" ( (binary_expression "DAT_00071114 + 4" identifier + number_literal) )))) + number_literal) )))) & number_literal) )) == number_literal) ))) )) (compound_statement "{\n    iVar2 = FUN_00037700(param_1,PTR__bfd_std_section_00067fa4 + 0x180,0,0,0);\n    FUN_0003a170(iVar2,PTR_DAT_00067f64);\n    sVar3 = strlen(param_1);\n    pcVar4 = (char *)FUN_00037470(iVar2);\n    sVar5 = strlen(pcVar4);\n    if (sVar5 < sVar3) {\n      __n = sVar3 + 1;\n      if ((uint)((int)DAT_000710b0 - (int)DAT_000710ac) < __n) {\n        _obstack_newchunk(&DAT_000710a0,__n);\n      }\n      memcpy(DAT_000710ac,param_1,__n);\n      pvVar1 = DAT_000710a8;\n      if ((void *)(__n + (int)DAT_000710ac) == DAT_000710a8) {\n        DAT_000710c8 = DAT_000710c8 | 2;\n      }\n      DAT_000710ac = (void *)(~DAT_000710b8 & (int)(__n + (int)DAT_000710ac) + DAT_000710b8);\n      if ((uint)((int)DAT_000710b0 - DAT_000710a4) < (uint)((int)DAT_000710ac - DAT_000710a4)) {\n        DAT_000710ac = DAT_000710b0;\n      }\n      DAT_000710a8 = DAT_000710ac;\n      FUN_00039db0(iVar2,pvVar1);\n    }\n    else {\n      pcVar4 = (char *)FUN_00037470(iVar2);\n      strcpy(pcVar4,param_1);\n    }\n    iVar6 = FUN_0003a7e0(iVar2);\n    *(uint *)(iVar6 + 0x10) = *(uint *)(iVar6 + 0x10) | 0x4000;\n    if ((DAT_00071114 != iVar2) &&\n       ((*(int *)(DAT_00071114 + 4) == 0 ||\n        ((*(byte *)(*(int *)(DAT_00071114 + 4) + 0x11) & 0x40) == 0)))) {\n      FUN_000360c0(iVar2,&DAT_00071114,&DAT_00071118);\n      FUN_00036160(iVar2,DAT_00071114,&DAT_00071114,&DAT_00071118);\n    }\n  }" { (expression_statement "iVar2 = FUN_00037700(param_1,PTR__bfd_std_section_00067fa4 + 0x180,0,0,0);" (assignment_expression "iVar2 = FUN_00037700(param_1,PTR__bfd_std_section_00067fa4 + 0x180,0,0,0)" identifier = (call_expression "FUN_00037700(param_1,PTR__bfd_std_section_00067fa4 + 0x180,0,0,0)" identifier (argument_list "(param_1,PTR__bfd_std_section_00067fa4 + 0x180,0,0,0)" ( identifier , (binary_expression "PTR__bfd_std_section_00067fa4 + 0x180" identifier + number_literal) , number_literal , number_literal , number_literal )))) ;) (expression_statement "FUN_0003a170(iVar2,PTR_DAT_00067f64);" (call_expression "FUN_0003a170(iVar2,PTR_DAT_00067f64)" identifier (argument_list "(iVar2,PTR_DAT_00067f64)" ( identifier , identifier ))) ;) (expression_statement "sVar3 = strlen(param_1);" (assignment_expression "sVar3 = strlen(param_1)" identifier = (call_expression "strlen(param_1)" identifier (argument_list "(param_1)" ( identifier )))) ;) (expression_statement "pcVar4 = (char *)FUN_00037470(iVar2);" (assignment_expression "pcVar4 = (char *)FUN_00037470(iVar2)" identifier = (cast_expression "(char *)FUN_00037470(iVar2)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00037470(iVar2)" identifier (argument_list "(iVar2)" ( identifier ))))) ;) (expression_statement "sVar5 = strlen(pcVar4);" (assignment_expression "sVar5 = strlen(pcVar4)" identifier = (call_expression "strlen(pcVar4)" identifier (argument_list "(pcVar4)" ( identifier )))) ;) (if_statement "if (sVar5 < sVar3) {\n      __n = sVar3 + 1;\n      if ((uint)((int)DAT_000710b0 - (int)DAT_000710ac) < __n) {\n        _obstack_newchunk(&DAT_000710a0,__n);\n      }\n      memcpy(DAT_000710ac,param_1,__n);\n      pvVar1 = DAT_000710a8;\n      if ((void *)(__n + (int)DAT_000710ac) == DAT_000710a8) {\n        DAT_000710c8 = DAT_000710c8 | 2;\n      }\n      DAT_000710ac = (void *)(~DAT_000710b8 & (int)(__n + (int)DAT_000710ac) + DAT_000710b8);\n      if ((uint)((int)DAT_000710b0 - DAT_000710a4) < (uint)((int)DAT_000710ac - DAT_000710a4)) {\n        DAT_000710ac = DAT_000710b0;\n      }\n      DAT_000710a8 = DAT_000710ac;\n      FUN_00039db0(iVar2,pvVar1);\n    }\n    else {\n      pcVar4 = (char *)FUN_00037470(iVar2);\n      strcpy(pcVar4,param_1);\n    }" if (parenthesized_expression "(sVar5 < sVar3)" ( (binary_expression "sVar5 < sVar3" identifier < identifier) )) (compound_statement "{\n      __n = sVar3 + 1;\n      if ((uint)((int)DAT_000710b0 - (int)DAT_000710ac) < __n) {\n        _obstack_newchunk(&DAT_000710a0,__n);\n      }\n      memcpy(DAT_000710ac,param_1,__n);\n      pvVar1 = DAT_000710a8;\n      if ((void *)(__n + (int)DAT_000710ac) == DAT_000710a8) {\n        DAT_000710c8 = DAT_000710c8 | 2;\n      }\n      DAT_000710ac = (void *)(~DAT_000710b8 & (int)(__n + (int)DAT_000710ac) + DAT_000710b8);\n      if ((uint)((int)DAT_000710b0 - DAT_000710a4) < (uint)((int)DAT_000710ac - DAT_000710a4)) {\n        DAT_000710ac = DAT_000710b0;\n      }\n      DAT_000710a8 = DAT_000710ac;\n      FUN_00039db0(iVar2,pvVar1);\n    }" { (expression_statement "__n = sVar3 + 1;" (assignment_expression "__n = sVar3 + 1" identifier = (binary_expression "sVar3 + 1" identifier + number_literal)) ;) (if_statement "if ((uint)((int)DAT_000710b0 - (int)DAT_000710ac) < __n) {\n        _obstack_newchunk(&DAT_000710a0,__n);\n      }" if (parenthesized_expression "((uint)((int)DAT_000710b0 - (int)DAT_000710ac) < __n)" ( (binary_expression "(uint)((int)DAT_000710b0 - (int)DAT_000710ac) < __n" (call_expression "(uint)((int)DAT_000710b0 - (int)DAT_000710ac)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((int)DAT_000710b0 - (int)DAT_000710ac)" ( (binary_expression "(int)DAT_000710b0 - (int)DAT_000710ac" (cast_expression "(int)DAT_000710b0" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)DAT_000710ac" ( (type_descriptor "int" primitive_type) ) identifier)) ))) < identifier) )) (compound_statement "{\n        _obstack_newchunk(&DAT_000710a0,__n);\n      }" { (expression_statement "_obstack_newchunk(&DAT_000710a0,__n);" (call_expression "_obstack_newchunk(&DAT_000710a0,__n)" identifier (argument_list "(&DAT_000710a0,__n)" ( (pointer_expression "&DAT_000710a0" & identifier) , identifier ))) ;) })) (expression_statement "memcpy(DAT_000710ac,param_1,__n);" (call_expression "memcpy(DAT_000710ac,param_1,__n)" identifier (argument_list "(DAT_000710ac,param_1,__n)" ( identifier , identifier , identifier ))) ;) (expression_statement "pvVar1 = DAT_000710a8;" (assignment_expression "pvVar1 = DAT_000710a8" identifier = identifier) ;) (if_statement "if ((void *)(__n + (int)DAT_000710ac) == DAT_000710a8) {\n        DAT_000710c8 = DAT_000710c8 | 2;\n      }" if (parenthesized_expression "((void *)(__n + (int)DAT_000710ac) == DAT_000710a8)" ( (binary_expression "(void *)(__n + (int)DAT_000710ac) == DAT_000710a8" (cast_expression "(void *)(__n + (int)DAT_000710ac)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(__n + (int)DAT_000710ac)" ( (binary_expression "__n + (int)DAT_000710ac" identifier + (cast_expression "(int)DAT_000710ac" ( (type_descriptor "int" primitive_type) ) identifier)) ))) == identifier) )) (compound_statement "{\n        DAT_000710c8 = DAT_000710c8 | 2;\n      }" { (expression_statement "DAT_000710c8 = DAT_000710c8 | 2;" (assignment_expression "DAT_000710c8 = DAT_000710c8 | 2" identifier = (binary_expression "DAT_000710c8 | 2" identifier | number_literal)) ;) })) (expression_statement "DAT_000710ac = (void *)(~DAT_000710b8 & (int)(__n + (int)DAT_000710ac) + DAT_000710b8);" (assignment_expression "DAT_000710ac = (void *)(~DAT_000710b8 & (int)(__n + (int)DAT_000710ac) + DAT_000710b8)" identifier = (cast_expression "(void *)(~DAT_000710b8 & (int)(__n + (int)DAT_000710ac) + DAT_000710b8)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(~DAT_000710b8 & (int)(__n + (int)DAT_000710ac) + DAT_000710b8)" ( (binary_expression "~DAT_000710b8 & (int)(__n + (int)DAT_000710ac) + DAT_000710b8" (unary_expression "~DAT_000710b8" ~ identifier) & (binary_expression "(int)(__n + (int)DAT_000710ac) + DAT_000710b8" (cast_expression "(int)(__n + (int)DAT_000710ac)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(__n + (int)DAT_000710ac)" ( (binary_expression "__n + (int)DAT_000710ac" identifier + (cast_expression "(int)DAT_000710ac" ( (type_descriptor "int" primitive_type) ) identifier)) ))) + identifier)) )))) ;) (if_statement "if ((uint)((int)DAT_000710b0 - DAT_000710a4) < (uint)((int)DAT_000710ac - DAT_000710a4)) {\n        DAT_000710ac = DAT_000710b0;\n      }" if (parenthesized_expression "((uint)((int)DAT_000710b0 - DAT_000710a4) < (uint)((int)DAT_000710ac - DAT_000710a4))" ( (binary_expression "(uint)((int)DAT_000710b0 - DAT_000710a4) < (uint)((int)DAT_000710ac - DAT_000710a4)" (call_expression "(uint)((int)DAT_000710b0 - DAT_000710a4)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((int)DAT_000710b0 - DAT_000710a4)" ( (binary_expression "(int)DAT_000710b0 - DAT_000710a4" (cast_expression "(int)DAT_000710b0" ( (type_descriptor "int" primitive_type) ) identifier) - identifier) ))) < (call_expression "(uint)((int)DAT_000710ac - DAT_000710a4)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((int)DAT_000710ac - DAT_000710a4)" ( (binary_expression "(int)DAT_000710ac - DAT_000710a4" (cast_expression "(int)DAT_000710ac" ( (type_descriptor "int" primitive_type) ) identifier) - identifier) )))) )) (compound_statement "{\n        DAT_000710ac = DAT_000710b0;\n      }" { (expression_statement "DAT_000710ac = DAT_000710b0;" (assignment_expression "DAT_000710ac = DAT_000710b0" identifier = identifier) ;) })) (expression_statement "DAT_000710a8 = DAT_000710ac;" (assignment_expression "DAT_000710a8 = DAT_000710ac" identifier = identifier) ;) (expression_statement "FUN_00039db0(iVar2,pvVar1);" (call_expression "FUN_00039db0(iVar2,pvVar1)" identifier (argument_list "(iVar2,pvVar1)" ( identifier , identifier ))) ;) }) (else_clause "else {\n      pcVar4 = (char *)FUN_00037470(iVar2);\n      strcpy(pcVar4,param_1);\n    }" else (compound_statement "{\n      pcVar4 = (char *)FUN_00037470(iVar2);\n      strcpy(pcVar4,param_1);\n    }" { (expression_statement "pcVar4 = (char *)FUN_00037470(iVar2);" (assignment_expression "pcVar4 = (char *)FUN_00037470(iVar2)" identifier = (cast_expression "(char *)FUN_00037470(iVar2)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00037470(iVar2)" identifier (argument_list "(iVar2)" ( identifier ))))) ;) (expression_statement "strcpy(pcVar4,param_1);" (call_expression "strcpy(pcVar4,param_1)" identifier (argument_list "(pcVar4,param_1)" ( identifier , identifier ))) ;) }))) (expression_statement "iVar6 = FUN_0003a7e0(iVar2);" (assignment_expression "iVar6 = FUN_0003a7e0(iVar2)" identifier = (call_expression "FUN_0003a7e0(iVar2)" identifier (argument_list "(iVar2)" ( identifier )))) ;) (expression_statement "*(uint *)(iVar6 + 0x10) = *(uint *)(iVar6 + 0x10) | 0x4000;" (assignment_expression "*(uint *)(iVar6 + 0x10) = *(uint *)(iVar6 + 0x10) | 0x4000" (pointer_expression "*(uint *)(iVar6 + 0x10)" * (cast_expression "(uint *)(iVar6 + 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x10)" ( (binary_expression "iVar6 + 0x10" identifier + number_literal) )))) = (binary_expression "*(uint *)(iVar6 + 0x10) | 0x4000" (pointer_expression "*(uint *)(iVar6 + 0x10)" * (cast_expression "(uint *)(iVar6 + 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x10)" ( (binary_expression "iVar6 + 0x10" identifier + number_literal) )))) | number_literal)) ;) (if_statement "if ((DAT_00071114 != iVar2) &&\n       ((*(int *)(DAT_00071114 + 4) == 0 ||\n        ((*(byte *)(*(int *)(DAT_00071114 + 4) + 0x11) & 0x40) == 0)))) {\n      FUN_000360c0(iVar2,&DAT_00071114,&DAT_00071118);\n      FUN_00036160(iVar2,DAT_00071114,&DAT_00071114,&DAT_00071118);\n    }" if (parenthesized_expression "((DAT_00071114 != iVar2) &&\n       ((*(int *)(DAT_00071114 + 4) == 0 ||\n        ((*(byte *)(*(int *)(DAT_00071114 + 4) + 0x11) & 0x40) == 0))))" ( (binary_expression "(DAT_00071114 != iVar2) &&\n       ((*(int *)(DAT_00071114 + 4) == 0 ||\n        ((*(byte *)(*(int *)(DAT_00071114 + 4) + 0x11) & 0x40) == 0)))" (parenthesized_expression "(DAT_00071114 != iVar2)" ( (binary_expression "DAT_00071114 != iVar2" identifier != identifier) )) && (parenthesized_expression "((*(int *)(DAT_00071114 + 4) == 0 ||\n        ((*(byte *)(*(int *)(DAT_00071114 + 4) + 0x11) & 0x40) == 0)))" ( (parenthesized_expression "(*(int *)(DAT_00071114 + 4) == 0 ||\n        ((*(byte *)(*(int *)(DAT_00071114 + 4) + 0x11) & 0x40) == 0))" ( (binary_expression "*(int *)(DAT_00071114 + 4) == 0 ||\n        ((*(byte *)(*(int *)(DAT_00071114 + 4) + 0x11) & 0x40) == 0)" (binary_expression "*(int *)(DAT_00071114 + 4) == 0" (pointer_expression "*(int *)(DAT_00071114 + 4)" * (cast_expression "(int *)(DAT_00071114 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_00071114 + 4)" ( (binary_expression "DAT_00071114 + 4" identifier + number_literal) )))) == number_literal) || (parenthesized_expression "((*(byte *)(*(int *)(DAT_00071114 + 4) + 0x11) & 0x40) == 0)" ( (binary_expression "(*(byte *)(*(int *)(DAT_00071114 + 4) + 0x11) & 0x40) == 0" (parenthesized_expression "(*(byte *)(*(int *)(DAT_00071114 + 4) + 0x11) & 0x40)" ( (binary_expression "*(byte *)(*(int *)(DAT_00071114 + 4) + 0x11) & 0x40" (pointer_expression "*(byte *)(*(int *)(DAT_00071114 + 4) + 0x11)" * (cast_expression "(byte *)(*(int *)(DAT_00071114 + 4) + 0x11)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(DAT_00071114 + 4) + 0x11)" ( (binary_expression "*(int *)(DAT_00071114 + 4) + 0x11" (pointer_expression "*(int *)(DAT_00071114 + 4)" * (cast_expression "(int *)(DAT_00071114 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_00071114 + 4)" ( (binary_expression "DAT_00071114 + 4" identifier + number_literal) )))) + number_literal) )))) & number_literal) )) == number_literal) ))) )) ))) )) (compound_statement "{\n      FUN_000360c0(iVar2,&DAT_00071114,&DAT_00071118);\n      FUN_00036160(iVar2,DAT_00071114,&DAT_00071114,&DAT_00071118);\n    }" { (expression_statement "FUN_000360c0(iVar2,&DAT_00071114,&DAT_00071118);" (call_expression "FUN_000360c0(iVar2,&DAT_00071114,&DAT_00071118)" identifier (argument_list "(iVar2,&DAT_00071114,&DAT_00071118)" ( identifier , (pointer_expression "&DAT_00071114" & identifier) , (pointer_expression "&DAT_00071118" & identifier) ))) ;) (expression_statement "FUN_00036160(iVar2,DAT_00071114,&DAT_00071114,&DAT_00071118);" (call_expression "FUN_00036160(iVar2,DAT_00071114,&DAT_00071114,&DAT_00071118)" identifier (argument_list "(iVar2,DAT_00071114,&DAT_00071114,&DAT_00071118)" ( identifier , identifier , (pointer_expression "&DAT_00071114" & identifier) , (pointer_expression "&DAT_00071118" & identifier) ))) ;) })) })) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n\nvoid elf_file_symbol(char *s,int appfile)\n\n{\n  symbolS *s_00;\n  size_t sVar1;\n  char *pcVar2;\n  size_t sVar3;\n  asymbol *paVar4;\n  uint __n;\n  \n  if ((((appfile == 0) || (symbol_rootP == (symbolS *)0x0)) ||\n      (symbol_rootP->bsym == (asymbol *)0x0)) || ((symbol_rootP->bsym->flags & 0x4000) == 0)) {\n    s_00 = symbol_new(s,(segT)(PTR__bfd_std_section_00067fa4 + 0x180),0,(fragS *)0x0);\n    symbol_set_frag(s_00,(fragS *)PTR_zero_address_frag_00067f64);\n    sVar1 = strlen(s);\n    pcVar2 = S_GET_NAME(s_00);\n    sVar3 = strlen(pcVar2);\n    if (sVar3 < sVar1) {\n      __n = sVar1 + 1;\n      if ((uint)((int)notes.chunk_limit - (int)notes.next_free) < __n) {\n        _obstack_newchunk(&notes,__n);\n      }\n      memcpy(notes.next_free,s,__n);\n      pcVar2 = notes.object_base;\n      if (notes.next_free + __n == notes.object_base) {\n        notes._40_1_ = notes._40_1_ | 2;\n      }\n      notes.next_free =\n           (char *)(~notes.alignment_mask & (uint)(notes.next_free + __n + notes.alignment_mask));\n      if ((uint)((int)notes.chunk_limit - (int)notes.chunk) <\n          (uint)((int)notes.next_free - (int)notes.chunk)) {\n        notes.next_free = notes.chunk_limit;\n      }\n      notes.object_base = notes.next_free;\n      S_SET_NAME(s_00,pcVar2);\n    }\n    else {\n      pcVar2 = S_GET_NAME(s_00);\n      strcpy(pcVar2,s);\n    }\n    paVar4 = symbol_get_bfdsym(s_00);\n    paVar4->flags = paVar4->flags | 0x4000;\n    if ((symbol_rootP != s_00) &&\n       ((symbol_rootP->bsym == (asymbol *)0x0 || ((symbol_rootP->bsym->flags & 0x4000) == 0)))) {\n      symbol_remove(s_00,&symbol_rootP,&symbol_lastP);\n      symbol_insert(s_00,symbol_rootP,&symbol_rootP,&symbol_lastP);\n    }\n  }\n  return;\n}\n\n" comment comment (function_definition "void elf_file_symbol(char *s,int appfile)\n\n{\n  symbolS *s_00;\n  size_t sVar1;\n  char *pcVar2;\n  size_t sVar3;\n  asymbol *paVar4;\n  uint __n;\n  \n  if ((((appfile == 0) || (symbol_rootP == (symbolS *)0x0)) ||\n      (symbol_rootP->bsym == (asymbol *)0x0)) || ((symbol_rootP->bsym->flags & 0x4000) == 0)) {\n    s_00 = symbol_new(s,(segT)(PTR__bfd_std_section_00067fa4 + 0x180),0,(fragS *)0x0);\n    symbol_set_frag(s_00,(fragS *)PTR_zero_address_frag_00067f64);\n    sVar1 = strlen(s);\n    pcVar2 = S_GET_NAME(s_00);\n    sVar3 = strlen(pcVar2);\n    if (sVar3 < sVar1) {\n      __n = sVar1 + 1;\n      if ((uint)((int)notes.chunk_limit - (int)notes.next_free) < __n) {\n        _obstack_newchunk(&notes,__n);\n      }\n      memcpy(notes.next_free,s,__n);\n      pcVar2 = notes.object_base;\n      if (notes.next_free + __n == notes.object_base) {\n        notes._40_1_ = notes._40_1_ | 2;\n      }\n      notes.next_free =\n           (char *)(~notes.alignment_mask & (uint)(notes.next_free + __n + notes.alignment_mask));\n      if ((uint)((int)notes.chunk_limit - (int)notes.chunk) <\n          (uint)((int)notes.next_free - (int)notes.chunk)) {\n        notes.next_free = notes.chunk_limit;\n      }\n      notes.object_base = notes.next_free;\n      S_SET_NAME(s_00,pcVar2);\n    }\n    else {\n      pcVar2 = S_GET_NAME(s_00);\n      strcpy(pcVar2,s);\n    }\n    paVar4 = symbol_get_bfdsym(s_00);\n    paVar4->flags = paVar4->flags | 0x4000;\n    if ((symbol_rootP != s_00) &&\n       ((symbol_rootP->bsym == (asymbol *)0x0 || ((symbol_rootP->bsym->flags & 0x4000) == 0)))) {\n      symbol_remove(s_00,&symbol_rootP,&symbol_lastP);\n      symbol_insert(s_00,symbol_rootP,&symbol_rootP,&symbol_lastP);\n    }\n  }\n  return;\n}" primitive_type (function_declarator "elf_file_symbol(char *s,int appfile)" identifier (parameter_list "(char *s,int appfile)" ( (parameter_declaration "char *s" primitive_type (pointer_declarator "*s" * identifier)) , (parameter_declaration "int appfile" primitive_type identifier) ))) (compound_statement "{\n  symbolS *s_00;\n  size_t sVar1;\n  char *pcVar2;\n  size_t sVar3;\n  asymbol *paVar4;\n  uint __n;\n  \n  if ((((appfile == 0) || (symbol_rootP == (symbolS *)0x0)) ||\n      (symbol_rootP->bsym == (asymbol *)0x0)) || ((symbol_rootP->bsym->flags & 0x4000) == 0)) {\n    s_00 = symbol_new(s,(segT)(PTR__bfd_std_section_00067fa4 + 0x180),0,(fragS *)0x0);\n    symbol_set_frag(s_00,(fragS *)PTR_zero_address_frag_00067f64);\n    sVar1 = strlen(s);\n    pcVar2 = S_GET_NAME(s_00);\n    sVar3 = strlen(pcVar2);\n    if (sVar3 < sVar1) {\n      __n = sVar1 + 1;\n      if ((uint)((int)notes.chunk_limit - (int)notes.next_free) < __n) {\n        _obstack_newchunk(&notes,__n);\n      }\n      memcpy(notes.next_free,s,__n);\n      pcVar2 = notes.object_base;\n      if (notes.next_free + __n == notes.object_base) {\n        notes._40_1_ = notes._40_1_ | 2;\n      }\n      notes.next_free =\n           (char *)(~notes.alignment_mask & (uint)(notes.next_free + __n + notes.alignment_mask));\n      if ((uint)((int)notes.chunk_limit - (int)notes.chunk) <\n          (uint)((int)notes.next_free - (int)notes.chunk)) {\n        notes.next_free = notes.chunk_limit;\n      }\n      notes.object_base = notes.next_free;\n      S_SET_NAME(s_00,pcVar2);\n    }\n    else {\n      pcVar2 = S_GET_NAME(s_00);\n      strcpy(pcVar2,s);\n    }\n    paVar4 = symbol_get_bfdsym(s_00);\n    paVar4->flags = paVar4->flags | 0x4000;\n    if ((symbol_rootP != s_00) &&\n       ((symbol_rootP->bsym == (asymbol *)0x0 || ((symbol_rootP->bsym->flags & 0x4000) == 0)))) {\n      symbol_remove(s_00,&symbol_rootP,&symbol_lastP);\n      symbol_insert(s_00,symbol_rootP,&symbol_rootP,&symbol_lastP);\n    }\n  }\n  return;\n}" { (declaration "symbolS *s_00;" type_identifier (pointer_declarator "*s_00" * identifier) ;) (declaration "size_t sVar1;" primitive_type identifier ;) (declaration "char *pcVar2;" primitive_type (pointer_declarator "*pcVar2" * identifier) ;) (declaration "size_t sVar3;" primitive_type identifier ;) (declaration "asymbol *paVar4;" type_identifier (pointer_declarator "*paVar4" * identifier) ;) (declaration "uint __n;" type_identifier identifier ;) (if_statement "if ((((appfile == 0) || (symbol_rootP == (symbolS *)0x0)) ||\n      (symbol_rootP->bsym == (asymbol *)0x0)) || ((symbol_rootP->bsym->flags & 0x4000) == 0)) {\n    s_00 = symbol_new(s,(segT)(PTR__bfd_std_section_00067fa4 + 0x180),0,(fragS *)0x0);\n    symbol_set_frag(s_00,(fragS *)PTR_zero_address_frag_00067f64);\n    sVar1 = strlen(s);\n    pcVar2 = S_GET_NAME(s_00);\n    sVar3 = strlen(pcVar2);\n    if (sVar3 < sVar1) {\n      __n = sVar1 + 1;\n      if ((uint)((int)notes.chunk_limit - (int)notes.next_free) < __n) {\n        _obstack_newchunk(&notes,__n);\n      }\n      memcpy(notes.next_free,s,__n);\n      pcVar2 = notes.object_base;\n      if (notes.next_free + __n == notes.object_base) {\n        notes._40_1_ = notes._40_1_ | 2;\n      }\n      notes.next_free =\n           (char *)(~notes.alignment_mask & (uint)(notes.next_free + __n + notes.alignment_mask));\n      if ((uint)((int)notes.chunk_limit - (int)notes.chunk) <\n          (uint)((int)notes.next_free - (int)notes.chunk)) {\n        notes.next_free = notes.chunk_limit;\n      }\n      notes.object_base = notes.next_free;\n      S_SET_NAME(s_00,pcVar2);\n    }\n    else {\n      pcVar2 = S_GET_NAME(s_00);\n      strcpy(pcVar2,s);\n    }\n    paVar4 = symbol_get_bfdsym(s_00);\n    paVar4->flags = paVar4->flags | 0x4000;\n    if ((symbol_rootP != s_00) &&\n       ((symbol_rootP->bsym == (asymbol *)0x0 || ((symbol_rootP->bsym->flags & 0x4000) == 0)))) {\n      symbol_remove(s_00,&symbol_rootP,&symbol_lastP);\n      symbol_insert(s_00,symbol_rootP,&symbol_rootP,&symbol_lastP);\n    }\n  }" if (parenthesized_expression "((((appfile == 0) || (symbol_rootP == (symbolS *)0x0)) ||\n      (symbol_rootP->bsym == (asymbol *)0x0)) || ((symbol_rootP->bsym->flags & 0x4000) == 0))" ( (binary_expression "(((appfile == 0) || (symbol_rootP == (symbolS *)0x0)) ||\n      (symbol_rootP->bsym == (asymbol *)0x0)) || ((symbol_rootP->bsym->flags & 0x4000) == 0)" (parenthesized_expression "(((appfile == 0) || (symbol_rootP == (symbolS *)0x0)) ||\n      (symbol_rootP->bsym == (asymbol *)0x0))" ( (binary_expression "((appfile == 0) || (symbol_rootP == (symbolS *)0x0)) ||\n      (symbol_rootP->bsym == (asymbol *)0x0)" (parenthesized_expression "((appfile == 0) || (symbol_rootP == (symbolS *)0x0))" ( (binary_expression "(appfile == 0) || (symbol_rootP == (symbolS *)0x0)" (parenthesized_expression "(appfile == 0)" ( (binary_expression "appfile == 0" identifier == number_literal) )) || (parenthesized_expression "(symbol_rootP == (symbolS *)0x0)" ( (binary_expression "symbol_rootP == (symbolS *)0x0" identifier == (cast_expression "(symbolS *)0x0" ( (type_descriptor "symbolS *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ))) )) || (parenthesized_expression "(symbol_rootP->bsym == (asymbol *)0x0)" ( (binary_expression "symbol_rootP->bsym == (asymbol *)0x0" (field_expression "symbol_rootP->bsym" identifier -> field_identifier) == (cast_expression "(asymbol *)0x0" ( (type_descriptor "asymbol *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ))) )) || (parenthesized_expression "((symbol_rootP->bsym->flags & 0x4000) == 0)" ( (binary_expression "(symbol_rootP->bsym->flags & 0x4000) == 0" (parenthesized_expression "(symbol_rootP->bsym->flags & 0x4000)" ( (binary_expression "symbol_rootP->bsym->flags & 0x4000" (field_expression "symbol_rootP->bsym->flags" (field_expression "symbol_rootP->bsym" identifier -> field_identifier) -> field_identifier) & number_literal) )) == number_literal) ))) )) (compound_statement "{\n    s_00 = symbol_new(s,(segT)(PTR__bfd_std_section_00067fa4 + 0x180),0,(fragS *)0x0);\n    symbol_set_frag(s_00,(fragS *)PTR_zero_address_frag_00067f64);\n    sVar1 = strlen(s);\n    pcVar2 = S_GET_NAME(s_00);\n    sVar3 = strlen(pcVar2);\n    if (sVar3 < sVar1) {\n      __n = sVar1 + 1;\n      if ((uint)((int)notes.chunk_limit - (int)notes.next_free) < __n) {\n        _obstack_newchunk(&notes,__n);\n      }\n      memcpy(notes.next_free,s,__n);\n      pcVar2 = notes.object_base;\n      if (notes.next_free + __n == notes.object_base) {\n        notes._40_1_ = notes._40_1_ | 2;\n      }\n      notes.next_free =\n           (char *)(~notes.alignment_mask & (uint)(notes.next_free + __n + notes.alignment_mask));\n      if ((uint)((int)notes.chunk_limit - (int)notes.chunk) <\n          (uint)((int)notes.next_free - (int)notes.chunk)) {\n        notes.next_free = notes.chunk_limit;\n      }\n      notes.object_base = notes.next_free;\n      S_SET_NAME(s_00,pcVar2);\n    }\n    else {\n      pcVar2 = S_GET_NAME(s_00);\n      strcpy(pcVar2,s);\n    }\n    paVar4 = symbol_get_bfdsym(s_00);\n    paVar4->flags = paVar4->flags | 0x4000;\n    if ((symbol_rootP != s_00) &&\n       ((symbol_rootP->bsym == (asymbol *)0x0 || ((symbol_rootP->bsym->flags & 0x4000) == 0)))) {\n      symbol_remove(s_00,&symbol_rootP,&symbol_lastP);\n      symbol_insert(s_00,symbol_rootP,&symbol_rootP,&symbol_lastP);\n    }\n  }" { (expression_statement "s_00 = symbol_new(s,(segT)(PTR__bfd_std_section_00067fa4 + 0x180),0,(fragS *)0x0);" (assignment_expression "s_00 = symbol_new(s,(segT)(PTR__bfd_std_section_00067fa4 + 0x180),0,(fragS *)0x0)" identifier = (call_expression "symbol_new(s,(segT)(PTR__bfd_std_section_00067fa4 + 0x180),0,(fragS *)0x0)" identifier (argument_list "(s,(segT)(PTR__bfd_std_section_00067fa4 + 0x180),0,(fragS *)0x0)" ( identifier , (call_expression "(segT)(PTR__bfd_std_section_00067fa4 + 0x180)" (parenthesized_expression "(segT)" ( identifier )) (argument_list "(PTR__bfd_std_section_00067fa4 + 0x180)" ( (binary_expression "PTR__bfd_std_section_00067fa4 + 0x180" identifier + number_literal) ))) , number_literal , (cast_expression "(fragS *)0x0" ( (type_descriptor "fragS *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) )))) ;) (expression_statement "symbol_set_frag(s_00,(fragS *)PTR_zero_address_frag_00067f64);" (call_expression "symbol_set_frag(s_00,(fragS *)PTR_zero_address_frag_00067f64)" identifier (argument_list "(s_00,(fragS *)PTR_zero_address_frag_00067f64)" ( identifier , (cast_expression "(fragS *)PTR_zero_address_frag_00067f64" ( (type_descriptor "fragS *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) ))) ;) (expression_statement "sVar1 = strlen(s);" (assignment_expression "sVar1 = strlen(s)" identifier = (call_expression "strlen(s)" identifier (argument_list "(s)" ( identifier )))) ;) (expression_statement "pcVar2 = S_GET_NAME(s_00);" (assignment_expression "pcVar2 = S_GET_NAME(s_00)" identifier = (call_expression "S_GET_NAME(s_00)" identifier (argument_list "(s_00)" ( identifier )))) ;) (expression_statement "sVar3 = strlen(pcVar2);" (assignment_expression "sVar3 = strlen(pcVar2)" identifier = (call_expression "strlen(pcVar2)" identifier (argument_list "(pcVar2)" ( identifier )))) ;) (if_statement "if (sVar3 < sVar1) {\n      __n = sVar1 + 1;\n      if ((uint)((int)notes.chunk_limit - (int)notes.next_free) < __n) {\n        _obstack_newchunk(&notes,__n);\n      }\n      memcpy(notes.next_free,s,__n);\n      pcVar2 = notes.object_base;\n      if (notes.next_free + __n == notes.object_base) {\n        notes._40_1_ = notes._40_1_ | 2;\n      }\n      notes.next_free =\n           (char *)(~notes.alignment_mask & (uint)(notes.next_free + __n + notes.alignment_mask));\n      if ((uint)((int)notes.chunk_limit - (int)notes.chunk) <\n          (uint)((int)notes.next_free - (int)notes.chunk)) {\n        notes.next_free = notes.chunk_limit;\n      }\n      notes.object_base = notes.next_free;\n      S_SET_NAME(s_00,pcVar2);\n    }\n    else {\n      pcVar2 = S_GET_NAME(s_00);\n      strcpy(pcVar2,s);\n    }" if (parenthesized_expression "(sVar3 < sVar1)" ( (binary_expression "sVar3 < sVar1" identifier < identifier) )) (compound_statement "{\n      __n = sVar1 + 1;\n      if ((uint)((int)notes.chunk_limit - (int)notes.next_free) < __n) {\n        _obstack_newchunk(&notes,__n);\n      }\n      memcpy(notes.next_free,s,__n);\n      pcVar2 = notes.object_base;\n      if (notes.next_free + __n == notes.object_base) {\n        notes._40_1_ = notes._40_1_ | 2;\n      }\n      notes.next_free =\n           (char *)(~notes.alignment_mask & (uint)(notes.next_free + __n + notes.alignment_mask));\n      if ((uint)((int)notes.chunk_limit - (int)notes.chunk) <\n          (uint)((int)notes.next_free - (int)notes.chunk)) {\n        notes.next_free = notes.chunk_limit;\n      }\n      notes.object_base = notes.next_free;\n      S_SET_NAME(s_00,pcVar2);\n    }" { (expression_statement "__n = sVar1 + 1;" (assignment_expression "__n = sVar1 + 1" identifier = (binary_expression "sVar1 + 1" identifier + number_literal)) ;) (if_statement "if ((uint)((int)notes.chunk_limit - (int)notes.next_free) < __n) {\n        _obstack_newchunk(&notes,__n);\n      }" if (parenthesized_expression "((uint)((int)notes.chunk_limit - (int)notes.next_free) < __n)" ( (binary_expression "(uint)((int)notes.chunk_limit - (int)notes.next_free) < __n" (call_expression "(uint)((int)notes.chunk_limit - (int)notes.next_free)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((int)notes.chunk_limit - (int)notes.next_free)" ( (binary_expression "(int)notes.chunk_limit - (int)notes.next_free" (cast_expression "(int)notes.chunk_limit" ( (type_descriptor "int" primitive_type) ) (field_expression "notes.chunk_limit" identifier . field_identifier)) - (cast_expression "(int)notes.next_free" ( (type_descriptor "int" primitive_type) ) (field_expression "notes.next_free" identifier . field_identifier))) ))) < identifier) )) (compound_statement "{\n        _obstack_newchunk(&notes,__n);\n      }" { (expression_statement "_obstack_newchunk(&notes,__n);" (call_expression "_obstack_newchunk(&notes,__n)" identifier (argument_list "(&notes,__n)" ( (pointer_expression "&notes" & identifier) , identifier ))) ;) })) (expression_statement "memcpy(notes.next_free,s,__n);" (call_expression "memcpy(notes.next_free,s,__n)" identifier (argument_list "(notes.next_free,s,__n)" ( (field_expression "notes.next_free" identifier . field_identifier) , identifier , identifier ))) ;) (expression_statement "pcVar2 = notes.object_base;" (assignment_expression "pcVar2 = notes.object_base" identifier = (field_expression "notes.object_base" identifier . field_identifier)) ;) (if_statement "if (notes.next_free + __n == notes.object_base) {\n        notes._40_1_ = notes._40_1_ | 2;\n      }" if (parenthesized_expression "(notes.next_free + __n == notes.object_base)" ( (binary_expression "notes.next_free + __n == notes.object_base" (binary_expression "notes.next_free + __n" (field_expression "notes.next_free" identifier . field_identifier) + identifier) == (field_expression "notes.object_base" identifier . field_identifier)) )) (compound_statement "{\n        notes._40_1_ = notes._40_1_ | 2;\n      }" { (expression_statement "notes._40_1_ = notes._40_1_ | 2;" (assignment_expression "notes._40_1_ = notes._40_1_ | 2" (field_expression "notes._40_1_" identifier . field_identifier) = (binary_expression "notes._40_1_ | 2" (field_expression "notes._40_1_" identifier . field_identifier) | number_literal)) ;) })) (expression_statement "notes.next_free =\n           (char *)(~notes.alignment_mask & (uint)(notes.next_free + __n + notes.alignment_mask));" (assignment_expression "notes.next_free =\n           (char *)(~notes.alignment_mask & (uint)(notes.next_free + __n + notes.alignment_mask))" (field_expression "notes.next_free" identifier . field_identifier) = (cast_expression "(char *)(~notes.alignment_mask & (uint)(notes.next_free + __n + notes.alignment_mask))" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(~notes.alignment_mask & (uint)(notes.next_free + __n + notes.alignment_mask))" ( (binary_expression "~notes.alignment_mask & (uint)(notes.next_free + __n + notes.alignment_mask)" (unary_expression "~notes.alignment_mask" ~ (field_expression "notes.alignment_mask" identifier . field_identifier)) & (call_expression "(uint)(notes.next_free + __n + notes.alignment_mask)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(notes.next_free + __n + notes.alignment_mask)" ( (binary_expression "notes.next_free + __n + notes.alignment_mask" (binary_expression "notes.next_free + __n" (field_expression "notes.next_free" identifier . field_identifier) + identifier) + (field_expression "notes.alignment_mask" identifier . field_identifier)) )))) )))) ;) (if_statement "if ((uint)((int)notes.chunk_limit - (int)notes.chunk) <\n          (uint)((int)notes.next_free - (int)notes.chunk)) {\n        notes.next_free = notes.chunk_limit;\n      }" if (parenthesized_expression "((uint)((int)notes.chunk_limit - (int)notes.chunk) <\n          (uint)((int)notes.next_free - (int)notes.chunk))" ( (binary_expression "(uint)((int)notes.chunk_limit - (int)notes.chunk) <\n          (uint)((int)notes.next_free - (int)notes.chunk)" (call_expression "(uint)((int)notes.chunk_limit - (int)notes.chunk)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((int)notes.chunk_limit - (int)notes.chunk)" ( (binary_expression "(int)notes.chunk_limit - (int)notes.chunk" (cast_expression "(int)notes.chunk_limit" ( (type_descriptor "int" primitive_type) ) (field_expression "notes.chunk_limit" identifier . field_identifier)) - (cast_expression "(int)notes.chunk" ( (type_descriptor "int" primitive_type) ) (field_expression "notes.chunk" identifier . field_identifier))) ))) < (call_expression "(uint)((int)notes.next_free - (int)notes.chunk)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((int)notes.next_free - (int)notes.chunk)" ( (binary_expression "(int)notes.next_free - (int)notes.chunk" (cast_expression "(int)notes.next_free" ( (type_descriptor "int" primitive_type) ) (field_expression "notes.next_free" identifier . field_identifier)) - (cast_expression "(int)notes.chunk" ( (type_descriptor "int" primitive_type) ) (field_expression "notes.chunk" identifier . field_identifier))) )))) )) (compound_statement "{\n        notes.next_free = notes.chunk_limit;\n      }" { (expression_statement "notes.next_free = notes.chunk_limit;" (assignment_expression "notes.next_free = notes.chunk_limit" (field_expression "notes.next_free" identifier . field_identifier) = (field_expression "notes.chunk_limit" identifier . field_identifier)) ;) })) (expression_statement "notes.object_base = notes.next_free;" (assignment_expression "notes.object_base = notes.next_free" (field_expression "notes.object_base" identifier . field_identifier) = (field_expression "notes.next_free" identifier . field_identifier)) ;) (expression_statement "S_SET_NAME(s_00,pcVar2);" (call_expression "S_SET_NAME(s_00,pcVar2)" identifier (argument_list "(s_00,pcVar2)" ( identifier , identifier ))) ;) }) (else_clause "else {\n      pcVar2 = S_GET_NAME(s_00);\n      strcpy(pcVar2,s);\n    }" else (compound_statement "{\n      pcVar2 = S_GET_NAME(s_00);\n      strcpy(pcVar2,s);\n    }" { (expression_statement "pcVar2 = S_GET_NAME(s_00);" (assignment_expression "pcVar2 = S_GET_NAME(s_00)" identifier = (call_expression "S_GET_NAME(s_00)" identifier (argument_list "(s_00)" ( identifier )))) ;) (expression_statement "strcpy(pcVar2,s);" (call_expression "strcpy(pcVar2,s)" identifier (argument_list "(pcVar2,s)" ( identifier , identifier ))) ;) }))) (expression_statement "paVar4 = symbol_get_bfdsym(s_00);" (assignment_expression "paVar4 = symbol_get_bfdsym(s_00)" identifier = (call_expression "symbol_get_bfdsym(s_00)" identifier (argument_list "(s_00)" ( identifier )))) ;) (expression_statement "paVar4->flags = paVar4->flags | 0x4000;" (assignment_expression "paVar4->flags = paVar4->flags | 0x4000" (field_expression "paVar4->flags" identifier -> field_identifier) = (binary_expression "paVar4->flags | 0x4000" (field_expression "paVar4->flags" identifier -> field_identifier) | number_literal)) ;) (if_statement "if ((symbol_rootP != s_00) &&\n       ((symbol_rootP->bsym == (asymbol *)0x0 || ((symbol_rootP->bsym->flags & 0x4000) == 0)))) {\n      symbol_remove(s_00,&symbol_rootP,&symbol_lastP);\n      symbol_insert(s_00,symbol_rootP,&symbol_rootP,&symbol_lastP);\n    }" if (parenthesized_expression "((symbol_rootP != s_00) &&\n       ((symbol_rootP->bsym == (asymbol *)0x0 || ((symbol_rootP->bsym->flags & 0x4000) == 0))))" ( (binary_expression "(symbol_rootP != s_00) &&\n       ((symbol_rootP->bsym == (asymbol *)0x0 || ((symbol_rootP->bsym->flags & 0x4000) == 0)))" (parenthesized_expression "(symbol_rootP != s_00)" ( (binary_expression "symbol_rootP != s_00" identifier != identifier) )) && (parenthesized_expression "((symbol_rootP->bsym == (asymbol *)0x0 || ((symbol_rootP->bsym->flags & 0x4000) == 0)))" ( (parenthesized_expression "(symbol_rootP->bsym == (asymbol *)0x0 || ((symbol_rootP->bsym->flags & 0x4000) == 0))" ( (binary_expression "symbol_rootP->bsym == (asymbol *)0x0 || ((symbol_rootP->bsym->flags & 0x4000) == 0)" (binary_expression "symbol_rootP->bsym == (asymbol *)0x0" (field_expression "symbol_rootP->bsym" identifier -> field_identifier) == (cast_expression "(asymbol *)0x0" ( (type_descriptor "asymbol *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) || (parenthesized_expression "((symbol_rootP->bsym->flags & 0x4000) == 0)" ( (binary_expression "(symbol_rootP->bsym->flags & 0x4000) == 0" (parenthesized_expression "(symbol_rootP->bsym->flags & 0x4000)" ( (binary_expression "symbol_rootP->bsym->flags & 0x4000" (field_expression "symbol_rootP->bsym->flags" (field_expression "symbol_rootP->bsym" identifier -> field_identifier) -> field_identifier) & number_literal) )) == number_literal) ))) )) ))) )) (compound_statement "{\n      symbol_remove(s_00,&symbol_rootP,&symbol_lastP);\n      symbol_insert(s_00,symbol_rootP,&symbol_rootP,&symbol_lastP);\n    }" { (expression_statement "symbol_remove(s_00,&symbol_rootP,&symbol_lastP);" (call_expression "symbol_remove(s_00,&symbol_rootP,&symbol_lastP)" identifier (argument_list "(s_00,&symbol_rootP,&symbol_lastP)" ( identifier , (pointer_expression "&symbol_rootP" & identifier) , (pointer_expression "&symbol_lastP" & identifier) ))) ;) (expression_statement "symbol_insert(s_00,symbol_rootP,&symbol_rootP,&symbol_lastP);" (call_expression "symbol_insert(s_00,symbol_rootP,&symbol_rootP,&symbol_lastP)" identifier (argument_list "(s_00,symbol_rootP,&symbol_rootP,&symbol_lastP)" ( identifier , identifier , (pointer_expression "&symbol_rootP" & identifier) , (pointer_expression "&symbol_lastP" & identifier) ))) ;) })) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_000447e0(char *param_1,int param_2)\n\n{\n  void *pvVar1;\n  int iVar2;\n  size_t sVar3;\n  char *pcVar4;\n  size_t sVar5;\n  int iVar6;\n  uint __n;\n  \n  if ((((param_2 == 0) || (DAT_00071114 == 0)) || (*(int *)(DAT_00071114 + 4) == 0)) ||\n     ((*(byte *)(*(int *)(DAT_00071114 + 4) + 0x11) & 0x40) == 0)) {\n    iVar2 = FUN_00037700(param_1,PTR__bfd_std_section_00067fa4 + 0x180,0,0,0);\n    FUN_0003a170(iVar2,PTR_DAT_00067f64);\n    sVar3 = strlen(param_1);\n    pcVar4 = (char *)FUN_00037470(iVar2);\n    sVar5 = strlen(pcVar4);\n    if (sVar5 < sVar3) {\n      __n = sVar3 + 1;\n      if ((uint)((int)DAT_000710b0 - (int)DAT_000710ac) < __n) {\n        _obstack_newchunk(&DAT_000710a0,__n);\n      }\n      memcpy(DAT_000710ac,param_1,__n);\n      pvVar1 = DAT_000710a8;\n      if ((void *)(__n + (int)DAT_000710ac) == DAT_000710a8) {\n        DAT_000710c8 = DAT_000710c8 | 2;\n      }\n      DAT_000710ac = (void *)(~DAT_000710b8 & (int)(__n + (int)DAT_000710ac) + DAT_000710b8);\n      if ((uint)((int)DAT_000710b0 - DAT_000710a4) < (uint)((int)DAT_000710ac - DAT_000710a4)) {\n        DAT_000710ac = DAT_000710b0;\n      }\n      DAT_000710a8 = DAT_000710ac;\n      FUN_00039db0(iVar2,pvVar1);\n    }\n    else {\n      pcVar4 = (char *)FUN_00037470(iVar2);\n      strcpy(pcVar4,param_1);\n    }\n    iVar6 = FUN_0003a7e0(iVar2);\n    *(uint *)(iVar6 + 0x10) = *(uint *)(iVar6 + 0x10) | 0x4000;\n    if ((DAT_00071114 != iVar2) &&\n       ((*(int *)(DAT_00071114 + 4) == 0 ||\n        ((*(byte *)(*(int *)(DAT_00071114 + 4) + 0x11) & 0x40) == 0)))) {\n      FUN_000360c0(iVar2,&DAT_00071114,&DAT_00071118);\n      FUN_00036160(iVar2,DAT_00071114,&DAT_00071114,&DAT_00071118);\n    }\n  }\n  return;\n}\n\n" (function_definition "void FUN_000447e0(char *param_1,int param_2)\n\n{\n  void *pvVar1;\n  int iVar2;\n  size_t sVar3;\n  char *pcVar4;\n  size_t sVar5;\n  int iVar6;\n  uint __n;\n  \n  if ((((param_2 == 0) || (DAT_00071114 == 0)) || (*(int *)(DAT_00071114 + 4) == 0)) ||\n     ((*(byte *)(*(int *)(DAT_00071114 + 4) + 0x11) & 0x40) == 0)) {\n    iVar2 = FUN_00037700(param_1,PTR__bfd_std_section_00067fa4 + 0x180,0,0,0);\n    FUN_0003a170(iVar2,PTR_DAT_00067f64);\n    sVar3 = strlen(param_1);\n    pcVar4 = (char *)FUN_00037470(iVar2);\n    sVar5 = strlen(pcVar4);\n    if (sVar5 < sVar3) {\n      __n = sVar3 + 1;\n      if ((uint)((int)DAT_000710b0 - (int)DAT_000710ac) < __n) {\n        _obstack_newchunk(&DAT_000710a0,__n);\n      }\n      memcpy(DAT_000710ac,param_1,__n);\n      pvVar1 = DAT_000710a8;\n      if ((void *)(__n + (int)DAT_000710ac) == DAT_000710a8) {\n        DAT_000710c8 = DAT_000710c8 | 2;\n      }\n      DAT_000710ac = (void *)(~DAT_000710b8 & (int)(__n + (int)DAT_000710ac) + DAT_000710b8);\n      if ((uint)((int)DAT_000710b0 - DAT_000710a4) < (uint)((int)DAT_000710ac - DAT_000710a4)) {\n        DAT_000710ac = DAT_000710b0;\n      }\n      DAT_000710a8 = DAT_000710ac;\n      FUN_00039db0(iVar2,pvVar1);\n    }\n    else {\n      pcVar4 = (char *)FUN_00037470(iVar2);\n      strcpy(pcVar4,param_1);\n    }\n    iVar6 = FUN_0003a7e0(iVar2);\n    *(uint *)(iVar6 + 0x10) = *(uint *)(iVar6 + 0x10) | 0x4000;\n    if ((DAT_00071114 != iVar2) &&\n       ((*(int *)(DAT_00071114 + 4) == 0 ||\n        ((*(byte *)(*(int *)(DAT_00071114 + 4) + 0x11) & 0x40) == 0)))) {\n      FUN_000360c0(iVar2,&DAT_00071114,&DAT_00071118);\n      FUN_00036160(iVar2,DAT_00071114,&DAT_00071114,&DAT_00071118);\n    }\n  }\n  return;\n}" primitive_type (function_declarator "FUN_000447e0(char *param_1,int param_2)" identifier (parameter_list "(char *param_1,int param_2)" ( (parameter_declaration "char *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  void *pvVar1;\n  int iVar2;\n  size_t sVar3;\n  char *pcVar4;\n  size_t sVar5;\n  int iVar6;\n  uint __n;\n  \n  if ((((param_2 == 0) || (DAT_00071114 == 0)) || (*(int *)(DAT_00071114 + 4) == 0)) ||\n     ((*(byte *)(*(int *)(DAT_00071114 + 4) + 0x11) & 0x40) == 0)) {\n    iVar2 = FUN_00037700(param_1,PTR__bfd_std_section_00067fa4 + 0x180,0,0,0);\n    FUN_0003a170(iVar2,PTR_DAT_00067f64);\n    sVar3 = strlen(param_1);\n    pcVar4 = (char *)FUN_00037470(iVar2);\n    sVar5 = strlen(pcVar4);\n    if (sVar5 < sVar3) {\n      __n = sVar3 + 1;\n      if ((uint)((int)DAT_000710b0 - (int)DAT_000710ac) < __n) {\n        _obstack_newchunk(&DAT_000710a0,__n);\n      }\n      memcpy(DAT_000710ac,param_1,__n);\n      pvVar1 = DAT_000710a8;\n      if ((void *)(__n + (int)DAT_000710ac) == DAT_000710a8) {\n        DAT_000710c8 = DAT_000710c8 | 2;\n      }\n      DAT_000710ac = (void *)(~DAT_000710b8 & (int)(__n + (int)DAT_000710ac) + DAT_000710b8);\n      if ((uint)((int)DAT_000710b0 - DAT_000710a4) < (uint)((int)DAT_000710ac - DAT_000710a4)) {\n        DAT_000710ac = DAT_000710b0;\n      }\n      DAT_000710a8 = DAT_000710ac;\n      FUN_00039db0(iVar2,pvVar1);\n    }\n    else {\n      pcVar4 = (char *)FUN_00037470(iVar2);\n      strcpy(pcVar4,param_1);\n    }\n    iVar6 = FUN_0003a7e0(iVar2);\n    *(uint *)(iVar6 + 0x10) = *(uint *)(iVar6 + 0x10) | 0x4000;\n    if ((DAT_00071114 != iVar2) &&\n       ((*(int *)(DAT_00071114 + 4) == 0 ||\n        ((*(byte *)(*(int *)(DAT_00071114 + 4) + 0x11) & 0x40) == 0)))) {\n      FUN_000360c0(iVar2,&DAT_00071114,&DAT_00071118);\n      FUN_00036160(iVar2,DAT_00071114,&DAT_00071114,&DAT_00071118);\n    }\n  }\n  return;\n}" { (declaration "void *pvVar1;" primitive_type (pointer_declarator "*pvVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "size_t sVar3;" primitive_type identifier ;) (declaration "char *pcVar4;" primitive_type (pointer_declarator "*pcVar4" * identifier) ;) (declaration "size_t sVar5;" primitive_type identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "uint __n;" type_identifier identifier ;) (if_statement "if ((((param_2 == 0) || (DAT_00071114 == 0)) || (*(int *)(DAT_00071114 + 4) == 0)) ||\n     ((*(byte *)(*(int *)(DAT_00071114 + 4) + 0x11) & 0x40) == 0)) {\n    iVar2 = FUN_00037700(param_1,PTR__bfd_std_section_00067fa4 + 0x180,0,0,0);\n    FUN_0003a170(iVar2,PTR_DAT_00067f64);\n    sVar3 = strlen(param_1);\n    pcVar4 = (char *)FUN_00037470(iVar2);\n    sVar5 = strlen(pcVar4);\n    if (sVar5 < sVar3) {\n      __n = sVar3 + 1;\n      if ((uint)((int)DAT_000710b0 - (int)DAT_000710ac) < __n) {\n        _obstack_newchunk(&DAT_000710a0,__n);\n      }\n      memcpy(DAT_000710ac,param_1,__n);\n      pvVar1 = DAT_000710a8;\n      if ((void *)(__n + (int)DAT_000710ac) == DAT_000710a8) {\n        DAT_000710c8 = DAT_000710c8 | 2;\n      }\n      DAT_000710ac = (void *)(~DAT_000710b8 & (int)(__n + (int)DAT_000710ac) + DAT_000710b8);\n      if ((uint)((int)DAT_000710b0 - DAT_000710a4) < (uint)((int)DAT_000710ac - DAT_000710a4)) {\n        DAT_000710ac = DAT_000710b0;\n      }\n      DAT_000710a8 = DAT_000710ac;\n      FUN_00039db0(iVar2,pvVar1);\n    }\n    else {\n      pcVar4 = (char *)FUN_00037470(iVar2);\n      strcpy(pcVar4,param_1);\n    }\n    iVar6 = FUN_0003a7e0(iVar2);\n    *(uint *)(iVar6 + 0x10) = *(uint *)(iVar6 + 0x10) | 0x4000;\n    if ((DAT_00071114 != iVar2) &&\n       ((*(int *)(DAT_00071114 + 4) == 0 ||\n        ((*(byte *)(*(int *)(DAT_00071114 + 4) + 0x11) & 0x40) == 0)))) {\n      FUN_000360c0(iVar2,&DAT_00071114,&DAT_00071118);\n      FUN_00036160(iVar2,DAT_00071114,&DAT_00071114,&DAT_00071118);\n    }\n  }" if (parenthesized_expression "((((param_2 == 0) || (DAT_00071114 == 0)) || (*(int *)(DAT_00071114 + 4) == 0)) ||\n     ((*(byte *)(*(int *)(DAT_00071114 + 4) + 0x11) & 0x40) == 0))" ( (binary_expression "(((param_2 == 0) || (DAT_00071114 == 0)) || (*(int *)(DAT_00071114 + 4) == 0)) ||\n     ((*(byte *)(*(int *)(DAT_00071114 + 4) + 0x11) & 0x40) == 0)" (parenthesized_expression "(((param_2 == 0) || (DAT_00071114 == 0)) || (*(int *)(DAT_00071114 + 4) == 0))" ( (binary_expression "((param_2 == 0) || (DAT_00071114 == 0)) || (*(int *)(DAT_00071114 + 4) == 0)" (parenthesized_expression "((param_2 == 0) || (DAT_00071114 == 0))" ( (binary_expression "(param_2 == 0) || (DAT_00071114 == 0)" (parenthesized_expression "(param_2 == 0)" ( (binary_expression "param_2 == 0" identifier == number_literal) )) || (parenthesized_expression "(DAT_00071114 == 0)" ( (binary_expression "DAT_00071114 == 0" identifier == number_literal) ))) )) || (parenthesized_expression "(*(int *)(DAT_00071114 + 4) == 0)" ( (binary_expression "*(int *)(DAT_00071114 + 4) == 0" (pointer_expression "*(int *)(DAT_00071114 + 4)" * (cast_expression "(int *)(DAT_00071114 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_00071114 + 4)" ( (binary_expression "DAT_00071114 + 4" identifier + number_literal) )))) == number_literal) ))) )) || (parenthesized_expression "((*(byte *)(*(int *)(DAT_00071114 + 4) + 0x11) & 0x40) == 0)" ( (binary_expression "(*(byte *)(*(int *)(DAT_00071114 + 4) + 0x11) & 0x40) == 0" (parenthesized_expression "(*(byte *)(*(int *)(DAT_00071114 + 4) + 0x11) & 0x40)" ( (binary_expression "*(byte *)(*(int *)(DAT_00071114 + 4) + 0x11) & 0x40" (pointer_expression "*(byte *)(*(int *)(DAT_00071114 + 4) + 0x11)" * (cast_expression "(byte *)(*(int *)(DAT_00071114 + 4) + 0x11)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(DAT_00071114 + 4) + 0x11)" ( (binary_expression "*(int *)(DAT_00071114 + 4) + 0x11" (pointer_expression "*(int *)(DAT_00071114 + 4)" * (cast_expression "(int *)(DAT_00071114 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_00071114 + 4)" ( (binary_expression "DAT_00071114 + 4" identifier + number_literal) )))) + number_literal) )))) & number_literal) )) == number_literal) ))) )) (compound_statement "{\n    iVar2 = FUN_00037700(param_1,PTR__bfd_std_section_00067fa4 + 0x180,0,0,0);\n    FUN_0003a170(iVar2,PTR_DAT_00067f64);\n    sVar3 = strlen(param_1);\n    pcVar4 = (char *)FUN_00037470(iVar2);\n    sVar5 = strlen(pcVar4);\n    if (sVar5 < sVar3) {\n      __n = sVar3 + 1;\n      if ((uint)((int)DAT_000710b0 - (int)DAT_000710ac) < __n) {\n        _obstack_newchunk(&DAT_000710a0,__n);\n      }\n      memcpy(DAT_000710ac,param_1,__n);\n      pvVar1 = DAT_000710a8;\n      if ((void *)(__n + (int)DAT_000710ac) == DAT_000710a8) {\n        DAT_000710c8 = DAT_000710c8 | 2;\n      }\n      DAT_000710ac = (void *)(~DAT_000710b8 & (int)(__n + (int)DAT_000710ac) + DAT_000710b8);\n      if ((uint)((int)DAT_000710b0 - DAT_000710a4) < (uint)((int)DAT_000710ac - DAT_000710a4)) {\n        DAT_000710ac = DAT_000710b0;\n      }\n      DAT_000710a8 = DAT_000710ac;\n      FUN_00039db0(iVar2,pvVar1);\n    }\n    else {\n      pcVar4 = (char *)FUN_00037470(iVar2);\n      strcpy(pcVar4,param_1);\n    }\n    iVar6 = FUN_0003a7e0(iVar2);\n    *(uint *)(iVar6 + 0x10) = *(uint *)(iVar6 + 0x10) | 0x4000;\n    if ((DAT_00071114 != iVar2) &&\n       ((*(int *)(DAT_00071114 + 4) == 0 ||\n        ((*(byte *)(*(int *)(DAT_00071114 + 4) + 0x11) & 0x40) == 0)))) {\n      FUN_000360c0(iVar2,&DAT_00071114,&DAT_00071118);\n      FUN_00036160(iVar2,DAT_00071114,&DAT_00071114,&DAT_00071118);\n    }\n  }" { (expression_statement "iVar2 = FUN_00037700(param_1,PTR__bfd_std_section_00067fa4 + 0x180,0,0,0);" (assignment_expression "iVar2 = FUN_00037700(param_1,PTR__bfd_std_section_00067fa4 + 0x180,0,0,0)" identifier = (call_expression "FUN_00037700(param_1,PTR__bfd_std_section_00067fa4 + 0x180,0,0,0)" identifier (argument_list "(param_1,PTR__bfd_std_section_00067fa4 + 0x180,0,0,0)" ( identifier , (binary_expression "PTR__bfd_std_section_00067fa4 + 0x180" identifier + number_literal) , number_literal , number_literal , number_literal )))) ;) (expression_statement "FUN_0003a170(iVar2,PTR_DAT_00067f64);" (call_expression "FUN_0003a170(iVar2,PTR_DAT_00067f64)" identifier (argument_list "(iVar2,PTR_DAT_00067f64)" ( identifier , identifier ))) ;) (expression_statement "sVar3 = strlen(param_1);" (assignment_expression "sVar3 = strlen(param_1)" identifier = (call_expression "strlen(param_1)" identifier (argument_list "(param_1)" ( identifier )))) ;) (expression_statement "pcVar4 = (char *)FUN_00037470(iVar2);" (assignment_expression "pcVar4 = (char *)FUN_00037470(iVar2)" identifier = (cast_expression "(char *)FUN_00037470(iVar2)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00037470(iVar2)" identifier (argument_list "(iVar2)" ( identifier ))))) ;) (expression_statement "sVar5 = strlen(pcVar4);" (assignment_expression "sVar5 = strlen(pcVar4)" identifier = (call_expression "strlen(pcVar4)" identifier (argument_list "(pcVar4)" ( identifier )))) ;) (if_statement "if (sVar5 < sVar3) {\n      __n = sVar3 + 1;\n      if ((uint)((int)DAT_000710b0 - (int)DAT_000710ac) < __n) {\n        _obstack_newchunk(&DAT_000710a0,__n);\n      }\n      memcpy(DAT_000710ac,param_1,__n);\n      pvVar1 = DAT_000710a8;\n      if ((void *)(__n + (int)DAT_000710ac) == DAT_000710a8) {\n        DAT_000710c8 = DAT_000710c8 | 2;\n      }\n      DAT_000710ac = (void *)(~DAT_000710b8 & (int)(__n + (int)DAT_000710ac) + DAT_000710b8);\n      if ((uint)((int)DAT_000710b0 - DAT_000710a4) < (uint)((int)DAT_000710ac - DAT_000710a4)) {\n        DAT_000710ac = DAT_000710b0;\n      }\n      DAT_000710a8 = DAT_000710ac;\n      FUN_00039db0(iVar2,pvVar1);\n    }\n    else {\n      pcVar4 = (char *)FUN_00037470(iVar2);\n      strcpy(pcVar4,param_1);\n    }" if (parenthesized_expression "(sVar5 < sVar3)" ( (binary_expression "sVar5 < sVar3" identifier < identifier) )) (compound_statement "{\n      __n = sVar3 + 1;\n      if ((uint)((int)DAT_000710b0 - (int)DAT_000710ac) < __n) {\n        _obstack_newchunk(&DAT_000710a0,__n);\n      }\n      memcpy(DAT_000710ac,param_1,__n);\n      pvVar1 = DAT_000710a8;\n      if ((void *)(__n + (int)DAT_000710ac) == DAT_000710a8) {\n        DAT_000710c8 = DAT_000710c8 | 2;\n      }\n      DAT_000710ac = (void *)(~DAT_000710b8 & (int)(__n + (int)DAT_000710ac) + DAT_000710b8);\n      if ((uint)((int)DAT_000710b0 - DAT_000710a4) < (uint)((int)DAT_000710ac - DAT_000710a4)) {\n        DAT_000710ac = DAT_000710b0;\n      }\n      DAT_000710a8 = DAT_000710ac;\n      FUN_00039db0(iVar2,pvVar1);\n    }" { (expression_statement "__n = sVar3 + 1;" (assignment_expression "__n = sVar3 + 1" identifier = (binary_expression "sVar3 + 1" identifier + number_literal)) ;) (if_statement "if ((uint)((int)DAT_000710b0 - (int)DAT_000710ac) < __n) {\n        _obstack_newchunk(&DAT_000710a0,__n);\n      }" if (parenthesized_expression "((uint)((int)DAT_000710b0 - (int)DAT_000710ac) < __n)" ( (binary_expression "(uint)((int)DAT_000710b0 - (int)DAT_000710ac) < __n" (call_expression "(uint)((int)DAT_000710b0 - (int)DAT_000710ac)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((int)DAT_000710b0 - (int)DAT_000710ac)" ( (binary_expression "(int)DAT_000710b0 - (int)DAT_000710ac" (cast_expression "(int)DAT_000710b0" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)DAT_000710ac" ( (type_descriptor "int" primitive_type) ) identifier)) ))) < identifier) )) (compound_statement "{\n        _obstack_newchunk(&DAT_000710a0,__n);\n      }" { (expression_statement "_obstack_newchunk(&DAT_000710a0,__n);" (call_expression "_obstack_newchunk(&DAT_000710a0,__n)" identifier (argument_list "(&DAT_000710a0,__n)" ( (pointer_expression "&DAT_000710a0" & identifier) , identifier ))) ;) })) (expression_statement "memcpy(DAT_000710ac,param_1,__n);" (call_expression "memcpy(DAT_000710ac,param_1,__n)" identifier (argument_list "(DAT_000710ac,param_1,__n)" ( identifier , identifier , identifier ))) ;) (expression_statement "pvVar1 = DAT_000710a8;" (assignment_expression "pvVar1 = DAT_000710a8" identifier = identifier) ;) (if_statement "if ((void *)(__n + (int)DAT_000710ac) == DAT_000710a8) {\n        DAT_000710c8 = DAT_000710c8 | 2;\n      }" if (parenthesized_expression "((void *)(__n + (int)DAT_000710ac) == DAT_000710a8)" ( (binary_expression "(void *)(__n + (int)DAT_000710ac) == DAT_000710a8" (cast_expression "(void *)(__n + (int)DAT_000710ac)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(__n + (int)DAT_000710ac)" ( (binary_expression "__n + (int)DAT_000710ac" identifier + (cast_expression "(int)DAT_000710ac" ( (type_descriptor "int" primitive_type) ) identifier)) ))) == identifier) )) (compound_statement "{\n        DAT_000710c8 = DAT_000710c8 | 2;\n      }" { (expression_statement "DAT_000710c8 = DAT_000710c8 | 2;" (assignment_expression "DAT_000710c8 = DAT_000710c8 | 2" identifier = (binary_expression "DAT_000710c8 | 2" identifier | number_literal)) ;) })) (expression_statement "DAT_000710ac = (void *)(~DAT_000710b8 & (int)(__n + (int)DAT_000710ac) + DAT_000710b8);" (assignment_expression "DAT_000710ac = (void *)(~DAT_000710b8 & (int)(__n + (int)DAT_000710ac) + DAT_000710b8)" identifier = (cast_expression "(void *)(~DAT_000710b8 & (int)(__n + (int)DAT_000710ac) + DAT_000710b8)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(~DAT_000710b8 & (int)(__n + (int)DAT_000710ac) + DAT_000710b8)" ( (binary_expression "~DAT_000710b8 & (int)(__n + (int)DAT_000710ac) + DAT_000710b8" (unary_expression "~DAT_000710b8" ~ identifier) & (binary_expression "(int)(__n + (int)DAT_000710ac) + DAT_000710b8" (cast_expression "(int)(__n + (int)DAT_000710ac)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(__n + (int)DAT_000710ac)" ( (binary_expression "__n + (int)DAT_000710ac" identifier + (cast_expression "(int)DAT_000710ac" ( (type_descriptor "int" primitive_type) ) identifier)) ))) + identifier)) )))) ;) (if_statement "if ((uint)((int)DAT_000710b0 - DAT_000710a4) < (uint)((int)DAT_000710ac - DAT_000710a4)) {\n        DAT_000710ac = DAT_000710b0;\n      }" if (parenthesized_expression "((uint)((int)DAT_000710b0 - DAT_000710a4) < (uint)((int)DAT_000710ac - DAT_000710a4))" ( (binary_expression "(uint)((int)DAT_000710b0 - DAT_000710a4) < (uint)((int)DAT_000710ac - DAT_000710a4)" (call_expression "(uint)((int)DAT_000710b0 - DAT_000710a4)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((int)DAT_000710b0 - DAT_000710a4)" ( (binary_expression "(int)DAT_000710b0 - DAT_000710a4" (cast_expression "(int)DAT_000710b0" ( (type_descriptor "int" primitive_type) ) identifier) - identifier) ))) < (call_expression "(uint)((int)DAT_000710ac - DAT_000710a4)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((int)DAT_000710ac - DAT_000710a4)" ( (binary_expression "(int)DAT_000710ac - DAT_000710a4" (cast_expression "(int)DAT_000710ac" ( (type_descriptor "int" primitive_type) ) identifier) - identifier) )))) )) (compound_statement "{\n        DAT_000710ac = DAT_000710b0;\n      }" { (expression_statement "DAT_000710ac = DAT_000710b0;" (assignment_expression "DAT_000710ac = DAT_000710b0" identifier = identifier) ;) })) (expression_statement "DAT_000710a8 = DAT_000710ac;" (assignment_expression "DAT_000710a8 = DAT_000710ac" identifier = identifier) ;) (expression_statement "FUN_00039db0(iVar2,pvVar1);" (call_expression "FUN_00039db0(iVar2,pvVar1)" identifier (argument_list "(iVar2,pvVar1)" ( identifier , identifier ))) ;) }) (else_clause "else {\n      pcVar4 = (char *)FUN_00037470(iVar2);\n      strcpy(pcVar4,param_1);\n    }" else (compound_statement "{\n      pcVar4 = (char *)FUN_00037470(iVar2);\n      strcpy(pcVar4,param_1);\n    }" { (expression_statement "pcVar4 = (char *)FUN_00037470(iVar2);" (assignment_expression "pcVar4 = (char *)FUN_00037470(iVar2)" identifier = (cast_expression "(char *)FUN_00037470(iVar2)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00037470(iVar2)" identifier (argument_list "(iVar2)" ( identifier ))))) ;) (expression_statement "strcpy(pcVar4,param_1);" (call_expression "strcpy(pcVar4,param_1)" identifier (argument_list "(pcVar4,param_1)" ( identifier , identifier ))) ;) }))) (expression_statement "iVar6 = FUN_0003a7e0(iVar2);" (assignment_expression "iVar6 = FUN_0003a7e0(iVar2)" identifier = (call_expression "FUN_0003a7e0(iVar2)" identifier (argument_list "(iVar2)" ( identifier )))) ;) (expression_statement "*(uint *)(iVar6 + 0x10) = *(uint *)(iVar6 + 0x10) | 0x4000;" (assignment_expression "*(uint *)(iVar6 + 0x10) = *(uint *)(iVar6 + 0x10) | 0x4000" (pointer_expression "*(uint *)(iVar6 + 0x10)" * (cast_expression "(uint *)(iVar6 + 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x10)" ( (binary_expression "iVar6 + 0x10" identifier + number_literal) )))) = (binary_expression "*(uint *)(iVar6 + 0x10) | 0x4000" (pointer_expression "*(uint *)(iVar6 + 0x10)" * (cast_expression "(uint *)(iVar6 + 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x10)" ( (binary_expression "iVar6 + 0x10" identifier + number_literal) )))) | number_literal)) ;) (if_statement "if ((DAT_00071114 != iVar2) &&\n       ((*(int *)(DAT_00071114 + 4) == 0 ||\n        ((*(byte *)(*(int *)(DAT_00071114 + 4) + 0x11) & 0x40) == 0)))) {\n      FUN_000360c0(iVar2,&DAT_00071114,&DAT_00071118);\n      FUN_00036160(iVar2,DAT_00071114,&DAT_00071114,&DAT_00071118);\n    }" if (parenthesized_expression "((DAT_00071114 != iVar2) &&\n       ((*(int *)(DAT_00071114 + 4) == 0 ||\n        ((*(byte *)(*(int *)(DAT_00071114 + 4) + 0x11) & 0x40) == 0))))" ( (binary_expression "(DAT_00071114 != iVar2) &&\n       ((*(int *)(DAT_00071114 + 4) == 0 ||\n        ((*(byte *)(*(int *)(DAT_00071114 + 4) + 0x11) & 0x40) == 0)))" (parenthesized_expression "(DAT_00071114 != iVar2)" ( (binary_expression "DAT_00071114 != iVar2" identifier != identifier) )) && (parenthesized_expression "((*(int *)(DAT_00071114 + 4) == 0 ||\n        ((*(byte *)(*(int *)(DAT_00071114 + 4) + 0x11) & 0x40) == 0)))" ( (parenthesized_expression "(*(int *)(DAT_00071114 + 4) == 0 ||\n        ((*(byte *)(*(int *)(DAT_00071114 + 4) + 0x11) & 0x40) == 0))" ( (binary_expression "*(int *)(DAT_00071114 + 4) == 0 ||\n        ((*(byte *)(*(int *)(DAT_00071114 + 4) + 0x11) & 0x40) == 0)" (binary_expression "*(int *)(DAT_00071114 + 4) == 0" (pointer_expression "*(int *)(DAT_00071114 + 4)" * (cast_expression "(int *)(DAT_00071114 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_00071114 + 4)" ( (binary_expression "DAT_00071114 + 4" identifier + number_literal) )))) == number_literal) || (parenthesized_expression "((*(byte *)(*(int *)(DAT_00071114 + 4) + 0x11) & 0x40) == 0)" ( (binary_expression "(*(byte *)(*(int *)(DAT_00071114 + 4) + 0x11) & 0x40) == 0" (parenthesized_expression "(*(byte *)(*(int *)(DAT_00071114 + 4) + 0x11) & 0x40)" ( (binary_expression "*(byte *)(*(int *)(DAT_00071114 + 4) + 0x11) & 0x40" (pointer_expression "*(byte *)(*(int *)(DAT_00071114 + 4) + 0x11)" * (cast_expression "(byte *)(*(int *)(DAT_00071114 + 4) + 0x11)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(DAT_00071114 + 4) + 0x11)" ( (binary_expression "*(int *)(DAT_00071114 + 4) + 0x11" (pointer_expression "*(int *)(DAT_00071114 + 4)" * (cast_expression "(int *)(DAT_00071114 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_00071114 + 4)" ( (binary_expression "DAT_00071114 + 4" identifier + number_literal) )))) + number_literal) )))) & number_literal) )) == number_literal) ))) )) ))) )) (compound_statement "{\n      FUN_000360c0(iVar2,&DAT_00071114,&DAT_00071118);\n      FUN_00036160(iVar2,DAT_00071114,&DAT_00071114,&DAT_00071118);\n    }" { (expression_statement "FUN_000360c0(iVar2,&DAT_00071114,&DAT_00071118);" (call_expression "FUN_000360c0(iVar2,&DAT_00071114,&DAT_00071118)" identifier (argument_list "(iVar2,&DAT_00071114,&DAT_00071118)" ( identifier , (pointer_expression "&DAT_00071114" & identifier) , (pointer_expression "&DAT_00071118" & identifier) ))) ;) (expression_statement "FUN_00036160(iVar2,DAT_00071114,&DAT_00071114,&DAT_00071118);" (call_expression "FUN_00036160(iVar2,DAT_00071114,&DAT_00071114,&DAT_00071118)" identifier (argument_list "(iVar2,DAT_00071114,&DAT_00071114,&DAT_00071118)" ( identifier , identifier , (pointer_expression "&DAT_00071114" & identifier) , (pointer_expression "&DAT_00071118" & identifier) ))) ;) })) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) || (parenthesized_expression ( (binary_expression IDENT == LIT) ))) )) || (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) ))) )) || (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) & LIT) )) == LIT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (binary_expression IDENT + LIT) , LIT , LIT , LIT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT ))))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - (cast_expression ( (type_descriptor TYPE) ) IDENT)) ))) < IDENT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , IDENT ))) ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (cast_expression ( (type_descriptor TYPE) ) IDENT)) ))) == IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT | LIT)) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (unary_expression ~ IDENT) & (binary_expression (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT + (cast_expression ( (type_descriptor TYPE) ) IDENT)) ))) + IDENT)) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - IDENT) ))) < (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - IDENT) )))) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT ))))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) }))) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) | LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != IDENT) )) && (parenthesized_expression ( (parenthesized_expression ( (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) || (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) & LIT) )) == LIT) ))) )) ))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , (pointer_expression & IDENT) , (pointer_expression & IDENT) ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , (pointer_expression & IDENT) , (pointer_expression & IDENT) ))) ;) })) })) (return_statement return ;) })))
(function_definition "void FUN_000447e0(char *param_1,int param_2)\n\n{\n  void *pvVar1;\n  int iVar2;\n  size_t sVar3;\n  char *pcVar4;\n  size_t sVar5;\n  int iVar6;\n  uint __n;\n  \n  if ((((param_2 == 0) || (DAT_00071114 == 0)) || (*(int *)(DAT_00071114 + 4) == 0)) ||\n     ((*(byte *)(*(int *)(DAT_00071114 + 4) + 0x11) & 0x40) == 0)) {\n    iVar2 = FUN_00037700(param_1,PTR__bfd_std_section_00067fa4 + 0x180,0,0,0);\n    FUN_0003a170(iVar2,PTR_DAT_00067f64);\n    sVar3 = strlen(param_1);\n    pcVar4 = (char *)FUN_00037470(iVar2);\n    sVar5 = strlen(pcVar4);\n    if (sVar5 < sVar3) {\n      __n = sVar3 + 1;\n      if ((uint)((int)DAT_000710b0 - (int)DAT_000710ac) < __n) {\n        _obstack_newchunk(&DAT_000710a0,__n);\n      }\n      memcpy(DAT_000710ac,param_1,__n);\n      pvVar1 = DAT_000710a8;\n      if ((void *)(__n + (int)DAT_000710ac) == DAT_000710a8) {\n        DAT_000710c8 = DAT_000710c8 | 2;\n      }\n      DAT_000710ac = (void *)(~DAT_000710b8 & (int)(__n + (int)DAT_000710ac) + DAT_000710b8);\n      if ((uint)((int)DAT_000710b0 - DAT_000710a4) < (uint)((int)DAT_000710ac - DAT_000710a4)) {\n        DAT_000710ac = DAT_000710b0;\n      }\n      DAT_000710a8 = DAT_000710ac;\n      FUN_00039db0(iVar2,pvVar1);\n    }\n    else {\n      pcVar4 = (char *)FUN_00037470(iVar2);\n      strcpy(pcVar4,param_1);\n    }\n    iVar6 = FUN_0003a7e0(iVar2);\n    *(uint *)(iVar6 + 0x10) = *(uint *)(iVar6 + 0x10) | 0x4000;\n    if ((DAT_00071114 != iVar2) &&\n       ((*(int *)(DAT_00071114 + 4) == 0 ||\n        ((*(byte *)(*(int *)(DAT_00071114 + 4) + 0x11) & 0x40) == 0)))) {\n      FUN_000360c0(iVar2,&DAT_00071114,&DAT_00071118);\n      FUN_00036160(iVar2,DAT_00071114,&DAT_00071114,&DAT_00071118);\n    }\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_000447e0(char *param_1,int param_2)" (identifier "FUN_000447e0") (parameter_list "(char *param_1,int param_2)" (( "(") (parameter_declaration "char *param_1" (primitive_type "char") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")"))) (compound_statement "{\n  void *pvVar1;\n  int iVar2;\n  size_t sVar3;\n  char *pcVar4;\n  size_t sVar5;\n  int iVar6;\n  uint __n;\n  \n  if ((((param_2 == 0) || (DAT_00071114 == 0)) || (*(int *)(DAT_00071114 + 4) == 0)) ||\n     ((*(byte *)(*(int *)(DAT_00071114 + 4) + 0x11) & 0x40) == 0)) {\n    iVar2 = FUN_00037700(param_1,PTR__bfd_std_section_00067fa4 + 0x180,0,0,0);\n    FUN_0003a170(iVar2,PTR_DAT_00067f64);\n    sVar3 = strlen(param_1);\n    pcVar4 = (char *)FUN_00037470(iVar2);\n    sVar5 = strlen(pcVar4);\n    if (sVar5 < sVar3) {\n      __n = sVar3 + 1;\n      if ((uint)((int)DAT_000710b0 - (int)DAT_000710ac) < __n) {\n        _obstack_newchunk(&DAT_000710a0,__n);\n      }\n      memcpy(DAT_000710ac,param_1,__n);\n      pvVar1 = DAT_000710a8;\n      if ((void *)(__n + (int)DAT_000710ac) == DAT_000710a8) {\n        DAT_000710c8 = DAT_000710c8 | 2;\n      }\n      DAT_000710ac = (void *)(~DAT_000710b8 & (int)(__n + (int)DAT_000710ac) + DAT_000710b8);\n      if ((uint)((int)DAT_000710b0 - DAT_000710a4) < (uint)((int)DAT_000710ac - DAT_000710a4)) {\n        DAT_000710ac = DAT_000710b0;\n      }\n      DAT_000710a8 = DAT_000710ac;\n      FUN_00039db0(iVar2,pvVar1);\n    }\n    else {\n      pcVar4 = (char *)FUN_00037470(iVar2);\n      strcpy(pcVar4,param_1);\n    }\n    iVar6 = FUN_0003a7e0(iVar2);\n    *(uint *)(iVar6 + 0x10) = *(uint *)(iVar6 + 0x10) | 0x4000;\n    if ((DAT_00071114 != iVar2) &&\n       ((*(int *)(DAT_00071114 + 4) == 0 ||\n        ((*(byte *)(*(int *)(DAT_00071114 + 4) + 0x11) & 0x40) == 0)))) {\n      FUN_000360c0(iVar2,&DAT_00071114,&DAT_00071118);\n      FUN_00036160(iVar2,DAT_00071114,&DAT_00071114,&DAT_00071118);\n    }\n  }\n  return;\n}" ({ "{") (declaration "void *pvVar1;" (primitive_type "void") (pointer_declarator "*pvVar1" (* "*") (identifier "pvVar1")) (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "size_t sVar3;" (primitive_type "size_t") (identifier "sVar3") (; ";")) (declaration "char *pcVar4;" (primitive_type "char") (pointer_declarator "*pcVar4" (* "*") (identifier "pcVar4")) (; ";")) (declaration "size_t sVar5;" (primitive_type "size_t") (identifier "sVar5") (; ";")) (declaration "int iVar6;" (primitive_type "int") (identifier "iVar6") (; ";")) (declaration "uint __n;" (type_identifier "uint") (identifier "__n") (; ";")) (if_statement "if ((((param_2 == 0) || (DAT_00071114 == 0)) || (*(int *)(DAT_00071114 + 4) == 0)) ||\n     ((*(byte *)(*(int *)(DAT_00071114 + 4) + 0x11) & 0x40) == 0)) {\n    iVar2 = FUN_00037700(param_1,PTR__bfd_std_section_00067fa4 + 0x180,0,0,0);\n    FUN_0003a170(iVar2,PTR_DAT_00067f64);\n    sVar3 = strlen(param_1);\n    pcVar4 = (char *)FUN_00037470(iVar2);\n    sVar5 = strlen(pcVar4);\n    if (sVar5 < sVar3) {\n      __n = sVar3 + 1;\n      if ((uint)((int)DAT_000710b0 - (int)DAT_000710ac) < __n) {\n        _obstack_newchunk(&DAT_000710a0,__n);\n      }\n      memcpy(DAT_000710ac,param_1,__n);\n      pvVar1 = DAT_000710a8;\n      if ((void *)(__n + (int)DAT_000710ac) == DAT_000710a8) {\n        DAT_000710c8 = DAT_000710c8 | 2;\n      }\n      DAT_000710ac = (void *)(~DAT_000710b8 & (int)(__n + (int)DAT_000710ac) + DAT_000710b8);\n      if ((uint)((int)DAT_000710b0 - DAT_000710a4) < (uint)((int)DAT_000710ac - DAT_000710a4)) {\n        DAT_000710ac = DAT_000710b0;\n      }\n      DAT_000710a8 = DAT_000710ac;\n      FUN_00039db0(iVar2,pvVar1);\n    }\n    else {\n      pcVar4 = (char *)FUN_00037470(iVar2);\n      strcpy(pcVar4,param_1);\n    }\n    iVar6 = FUN_0003a7e0(iVar2);\n    *(uint *)(iVar6 + 0x10) = *(uint *)(iVar6 + 0x10) | 0x4000;\n    if ((DAT_00071114 != iVar2) &&\n       ((*(int *)(DAT_00071114 + 4) == 0 ||\n        ((*(byte *)(*(int *)(DAT_00071114 + 4) + 0x11) & 0x40) == 0)))) {\n      FUN_000360c0(iVar2,&DAT_00071114,&DAT_00071118);\n      FUN_00036160(iVar2,DAT_00071114,&DAT_00071114,&DAT_00071118);\n    }\n  }" (if "if") (parenthesized_expression "((((param_2 == 0) || (DAT_00071114 == 0)) || (*(int *)(DAT_00071114 + 4) == 0)) ||\n     ((*(byte *)(*(int *)(DAT_00071114 + 4) + 0x11) & 0x40) == 0))" (( "(") (binary_expression "(((param_2 == 0) || (DAT_00071114 == 0)) || (*(int *)(DAT_00071114 + 4) == 0)) ||\n     ((*(byte *)(*(int *)(DAT_00071114 + 4) + 0x11) & 0x40) == 0)" (parenthesized_expression "(((param_2 == 0) || (DAT_00071114 == 0)) || (*(int *)(DAT_00071114 + 4) == 0))" (( "(") (binary_expression "((param_2 == 0) || (DAT_00071114 == 0)) || (*(int *)(DAT_00071114 + 4) == 0)" (parenthesized_expression "((param_2 == 0) || (DAT_00071114 == 0))" (( "(") (binary_expression "(param_2 == 0) || (DAT_00071114 == 0)" (parenthesized_expression "(param_2 == 0)" (( "(") (binary_expression "param_2 == 0" (identifier "param_2") (== "==") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(DAT_00071114 == 0)" (( "(") (binary_expression "DAT_00071114 == 0" (identifier "DAT_00071114") (== "==") (number_literal "0")) () ")"))) () ")")) (|| "||") (parenthesized_expression "(*(int *)(DAT_00071114 + 4) == 0)" (( "(") (binary_expression "*(int *)(DAT_00071114 + 4) == 0" (pointer_expression "*(int *)(DAT_00071114 + 4)" (* "*") (cast_expression "(int *)(DAT_00071114 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_00071114 + 4)" (( "(") (binary_expression "DAT_00071114 + 4" (identifier "DAT_00071114") (+ "+") (number_literal "4")) () ")")))) (== "==") (number_literal "0")) () ")"))) () ")")) (|| "||") (parenthesized_expression "((*(byte *)(*(int *)(DAT_00071114 + 4) + 0x11) & 0x40) == 0)" (( "(") (binary_expression "(*(byte *)(*(int *)(DAT_00071114 + 4) + 0x11) & 0x40) == 0" (parenthesized_expression "(*(byte *)(*(int *)(DAT_00071114 + 4) + 0x11) & 0x40)" (( "(") (binary_expression "*(byte *)(*(int *)(DAT_00071114 + 4) + 0x11) & 0x40" (pointer_expression "*(byte *)(*(int *)(DAT_00071114 + 4) + 0x11)" (* "*") (cast_expression "(byte *)(*(int *)(DAT_00071114 + 4) + 0x11)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(DAT_00071114 + 4) + 0x11)" (( "(") (binary_expression "*(int *)(DAT_00071114 + 4) + 0x11" (pointer_expression "*(int *)(DAT_00071114 + 4)" (* "*") (cast_expression "(int *)(DAT_00071114 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_00071114 + 4)" (( "(") (binary_expression "DAT_00071114 + 4" (identifier "DAT_00071114") (+ "+") (number_literal "4")) () ")")))) (+ "+") (number_literal "0x11")) () ")")))) (& "&") (number_literal "0x40")) () ")")) (== "==") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n    iVar2 = FUN_00037700(param_1,PTR__bfd_std_section_00067fa4 + 0x180,0,0,0);\n    FUN_0003a170(iVar2,PTR_DAT_00067f64);\n    sVar3 = strlen(param_1);\n    pcVar4 = (char *)FUN_00037470(iVar2);\n    sVar5 = strlen(pcVar4);\n    if (sVar5 < sVar3) {\n      __n = sVar3 + 1;\n      if ((uint)((int)DAT_000710b0 - (int)DAT_000710ac) < __n) {\n        _obstack_newchunk(&DAT_000710a0,__n);\n      }\n      memcpy(DAT_000710ac,param_1,__n);\n      pvVar1 = DAT_000710a8;\n      if ((void *)(__n + (int)DAT_000710ac) == DAT_000710a8) {\n        DAT_000710c8 = DAT_000710c8 | 2;\n      }\n      DAT_000710ac = (void *)(~DAT_000710b8 & (int)(__n + (int)DAT_000710ac) + DAT_000710b8);\n      if ((uint)((int)DAT_000710b0 - DAT_000710a4) < (uint)((int)DAT_000710ac - DAT_000710a4)) {\n        DAT_000710ac = DAT_000710b0;\n      }\n      DAT_000710a8 = DAT_000710ac;\n      FUN_00039db0(iVar2,pvVar1);\n    }\n    else {\n      pcVar4 = (char *)FUN_00037470(iVar2);\n      strcpy(pcVar4,param_1);\n    }\n    iVar6 = FUN_0003a7e0(iVar2);\n    *(uint *)(iVar6 + 0x10) = *(uint *)(iVar6 + 0x10) | 0x4000;\n    if ((DAT_00071114 != iVar2) &&\n       ((*(int *)(DAT_00071114 + 4) == 0 ||\n        ((*(byte *)(*(int *)(DAT_00071114 + 4) + 0x11) & 0x40) == 0)))) {\n      FUN_000360c0(iVar2,&DAT_00071114,&DAT_00071118);\n      FUN_00036160(iVar2,DAT_00071114,&DAT_00071114,&DAT_00071118);\n    }\n  }" ({ "{") (expression_statement "iVar2 = FUN_00037700(param_1,PTR__bfd_std_section_00067fa4 + 0x180,0,0,0);" (assignment_expression "iVar2 = FUN_00037700(param_1,PTR__bfd_std_section_00067fa4 + 0x180,0,0,0)" (identifier "iVar2") (= "=") (call_expression "FUN_00037700(param_1,PTR__bfd_std_section_00067fa4 + 0x180,0,0,0)" (identifier "FUN_00037700") (argument_list "(param_1,PTR__bfd_std_section_00067fa4 + 0x180,0,0,0)" (( "(") (identifier "param_1") (, ",") (binary_expression "PTR__bfd_std_section_00067fa4 + 0x180" (identifier "PTR__bfd_std_section_00067fa4") (+ "+") (number_literal "0x180")) (, ",") (number_literal "0") (, ",") (number_literal "0") (, ",") (number_literal "0") () ")")))) (; ";")) (expression_statement "FUN_0003a170(iVar2,PTR_DAT_00067f64);" (call_expression "FUN_0003a170(iVar2,PTR_DAT_00067f64)" (identifier "FUN_0003a170") (argument_list "(iVar2,PTR_DAT_00067f64)" (( "(") (identifier "iVar2") (, ",") (identifier "PTR_DAT_00067f64") () ")"))) (; ";")) (expression_statement "sVar3 = strlen(param_1);" (assignment_expression "sVar3 = strlen(param_1)" (identifier "sVar3") (= "=") (call_expression "strlen(param_1)" (identifier "strlen") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")")))) (; ";")) (expression_statement "pcVar4 = (char *)FUN_00037470(iVar2);" (assignment_expression "pcVar4 = (char *)FUN_00037470(iVar2)" (identifier "pcVar4") (= "=") (cast_expression "(char *)FUN_00037470(iVar2)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_00037470(iVar2)" (identifier "FUN_00037470") (argument_list "(iVar2)" (( "(") (identifier "iVar2") () ")"))))) (; ";")) (expression_statement "sVar5 = strlen(pcVar4);" (assignment_expression "sVar5 = strlen(pcVar4)" (identifier "sVar5") (= "=") (call_expression "strlen(pcVar4)" (identifier "strlen") (argument_list "(pcVar4)" (( "(") (identifier "pcVar4") () ")")))) (; ";")) (if_statement "if (sVar5 < sVar3) {\n      __n = sVar3 + 1;\n      if ((uint)((int)DAT_000710b0 - (int)DAT_000710ac) < __n) {\n        _obstack_newchunk(&DAT_000710a0,__n);\n      }\n      memcpy(DAT_000710ac,param_1,__n);\n      pvVar1 = DAT_000710a8;\n      if ((void *)(__n + (int)DAT_000710ac) == DAT_000710a8) {\n        DAT_000710c8 = DAT_000710c8 | 2;\n      }\n      DAT_000710ac = (void *)(~DAT_000710b8 & (int)(__n + (int)DAT_000710ac) + DAT_000710b8);\n      if ((uint)((int)DAT_000710b0 - DAT_000710a4) < (uint)((int)DAT_000710ac - DAT_000710a4)) {\n        DAT_000710ac = DAT_000710b0;\n      }\n      DAT_000710a8 = DAT_000710ac;\n      FUN_00039db0(iVar2,pvVar1);\n    }\n    else {\n      pcVar4 = (char *)FUN_00037470(iVar2);\n      strcpy(pcVar4,param_1);\n    }" (if "if") (parenthesized_expression "(sVar5 < sVar3)" (( "(") (binary_expression "sVar5 < sVar3" (identifier "sVar5") (< "<") (identifier "sVar3")) () ")")) (compound_statement "{\n      __n = sVar3 + 1;\n      if ((uint)((int)DAT_000710b0 - (int)DAT_000710ac) < __n) {\n        _obstack_newchunk(&DAT_000710a0,__n);\n      }\n      memcpy(DAT_000710ac,param_1,__n);\n      pvVar1 = DAT_000710a8;\n      if ((void *)(__n + (int)DAT_000710ac) == DAT_000710a8) {\n        DAT_000710c8 = DAT_000710c8 | 2;\n      }\n      DAT_000710ac = (void *)(~DAT_000710b8 & (int)(__n + (int)DAT_000710ac) + DAT_000710b8);\n      if ((uint)((int)DAT_000710b0 - DAT_000710a4) < (uint)((int)DAT_000710ac - DAT_000710a4)) {\n        DAT_000710ac = DAT_000710b0;\n      }\n      DAT_000710a8 = DAT_000710ac;\n      FUN_00039db0(iVar2,pvVar1);\n    }" ({ "{") (expression_statement "__n = sVar3 + 1;" (assignment_expression "__n = sVar3 + 1" (identifier "__n") (= "=") (binary_expression "sVar3 + 1" (identifier "sVar3") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if ((uint)((int)DAT_000710b0 - (int)DAT_000710ac) < __n) {\n        _obstack_newchunk(&DAT_000710a0,__n);\n      }" (if "if") (parenthesized_expression "((uint)((int)DAT_000710b0 - (int)DAT_000710ac) < __n)" (( "(") (binary_expression "(uint)((int)DAT_000710b0 - (int)DAT_000710ac) < __n" (call_expression "(uint)((int)DAT_000710b0 - (int)DAT_000710ac)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "((int)DAT_000710b0 - (int)DAT_000710ac)" (( "(") (binary_expression "(int)DAT_000710b0 - (int)DAT_000710ac" (cast_expression "(int)DAT_000710b0" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "DAT_000710b0")) (- "-") (cast_expression "(int)DAT_000710ac" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "DAT_000710ac"))) () ")"))) (< "<") (identifier "__n")) () ")")) (compound_statement "{\n        _obstack_newchunk(&DAT_000710a0,__n);\n      }" ({ "{") (expression_statement "_obstack_newchunk(&DAT_000710a0,__n);" (call_expression "_obstack_newchunk(&DAT_000710a0,__n)" (identifier "_obstack_newchunk") (argument_list "(&DAT_000710a0,__n)" (( "(") (pointer_expression "&DAT_000710a0" (& "&") (identifier "DAT_000710a0")) (, ",") (identifier "__n") () ")"))) (; ";")) (} "}"))) (expression_statement "memcpy(DAT_000710ac,param_1,__n);" (call_expression "memcpy(DAT_000710ac,param_1,__n)" (identifier "memcpy") (argument_list "(DAT_000710ac,param_1,__n)" (( "(") (identifier "DAT_000710ac") (, ",") (identifier "param_1") (, ",") (identifier "__n") () ")"))) (; ";")) (expression_statement "pvVar1 = DAT_000710a8;" (assignment_expression "pvVar1 = DAT_000710a8" (identifier "pvVar1") (= "=") (identifier "DAT_000710a8")) (; ";")) (if_statement "if ((void *)(__n + (int)DAT_000710ac) == DAT_000710a8) {\n        DAT_000710c8 = DAT_000710c8 | 2;\n      }" (if "if") (parenthesized_expression "((void *)(__n + (int)DAT_000710ac) == DAT_000710a8)" (( "(") (binary_expression "(void *)(__n + (int)DAT_000710ac) == DAT_000710a8" (cast_expression "(void *)(__n + (int)DAT_000710ac)" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(__n + (int)DAT_000710ac)" (( "(") (binary_expression "__n + (int)DAT_000710ac" (identifier "__n") (+ "+") (cast_expression "(int)DAT_000710ac" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "DAT_000710ac"))) () ")"))) (== "==") (identifier "DAT_000710a8")) () ")")) (compound_statement "{\n        DAT_000710c8 = DAT_000710c8 | 2;\n      }" ({ "{") (expression_statement "DAT_000710c8 = DAT_000710c8 | 2;" (assignment_expression "DAT_000710c8 = DAT_000710c8 | 2" (identifier "DAT_000710c8") (= "=") (binary_expression "DAT_000710c8 | 2" (identifier "DAT_000710c8") (| "|") (number_literal "2"))) (; ";")) (} "}"))) (expression_statement "DAT_000710ac = (void *)(~DAT_000710b8 & (int)(__n + (int)DAT_000710ac) + DAT_000710b8);" (assignment_expression "DAT_000710ac = (void *)(~DAT_000710b8 & (int)(__n + (int)DAT_000710ac) + DAT_000710b8)" (identifier "DAT_000710ac") (= "=") (cast_expression "(void *)(~DAT_000710b8 & (int)(__n + (int)DAT_000710ac) + DAT_000710b8)" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(~DAT_000710b8 & (int)(__n + (int)DAT_000710ac) + DAT_000710b8)" (( "(") (binary_expression "~DAT_000710b8 & (int)(__n + (int)DAT_000710ac) + DAT_000710b8" (unary_expression "~DAT_000710b8" (~ "~") (identifier "DAT_000710b8")) (& "&") (binary_expression "(int)(__n + (int)DAT_000710ac) + DAT_000710b8" (cast_expression "(int)(__n + (int)DAT_000710ac)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(__n + (int)DAT_000710ac)" (( "(") (binary_expression "__n + (int)DAT_000710ac" (identifier "__n") (+ "+") (cast_expression "(int)DAT_000710ac" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "DAT_000710ac"))) () ")"))) (+ "+") (identifier "DAT_000710b8"))) () ")")))) (; ";")) (if_statement "if ((uint)((int)DAT_000710b0 - DAT_000710a4) < (uint)((int)DAT_000710ac - DAT_000710a4)) {\n        DAT_000710ac = DAT_000710b0;\n      }" (if "if") (parenthesized_expression "((uint)((int)DAT_000710b0 - DAT_000710a4) < (uint)((int)DAT_000710ac - DAT_000710a4))" (( "(") (binary_expression "(uint)((int)DAT_000710b0 - DAT_000710a4) < (uint)((int)DAT_000710ac - DAT_000710a4)" (call_expression "(uint)((int)DAT_000710b0 - DAT_000710a4)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "((int)DAT_000710b0 - DAT_000710a4)" (( "(") (binary_expression "(int)DAT_000710b0 - DAT_000710a4" (cast_expression "(int)DAT_000710b0" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "DAT_000710b0")) (- "-") (identifier "DAT_000710a4")) () ")"))) (< "<") (call_expression "(uint)((int)DAT_000710ac - DAT_000710a4)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "((int)DAT_000710ac - DAT_000710a4)" (( "(") (binary_expression "(int)DAT_000710ac - DAT_000710a4" (cast_expression "(int)DAT_000710ac" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "DAT_000710ac")) (- "-") (identifier "DAT_000710a4")) () ")")))) () ")")) (compound_statement "{\n        DAT_000710ac = DAT_000710b0;\n      }" ({ "{") (expression_statement "DAT_000710ac = DAT_000710b0;" (assignment_expression "DAT_000710ac = DAT_000710b0" (identifier "DAT_000710ac") (= "=") (identifier "DAT_000710b0")) (; ";")) (} "}"))) (expression_statement "DAT_000710a8 = DAT_000710ac;" (assignment_expression "DAT_000710a8 = DAT_000710ac" (identifier "DAT_000710a8") (= "=") (identifier "DAT_000710ac")) (; ";")) (expression_statement "FUN_00039db0(iVar2,pvVar1);" (call_expression "FUN_00039db0(iVar2,pvVar1)" (identifier "FUN_00039db0") (argument_list "(iVar2,pvVar1)" (( "(") (identifier "iVar2") (, ",") (identifier "pvVar1") () ")"))) (; ";")) (} "}")) (else_clause "else {\n      pcVar4 = (char *)FUN_00037470(iVar2);\n      strcpy(pcVar4,param_1);\n    }" (else "else") (compound_statement "{\n      pcVar4 = (char *)FUN_00037470(iVar2);\n      strcpy(pcVar4,param_1);\n    }" ({ "{") (expression_statement "pcVar4 = (char *)FUN_00037470(iVar2);" (assignment_expression "pcVar4 = (char *)FUN_00037470(iVar2)" (identifier "pcVar4") (= "=") (cast_expression "(char *)FUN_00037470(iVar2)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_00037470(iVar2)" (identifier "FUN_00037470") (argument_list "(iVar2)" (( "(") (identifier "iVar2") () ")"))))) (; ";")) (expression_statement "strcpy(pcVar4,param_1);" (call_expression "strcpy(pcVar4,param_1)" (identifier "strcpy") (argument_list "(pcVar4,param_1)" (( "(") (identifier "pcVar4") (, ",") (identifier "param_1") () ")"))) (; ";")) (} "}")))) (expression_statement "iVar6 = FUN_0003a7e0(iVar2);" (assignment_expression "iVar6 = FUN_0003a7e0(iVar2)" (identifier "iVar6") (= "=") (call_expression "FUN_0003a7e0(iVar2)" (identifier "FUN_0003a7e0") (argument_list "(iVar2)" (( "(") (identifier "iVar2") () ")")))) (; ";")) (expression_statement "*(uint *)(iVar6 + 0x10) = *(uint *)(iVar6 + 0x10) | 0x4000;" (assignment_expression "*(uint *)(iVar6 + 0x10) = *(uint *)(iVar6 + 0x10) | 0x4000" (pointer_expression "*(uint *)(iVar6 + 0x10)" (* "*") (cast_expression "(uint *)(iVar6 + 0x10)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 0x10)" (( "(") (binary_expression "iVar6 + 0x10" (identifier "iVar6") (+ "+") (number_literal "0x10")) () ")")))) (= "=") (binary_expression "*(uint *)(iVar6 + 0x10) | 0x4000" (pointer_expression "*(uint *)(iVar6 + 0x10)" (* "*") (cast_expression "(uint *)(iVar6 + 0x10)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 0x10)" (( "(") (binary_expression "iVar6 + 0x10" (identifier "iVar6") (+ "+") (number_literal "0x10")) () ")")))) (| "|") (number_literal "0x4000"))) (; ";")) (if_statement "if ((DAT_00071114 != iVar2) &&\n       ((*(int *)(DAT_00071114 + 4) == 0 ||\n        ((*(byte *)(*(int *)(DAT_00071114 + 4) + 0x11) & 0x40) == 0)))) {\n      FUN_000360c0(iVar2,&DAT_00071114,&DAT_00071118);\n      FUN_00036160(iVar2,DAT_00071114,&DAT_00071114,&DAT_00071118);\n    }" (if "if") (parenthesized_expression "((DAT_00071114 != iVar2) &&\n       ((*(int *)(DAT_00071114 + 4) == 0 ||\n        ((*(byte *)(*(int *)(DAT_00071114 + 4) + 0x11) & 0x40) == 0))))" (( "(") (binary_expression "(DAT_00071114 != iVar2) &&\n       ((*(int *)(DAT_00071114 + 4) == 0 ||\n        ((*(byte *)(*(int *)(DAT_00071114 + 4) + 0x11) & 0x40) == 0)))" (parenthesized_expression "(DAT_00071114 != iVar2)" (( "(") (binary_expression "DAT_00071114 != iVar2" (identifier "DAT_00071114") (!= "!=") (identifier "iVar2")) () ")")) (&& "&&") (parenthesized_expression "((*(int *)(DAT_00071114 + 4) == 0 ||\n        ((*(byte *)(*(int *)(DAT_00071114 + 4) + 0x11) & 0x40) == 0)))" (( "(") (parenthesized_expression "(*(int *)(DAT_00071114 + 4) == 0 ||\n        ((*(byte *)(*(int *)(DAT_00071114 + 4) + 0x11) & 0x40) == 0))" (( "(") (binary_expression "*(int *)(DAT_00071114 + 4) == 0 ||\n        ((*(byte *)(*(int *)(DAT_00071114 + 4) + 0x11) & 0x40) == 0)" (binary_expression "*(int *)(DAT_00071114 + 4) == 0" (pointer_expression "*(int *)(DAT_00071114 + 4)" (* "*") (cast_expression "(int *)(DAT_00071114 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_00071114 + 4)" (( "(") (binary_expression "DAT_00071114 + 4" (identifier "DAT_00071114") (+ "+") (number_literal "4")) () ")")))) (== "==") (number_literal "0")) (|| "||") (parenthesized_expression "((*(byte *)(*(int *)(DAT_00071114 + 4) + 0x11) & 0x40) == 0)" (( "(") (binary_expression "(*(byte *)(*(int *)(DAT_00071114 + 4) + 0x11) & 0x40) == 0" (parenthesized_expression "(*(byte *)(*(int *)(DAT_00071114 + 4) + 0x11) & 0x40)" (( "(") (binary_expression "*(byte *)(*(int *)(DAT_00071114 + 4) + 0x11) & 0x40" (pointer_expression "*(byte *)(*(int *)(DAT_00071114 + 4) + 0x11)" (* "*") (cast_expression "(byte *)(*(int *)(DAT_00071114 + 4) + 0x11)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(DAT_00071114 + 4) + 0x11)" (( "(") (binary_expression "*(int *)(DAT_00071114 + 4) + 0x11" (pointer_expression "*(int *)(DAT_00071114 + 4)" (* "*") (cast_expression "(int *)(DAT_00071114 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_00071114 + 4)" (( "(") (binary_expression "DAT_00071114 + 4" (identifier "DAT_00071114") (+ "+") (number_literal "4")) () ")")))) (+ "+") (number_literal "0x11")) () ")")))) (& "&") (number_literal "0x40")) () ")")) (== "==") (number_literal "0")) () ")"))) () ")")) () ")"))) () ")")) (compound_statement "{\n      FUN_000360c0(iVar2,&DAT_00071114,&DAT_00071118);\n      FUN_00036160(iVar2,DAT_00071114,&DAT_00071114,&DAT_00071118);\n    }" ({ "{") (expression_statement "FUN_000360c0(iVar2,&DAT_00071114,&DAT_00071118);" (call_expression "FUN_000360c0(iVar2,&DAT_00071114,&DAT_00071118)" (identifier "FUN_000360c0") (argument_list "(iVar2,&DAT_00071114,&DAT_00071118)" (( "(") (identifier "iVar2") (, ",") (pointer_expression "&DAT_00071114" (& "&") (identifier "DAT_00071114")) (, ",") (pointer_expression "&DAT_00071118" (& "&") (identifier "DAT_00071118")) () ")"))) (; ";")) (expression_statement "FUN_00036160(iVar2,DAT_00071114,&DAT_00071114,&DAT_00071118);" (call_expression "FUN_00036160(iVar2,DAT_00071114,&DAT_00071114,&DAT_00071118)" (identifier "FUN_00036160") (argument_list "(iVar2,DAT_00071114,&DAT_00071114,&DAT_00071118)" (( "(") (identifier "iVar2") (, ",") (identifier "DAT_00071114") (, ",") (pointer_expression "&DAT_00071114" (& "&") (identifier "DAT_00071114")) (, ",") (pointer_expression "&DAT_00071118" (& "&") (identifier "DAT_00071118")) () ")"))) (; ";")) (} "}"))) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

void function_1(char *s,int var_1)

{
  type_1 *var_16;
  size_t var_9;
  char *pcVar2;
  size_t var_8;
  type_2 *paVar4;
  type_3 var_10;
  
  if ((((var_1 == 0) || (var_2 == (type_1 *)0x0)) ||
      (var_2->bsym == (type_2 *)0x0)) || ((var_2->bsym->flags & 0x4000) == 0)) {
    var_16 = var_3(s,(segT)(var_4 + 0x180),0,(type_4 *)0x0);
    var_5(var_16,(type_4 *)PTR_zero_address_frag_00067f64);
    var_9 = var_6(s);
    pcVar2 = var_7(var_16);
    var_8 = var_6(pcVar2);
    if (var_8 < var_9) {
      var_10 = var_9 + 1;
      if ((type_3)((int)notes.chunk_limit - (int)notes.next_free) < var_10) {
        var_11(&notes,var_10);
      }
      var_12(notes.next_free,s,var_10);
      pcVar2 = notes.object_base;
      if (notes.next_free + var_10 == notes.object_base) {
        notes._40_1_ = notes._40_1_ | 2;
      }
      notes.next_free =
           (char *)(~notes.alignment_mask & (type_3)(notes.next_free + var_10 + notes.alignment_mask));
      if ((type_3)((int)notes.chunk_limit - (int)notes.chunk) <
          (type_3)((int)notes.next_free - (int)notes.chunk)) {
        notes.next_free = notes.chunk_limit;
      }
      notes.object_base = notes.next_free;
      var_13(var_16,pcVar2);
    }
    else {
      pcVar2 = var_7(var_16);
      var_14(pcVar2,s);
    }
    paVar4 = var_15(var_16);
    paVar4->flags = paVar4->flags | 0x4000;
    if ((var_2 != var_16) &&
       ((var_2->bsym == (type_2 *)0x0 || ((var_2->bsym->flags & 0x4000) == 0)))) {
      var_17(var_16,&var_2,&symbol_lastP);
      var_18(var_16,var_2,&var_2,&symbol_lastP);
    }
  }
  return;
}


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

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

void MASKED(char *param_1,int param_2)

{
  void *pvVar1;
  int iVar2;
  size_t sVar3;
  char *pcVar4;
  size_t sVar5;
  int iVar6;
  uint __n;
  
  if ((((param_2 == 0) || (DAT_00071114 == 0)) || (*(int *)(DAT_00071114 + 4) == 0)) ||
     ((*(byte *)(*(int *)(DAT_00071114 + 4) + 0x11) & 0x40) == 0)) {
    iVar2 = FUN_00037700(param_1,PTR__bfd_std_section_00067fa4 + 0x180,0,0,0);
    FUN_0003a170(iVar2,PTR_DAT_00067f64);
    sVar3 = strlen(param_1);
    pcVar4 = (char *)FUN_00037470(iVar2);
    sVar5 = strlen(pcVar4);
    if (sVar5 < sVar3) {
      __n = sVar3 + 1;
      if ((uint)((int)DAT_000710b0 - (int)DAT_000710ac) < __n) {
        _obstack_newchunk(&DAT_000710a0,__n);
      }
      memcpy(DAT_000710ac,param_1,__n);
      pvVar1 = DAT_000710a8;
      if ((void *)(__n + (int)DAT_000710ac) == DAT_000710a8) {
        DAT_000710c8 = DAT_000710c8 | 2;
      }
      DAT_000710ac = (void *)(~DAT_000710b8 & (int)(__n + (int)DAT_000710ac) + DAT_000710b8);
      if ((uint)((int)DAT_000710b0 - DAT_000710a4) < (uint)((int)DAT_000710ac - DAT_000710a4)) {
        DAT_000710ac = DAT_000710b0;
      }
      DAT_000710a8 = DAT_000710ac;
      FUN_00039db0(iVar2,pvVar1);
    }
    else {
      pcVar4 = (char *)FUN_00037470(iVar2);
      strcpy(pcVar4,param_1);
    }
    iVar6 = FUN_0003a7e0(iVar2);
    *(uint *)(iVar6 + 0x10) = *(uint *)(iVar6 + 0x10) | 0x4000;
    if ((DAT_00071114 != iVar2) &&
       ((*(int *)(DAT_00071114 + 4) == 0 ||
        ((*(byte *)(*(int *)(DAT_00071114 + 4) + 0x11) & 0x40) == 0)))) {
      FUN_000360c0(iVar2,&DAT_00071114,&DAT_00071118);
      FUN_00036160(iVar2,DAT_00071114,&DAT_00071114,&DAT_00071118);
    }
  }
  return;
}

