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

char * make_qualified_name(archive_info *arch,archive_info *nested_arch,char *member_name)

{
  int iVar1;
  char *__s;
  char *pcVar2;
  size_t sVar3;
  size_t sVar4;
  char *__s_00;
  char *__format;
  size_t sVar5;
  char *pcVar6;
  
  pcVar6 = "<corrupt>";
  pcVar2 = (char *)dcgettext(0,"<corrupt>",5);
  __s = arch->file_name;
  sVar3 = strlen(__s);
  sVar4 = strlen(member_name);
  sVar5 = sVar4 + sVar3 + 3;
  if (arch->is_thin_archive == 0) {
    __s_00 = (char *)malloc(sVar5);
    if (__s_00 != (char *)0x0) {
      __format = "%s(%s)";
      pcVar2 = member_name;
LAB_00013984:
      snprintf(__s_00,sVar5,__format,__s,pcVar2,pcVar6);
      return __s_00;
    }
  }
  else if (arch->nested_member_origin == 0) {
    __s_00 = (char *)malloc(sVar5);
    if (__s_00 != (char *)0x0) {
      __format = "%s[%s]";
      pcVar2 = member_name;
      goto LAB_00013984;
    }
  }
  else {
    iVar1 = sVar4 + sVar3 + 5;
    pcVar6 = nested_arch->file_name;
    if (pcVar6 == (char *)0x0) {
      sVar5 = strlen(pcVar2);
      sVar5 = sVar5 + iVar1;
      __s_00 = (char *)malloc(sVar5);
      if (__s_00 != (char *)0x0) {
        __format = "%s[%s(%s)]";
        pcVar6 = member_name;
        goto LAB_00013984;
      }
    }
    else {
      sVar5 = strlen(pcVar6);
      sVar5 = sVar5 + iVar1;
      pcVar2 = (char *)malloc(sVar5);
      if (pcVar2 != (char *)0x0) {
        snprintf(pcVar2,sVar5,"%s[%s(%s)]",__s,pcVar6,member_name);
        return pcVar2;
      }
    }
  }
  pcVar6 = (char *)dcgettext(0,"Out of memory\n",5);
  error(pcVar6);
  return (char *)0x0;
}



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

char * FUN_000138e0(undefined4 *param_1,undefined4 *param_2,char *param_3)

{
  int iVar1;
  char *__s;
  char *pcVar2;
  size_t sVar3;
  size_t sVar4;
  char *__s_00;
  char *__format;
  size_t sVar5;
  undefined4 uVar6;
  char *pcVar7;
  
  pcVar7 = "<corrupt>";
  pcVar2 = (char *)dcgettext(0,"<corrupt>",5);
  __s = (char *)*param_1;
  sVar3 = strlen(__s);
  sVar4 = strlen(param_3);
  sVar5 = sVar4 + sVar3 + 3;
  if (param_1[0xb] == 0) {
    __s_00 = (char *)malloc(sVar5);
    if (__s_00 != (char *)0x0) {
      __format = "%s(%s)";
      pcVar2 = param_3;
LAB_00013984:
      snprintf(__s_00,sVar5,__format,__s,pcVar2,pcVar7);
      return __s_00;
    }
  }
  else if (param_1[9] == 0) {
    __s_00 = (char *)malloc(sVar5);
    if (__s_00 != (char *)0x0) {
      __format = "%s[%s]";
      pcVar2 = param_3;
      goto LAB_00013984;
    }
  }
  else {
    iVar1 = sVar4 + sVar3 + 5;
    pcVar7 = (char *)*param_2;
    if (pcVar7 == (char *)0x0) {
      sVar5 = strlen(pcVar2);
      sVar5 = sVar5 + iVar1;
      __s_00 = (char *)malloc(sVar5);
      if (__s_00 != (char *)0x0) {
        __format = "%s[%s(%s)]";
        pcVar7 = param_3;
        goto LAB_00013984;
      }
    }
    else {
      sVar5 = strlen(pcVar7);
      sVar5 = sVar5 + iVar1;
      pcVar2 = (char *)malloc(sVar5);
      if (pcVar2 != (char *)0x0) {
        snprintf(pcVar2,sVar5,"%s[%s(%s)]",__s,pcVar7,param_3);
        return pcVar2;
      }
    }
  }
  uVar6 = dcgettext(0,"Out of memory\n",5);
  error(uVar6);
  return (char *)0x0;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x000117c0
ADD EBX,0x5717
SUB ESP,0x20
MOV ESI,dword ptr [ESP + 0x34]
PUSH 0x5
LEA EAX,[EBX + 0xffffc9a2]
PUSH EAX
PUSH 0x0
CALL 0x000110d0
MOV EDI,dword ptr [ESI]
MOV dword ptr [ESP + 0x1c],EAX
MOV dword ptr [ESP],EDI
CALL 0x000111a0
POP ECX
PUSH dword ptr [ESP + 0x44]
MOV EBP,EAX
CALL 0x000111a0
MOV EDX,dword ptr [ESI + 0x2c]
ADD ESP,0x10
ADD EAX,EBP
LEA EBP,[EAX + 0x3]
TEST EDX,EDX
JZ 0x00013960
MOV EDX,dword ptr [ESI + 0x24]
TEST EDX,EDX
JNZ 0x000139a0
SUB ESP,0xc
PUSH EBP
CALL 0x00011150
ADD ESP,0x10
MOV ESI,EAX
TEST EAX,EAX
JZ 0x00013a40
SUB ESP,0xc
LEA EAX,[EBX + 0xffffc9be]
PUSH dword ptr [ESP + 0x44]
PUSH EDI
JMP 0x00013984
SUB ESP,0xc
PUSH EBP
CALL 0x00011150
ADD ESP,0x10
MOV ESI,EAX
TEST EAX,EAX
JZ 0x00013a40
SUB ESP,0xc
LEA EAX,[EBX + 0xffffc9b7]
PUSH dword ptr [ESP + 0x44]
PUSH EDI
PUSH EAX
PUSH EBP
PUSH ESI
CALL 0x000111f0
ADD ESP,0x20
ADD ESP,0x1c
MOV EAX,ESI
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EDX,dword ptr [ESP + 0x34]
LEA ESI,[EAX + 0x5]
MOV EBP,dword ptr [EDX]
TEST EBP,EBP
JZ 0x00013a00
SUB ESP,0xc
PUSH EBP
CALL 0x000111a0
LEA EDX,[EAX + ESI*0x1]
MOV dword ptr [ESP],EDX
MOV dword ptr [ESP + 0x1c],EDX
CALL 0x00011150
ADD ESP,0x10
MOV EDX,dword ptr [ESP + 0xc]
TEST EAX,EAX
MOV ESI,EAX
JZ 0x00013a40
SUB ESP,0x8
LEA EAX,[EBX + 0xffffc9ac]
PUSH dword ptr [ESP + 0x40]
PUSH EBP
PUSH EDI
PUSH EAX
PUSH EDX
PUSH ESI
CALL 0x000111f0
ADD ESP,0x20
MOV EAX,ESI
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
SUB ESP,0xc
PUSH dword ptr [ESP + 0x18]
CALL 0x000111a0
LEA EBP,[EAX + ESI*0x1]
MOV dword ptr [ESP],EBP
CALL 0x00011150
ADD ESP,0x10
MOV ESI,EAX
TEST EAX,EAX
JZ 0x00013a40
SUB ESP,0x8
LEA EAX,[EBX + 0xffffc9ac]
PUSH dword ptr [ESP + 0x40]
PUSH dword ptr [ESP + 0x18]
PUSH EDI
JMP 0x00013984
SUB ESP,0x4
LEA EAX,[EBX + 0xffffc944]
XOR ESI,ESI
PUSH 0x5
PUSH EAX
PUSH 0x0
CALL 0x000110d0
MOV dword ptr [ESP],EAX
CALL 0x00012790
ADD ESP,0x10
JMP 0x0001398f
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nchar * FUN_000138e0(undefined4 *param_1,undefined4 *param_2,char *param_3)\n\n{\n  int iVar1;\n  char *__s;\n  char *pcVar2;\n  size_t sVar3;\n  size_t sVar4;\n  char *__s_00;\n  char *__format;\n  size_t sVar5;\n  undefined4 uVar6;\n  char *pcVar7;\n  \n  pcVar7 = "<corrupt>";\n  pcVar2 = (char *)dcgettext(0,"<corrupt>",5);\n  __s = (char *)*param_1;\n  sVar3 = strlen(__s);\n  sVar4 = strlen(param_3);\n  sVar5 = sVar4 + sVar3 + 3;\n  if (param_1[0xb] == 0) {\n    __s_00 = (char *)malloc(sVar5);\n    if (__s_00 != (char *)0x0) {\n      __format = "%s(%s)";\n      pcVar2 = param_3;\nLAB_00013984:\n      snprintf(__s_00,sVar5,__format,__s,pcVar2,pcVar7);\n      return __s_00;\n    }\n  }\n  else if (param_1[9] == 0) {\n    __s_00 = (char *)malloc(sVar5);\n    if (__s_00 != (char *)0x0) {\n      __format = "%s[%s]";\n      pcVar2 = param_3;\n      goto LAB_00013984;\n    }\n  }\n  else {\n    iVar1 = sVar4 + sVar3 + 5;\n    pcVar7 = (char *)*param_2;\n    if (pcVar7 == (char *)0x0) {\n      sVar5 = strlen(pcVar2);\n      sVar5 = sVar5 + iVar1;\n      __s_00 = (char *)malloc(sVar5);\n      if (__s_00 != (char *)0x0) {\n        __format = "%s[%s(%s)]";\n        pcVar7 = param_3;\n        goto LAB_00013984;\n      }\n    }\n    else {\n      sVar5 = strlen(pcVar7);\n      sVar5 = sVar5 + iVar1;\n      pcVar2 = (char *)malloc(sVar5);\n      if (pcVar2 != (char *)0x0) {\n        snprintf(pcVar2,sVar5,"%s[%s(%s)]",__s,pcVar7,param_3);\n        return pcVar2;\n      }\n    }\n  }\n  uVar6 = dcgettext(0,"Out of memory\n",5);\n  error(uVar6);\n  return (char *)0x0;\n}\n\n" comment (function_definition "char * FUN_000138e0(undefined4 *param_1,undefined4 *param_2,char *param_3)\n\n{\n  int iVar1;\n  char *__s;\n  char *pcVar2;\n  size_t sVar3;\n  size_t sVar4;\n  char *__s_00;\n  char *__format;\n  size_t sVar5;\n  undefined4 uVar6;\n  char *pcVar7;\n  \n  pcVar7 = "<corrupt>";\n  pcVar2 = (char *)dcgettext(0,"<corrupt>",5);\n  __s = (char *)*param_1;\n  sVar3 = strlen(__s);\n  sVar4 = strlen(param_3);\n  sVar5 = sVar4 + sVar3 + 3;\n  if (param_1[0xb] == 0) {\n    __s_00 = (char *)malloc(sVar5);\n    if (__s_00 != (char *)0x0) {\n      __format = "%s(%s)";\n      pcVar2 = param_3;\nLAB_00013984:\n      snprintf(__s_00,sVar5,__format,__s,pcVar2,pcVar7);\n      return __s_00;\n    }\n  }\n  else if (param_1[9] == 0) {\n    __s_00 = (char *)malloc(sVar5);\n    if (__s_00 != (char *)0x0) {\n      __format = "%s[%s]";\n      pcVar2 = param_3;\n      goto LAB_00013984;\n    }\n  }\n  else {\n    iVar1 = sVar4 + sVar3 + 5;\n    pcVar7 = (char *)*param_2;\n    if (pcVar7 == (char *)0x0) {\n      sVar5 = strlen(pcVar2);\n      sVar5 = sVar5 + iVar1;\n      __s_00 = (char *)malloc(sVar5);\n      if (__s_00 != (char *)0x0) {\n        __format = "%s[%s(%s)]";\n        pcVar7 = param_3;\n        goto LAB_00013984;\n      }\n    }\n    else {\n      sVar5 = strlen(pcVar7);\n      sVar5 = sVar5 + iVar1;\n      pcVar2 = (char *)malloc(sVar5);\n      if (pcVar2 != (char *)0x0) {\n        snprintf(pcVar2,sVar5,"%s[%s(%s)]",__s,pcVar7,param_3);\n        return pcVar2;\n      }\n    }\n  }\n  uVar6 = dcgettext(0,"Out of memory\n",5);\n  error(uVar6);\n  return (char *)0x0;\n}" primitive_type (pointer_declarator "* FUN_000138e0(undefined4 *param_1,undefined4 *param_2,char *param_3)" * (function_declarator "FUN_000138e0(undefined4 *param_1,undefined4 *param_2,char *param_3)" identifier (parameter_list "(undefined4 *param_1,undefined4 *param_2,char *param_3)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "char *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) )))) (compound_statement "{\n  int iVar1;\n  char *__s;\n  char *pcVar2;\n  size_t sVar3;\n  size_t sVar4;\n  char *__s_00;\n  char *__format;\n  size_t sVar5;\n  undefined4 uVar6;\n  char *pcVar7;\n  \n  pcVar7 = "<corrupt>";\n  pcVar2 = (char *)dcgettext(0,"<corrupt>",5);\n  __s = (char *)*param_1;\n  sVar3 = strlen(__s);\n  sVar4 = strlen(param_3);\n  sVar5 = sVar4 + sVar3 + 3;\n  if (param_1[0xb] == 0) {\n    __s_00 = (char *)malloc(sVar5);\n    if (__s_00 != (char *)0x0) {\n      __format = "%s(%s)";\n      pcVar2 = param_3;\nLAB_00013984:\n      snprintf(__s_00,sVar5,__format,__s,pcVar2,pcVar7);\n      return __s_00;\n    }\n  }\n  else if (param_1[9] == 0) {\n    __s_00 = (char *)malloc(sVar5);\n    if (__s_00 != (char *)0x0) {\n      __format = "%s[%s]";\n      pcVar2 = param_3;\n      goto LAB_00013984;\n    }\n  }\n  else {\n    iVar1 = sVar4 + sVar3 + 5;\n    pcVar7 = (char *)*param_2;\n    if (pcVar7 == (char *)0x0) {\n      sVar5 = strlen(pcVar2);\n      sVar5 = sVar5 + iVar1;\n      __s_00 = (char *)malloc(sVar5);\n      if (__s_00 != (char *)0x0) {\n        __format = "%s[%s(%s)]";\n        pcVar7 = param_3;\n        goto LAB_00013984;\n      }\n    }\n    else {\n      sVar5 = strlen(pcVar7);\n      sVar5 = sVar5 + iVar1;\n      pcVar2 = (char *)malloc(sVar5);\n      if (pcVar2 != (char *)0x0) {\n        snprintf(pcVar2,sVar5,"%s[%s(%s)]",__s,pcVar7,param_3);\n        return pcVar2;\n      }\n    }\n  }\n  uVar6 = dcgettext(0,"Out of memory\n",5);\n  error(uVar6);\n  return (char *)0x0;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "char *__s;" primitive_type (pointer_declarator "*__s" * identifier) ;) (declaration "char *pcVar2;" primitive_type (pointer_declarator "*pcVar2" * identifier) ;) (declaration "size_t sVar3;" primitive_type identifier ;) (declaration "size_t sVar4;" primitive_type identifier ;) (declaration "char *__s_00;" primitive_type (pointer_declarator "*__s_00" * identifier) ;) (declaration "char *__format;" primitive_type (pointer_declarator "*__format" * identifier) ;) (declaration "size_t sVar5;" primitive_type identifier ;) (declaration "undefined4 uVar6;" type_identifier identifier ;) (declaration "char *pcVar7;" primitive_type (pointer_declarator "*pcVar7" * identifier) ;) (expression_statement "pcVar7 = "<corrupt>";" (assignment_expression "pcVar7 = "<corrupt>"" identifier = (string_literal ""<corrupt>"" " string_content ")) ;) (expression_statement "pcVar2 = (char *)dcgettext(0,"<corrupt>",5);" (assignment_expression "pcVar2 = (char *)dcgettext(0,"<corrupt>",5)" identifier = (cast_expression "(char *)dcgettext(0,"<corrupt>",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,"<corrupt>",5)" identifier (argument_list "(0,"<corrupt>",5)" ( number_literal , (string_literal ""<corrupt>"" " string_content ") , number_literal ))))) ;) (expression_statement "__s = (char *)*param_1;" (assignment_expression "__s = (char *)*param_1" identifier = (cast_expression "(char *)*param_1" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (expression_statement "sVar3 = strlen(__s);" (assignment_expression "sVar3 = strlen(__s)" identifier = (call_expression "strlen(__s)" identifier (argument_list "(__s)" ( identifier )))) ;) (expression_statement "sVar4 = strlen(param_3);" (assignment_expression "sVar4 = strlen(param_3)" identifier = (call_expression "strlen(param_3)" identifier (argument_list "(param_3)" ( identifier )))) ;) (expression_statement "sVar5 = sVar4 + sVar3 + 3;" (assignment_expression "sVar5 = sVar4 + sVar3 + 3" identifier = (binary_expression "sVar4 + sVar3 + 3" (binary_expression "sVar4 + sVar3" identifier + identifier) + number_literal)) ;) (if_statement "if (param_1[0xb] == 0) {\n    __s_00 = (char *)malloc(sVar5);\n    if (__s_00 != (char *)0x0) {\n      __format = "%s(%s)";\n      pcVar2 = param_3;\nLAB_00013984:\n      snprintf(__s_00,sVar5,__format,__s,pcVar2,pcVar7);\n      return __s_00;\n    }\n  }\n  else if (param_1[9] == 0) {\n    __s_00 = (char *)malloc(sVar5);\n    if (__s_00 != (char *)0x0) {\n      __format = "%s[%s]";\n      pcVar2 = param_3;\n      goto LAB_00013984;\n    }\n  }\n  else {\n    iVar1 = sVar4 + sVar3 + 5;\n    pcVar7 = (char *)*param_2;\n    if (pcVar7 == (char *)0x0) {\n      sVar5 = strlen(pcVar2);\n      sVar5 = sVar5 + iVar1;\n      __s_00 = (char *)malloc(sVar5);\n      if (__s_00 != (char *)0x0) {\n        __format = "%s[%s(%s)]";\n        pcVar7 = param_3;\n        goto LAB_00013984;\n      }\n    }\n    else {\n      sVar5 = strlen(pcVar7);\n      sVar5 = sVar5 + iVar1;\n      pcVar2 = (char *)malloc(sVar5);\n      if (pcVar2 != (char *)0x0) {\n        snprintf(pcVar2,sVar5,"%s[%s(%s)]",__s,pcVar7,param_3);\n        return pcVar2;\n      }\n    }\n  }" if (parenthesized_expression "(param_1[0xb] == 0)" ( (binary_expression "param_1[0xb] == 0" (subscript_expression "param_1[0xb]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n    __s_00 = (char *)malloc(sVar5);\n    if (__s_00 != (char *)0x0) {\n      __format = "%s(%s)";\n      pcVar2 = param_3;\nLAB_00013984:\n      snprintf(__s_00,sVar5,__format,__s,pcVar2,pcVar7);\n      return __s_00;\n    }\n  }" { (expression_statement "__s_00 = (char *)malloc(sVar5);" (assignment_expression "__s_00 = (char *)malloc(sVar5)" identifier = (cast_expression "(char *)malloc(sVar5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "malloc(sVar5)" identifier (argument_list "(sVar5)" ( identifier ))))) ;) (if_statement "if (__s_00 != (char *)0x0) {\n      __format = "%s(%s)";\n      pcVar2 = param_3;\nLAB_00013984:\n      snprintf(__s_00,sVar5,__format,__s,pcVar2,pcVar7);\n      return __s_00;\n    }" if (parenthesized_expression "(__s_00 != (char *)0x0)" ( (binary_expression "__s_00 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      __format = "%s(%s)";\n      pcVar2 = param_3;\nLAB_00013984:\n      snprintf(__s_00,sVar5,__format,__s,pcVar2,pcVar7);\n      return __s_00;\n    }" { (expression_statement "__format = "%s(%s)";" (assignment_expression "__format = "%s(%s)"" identifier = (string_literal ""%s(%s)"" " string_content ")) ;) (expression_statement "pcVar2 = param_3;" (assignment_expression "pcVar2 = param_3" identifier = identifier) ;) (labeled_statement "LAB_00013984:\n      snprintf(__s_00,sVar5,__format,__s,pcVar2,pcVar7);" statement_identifier : (expression_statement "snprintf(__s_00,sVar5,__format,__s,pcVar2,pcVar7);" (call_expression "snprintf(__s_00,sVar5,__format,__s,pcVar2,pcVar7)" identifier (argument_list "(__s_00,sVar5,__format,__s,pcVar2,pcVar7)" ( identifier , identifier , identifier , identifier , identifier , identifier ))) ;)) (return_statement "return __s_00;" return identifier ;) })) }) (else_clause "else if (param_1[9] == 0) {\n    __s_00 = (char *)malloc(sVar5);\n    if (__s_00 != (char *)0x0) {\n      __format = "%s[%s]";\n      pcVar2 = param_3;\n      goto LAB_00013984;\n    }\n  }\n  else {\n    iVar1 = sVar4 + sVar3 + 5;\n    pcVar7 = (char *)*param_2;\n    if (pcVar7 == (char *)0x0) {\n      sVar5 = strlen(pcVar2);\n      sVar5 = sVar5 + iVar1;\n      __s_00 = (char *)malloc(sVar5);\n      if (__s_00 != (char *)0x0) {\n        __format = "%s[%s(%s)]";\n        pcVar7 = param_3;\n        goto LAB_00013984;\n      }\n    }\n    else {\n      sVar5 = strlen(pcVar7);\n      sVar5 = sVar5 + iVar1;\n      pcVar2 = (char *)malloc(sVar5);\n      if (pcVar2 != (char *)0x0) {\n        snprintf(pcVar2,sVar5,"%s[%s(%s)]",__s,pcVar7,param_3);\n        return pcVar2;\n      }\n    }\n  }" else (if_statement "if (param_1[9] == 0) {\n    __s_00 = (char *)malloc(sVar5);\n    if (__s_00 != (char *)0x0) {\n      __format = "%s[%s]";\n      pcVar2 = param_3;\n      goto LAB_00013984;\n    }\n  }\n  else {\n    iVar1 = sVar4 + sVar3 + 5;\n    pcVar7 = (char *)*param_2;\n    if (pcVar7 == (char *)0x0) {\n      sVar5 = strlen(pcVar2);\n      sVar5 = sVar5 + iVar1;\n      __s_00 = (char *)malloc(sVar5);\n      if (__s_00 != (char *)0x0) {\n        __format = "%s[%s(%s)]";\n        pcVar7 = param_3;\n        goto LAB_00013984;\n      }\n    }\n    else {\n      sVar5 = strlen(pcVar7);\n      sVar5 = sVar5 + iVar1;\n      pcVar2 = (char *)malloc(sVar5);\n      if (pcVar2 != (char *)0x0) {\n        snprintf(pcVar2,sVar5,"%s[%s(%s)]",__s,pcVar7,param_3);\n        return pcVar2;\n      }\n    }\n  }" if (parenthesized_expression "(param_1[9] == 0)" ( (binary_expression "param_1[9] == 0" (subscript_expression "param_1[9]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n    __s_00 = (char *)malloc(sVar5);\n    if (__s_00 != (char *)0x0) {\n      __format = "%s[%s]";\n      pcVar2 = param_3;\n      goto LAB_00013984;\n    }\n  }" { (expression_statement "__s_00 = (char *)malloc(sVar5);" (assignment_expression "__s_00 = (char *)malloc(sVar5)" identifier = (cast_expression "(char *)malloc(sVar5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "malloc(sVar5)" identifier (argument_list "(sVar5)" ( identifier ))))) ;) (if_statement "if (__s_00 != (char *)0x0) {\n      __format = "%s[%s]";\n      pcVar2 = param_3;\n      goto LAB_00013984;\n    }" if (parenthesized_expression "(__s_00 != (char *)0x0)" ( (binary_expression "__s_00 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      __format = "%s[%s]";\n      pcVar2 = param_3;\n      goto LAB_00013984;\n    }" { (expression_statement "__format = "%s[%s]";" (assignment_expression "__format = "%s[%s]"" identifier = (string_literal ""%s[%s]"" " string_content ")) ;) (expression_statement "pcVar2 = param_3;" (assignment_expression "pcVar2 = param_3" identifier = identifier) ;) (goto_statement "goto LAB_00013984;" goto statement_identifier ;) })) }) (else_clause "else {\n    iVar1 = sVar4 + sVar3 + 5;\n    pcVar7 = (char *)*param_2;\n    if (pcVar7 == (char *)0x0) {\n      sVar5 = strlen(pcVar2);\n      sVar5 = sVar5 + iVar1;\n      __s_00 = (char *)malloc(sVar5);\n      if (__s_00 != (char *)0x0) {\n        __format = "%s[%s(%s)]";\n        pcVar7 = param_3;\n        goto LAB_00013984;\n      }\n    }\n    else {\n      sVar5 = strlen(pcVar7);\n      sVar5 = sVar5 + iVar1;\n      pcVar2 = (char *)malloc(sVar5);\n      if (pcVar2 != (char *)0x0) {\n        snprintf(pcVar2,sVar5,"%s[%s(%s)]",__s,pcVar7,param_3);\n        return pcVar2;\n      }\n    }\n  }" else (compound_statement "{\n    iVar1 = sVar4 + sVar3 + 5;\n    pcVar7 = (char *)*param_2;\n    if (pcVar7 == (char *)0x0) {\n      sVar5 = strlen(pcVar2);\n      sVar5 = sVar5 + iVar1;\n      __s_00 = (char *)malloc(sVar5);\n      if (__s_00 != (char *)0x0) {\n        __format = "%s[%s(%s)]";\n        pcVar7 = param_3;\n        goto LAB_00013984;\n      }\n    }\n    else {\n      sVar5 = strlen(pcVar7);\n      sVar5 = sVar5 + iVar1;\n      pcVar2 = (char *)malloc(sVar5);\n      if (pcVar2 != (char *)0x0) {\n        snprintf(pcVar2,sVar5,"%s[%s(%s)]",__s,pcVar7,param_3);\n        return pcVar2;\n      }\n    }\n  }" { (expression_statement "iVar1 = sVar4 + sVar3 + 5;" (assignment_expression "iVar1 = sVar4 + sVar3 + 5" identifier = (binary_expression "sVar4 + sVar3 + 5" (binary_expression "sVar4 + sVar3" identifier + identifier) + number_literal)) ;) (expression_statement "pcVar7 = (char *)*param_2;" (assignment_expression "pcVar7 = (char *)*param_2" identifier = (cast_expression "(char *)*param_2" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_2" * identifier))) ;) (if_statement "if (pcVar7 == (char *)0x0) {\n      sVar5 = strlen(pcVar2);\n      sVar5 = sVar5 + iVar1;\n      __s_00 = (char *)malloc(sVar5);\n      if (__s_00 != (char *)0x0) {\n        __format = "%s[%s(%s)]";\n        pcVar7 = param_3;\n        goto LAB_00013984;\n      }\n    }\n    else {\n      sVar5 = strlen(pcVar7);\n      sVar5 = sVar5 + iVar1;\n      pcVar2 = (char *)malloc(sVar5);\n      if (pcVar2 != (char *)0x0) {\n        snprintf(pcVar2,sVar5,"%s[%s(%s)]",__s,pcVar7,param_3);\n        return pcVar2;\n      }\n    }" if (parenthesized_expression "(pcVar7 == (char *)0x0)" ( (binary_expression "pcVar7 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      sVar5 = strlen(pcVar2);\n      sVar5 = sVar5 + iVar1;\n      __s_00 = (char *)malloc(sVar5);\n      if (__s_00 != (char *)0x0) {\n        __format = "%s[%s(%s)]";\n        pcVar7 = param_3;\n        goto LAB_00013984;\n      }\n    }" { (expression_statement "sVar5 = strlen(pcVar2);" (assignment_expression "sVar5 = strlen(pcVar2)" identifier = (call_expression "strlen(pcVar2)" identifier (argument_list "(pcVar2)" ( identifier )))) ;) (expression_statement "sVar5 = sVar5 + iVar1;" (assignment_expression "sVar5 = sVar5 + iVar1" identifier = (binary_expression "sVar5 + iVar1" identifier + identifier)) ;) (expression_statement "__s_00 = (char *)malloc(sVar5);" (assignment_expression "__s_00 = (char *)malloc(sVar5)" identifier = (cast_expression "(char *)malloc(sVar5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "malloc(sVar5)" identifier (argument_list "(sVar5)" ( identifier ))))) ;) (if_statement "if (__s_00 != (char *)0x0) {\n        __format = "%s[%s(%s)]";\n        pcVar7 = param_3;\n        goto LAB_00013984;\n      }" if (parenthesized_expression "(__s_00 != (char *)0x0)" ( (binary_expression "__s_00 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        __format = "%s[%s(%s)]";\n        pcVar7 = param_3;\n        goto LAB_00013984;\n      }" { (expression_statement "__format = "%s[%s(%s)]";" (assignment_expression "__format = "%s[%s(%s)]"" identifier = (string_literal ""%s[%s(%s)]"" " string_content ")) ;) (expression_statement "pcVar7 = param_3;" (assignment_expression "pcVar7 = param_3" identifier = identifier) ;) (goto_statement "goto LAB_00013984;" goto statement_identifier ;) })) }) (else_clause "else {\n      sVar5 = strlen(pcVar7);\n      sVar5 = sVar5 + iVar1;\n      pcVar2 = (char *)malloc(sVar5);\n      if (pcVar2 != (char *)0x0) {\n        snprintf(pcVar2,sVar5,"%s[%s(%s)]",__s,pcVar7,param_3);\n        return pcVar2;\n      }\n    }" else (compound_statement "{\n      sVar5 = strlen(pcVar7);\n      sVar5 = sVar5 + iVar1;\n      pcVar2 = (char *)malloc(sVar5);\n      if (pcVar2 != (char *)0x0) {\n        snprintf(pcVar2,sVar5,"%s[%s(%s)]",__s,pcVar7,param_3);\n        return pcVar2;\n      }\n    }" { (expression_statement "sVar5 = strlen(pcVar7);" (assignment_expression "sVar5 = strlen(pcVar7)" identifier = (call_expression "strlen(pcVar7)" identifier (argument_list "(pcVar7)" ( identifier )))) ;) (expression_statement "sVar5 = sVar5 + iVar1;" (assignment_expression "sVar5 = sVar5 + iVar1" identifier = (binary_expression "sVar5 + iVar1" identifier + identifier)) ;) (expression_statement "pcVar2 = (char *)malloc(sVar5);" (assignment_expression "pcVar2 = (char *)malloc(sVar5)" identifier = (cast_expression "(char *)malloc(sVar5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "malloc(sVar5)" identifier (argument_list "(sVar5)" ( identifier ))))) ;) (if_statement "if (pcVar2 != (char *)0x0) {\n        snprintf(pcVar2,sVar5,"%s[%s(%s)]",__s,pcVar7,param_3);\n        return pcVar2;\n      }" if (parenthesized_expression "(pcVar2 != (char *)0x0)" ( (binary_expression "pcVar2 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        snprintf(pcVar2,sVar5,"%s[%s(%s)]",__s,pcVar7,param_3);\n        return pcVar2;\n      }" { (expression_statement "snprintf(pcVar2,sVar5,"%s[%s(%s)]",__s,pcVar7,param_3);" (call_expression "snprintf(pcVar2,sVar5,"%s[%s(%s)]",__s,pcVar7,param_3)" identifier (argument_list "(pcVar2,sVar5,"%s[%s(%s)]",__s,pcVar7,param_3)" ( identifier , identifier , (string_literal ""%s[%s(%s)]"" " string_content ") , identifier , identifier , identifier ))) ;) (return_statement "return pcVar2;" return identifier ;) })) }))) }))))) (expression_statement "uVar6 = dcgettext(0,"Out of memory\n",5);" (assignment_expression "uVar6 = dcgettext(0,"Out of memory\n",5)" identifier = (call_expression "dcgettext(0,"Out of memory\n",5)" identifier (argument_list "(0,"Out of memory\n",5)" ( number_literal , (string_literal ""Out of memory\n"" " string_content escape_sequence ") , number_literal )))) ;) (expression_statement "error(uVar6);" (call_expression "error(uVar6)" identifier (argument_list "(uVar6)" ( identifier ))) ;) (return_statement "return (char *)0x0;" return (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n\nchar * make_qualified_name(archive_info *arch,archive_info *nested_arch,char *member_name)\n\n{\n  int iVar1;\n  char *__s;\n  char *pcVar2;\n  size_t sVar3;\n  size_t sVar4;\n  char *__s_00;\n  char *__format;\n  size_t sVar5;\n  char *pcVar6;\n  \n  pcVar6 = "<corrupt>";\n  pcVar2 = (char *)dcgettext(0,"<corrupt>",5);\n  __s = arch->file_name;\n  sVar3 = strlen(__s);\n  sVar4 = strlen(member_name);\n  sVar5 = sVar4 + sVar3 + 3;\n  if (arch->is_thin_archive == 0) {\n    __s_00 = (char *)malloc(sVar5);\n    if (__s_00 != (char *)0x0) {\n      __format = "%s(%s)";\n      pcVar2 = member_name;\nLAB_00013984:\n      snprintf(__s_00,sVar5,__format,__s,pcVar2,pcVar6);\n      return __s_00;\n    }\n  }\n  else if (arch->nested_member_origin == 0) {\n    __s_00 = (char *)malloc(sVar5);\n    if (__s_00 != (char *)0x0) {\n      __format = "%s[%s]";\n      pcVar2 = member_name;\n      goto LAB_00013984;\n    }\n  }\n  else {\n    iVar1 = sVar4 + sVar3 + 5;\n    pcVar6 = nested_arch->file_name;\n    if (pcVar6 == (char *)0x0) {\n      sVar5 = strlen(pcVar2);\n      sVar5 = sVar5 + iVar1;\n      __s_00 = (char *)malloc(sVar5);\n      if (__s_00 != (char *)0x0) {\n        __format = "%s[%s(%s)]";\n        pcVar6 = member_name;\n        goto LAB_00013984;\n      }\n    }\n    else {\n      sVar5 = strlen(pcVar6);\n      sVar5 = sVar5 + iVar1;\n      pcVar2 = (char *)malloc(sVar5);\n      if (pcVar2 != (char *)0x0) {\n        snprintf(pcVar2,sVar5,"%s[%s(%s)]",__s,pcVar6,member_name);\n        return pcVar2;\n      }\n    }\n  }\n  pcVar6 = (char *)dcgettext(0,"Out of memory\n",5);\n  error(pcVar6);\n  return (char *)0x0;\n}\n\n" comment comment (function_definition "char * make_qualified_name(archive_info *arch,archive_info *nested_arch,char *member_name)\n\n{\n  int iVar1;\n  char *__s;\n  char *pcVar2;\n  size_t sVar3;\n  size_t sVar4;\n  char *__s_00;\n  char *__format;\n  size_t sVar5;\n  char *pcVar6;\n  \n  pcVar6 = "<corrupt>";\n  pcVar2 = (char *)dcgettext(0,"<corrupt>",5);\n  __s = arch->file_name;\n  sVar3 = strlen(__s);\n  sVar4 = strlen(member_name);\n  sVar5 = sVar4 + sVar3 + 3;\n  if (arch->is_thin_archive == 0) {\n    __s_00 = (char *)malloc(sVar5);\n    if (__s_00 != (char *)0x0) {\n      __format = "%s(%s)";\n      pcVar2 = member_name;\nLAB_00013984:\n      snprintf(__s_00,sVar5,__format,__s,pcVar2,pcVar6);\n      return __s_00;\n    }\n  }\n  else if (arch->nested_member_origin == 0) {\n    __s_00 = (char *)malloc(sVar5);\n    if (__s_00 != (char *)0x0) {\n      __format = "%s[%s]";\n      pcVar2 = member_name;\n      goto LAB_00013984;\n    }\n  }\n  else {\n    iVar1 = sVar4 + sVar3 + 5;\n    pcVar6 = nested_arch->file_name;\n    if (pcVar6 == (char *)0x0) {\n      sVar5 = strlen(pcVar2);\n      sVar5 = sVar5 + iVar1;\n      __s_00 = (char *)malloc(sVar5);\n      if (__s_00 != (char *)0x0) {\n        __format = "%s[%s(%s)]";\n        pcVar6 = member_name;\n        goto LAB_00013984;\n      }\n    }\n    else {\n      sVar5 = strlen(pcVar6);\n      sVar5 = sVar5 + iVar1;\n      pcVar2 = (char *)malloc(sVar5);\n      if (pcVar2 != (char *)0x0) {\n        snprintf(pcVar2,sVar5,"%s[%s(%s)]",__s,pcVar6,member_name);\n        return pcVar2;\n      }\n    }\n  }\n  pcVar6 = (char *)dcgettext(0,"Out of memory\n",5);\n  error(pcVar6);\n  return (char *)0x0;\n}" primitive_type (pointer_declarator "* make_qualified_name(archive_info *arch,archive_info *nested_arch,char *member_name)" * (function_declarator "make_qualified_name(archive_info *arch,archive_info *nested_arch,char *member_name)" identifier (parameter_list "(archive_info *arch,archive_info *nested_arch,char *member_name)" ( (parameter_declaration "archive_info *arch" type_identifier (pointer_declarator "*arch" * identifier)) , (parameter_declaration "archive_info *nested_arch" type_identifier (pointer_declarator "*nested_arch" * identifier)) , (parameter_declaration "char *member_name" primitive_type (pointer_declarator "*member_name" * identifier)) )))) (compound_statement "{\n  int iVar1;\n  char *__s;\n  char *pcVar2;\n  size_t sVar3;\n  size_t sVar4;\n  char *__s_00;\n  char *__format;\n  size_t sVar5;\n  char *pcVar6;\n  \n  pcVar6 = "<corrupt>";\n  pcVar2 = (char *)dcgettext(0,"<corrupt>",5);\n  __s = arch->file_name;\n  sVar3 = strlen(__s);\n  sVar4 = strlen(member_name);\n  sVar5 = sVar4 + sVar3 + 3;\n  if (arch->is_thin_archive == 0) {\n    __s_00 = (char *)malloc(sVar5);\n    if (__s_00 != (char *)0x0) {\n      __format = "%s(%s)";\n      pcVar2 = member_name;\nLAB_00013984:\n      snprintf(__s_00,sVar5,__format,__s,pcVar2,pcVar6);\n      return __s_00;\n    }\n  }\n  else if (arch->nested_member_origin == 0) {\n    __s_00 = (char *)malloc(sVar5);\n    if (__s_00 != (char *)0x0) {\n      __format = "%s[%s]";\n      pcVar2 = member_name;\n      goto LAB_00013984;\n    }\n  }\n  else {\n    iVar1 = sVar4 + sVar3 + 5;\n    pcVar6 = nested_arch->file_name;\n    if (pcVar6 == (char *)0x0) {\n      sVar5 = strlen(pcVar2);\n      sVar5 = sVar5 + iVar1;\n      __s_00 = (char *)malloc(sVar5);\n      if (__s_00 != (char *)0x0) {\n        __format = "%s[%s(%s)]";\n        pcVar6 = member_name;\n        goto LAB_00013984;\n      }\n    }\n    else {\n      sVar5 = strlen(pcVar6);\n      sVar5 = sVar5 + iVar1;\n      pcVar2 = (char *)malloc(sVar5);\n      if (pcVar2 != (char *)0x0) {\n        snprintf(pcVar2,sVar5,"%s[%s(%s)]",__s,pcVar6,member_name);\n        return pcVar2;\n      }\n    }\n  }\n  pcVar6 = (char *)dcgettext(0,"Out of memory\n",5);\n  error(pcVar6);\n  return (char *)0x0;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "char *__s;" primitive_type (pointer_declarator "*__s" * identifier) ;) (declaration "char *pcVar2;" primitive_type (pointer_declarator "*pcVar2" * identifier) ;) (declaration "size_t sVar3;" primitive_type identifier ;) (declaration "size_t sVar4;" primitive_type identifier ;) (declaration "char *__s_00;" primitive_type (pointer_declarator "*__s_00" * identifier) ;) (declaration "char *__format;" primitive_type (pointer_declarator "*__format" * identifier) ;) (declaration "size_t sVar5;" primitive_type identifier ;) (declaration "char *pcVar6;" primitive_type (pointer_declarator "*pcVar6" * identifier) ;) (expression_statement "pcVar6 = "<corrupt>";" (assignment_expression "pcVar6 = "<corrupt>"" identifier = (string_literal ""<corrupt>"" " string_content ")) ;) (expression_statement "pcVar2 = (char *)dcgettext(0,"<corrupt>",5);" (assignment_expression "pcVar2 = (char *)dcgettext(0,"<corrupt>",5)" identifier = (cast_expression "(char *)dcgettext(0,"<corrupt>",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,"<corrupt>",5)" identifier (argument_list "(0,"<corrupt>",5)" ( number_literal , (string_literal ""<corrupt>"" " string_content ") , number_literal ))))) ;) (expression_statement "__s = arch->file_name;" (assignment_expression "__s = arch->file_name" identifier = (field_expression "arch->file_name" identifier -> field_identifier)) ;) (expression_statement "sVar3 = strlen(__s);" (assignment_expression "sVar3 = strlen(__s)" identifier = (call_expression "strlen(__s)" identifier (argument_list "(__s)" ( identifier )))) ;) (expression_statement "sVar4 = strlen(member_name);" (assignment_expression "sVar4 = strlen(member_name)" identifier = (call_expression "strlen(member_name)" identifier (argument_list "(member_name)" ( identifier )))) ;) (expression_statement "sVar5 = sVar4 + sVar3 + 3;" (assignment_expression "sVar5 = sVar4 + sVar3 + 3" identifier = (binary_expression "sVar4 + sVar3 + 3" (binary_expression "sVar4 + sVar3" identifier + identifier) + number_literal)) ;) (if_statement "if (arch->is_thin_archive == 0) {\n    __s_00 = (char *)malloc(sVar5);\n    if (__s_00 != (char *)0x0) {\n      __format = "%s(%s)";\n      pcVar2 = member_name;\nLAB_00013984:\n      snprintf(__s_00,sVar5,__format,__s,pcVar2,pcVar6);\n      return __s_00;\n    }\n  }\n  else if (arch->nested_member_origin == 0) {\n    __s_00 = (char *)malloc(sVar5);\n    if (__s_00 != (char *)0x0) {\n      __format = "%s[%s]";\n      pcVar2 = member_name;\n      goto LAB_00013984;\n    }\n  }\n  else {\n    iVar1 = sVar4 + sVar3 + 5;\n    pcVar6 = nested_arch->file_name;\n    if (pcVar6 == (char *)0x0) {\n      sVar5 = strlen(pcVar2);\n      sVar5 = sVar5 + iVar1;\n      __s_00 = (char *)malloc(sVar5);\n      if (__s_00 != (char *)0x0) {\n        __format = "%s[%s(%s)]";\n        pcVar6 = member_name;\n        goto LAB_00013984;\n      }\n    }\n    else {\n      sVar5 = strlen(pcVar6);\n      sVar5 = sVar5 + iVar1;\n      pcVar2 = (char *)malloc(sVar5);\n      if (pcVar2 != (char *)0x0) {\n        snprintf(pcVar2,sVar5,"%s[%s(%s)]",__s,pcVar6,member_name);\n        return pcVar2;\n      }\n    }\n  }" if (parenthesized_expression "(arch->is_thin_archive == 0)" ( (binary_expression "arch->is_thin_archive == 0" (field_expression "arch->is_thin_archive" identifier -> field_identifier) == number_literal) )) (compound_statement "{\n    __s_00 = (char *)malloc(sVar5);\n    if (__s_00 != (char *)0x0) {\n      __format = "%s(%s)";\n      pcVar2 = member_name;\nLAB_00013984:\n      snprintf(__s_00,sVar5,__format,__s,pcVar2,pcVar6);\n      return __s_00;\n    }\n  }" { (expression_statement "__s_00 = (char *)malloc(sVar5);" (assignment_expression "__s_00 = (char *)malloc(sVar5)" identifier = (cast_expression "(char *)malloc(sVar5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "malloc(sVar5)" identifier (argument_list "(sVar5)" ( identifier ))))) ;) (if_statement "if (__s_00 != (char *)0x0) {\n      __format = "%s(%s)";\n      pcVar2 = member_name;\nLAB_00013984:\n      snprintf(__s_00,sVar5,__format,__s,pcVar2,pcVar6);\n      return __s_00;\n    }" if (parenthesized_expression "(__s_00 != (char *)0x0)" ( (binary_expression "__s_00 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      __format = "%s(%s)";\n      pcVar2 = member_name;\nLAB_00013984:\n      snprintf(__s_00,sVar5,__format,__s,pcVar2,pcVar6);\n      return __s_00;\n    }" { (expression_statement "__format = "%s(%s)";" (assignment_expression "__format = "%s(%s)"" identifier = (string_literal ""%s(%s)"" " string_content ")) ;) (expression_statement "pcVar2 = member_name;" (assignment_expression "pcVar2 = member_name" identifier = identifier) ;) (labeled_statement "LAB_00013984:\n      snprintf(__s_00,sVar5,__format,__s,pcVar2,pcVar6);" statement_identifier : (expression_statement "snprintf(__s_00,sVar5,__format,__s,pcVar2,pcVar6);" (call_expression "snprintf(__s_00,sVar5,__format,__s,pcVar2,pcVar6)" identifier (argument_list "(__s_00,sVar5,__format,__s,pcVar2,pcVar6)" ( identifier , identifier , identifier , identifier , identifier , identifier ))) ;)) (return_statement "return __s_00;" return identifier ;) })) }) (else_clause "else if (arch->nested_member_origin == 0) {\n    __s_00 = (char *)malloc(sVar5);\n    if (__s_00 != (char *)0x0) {\n      __format = "%s[%s]";\n      pcVar2 = member_name;\n      goto LAB_00013984;\n    }\n  }\n  else {\n    iVar1 = sVar4 + sVar3 + 5;\n    pcVar6 = nested_arch->file_name;\n    if (pcVar6 == (char *)0x0) {\n      sVar5 = strlen(pcVar2);\n      sVar5 = sVar5 + iVar1;\n      __s_00 = (char *)malloc(sVar5);\n      if (__s_00 != (char *)0x0) {\n        __format = "%s[%s(%s)]";\n        pcVar6 = member_name;\n        goto LAB_00013984;\n      }\n    }\n    else {\n      sVar5 = strlen(pcVar6);\n      sVar5 = sVar5 + iVar1;\n      pcVar2 = (char *)malloc(sVar5);\n      if (pcVar2 != (char *)0x0) {\n        snprintf(pcVar2,sVar5,"%s[%s(%s)]",__s,pcVar6,member_name);\n        return pcVar2;\n      }\n    }\n  }" else (if_statement "if (arch->nested_member_origin == 0) {\n    __s_00 = (char *)malloc(sVar5);\n    if (__s_00 != (char *)0x0) {\n      __format = "%s[%s]";\n      pcVar2 = member_name;\n      goto LAB_00013984;\n    }\n  }\n  else {\n    iVar1 = sVar4 + sVar3 + 5;\n    pcVar6 = nested_arch->file_name;\n    if (pcVar6 == (char *)0x0) {\n      sVar5 = strlen(pcVar2);\n      sVar5 = sVar5 + iVar1;\n      __s_00 = (char *)malloc(sVar5);\n      if (__s_00 != (char *)0x0) {\n        __format = "%s[%s(%s)]";\n        pcVar6 = member_name;\n        goto LAB_00013984;\n      }\n    }\n    else {\n      sVar5 = strlen(pcVar6);\n      sVar5 = sVar5 + iVar1;\n      pcVar2 = (char *)malloc(sVar5);\n      if (pcVar2 != (char *)0x0) {\n        snprintf(pcVar2,sVar5,"%s[%s(%s)]",__s,pcVar6,member_name);\n        return pcVar2;\n      }\n    }\n  }" if (parenthesized_expression "(arch->nested_member_origin == 0)" ( (binary_expression "arch->nested_member_origin == 0" (field_expression "arch->nested_member_origin" identifier -> field_identifier) == number_literal) )) (compound_statement "{\n    __s_00 = (char *)malloc(sVar5);\n    if (__s_00 != (char *)0x0) {\n      __format = "%s[%s]";\n      pcVar2 = member_name;\n      goto LAB_00013984;\n    }\n  }" { (expression_statement "__s_00 = (char *)malloc(sVar5);" (assignment_expression "__s_00 = (char *)malloc(sVar5)" identifier = (cast_expression "(char *)malloc(sVar5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "malloc(sVar5)" identifier (argument_list "(sVar5)" ( identifier ))))) ;) (if_statement "if (__s_00 != (char *)0x0) {\n      __format = "%s[%s]";\n      pcVar2 = member_name;\n      goto LAB_00013984;\n    }" if (parenthesized_expression "(__s_00 != (char *)0x0)" ( (binary_expression "__s_00 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      __format = "%s[%s]";\n      pcVar2 = member_name;\n      goto LAB_00013984;\n    }" { (expression_statement "__format = "%s[%s]";" (assignment_expression "__format = "%s[%s]"" identifier = (string_literal ""%s[%s]"" " string_content ")) ;) (expression_statement "pcVar2 = member_name;" (assignment_expression "pcVar2 = member_name" identifier = identifier) ;) (goto_statement "goto LAB_00013984;" goto statement_identifier ;) })) }) (else_clause "else {\n    iVar1 = sVar4 + sVar3 + 5;\n    pcVar6 = nested_arch->file_name;\n    if (pcVar6 == (char *)0x0) {\n      sVar5 = strlen(pcVar2);\n      sVar5 = sVar5 + iVar1;\n      __s_00 = (char *)malloc(sVar5);\n      if (__s_00 != (char *)0x0) {\n        __format = "%s[%s(%s)]";\n        pcVar6 = member_name;\n        goto LAB_00013984;\n      }\n    }\n    else {\n      sVar5 = strlen(pcVar6);\n      sVar5 = sVar5 + iVar1;\n      pcVar2 = (char *)malloc(sVar5);\n      if (pcVar2 != (char *)0x0) {\n        snprintf(pcVar2,sVar5,"%s[%s(%s)]",__s,pcVar6,member_name);\n        return pcVar2;\n      }\n    }\n  }" else (compound_statement "{\n    iVar1 = sVar4 + sVar3 + 5;\n    pcVar6 = nested_arch->file_name;\n    if (pcVar6 == (char *)0x0) {\n      sVar5 = strlen(pcVar2);\n      sVar5 = sVar5 + iVar1;\n      __s_00 = (char *)malloc(sVar5);\n      if (__s_00 != (char *)0x0) {\n        __format = "%s[%s(%s)]";\n        pcVar6 = member_name;\n        goto LAB_00013984;\n      }\n    }\n    else {\n      sVar5 = strlen(pcVar6);\n      sVar5 = sVar5 + iVar1;\n      pcVar2 = (char *)malloc(sVar5);\n      if (pcVar2 != (char *)0x0) {\n        snprintf(pcVar2,sVar5,"%s[%s(%s)]",__s,pcVar6,member_name);\n        return pcVar2;\n      }\n    }\n  }" { (expression_statement "iVar1 = sVar4 + sVar3 + 5;" (assignment_expression "iVar1 = sVar4 + sVar3 + 5" identifier = (binary_expression "sVar4 + sVar3 + 5" (binary_expression "sVar4 + sVar3" identifier + identifier) + number_literal)) ;) (expression_statement "pcVar6 = nested_arch->file_name;" (assignment_expression "pcVar6 = nested_arch->file_name" identifier = (field_expression "nested_arch->file_name" identifier -> field_identifier)) ;) (if_statement "if (pcVar6 == (char *)0x0) {\n      sVar5 = strlen(pcVar2);\n      sVar5 = sVar5 + iVar1;\n      __s_00 = (char *)malloc(sVar5);\n      if (__s_00 != (char *)0x0) {\n        __format = "%s[%s(%s)]";\n        pcVar6 = member_name;\n        goto LAB_00013984;\n      }\n    }\n    else {\n      sVar5 = strlen(pcVar6);\n      sVar5 = sVar5 + iVar1;\n      pcVar2 = (char *)malloc(sVar5);\n      if (pcVar2 != (char *)0x0) {\n        snprintf(pcVar2,sVar5,"%s[%s(%s)]",__s,pcVar6,member_name);\n        return pcVar2;\n      }\n    }" if (parenthesized_expression "(pcVar6 == (char *)0x0)" ( (binary_expression "pcVar6 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      sVar5 = strlen(pcVar2);\n      sVar5 = sVar5 + iVar1;\n      __s_00 = (char *)malloc(sVar5);\n      if (__s_00 != (char *)0x0) {\n        __format = "%s[%s(%s)]";\n        pcVar6 = member_name;\n        goto LAB_00013984;\n      }\n    }" { (expression_statement "sVar5 = strlen(pcVar2);" (assignment_expression "sVar5 = strlen(pcVar2)" identifier = (call_expression "strlen(pcVar2)" identifier (argument_list "(pcVar2)" ( identifier )))) ;) (expression_statement "sVar5 = sVar5 + iVar1;" (assignment_expression "sVar5 = sVar5 + iVar1" identifier = (binary_expression "sVar5 + iVar1" identifier + identifier)) ;) (expression_statement "__s_00 = (char *)malloc(sVar5);" (assignment_expression "__s_00 = (char *)malloc(sVar5)" identifier = (cast_expression "(char *)malloc(sVar5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "malloc(sVar5)" identifier (argument_list "(sVar5)" ( identifier ))))) ;) (if_statement "if (__s_00 != (char *)0x0) {\n        __format = "%s[%s(%s)]";\n        pcVar6 = member_name;\n        goto LAB_00013984;\n      }" if (parenthesized_expression "(__s_00 != (char *)0x0)" ( (binary_expression "__s_00 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        __format = "%s[%s(%s)]";\n        pcVar6 = member_name;\n        goto LAB_00013984;\n      }" { (expression_statement "__format = "%s[%s(%s)]";" (assignment_expression "__format = "%s[%s(%s)]"" identifier = (string_literal ""%s[%s(%s)]"" " string_content ")) ;) (expression_statement "pcVar6 = member_name;" (assignment_expression "pcVar6 = member_name" identifier = identifier) ;) (goto_statement "goto LAB_00013984;" goto statement_identifier ;) })) }) (else_clause "else {\n      sVar5 = strlen(pcVar6);\n      sVar5 = sVar5 + iVar1;\n      pcVar2 = (char *)malloc(sVar5);\n      if (pcVar2 != (char *)0x0) {\n        snprintf(pcVar2,sVar5,"%s[%s(%s)]",__s,pcVar6,member_name);\n        return pcVar2;\n      }\n    }" else (compound_statement "{\n      sVar5 = strlen(pcVar6);\n      sVar5 = sVar5 + iVar1;\n      pcVar2 = (char *)malloc(sVar5);\n      if (pcVar2 != (char *)0x0) {\n        snprintf(pcVar2,sVar5,"%s[%s(%s)]",__s,pcVar6,member_name);\n        return pcVar2;\n      }\n    }" { (expression_statement "sVar5 = strlen(pcVar6);" (assignment_expression "sVar5 = strlen(pcVar6)" identifier = (call_expression "strlen(pcVar6)" identifier (argument_list "(pcVar6)" ( identifier )))) ;) (expression_statement "sVar5 = sVar5 + iVar1;" (assignment_expression "sVar5 = sVar5 + iVar1" identifier = (binary_expression "sVar5 + iVar1" identifier + identifier)) ;) (expression_statement "pcVar2 = (char *)malloc(sVar5);" (assignment_expression "pcVar2 = (char *)malloc(sVar5)" identifier = (cast_expression "(char *)malloc(sVar5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "malloc(sVar5)" identifier (argument_list "(sVar5)" ( identifier ))))) ;) (if_statement "if (pcVar2 != (char *)0x0) {\n        snprintf(pcVar2,sVar5,"%s[%s(%s)]",__s,pcVar6,member_name);\n        return pcVar2;\n      }" if (parenthesized_expression "(pcVar2 != (char *)0x0)" ( (binary_expression "pcVar2 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        snprintf(pcVar2,sVar5,"%s[%s(%s)]",__s,pcVar6,member_name);\n        return pcVar2;\n      }" { (expression_statement "snprintf(pcVar2,sVar5,"%s[%s(%s)]",__s,pcVar6,member_name);" (call_expression "snprintf(pcVar2,sVar5,"%s[%s(%s)]",__s,pcVar6,member_name)" identifier (argument_list "(pcVar2,sVar5,"%s[%s(%s)]",__s,pcVar6,member_name)" ( identifier , identifier , (string_literal ""%s[%s(%s)]"" " string_content ") , identifier , identifier , identifier ))) ;) (return_statement "return pcVar2;" return identifier ;) })) }))) }))))) (expression_statement "pcVar6 = (char *)dcgettext(0,"Out of memory\n",5);" (assignment_expression "pcVar6 = (char *)dcgettext(0,"Out of memory\n",5)" identifier = (cast_expression "(char *)dcgettext(0,"Out of memory\n",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,"Out of memory\n",5)" identifier (argument_list "(0,"Out of memory\n",5)" ( number_literal , (string_literal ""Out of memory\n"" " string_content escape_sequence ") , number_literal ))))) ;) (expression_statement "error(pcVar6);" (call_expression "error(pcVar6)" identifier (argument_list "(pcVar6)" ( identifier ))) ;) (return_statement "return (char *)0x0;" return (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) ;) })))
(translation_unit "char * FUN_000138e0(undefined4 *param_1,undefined4 *param_2,char *param_3)\n\n{\n  int iVar1;\n  char *__s;\n  char *pcVar2;\n  size_t sVar3;\n  size_t sVar4;\n  char *__s_00;\n  char *__format;\n  size_t sVar5;\n  undefined4 uVar6;\n  char *pcVar7;\n  \n  pcVar7 = "<corrupt>";\n  pcVar2 = (char *)dcgettext(0,"<corrupt>",5);\n  __s = (char *)*param_1;\n  sVar3 = strlen(__s);\n  sVar4 = strlen(param_3);\n  sVar5 = sVar4 + sVar3 + 3;\n  if (param_1[0xb] == 0) {\n    __s_00 = (char *)malloc(sVar5);\n    if (__s_00 != (char *)0x0) {\n      __format = "%s(%s)";\n      pcVar2 = param_3;\nLAB_00013984:\n      snprintf(__s_00,sVar5,__format,__s,pcVar2,pcVar7);\n      return __s_00;\n    }\n  }\n  else if (param_1[9] == 0) {\n    __s_00 = (char *)malloc(sVar5);\n    if (__s_00 != (char *)0x0) {\n      __format = "%s[%s]";\n      pcVar2 = param_3;\n      goto LAB_00013984;\n    }\n  }\n  else {\n    iVar1 = sVar4 + sVar3 + 5;\n    pcVar7 = (char *)*param_2;\n    if (pcVar7 == (char *)0x0) {\n      sVar5 = strlen(pcVar2);\n      sVar5 = sVar5 + iVar1;\n      __s_00 = (char *)malloc(sVar5);\n      if (__s_00 != (char *)0x0) {\n        __format = "%s[%s(%s)]";\n        pcVar7 = param_3;\n        goto LAB_00013984;\n      }\n    }\n    else {\n      sVar5 = strlen(pcVar7);\n      sVar5 = sVar5 + iVar1;\n      pcVar2 = (char *)malloc(sVar5);\n      if (pcVar2 != (char *)0x0) {\n        snprintf(pcVar2,sVar5,"%s[%s(%s)]",__s,pcVar7,param_3);\n        return pcVar2;\n      }\n    }\n  }\n  uVar6 = dcgettext(0,"Out of memory\n",5);\n  error(uVar6);\n  return (char *)0x0;\n}\n\n" (function_definition "char * FUN_000138e0(undefined4 *param_1,undefined4 *param_2,char *param_3)\n\n{\n  int iVar1;\n  char *__s;\n  char *pcVar2;\n  size_t sVar3;\n  size_t sVar4;\n  char *__s_00;\n  char *__format;\n  size_t sVar5;\n  undefined4 uVar6;\n  char *pcVar7;\n  \n  pcVar7 = "<corrupt>";\n  pcVar2 = (char *)dcgettext(0,"<corrupt>",5);\n  __s = (char *)*param_1;\n  sVar3 = strlen(__s);\n  sVar4 = strlen(param_3);\n  sVar5 = sVar4 + sVar3 + 3;\n  if (param_1[0xb] == 0) {\n    __s_00 = (char *)malloc(sVar5);\n    if (__s_00 != (char *)0x0) {\n      __format = "%s(%s)";\n      pcVar2 = param_3;\nLAB_00013984:\n      snprintf(__s_00,sVar5,__format,__s,pcVar2,pcVar7);\n      return __s_00;\n    }\n  }\n  else if (param_1[9] == 0) {\n    __s_00 = (char *)malloc(sVar5);\n    if (__s_00 != (char *)0x0) {\n      __format = "%s[%s]";\n      pcVar2 = param_3;\n      goto LAB_00013984;\n    }\n  }\n  else {\n    iVar1 = sVar4 + sVar3 + 5;\n    pcVar7 = (char *)*param_2;\n    if (pcVar7 == (char *)0x0) {\n      sVar5 = strlen(pcVar2);\n      sVar5 = sVar5 + iVar1;\n      __s_00 = (char *)malloc(sVar5);\n      if (__s_00 != (char *)0x0) {\n        __format = "%s[%s(%s)]";\n        pcVar7 = param_3;\n        goto LAB_00013984;\n      }\n    }\n    else {\n      sVar5 = strlen(pcVar7);\n      sVar5 = sVar5 + iVar1;\n      pcVar2 = (char *)malloc(sVar5);\n      if (pcVar2 != (char *)0x0) {\n        snprintf(pcVar2,sVar5,"%s[%s(%s)]",__s,pcVar7,param_3);\n        return pcVar2;\n      }\n    }\n  }\n  uVar6 = dcgettext(0,"Out of memory\n",5);\n  error(uVar6);\n  return (char *)0x0;\n}" primitive_type (pointer_declarator "* FUN_000138e0(undefined4 *param_1,undefined4 *param_2,char *param_3)" * (function_declarator "FUN_000138e0(undefined4 *param_1,undefined4 *param_2,char *param_3)" identifier (parameter_list "(undefined4 *param_1,undefined4 *param_2,char *param_3)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "char *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) )))) (compound_statement "{\n  int iVar1;\n  char *__s;\n  char *pcVar2;\n  size_t sVar3;\n  size_t sVar4;\n  char *__s_00;\n  char *__format;\n  size_t sVar5;\n  undefined4 uVar6;\n  char *pcVar7;\n  \n  pcVar7 = "<corrupt>";\n  pcVar2 = (char *)dcgettext(0,"<corrupt>",5);\n  __s = (char *)*param_1;\n  sVar3 = strlen(__s);\n  sVar4 = strlen(param_3);\n  sVar5 = sVar4 + sVar3 + 3;\n  if (param_1[0xb] == 0) {\n    __s_00 = (char *)malloc(sVar5);\n    if (__s_00 != (char *)0x0) {\n      __format = "%s(%s)";\n      pcVar2 = param_3;\nLAB_00013984:\n      snprintf(__s_00,sVar5,__format,__s,pcVar2,pcVar7);\n      return __s_00;\n    }\n  }\n  else if (param_1[9] == 0) {\n    __s_00 = (char *)malloc(sVar5);\n    if (__s_00 != (char *)0x0) {\n      __format = "%s[%s]";\n      pcVar2 = param_3;\n      goto LAB_00013984;\n    }\n  }\n  else {\n    iVar1 = sVar4 + sVar3 + 5;\n    pcVar7 = (char *)*param_2;\n    if (pcVar7 == (char *)0x0) {\n      sVar5 = strlen(pcVar2);\n      sVar5 = sVar5 + iVar1;\n      __s_00 = (char *)malloc(sVar5);\n      if (__s_00 != (char *)0x0) {\n        __format = "%s[%s(%s)]";\n        pcVar7 = param_3;\n        goto LAB_00013984;\n      }\n    }\n    else {\n      sVar5 = strlen(pcVar7);\n      sVar5 = sVar5 + iVar1;\n      pcVar2 = (char *)malloc(sVar5);\n      if (pcVar2 != (char *)0x0) {\n        snprintf(pcVar2,sVar5,"%s[%s(%s)]",__s,pcVar7,param_3);\n        return pcVar2;\n      }\n    }\n  }\n  uVar6 = dcgettext(0,"Out of memory\n",5);\n  error(uVar6);\n  return (char *)0x0;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "char *__s;" primitive_type (pointer_declarator "*__s" * identifier) ;) (declaration "char *pcVar2;" primitive_type (pointer_declarator "*pcVar2" * identifier) ;) (declaration "size_t sVar3;" primitive_type identifier ;) (declaration "size_t sVar4;" primitive_type identifier ;) (declaration "char *__s_00;" primitive_type (pointer_declarator "*__s_00" * identifier) ;) (declaration "char *__format;" primitive_type (pointer_declarator "*__format" * identifier) ;) (declaration "size_t sVar5;" primitive_type identifier ;) (declaration "undefined4 uVar6;" type_identifier identifier ;) (declaration "char *pcVar7;" primitive_type (pointer_declarator "*pcVar7" * identifier) ;) (expression_statement "pcVar7 = "<corrupt>";" (assignment_expression "pcVar7 = "<corrupt>"" identifier = (string_literal ""<corrupt>"" " string_content ")) ;) (expression_statement "pcVar2 = (char *)dcgettext(0,"<corrupt>",5);" (assignment_expression "pcVar2 = (char *)dcgettext(0,"<corrupt>",5)" identifier = (cast_expression "(char *)dcgettext(0,"<corrupt>",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,"<corrupt>",5)" identifier (argument_list "(0,"<corrupt>",5)" ( number_literal , (string_literal ""<corrupt>"" " string_content ") , number_literal ))))) ;) (expression_statement "__s = (char *)*param_1;" (assignment_expression "__s = (char *)*param_1" identifier = (cast_expression "(char *)*param_1" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (expression_statement "sVar3 = strlen(__s);" (assignment_expression "sVar3 = strlen(__s)" identifier = (call_expression "strlen(__s)" identifier (argument_list "(__s)" ( identifier )))) ;) (expression_statement "sVar4 = strlen(param_3);" (assignment_expression "sVar4 = strlen(param_3)" identifier = (call_expression "strlen(param_3)" identifier (argument_list "(param_3)" ( identifier )))) ;) (expression_statement "sVar5 = sVar4 + sVar3 + 3;" (assignment_expression "sVar5 = sVar4 + sVar3 + 3" identifier = (binary_expression "sVar4 + sVar3 + 3" (binary_expression "sVar4 + sVar3" identifier + identifier) + number_literal)) ;) (if_statement "if (param_1[0xb] == 0) {\n    __s_00 = (char *)malloc(sVar5);\n    if (__s_00 != (char *)0x0) {\n      __format = "%s(%s)";\n      pcVar2 = param_3;\nLAB_00013984:\n      snprintf(__s_00,sVar5,__format,__s,pcVar2,pcVar7);\n      return __s_00;\n    }\n  }\n  else if (param_1[9] == 0) {\n    __s_00 = (char *)malloc(sVar5);\n    if (__s_00 != (char *)0x0) {\n      __format = "%s[%s]";\n      pcVar2 = param_3;\n      goto LAB_00013984;\n    }\n  }\n  else {\n    iVar1 = sVar4 + sVar3 + 5;\n    pcVar7 = (char *)*param_2;\n    if (pcVar7 == (char *)0x0) {\n      sVar5 = strlen(pcVar2);\n      sVar5 = sVar5 + iVar1;\n      __s_00 = (char *)malloc(sVar5);\n      if (__s_00 != (char *)0x0) {\n        __format = "%s[%s(%s)]";\n        pcVar7 = param_3;\n        goto LAB_00013984;\n      }\n    }\n    else {\n      sVar5 = strlen(pcVar7);\n      sVar5 = sVar5 + iVar1;\n      pcVar2 = (char *)malloc(sVar5);\n      if (pcVar2 != (char *)0x0) {\n        snprintf(pcVar2,sVar5,"%s[%s(%s)]",__s,pcVar7,param_3);\n        return pcVar2;\n      }\n    }\n  }" if (parenthesized_expression "(param_1[0xb] == 0)" ( (binary_expression "param_1[0xb] == 0" (subscript_expression "param_1[0xb]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n    __s_00 = (char *)malloc(sVar5);\n    if (__s_00 != (char *)0x0) {\n      __format = "%s(%s)";\n      pcVar2 = param_3;\nLAB_00013984:\n      snprintf(__s_00,sVar5,__format,__s,pcVar2,pcVar7);\n      return __s_00;\n    }\n  }" { (expression_statement "__s_00 = (char *)malloc(sVar5);" (assignment_expression "__s_00 = (char *)malloc(sVar5)" identifier = (cast_expression "(char *)malloc(sVar5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "malloc(sVar5)" identifier (argument_list "(sVar5)" ( identifier ))))) ;) (if_statement "if (__s_00 != (char *)0x0) {\n      __format = "%s(%s)";\n      pcVar2 = param_3;\nLAB_00013984:\n      snprintf(__s_00,sVar5,__format,__s,pcVar2,pcVar7);\n      return __s_00;\n    }" if (parenthesized_expression "(__s_00 != (char *)0x0)" ( (binary_expression "__s_00 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      __format = "%s(%s)";\n      pcVar2 = param_3;\nLAB_00013984:\n      snprintf(__s_00,sVar5,__format,__s,pcVar2,pcVar7);\n      return __s_00;\n    }" { (expression_statement "__format = "%s(%s)";" (assignment_expression "__format = "%s(%s)"" identifier = (string_literal ""%s(%s)"" " string_content ")) ;) (expression_statement "pcVar2 = param_3;" (assignment_expression "pcVar2 = param_3" identifier = identifier) ;) (labeled_statement "LAB_00013984:\n      snprintf(__s_00,sVar5,__format,__s,pcVar2,pcVar7);" statement_identifier : (expression_statement "snprintf(__s_00,sVar5,__format,__s,pcVar2,pcVar7);" (call_expression "snprintf(__s_00,sVar5,__format,__s,pcVar2,pcVar7)" identifier (argument_list "(__s_00,sVar5,__format,__s,pcVar2,pcVar7)" ( identifier , identifier , identifier , identifier , identifier , identifier ))) ;)) (return_statement "return __s_00;" return identifier ;) })) }) (else_clause "else if (param_1[9] == 0) {\n    __s_00 = (char *)malloc(sVar5);\n    if (__s_00 != (char *)0x0) {\n      __format = "%s[%s]";\n      pcVar2 = param_3;\n      goto LAB_00013984;\n    }\n  }\n  else {\n    iVar1 = sVar4 + sVar3 + 5;\n    pcVar7 = (char *)*param_2;\n    if (pcVar7 == (char *)0x0) {\n      sVar5 = strlen(pcVar2);\n      sVar5 = sVar5 + iVar1;\n      __s_00 = (char *)malloc(sVar5);\n      if (__s_00 != (char *)0x0) {\n        __format = "%s[%s(%s)]";\n        pcVar7 = param_3;\n        goto LAB_00013984;\n      }\n    }\n    else {\n      sVar5 = strlen(pcVar7);\n      sVar5 = sVar5 + iVar1;\n      pcVar2 = (char *)malloc(sVar5);\n      if (pcVar2 != (char *)0x0) {\n        snprintf(pcVar2,sVar5,"%s[%s(%s)]",__s,pcVar7,param_3);\n        return pcVar2;\n      }\n    }\n  }" else (if_statement "if (param_1[9] == 0) {\n    __s_00 = (char *)malloc(sVar5);\n    if (__s_00 != (char *)0x0) {\n      __format = "%s[%s]";\n      pcVar2 = param_3;\n      goto LAB_00013984;\n    }\n  }\n  else {\n    iVar1 = sVar4 + sVar3 + 5;\n    pcVar7 = (char *)*param_2;\n    if (pcVar7 == (char *)0x0) {\n      sVar5 = strlen(pcVar2);\n      sVar5 = sVar5 + iVar1;\n      __s_00 = (char *)malloc(sVar5);\n      if (__s_00 != (char *)0x0) {\n        __format = "%s[%s(%s)]";\n        pcVar7 = param_3;\n        goto LAB_00013984;\n      }\n    }\n    else {\n      sVar5 = strlen(pcVar7);\n      sVar5 = sVar5 + iVar1;\n      pcVar2 = (char *)malloc(sVar5);\n      if (pcVar2 != (char *)0x0) {\n        snprintf(pcVar2,sVar5,"%s[%s(%s)]",__s,pcVar7,param_3);\n        return pcVar2;\n      }\n    }\n  }" if (parenthesized_expression "(param_1[9] == 0)" ( (binary_expression "param_1[9] == 0" (subscript_expression "param_1[9]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n    __s_00 = (char *)malloc(sVar5);\n    if (__s_00 != (char *)0x0) {\n      __format = "%s[%s]";\n      pcVar2 = param_3;\n      goto LAB_00013984;\n    }\n  }" { (expression_statement "__s_00 = (char *)malloc(sVar5);" (assignment_expression "__s_00 = (char *)malloc(sVar5)" identifier = (cast_expression "(char *)malloc(sVar5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "malloc(sVar5)" identifier (argument_list "(sVar5)" ( identifier ))))) ;) (if_statement "if (__s_00 != (char *)0x0) {\n      __format = "%s[%s]";\n      pcVar2 = param_3;\n      goto LAB_00013984;\n    }" if (parenthesized_expression "(__s_00 != (char *)0x0)" ( (binary_expression "__s_00 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      __format = "%s[%s]";\n      pcVar2 = param_3;\n      goto LAB_00013984;\n    }" { (expression_statement "__format = "%s[%s]";" (assignment_expression "__format = "%s[%s]"" identifier = (string_literal ""%s[%s]"" " string_content ")) ;) (expression_statement "pcVar2 = param_3;" (assignment_expression "pcVar2 = param_3" identifier = identifier) ;) (goto_statement "goto LAB_00013984;" goto statement_identifier ;) })) }) (else_clause "else {\n    iVar1 = sVar4 + sVar3 + 5;\n    pcVar7 = (char *)*param_2;\n    if (pcVar7 == (char *)0x0) {\n      sVar5 = strlen(pcVar2);\n      sVar5 = sVar5 + iVar1;\n      __s_00 = (char *)malloc(sVar5);\n      if (__s_00 != (char *)0x0) {\n        __format = "%s[%s(%s)]";\n        pcVar7 = param_3;\n        goto LAB_00013984;\n      }\n    }\n    else {\n      sVar5 = strlen(pcVar7);\n      sVar5 = sVar5 + iVar1;\n      pcVar2 = (char *)malloc(sVar5);\n      if (pcVar2 != (char *)0x0) {\n        snprintf(pcVar2,sVar5,"%s[%s(%s)]",__s,pcVar7,param_3);\n        return pcVar2;\n      }\n    }\n  }" else (compound_statement "{\n    iVar1 = sVar4 + sVar3 + 5;\n    pcVar7 = (char *)*param_2;\n    if (pcVar7 == (char *)0x0) {\n      sVar5 = strlen(pcVar2);\n      sVar5 = sVar5 + iVar1;\n      __s_00 = (char *)malloc(sVar5);\n      if (__s_00 != (char *)0x0) {\n        __format = "%s[%s(%s)]";\n        pcVar7 = param_3;\n        goto LAB_00013984;\n      }\n    }\n    else {\n      sVar5 = strlen(pcVar7);\n      sVar5 = sVar5 + iVar1;\n      pcVar2 = (char *)malloc(sVar5);\n      if (pcVar2 != (char *)0x0) {\n        snprintf(pcVar2,sVar5,"%s[%s(%s)]",__s,pcVar7,param_3);\n        return pcVar2;\n      }\n    }\n  }" { (expression_statement "iVar1 = sVar4 + sVar3 + 5;" (assignment_expression "iVar1 = sVar4 + sVar3 + 5" identifier = (binary_expression "sVar4 + sVar3 + 5" (binary_expression "sVar4 + sVar3" identifier + identifier) + number_literal)) ;) (expression_statement "pcVar7 = (char *)*param_2;" (assignment_expression "pcVar7 = (char *)*param_2" identifier = (cast_expression "(char *)*param_2" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_2" * identifier))) ;) (if_statement "if (pcVar7 == (char *)0x0) {\n      sVar5 = strlen(pcVar2);\n      sVar5 = sVar5 + iVar1;\n      __s_00 = (char *)malloc(sVar5);\n      if (__s_00 != (char *)0x0) {\n        __format = "%s[%s(%s)]";\n        pcVar7 = param_3;\n        goto LAB_00013984;\n      }\n    }\n    else {\n      sVar5 = strlen(pcVar7);\n      sVar5 = sVar5 + iVar1;\n      pcVar2 = (char *)malloc(sVar5);\n      if (pcVar2 != (char *)0x0) {\n        snprintf(pcVar2,sVar5,"%s[%s(%s)]",__s,pcVar7,param_3);\n        return pcVar2;\n      }\n    }" if (parenthesized_expression "(pcVar7 == (char *)0x0)" ( (binary_expression "pcVar7 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      sVar5 = strlen(pcVar2);\n      sVar5 = sVar5 + iVar1;\n      __s_00 = (char *)malloc(sVar5);\n      if (__s_00 != (char *)0x0) {\n        __format = "%s[%s(%s)]";\n        pcVar7 = param_3;\n        goto LAB_00013984;\n      }\n    }" { (expression_statement "sVar5 = strlen(pcVar2);" (assignment_expression "sVar5 = strlen(pcVar2)" identifier = (call_expression "strlen(pcVar2)" identifier (argument_list "(pcVar2)" ( identifier )))) ;) (expression_statement "sVar5 = sVar5 + iVar1;" (assignment_expression "sVar5 = sVar5 + iVar1" identifier = (binary_expression "sVar5 + iVar1" identifier + identifier)) ;) (expression_statement "__s_00 = (char *)malloc(sVar5);" (assignment_expression "__s_00 = (char *)malloc(sVar5)" identifier = (cast_expression "(char *)malloc(sVar5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "malloc(sVar5)" identifier (argument_list "(sVar5)" ( identifier ))))) ;) (if_statement "if (__s_00 != (char *)0x0) {\n        __format = "%s[%s(%s)]";\n        pcVar7 = param_3;\n        goto LAB_00013984;\n      }" if (parenthesized_expression "(__s_00 != (char *)0x0)" ( (binary_expression "__s_00 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        __format = "%s[%s(%s)]";\n        pcVar7 = param_3;\n        goto LAB_00013984;\n      }" { (expression_statement "__format = "%s[%s(%s)]";" (assignment_expression "__format = "%s[%s(%s)]"" identifier = (string_literal ""%s[%s(%s)]"" " string_content ")) ;) (expression_statement "pcVar7 = param_3;" (assignment_expression "pcVar7 = param_3" identifier = identifier) ;) (goto_statement "goto LAB_00013984;" goto statement_identifier ;) })) }) (else_clause "else {\n      sVar5 = strlen(pcVar7);\n      sVar5 = sVar5 + iVar1;\n      pcVar2 = (char *)malloc(sVar5);\n      if (pcVar2 != (char *)0x0) {\n        snprintf(pcVar2,sVar5,"%s[%s(%s)]",__s,pcVar7,param_3);\n        return pcVar2;\n      }\n    }" else (compound_statement "{\n      sVar5 = strlen(pcVar7);\n      sVar5 = sVar5 + iVar1;\n      pcVar2 = (char *)malloc(sVar5);\n      if (pcVar2 != (char *)0x0) {\n        snprintf(pcVar2,sVar5,"%s[%s(%s)]",__s,pcVar7,param_3);\n        return pcVar2;\n      }\n    }" { (expression_statement "sVar5 = strlen(pcVar7);" (assignment_expression "sVar5 = strlen(pcVar7)" identifier = (call_expression "strlen(pcVar7)" identifier (argument_list "(pcVar7)" ( identifier )))) ;) (expression_statement "sVar5 = sVar5 + iVar1;" (assignment_expression "sVar5 = sVar5 + iVar1" identifier = (binary_expression "sVar5 + iVar1" identifier + identifier)) ;) (expression_statement "pcVar2 = (char *)malloc(sVar5);" (assignment_expression "pcVar2 = (char *)malloc(sVar5)" identifier = (cast_expression "(char *)malloc(sVar5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "malloc(sVar5)" identifier (argument_list "(sVar5)" ( identifier ))))) ;) (if_statement "if (pcVar2 != (char *)0x0) {\n        snprintf(pcVar2,sVar5,"%s[%s(%s)]",__s,pcVar7,param_3);\n        return pcVar2;\n      }" if (parenthesized_expression "(pcVar2 != (char *)0x0)" ( (binary_expression "pcVar2 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        snprintf(pcVar2,sVar5,"%s[%s(%s)]",__s,pcVar7,param_3);\n        return pcVar2;\n      }" { (expression_statement "snprintf(pcVar2,sVar5,"%s[%s(%s)]",__s,pcVar7,param_3);" (call_expression "snprintf(pcVar2,sVar5,"%s[%s(%s)]",__s,pcVar7,param_3)" identifier (argument_list "(pcVar2,sVar5,"%s[%s(%s)]",__s,pcVar7,param_3)" ( identifier , identifier , (string_literal ""%s[%s(%s)]"" " string_content ") , identifier , identifier , identifier ))) ;) (return_statement "return pcVar2;" return identifier ;) })) }))) }))))) (expression_statement "uVar6 = dcgettext(0,"Out of memory\n",5);" (assignment_expression "uVar6 = dcgettext(0,"Out of memory\n",5)" identifier = (call_expression "dcgettext(0,"Out of memory\n",5)" identifier (argument_list "(0,"Out of memory\n",5)" ( number_literal , (string_literal ""Out of memory\n"" " string_content escape_sequence ") , number_literal )))) ;) (expression_statement "error(uVar6);" (call_expression "error(uVar6)" identifier (argument_list "(uVar6)" ( identifier ))) ;) (return_statement "return (char *)0x0;" return (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) ;) })))
(translation_unit (function_definition TYPE (pointer_declarator * (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) )))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (string_literal " string_content ")) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( LIT , (string_literal " string_content ") , LIT ))))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + IDENT) + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (string_literal " string_content ")) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (labeled_statement statement_identifier : (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT , IDENT , IDENT , IDENT ))) ;)) (return_statement return IDENT ;) })) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (string_literal " string_content ")) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (goto_statement goto statement_identifier ;) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + IDENT) + LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (string_literal " string_content ")) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (goto_statement goto statement_identifier ;) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , (string_literal " string_content ") , IDENT , IDENT , IDENT ))) ;) (return_statement return IDENT ;) })) }))) }))))) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , (string_literal " string_content escape_sequence ") , LIT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (return_statement return (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT) ;) })))
(function_definition "char * FUN_000138e0(undefined4 *param_1,undefined4 *param_2,char *param_3)\n\n{\n  int iVar1;\n  char *__s;\n  char *pcVar2;\n  size_t sVar3;\n  size_t sVar4;\n  char *__s_00;\n  char *__format;\n  size_t sVar5;\n  undefined4 uVar6;\n  char *pcVar7;\n  \n  pcVar7 = "<corrupt>";\n  pcVar2 = (char *)dcgettext(0,"<corrupt>",5);\n  __s = (char *)*param_1;\n  sVar3 = strlen(__s);\n  sVar4 = strlen(param_3);\n  sVar5 = sVar4 + sVar3 + 3;\n  if (param_1[0xb] == 0) {\n    __s_00 = (char *)malloc(sVar5);\n    if (__s_00 != (char *)0x0) {\n      __format = "%s(%s)";\n      pcVar2 = param_3;\nLAB_00013984:\n      snprintf(__s_00,sVar5,__format,__s,pcVar2,pcVar7);\n      return __s_00;\n    }\n  }\n  else if (param_1[9] == 0) {\n    __s_00 = (char *)malloc(sVar5);\n    if (__s_00 != (char *)0x0) {\n      __format = "%s[%s]";\n      pcVar2 = param_3;\n      goto LAB_00013984;\n    }\n  }\n  else {\n    iVar1 = sVar4 + sVar3 + 5;\n    pcVar7 = (char *)*param_2;\n    if (pcVar7 == (char *)0x0) {\n      sVar5 = strlen(pcVar2);\n      sVar5 = sVar5 + iVar1;\n      __s_00 = (char *)malloc(sVar5);\n      if (__s_00 != (char *)0x0) {\n        __format = "%s[%s(%s)]";\n        pcVar7 = param_3;\n        goto LAB_00013984;\n      }\n    }\n    else {\n      sVar5 = strlen(pcVar7);\n      sVar5 = sVar5 + iVar1;\n      pcVar2 = (char *)malloc(sVar5);\n      if (pcVar2 != (char *)0x0) {\n        snprintf(pcVar2,sVar5,"%s[%s(%s)]",__s,pcVar7,param_3);\n        return pcVar2;\n      }\n    }\n  }\n  uVar6 = dcgettext(0,"Out of memory\n",5);\n  error(uVar6);\n  return (char *)0x0;\n}" (primitive_type "char") (pointer_declarator "* FUN_000138e0(undefined4 *param_1,undefined4 *param_2,char *param_3)" (* "*") (function_declarator "FUN_000138e0(undefined4 *param_1,undefined4 *param_2,char *param_3)" (identifier "FUN_000138e0") (parameter_list "(undefined4 *param_1,undefined4 *param_2,char *param_3)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "undefined4 *param_2" (type_identifier "undefined4") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "char *param_3" (primitive_type "char") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) () ")")))) (compound_statement "{\n  int iVar1;\n  char *__s;\n  char *pcVar2;\n  size_t sVar3;\n  size_t sVar4;\n  char *__s_00;\n  char *__format;\n  size_t sVar5;\n  undefined4 uVar6;\n  char *pcVar7;\n  \n  pcVar7 = "<corrupt>";\n  pcVar2 = (char *)dcgettext(0,"<corrupt>",5);\n  __s = (char *)*param_1;\n  sVar3 = strlen(__s);\n  sVar4 = strlen(param_3);\n  sVar5 = sVar4 + sVar3 + 3;\n  if (param_1[0xb] == 0) {\n    __s_00 = (char *)malloc(sVar5);\n    if (__s_00 != (char *)0x0) {\n      __format = "%s(%s)";\n      pcVar2 = param_3;\nLAB_00013984:\n      snprintf(__s_00,sVar5,__format,__s,pcVar2,pcVar7);\n      return __s_00;\n    }\n  }\n  else if (param_1[9] == 0) {\n    __s_00 = (char *)malloc(sVar5);\n    if (__s_00 != (char *)0x0) {\n      __format = "%s[%s]";\n      pcVar2 = param_3;\n      goto LAB_00013984;\n    }\n  }\n  else {\n    iVar1 = sVar4 + sVar3 + 5;\n    pcVar7 = (char *)*param_2;\n    if (pcVar7 == (char *)0x0) {\n      sVar5 = strlen(pcVar2);\n      sVar5 = sVar5 + iVar1;\n      __s_00 = (char *)malloc(sVar5);\n      if (__s_00 != (char *)0x0) {\n        __format = "%s[%s(%s)]";\n        pcVar7 = param_3;\n        goto LAB_00013984;\n      }\n    }\n    else {\n      sVar5 = strlen(pcVar7);\n      sVar5 = sVar5 + iVar1;\n      pcVar2 = (char *)malloc(sVar5);\n      if (pcVar2 != (char *)0x0) {\n        snprintf(pcVar2,sVar5,"%s[%s(%s)]",__s,pcVar7,param_3);\n        return pcVar2;\n      }\n    }\n  }\n  uVar6 = dcgettext(0,"Out of memory\n",5);\n  error(uVar6);\n  return (char *)0x0;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "char *__s;" (primitive_type "char") (pointer_declarator "*__s" (* "*") (identifier "__s")) (; ";")) (declaration "char *pcVar2;" (primitive_type "char") (pointer_declarator "*pcVar2" (* "*") (identifier "pcVar2")) (; ";")) (declaration "size_t sVar3;" (primitive_type "size_t") (identifier "sVar3") (; ";")) (declaration "size_t sVar4;" (primitive_type "size_t") (identifier "sVar4") (; ";")) (declaration "char *__s_00;" (primitive_type "char") (pointer_declarator "*__s_00" (* "*") (identifier "__s_00")) (; ";")) (declaration "char *__format;" (primitive_type "char") (pointer_declarator "*__format" (* "*") (identifier "__format")) (; ";")) (declaration "size_t sVar5;" (primitive_type "size_t") (identifier "sVar5") (; ";")) (declaration "undefined4 uVar6;" (type_identifier "undefined4") (identifier "uVar6") (; ";")) (declaration "char *pcVar7;" (primitive_type "char") (pointer_declarator "*pcVar7" (* "*") (identifier "pcVar7")) (; ";")) (expression_statement "pcVar7 = "<corrupt>";" (assignment_expression "pcVar7 = "<corrupt>"" (identifier "pcVar7") (= "=") (string_literal ""<corrupt>"" (" """) (string_content "<corrupt>") (" """))) (; ";")) (expression_statement "pcVar2 = (char *)dcgettext(0,"<corrupt>",5);" (assignment_expression "pcVar2 = (char *)dcgettext(0,"<corrupt>",5)" (identifier "pcVar2") (= "=") (cast_expression "(char *)dcgettext(0,"<corrupt>",5)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "dcgettext(0,"<corrupt>",5)" (identifier "dcgettext") (argument_list "(0,"<corrupt>",5)" (( "(") (number_literal "0") (, ",") (string_literal ""<corrupt>"" (" """) (string_content "<corrupt>") (" """)) (, ",") (number_literal "5") () ")"))))) (; ";")) (expression_statement "__s = (char *)*param_1;" (assignment_expression "__s = (char *)*param_1" (identifier "__s") (= "=") (cast_expression "(char *)*param_1" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1")))) (; ";")) (expression_statement "sVar3 = strlen(__s);" (assignment_expression "sVar3 = strlen(__s)" (identifier "sVar3") (= "=") (call_expression "strlen(__s)" (identifier "strlen") (argument_list "(__s)" (( "(") (identifier "__s") () ")")))) (; ";")) (expression_statement "sVar4 = strlen(param_3);" (assignment_expression "sVar4 = strlen(param_3)" (identifier "sVar4") (= "=") (call_expression "strlen(param_3)" (identifier "strlen") (argument_list "(param_3)" (( "(") (identifier "param_3") () ")")))) (; ";")) (expression_statement "sVar5 = sVar4 + sVar3 + 3;" (assignment_expression "sVar5 = sVar4 + sVar3 + 3" (identifier "sVar5") (= "=") (binary_expression "sVar4 + sVar3 + 3" (binary_expression "sVar4 + sVar3" (identifier "sVar4") (+ "+") (identifier "sVar3")) (+ "+") (number_literal "3"))) (; ";")) (if_statement "if (param_1[0xb] == 0) {\n    __s_00 = (char *)malloc(sVar5);\n    if (__s_00 != (char *)0x0) {\n      __format = "%s(%s)";\n      pcVar2 = param_3;\nLAB_00013984:\n      snprintf(__s_00,sVar5,__format,__s,pcVar2,pcVar7);\n      return __s_00;\n    }\n  }\n  else if (param_1[9] == 0) {\n    __s_00 = (char *)malloc(sVar5);\n    if (__s_00 != (char *)0x0) {\n      __format = "%s[%s]";\n      pcVar2 = param_3;\n      goto LAB_00013984;\n    }\n  }\n  else {\n    iVar1 = sVar4 + sVar3 + 5;\n    pcVar7 = (char *)*param_2;\n    if (pcVar7 == (char *)0x0) {\n      sVar5 = strlen(pcVar2);\n      sVar5 = sVar5 + iVar1;\n      __s_00 = (char *)malloc(sVar5);\n      if (__s_00 != (char *)0x0) {\n        __format = "%s[%s(%s)]";\n        pcVar7 = param_3;\n        goto LAB_00013984;\n      }\n    }\n    else {\n      sVar5 = strlen(pcVar7);\n      sVar5 = sVar5 + iVar1;\n      pcVar2 = (char *)malloc(sVar5);\n      if (pcVar2 != (char *)0x0) {\n        snprintf(pcVar2,sVar5,"%s[%s(%s)]",__s,pcVar7,param_3);\n        return pcVar2;\n      }\n    }\n  }" (if "if") (parenthesized_expression "(param_1[0xb] == 0)" (( "(") (binary_expression "param_1[0xb] == 0" (subscript_expression "param_1[0xb]" (identifier "param_1") ([ "[") (number_literal "0xb") (] "]")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    __s_00 = (char *)malloc(sVar5);\n    if (__s_00 != (char *)0x0) {\n      __format = "%s(%s)";\n      pcVar2 = param_3;\nLAB_00013984:\n      snprintf(__s_00,sVar5,__format,__s,pcVar2,pcVar7);\n      return __s_00;\n    }\n  }" ({ "{") (expression_statement "__s_00 = (char *)malloc(sVar5);" (assignment_expression "__s_00 = (char *)malloc(sVar5)" (identifier "__s_00") (= "=") (cast_expression "(char *)malloc(sVar5)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "malloc(sVar5)" (identifier "malloc") (argument_list "(sVar5)" (( "(") (identifier "sVar5") () ")"))))) (; ";")) (if_statement "if (__s_00 != (char *)0x0) {\n      __format = "%s(%s)";\n      pcVar2 = param_3;\nLAB_00013984:\n      snprintf(__s_00,sVar5,__format,__s,pcVar2,pcVar7);\n      return __s_00;\n    }" (if "if") (parenthesized_expression "(__s_00 != (char *)0x0)" (( "(") (binary_expression "__s_00 != (char *)0x0" (identifier "__s_00") (!= "!=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      __format = "%s(%s)";\n      pcVar2 = param_3;\nLAB_00013984:\n      snprintf(__s_00,sVar5,__format,__s,pcVar2,pcVar7);\n      return __s_00;\n    }" ({ "{") (expression_statement "__format = "%s(%s)";" (assignment_expression "__format = "%s(%s)"" (identifier "__format") (= "=") (string_literal ""%s(%s)"" (" """) (string_content "%s(%s)") (" """))) (; ";")) (expression_statement "pcVar2 = param_3;" (assignment_expression "pcVar2 = param_3" (identifier "pcVar2") (= "=") (identifier "param_3")) (; ";")) (labeled_statement "LAB_00013984:\n      snprintf(__s_00,sVar5,__format,__s,pcVar2,pcVar7);" (statement_identifier "LAB_00013984") (: ":") (expression_statement "snprintf(__s_00,sVar5,__format,__s,pcVar2,pcVar7);" (call_expression "snprintf(__s_00,sVar5,__format,__s,pcVar2,pcVar7)" (identifier "snprintf") (argument_list "(__s_00,sVar5,__format,__s,pcVar2,pcVar7)" (( "(") (identifier "__s_00") (, ",") (identifier "sVar5") (, ",") (identifier "__format") (, ",") (identifier "__s") (, ",") (identifier "pcVar2") (, ",") (identifier "pcVar7") () ")"))) (; ";"))) (return_statement "return __s_00;" (return "return") (identifier "__s_00") (; ";")) (} "}"))) (} "}")) (else_clause "else if (param_1[9] == 0) {\n    __s_00 = (char *)malloc(sVar5);\n    if (__s_00 != (char *)0x0) {\n      __format = "%s[%s]";\n      pcVar2 = param_3;\n      goto LAB_00013984;\n    }\n  }\n  else {\n    iVar1 = sVar4 + sVar3 + 5;\n    pcVar7 = (char *)*param_2;\n    if (pcVar7 == (char *)0x0) {\n      sVar5 = strlen(pcVar2);\n      sVar5 = sVar5 + iVar1;\n      __s_00 = (char *)malloc(sVar5);\n      if (__s_00 != (char *)0x0) {\n        __format = "%s[%s(%s)]";\n        pcVar7 = param_3;\n        goto LAB_00013984;\n      }\n    }\n    else {\n      sVar5 = strlen(pcVar7);\n      sVar5 = sVar5 + iVar1;\n      pcVar2 = (char *)malloc(sVar5);\n      if (pcVar2 != (char *)0x0) {\n        snprintf(pcVar2,sVar5,"%s[%s(%s)]",__s,pcVar7,param_3);\n        return pcVar2;\n      }\n    }\n  }" (else "else") (if_statement "if (param_1[9] == 0) {\n    __s_00 = (char *)malloc(sVar5);\n    if (__s_00 != (char *)0x0) {\n      __format = "%s[%s]";\n      pcVar2 = param_3;\n      goto LAB_00013984;\n    }\n  }\n  else {\n    iVar1 = sVar4 + sVar3 + 5;\n    pcVar7 = (char *)*param_2;\n    if (pcVar7 == (char *)0x0) {\n      sVar5 = strlen(pcVar2);\n      sVar5 = sVar5 + iVar1;\n      __s_00 = (char *)malloc(sVar5);\n      if (__s_00 != (char *)0x0) {\n        __format = "%s[%s(%s)]";\n        pcVar7 = param_3;\n        goto LAB_00013984;\n      }\n    }\n    else {\n      sVar5 = strlen(pcVar7);\n      sVar5 = sVar5 + iVar1;\n      pcVar2 = (char *)malloc(sVar5);\n      if (pcVar2 != (char *)0x0) {\n        snprintf(pcVar2,sVar5,"%s[%s(%s)]",__s,pcVar7,param_3);\n        return pcVar2;\n      }\n    }\n  }" (if "if") (parenthesized_expression "(param_1[9] == 0)" (( "(") (binary_expression "param_1[9] == 0" (subscript_expression "param_1[9]" (identifier "param_1") ([ "[") (number_literal "9") (] "]")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    __s_00 = (char *)malloc(sVar5);\n    if (__s_00 != (char *)0x0) {\n      __format = "%s[%s]";\n      pcVar2 = param_3;\n      goto LAB_00013984;\n    }\n  }" ({ "{") (expression_statement "__s_00 = (char *)malloc(sVar5);" (assignment_expression "__s_00 = (char *)malloc(sVar5)" (identifier "__s_00") (= "=") (cast_expression "(char *)malloc(sVar5)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "malloc(sVar5)" (identifier "malloc") (argument_list "(sVar5)" (( "(") (identifier "sVar5") () ")"))))) (; ";")) (if_statement "if (__s_00 != (char *)0x0) {\n      __format = "%s[%s]";\n      pcVar2 = param_3;\n      goto LAB_00013984;\n    }" (if "if") (parenthesized_expression "(__s_00 != (char *)0x0)" (( "(") (binary_expression "__s_00 != (char *)0x0" (identifier "__s_00") (!= "!=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      __format = "%s[%s]";\n      pcVar2 = param_3;\n      goto LAB_00013984;\n    }" ({ "{") (expression_statement "__format = "%s[%s]";" (assignment_expression "__format = "%s[%s]"" (identifier "__format") (= "=") (string_literal ""%s[%s]"" (" """) (string_content "%s[%s]") (" """))) (; ";")) (expression_statement "pcVar2 = param_3;" (assignment_expression "pcVar2 = param_3" (identifier "pcVar2") (= "=") (identifier "param_3")) (; ";")) (goto_statement "goto LAB_00013984;" (goto "goto") (statement_identifier "LAB_00013984") (; ";")) (} "}"))) (} "}")) (else_clause "else {\n    iVar1 = sVar4 + sVar3 + 5;\n    pcVar7 = (char *)*param_2;\n    if (pcVar7 == (char *)0x0) {\n      sVar5 = strlen(pcVar2);\n      sVar5 = sVar5 + iVar1;\n      __s_00 = (char *)malloc(sVar5);\n      if (__s_00 != (char *)0x0) {\n        __format = "%s[%s(%s)]";\n        pcVar7 = param_3;\n        goto LAB_00013984;\n      }\n    }\n    else {\n      sVar5 = strlen(pcVar7);\n      sVar5 = sVar5 + iVar1;\n      pcVar2 = (char *)malloc(sVar5);\n      if (pcVar2 != (char *)0x0) {\n        snprintf(pcVar2,sVar5,"%s[%s(%s)]",__s,pcVar7,param_3);\n        return pcVar2;\n      }\n    }\n  }" (else "else") (compound_statement "{\n    iVar1 = sVar4 + sVar3 + 5;\n    pcVar7 = (char *)*param_2;\n    if (pcVar7 == (char *)0x0) {\n      sVar5 = strlen(pcVar2);\n      sVar5 = sVar5 + iVar1;\n      __s_00 = (char *)malloc(sVar5);\n      if (__s_00 != (char *)0x0) {\n        __format = "%s[%s(%s)]";\n        pcVar7 = param_3;\n        goto LAB_00013984;\n      }\n    }\n    else {\n      sVar5 = strlen(pcVar7);\n      sVar5 = sVar5 + iVar1;\n      pcVar2 = (char *)malloc(sVar5);\n      if (pcVar2 != (char *)0x0) {\n        snprintf(pcVar2,sVar5,"%s[%s(%s)]",__s,pcVar7,param_3);\n        return pcVar2;\n      }\n    }\n  }" ({ "{") (expression_statement "iVar1 = sVar4 + sVar3 + 5;" (assignment_expression "iVar1 = sVar4 + sVar3 + 5" (identifier "iVar1") (= "=") (binary_expression "sVar4 + sVar3 + 5" (binary_expression "sVar4 + sVar3" (identifier "sVar4") (+ "+") (identifier "sVar3")) (+ "+") (number_literal "5"))) (; ";")) (expression_statement "pcVar7 = (char *)*param_2;" (assignment_expression "pcVar7 = (char *)*param_2" (identifier "pcVar7") (= "=") (cast_expression "(char *)*param_2" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_2" (* "*") (identifier "param_2")))) (; ";")) (if_statement "if (pcVar7 == (char *)0x0) {\n      sVar5 = strlen(pcVar2);\n      sVar5 = sVar5 + iVar1;\n      __s_00 = (char *)malloc(sVar5);\n      if (__s_00 != (char *)0x0) {\n        __format = "%s[%s(%s)]";\n        pcVar7 = param_3;\n        goto LAB_00013984;\n      }\n    }\n    else {\n      sVar5 = strlen(pcVar7);\n      sVar5 = sVar5 + iVar1;\n      pcVar2 = (char *)malloc(sVar5);\n      if (pcVar2 != (char *)0x0) {\n        snprintf(pcVar2,sVar5,"%s[%s(%s)]",__s,pcVar7,param_3);\n        return pcVar2;\n      }\n    }" (if "if") (parenthesized_expression "(pcVar7 == (char *)0x0)" (( "(") (binary_expression "pcVar7 == (char *)0x0" (identifier "pcVar7") (== "==") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      sVar5 = strlen(pcVar2);\n      sVar5 = sVar5 + iVar1;\n      __s_00 = (char *)malloc(sVar5);\n      if (__s_00 != (char *)0x0) {\n        __format = "%s[%s(%s)]";\n        pcVar7 = param_3;\n        goto LAB_00013984;\n      }\n    }" ({ "{") (expression_statement "sVar5 = strlen(pcVar2);" (assignment_expression "sVar5 = strlen(pcVar2)" (identifier "sVar5") (= "=") (call_expression "strlen(pcVar2)" (identifier "strlen") (argument_list "(pcVar2)" (( "(") (identifier "pcVar2") () ")")))) (; ";")) (expression_statement "sVar5 = sVar5 + iVar1;" (assignment_expression "sVar5 = sVar5 + iVar1" (identifier "sVar5") (= "=") (binary_expression "sVar5 + iVar1" (identifier "sVar5") (+ "+") (identifier "iVar1"))) (; ";")) (expression_statement "__s_00 = (char *)malloc(sVar5);" (assignment_expression "__s_00 = (char *)malloc(sVar5)" (identifier "__s_00") (= "=") (cast_expression "(char *)malloc(sVar5)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "malloc(sVar5)" (identifier "malloc") (argument_list "(sVar5)" (( "(") (identifier "sVar5") () ")"))))) (; ";")) (if_statement "if (__s_00 != (char *)0x0) {\n        __format = "%s[%s(%s)]";\n        pcVar7 = param_3;\n        goto LAB_00013984;\n      }" (if "if") (parenthesized_expression "(__s_00 != (char *)0x0)" (( "(") (binary_expression "__s_00 != (char *)0x0" (identifier "__s_00") (!= "!=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n        __format = "%s[%s(%s)]";\n        pcVar7 = param_3;\n        goto LAB_00013984;\n      }" ({ "{") (expression_statement "__format = "%s[%s(%s)]";" (assignment_expression "__format = "%s[%s(%s)]"" (identifier "__format") (= "=") (string_literal ""%s[%s(%s)]"" (" """) (string_content "%s[%s(%s)]") (" """))) (; ";")) (expression_statement "pcVar7 = param_3;" (assignment_expression "pcVar7 = param_3" (identifier "pcVar7") (= "=") (identifier "param_3")) (; ";")) (goto_statement "goto LAB_00013984;" (goto "goto") (statement_identifier "LAB_00013984") (; ";")) (} "}"))) (} "}")) (else_clause "else {\n      sVar5 = strlen(pcVar7);\n      sVar5 = sVar5 + iVar1;\n      pcVar2 = (char *)malloc(sVar5);\n      if (pcVar2 != (char *)0x0) {\n        snprintf(pcVar2,sVar5,"%s[%s(%s)]",__s,pcVar7,param_3);\n        return pcVar2;\n      }\n    }" (else "else") (compound_statement "{\n      sVar5 = strlen(pcVar7);\n      sVar5 = sVar5 + iVar1;\n      pcVar2 = (char *)malloc(sVar5);\n      if (pcVar2 != (char *)0x0) {\n        snprintf(pcVar2,sVar5,"%s[%s(%s)]",__s,pcVar7,param_3);\n        return pcVar2;\n      }\n    }" ({ "{") (expression_statement "sVar5 = strlen(pcVar7);" (assignment_expression "sVar5 = strlen(pcVar7)" (identifier "sVar5") (= "=") (call_expression "strlen(pcVar7)" (identifier "strlen") (argument_list "(pcVar7)" (( "(") (identifier "pcVar7") () ")")))) (; ";")) (expression_statement "sVar5 = sVar5 + iVar1;" (assignment_expression "sVar5 = sVar5 + iVar1" (identifier "sVar5") (= "=") (binary_expression "sVar5 + iVar1" (identifier "sVar5") (+ "+") (identifier "iVar1"))) (; ";")) (expression_statement "pcVar2 = (char *)malloc(sVar5);" (assignment_expression "pcVar2 = (char *)malloc(sVar5)" (identifier "pcVar2") (= "=") (cast_expression "(char *)malloc(sVar5)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "malloc(sVar5)" (identifier "malloc") (argument_list "(sVar5)" (( "(") (identifier "sVar5") () ")"))))) (; ";")) (if_statement "if (pcVar2 != (char *)0x0) {\n        snprintf(pcVar2,sVar5,"%s[%s(%s)]",__s,pcVar7,param_3);\n        return pcVar2;\n      }" (if "if") (parenthesized_expression "(pcVar2 != (char *)0x0)" (( "(") (binary_expression "pcVar2 != (char *)0x0" (identifier "pcVar2") (!= "!=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n        snprintf(pcVar2,sVar5,"%s[%s(%s)]",__s,pcVar7,param_3);\n        return pcVar2;\n      }" ({ "{") (expression_statement "snprintf(pcVar2,sVar5,"%s[%s(%s)]",__s,pcVar7,param_3);" (call_expression "snprintf(pcVar2,sVar5,"%s[%s(%s)]",__s,pcVar7,param_3)" (identifier "snprintf") (argument_list "(pcVar2,sVar5,"%s[%s(%s)]",__s,pcVar7,param_3)" (( "(") (identifier "pcVar2") (, ",") (identifier "sVar5") (, ",") (string_literal ""%s[%s(%s)]"" (" """) (string_content "%s[%s(%s)]") (" """)) (, ",") (identifier "__s") (, ",") (identifier "pcVar7") (, ",") (identifier "param_3") () ")"))) (; ";")) (return_statement "return pcVar2;" (return "return") (identifier "pcVar2") (; ";")) (} "}"))) (} "}")))) (} "}")))))) (expression_statement "uVar6 = dcgettext(0,"Out of memory\n",5);" (assignment_expression "uVar6 = dcgettext(0,"Out of memory\n",5)" (identifier "uVar6") (= "=") (call_expression "dcgettext(0,"Out of memory\n",5)" (identifier "dcgettext") (argument_list "(0,"Out of memory\n",5)" (( "(") (number_literal "0") (, ",") (string_literal ""Out of memory\n"" (" """) (string_content "Out of memory") (escape_sequence "\n") (" """)) (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "error(uVar6);" (call_expression "error(uVar6)" (identifier "error") (argument_list "(uVar6)" (( "(") (identifier "uVar6") () ")"))) (; ";")) (return_statement "return (char *)0x0;" (return "return") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0")) (; ";")) (} "}")))

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

char * function_1(type_1 *arch,type_1 *nested_arch,char *member_name)

{
  int var_10;
  char *__s;
  char *var_11;
  size_t var_4;
  size_t var_3;
  char *var_6;
  char *__format;
  size_t var_9;
  char *var_8;
  
  var_8 = "<corrupt>";
  var_11 = (char *)var_1(0,"<corrupt>",5);
  __s = arch->file_name;
  var_4 = var_2(__s);
  var_3 = var_2(member_name);
  var_9 = var_3 + var_4 + 3;
  if (arch->is_thin_archive == 0) {
    var_6 = (char *)var_5(var_9);
    if (var_6 != (char *)0x0) {
      __format = "%s(%s)";
      var_11 = member_name;
LAB_00013984:
      var_7(var_6,var_9,__format,__s,var_11,var_8);
      return var_6;
    }
  }
  else if (arch->nested_member_origin == 0) {
    var_6 = (char *)var_5(var_9);
    if (var_6 != (char *)0x0) {
      __format = "%s[%s]";
      var_11 = member_name;
      goto LAB_00013984;
    }
  }
  else {
    var_10 = var_3 + var_4 + 5;
    var_8 = nested_arch->file_name;
    if (var_8 == (char *)0x0) {
      var_9 = var_2(var_11);
      var_9 = var_9 + var_10;
      var_6 = (char *)var_5(var_9);
      if (var_6 != (char *)0x0) {
        __format = "%s[%s(%s)]";
        var_8 = member_name;
        goto LAB_00013984;
      }
    }
    else {
      var_9 = var_2(var_8);
      var_9 = var_9 + var_10;
      var_11 = (char *)var_5(var_9);
      if (var_11 != (char *)0x0) {
        var_7(var_11,var_9,"%s[%s(%s)]",__s,var_8,member_name);
        return var_11;
      }
    }
  }
  var_8 = (char *)var_1(0,"Out of memory\n",5);
  var_12(var_8);
  return (char *)0x0;
}


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

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

char * MASKED(undefined4 *param_1,undefined4 *param_2,char *param_3)

{
  int iVar1;
  char *__s;
  char *pcVar2;
  size_t sVar3;
  size_t sVar4;
  char *__s_00;
  char *__format;
  size_t sVar5;
  undefined4 uVar6;
  char *pcVar7;
  
  pcVar7 = "<corrupt>";
  pcVar2 = (char *)dcgettext(0,"<corrupt>",5);
  __s = (char *)*param_1;
  sVar3 = strlen(__s);
  sVar4 = strlen(param_3);
  sVar5 = sVar4 + sVar3 + 3;
  if (param_1[0xb] == 0) {
    __s_00 = (char *)malloc(sVar5);
    if (__s_00 != (char *)0x0) {
      __format = "%s(%s)";
      pcVar2 = param_3;
LAB_00013984:
      snprintf(__s_00,sVar5,__format,__s,pcVar2,pcVar7);
      return __s_00;
    }
  }
  else if (param_1[9] == 0) {
    __s_00 = (char *)malloc(sVar5);
    if (__s_00 != (char *)0x0) {
      __format = "%s[%s]";
      pcVar2 = param_3;
      goto LAB_00013984;
    }
  }
  else {
    iVar1 = sVar4 + sVar3 + 5;
    pcVar7 = (char *)*param_2;
    if (pcVar7 == (char *)0x0) {
      sVar5 = strlen(pcVar2);
      sVar5 = sVar5 + iVar1;
      __s_00 = (char *)malloc(sVar5);
      if (__s_00 != (char *)0x0) {
        __format = "%s[%s(%s)]";
        pcVar7 = param_3;
        goto LAB_00013984;
      }
    }
    else {
      sVar5 = strlen(pcVar7);
      sVar5 = sVar5 + iVar1;
      pcVar2 = (char *)malloc(sVar5);
      if (pcVar2 != (char *)0x0) {
        snprintf(pcVar2,sVar5,"%s[%s(%s)]",__s,pcVar7,param_3);
        return pcVar2;
      }
    }
  }
  uVar6 = dcgettext(0,"Out of memory\n",5);
  error(uVar6);
  return (char *)0x0;
}

