
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Enum "ExceptionType": Some values do not have unique names */

MagickBooleanType ListMimeInfo(FILE *file,ExceptionInfo *exception)

{
  MimeInfo **memory;
  MagickBooleanType MVar1;
  int iVar2;
  size_t sVar3;
  MimeInfo *pMVar4;
  int in_GS_OFFSET;
  ExceptionInfo *pEVar5;
  int local_40;
  ExceptionInfo *local_38;
  size_t number_aliases;
  int local_20;
  undefined4 uStack_14;
  
  uStack_14 = 0xfb7d9;
  local_20 = *(int *)(in_GS_OFFSET + 0x14);
  if (file == (FILE *)0x0) {
    file = *(FILE **)PTR_stdout_003d8fdc;
  }
  memory = GetMimeInfoList("*",&number_aliases,exception);
  MVar1 = MagickFalse;
  if (memory != (MimeInfo **)0x0) {
    if (0 < (int)number_aliases) {
      local_40 = 0;
      local_38 = (ExceptionInfo *)0x0;
      do {
        pMVar4 = memory[local_40];
        if (pMVar4->stealth == MagickFalse) {
          pEVar5 = (ExceptionInfo *)pMVar4->path;
          if (local_38 == (ExceptionInfo *)0x0) {
            if (pEVar5 != (ExceptionInfo *)0x0) goto LAB_000fb978;
LAB_000fb98c:
            FormatLocaleFile(file,"Type                   Description\n",exception);
            FormatLocaleFile(file,
                             "-------------------------------------------------------------------------------\n"
                            );
            pMVar4 = memory[local_40];
            local_38 = (ExceptionInfo *)pMVar4->path;
          }
          else {
            iVar2 = strcasecmp((char *)local_38,(char *)pEVar5);
            local_38 = pEVar5;
            if (iVar2 != 0) {
LAB_000fb978:
              FormatLocaleFile(file,"\nPath: %s\n\n",pEVar5);
              exception = pEVar5;
              goto LAB_000fb98c;
            }
          }
          exception = (ExceptionInfo *)pMVar4->type;
          FormatLocaleFile(file,"%s",exception);
          sVar3 = strlen(memory[local_40]->type);
          if (sVar3 < 0x1a) {
            do {
              sVar3 = sVar3 + 1;
              FormatLocaleFile(file," ",exception);
            } while (sVar3 != 0x1c);
          }
          else {
            FormatLocaleFile(file,"\n",exception);
            iVar2 = 0x1c;
            do {
              FormatLocaleFile(file," ",exception);
              iVar2 = iVar2 + -1;
            } while (iVar2 != 0);
          }
          pEVar5 = (ExceptionInfo *)memory[local_40]->description;
          if (pEVar5 != (ExceptionInfo *)0x0) {
            FormatLocaleFile(file,"%s",pEVar5);
            exception = pEVar5;
          }
          FormatLocaleFile(file,"\n",exception);
        }
        local_40 = local_40 + 1;
      } while (local_40 < (int)number_aliases);
    }
    fflush((FILE *)file);
    RelinquishMagickMemory(memory);
    MVar1 = MagickTrue;
  }
  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {
                    /* WARNING: Subroutine does not return */
    __stack_chk_fail_local();
  }
  return MVar1;
}



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

undefined4 ListMimeInfo(FILE *param_1,char *param_2)

{
  int iVar1;
  undefined4 uVar2;
  int iVar3;
  size_t sVar4;
  undefined4 *puVar5;
  int in_GS_OFFSET;
  char *pcVar6;
  int local_40;
  char *local_38;
  int local_24;
  int local_20;
  undefined4 uStack_14;
  
  uStack_14 = 0xfb7d9;
  local_20 = *(int *)(in_GS_OFFSET + 0x14);
  if (param_1 == (FILE *)0x0) {
    param_1 = *(FILE **)PTR_stdout_003d8fdc;
  }
  iVar1 = GetMimeInfoList(&DAT_002b96d5,&local_24,param_2);
  uVar2 = 0;
  if (iVar1 != 0) {
    if (0 < local_24) {
      local_40 = 0;
      local_38 = (char *)0x0;
      do {
        puVar5 = *(undefined4 **)(iVar1 + local_40 * 4);
        if (puVar5[0xe] == 0) {
          pcVar6 = (char *)*puVar5;
          if (local_38 == (char *)0x0) {
            if (pcVar6 != (char *)0x0) goto LAB_000fb978;
LAB_000fb98c:
            FormatLocaleFile(param_1,"Type                   Description\n",param_2);
            FormatLocaleFile(param_1,
                             "-------------------------------------------------------------------------------\n"
                            );
            puVar5 = *(undefined4 **)(iVar1 + local_40 * 4);
            local_38 = (char *)*puVar5;
          }
          else {
            iVar3 = strcasecmp(local_38,pcVar6);
            local_38 = pcVar6;
            if (iVar3 != 0) {
LAB_000fb978:
              FormatLocaleFile(param_1,"\nPath: %s\n\n",pcVar6);
              param_2 = pcVar6;
              goto LAB_000fb98c;
            }
          }
          param_2 = (char *)puVar5[1];
          FormatLocaleFile(param_1,&DAT_002b6e4e,param_2);
          sVar4 = strlen(*(char **)(*(int *)(iVar1 + local_40 * 4) + 4));
          if (sVar4 < 0x1a) {
            do {
              sVar4 = sVar4 + 1;
              FormatLocaleFile(param_1,&DAT_002cb63c,param_2);
            } while (sVar4 != 0x1c);
          }
          else {
            FormatLocaleFile(param_1,"\n",param_2);
            iVar3 = 0x1c;
            do {
              FormatLocaleFile(param_1,&DAT_002cb63c,param_2);
              iVar3 = iVar3 + -1;
            } while (iVar3 != 0);
          }
          pcVar6 = *(char **)(*(int *)(iVar1 + local_40 * 4) + 8);
          if (pcVar6 != (char *)0x0) {
            FormatLocaleFile(param_1,&DAT_002b6e4e,pcVar6);
            param_2 = pcVar6;
          }
          FormatLocaleFile(param_1,"\n",param_2);
        }
        local_40 = local_40 + 1;
      } while (local_40 < local_24);
    }
    fflush(param_1);
    RelinquishMagickMemory(iVar1);
    uVar2 = 1;
  }
  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {
                    /* WARNING: Subroutine does not return */
    FUN_0029eab0();
  }
  return uVar2;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00038830
ADD EBX,0x2dd827
SUB ESP,0x3c
MOV ECX,dword ptr GS:[0x14]
MOV dword ptr [ESP + 0x2c],ECX
XOR ECX,ECX
MOV EDI,dword ptr [ESP + 0x50]
MOV EAX,dword ptr [ESP + 0x54]
TEST EDI,EDI
JZ 0x000fba00
SUB ESP,0x4
PUSH EAX
LEA EAX,[ESP + 0x30]
PUSH EAX
LEA EAX,[EBX + 0xffee06d5]
PUSH EAX
CALL 0x00032070
MOV EDX,EAX
MOV dword ptr [ESP + 0x20],EAX
ADD ESP,0x10
XOR EAX,EAX
TEST EDX,EDX
JZ 0x000fb94e
MOV EAX,dword ptr [ESP + 0x28]
TEST EAX,EAX
JLE 0x000fb933
LEA EAX,[EBX + 0xffedde4e]
MOV dword ptr [ESP + 0xc],0x0
MOV dword ptr [ESP + 0x18],EAX
LEA EAX,[EBX + 0xffeee596]
MOV dword ptr [ESP + 0x14],0x0
MOV dword ptr [ESP + 0x1c],EAX
MOV ESI,ESI
LEA EDI,[EDI]
MOV EAX,dword ptr [ESP + 0x10]
MOV ECX,dword ptr [ESP + 0xc]
MOV ESI,dword ptr [EAX + ECX*0x4]
MOV EBP,dword ptr [ESI + 0x38]
TEST EBP,EBP
JNZ 0x000fb920
MOV EAX,dword ptr [ESP + 0x14]
MOV EBP,dword ptr [ESI]
TEST EAX,EAX
JZ 0x000fb970
SUB ESP,0x8
PUSH EBP
PUSH EAX
CALL 0x00032410
ADD ESP,0x10
TEST EAX,EAX
JNZ 0x000fb978
MOV dword ptr [ESP + 0x14],EBP
SUB ESP,0x4
PUSH dword ptr [ESI + 0x4]
PUSH dword ptr [ESP + 0x20]
PUSH EDI
CALL 0x000316d0
POP EDX
MOV EDX,dword ptr [ESP + 0x18]
MOV EAX,dword ptr [ESP + 0x1c]
MOV EAX,dword ptr [EAX + EDX*0x4]
PUSH dword ptr [EAX + 0x4]
CALL 0x00031eb0
ADD ESP,0x10
CMP EAX,0x19
JA 0x000fb9c8
LEA EBP,[EBX + 0xffef263c]
MOV ESI,EAX
LEA ESI,[ESI]
SUB ESP,0x8
ADD ESI,0x1
PUSH EBP
PUSH EDI
CALL 0x000316d0
ADD ESP,0x10
CMP ESI,0x1c
JNZ 0x000fb8d8
MOV EAX,dword ptr [ESP + 0x10]
MOV EDX,dword ptr [ESP + 0xc]
MOV EAX,dword ptr [EAX + EDX*0x4]
MOV EAX,dword ptr [EAX + 0x8]
TEST EAX,EAX
JZ 0x000fb910
SUB ESP,0x4
PUSH EAX
PUSH dword ptr [ESP + 0x20]
PUSH EDI
CALL 0x000316d0
ADD ESP,0x10
SUB ESP,0x8
PUSH dword ptr [ESP + 0x24]
PUSH EDI
CALL 0x000316d0
ADD ESP,0x10
ADD dword ptr [ESP + 0xc],0x1
MOV EAX,dword ptr [ESP + 0xc]
CMP dword ptr [ESP + 0x28],EAX
JG 0x000fb860
SUB ESP,0xc
PUSH EDI
CALL 0x00031980
POP EAX
PUSH dword ptr [ESP + 0x1c]
CALL 0x00033ac8
ADD ESP,0x10
MOV EAX,0x1
MOV ECX,dword ptr [ESP + 0x2c]
XOR ECX,dword ptr GS:[0x14]
JNZ 0x000fba0d
ADD ESP,0x3c
POP EBX
POP ESI
POP EDI
POP EBP
RET
TEST EBP,EBP
JZ 0x000fb98c
LEA ESI,[ESI]
LEA EAX,[EBX + 0xffec9249]
SUB ESP,0x4
PUSH EBP
PUSH EAX
PUSH EDI
CALL 0x000316d0
ADD ESP,0x10
LEA EAX,[EBX + 0xffee12f0]
SUB ESP,0x8
PUSH EAX
PUSH EDI
CALL 0x000316d0
POP ECX
LEA EAX,[EBX + 0xffec9578]
POP ESI
PUSH EAX
PUSH EDI
CALL 0x000316d0
MOV EAX,dword ptr [ESP + 0x20]
MOV ECX,dword ptr [ESP + 0x1c]
MOV ESI,dword ptr [EAX + ECX*0x4]
MOV EAX,dword ptr [ESI]
MOV dword ptr [ESP + 0x24],EAX
ADD ESP,0x10
JMP 0x000fb89d
LEA EBP,[EBX + 0xffef263c]
SUB ESP,0x8
MOV ESI,0x1c
PUSH dword ptr [ESP + 0x24]
PUSH EDI
CALL 0x000316d0
ADD ESP,0x10
NOP
LEA ESI,[ESI]
SUB ESP,0x8
PUSH EBP
PUSH EDI
CALL 0x000316d0
ADD ESP,0x10
SUB ESI,0x1
JNZ 0x000fb9e8
JMP 0x000fb8ed
MOV EDX,dword ptr [EBX + 0xffffffdc]
MOV EDI,dword ptr [EDX]
JMP 0x000fb7ff
CALL 0x0029eab0
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nundefined4 ListMimeInfo(FILE *param_1,char *param_2)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  int iVar3;\n  size_t sVar4;\n  undefined4 *puVar5;\n  int in_GS_OFFSET;\n  char *pcVar6;\n  int local_40;\n  char *local_38;\n  int local_24;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0xfb7d9;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if (param_1 == (FILE *)0x0) {\n    param_1 = *(FILE **)PTR_stdout_003d8fdc;\n  }\n  iVar1 = GetMimeInfoList(&DAT_002b96d5,&local_24,param_2);\n  uVar2 = 0;\n  if (iVar1 != 0) {\n    if (0 < local_24) {\n      local_40 = 0;\n      local_38 = (char *)0x0;\n      do {\n        puVar5 = *(undefined4 **)(iVar1 + local_40 * 4);\n        if (puVar5[0xe] == 0) {\n          pcVar6 = (char *)*puVar5;\n          if (local_38 == (char *)0x0) {\n            if (pcVar6 != (char *)0x0) goto LAB_000fb978;\nLAB_000fb98c:\n            FormatLocaleFile(param_1,"Type                   Description\n",param_2);\n            FormatLocaleFile(param_1,\n                             "-------------------------------------------------------------------------------\n"\n                            );\n            puVar5 = *(undefined4 **)(iVar1 + local_40 * 4);\n            local_38 = (char *)*puVar5;\n          }\n          else {\n            iVar3 = strcasecmp(local_38,pcVar6);\n            local_38 = pcVar6;\n            if (iVar3 != 0) {\nLAB_000fb978:\n              FormatLocaleFile(param_1,"\nPath: %s\n\n",pcVar6);\n              param_2 = pcVar6;\n              goto LAB_000fb98c;\n            }\n          }\n          param_2 = (char *)puVar5[1];\n          FormatLocaleFile(param_1,&DAT_002b6e4e,param_2);\n          sVar4 = strlen(*(char **)(*(int *)(iVar1 + local_40 * 4) + 4));\n          if (sVar4 < 0x1a) {\n            do {\n              sVar4 = sVar4 + 1;\n              FormatLocaleFile(param_1,&DAT_002cb63c,param_2);\n            } while (sVar4 != 0x1c);\n          }\n          else {\n            FormatLocaleFile(param_1,"\n",param_2);\n            iVar3 = 0x1c;\n            do {\n              FormatLocaleFile(param_1,&DAT_002cb63c,param_2);\n              iVar3 = iVar3 + -1;\n            } while (iVar3 != 0);\n          }\n          pcVar6 = *(char **)(*(int *)(iVar1 + local_40 * 4) + 8);\n          if (pcVar6 != (char *)0x0) {\n            FormatLocaleFile(param_1,&DAT_002b6e4e,pcVar6);\n            param_2 = pcVar6;\n          }\n          FormatLocaleFile(param_1,"\n",param_2);\n        }\n        local_40 = local_40 + 1;\n      } while (local_40 < local_24);\n    }\n    fflush(param_1);\n    RelinquishMagickMemory(iVar1);\n    uVar2 = 1;\n  }\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0029eab0();\n  }\n  return uVar2;\n}\n\n" comment (function_definition "undefined4 ListMimeInfo(FILE *param_1,char *param_2)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  int iVar3;\n  size_t sVar4;\n  undefined4 *puVar5;\n  int in_GS_OFFSET;\n  char *pcVar6;\n  int local_40;\n  char *local_38;\n  int local_24;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0xfb7d9;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if (param_1 == (FILE *)0x0) {\n    param_1 = *(FILE **)PTR_stdout_003d8fdc;\n  }\n  iVar1 = GetMimeInfoList(&DAT_002b96d5,&local_24,param_2);\n  uVar2 = 0;\n  if (iVar1 != 0) {\n    if (0 < local_24) {\n      local_40 = 0;\n      local_38 = (char *)0x0;\n      do {\n        puVar5 = *(undefined4 **)(iVar1 + local_40 * 4);\n        if (puVar5[0xe] == 0) {\n          pcVar6 = (char *)*puVar5;\n          if (local_38 == (char *)0x0) {\n            if (pcVar6 != (char *)0x0) goto LAB_000fb978;\nLAB_000fb98c:\n            FormatLocaleFile(param_1,"Type                   Description\n",param_2);\n            FormatLocaleFile(param_1,\n                             "-------------------------------------------------------------------------------\n"\n                            );\n            puVar5 = *(undefined4 **)(iVar1 + local_40 * 4);\n            local_38 = (char *)*puVar5;\n          }\n          else {\n            iVar3 = strcasecmp(local_38,pcVar6);\n            local_38 = pcVar6;\n            if (iVar3 != 0) {\nLAB_000fb978:\n              FormatLocaleFile(param_1,"\nPath: %s\n\n",pcVar6);\n              param_2 = pcVar6;\n              goto LAB_000fb98c;\n            }\n          }\n          param_2 = (char *)puVar5[1];\n          FormatLocaleFile(param_1,&DAT_002b6e4e,param_2);\n          sVar4 = strlen(*(char **)(*(int *)(iVar1 + local_40 * 4) + 4));\n          if (sVar4 < 0x1a) {\n            do {\n              sVar4 = sVar4 + 1;\n              FormatLocaleFile(param_1,&DAT_002cb63c,param_2);\n            } while (sVar4 != 0x1c);\n          }\n          else {\n            FormatLocaleFile(param_1,"\n",param_2);\n            iVar3 = 0x1c;\n            do {\n              FormatLocaleFile(param_1,&DAT_002cb63c,param_2);\n              iVar3 = iVar3 + -1;\n            } while (iVar3 != 0);\n          }\n          pcVar6 = *(char **)(*(int *)(iVar1 + local_40 * 4) + 8);\n          if (pcVar6 != (char *)0x0) {\n            FormatLocaleFile(param_1,&DAT_002b6e4e,pcVar6);\n            param_2 = pcVar6;\n          }\n          FormatLocaleFile(param_1,"\n",param_2);\n        }\n        local_40 = local_40 + 1;\n      } while (local_40 < local_24);\n    }\n    fflush(param_1);\n    RelinquishMagickMemory(iVar1);\n    uVar2 = 1;\n  }\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0029eab0();\n  }\n  return uVar2;\n}" type_identifier (function_declarator "ListMimeInfo(FILE *param_1,char *param_2)" identifier (parameter_list "(FILE *param_1,char *param_2)" ( (parameter_declaration "FILE *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "char *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  int iVar3;\n  size_t sVar4;\n  undefined4 *puVar5;\n  int in_GS_OFFSET;\n  char *pcVar6;\n  int local_40;\n  char *local_38;\n  int local_24;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0xfb7d9;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if (param_1 == (FILE *)0x0) {\n    param_1 = *(FILE **)PTR_stdout_003d8fdc;\n  }\n  iVar1 = GetMimeInfoList(&DAT_002b96d5,&local_24,param_2);\n  uVar2 = 0;\n  if (iVar1 != 0) {\n    if (0 < local_24) {\n      local_40 = 0;\n      local_38 = (char *)0x0;\n      do {\n        puVar5 = *(undefined4 **)(iVar1 + local_40 * 4);\n        if (puVar5[0xe] == 0) {\n          pcVar6 = (char *)*puVar5;\n          if (local_38 == (char *)0x0) {\n            if (pcVar6 != (char *)0x0) goto LAB_000fb978;\nLAB_000fb98c:\n            FormatLocaleFile(param_1,"Type                   Description\n",param_2);\n            FormatLocaleFile(param_1,\n                             "-------------------------------------------------------------------------------\n"\n                            );\n            puVar5 = *(undefined4 **)(iVar1 + local_40 * 4);\n            local_38 = (char *)*puVar5;\n          }\n          else {\n            iVar3 = strcasecmp(local_38,pcVar6);\n            local_38 = pcVar6;\n            if (iVar3 != 0) {\nLAB_000fb978:\n              FormatLocaleFile(param_1,"\nPath: %s\n\n",pcVar6);\n              param_2 = pcVar6;\n              goto LAB_000fb98c;\n            }\n          }\n          param_2 = (char *)puVar5[1];\n          FormatLocaleFile(param_1,&DAT_002b6e4e,param_2);\n          sVar4 = strlen(*(char **)(*(int *)(iVar1 + local_40 * 4) + 4));\n          if (sVar4 < 0x1a) {\n            do {\n              sVar4 = sVar4 + 1;\n              FormatLocaleFile(param_1,&DAT_002cb63c,param_2);\n            } while (sVar4 != 0x1c);\n          }\n          else {\n            FormatLocaleFile(param_1,"\n",param_2);\n            iVar3 = 0x1c;\n            do {\n              FormatLocaleFile(param_1,&DAT_002cb63c,param_2);\n              iVar3 = iVar3 + -1;\n            } while (iVar3 != 0);\n          }\n          pcVar6 = *(char **)(*(int *)(iVar1 + local_40 * 4) + 8);\n          if (pcVar6 != (char *)0x0) {\n            FormatLocaleFile(param_1,&DAT_002b6e4e,pcVar6);\n            param_2 = pcVar6;\n          }\n          FormatLocaleFile(param_1,"\n",param_2);\n        }\n        local_40 = local_40 + 1;\n      } while (local_40 < local_24);\n    }\n    fflush(param_1);\n    RelinquishMagickMemory(iVar1);\n    uVar2 = 1;\n  }\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0029eab0();\n  }\n  return uVar2;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "size_t sVar4;" primitive_type identifier ;) (declaration "undefined4 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "char *pcVar6;" primitive_type (pointer_declarator "*pcVar6" * identifier) ;) (declaration "int local_40;" primitive_type identifier ;) (declaration "char *local_38;" primitive_type (pointer_declarator "*local_38" * identifier) ;) (declaration "int local_24;" primitive_type identifier ;) (declaration "int local_20;" primitive_type identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0xfb7d9;" (assignment_expression "uStack_14 = 0xfb7d9" identifier = number_literal) ;) (expression_statement "local_20 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (if_statement "if (param_1 == (FILE *)0x0) {\n    param_1 = *(FILE **)PTR_stdout_003d8fdc;\n  }" if (parenthesized_expression "(param_1 == (FILE *)0x0)" ( (binary_expression "param_1 == (FILE *)0x0" identifier == (cast_expression "(FILE *)0x0" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    param_1 = *(FILE **)PTR_stdout_003d8fdc;\n  }" { (expression_statement "param_1 = *(FILE **)PTR_stdout_003d8fdc;" (assignment_expression "param_1 = *(FILE **)PTR_stdout_003d8fdc" identifier = (pointer_expression "*(FILE **)PTR_stdout_003d8fdc" * (cast_expression "(FILE **)PTR_stdout_003d8fdc" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) })) (expression_statement "iVar1 = GetMimeInfoList(&DAT_002b96d5,&local_24,param_2);" (assignment_expression "iVar1 = GetMimeInfoList(&DAT_002b96d5,&local_24,param_2)" identifier = (call_expression "GetMimeInfoList(&DAT_002b96d5,&local_24,param_2)" identifier (argument_list "(&DAT_002b96d5,&local_24,param_2)" ( (pointer_expression "&DAT_002b96d5" & identifier) , (pointer_expression "&local_24" & identifier) , identifier )))) ;) (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) (if_statement "if (iVar1 != 0) {\n    if (0 < local_24) {\n      local_40 = 0;\n      local_38 = (char *)0x0;\n      do {\n        puVar5 = *(undefined4 **)(iVar1 + local_40 * 4);\n        if (puVar5[0xe] == 0) {\n          pcVar6 = (char *)*puVar5;\n          if (local_38 == (char *)0x0) {\n            if (pcVar6 != (char *)0x0) goto LAB_000fb978;\nLAB_000fb98c:\n            FormatLocaleFile(param_1,"Type                   Description\n",param_2);\n            FormatLocaleFile(param_1,\n                             "-------------------------------------------------------------------------------\n"\n                            );\n            puVar5 = *(undefined4 **)(iVar1 + local_40 * 4);\n            local_38 = (char *)*puVar5;\n          }\n          else {\n            iVar3 = strcasecmp(local_38,pcVar6);\n            local_38 = pcVar6;\n            if (iVar3 != 0) {\nLAB_000fb978:\n              FormatLocaleFile(param_1,"\nPath: %s\n\n",pcVar6);\n              param_2 = pcVar6;\n              goto LAB_000fb98c;\n            }\n          }\n          param_2 = (char *)puVar5[1];\n          FormatLocaleFile(param_1,&DAT_002b6e4e,param_2);\n          sVar4 = strlen(*(char **)(*(int *)(iVar1 + local_40 * 4) + 4));\n          if (sVar4 < 0x1a) {\n            do {\n              sVar4 = sVar4 + 1;\n              FormatLocaleFile(param_1,&DAT_002cb63c,param_2);\n            } while (sVar4 != 0x1c);\n          }\n          else {\n            FormatLocaleFile(param_1,"\n",param_2);\n            iVar3 = 0x1c;\n            do {\n              FormatLocaleFile(param_1,&DAT_002cb63c,param_2);\n              iVar3 = iVar3 + -1;\n            } while (iVar3 != 0);\n          }\n          pcVar6 = *(char **)(*(int *)(iVar1 + local_40 * 4) + 8);\n          if (pcVar6 != (char *)0x0) {\n            FormatLocaleFile(param_1,&DAT_002b6e4e,pcVar6);\n            param_2 = pcVar6;\n          }\n          FormatLocaleFile(param_1,"\n",param_2);\n        }\n        local_40 = local_40 + 1;\n      } while (local_40 < local_24);\n    }\n    fflush(param_1);\n    RelinquishMagickMemory(iVar1);\n    uVar2 = 1;\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    if (0 < local_24) {\n      local_40 = 0;\n      local_38 = (char *)0x0;\n      do {\n        puVar5 = *(undefined4 **)(iVar1 + local_40 * 4);\n        if (puVar5[0xe] == 0) {\n          pcVar6 = (char *)*puVar5;\n          if (local_38 == (char *)0x0) {\n            if (pcVar6 != (char *)0x0) goto LAB_000fb978;\nLAB_000fb98c:\n            FormatLocaleFile(param_1,"Type                   Description\n",param_2);\n            FormatLocaleFile(param_1,\n                             "-------------------------------------------------------------------------------\n"\n                            );\n            puVar5 = *(undefined4 **)(iVar1 + local_40 * 4);\n            local_38 = (char *)*puVar5;\n          }\n          else {\n            iVar3 = strcasecmp(local_38,pcVar6);\n            local_38 = pcVar6;\n            if (iVar3 != 0) {\nLAB_000fb978:\n              FormatLocaleFile(param_1,"\nPath: %s\n\n",pcVar6);\n              param_2 = pcVar6;\n              goto LAB_000fb98c;\n            }\n          }\n          param_2 = (char *)puVar5[1];\n          FormatLocaleFile(param_1,&DAT_002b6e4e,param_2);\n          sVar4 = strlen(*(char **)(*(int *)(iVar1 + local_40 * 4) + 4));\n          if (sVar4 < 0x1a) {\n            do {\n              sVar4 = sVar4 + 1;\n              FormatLocaleFile(param_1,&DAT_002cb63c,param_2);\n            } while (sVar4 != 0x1c);\n          }\n          else {\n            FormatLocaleFile(param_1,"\n",param_2);\n            iVar3 = 0x1c;\n            do {\n              FormatLocaleFile(param_1,&DAT_002cb63c,param_2);\n              iVar3 = iVar3 + -1;\n            } while (iVar3 != 0);\n          }\n          pcVar6 = *(char **)(*(int *)(iVar1 + local_40 * 4) + 8);\n          if (pcVar6 != (char *)0x0) {\n            FormatLocaleFile(param_1,&DAT_002b6e4e,pcVar6);\n            param_2 = pcVar6;\n          }\n          FormatLocaleFile(param_1,"\n",param_2);\n        }\n        local_40 = local_40 + 1;\n      } while (local_40 < local_24);\n    }\n    fflush(param_1);\n    RelinquishMagickMemory(iVar1);\n    uVar2 = 1;\n  }" { (if_statement "if (0 < local_24) {\n      local_40 = 0;\n      local_38 = (char *)0x0;\n      do {\n        puVar5 = *(undefined4 **)(iVar1 + local_40 * 4);\n        if (puVar5[0xe] == 0) {\n          pcVar6 = (char *)*puVar5;\n          if (local_38 == (char *)0x0) {\n            if (pcVar6 != (char *)0x0) goto LAB_000fb978;\nLAB_000fb98c:\n            FormatLocaleFile(param_1,"Type                   Description\n",param_2);\n            FormatLocaleFile(param_1,\n                             "-------------------------------------------------------------------------------\n"\n                            );\n            puVar5 = *(undefined4 **)(iVar1 + local_40 * 4);\n            local_38 = (char *)*puVar5;\n          }\n          else {\n            iVar3 = strcasecmp(local_38,pcVar6);\n            local_38 = pcVar6;\n            if (iVar3 != 0) {\nLAB_000fb978:\n              FormatLocaleFile(param_1,"\nPath: %s\n\n",pcVar6);\n              param_2 = pcVar6;\n              goto LAB_000fb98c;\n            }\n          }\n          param_2 = (char *)puVar5[1];\n          FormatLocaleFile(param_1,&DAT_002b6e4e,param_2);\n          sVar4 = strlen(*(char **)(*(int *)(iVar1 + local_40 * 4) + 4));\n          if (sVar4 < 0x1a) {\n            do {\n              sVar4 = sVar4 + 1;\n              FormatLocaleFile(param_1,&DAT_002cb63c,param_2);\n            } while (sVar4 != 0x1c);\n          }\n          else {\n            FormatLocaleFile(param_1,"\n",param_2);\n            iVar3 = 0x1c;\n            do {\n              FormatLocaleFile(param_1,&DAT_002cb63c,param_2);\n              iVar3 = iVar3 + -1;\n            } while (iVar3 != 0);\n          }\n          pcVar6 = *(char **)(*(int *)(iVar1 + local_40 * 4) + 8);\n          if (pcVar6 != (char *)0x0) {\n            FormatLocaleFile(param_1,&DAT_002b6e4e,pcVar6);\n            param_2 = pcVar6;\n          }\n          FormatLocaleFile(param_1,"\n",param_2);\n        }\n        local_40 = local_40 + 1;\n      } while (local_40 < local_24);\n    }" if (parenthesized_expression "(0 < local_24)" ( (binary_expression "0 < local_24" number_literal < identifier) )) (compound_statement "{\n      local_40 = 0;\n      local_38 = (char *)0x0;\n      do {\n        puVar5 = *(undefined4 **)(iVar1 + local_40 * 4);\n        if (puVar5[0xe] == 0) {\n          pcVar6 = (char *)*puVar5;\n          if (local_38 == (char *)0x0) {\n            if (pcVar6 != (char *)0x0) goto LAB_000fb978;\nLAB_000fb98c:\n            FormatLocaleFile(param_1,"Type                   Description\n",param_2);\n            FormatLocaleFile(param_1,\n                             "-------------------------------------------------------------------------------\n"\n                            );\n            puVar5 = *(undefined4 **)(iVar1 + local_40 * 4);\n            local_38 = (char *)*puVar5;\n          }\n          else {\n            iVar3 = strcasecmp(local_38,pcVar6);\n            local_38 = pcVar6;\n            if (iVar3 != 0) {\nLAB_000fb978:\n              FormatLocaleFile(param_1,"\nPath: %s\n\n",pcVar6);\n              param_2 = pcVar6;\n              goto LAB_000fb98c;\n            }\n          }\n          param_2 = (char *)puVar5[1];\n          FormatLocaleFile(param_1,&DAT_002b6e4e,param_2);\n          sVar4 = strlen(*(char **)(*(int *)(iVar1 + local_40 * 4) + 4));\n          if (sVar4 < 0x1a) {\n            do {\n              sVar4 = sVar4 + 1;\n              FormatLocaleFile(param_1,&DAT_002cb63c,param_2);\n            } while (sVar4 != 0x1c);\n          }\n          else {\n            FormatLocaleFile(param_1,"\n",param_2);\n            iVar3 = 0x1c;\n            do {\n              FormatLocaleFile(param_1,&DAT_002cb63c,param_2);\n              iVar3 = iVar3 + -1;\n            } while (iVar3 != 0);\n          }\n          pcVar6 = *(char **)(*(int *)(iVar1 + local_40 * 4) + 8);\n          if (pcVar6 != (char *)0x0) {\n            FormatLocaleFile(param_1,&DAT_002b6e4e,pcVar6);\n            param_2 = pcVar6;\n          }\n          FormatLocaleFile(param_1,"\n",param_2);\n        }\n        local_40 = local_40 + 1;\n      } while (local_40 < local_24);\n    }" { (expression_statement "local_40 = 0;" (assignment_expression "local_40 = 0" identifier = number_literal) ;) (expression_statement "local_38 = (char *)0x0;" (assignment_expression "local_38 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (do_statement "do {\n        puVar5 = *(undefined4 **)(iVar1 + local_40 * 4);\n        if (puVar5[0xe] == 0) {\n          pcVar6 = (char *)*puVar5;\n          if (local_38 == (char *)0x0) {\n            if (pcVar6 != (char *)0x0) goto LAB_000fb978;\nLAB_000fb98c:\n            FormatLocaleFile(param_1,"Type                   Description\n",param_2);\n            FormatLocaleFile(param_1,\n                             "-------------------------------------------------------------------------------\n"\n                            );\n            puVar5 = *(undefined4 **)(iVar1 + local_40 * 4);\n            local_38 = (char *)*puVar5;\n          }\n          else {\n            iVar3 = strcasecmp(local_38,pcVar6);\n            local_38 = pcVar6;\n            if (iVar3 != 0) {\nLAB_000fb978:\n              FormatLocaleFile(param_1,"\nPath: %s\n\n",pcVar6);\n              param_2 = pcVar6;\n              goto LAB_000fb98c;\n            }\n          }\n          param_2 = (char *)puVar5[1];\n          FormatLocaleFile(param_1,&DAT_002b6e4e,param_2);\n          sVar4 = strlen(*(char **)(*(int *)(iVar1 + local_40 * 4) + 4));\n          if (sVar4 < 0x1a) {\n            do {\n              sVar4 = sVar4 + 1;\n              FormatLocaleFile(param_1,&DAT_002cb63c,param_2);\n            } while (sVar4 != 0x1c);\n          }\n          else {\n            FormatLocaleFile(param_1,"\n",param_2);\n            iVar3 = 0x1c;\n            do {\n              FormatLocaleFile(param_1,&DAT_002cb63c,param_2);\n              iVar3 = iVar3 + -1;\n            } while (iVar3 != 0);\n          }\n          pcVar6 = *(char **)(*(int *)(iVar1 + local_40 * 4) + 8);\n          if (pcVar6 != (char *)0x0) {\n            FormatLocaleFile(param_1,&DAT_002b6e4e,pcVar6);\n            param_2 = pcVar6;\n          }\n          FormatLocaleFile(param_1,"\n",param_2);\n        }\n        local_40 = local_40 + 1;\n      } while (local_40 < local_24);" do (compound_statement "{\n        puVar5 = *(undefined4 **)(iVar1 + local_40 * 4);\n        if (puVar5[0xe] == 0) {\n          pcVar6 = (char *)*puVar5;\n          if (local_38 == (char *)0x0) {\n            if (pcVar6 != (char *)0x0) goto LAB_000fb978;\nLAB_000fb98c:\n            FormatLocaleFile(param_1,"Type                   Description\n",param_2);\n            FormatLocaleFile(param_1,\n                             "-------------------------------------------------------------------------------\n"\n                            );\n            puVar5 = *(undefined4 **)(iVar1 + local_40 * 4);\n            local_38 = (char *)*puVar5;\n          }\n          else {\n            iVar3 = strcasecmp(local_38,pcVar6);\n            local_38 = pcVar6;\n            if (iVar3 != 0) {\nLAB_000fb978:\n              FormatLocaleFile(param_1,"\nPath: %s\n\n",pcVar6);\n              param_2 = pcVar6;\n              goto LAB_000fb98c;\n            }\n          }\n          param_2 = (char *)puVar5[1];\n          FormatLocaleFile(param_1,&DAT_002b6e4e,param_2);\n          sVar4 = strlen(*(char **)(*(int *)(iVar1 + local_40 * 4) + 4));\n          if (sVar4 < 0x1a) {\n            do {\n              sVar4 = sVar4 + 1;\n              FormatLocaleFile(param_1,&DAT_002cb63c,param_2);\n            } while (sVar4 != 0x1c);\n          }\n          else {\n            FormatLocaleFile(param_1,"\n",param_2);\n            iVar3 = 0x1c;\n            do {\n              FormatLocaleFile(param_1,&DAT_002cb63c,param_2);\n              iVar3 = iVar3 + -1;\n            } while (iVar3 != 0);\n          }\n          pcVar6 = *(char **)(*(int *)(iVar1 + local_40 * 4) + 8);\n          if (pcVar6 != (char *)0x0) {\n            FormatLocaleFile(param_1,&DAT_002b6e4e,pcVar6);\n            param_2 = pcVar6;\n          }\n          FormatLocaleFile(param_1,"\n",param_2);\n        }\n        local_40 = local_40 + 1;\n      }" { (expression_statement "puVar5 = *(undefined4 **)(iVar1 + local_40 * 4);" (assignment_expression "puVar5 = *(undefined4 **)(iVar1 + local_40 * 4)" identifier = (pointer_expression "*(undefined4 **)(iVar1 + local_40 * 4)" * (cast_expression "(undefined4 **)(iVar1 + local_40 * 4)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar1 + local_40 * 4)" ( (binary_expression "iVar1 + local_40 * 4" identifier + (binary_expression "local_40 * 4" identifier * number_literal)) ))))) ;) (if_statement "if (puVar5[0xe] == 0) {\n          pcVar6 = (char *)*puVar5;\n          if (local_38 == (char *)0x0) {\n            if (pcVar6 != (char *)0x0) goto LAB_000fb978;\nLAB_000fb98c:\n            FormatLocaleFile(param_1,"Type                   Description\n",param_2);\n            FormatLocaleFile(param_1,\n                             "-------------------------------------------------------------------------------\n"\n                            );\n            puVar5 = *(undefined4 **)(iVar1 + local_40 * 4);\n            local_38 = (char *)*puVar5;\n          }\n          else {\n            iVar3 = strcasecmp(local_38,pcVar6);\n            local_38 = pcVar6;\n            if (iVar3 != 0) {\nLAB_000fb978:\n              FormatLocaleFile(param_1,"\nPath: %s\n\n",pcVar6);\n              param_2 = pcVar6;\n              goto LAB_000fb98c;\n            }\n          }\n          param_2 = (char *)puVar5[1];\n          FormatLocaleFile(param_1,&DAT_002b6e4e,param_2);\n          sVar4 = strlen(*(char **)(*(int *)(iVar1 + local_40 * 4) + 4));\n          if (sVar4 < 0x1a) {\n            do {\n              sVar4 = sVar4 + 1;\n              FormatLocaleFile(param_1,&DAT_002cb63c,param_2);\n            } while (sVar4 != 0x1c);\n          }\n          else {\n            FormatLocaleFile(param_1,"\n",param_2);\n            iVar3 = 0x1c;\n            do {\n              FormatLocaleFile(param_1,&DAT_002cb63c,param_2);\n              iVar3 = iVar3 + -1;\n            } while (iVar3 != 0);\n          }\n          pcVar6 = *(char **)(*(int *)(iVar1 + local_40 * 4) + 8);\n          if (pcVar6 != (char *)0x0) {\n            FormatLocaleFile(param_1,&DAT_002b6e4e,pcVar6);\n            param_2 = pcVar6;\n          }\n          FormatLocaleFile(param_1,"\n",param_2);\n        }" if (parenthesized_expression "(puVar5[0xe] == 0)" ( (binary_expression "puVar5[0xe] == 0" (subscript_expression "puVar5[0xe]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n          pcVar6 = (char *)*puVar5;\n          if (local_38 == (char *)0x0) {\n            if (pcVar6 != (char *)0x0) goto LAB_000fb978;\nLAB_000fb98c:\n            FormatLocaleFile(param_1,"Type                   Description\n",param_2);\n            FormatLocaleFile(param_1,\n                             "-------------------------------------------------------------------------------\n"\n                            );\n            puVar5 = *(undefined4 **)(iVar1 + local_40 * 4);\n            local_38 = (char *)*puVar5;\n          }\n          else {\n            iVar3 = strcasecmp(local_38,pcVar6);\n            local_38 = pcVar6;\n            if (iVar3 != 0) {\nLAB_000fb978:\n              FormatLocaleFile(param_1,"\nPath: %s\n\n",pcVar6);\n              param_2 = pcVar6;\n              goto LAB_000fb98c;\n            }\n          }\n          param_2 = (char *)puVar5[1];\n          FormatLocaleFile(param_1,&DAT_002b6e4e,param_2);\n          sVar4 = strlen(*(char **)(*(int *)(iVar1 + local_40 * 4) + 4));\n          if (sVar4 < 0x1a) {\n            do {\n              sVar4 = sVar4 + 1;\n              FormatLocaleFile(param_1,&DAT_002cb63c,param_2);\n            } while (sVar4 != 0x1c);\n          }\n          else {\n            FormatLocaleFile(param_1,"\n",param_2);\n            iVar3 = 0x1c;\n            do {\n              FormatLocaleFile(param_1,&DAT_002cb63c,param_2);\n              iVar3 = iVar3 + -1;\n            } while (iVar3 != 0);\n          }\n          pcVar6 = *(char **)(*(int *)(iVar1 + local_40 * 4) + 8);\n          if (pcVar6 != (char *)0x0) {\n            FormatLocaleFile(param_1,&DAT_002b6e4e,pcVar6);\n            param_2 = pcVar6;\n          }\n          FormatLocaleFile(param_1,"\n",param_2);\n        }" { (expression_statement "pcVar6 = (char *)*puVar5;" (assignment_expression "pcVar6 = (char *)*puVar5" identifier = (cast_expression "(char *)*puVar5" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar5" * identifier))) ;) (if_statement "if (local_38 == (char *)0x0) {\n            if (pcVar6 != (char *)0x0) goto LAB_000fb978;\nLAB_000fb98c:\n            FormatLocaleFile(param_1,"Type                   Description\n",param_2);\n            FormatLocaleFile(param_1,\n                             "-------------------------------------------------------------------------------\n"\n                            );\n            puVar5 = *(undefined4 **)(iVar1 + local_40 * 4);\n            local_38 = (char *)*puVar5;\n          }\n          else {\n            iVar3 = strcasecmp(local_38,pcVar6);\n            local_38 = pcVar6;\n            if (iVar3 != 0) {\nLAB_000fb978:\n              FormatLocaleFile(param_1,"\nPath: %s\n\n",pcVar6);\n              param_2 = pcVar6;\n              goto LAB_000fb98c;\n            }\n          }" if (parenthesized_expression "(local_38 == (char *)0x0)" ( (binary_expression "local_38 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            if (pcVar6 != (char *)0x0) goto LAB_000fb978;\nLAB_000fb98c:\n            FormatLocaleFile(param_1,"Type                   Description\n",param_2);\n            FormatLocaleFile(param_1,\n                             "-------------------------------------------------------------------------------\n"\n                            );\n            puVar5 = *(undefined4 **)(iVar1 + local_40 * 4);\n            local_38 = (char *)*puVar5;\n          }" { (if_statement "if (pcVar6 != (char *)0x0) goto LAB_000fb978;" 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)) )) (goto_statement "goto LAB_000fb978;" goto statement_identifier ;)) (labeled_statement "LAB_000fb98c:\n            FormatLocaleFile(param_1,"Type                   Description\n",param_2);" statement_identifier : (expression_statement "FormatLocaleFile(param_1,"Type                   Description\n",param_2);" (call_expression "FormatLocaleFile(param_1,"Type                   Description\n",param_2)" identifier (argument_list "(param_1,"Type                   Description\n",param_2)" ( identifier , (string_literal ""Type                   Description\n"" " string_content escape_sequence ") , identifier ))) ;)) (expression_statement "FormatLocaleFile(param_1,\n                             "-------------------------------------------------------------------------------\n"\n                            );" (call_expression "FormatLocaleFile(param_1,\n                             "-------------------------------------------------------------------------------\n"\n                            )" identifier (argument_list "(param_1,\n                             "-------------------------------------------------------------------------------\n"\n                            )" ( identifier , (string_literal ""-------------------------------------------------------------------------------\n"" " string_content escape_sequence ") ))) ;) (expression_statement "puVar5 = *(undefined4 **)(iVar1 + local_40 * 4);" (assignment_expression "puVar5 = *(undefined4 **)(iVar1 + local_40 * 4)" identifier = (pointer_expression "*(undefined4 **)(iVar1 + local_40 * 4)" * (cast_expression "(undefined4 **)(iVar1 + local_40 * 4)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar1 + local_40 * 4)" ( (binary_expression "iVar1 + local_40 * 4" identifier + (binary_expression "local_40 * 4" identifier * number_literal)) ))))) ;) (expression_statement "local_38 = (char *)*puVar5;" (assignment_expression "local_38 = (char *)*puVar5" identifier = (cast_expression "(char *)*puVar5" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar5" * identifier))) ;) }) (else_clause "else {\n            iVar3 = strcasecmp(local_38,pcVar6);\n            local_38 = pcVar6;\n            if (iVar3 != 0) {\nLAB_000fb978:\n              FormatLocaleFile(param_1,"\nPath: %s\n\n",pcVar6);\n              param_2 = pcVar6;\n              goto LAB_000fb98c;\n            }\n          }" else (compound_statement "{\n            iVar3 = strcasecmp(local_38,pcVar6);\n            local_38 = pcVar6;\n            if (iVar3 != 0) {\nLAB_000fb978:\n              FormatLocaleFile(param_1,"\nPath: %s\n\n",pcVar6);\n              param_2 = pcVar6;\n              goto LAB_000fb98c;\n            }\n          }" { (expression_statement "iVar3 = strcasecmp(local_38,pcVar6);" (assignment_expression "iVar3 = strcasecmp(local_38,pcVar6)" identifier = (call_expression "strcasecmp(local_38,pcVar6)" identifier (argument_list "(local_38,pcVar6)" ( identifier , identifier )))) ;) (expression_statement "local_38 = pcVar6;" (assignment_expression "local_38 = pcVar6" identifier = identifier) ;) (if_statement "if (iVar3 != 0) {\nLAB_000fb978:\n              FormatLocaleFile(param_1,"\nPath: %s\n\n",pcVar6);\n              param_2 = pcVar6;\n              goto LAB_000fb98c;\n            }" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\nLAB_000fb978:\n              FormatLocaleFile(param_1,"\nPath: %s\n\n",pcVar6);\n              param_2 = pcVar6;\n              goto LAB_000fb98c;\n            }" { (labeled_statement "LAB_000fb978:\n              FormatLocaleFile(param_1,"\nPath: %s\n\n",pcVar6);" statement_identifier : (expression_statement "FormatLocaleFile(param_1,"\nPath: %s\n\n",pcVar6);" (call_expression "FormatLocaleFile(param_1,"\nPath: %s\n\n",pcVar6)" identifier (argument_list "(param_1,"\nPath: %s\n\n",pcVar6)" ( identifier , (string_literal ""\nPath: %s\n\n"" " escape_sequence string_content escape_sequence escape_sequence ") , identifier ))) ;)) (expression_statement "param_2 = pcVar6;" (assignment_expression "param_2 = pcVar6" identifier = identifier) ;) (goto_statement "goto LAB_000fb98c;" goto statement_identifier ;) })) }))) (expression_statement "param_2 = (char *)puVar5[1];" (assignment_expression "param_2 = (char *)puVar5[1]" identifier = (cast_expression "(char *)puVar5[1]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar5[1]" identifier [ number_literal ]))) ;) (expression_statement "FormatLocaleFile(param_1,&DAT_002b6e4e,param_2);" (call_expression "FormatLocaleFile(param_1,&DAT_002b6e4e,param_2)" identifier (argument_list "(param_1,&DAT_002b6e4e,param_2)" ( identifier , (pointer_expression "&DAT_002b6e4e" & identifier) , identifier ))) ;) (expression_statement "sVar4 = strlen(*(char **)(*(int *)(iVar1 + local_40 * 4) + 4));" (assignment_expression "sVar4 = strlen(*(char **)(*(int *)(iVar1 + local_40 * 4) + 4))" identifier = (call_expression "strlen(*(char **)(*(int *)(iVar1 + local_40 * 4) + 4))" identifier (argument_list "(*(char **)(*(int *)(iVar1 + local_40 * 4) + 4))" ( (pointer_expression "*(char **)(*(int *)(iVar1 + local_40 * 4) + 4)" * (cast_expression "(char **)(*(int *)(iVar1 + local_40 * 4) + 4)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(iVar1 + local_40 * 4) + 4)" ( (binary_expression "*(int *)(iVar1 + local_40 * 4) + 4" (pointer_expression "*(int *)(iVar1 + local_40 * 4)" * (cast_expression "(int *)(iVar1 + local_40 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + local_40 * 4)" ( (binary_expression "iVar1 + local_40 * 4" identifier + (binary_expression "local_40 * 4" identifier * number_literal)) )))) + number_literal) )))) )))) ;) (if_statement "if (sVar4 < 0x1a) {\n            do {\n              sVar4 = sVar4 + 1;\n              FormatLocaleFile(param_1,&DAT_002cb63c,param_2);\n            } while (sVar4 != 0x1c);\n          }\n          else {\n            FormatLocaleFile(param_1,"\n",param_2);\n            iVar3 = 0x1c;\n            do {\n              FormatLocaleFile(param_1,&DAT_002cb63c,param_2);\n              iVar3 = iVar3 + -1;\n            } while (iVar3 != 0);\n          }" if (parenthesized_expression "(sVar4 < 0x1a)" ( (binary_expression "sVar4 < 0x1a" identifier < number_literal) )) (compound_statement "{\n            do {\n              sVar4 = sVar4 + 1;\n              FormatLocaleFile(param_1,&DAT_002cb63c,param_2);\n            } while (sVar4 != 0x1c);\n          }" { (do_statement "do {\n              sVar4 = sVar4 + 1;\n              FormatLocaleFile(param_1,&DAT_002cb63c,param_2);\n            } while (sVar4 != 0x1c);" do (compound_statement "{\n              sVar4 = sVar4 + 1;\n              FormatLocaleFile(param_1,&DAT_002cb63c,param_2);\n            }" { (expression_statement "sVar4 = sVar4 + 1;" (assignment_expression "sVar4 = sVar4 + 1" identifier = (binary_expression "sVar4 + 1" identifier + number_literal)) ;) (expression_statement "FormatLocaleFile(param_1,&DAT_002cb63c,param_2);" (call_expression "FormatLocaleFile(param_1,&DAT_002cb63c,param_2)" identifier (argument_list "(param_1,&DAT_002cb63c,param_2)" ( identifier , (pointer_expression "&DAT_002cb63c" & identifier) , identifier ))) ;) }) while (parenthesized_expression "(sVar4 != 0x1c)" ( (binary_expression "sVar4 != 0x1c" identifier != number_literal) )) ;) }) (else_clause "else {\n            FormatLocaleFile(param_1,"\n",param_2);\n            iVar3 = 0x1c;\n            do {\n              FormatLocaleFile(param_1,&DAT_002cb63c,param_2);\n              iVar3 = iVar3 + -1;\n            } while (iVar3 != 0);\n          }" else (compound_statement "{\n            FormatLocaleFile(param_1,"\n",param_2);\n            iVar3 = 0x1c;\n            do {\n              FormatLocaleFile(param_1,&DAT_002cb63c,param_2);\n              iVar3 = iVar3 + -1;\n            } while (iVar3 != 0);\n          }" { (expression_statement "FormatLocaleFile(param_1,"\n",param_2);" (call_expression "FormatLocaleFile(param_1,"\n",param_2)" identifier (argument_list "(param_1,"\n",param_2)" ( identifier , (string_literal ""\n"" " escape_sequence ") , identifier ))) ;) (expression_statement "iVar3 = 0x1c;" (assignment_expression "iVar3 = 0x1c" identifier = number_literal) ;) (do_statement "do {\n              FormatLocaleFile(param_1,&DAT_002cb63c,param_2);\n              iVar3 = iVar3 + -1;\n            } while (iVar3 != 0);" do (compound_statement "{\n              FormatLocaleFile(param_1,&DAT_002cb63c,param_2);\n              iVar3 = iVar3 + -1;\n            }" { (expression_statement "FormatLocaleFile(param_1,&DAT_002cb63c,param_2);" (call_expression "FormatLocaleFile(param_1,&DAT_002cb63c,param_2)" identifier (argument_list "(param_1,&DAT_002cb63c,param_2)" ( identifier , (pointer_expression "&DAT_002cb63c" & identifier) , identifier ))) ;) (expression_statement "iVar3 = iVar3 + -1;" (assignment_expression "iVar3 = iVar3 + -1" identifier = (binary_expression "iVar3 + -1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) ;) }))) (expression_statement "pcVar6 = *(char **)(*(int *)(iVar1 + local_40 * 4) + 8);" (assignment_expression "pcVar6 = *(char **)(*(int *)(iVar1 + local_40 * 4) + 8)" identifier = (pointer_expression "*(char **)(*(int *)(iVar1 + local_40 * 4) + 8)" * (cast_expression "(char **)(*(int *)(iVar1 + local_40 * 4) + 8)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(iVar1 + local_40 * 4) + 8)" ( (binary_expression "*(int *)(iVar1 + local_40 * 4) + 8" (pointer_expression "*(int *)(iVar1 + local_40 * 4)" * (cast_expression "(int *)(iVar1 + local_40 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + local_40 * 4)" ( (binary_expression "iVar1 + local_40 * 4" identifier + (binary_expression "local_40 * 4" identifier * number_literal)) )))) + number_literal) ))))) ;) (if_statement "if (pcVar6 != (char *)0x0) {\n            FormatLocaleFile(param_1,&DAT_002b6e4e,pcVar6);\n            param_2 = pcVar6;\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            FormatLocaleFile(param_1,&DAT_002b6e4e,pcVar6);\n            param_2 = pcVar6;\n          }" { (expression_statement "FormatLocaleFile(param_1,&DAT_002b6e4e,pcVar6);" (call_expression "FormatLocaleFile(param_1,&DAT_002b6e4e,pcVar6)" identifier (argument_list "(param_1,&DAT_002b6e4e,pcVar6)" ( identifier , (pointer_expression "&DAT_002b6e4e" & identifier) , identifier ))) ;) (expression_statement "param_2 = pcVar6;" (assignment_expression "param_2 = pcVar6" identifier = identifier) ;) })) (expression_statement "FormatLocaleFile(param_1,"\n",param_2);" (call_expression "FormatLocaleFile(param_1,"\n",param_2)" identifier (argument_list "(param_1,"\n",param_2)" ( identifier , (string_literal ""\n"" " escape_sequence ") , identifier ))) ;) })) (expression_statement "local_40 = local_40 + 1;" (assignment_expression "local_40 = local_40 + 1" identifier = (binary_expression "local_40 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(local_40 < local_24)" ( (binary_expression "local_40 < local_24" identifier < identifier) )) ;) })) (expression_statement "fflush(param_1);" (call_expression "fflush(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (expression_statement "RelinquishMagickMemory(iVar1);" (call_expression "RelinquishMagickMemory(iVar1)" identifier (argument_list "(iVar1)" ( identifier ))) ;) (expression_statement "uVar2 = 1;" (assignment_expression "uVar2 = 1" identifier = number_literal) ;) })) (if_statement "if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0029eab0();\n  }" if (parenthesized_expression "(local_20 != *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "local_20 != *(int *)(in_GS_OFFSET + 0x14)" identifier != (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    FUN_0029eab0();\n  }" { comment (expression_statement "FUN_0029eab0();" (call_expression "FUN_0029eab0()" identifier (argument_list "()" ( ))) ;) })) (return_statement "return uVar2;" return identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Enum "ExceptionType": Some values do not have unique names */\n\nMagickBooleanType ListMimeInfo(FILE *file,ExceptionInfo *exception)\n\n{\n  MimeInfo **memory;\n  MagickBooleanType MVar1;\n  int iVar2;\n  size_t sVar3;\n  MimeInfo *pMVar4;\n  int in_GS_OFFSET;\n  ExceptionInfo *pEVar5;\n  int local_40;\n  ExceptionInfo *local_38;\n  size_t number_aliases;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0xfb7d9;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if (file == (FILE *)0x0) {\n    file = *(FILE **)PTR_stdout_003d8fdc;\n  }\n  memory = GetMimeInfoList("*",&number_aliases,exception);\n  MVar1 = MagickFalse;\n  if (memory != (MimeInfo **)0x0) {\n    if (0 < (int)number_aliases) {\n      local_40 = 0;\n      local_38 = (ExceptionInfo *)0x0;\n      do {\n        pMVar4 = memory[local_40];\n        if (pMVar4->stealth == MagickFalse) {\n          pEVar5 = (ExceptionInfo *)pMVar4->path;\n          if (local_38 == (ExceptionInfo *)0x0) {\n            if (pEVar5 != (ExceptionInfo *)0x0) goto LAB_000fb978;\nLAB_000fb98c:\n            FormatLocaleFile(file,"Type                   Description\n",exception);\n            FormatLocaleFile(file,\n                             "-------------------------------------------------------------------------------\n"\n                            );\n            pMVar4 = memory[local_40];\n            local_38 = (ExceptionInfo *)pMVar4->path;\n          }\n          else {\n            iVar2 = strcasecmp((char *)local_38,(char *)pEVar5);\n            local_38 = pEVar5;\n            if (iVar2 != 0) {\nLAB_000fb978:\n              FormatLocaleFile(file,"\nPath: %s\n\n",pEVar5);\n              exception = pEVar5;\n              goto LAB_000fb98c;\n            }\n          }\n          exception = (ExceptionInfo *)pMVar4->type;\n          FormatLocaleFile(file,"%s",exception);\n          sVar3 = strlen(memory[local_40]->type);\n          if (sVar3 < 0x1a) {\n            do {\n              sVar3 = sVar3 + 1;\n              FormatLocaleFile(file," ",exception);\n            } while (sVar3 != 0x1c);\n          }\n          else {\n            FormatLocaleFile(file,"\n",exception);\n            iVar2 = 0x1c;\n            do {\n              FormatLocaleFile(file," ",exception);\n              iVar2 = iVar2 + -1;\n            } while (iVar2 != 0);\n          }\n          pEVar5 = (ExceptionInfo *)memory[local_40]->description;\n          if (pEVar5 != (ExceptionInfo *)0x0) {\n            FormatLocaleFile(file,"%s",pEVar5);\n            exception = pEVar5;\n          }\n          FormatLocaleFile(file,"\n",exception);\n        }\n        local_40 = local_40 + 1;\n      } while (local_40 < (int)number_aliases);\n    }\n    fflush((FILE *)file);\n    RelinquishMagickMemory(memory);\n    MVar1 = MagickTrue;\n  }\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail_local();\n  }\n  return MVar1;\n}\n\n" comment comment (function_definition "MagickBooleanType ListMimeInfo(FILE *file,ExceptionInfo *exception)\n\n{\n  MimeInfo **memory;\n  MagickBooleanType MVar1;\n  int iVar2;\n  size_t sVar3;\n  MimeInfo *pMVar4;\n  int in_GS_OFFSET;\n  ExceptionInfo *pEVar5;\n  int local_40;\n  ExceptionInfo *local_38;\n  size_t number_aliases;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0xfb7d9;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if (file == (FILE *)0x0) {\n    file = *(FILE **)PTR_stdout_003d8fdc;\n  }\n  memory = GetMimeInfoList("*",&number_aliases,exception);\n  MVar1 = MagickFalse;\n  if (memory != (MimeInfo **)0x0) {\n    if (0 < (int)number_aliases) {\n      local_40 = 0;\n      local_38 = (ExceptionInfo *)0x0;\n      do {\n        pMVar4 = memory[local_40];\n        if (pMVar4->stealth == MagickFalse) {\n          pEVar5 = (ExceptionInfo *)pMVar4->path;\n          if (local_38 == (ExceptionInfo *)0x0) {\n            if (pEVar5 != (ExceptionInfo *)0x0) goto LAB_000fb978;\nLAB_000fb98c:\n            FormatLocaleFile(file,"Type                   Description\n",exception);\n            FormatLocaleFile(file,\n                             "-------------------------------------------------------------------------------\n"\n                            );\n            pMVar4 = memory[local_40];\n            local_38 = (ExceptionInfo *)pMVar4->path;\n          }\n          else {\n            iVar2 = strcasecmp((char *)local_38,(char *)pEVar5);\n            local_38 = pEVar5;\n            if (iVar2 != 0) {\nLAB_000fb978:\n              FormatLocaleFile(file,"\nPath: %s\n\n",pEVar5);\n              exception = pEVar5;\n              goto LAB_000fb98c;\n            }\n          }\n          exception = (ExceptionInfo *)pMVar4->type;\n          FormatLocaleFile(file,"%s",exception);\n          sVar3 = strlen(memory[local_40]->type);\n          if (sVar3 < 0x1a) {\n            do {\n              sVar3 = sVar3 + 1;\n              FormatLocaleFile(file," ",exception);\n            } while (sVar3 != 0x1c);\n          }\n          else {\n            FormatLocaleFile(file,"\n",exception);\n            iVar2 = 0x1c;\n            do {\n              FormatLocaleFile(file," ",exception);\n              iVar2 = iVar2 + -1;\n            } while (iVar2 != 0);\n          }\n          pEVar5 = (ExceptionInfo *)memory[local_40]->description;\n          if (pEVar5 != (ExceptionInfo *)0x0) {\n            FormatLocaleFile(file,"%s",pEVar5);\n            exception = pEVar5;\n          }\n          FormatLocaleFile(file,"\n",exception);\n        }\n        local_40 = local_40 + 1;\n      } while (local_40 < (int)number_aliases);\n    }\n    fflush((FILE *)file);\n    RelinquishMagickMemory(memory);\n    MVar1 = MagickTrue;\n  }\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail_local();\n  }\n  return MVar1;\n}" type_identifier (function_declarator "ListMimeInfo(FILE *file,ExceptionInfo *exception)" identifier (parameter_list "(FILE *file,ExceptionInfo *exception)" ( (parameter_declaration "FILE *file" type_identifier (pointer_declarator "*file" * identifier)) , (parameter_declaration "ExceptionInfo *exception" type_identifier (pointer_declarator "*exception" * identifier)) ))) (compound_statement "{\n  MimeInfo **memory;\n  MagickBooleanType MVar1;\n  int iVar2;\n  size_t sVar3;\n  MimeInfo *pMVar4;\n  int in_GS_OFFSET;\n  ExceptionInfo *pEVar5;\n  int local_40;\n  ExceptionInfo *local_38;\n  size_t number_aliases;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0xfb7d9;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if (file == (FILE *)0x0) {\n    file = *(FILE **)PTR_stdout_003d8fdc;\n  }\n  memory = GetMimeInfoList("*",&number_aliases,exception);\n  MVar1 = MagickFalse;\n  if (memory != (MimeInfo **)0x0) {\n    if (0 < (int)number_aliases) {\n      local_40 = 0;\n      local_38 = (ExceptionInfo *)0x0;\n      do {\n        pMVar4 = memory[local_40];\n        if (pMVar4->stealth == MagickFalse) {\n          pEVar5 = (ExceptionInfo *)pMVar4->path;\n          if (local_38 == (ExceptionInfo *)0x0) {\n            if (pEVar5 != (ExceptionInfo *)0x0) goto LAB_000fb978;\nLAB_000fb98c:\n            FormatLocaleFile(file,"Type                   Description\n",exception);\n            FormatLocaleFile(file,\n                             "-------------------------------------------------------------------------------\n"\n                            );\n            pMVar4 = memory[local_40];\n            local_38 = (ExceptionInfo *)pMVar4->path;\n          }\n          else {\n            iVar2 = strcasecmp((char *)local_38,(char *)pEVar5);\n            local_38 = pEVar5;\n            if (iVar2 != 0) {\nLAB_000fb978:\n              FormatLocaleFile(file,"\nPath: %s\n\n",pEVar5);\n              exception = pEVar5;\n              goto LAB_000fb98c;\n            }\n          }\n          exception = (ExceptionInfo *)pMVar4->type;\n          FormatLocaleFile(file,"%s",exception);\n          sVar3 = strlen(memory[local_40]->type);\n          if (sVar3 < 0x1a) {\n            do {\n              sVar3 = sVar3 + 1;\n              FormatLocaleFile(file," ",exception);\n            } while (sVar3 != 0x1c);\n          }\n          else {\n            FormatLocaleFile(file,"\n",exception);\n            iVar2 = 0x1c;\n            do {\n              FormatLocaleFile(file," ",exception);\n              iVar2 = iVar2 + -1;\n            } while (iVar2 != 0);\n          }\n          pEVar5 = (ExceptionInfo *)memory[local_40]->description;\n          if (pEVar5 != (ExceptionInfo *)0x0) {\n            FormatLocaleFile(file,"%s",pEVar5);\n            exception = pEVar5;\n          }\n          FormatLocaleFile(file,"\n",exception);\n        }\n        local_40 = local_40 + 1;\n      } while (local_40 < (int)number_aliases);\n    }\n    fflush((FILE *)file);\n    RelinquishMagickMemory(memory);\n    MVar1 = MagickTrue;\n  }\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail_local();\n  }\n  return MVar1;\n}" { (declaration "MimeInfo **memory;" type_identifier (pointer_declarator "**memory" * (pointer_declarator "*memory" * identifier)) ;) (declaration "MagickBooleanType MVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "size_t sVar3;" primitive_type identifier ;) (declaration "MimeInfo *pMVar4;" type_identifier (pointer_declarator "*pMVar4" * identifier) ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "ExceptionInfo *pEVar5;" type_identifier (pointer_declarator "*pEVar5" * identifier) ;) (declaration "int local_40;" primitive_type identifier ;) (declaration "ExceptionInfo *local_38;" type_identifier (pointer_declarator "*local_38" * identifier) ;) (declaration "size_t number_aliases;" primitive_type identifier ;) (declaration "int local_20;" primitive_type identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0xfb7d9;" (assignment_expression "uStack_14 = 0xfb7d9" identifier = number_literal) ;) (expression_statement "local_20 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (if_statement "if (file == (FILE *)0x0) {\n    file = *(FILE **)PTR_stdout_003d8fdc;\n  }" if (parenthesized_expression "(file == (FILE *)0x0)" ( (binary_expression "file == (FILE *)0x0" identifier == (cast_expression "(FILE *)0x0" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    file = *(FILE **)PTR_stdout_003d8fdc;\n  }" { (expression_statement "file = *(FILE **)PTR_stdout_003d8fdc;" (assignment_expression "file = *(FILE **)PTR_stdout_003d8fdc" identifier = (pointer_expression "*(FILE **)PTR_stdout_003d8fdc" * (cast_expression "(FILE **)PTR_stdout_003d8fdc" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) })) (expression_statement "memory = GetMimeInfoList("*",&number_aliases,exception);" (assignment_expression "memory = GetMimeInfoList("*",&number_aliases,exception)" identifier = (call_expression "GetMimeInfoList("*",&number_aliases,exception)" identifier (argument_list "("*",&number_aliases,exception)" ( (string_literal ""*"" " string_content ") , (pointer_expression "&number_aliases" & identifier) , identifier )))) ;) (expression_statement "MVar1 = MagickFalse;" (assignment_expression "MVar1 = MagickFalse" identifier = identifier) ;) (if_statement "if (memory != (MimeInfo **)0x0) {\n    if (0 < (int)number_aliases) {\n      local_40 = 0;\n      local_38 = (ExceptionInfo *)0x0;\n      do {\n        pMVar4 = memory[local_40];\n        if (pMVar4->stealth == MagickFalse) {\n          pEVar5 = (ExceptionInfo *)pMVar4->path;\n          if (local_38 == (ExceptionInfo *)0x0) {\n            if (pEVar5 != (ExceptionInfo *)0x0) goto LAB_000fb978;\nLAB_000fb98c:\n            FormatLocaleFile(file,"Type                   Description\n",exception);\n            FormatLocaleFile(file,\n                             "-------------------------------------------------------------------------------\n"\n                            );\n            pMVar4 = memory[local_40];\n            local_38 = (ExceptionInfo *)pMVar4->path;\n          }\n          else {\n            iVar2 = strcasecmp((char *)local_38,(char *)pEVar5);\n            local_38 = pEVar5;\n            if (iVar2 != 0) {\nLAB_000fb978:\n              FormatLocaleFile(file,"\nPath: %s\n\n",pEVar5);\n              exception = pEVar5;\n              goto LAB_000fb98c;\n            }\n          }\n          exception = (ExceptionInfo *)pMVar4->type;\n          FormatLocaleFile(file,"%s",exception);\n          sVar3 = strlen(memory[local_40]->type);\n          if (sVar3 < 0x1a) {\n            do {\n              sVar3 = sVar3 + 1;\n              FormatLocaleFile(file," ",exception);\n            } while (sVar3 != 0x1c);\n          }\n          else {\n            FormatLocaleFile(file,"\n",exception);\n            iVar2 = 0x1c;\n            do {\n              FormatLocaleFile(file," ",exception);\n              iVar2 = iVar2 + -1;\n            } while (iVar2 != 0);\n          }\n          pEVar5 = (ExceptionInfo *)memory[local_40]->description;\n          if (pEVar5 != (ExceptionInfo *)0x0) {\n            FormatLocaleFile(file,"%s",pEVar5);\n            exception = pEVar5;\n          }\n          FormatLocaleFile(file,"\n",exception);\n        }\n        local_40 = local_40 + 1;\n      } while (local_40 < (int)number_aliases);\n    }\n    fflush((FILE *)file);\n    RelinquishMagickMemory(memory);\n    MVar1 = MagickTrue;\n  }" if (parenthesized_expression "(memory != (MimeInfo **)0x0)" ( (binary_expression "memory != (MimeInfo **)0x0" identifier != (cast_expression "(MimeInfo **)0x0" ( (type_descriptor "MimeInfo **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal)) )) (compound_statement "{\n    if (0 < (int)number_aliases) {\n      local_40 = 0;\n      local_38 = (ExceptionInfo *)0x0;\n      do {\n        pMVar4 = memory[local_40];\n        if (pMVar4->stealth == MagickFalse) {\n          pEVar5 = (ExceptionInfo *)pMVar4->path;\n          if (local_38 == (ExceptionInfo *)0x0) {\n            if (pEVar5 != (ExceptionInfo *)0x0) goto LAB_000fb978;\nLAB_000fb98c:\n            FormatLocaleFile(file,"Type                   Description\n",exception);\n            FormatLocaleFile(file,\n                             "-------------------------------------------------------------------------------\n"\n                            );\n            pMVar4 = memory[local_40];\n            local_38 = (ExceptionInfo *)pMVar4->path;\n          }\n          else {\n            iVar2 = strcasecmp((char *)local_38,(char *)pEVar5);\n            local_38 = pEVar5;\n            if (iVar2 != 0) {\nLAB_000fb978:\n              FormatLocaleFile(file,"\nPath: %s\n\n",pEVar5);\n              exception = pEVar5;\n              goto LAB_000fb98c;\n            }\n          }\n          exception = (ExceptionInfo *)pMVar4->type;\n          FormatLocaleFile(file,"%s",exception);\n          sVar3 = strlen(memory[local_40]->type);\n          if (sVar3 < 0x1a) {\n            do {\n              sVar3 = sVar3 + 1;\n              FormatLocaleFile(file," ",exception);\n            } while (sVar3 != 0x1c);\n          }\n          else {\n            FormatLocaleFile(file,"\n",exception);\n            iVar2 = 0x1c;\n            do {\n              FormatLocaleFile(file," ",exception);\n              iVar2 = iVar2 + -1;\n            } while (iVar2 != 0);\n          }\n          pEVar5 = (ExceptionInfo *)memory[local_40]->description;\n          if (pEVar5 != (ExceptionInfo *)0x0) {\n            FormatLocaleFile(file,"%s",pEVar5);\n            exception = pEVar5;\n          }\n          FormatLocaleFile(file,"\n",exception);\n        }\n        local_40 = local_40 + 1;\n      } while (local_40 < (int)number_aliases);\n    }\n    fflush((FILE *)file);\n    RelinquishMagickMemory(memory);\n    MVar1 = MagickTrue;\n  }" { (if_statement "if (0 < (int)number_aliases) {\n      local_40 = 0;\n      local_38 = (ExceptionInfo *)0x0;\n      do {\n        pMVar4 = memory[local_40];\n        if (pMVar4->stealth == MagickFalse) {\n          pEVar5 = (ExceptionInfo *)pMVar4->path;\n          if (local_38 == (ExceptionInfo *)0x0) {\n            if (pEVar5 != (ExceptionInfo *)0x0) goto LAB_000fb978;\nLAB_000fb98c:\n            FormatLocaleFile(file,"Type                   Description\n",exception);\n            FormatLocaleFile(file,\n                             "-------------------------------------------------------------------------------\n"\n                            );\n            pMVar4 = memory[local_40];\n            local_38 = (ExceptionInfo *)pMVar4->path;\n          }\n          else {\n            iVar2 = strcasecmp((char *)local_38,(char *)pEVar5);\n            local_38 = pEVar5;\n            if (iVar2 != 0) {\nLAB_000fb978:\n              FormatLocaleFile(file,"\nPath: %s\n\n",pEVar5);\n              exception = pEVar5;\n              goto LAB_000fb98c;\n            }\n          }\n          exception = (ExceptionInfo *)pMVar4->type;\n          FormatLocaleFile(file,"%s",exception);\n          sVar3 = strlen(memory[local_40]->type);\n          if (sVar3 < 0x1a) {\n            do {\n              sVar3 = sVar3 + 1;\n              FormatLocaleFile(file," ",exception);\n            } while (sVar3 != 0x1c);\n          }\n          else {\n            FormatLocaleFile(file,"\n",exception);\n            iVar2 = 0x1c;\n            do {\n              FormatLocaleFile(file," ",exception);\n              iVar2 = iVar2 + -1;\n            } while (iVar2 != 0);\n          }\n          pEVar5 = (ExceptionInfo *)memory[local_40]->description;\n          if (pEVar5 != (ExceptionInfo *)0x0) {\n            FormatLocaleFile(file,"%s",pEVar5);\n            exception = pEVar5;\n          }\n          FormatLocaleFile(file,"\n",exception);\n        }\n        local_40 = local_40 + 1;\n      } while (local_40 < (int)number_aliases);\n    }" if (parenthesized_expression "(0 < (int)number_aliases)" ( (binary_expression "0 < (int)number_aliases" number_literal < (cast_expression "(int)number_aliases" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n      local_40 = 0;\n      local_38 = (ExceptionInfo *)0x0;\n      do {\n        pMVar4 = memory[local_40];\n        if (pMVar4->stealth == MagickFalse) {\n          pEVar5 = (ExceptionInfo *)pMVar4->path;\n          if (local_38 == (ExceptionInfo *)0x0) {\n            if (pEVar5 != (ExceptionInfo *)0x0) goto LAB_000fb978;\nLAB_000fb98c:\n            FormatLocaleFile(file,"Type                   Description\n",exception);\n            FormatLocaleFile(file,\n                             "-------------------------------------------------------------------------------\n"\n                            );\n            pMVar4 = memory[local_40];\n            local_38 = (ExceptionInfo *)pMVar4->path;\n          }\n          else {\n            iVar2 = strcasecmp((char *)local_38,(char *)pEVar5);\n            local_38 = pEVar5;\n            if (iVar2 != 0) {\nLAB_000fb978:\n              FormatLocaleFile(file,"\nPath: %s\n\n",pEVar5);\n              exception = pEVar5;\n              goto LAB_000fb98c;\n            }\n          }\n          exception = (ExceptionInfo *)pMVar4->type;\n          FormatLocaleFile(file,"%s",exception);\n          sVar3 = strlen(memory[local_40]->type);\n          if (sVar3 < 0x1a) {\n            do {\n              sVar3 = sVar3 + 1;\n              FormatLocaleFile(file," ",exception);\n            } while (sVar3 != 0x1c);\n          }\n          else {\n            FormatLocaleFile(file,"\n",exception);\n            iVar2 = 0x1c;\n            do {\n              FormatLocaleFile(file," ",exception);\n              iVar2 = iVar2 + -1;\n            } while (iVar2 != 0);\n          }\n          pEVar5 = (ExceptionInfo *)memory[local_40]->description;\n          if (pEVar5 != (ExceptionInfo *)0x0) {\n            FormatLocaleFile(file,"%s",pEVar5);\n            exception = pEVar5;\n          }\n          FormatLocaleFile(file,"\n",exception);\n        }\n        local_40 = local_40 + 1;\n      } while (local_40 < (int)number_aliases);\n    }" { (expression_statement "local_40 = 0;" (assignment_expression "local_40 = 0" identifier = number_literal) ;) (expression_statement "local_38 = (ExceptionInfo *)0x0;" (assignment_expression "local_38 = (ExceptionInfo *)0x0" identifier = (cast_expression "(ExceptionInfo *)0x0" ( (type_descriptor "ExceptionInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (do_statement "do {\n        pMVar4 = memory[local_40];\n        if (pMVar4->stealth == MagickFalse) {\n          pEVar5 = (ExceptionInfo *)pMVar4->path;\n          if (local_38 == (ExceptionInfo *)0x0) {\n            if (pEVar5 != (ExceptionInfo *)0x0) goto LAB_000fb978;\nLAB_000fb98c:\n            FormatLocaleFile(file,"Type                   Description\n",exception);\n            FormatLocaleFile(file,\n                             "-------------------------------------------------------------------------------\n"\n                            );\n            pMVar4 = memory[local_40];\n            local_38 = (ExceptionInfo *)pMVar4->path;\n          }\n          else {\n            iVar2 = strcasecmp((char *)local_38,(char *)pEVar5);\n            local_38 = pEVar5;\n            if (iVar2 != 0) {\nLAB_000fb978:\n              FormatLocaleFile(file,"\nPath: %s\n\n",pEVar5);\n              exception = pEVar5;\n              goto LAB_000fb98c;\n            }\n          }\n          exception = (ExceptionInfo *)pMVar4->type;\n          FormatLocaleFile(file,"%s",exception);\n          sVar3 = strlen(memory[local_40]->type);\n          if (sVar3 < 0x1a) {\n            do {\n              sVar3 = sVar3 + 1;\n              FormatLocaleFile(file," ",exception);\n            } while (sVar3 != 0x1c);\n          }\n          else {\n            FormatLocaleFile(file,"\n",exception);\n            iVar2 = 0x1c;\n            do {\n              FormatLocaleFile(file," ",exception);\n              iVar2 = iVar2 + -1;\n            } while (iVar2 != 0);\n          }\n          pEVar5 = (ExceptionInfo *)memory[local_40]->description;\n          if (pEVar5 != (ExceptionInfo *)0x0) {\n            FormatLocaleFile(file,"%s",pEVar5);\n            exception = pEVar5;\n          }\n          FormatLocaleFile(file,"\n",exception);\n        }\n        local_40 = local_40 + 1;\n      } while (local_40 < (int)number_aliases);" do (compound_statement "{\n        pMVar4 = memory[local_40];\n        if (pMVar4->stealth == MagickFalse) {\n          pEVar5 = (ExceptionInfo *)pMVar4->path;\n          if (local_38 == (ExceptionInfo *)0x0) {\n            if (pEVar5 != (ExceptionInfo *)0x0) goto LAB_000fb978;\nLAB_000fb98c:\n            FormatLocaleFile(file,"Type                   Description\n",exception);\n            FormatLocaleFile(file,\n                             "-------------------------------------------------------------------------------\n"\n                            );\n            pMVar4 = memory[local_40];\n            local_38 = (ExceptionInfo *)pMVar4->path;\n          }\n          else {\n            iVar2 = strcasecmp((char *)local_38,(char *)pEVar5);\n            local_38 = pEVar5;\n            if (iVar2 != 0) {\nLAB_000fb978:\n              FormatLocaleFile(file,"\nPath: %s\n\n",pEVar5);\n              exception = pEVar5;\n              goto LAB_000fb98c;\n            }\n          }\n          exception = (ExceptionInfo *)pMVar4->type;\n          FormatLocaleFile(file,"%s",exception);\n          sVar3 = strlen(memory[local_40]->type);\n          if (sVar3 < 0x1a) {\n            do {\n              sVar3 = sVar3 + 1;\n              FormatLocaleFile(file," ",exception);\n            } while (sVar3 != 0x1c);\n          }\n          else {\n            FormatLocaleFile(file,"\n",exception);\n            iVar2 = 0x1c;\n            do {\n              FormatLocaleFile(file," ",exception);\n              iVar2 = iVar2 + -1;\n            } while (iVar2 != 0);\n          }\n          pEVar5 = (ExceptionInfo *)memory[local_40]->description;\n          if (pEVar5 != (ExceptionInfo *)0x0) {\n            FormatLocaleFile(file,"%s",pEVar5);\n            exception = pEVar5;\n          }\n          FormatLocaleFile(file,"\n",exception);\n        }\n        local_40 = local_40 + 1;\n      }" { (expression_statement "pMVar4 = memory[local_40];" (assignment_expression "pMVar4 = memory[local_40]" identifier = (subscript_expression "memory[local_40]" identifier [ identifier ])) ;) (if_statement "if (pMVar4->stealth == MagickFalse) {\n          pEVar5 = (ExceptionInfo *)pMVar4->path;\n          if (local_38 == (ExceptionInfo *)0x0) {\n            if (pEVar5 != (ExceptionInfo *)0x0) goto LAB_000fb978;\nLAB_000fb98c:\n            FormatLocaleFile(file,"Type                   Description\n",exception);\n            FormatLocaleFile(file,\n                             "-------------------------------------------------------------------------------\n"\n                            );\n            pMVar4 = memory[local_40];\n            local_38 = (ExceptionInfo *)pMVar4->path;\n          }\n          else {\n            iVar2 = strcasecmp((char *)local_38,(char *)pEVar5);\n            local_38 = pEVar5;\n            if (iVar2 != 0) {\nLAB_000fb978:\n              FormatLocaleFile(file,"\nPath: %s\n\n",pEVar5);\n              exception = pEVar5;\n              goto LAB_000fb98c;\n            }\n          }\n          exception = (ExceptionInfo *)pMVar4->type;\n          FormatLocaleFile(file,"%s",exception);\n          sVar3 = strlen(memory[local_40]->type);\n          if (sVar3 < 0x1a) {\n            do {\n              sVar3 = sVar3 + 1;\n              FormatLocaleFile(file," ",exception);\n            } while (sVar3 != 0x1c);\n          }\n          else {\n            FormatLocaleFile(file,"\n",exception);\n            iVar2 = 0x1c;\n            do {\n              FormatLocaleFile(file," ",exception);\n              iVar2 = iVar2 + -1;\n            } while (iVar2 != 0);\n          }\n          pEVar5 = (ExceptionInfo *)memory[local_40]->description;\n          if (pEVar5 != (ExceptionInfo *)0x0) {\n            FormatLocaleFile(file,"%s",pEVar5);\n            exception = pEVar5;\n          }\n          FormatLocaleFile(file,"\n",exception);\n        }" if (parenthesized_expression "(pMVar4->stealth == MagickFalse)" ( (binary_expression "pMVar4->stealth == MagickFalse" (field_expression "pMVar4->stealth" identifier -> field_identifier) == identifier) )) (compound_statement "{\n          pEVar5 = (ExceptionInfo *)pMVar4->path;\n          if (local_38 == (ExceptionInfo *)0x0) {\n            if (pEVar5 != (ExceptionInfo *)0x0) goto LAB_000fb978;\nLAB_000fb98c:\n            FormatLocaleFile(file,"Type                   Description\n",exception);\n            FormatLocaleFile(file,\n                             "-------------------------------------------------------------------------------\n"\n                            );\n            pMVar4 = memory[local_40];\n            local_38 = (ExceptionInfo *)pMVar4->path;\n          }\n          else {\n            iVar2 = strcasecmp((char *)local_38,(char *)pEVar5);\n            local_38 = pEVar5;\n            if (iVar2 != 0) {\nLAB_000fb978:\n              FormatLocaleFile(file,"\nPath: %s\n\n",pEVar5);\n              exception = pEVar5;\n              goto LAB_000fb98c;\n            }\n          }\n          exception = (ExceptionInfo *)pMVar4->type;\n          FormatLocaleFile(file,"%s",exception);\n          sVar3 = strlen(memory[local_40]->type);\n          if (sVar3 < 0x1a) {\n            do {\n              sVar3 = sVar3 + 1;\n              FormatLocaleFile(file," ",exception);\n            } while (sVar3 != 0x1c);\n          }\n          else {\n            FormatLocaleFile(file,"\n",exception);\n            iVar2 = 0x1c;\n            do {\n              FormatLocaleFile(file," ",exception);\n              iVar2 = iVar2 + -1;\n            } while (iVar2 != 0);\n          }\n          pEVar5 = (ExceptionInfo *)memory[local_40]->description;\n          if (pEVar5 != (ExceptionInfo *)0x0) {\n            FormatLocaleFile(file,"%s",pEVar5);\n            exception = pEVar5;\n          }\n          FormatLocaleFile(file,"\n",exception);\n        }" { (expression_statement "pEVar5 = (ExceptionInfo *)pMVar4->path;" (assignment_expression "pEVar5 = (ExceptionInfo *)pMVar4->path" identifier = (cast_expression "(ExceptionInfo *)pMVar4->path" ( (type_descriptor "ExceptionInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "pMVar4->path" identifier -> field_identifier))) ;) (if_statement "if (local_38 == (ExceptionInfo *)0x0) {\n            if (pEVar5 != (ExceptionInfo *)0x0) goto LAB_000fb978;\nLAB_000fb98c:\n            FormatLocaleFile(file,"Type                   Description\n",exception);\n            FormatLocaleFile(file,\n                             "-------------------------------------------------------------------------------\n"\n                            );\n            pMVar4 = memory[local_40];\n            local_38 = (ExceptionInfo *)pMVar4->path;\n          }\n          else {\n            iVar2 = strcasecmp((char *)local_38,(char *)pEVar5);\n            local_38 = pEVar5;\n            if (iVar2 != 0) {\nLAB_000fb978:\n              FormatLocaleFile(file,"\nPath: %s\n\n",pEVar5);\n              exception = pEVar5;\n              goto LAB_000fb98c;\n            }\n          }" if (parenthesized_expression "(local_38 == (ExceptionInfo *)0x0)" ( (binary_expression "local_38 == (ExceptionInfo *)0x0" identifier == (cast_expression "(ExceptionInfo *)0x0" ( (type_descriptor "ExceptionInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            if (pEVar5 != (ExceptionInfo *)0x0) goto LAB_000fb978;\nLAB_000fb98c:\n            FormatLocaleFile(file,"Type                   Description\n",exception);\n            FormatLocaleFile(file,\n                             "-------------------------------------------------------------------------------\n"\n                            );\n            pMVar4 = memory[local_40];\n            local_38 = (ExceptionInfo *)pMVar4->path;\n          }" { (if_statement "if (pEVar5 != (ExceptionInfo *)0x0) goto LAB_000fb978;" if (parenthesized_expression "(pEVar5 != (ExceptionInfo *)0x0)" ( (binary_expression "pEVar5 != (ExceptionInfo *)0x0" identifier != (cast_expression "(ExceptionInfo *)0x0" ( (type_descriptor "ExceptionInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_000fb978;" goto statement_identifier ;)) (labeled_statement "LAB_000fb98c:\n            FormatLocaleFile(file,"Type                   Description\n",exception);" statement_identifier : (expression_statement "FormatLocaleFile(file,"Type                   Description\n",exception);" (call_expression "FormatLocaleFile(file,"Type                   Description\n",exception)" identifier (argument_list "(file,"Type                   Description\n",exception)" ( identifier , (string_literal ""Type                   Description\n"" " string_content escape_sequence ") , identifier ))) ;)) (expression_statement "FormatLocaleFile(file,\n                             "-------------------------------------------------------------------------------\n"\n                            );" (call_expression "FormatLocaleFile(file,\n                             "-------------------------------------------------------------------------------\n"\n                            )" identifier (argument_list "(file,\n                             "-------------------------------------------------------------------------------\n"\n                            )" ( identifier , (string_literal ""-------------------------------------------------------------------------------\n"" " string_content escape_sequence ") ))) ;) (expression_statement "pMVar4 = memory[local_40];" (assignment_expression "pMVar4 = memory[local_40]" identifier = (subscript_expression "memory[local_40]" identifier [ identifier ])) ;) (expression_statement "local_38 = (ExceptionInfo *)pMVar4->path;" (assignment_expression "local_38 = (ExceptionInfo *)pMVar4->path" identifier = (cast_expression "(ExceptionInfo *)pMVar4->path" ( (type_descriptor "ExceptionInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "pMVar4->path" identifier -> field_identifier))) ;) }) (else_clause "else {\n            iVar2 = strcasecmp((char *)local_38,(char *)pEVar5);\n            local_38 = pEVar5;\n            if (iVar2 != 0) {\nLAB_000fb978:\n              FormatLocaleFile(file,"\nPath: %s\n\n",pEVar5);\n              exception = pEVar5;\n              goto LAB_000fb98c;\n            }\n          }" else (compound_statement "{\n            iVar2 = strcasecmp((char *)local_38,(char *)pEVar5);\n            local_38 = pEVar5;\n            if (iVar2 != 0) {\nLAB_000fb978:\n              FormatLocaleFile(file,"\nPath: %s\n\n",pEVar5);\n              exception = pEVar5;\n              goto LAB_000fb98c;\n            }\n          }" { (expression_statement "iVar2 = strcasecmp((char *)local_38,(char *)pEVar5);" (assignment_expression "iVar2 = strcasecmp((char *)local_38,(char *)pEVar5)" identifier = (call_expression "strcasecmp((char *)local_38,(char *)pEVar5)" identifier (argument_list "((char *)local_38,(char *)pEVar5)" ( (cast_expression "(char *)local_38" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) , (cast_expression "(char *)pEVar5" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) )))) ;) (expression_statement "local_38 = pEVar5;" (assignment_expression "local_38 = pEVar5" identifier = identifier) ;) (if_statement "if (iVar2 != 0) {\nLAB_000fb978:\n              FormatLocaleFile(file,"\nPath: %s\n\n",pEVar5);\n              exception = pEVar5;\n              goto LAB_000fb98c;\n            }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\nLAB_000fb978:\n              FormatLocaleFile(file,"\nPath: %s\n\n",pEVar5);\n              exception = pEVar5;\n              goto LAB_000fb98c;\n            }" { (labeled_statement "LAB_000fb978:\n              FormatLocaleFile(file,"\nPath: %s\n\n",pEVar5);" statement_identifier : (expression_statement "FormatLocaleFile(file,"\nPath: %s\n\n",pEVar5);" (call_expression "FormatLocaleFile(file,"\nPath: %s\n\n",pEVar5)" identifier (argument_list "(file,"\nPath: %s\n\n",pEVar5)" ( identifier , (string_literal ""\nPath: %s\n\n"" " escape_sequence string_content escape_sequence escape_sequence ") , identifier ))) ;)) (expression_statement "exception = pEVar5;" (assignment_expression "exception = pEVar5" identifier = identifier) ;) (goto_statement "goto LAB_000fb98c;" goto statement_identifier ;) })) }))) (expression_statement "exception = (ExceptionInfo *)pMVar4->type;" (assignment_expression "exception = (ExceptionInfo *)pMVar4->type" identifier = (cast_expression "(ExceptionInfo *)pMVar4->type" ( (type_descriptor "ExceptionInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "pMVar4->type" identifier -> field_identifier))) ;) (expression_statement "FormatLocaleFile(file,"%s",exception);" (call_expression "FormatLocaleFile(file,"%s",exception)" identifier (argument_list "(file,"%s",exception)" ( identifier , (string_literal ""%s"" " string_content ") , identifier ))) ;) (expression_statement "sVar3 = strlen(memory[local_40]->type);" (assignment_expression "sVar3 = strlen(memory[local_40]->type)" identifier = (call_expression "strlen(memory[local_40]->type)" identifier (argument_list "(memory[local_40]->type)" ( (field_expression "memory[local_40]->type" (subscript_expression "memory[local_40]" identifier [ identifier ]) -> field_identifier) )))) ;) (if_statement "if (sVar3 < 0x1a) {\n            do {\n              sVar3 = sVar3 + 1;\n              FormatLocaleFile(file," ",exception);\n            } while (sVar3 != 0x1c);\n          }\n          else {\n            FormatLocaleFile(file,"\n",exception);\n            iVar2 = 0x1c;\n            do {\n              FormatLocaleFile(file," ",exception);\n              iVar2 = iVar2 + -1;\n            } while (iVar2 != 0);\n          }" if (parenthesized_expression "(sVar3 < 0x1a)" ( (binary_expression "sVar3 < 0x1a" identifier < number_literal) )) (compound_statement "{\n            do {\n              sVar3 = sVar3 + 1;\n              FormatLocaleFile(file," ",exception);\n            } while (sVar3 != 0x1c);\n          }" { (do_statement "do {\n              sVar3 = sVar3 + 1;\n              FormatLocaleFile(file," ",exception);\n            } while (sVar3 != 0x1c);" do (compound_statement "{\n              sVar3 = sVar3 + 1;\n              FormatLocaleFile(file," ",exception);\n            }" { (expression_statement "sVar3 = sVar3 + 1;" (assignment_expression "sVar3 = sVar3 + 1" identifier = (binary_expression "sVar3 + 1" identifier + number_literal)) ;) (expression_statement "FormatLocaleFile(file," ",exception);" (call_expression "FormatLocaleFile(file," ",exception)" identifier (argument_list "(file," ",exception)" ( identifier , (string_literal "" "" " string_content ") , identifier ))) ;) }) while (parenthesized_expression "(sVar3 != 0x1c)" ( (binary_expression "sVar3 != 0x1c" identifier != number_literal) )) ;) }) (else_clause "else {\n            FormatLocaleFile(file,"\n",exception);\n            iVar2 = 0x1c;\n            do {\n              FormatLocaleFile(file," ",exception);\n              iVar2 = iVar2 + -1;\n            } while (iVar2 != 0);\n          }" else (compound_statement "{\n            FormatLocaleFile(file,"\n",exception);\n            iVar2 = 0x1c;\n            do {\n              FormatLocaleFile(file," ",exception);\n              iVar2 = iVar2 + -1;\n            } while (iVar2 != 0);\n          }" { (expression_statement "FormatLocaleFile(file,"\n",exception);" (call_expression "FormatLocaleFile(file,"\n",exception)" identifier (argument_list "(file,"\n",exception)" ( identifier , (string_literal ""\n"" " escape_sequence ") , identifier ))) ;) (expression_statement "iVar2 = 0x1c;" (assignment_expression "iVar2 = 0x1c" identifier = number_literal) ;) (do_statement "do {\n              FormatLocaleFile(file," ",exception);\n              iVar2 = iVar2 + -1;\n            } while (iVar2 != 0);" do (compound_statement "{\n              FormatLocaleFile(file," ",exception);\n              iVar2 = iVar2 + -1;\n            }" { (expression_statement "FormatLocaleFile(file," ",exception);" (call_expression "FormatLocaleFile(file," ",exception)" identifier (argument_list "(file," ",exception)" ( identifier , (string_literal "" "" " string_content ") , identifier ))) ;) (expression_statement "iVar2 = iVar2 + -1;" (assignment_expression "iVar2 = iVar2 + -1" identifier = (binary_expression "iVar2 + -1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) ;) }))) (expression_statement "pEVar5 = (ExceptionInfo *)memory[local_40]->description;" (assignment_expression "pEVar5 = (ExceptionInfo *)memory[local_40]->description" identifier = (cast_expression "(ExceptionInfo *)memory[local_40]->description" ( (type_descriptor "ExceptionInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "memory[local_40]->description" (subscript_expression "memory[local_40]" identifier [ identifier ]) -> field_identifier))) ;) (if_statement "if (pEVar5 != (ExceptionInfo *)0x0) {\n            FormatLocaleFile(file,"%s",pEVar5);\n            exception = pEVar5;\n          }" if (parenthesized_expression "(pEVar5 != (ExceptionInfo *)0x0)" ( (binary_expression "pEVar5 != (ExceptionInfo *)0x0" identifier != (cast_expression "(ExceptionInfo *)0x0" ( (type_descriptor "ExceptionInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            FormatLocaleFile(file,"%s",pEVar5);\n            exception = pEVar5;\n          }" { (expression_statement "FormatLocaleFile(file,"%s",pEVar5);" (call_expression "FormatLocaleFile(file,"%s",pEVar5)" identifier (argument_list "(file,"%s",pEVar5)" ( identifier , (string_literal ""%s"" " string_content ") , identifier ))) ;) (expression_statement "exception = pEVar5;" (assignment_expression "exception = pEVar5" identifier = identifier) ;) })) (expression_statement "FormatLocaleFile(file,"\n",exception);" (call_expression "FormatLocaleFile(file,"\n",exception)" identifier (argument_list "(file,"\n",exception)" ( identifier , (string_literal ""\n"" " escape_sequence ") , identifier ))) ;) })) (expression_statement "local_40 = local_40 + 1;" (assignment_expression "local_40 = local_40 + 1" identifier = (binary_expression "local_40 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(local_40 < (int)number_aliases)" ( (binary_expression "local_40 < (int)number_aliases" identifier < (cast_expression "(int)number_aliases" ( (type_descriptor "int" primitive_type) ) identifier)) )) ;) })) (expression_statement "fflush((FILE *)file);" (call_expression "fflush((FILE *)file)" identifier (argument_list "((FILE *)file)" ( (cast_expression "(FILE *)file" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) ))) ;) (expression_statement "RelinquishMagickMemory(memory);" (call_expression "RelinquishMagickMemory(memory)" identifier (argument_list "(memory)" ( identifier ))) ;) (expression_statement "MVar1 = MagickTrue;" (assignment_expression "MVar1 = MagickTrue" identifier = identifier) ;) })) (if_statement "if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail_local();\n  }" if (parenthesized_expression "(local_20 != *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "local_20 != *(int *)(in_GS_OFFSET + 0x14)" identifier != (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail_local();\n  }" { comment (expression_statement "__stack_chk_fail_local();" (call_expression "__stack_chk_fail_local()" identifier (argument_list "()" ( ))) ;) })) (return_statement "return MVar1;" return identifier ;) })))
(translation_unit "undefined4 ListMimeInfo(FILE *param_1,char *param_2)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  int iVar3;\n  size_t sVar4;\n  undefined4 *puVar5;\n  int in_GS_OFFSET;\n  char *pcVar6;\n  int local_40;\n  char *local_38;\n  int local_24;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0xfb7d9;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if (param_1 == (FILE *)0x0) {\n    param_1 = *(FILE **)PTR_stdout_003d8fdc;\n  }\n  iVar1 = GetMimeInfoList(&DAT_002b96d5,&local_24,param_2);\n  uVar2 = 0;\n  if (iVar1 != 0) {\n    if (0 < local_24) {\n      local_40 = 0;\n      local_38 = (char *)0x0;\n      do {\n        puVar5 = *(undefined4 **)(iVar1 + local_40 * 4);\n        if (puVar5[0xe] == 0) {\n          pcVar6 = (char *)*puVar5;\n          if (local_38 == (char *)0x0) {\n            if (pcVar6 != (char *)0x0) goto LAB_000fb978;\nLAB_000fb98c:\n            FormatLocaleFile(param_1,"Type                   Description\n",param_2);\n            FormatLocaleFile(param_1,\n                             "-------------------------------------------------------------------------------\n"\n                            );\n            puVar5 = *(undefined4 **)(iVar1 + local_40 * 4);\n            local_38 = (char *)*puVar5;\n          }\n          else {\n            iVar3 = strcasecmp(local_38,pcVar6);\n            local_38 = pcVar6;\n            if (iVar3 != 0) {\nLAB_000fb978:\n              FormatLocaleFile(param_1,"\nPath: %s\n\n",pcVar6);\n              param_2 = pcVar6;\n              goto LAB_000fb98c;\n            }\n          }\n          param_2 = (char *)puVar5[1];\n          FormatLocaleFile(param_1,&DAT_002b6e4e,param_2);\n          sVar4 = strlen(*(char **)(*(int *)(iVar1 + local_40 * 4) + 4));\n          if (sVar4 < 0x1a) {\n            do {\n              sVar4 = sVar4 + 1;\n              FormatLocaleFile(param_1,&DAT_002cb63c,param_2);\n            } while (sVar4 != 0x1c);\n          }\n          else {\n            FormatLocaleFile(param_1,"\n",param_2);\n            iVar3 = 0x1c;\n            do {\n              FormatLocaleFile(param_1,&DAT_002cb63c,param_2);\n              iVar3 = iVar3 + -1;\n            } while (iVar3 != 0);\n          }\n          pcVar6 = *(char **)(*(int *)(iVar1 + local_40 * 4) + 8);\n          if (pcVar6 != (char *)0x0) {\n            FormatLocaleFile(param_1,&DAT_002b6e4e,pcVar6);\n            param_2 = pcVar6;\n          }\n          FormatLocaleFile(param_1,"\n",param_2);\n        }\n        local_40 = local_40 + 1;\n      } while (local_40 < local_24);\n    }\n    fflush(param_1);\n    RelinquishMagickMemory(iVar1);\n    uVar2 = 1;\n  }\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_0029eab0();\n  }\n  return uVar2;\n}\n\n" (function_definition "undefined4 ListMimeInfo(FILE *param_1,char *param_2)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  int iVar3;\n  size_t sVar4;\n  undefined4 *puVar5;\n  int in_GS_OFFSET;\n  char *pcVar6;\n  int local_40;\n  char *local_38;\n  int local_24;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0xfb7d9;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if (param_1 == (FILE *)0x0) {\n    param_1 = *(FILE **)PTR_stdout_003d8fdc;\n  }\n  iVar1 = GetMimeInfoList(&DAT_002b96d5,&local_24,param_2);\n  uVar2 = 0;\n  if (iVar1 != 0) {\n    if (0 < local_24) {\n      local_40 = 0;\n      local_38 = (char *)0x0;\n      do {\n        puVar5 = *(undefined4 **)(iVar1 + local_40 * 4);\n        if (puVar5[0xe] == 0) {\n          pcVar6 = (char *)*puVar5;\n          if (local_38 == (char *)0x0) {\n            if (pcVar6 != (char *)0x0) goto LAB_000fb978;\nLAB_000fb98c:\n            FormatLocaleFile(param_1,"Type                   Description\n",param_2);\n            FormatLocaleFile(param_1,\n                             "-------------------------------------------------------------------------------\n"\n                            );\n            puVar5 = *(undefined4 **)(iVar1 + local_40 * 4);\n            local_38 = (char *)*puVar5;\n          }\n          else {\n            iVar3 = strcasecmp(local_38,pcVar6);\n            local_38 = pcVar6;\n            if (iVar3 != 0) {\nLAB_000fb978:\n              FormatLocaleFile(param_1,"\nPath: %s\n\n",pcVar6);\n              param_2 = pcVar6;\n              goto LAB_000fb98c;\n            }\n          }\n          param_2 = (char *)puVar5[1];\n          FormatLocaleFile(param_1,&DAT_002b6e4e,param_2);\n          sVar4 = strlen(*(char **)(*(int *)(iVar1 + local_40 * 4) + 4));\n          if (sVar4 < 0x1a) {\n            do {\n              sVar4 = sVar4 + 1;\n              FormatLocaleFile(param_1,&DAT_002cb63c,param_2);\n            } while (sVar4 != 0x1c);\n          }\n          else {\n            FormatLocaleFile(param_1,"\n",param_2);\n            iVar3 = 0x1c;\n            do {\n              FormatLocaleFile(param_1,&DAT_002cb63c,param_2);\n              iVar3 = iVar3 + -1;\n            } while (iVar3 != 0);\n          }\n          pcVar6 = *(char **)(*(int *)(iVar1 + local_40 * 4) + 8);\n          if (pcVar6 != (char *)0x0) {\n            FormatLocaleFile(param_1,&DAT_002b6e4e,pcVar6);\n            param_2 = pcVar6;\n          }\n          FormatLocaleFile(param_1,"\n",param_2);\n        }\n        local_40 = local_40 + 1;\n      } while (local_40 < local_24);\n    }\n    fflush(param_1);\n    RelinquishMagickMemory(iVar1);\n    uVar2 = 1;\n  }\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_0029eab0();\n  }\n  return uVar2;\n}" type_identifier (function_declarator "ListMimeInfo(FILE *param_1,char *param_2)" identifier (parameter_list "(FILE *param_1,char *param_2)" ( (parameter_declaration "FILE *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "char *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  int iVar3;\n  size_t sVar4;\n  undefined4 *puVar5;\n  int in_GS_OFFSET;\n  char *pcVar6;\n  int local_40;\n  char *local_38;\n  int local_24;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0xfb7d9;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if (param_1 == (FILE *)0x0) {\n    param_1 = *(FILE **)PTR_stdout_003d8fdc;\n  }\n  iVar1 = GetMimeInfoList(&DAT_002b96d5,&local_24,param_2);\n  uVar2 = 0;\n  if (iVar1 != 0) {\n    if (0 < local_24) {\n      local_40 = 0;\n      local_38 = (char *)0x0;\n      do {\n        puVar5 = *(undefined4 **)(iVar1 + local_40 * 4);\n        if (puVar5[0xe] == 0) {\n          pcVar6 = (char *)*puVar5;\n          if (local_38 == (char *)0x0) {\n            if (pcVar6 != (char *)0x0) goto LAB_000fb978;\nLAB_000fb98c:\n            FormatLocaleFile(param_1,"Type                   Description\n",param_2);\n            FormatLocaleFile(param_1,\n                             "-------------------------------------------------------------------------------\n"\n                            );\n            puVar5 = *(undefined4 **)(iVar1 + local_40 * 4);\n            local_38 = (char *)*puVar5;\n          }\n          else {\n            iVar3 = strcasecmp(local_38,pcVar6);\n            local_38 = pcVar6;\n            if (iVar3 != 0) {\nLAB_000fb978:\n              FormatLocaleFile(param_1,"\nPath: %s\n\n",pcVar6);\n              param_2 = pcVar6;\n              goto LAB_000fb98c;\n            }\n          }\n          param_2 = (char *)puVar5[1];\n          FormatLocaleFile(param_1,&DAT_002b6e4e,param_2);\n          sVar4 = strlen(*(char **)(*(int *)(iVar1 + local_40 * 4) + 4));\n          if (sVar4 < 0x1a) {\n            do {\n              sVar4 = sVar4 + 1;\n              FormatLocaleFile(param_1,&DAT_002cb63c,param_2);\n            } while (sVar4 != 0x1c);\n          }\n          else {\n            FormatLocaleFile(param_1,"\n",param_2);\n            iVar3 = 0x1c;\n            do {\n              FormatLocaleFile(param_1,&DAT_002cb63c,param_2);\n              iVar3 = iVar3 + -1;\n            } while (iVar3 != 0);\n          }\n          pcVar6 = *(char **)(*(int *)(iVar1 + local_40 * 4) + 8);\n          if (pcVar6 != (char *)0x0) {\n            FormatLocaleFile(param_1,&DAT_002b6e4e,pcVar6);\n            param_2 = pcVar6;\n          }\n          FormatLocaleFile(param_1,"\n",param_2);\n        }\n        local_40 = local_40 + 1;\n      } while (local_40 < local_24);\n    }\n    fflush(param_1);\n    RelinquishMagickMemory(iVar1);\n    uVar2 = 1;\n  }\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_0029eab0();\n  }\n  return uVar2;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "size_t sVar4;" primitive_type identifier ;) (declaration "undefined4 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "char *pcVar6;" primitive_type (pointer_declarator "*pcVar6" * identifier) ;) (declaration "int local_40;" primitive_type identifier ;) (declaration "char *local_38;" primitive_type (pointer_declarator "*local_38" * identifier) ;) (declaration "int local_24;" primitive_type identifier ;) (declaration "int local_20;" primitive_type identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0xfb7d9;" (assignment_expression "uStack_14 = 0xfb7d9" identifier = number_literal) ;) (expression_statement "local_20 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (if_statement "if (param_1 == (FILE *)0x0) {\n    param_1 = *(FILE **)PTR_stdout_003d8fdc;\n  }" if (parenthesized_expression "(param_1 == (FILE *)0x0)" ( (binary_expression "param_1 == (FILE *)0x0" identifier == (cast_expression "(FILE *)0x0" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    param_1 = *(FILE **)PTR_stdout_003d8fdc;\n  }" { (expression_statement "param_1 = *(FILE **)PTR_stdout_003d8fdc;" (assignment_expression "param_1 = *(FILE **)PTR_stdout_003d8fdc" identifier = (pointer_expression "*(FILE **)PTR_stdout_003d8fdc" * (cast_expression "(FILE **)PTR_stdout_003d8fdc" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) })) (expression_statement "iVar1 = GetMimeInfoList(&DAT_002b96d5,&local_24,param_2);" (assignment_expression "iVar1 = GetMimeInfoList(&DAT_002b96d5,&local_24,param_2)" identifier = (call_expression "GetMimeInfoList(&DAT_002b96d5,&local_24,param_2)" identifier (argument_list "(&DAT_002b96d5,&local_24,param_2)" ( (pointer_expression "&DAT_002b96d5" & identifier) , (pointer_expression "&local_24" & identifier) , identifier )))) ;) (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) (if_statement "if (iVar1 != 0) {\n    if (0 < local_24) {\n      local_40 = 0;\n      local_38 = (char *)0x0;\n      do {\n        puVar5 = *(undefined4 **)(iVar1 + local_40 * 4);\n        if (puVar5[0xe] == 0) {\n          pcVar6 = (char *)*puVar5;\n          if (local_38 == (char *)0x0) {\n            if (pcVar6 != (char *)0x0) goto LAB_000fb978;\nLAB_000fb98c:\n            FormatLocaleFile(param_1,"Type                   Description\n",param_2);\n            FormatLocaleFile(param_1,\n                             "-------------------------------------------------------------------------------\n"\n                            );\n            puVar5 = *(undefined4 **)(iVar1 + local_40 * 4);\n            local_38 = (char *)*puVar5;\n          }\n          else {\n            iVar3 = strcasecmp(local_38,pcVar6);\n            local_38 = pcVar6;\n            if (iVar3 != 0) {\nLAB_000fb978:\n              FormatLocaleFile(param_1,"\nPath: %s\n\n",pcVar6);\n              param_2 = pcVar6;\n              goto LAB_000fb98c;\n            }\n          }\n          param_2 = (char *)puVar5[1];\n          FormatLocaleFile(param_1,&DAT_002b6e4e,param_2);\n          sVar4 = strlen(*(char **)(*(int *)(iVar1 + local_40 * 4) + 4));\n          if (sVar4 < 0x1a) {\n            do {\n              sVar4 = sVar4 + 1;\n              FormatLocaleFile(param_1,&DAT_002cb63c,param_2);\n            } while (sVar4 != 0x1c);\n          }\n          else {\n            FormatLocaleFile(param_1,"\n",param_2);\n            iVar3 = 0x1c;\n            do {\n              FormatLocaleFile(param_1,&DAT_002cb63c,param_2);\n              iVar3 = iVar3 + -1;\n            } while (iVar3 != 0);\n          }\n          pcVar6 = *(char **)(*(int *)(iVar1 + local_40 * 4) + 8);\n          if (pcVar6 != (char *)0x0) {\n            FormatLocaleFile(param_1,&DAT_002b6e4e,pcVar6);\n            param_2 = pcVar6;\n          }\n          FormatLocaleFile(param_1,"\n",param_2);\n        }\n        local_40 = local_40 + 1;\n      } while (local_40 < local_24);\n    }\n    fflush(param_1);\n    RelinquishMagickMemory(iVar1);\n    uVar2 = 1;\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    if (0 < local_24) {\n      local_40 = 0;\n      local_38 = (char *)0x0;\n      do {\n        puVar5 = *(undefined4 **)(iVar1 + local_40 * 4);\n        if (puVar5[0xe] == 0) {\n          pcVar6 = (char *)*puVar5;\n          if (local_38 == (char *)0x0) {\n            if (pcVar6 != (char *)0x0) goto LAB_000fb978;\nLAB_000fb98c:\n            FormatLocaleFile(param_1,"Type                   Description\n",param_2);\n            FormatLocaleFile(param_1,\n                             "-------------------------------------------------------------------------------\n"\n                            );\n            puVar5 = *(undefined4 **)(iVar1 + local_40 * 4);\n            local_38 = (char *)*puVar5;\n          }\n          else {\n            iVar3 = strcasecmp(local_38,pcVar6);\n            local_38 = pcVar6;\n            if (iVar3 != 0) {\nLAB_000fb978:\n              FormatLocaleFile(param_1,"\nPath: %s\n\n",pcVar6);\n              param_2 = pcVar6;\n              goto LAB_000fb98c;\n            }\n          }\n          param_2 = (char *)puVar5[1];\n          FormatLocaleFile(param_1,&DAT_002b6e4e,param_2);\n          sVar4 = strlen(*(char **)(*(int *)(iVar1 + local_40 * 4) + 4));\n          if (sVar4 < 0x1a) {\n            do {\n              sVar4 = sVar4 + 1;\n              FormatLocaleFile(param_1,&DAT_002cb63c,param_2);\n            } while (sVar4 != 0x1c);\n          }\n          else {\n            FormatLocaleFile(param_1,"\n",param_2);\n            iVar3 = 0x1c;\n            do {\n              FormatLocaleFile(param_1,&DAT_002cb63c,param_2);\n              iVar3 = iVar3 + -1;\n            } while (iVar3 != 0);\n          }\n          pcVar6 = *(char **)(*(int *)(iVar1 + local_40 * 4) + 8);\n          if (pcVar6 != (char *)0x0) {\n            FormatLocaleFile(param_1,&DAT_002b6e4e,pcVar6);\n            param_2 = pcVar6;\n          }\n          FormatLocaleFile(param_1,"\n",param_2);\n        }\n        local_40 = local_40 + 1;\n      } while (local_40 < local_24);\n    }\n    fflush(param_1);\n    RelinquishMagickMemory(iVar1);\n    uVar2 = 1;\n  }" { (if_statement "if (0 < local_24) {\n      local_40 = 0;\n      local_38 = (char *)0x0;\n      do {\n        puVar5 = *(undefined4 **)(iVar1 + local_40 * 4);\n        if (puVar5[0xe] == 0) {\n          pcVar6 = (char *)*puVar5;\n          if (local_38 == (char *)0x0) {\n            if (pcVar6 != (char *)0x0) goto LAB_000fb978;\nLAB_000fb98c:\n            FormatLocaleFile(param_1,"Type                   Description\n",param_2);\n            FormatLocaleFile(param_1,\n                             "-------------------------------------------------------------------------------\n"\n                            );\n            puVar5 = *(undefined4 **)(iVar1 + local_40 * 4);\n            local_38 = (char *)*puVar5;\n          }\n          else {\n            iVar3 = strcasecmp(local_38,pcVar6);\n            local_38 = pcVar6;\n            if (iVar3 != 0) {\nLAB_000fb978:\n              FormatLocaleFile(param_1,"\nPath: %s\n\n",pcVar6);\n              param_2 = pcVar6;\n              goto LAB_000fb98c;\n            }\n          }\n          param_2 = (char *)puVar5[1];\n          FormatLocaleFile(param_1,&DAT_002b6e4e,param_2);\n          sVar4 = strlen(*(char **)(*(int *)(iVar1 + local_40 * 4) + 4));\n          if (sVar4 < 0x1a) {\n            do {\n              sVar4 = sVar4 + 1;\n              FormatLocaleFile(param_1,&DAT_002cb63c,param_2);\n            } while (sVar4 != 0x1c);\n          }\n          else {\n            FormatLocaleFile(param_1,"\n",param_2);\n            iVar3 = 0x1c;\n            do {\n              FormatLocaleFile(param_1,&DAT_002cb63c,param_2);\n              iVar3 = iVar3 + -1;\n            } while (iVar3 != 0);\n          }\n          pcVar6 = *(char **)(*(int *)(iVar1 + local_40 * 4) + 8);\n          if (pcVar6 != (char *)0x0) {\n            FormatLocaleFile(param_1,&DAT_002b6e4e,pcVar6);\n            param_2 = pcVar6;\n          }\n          FormatLocaleFile(param_1,"\n",param_2);\n        }\n        local_40 = local_40 + 1;\n      } while (local_40 < local_24);\n    }" if (parenthesized_expression "(0 < local_24)" ( (binary_expression "0 < local_24" number_literal < identifier) )) (compound_statement "{\n      local_40 = 0;\n      local_38 = (char *)0x0;\n      do {\n        puVar5 = *(undefined4 **)(iVar1 + local_40 * 4);\n        if (puVar5[0xe] == 0) {\n          pcVar6 = (char *)*puVar5;\n          if (local_38 == (char *)0x0) {\n            if (pcVar6 != (char *)0x0) goto LAB_000fb978;\nLAB_000fb98c:\n            FormatLocaleFile(param_1,"Type                   Description\n",param_2);\n            FormatLocaleFile(param_1,\n                             "-------------------------------------------------------------------------------\n"\n                            );\n            puVar5 = *(undefined4 **)(iVar1 + local_40 * 4);\n            local_38 = (char *)*puVar5;\n          }\n          else {\n            iVar3 = strcasecmp(local_38,pcVar6);\n            local_38 = pcVar6;\n            if (iVar3 != 0) {\nLAB_000fb978:\n              FormatLocaleFile(param_1,"\nPath: %s\n\n",pcVar6);\n              param_2 = pcVar6;\n              goto LAB_000fb98c;\n            }\n          }\n          param_2 = (char *)puVar5[1];\n          FormatLocaleFile(param_1,&DAT_002b6e4e,param_2);\n          sVar4 = strlen(*(char **)(*(int *)(iVar1 + local_40 * 4) + 4));\n          if (sVar4 < 0x1a) {\n            do {\n              sVar4 = sVar4 + 1;\n              FormatLocaleFile(param_1,&DAT_002cb63c,param_2);\n            } while (sVar4 != 0x1c);\n          }\n          else {\n            FormatLocaleFile(param_1,"\n",param_2);\n            iVar3 = 0x1c;\n            do {\n              FormatLocaleFile(param_1,&DAT_002cb63c,param_2);\n              iVar3 = iVar3 + -1;\n            } while (iVar3 != 0);\n          }\n          pcVar6 = *(char **)(*(int *)(iVar1 + local_40 * 4) + 8);\n          if (pcVar6 != (char *)0x0) {\n            FormatLocaleFile(param_1,&DAT_002b6e4e,pcVar6);\n            param_2 = pcVar6;\n          }\n          FormatLocaleFile(param_1,"\n",param_2);\n        }\n        local_40 = local_40 + 1;\n      } while (local_40 < local_24);\n    }" { (expression_statement "local_40 = 0;" (assignment_expression "local_40 = 0" identifier = number_literal) ;) (expression_statement "local_38 = (char *)0x0;" (assignment_expression "local_38 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (do_statement "do {\n        puVar5 = *(undefined4 **)(iVar1 + local_40 * 4);\n        if (puVar5[0xe] == 0) {\n          pcVar6 = (char *)*puVar5;\n          if (local_38 == (char *)0x0) {\n            if (pcVar6 != (char *)0x0) goto LAB_000fb978;\nLAB_000fb98c:\n            FormatLocaleFile(param_1,"Type                   Description\n",param_2);\n            FormatLocaleFile(param_1,\n                             "-------------------------------------------------------------------------------\n"\n                            );\n            puVar5 = *(undefined4 **)(iVar1 + local_40 * 4);\n            local_38 = (char *)*puVar5;\n          }\n          else {\n            iVar3 = strcasecmp(local_38,pcVar6);\n            local_38 = pcVar6;\n            if (iVar3 != 0) {\nLAB_000fb978:\n              FormatLocaleFile(param_1,"\nPath: %s\n\n",pcVar6);\n              param_2 = pcVar6;\n              goto LAB_000fb98c;\n            }\n          }\n          param_2 = (char *)puVar5[1];\n          FormatLocaleFile(param_1,&DAT_002b6e4e,param_2);\n          sVar4 = strlen(*(char **)(*(int *)(iVar1 + local_40 * 4) + 4));\n          if (sVar4 < 0x1a) {\n            do {\n              sVar4 = sVar4 + 1;\n              FormatLocaleFile(param_1,&DAT_002cb63c,param_2);\n            } while (sVar4 != 0x1c);\n          }\n          else {\n            FormatLocaleFile(param_1,"\n",param_2);\n            iVar3 = 0x1c;\n            do {\n              FormatLocaleFile(param_1,&DAT_002cb63c,param_2);\n              iVar3 = iVar3 + -1;\n            } while (iVar3 != 0);\n          }\n          pcVar6 = *(char **)(*(int *)(iVar1 + local_40 * 4) + 8);\n          if (pcVar6 != (char *)0x0) {\n            FormatLocaleFile(param_1,&DAT_002b6e4e,pcVar6);\n            param_2 = pcVar6;\n          }\n          FormatLocaleFile(param_1,"\n",param_2);\n        }\n        local_40 = local_40 + 1;\n      } while (local_40 < local_24);" do (compound_statement "{\n        puVar5 = *(undefined4 **)(iVar1 + local_40 * 4);\n        if (puVar5[0xe] == 0) {\n          pcVar6 = (char *)*puVar5;\n          if (local_38 == (char *)0x0) {\n            if (pcVar6 != (char *)0x0) goto LAB_000fb978;\nLAB_000fb98c:\n            FormatLocaleFile(param_1,"Type                   Description\n",param_2);\n            FormatLocaleFile(param_1,\n                             "-------------------------------------------------------------------------------\n"\n                            );\n            puVar5 = *(undefined4 **)(iVar1 + local_40 * 4);\n            local_38 = (char *)*puVar5;\n          }\n          else {\n            iVar3 = strcasecmp(local_38,pcVar6);\n            local_38 = pcVar6;\n            if (iVar3 != 0) {\nLAB_000fb978:\n              FormatLocaleFile(param_1,"\nPath: %s\n\n",pcVar6);\n              param_2 = pcVar6;\n              goto LAB_000fb98c;\n            }\n          }\n          param_2 = (char *)puVar5[1];\n          FormatLocaleFile(param_1,&DAT_002b6e4e,param_2);\n          sVar4 = strlen(*(char **)(*(int *)(iVar1 + local_40 * 4) + 4));\n          if (sVar4 < 0x1a) {\n            do {\n              sVar4 = sVar4 + 1;\n              FormatLocaleFile(param_1,&DAT_002cb63c,param_2);\n            } while (sVar4 != 0x1c);\n          }\n          else {\n            FormatLocaleFile(param_1,"\n",param_2);\n            iVar3 = 0x1c;\n            do {\n              FormatLocaleFile(param_1,&DAT_002cb63c,param_2);\n              iVar3 = iVar3 + -1;\n            } while (iVar3 != 0);\n          }\n          pcVar6 = *(char **)(*(int *)(iVar1 + local_40 * 4) + 8);\n          if (pcVar6 != (char *)0x0) {\n            FormatLocaleFile(param_1,&DAT_002b6e4e,pcVar6);\n            param_2 = pcVar6;\n          }\n          FormatLocaleFile(param_1,"\n",param_2);\n        }\n        local_40 = local_40 + 1;\n      }" { (expression_statement "puVar5 = *(undefined4 **)(iVar1 + local_40 * 4);" (assignment_expression "puVar5 = *(undefined4 **)(iVar1 + local_40 * 4)" identifier = (pointer_expression "*(undefined4 **)(iVar1 + local_40 * 4)" * (cast_expression "(undefined4 **)(iVar1 + local_40 * 4)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar1 + local_40 * 4)" ( (binary_expression "iVar1 + local_40 * 4" identifier + (binary_expression "local_40 * 4" identifier * number_literal)) ))))) ;) (if_statement "if (puVar5[0xe] == 0) {\n          pcVar6 = (char *)*puVar5;\n          if (local_38 == (char *)0x0) {\n            if (pcVar6 != (char *)0x0) goto LAB_000fb978;\nLAB_000fb98c:\n            FormatLocaleFile(param_1,"Type                   Description\n",param_2);\n            FormatLocaleFile(param_1,\n                             "-------------------------------------------------------------------------------\n"\n                            );\n            puVar5 = *(undefined4 **)(iVar1 + local_40 * 4);\n            local_38 = (char *)*puVar5;\n          }\n          else {\n            iVar3 = strcasecmp(local_38,pcVar6);\n            local_38 = pcVar6;\n            if (iVar3 != 0) {\nLAB_000fb978:\n              FormatLocaleFile(param_1,"\nPath: %s\n\n",pcVar6);\n              param_2 = pcVar6;\n              goto LAB_000fb98c;\n            }\n          }\n          param_2 = (char *)puVar5[1];\n          FormatLocaleFile(param_1,&DAT_002b6e4e,param_2);\n          sVar4 = strlen(*(char **)(*(int *)(iVar1 + local_40 * 4) + 4));\n          if (sVar4 < 0x1a) {\n            do {\n              sVar4 = sVar4 + 1;\n              FormatLocaleFile(param_1,&DAT_002cb63c,param_2);\n            } while (sVar4 != 0x1c);\n          }\n          else {\n            FormatLocaleFile(param_1,"\n",param_2);\n            iVar3 = 0x1c;\n            do {\n              FormatLocaleFile(param_1,&DAT_002cb63c,param_2);\n              iVar3 = iVar3 + -1;\n            } while (iVar3 != 0);\n          }\n          pcVar6 = *(char **)(*(int *)(iVar1 + local_40 * 4) + 8);\n          if (pcVar6 != (char *)0x0) {\n            FormatLocaleFile(param_1,&DAT_002b6e4e,pcVar6);\n            param_2 = pcVar6;\n          }\n          FormatLocaleFile(param_1,"\n",param_2);\n        }" if (parenthesized_expression "(puVar5[0xe] == 0)" ( (binary_expression "puVar5[0xe] == 0" (subscript_expression "puVar5[0xe]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n          pcVar6 = (char *)*puVar5;\n          if (local_38 == (char *)0x0) {\n            if (pcVar6 != (char *)0x0) goto LAB_000fb978;\nLAB_000fb98c:\n            FormatLocaleFile(param_1,"Type                   Description\n",param_2);\n            FormatLocaleFile(param_1,\n                             "-------------------------------------------------------------------------------\n"\n                            );\n            puVar5 = *(undefined4 **)(iVar1 + local_40 * 4);\n            local_38 = (char *)*puVar5;\n          }\n          else {\n            iVar3 = strcasecmp(local_38,pcVar6);\n            local_38 = pcVar6;\n            if (iVar3 != 0) {\nLAB_000fb978:\n              FormatLocaleFile(param_1,"\nPath: %s\n\n",pcVar6);\n              param_2 = pcVar6;\n              goto LAB_000fb98c;\n            }\n          }\n          param_2 = (char *)puVar5[1];\n          FormatLocaleFile(param_1,&DAT_002b6e4e,param_2);\n          sVar4 = strlen(*(char **)(*(int *)(iVar1 + local_40 * 4) + 4));\n          if (sVar4 < 0x1a) {\n            do {\n              sVar4 = sVar4 + 1;\n              FormatLocaleFile(param_1,&DAT_002cb63c,param_2);\n            } while (sVar4 != 0x1c);\n          }\n          else {\n            FormatLocaleFile(param_1,"\n",param_2);\n            iVar3 = 0x1c;\n            do {\n              FormatLocaleFile(param_1,&DAT_002cb63c,param_2);\n              iVar3 = iVar3 + -1;\n            } while (iVar3 != 0);\n          }\n          pcVar6 = *(char **)(*(int *)(iVar1 + local_40 * 4) + 8);\n          if (pcVar6 != (char *)0x0) {\n            FormatLocaleFile(param_1,&DAT_002b6e4e,pcVar6);\n            param_2 = pcVar6;\n          }\n          FormatLocaleFile(param_1,"\n",param_2);\n        }" { (expression_statement "pcVar6 = (char *)*puVar5;" (assignment_expression "pcVar6 = (char *)*puVar5" identifier = (cast_expression "(char *)*puVar5" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar5" * identifier))) ;) (if_statement "if (local_38 == (char *)0x0) {\n            if (pcVar6 != (char *)0x0) goto LAB_000fb978;\nLAB_000fb98c:\n            FormatLocaleFile(param_1,"Type                   Description\n",param_2);\n            FormatLocaleFile(param_1,\n                             "-------------------------------------------------------------------------------\n"\n                            );\n            puVar5 = *(undefined4 **)(iVar1 + local_40 * 4);\n            local_38 = (char *)*puVar5;\n          }\n          else {\n            iVar3 = strcasecmp(local_38,pcVar6);\n            local_38 = pcVar6;\n            if (iVar3 != 0) {\nLAB_000fb978:\n              FormatLocaleFile(param_1,"\nPath: %s\n\n",pcVar6);\n              param_2 = pcVar6;\n              goto LAB_000fb98c;\n            }\n          }" if (parenthesized_expression "(local_38 == (char *)0x0)" ( (binary_expression "local_38 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            if (pcVar6 != (char *)0x0) goto LAB_000fb978;\nLAB_000fb98c:\n            FormatLocaleFile(param_1,"Type                   Description\n",param_2);\n            FormatLocaleFile(param_1,\n                             "-------------------------------------------------------------------------------\n"\n                            );\n            puVar5 = *(undefined4 **)(iVar1 + local_40 * 4);\n            local_38 = (char *)*puVar5;\n          }" { (if_statement "if (pcVar6 != (char *)0x0) goto LAB_000fb978;" 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)) )) (goto_statement "goto LAB_000fb978;" goto statement_identifier ;)) (labeled_statement "LAB_000fb98c:\n            FormatLocaleFile(param_1,"Type                   Description\n",param_2);" statement_identifier : (expression_statement "FormatLocaleFile(param_1,"Type                   Description\n",param_2);" (call_expression "FormatLocaleFile(param_1,"Type                   Description\n",param_2)" identifier (argument_list "(param_1,"Type                   Description\n",param_2)" ( identifier , (string_literal ""Type                   Description\n"" " string_content escape_sequence ") , identifier ))) ;)) (expression_statement "FormatLocaleFile(param_1,\n                             "-------------------------------------------------------------------------------\n"\n                            );" (call_expression "FormatLocaleFile(param_1,\n                             "-------------------------------------------------------------------------------\n"\n                            )" identifier (argument_list "(param_1,\n                             "-------------------------------------------------------------------------------\n"\n                            )" ( identifier , (string_literal ""-------------------------------------------------------------------------------\n"" " string_content escape_sequence ") ))) ;) (expression_statement "puVar5 = *(undefined4 **)(iVar1 + local_40 * 4);" (assignment_expression "puVar5 = *(undefined4 **)(iVar1 + local_40 * 4)" identifier = (pointer_expression "*(undefined4 **)(iVar1 + local_40 * 4)" * (cast_expression "(undefined4 **)(iVar1 + local_40 * 4)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar1 + local_40 * 4)" ( (binary_expression "iVar1 + local_40 * 4" identifier + (binary_expression "local_40 * 4" identifier * number_literal)) ))))) ;) (expression_statement "local_38 = (char *)*puVar5;" (assignment_expression "local_38 = (char *)*puVar5" identifier = (cast_expression "(char *)*puVar5" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar5" * identifier))) ;) }) (else_clause "else {\n            iVar3 = strcasecmp(local_38,pcVar6);\n            local_38 = pcVar6;\n            if (iVar3 != 0) {\nLAB_000fb978:\n              FormatLocaleFile(param_1,"\nPath: %s\n\n",pcVar6);\n              param_2 = pcVar6;\n              goto LAB_000fb98c;\n            }\n          }" else (compound_statement "{\n            iVar3 = strcasecmp(local_38,pcVar6);\n            local_38 = pcVar6;\n            if (iVar3 != 0) {\nLAB_000fb978:\n              FormatLocaleFile(param_1,"\nPath: %s\n\n",pcVar6);\n              param_2 = pcVar6;\n              goto LAB_000fb98c;\n            }\n          }" { (expression_statement "iVar3 = strcasecmp(local_38,pcVar6);" (assignment_expression "iVar3 = strcasecmp(local_38,pcVar6)" identifier = (call_expression "strcasecmp(local_38,pcVar6)" identifier (argument_list "(local_38,pcVar6)" ( identifier , identifier )))) ;) (expression_statement "local_38 = pcVar6;" (assignment_expression "local_38 = pcVar6" identifier = identifier) ;) (if_statement "if (iVar3 != 0) {\nLAB_000fb978:\n              FormatLocaleFile(param_1,"\nPath: %s\n\n",pcVar6);\n              param_2 = pcVar6;\n              goto LAB_000fb98c;\n            }" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\nLAB_000fb978:\n              FormatLocaleFile(param_1,"\nPath: %s\n\n",pcVar6);\n              param_2 = pcVar6;\n              goto LAB_000fb98c;\n            }" { (labeled_statement "LAB_000fb978:\n              FormatLocaleFile(param_1,"\nPath: %s\n\n",pcVar6);" statement_identifier : (expression_statement "FormatLocaleFile(param_1,"\nPath: %s\n\n",pcVar6);" (call_expression "FormatLocaleFile(param_1,"\nPath: %s\n\n",pcVar6)" identifier (argument_list "(param_1,"\nPath: %s\n\n",pcVar6)" ( identifier , (string_literal ""\nPath: %s\n\n"" " escape_sequence string_content escape_sequence escape_sequence ") , identifier ))) ;)) (expression_statement "param_2 = pcVar6;" (assignment_expression "param_2 = pcVar6" identifier = identifier) ;) (goto_statement "goto LAB_000fb98c;" goto statement_identifier ;) })) }))) (expression_statement "param_2 = (char *)puVar5[1];" (assignment_expression "param_2 = (char *)puVar5[1]" identifier = (cast_expression "(char *)puVar5[1]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar5[1]" identifier [ number_literal ]))) ;) (expression_statement "FormatLocaleFile(param_1,&DAT_002b6e4e,param_2);" (call_expression "FormatLocaleFile(param_1,&DAT_002b6e4e,param_2)" identifier (argument_list "(param_1,&DAT_002b6e4e,param_2)" ( identifier , (pointer_expression "&DAT_002b6e4e" & identifier) , identifier ))) ;) (expression_statement "sVar4 = strlen(*(char **)(*(int *)(iVar1 + local_40 * 4) + 4));" (assignment_expression "sVar4 = strlen(*(char **)(*(int *)(iVar1 + local_40 * 4) + 4))" identifier = (call_expression "strlen(*(char **)(*(int *)(iVar1 + local_40 * 4) + 4))" identifier (argument_list "(*(char **)(*(int *)(iVar1 + local_40 * 4) + 4))" ( (pointer_expression "*(char **)(*(int *)(iVar1 + local_40 * 4) + 4)" * (cast_expression "(char **)(*(int *)(iVar1 + local_40 * 4) + 4)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(iVar1 + local_40 * 4) + 4)" ( (binary_expression "*(int *)(iVar1 + local_40 * 4) + 4" (pointer_expression "*(int *)(iVar1 + local_40 * 4)" * (cast_expression "(int *)(iVar1 + local_40 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + local_40 * 4)" ( (binary_expression "iVar1 + local_40 * 4" identifier + (binary_expression "local_40 * 4" identifier * number_literal)) )))) + number_literal) )))) )))) ;) (if_statement "if (sVar4 < 0x1a) {\n            do {\n              sVar4 = sVar4 + 1;\n              FormatLocaleFile(param_1,&DAT_002cb63c,param_2);\n            } while (sVar4 != 0x1c);\n          }\n          else {\n            FormatLocaleFile(param_1,"\n",param_2);\n            iVar3 = 0x1c;\n            do {\n              FormatLocaleFile(param_1,&DAT_002cb63c,param_2);\n              iVar3 = iVar3 + -1;\n            } while (iVar3 != 0);\n          }" if (parenthesized_expression "(sVar4 < 0x1a)" ( (binary_expression "sVar4 < 0x1a" identifier < number_literal) )) (compound_statement "{\n            do {\n              sVar4 = sVar4 + 1;\n              FormatLocaleFile(param_1,&DAT_002cb63c,param_2);\n            } while (sVar4 != 0x1c);\n          }" { (do_statement "do {\n              sVar4 = sVar4 + 1;\n              FormatLocaleFile(param_1,&DAT_002cb63c,param_2);\n            } while (sVar4 != 0x1c);" do (compound_statement "{\n              sVar4 = sVar4 + 1;\n              FormatLocaleFile(param_1,&DAT_002cb63c,param_2);\n            }" { (expression_statement "sVar4 = sVar4 + 1;" (assignment_expression "sVar4 = sVar4 + 1" identifier = (binary_expression "sVar4 + 1" identifier + number_literal)) ;) (expression_statement "FormatLocaleFile(param_1,&DAT_002cb63c,param_2);" (call_expression "FormatLocaleFile(param_1,&DAT_002cb63c,param_2)" identifier (argument_list "(param_1,&DAT_002cb63c,param_2)" ( identifier , (pointer_expression "&DAT_002cb63c" & identifier) , identifier ))) ;) }) while (parenthesized_expression "(sVar4 != 0x1c)" ( (binary_expression "sVar4 != 0x1c" identifier != number_literal) )) ;) }) (else_clause "else {\n            FormatLocaleFile(param_1,"\n",param_2);\n            iVar3 = 0x1c;\n            do {\n              FormatLocaleFile(param_1,&DAT_002cb63c,param_2);\n              iVar3 = iVar3 + -1;\n            } while (iVar3 != 0);\n          }" else (compound_statement "{\n            FormatLocaleFile(param_1,"\n",param_2);\n            iVar3 = 0x1c;\n            do {\n              FormatLocaleFile(param_1,&DAT_002cb63c,param_2);\n              iVar3 = iVar3 + -1;\n            } while (iVar3 != 0);\n          }" { (expression_statement "FormatLocaleFile(param_1,"\n",param_2);" (call_expression "FormatLocaleFile(param_1,"\n",param_2)" identifier (argument_list "(param_1,"\n",param_2)" ( identifier , (string_literal ""\n"" " escape_sequence ") , identifier ))) ;) (expression_statement "iVar3 = 0x1c;" (assignment_expression "iVar3 = 0x1c" identifier = number_literal) ;) (do_statement "do {\n              FormatLocaleFile(param_1,&DAT_002cb63c,param_2);\n              iVar3 = iVar3 + -1;\n            } while (iVar3 != 0);" do (compound_statement "{\n              FormatLocaleFile(param_1,&DAT_002cb63c,param_2);\n              iVar3 = iVar3 + -1;\n            }" { (expression_statement "FormatLocaleFile(param_1,&DAT_002cb63c,param_2);" (call_expression "FormatLocaleFile(param_1,&DAT_002cb63c,param_2)" identifier (argument_list "(param_1,&DAT_002cb63c,param_2)" ( identifier , (pointer_expression "&DAT_002cb63c" & identifier) , identifier ))) ;) (expression_statement "iVar3 = iVar3 + -1;" (assignment_expression "iVar3 = iVar3 + -1" identifier = (binary_expression "iVar3 + -1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) ;) }))) (expression_statement "pcVar6 = *(char **)(*(int *)(iVar1 + local_40 * 4) + 8);" (assignment_expression "pcVar6 = *(char **)(*(int *)(iVar1 + local_40 * 4) + 8)" identifier = (pointer_expression "*(char **)(*(int *)(iVar1 + local_40 * 4) + 8)" * (cast_expression "(char **)(*(int *)(iVar1 + local_40 * 4) + 8)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(iVar1 + local_40 * 4) + 8)" ( (binary_expression "*(int *)(iVar1 + local_40 * 4) + 8" (pointer_expression "*(int *)(iVar1 + local_40 * 4)" * (cast_expression "(int *)(iVar1 + local_40 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + local_40 * 4)" ( (binary_expression "iVar1 + local_40 * 4" identifier + (binary_expression "local_40 * 4" identifier * number_literal)) )))) + number_literal) ))))) ;) (if_statement "if (pcVar6 != (char *)0x0) {\n            FormatLocaleFile(param_1,&DAT_002b6e4e,pcVar6);\n            param_2 = pcVar6;\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            FormatLocaleFile(param_1,&DAT_002b6e4e,pcVar6);\n            param_2 = pcVar6;\n          }" { (expression_statement "FormatLocaleFile(param_1,&DAT_002b6e4e,pcVar6);" (call_expression "FormatLocaleFile(param_1,&DAT_002b6e4e,pcVar6)" identifier (argument_list "(param_1,&DAT_002b6e4e,pcVar6)" ( identifier , (pointer_expression "&DAT_002b6e4e" & identifier) , identifier ))) ;) (expression_statement "param_2 = pcVar6;" (assignment_expression "param_2 = pcVar6" identifier = identifier) ;) })) (expression_statement "FormatLocaleFile(param_1,"\n",param_2);" (call_expression "FormatLocaleFile(param_1,"\n",param_2)" identifier (argument_list "(param_1,"\n",param_2)" ( identifier , (string_literal ""\n"" " escape_sequence ") , identifier ))) ;) })) (expression_statement "local_40 = local_40 + 1;" (assignment_expression "local_40 = local_40 + 1" identifier = (binary_expression "local_40 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(local_40 < local_24)" ( (binary_expression "local_40 < local_24" identifier < identifier) )) ;) })) (expression_statement "fflush(param_1);" (call_expression "fflush(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (expression_statement "RelinquishMagickMemory(iVar1);" (call_expression "RelinquishMagickMemory(iVar1)" identifier (argument_list "(iVar1)" ( identifier ))) ;) (expression_statement "uVar2 = 1;" (assignment_expression "uVar2 = 1" identifier = number_literal) ;) })) (if_statement "if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_0029eab0();\n  }" if (parenthesized_expression "(local_20 != *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "local_20 != *(int *)(in_GS_OFFSET + 0x14)" identifier != (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n                    \n    FUN_0029eab0();\n  }" { (expression_statement "FUN_0029eab0();" (call_expression "FUN_0029eab0()" identifier (argument_list "()" ( ))) ;) })) (return_statement "return uVar2;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT))) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , (pointer_expression & IDENT) , IDENT )))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression 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 *)) ) (pointer_expression * IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (goto_statement goto statement_identifier ;)) (labeled_statement statement_identifier : (expression_statement (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content escape_sequence ") , IDENT ))) ;)) (expression_statement (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content escape_sequence ") ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) ))))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (call_expression IDENT (argument_list ( IDENT , (string_literal " escape_sequence string_content escape_sequence escape_sequence ") , IDENT ))) ;)) (expression_statement (assignment_expression IDENT = IDENT) ;) (goto_statement goto statement_identifier ;) })) }))) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (pointer_expression & IDENT) , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) )))) + LIT) )))) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (pointer_expression & IDENT) , IDENT ))) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) }) (else_clause else (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , (string_literal " escape_sequence ") , IDENT ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , (pointer_expression & IDENT) , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) }))) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) )))) + LIT) ))))) ;) (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 , (pointer_expression & IDENT) , IDENT ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT , (string_literal " escape_sequence ") , IDENT ))) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT < IDENT) )) ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (return_statement return IDENT ;) })))
(function_definition "undefined4 ListMimeInfo(FILE *param_1,char *param_2)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  int iVar3;\n  size_t sVar4;\n  undefined4 *puVar5;\n  int in_GS_OFFSET;\n  char *pcVar6;\n  int local_40;\n  char *local_38;\n  int local_24;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0xfb7d9;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if (param_1 == (FILE *)0x0) {\n    param_1 = *(FILE **)PTR_stdout_003d8fdc;\n  }\n  iVar1 = GetMimeInfoList(&DAT_002b96d5,&local_24,param_2);\n  uVar2 = 0;\n  if (iVar1 != 0) {\n    if (0 < local_24) {\n      local_40 = 0;\n      local_38 = (char *)0x0;\n      do {\n        puVar5 = *(undefined4 **)(iVar1 + local_40 * 4);\n        if (puVar5[0xe] == 0) {\n          pcVar6 = (char *)*puVar5;\n          if (local_38 == (char *)0x0) {\n            if (pcVar6 != (char *)0x0) goto LAB_000fb978;\nLAB_000fb98c:\n            FormatLocaleFile(param_1,"Type                   Description\n",param_2);\n            FormatLocaleFile(param_1,\n                             "-------------------------------------------------------------------------------\n"\n                            );\n            puVar5 = *(undefined4 **)(iVar1 + local_40 * 4);\n            local_38 = (char *)*puVar5;\n          }\n          else {\n            iVar3 = strcasecmp(local_38,pcVar6);\n            local_38 = pcVar6;\n            if (iVar3 != 0) {\nLAB_000fb978:\n              FormatLocaleFile(param_1,"\nPath: %s\n\n",pcVar6);\n              param_2 = pcVar6;\n              goto LAB_000fb98c;\n            }\n          }\n          param_2 = (char *)puVar5[1];\n          FormatLocaleFile(param_1,&DAT_002b6e4e,param_2);\n          sVar4 = strlen(*(char **)(*(int *)(iVar1 + local_40 * 4) + 4));\n          if (sVar4 < 0x1a) {\n            do {\n              sVar4 = sVar4 + 1;\n              FormatLocaleFile(param_1,&DAT_002cb63c,param_2);\n            } while (sVar4 != 0x1c);\n          }\n          else {\n            FormatLocaleFile(param_1,"\n",param_2);\n            iVar3 = 0x1c;\n            do {\n              FormatLocaleFile(param_1,&DAT_002cb63c,param_2);\n              iVar3 = iVar3 + -1;\n            } while (iVar3 != 0);\n          }\n          pcVar6 = *(char **)(*(int *)(iVar1 + local_40 * 4) + 8);\n          if (pcVar6 != (char *)0x0) {\n            FormatLocaleFile(param_1,&DAT_002b6e4e,pcVar6);\n            param_2 = pcVar6;\n          }\n          FormatLocaleFile(param_1,"\n",param_2);\n        }\n        local_40 = local_40 + 1;\n      } while (local_40 < local_24);\n    }\n    fflush(param_1);\n    RelinquishMagickMemory(iVar1);\n    uVar2 = 1;\n  }\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_0029eab0();\n  }\n  return uVar2;\n}" (type_identifier "undefined4") (function_declarator "ListMimeInfo(FILE *param_1,char *param_2)" (identifier "ListMimeInfo") (parameter_list "(FILE *param_1,char *param_2)" (( "(") (parameter_declaration "FILE *param_1" (type_identifier "FILE") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "char *param_2" (primitive_type "char") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")"))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  int iVar3;\n  size_t sVar4;\n  undefined4 *puVar5;\n  int in_GS_OFFSET;\n  char *pcVar6;\n  int local_40;\n  char *local_38;\n  int local_24;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0xfb7d9;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if (param_1 == (FILE *)0x0) {\n    param_1 = *(FILE **)PTR_stdout_003d8fdc;\n  }\n  iVar1 = GetMimeInfoList(&DAT_002b96d5,&local_24,param_2);\n  uVar2 = 0;\n  if (iVar1 != 0) {\n    if (0 < local_24) {\n      local_40 = 0;\n      local_38 = (char *)0x0;\n      do {\n        puVar5 = *(undefined4 **)(iVar1 + local_40 * 4);\n        if (puVar5[0xe] == 0) {\n          pcVar6 = (char *)*puVar5;\n          if (local_38 == (char *)0x0) {\n            if (pcVar6 != (char *)0x0) goto LAB_000fb978;\nLAB_000fb98c:\n            FormatLocaleFile(param_1,"Type                   Description\n",param_2);\n            FormatLocaleFile(param_1,\n                             "-------------------------------------------------------------------------------\n"\n                            );\n            puVar5 = *(undefined4 **)(iVar1 + local_40 * 4);\n            local_38 = (char *)*puVar5;\n          }\n          else {\n            iVar3 = strcasecmp(local_38,pcVar6);\n            local_38 = pcVar6;\n            if (iVar3 != 0) {\nLAB_000fb978:\n              FormatLocaleFile(param_1,"\nPath: %s\n\n",pcVar6);\n              param_2 = pcVar6;\n              goto LAB_000fb98c;\n            }\n          }\n          param_2 = (char *)puVar5[1];\n          FormatLocaleFile(param_1,&DAT_002b6e4e,param_2);\n          sVar4 = strlen(*(char **)(*(int *)(iVar1 + local_40 * 4) + 4));\n          if (sVar4 < 0x1a) {\n            do {\n              sVar4 = sVar4 + 1;\n              FormatLocaleFile(param_1,&DAT_002cb63c,param_2);\n            } while (sVar4 != 0x1c);\n          }\n          else {\n            FormatLocaleFile(param_1,"\n",param_2);\n            iVar3 = 0x1c;\n            do {\n              FormatLocaleFile(param_1,&DAT_002cb63c,param_2);\n              iVar3 = iVar3 + -1;\n            } while (iVar3 != 0);\n          }\n          pcVar6 = *(char **)(*(int *)(iVar1 + local_40 * 4) + 8);\n          if (pcVar6 != (char *)0x0) {\n            FormatLocaleFile(param_1,&DAT_002b6e4e,pcVar6);\n            param_2 = pcVar6;\n          }\n          FormatLocaleFile(param_1,"\n",param_2);\n        }\n        local_40 = local_40 + 1;\n      } while (local_40 < local_24);\n    }\n    fflush(param_1);\n    RelinquishMagickMemory(iVar1);\n    uVar2 = 1;\n  }\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_0029eab0();\n  }\n  return uVar2;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "size_t sVar4;" (primitive_type "size_t") (identifier "sVar4") (; ";")) (declaration "undefined4 *puVar5;" (type_identifier "undefined4") (pointer_declarator "*puVar5" (* "*") (identifier "puVar5")) (; ";")) (declaration "int in_GS_OFFSET;" (primitive_type "int") (identifier "in_GS_OFFSET") (; ";")) (declaration "char *pcVar6;" (primitive_type "char") (pointer_declarator "*pcVar6" (* "*") (identifier "pcVar6")) (; ";")) (declaration "int local_40;" (primitive_type "int") (identifier "local_40") (; ";")) (declaration "char *local_38;" (primitive_type "char") (pointer_declarator "*local_38" (* "*") (identifier "local_38")) (; ";")) (declaration "int local_24;" (primitive_type "int") (identifier "local_24") (; ";")) (declaration "int local_20;" (primitive_type "int") (identifier "local_20") (; ";")) (declaration "undefined4 uStack_14;" (type_identifier "undefined4") (identifier "uStack_14") (; ";")) (expression_statement "uStack_14 = 0xfb7d9;" (assignment_expression "uStack_14 = 0xfb7d9" (identifier "uStack_14") (= "=") (number_literal "0xfb7d9")) (; ";")) (expression_statement "local_20 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(int *)(in_GS_OFFSET + 0x14)" (identifier "local_20") (= "=") (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" (* "*") (cast_expression "(int *)(in_GS_OFFSET + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_GS_OFFSET + 0x14)" (( "(") (binary_expression "in_GS_OFFSET + 0x14" (identifier "in_GS_OFFSET") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (if_statement "if (param_1 == (FILE *)0x0) {\n    param_1 = *(FILE **)PTR_stdout_003d8fdc;\n  }" (if "if") (parenthesized_expression "(param_1 == (FILE *)0x0)" (( "(") (binary_expression "param_1 == (FILE *)0x0" (identifier "param_1") (== "==") (cast_expression "(FILE *)0x0" (( "(") (type_descriptor "FILE *" (type_identifier "FILE") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    param_1 = *(FILE **)PTR_stdout_003d8fdc;\n  }" ({ "{") (expression_statement "param_1 = *(FILE **)PTR_stdout_003d8fdc;" (assignment_expression "param_1 = *(FILE **)PTR_stdout_003d8fdc" (identifier "param_1") (= "=") (pointer_expression "*(FILE **)PTR_stdout_003d8fdc" (* "*") (cast_expression "(FILE **)PTR_stdout_003d8fdc" (( "(") (type_descriptor "FILE **" (type_identifier "FILE") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "PTR_stdout_003d8fdc")))) (; ";")) (} "}"))) (expression_statement "iVar1 = GetMimeInfoList(&DAT_002b96d5,&local_24,param_2);" (assignment_expression "iVar1 = GetMimeInfoList(&DAT_002b96d5,&local_24,param_2)" (identifier "iVar1") (= "=") (call_expression "GetMimeInfoList(&DAT_002b96d5,&local_24,param_2)" (identifier "GetMimeInfoList") (argument_list "(&DAT_002b96d5,&local_24,param_2)" (( "(") (pointer_expression "&DAT_002b96d5" (& "&") (identifier "DAT_002b96d5")) (, ",") (pointer_expression "&local_24" (& "&") (identifier "local_24")) (, ",") (identifier "param_2") () ")")))) (; ";")) (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" (identifier "uVar2") (= "=") (number_literal "0")) (; ";")) (if_statement "if (iVar1 != 0) {\n    if (0 < local_24) {\n      local_40 = 0;\n      local_38 = (char *)0x0;\n      do {\n        puVar5 = *(undefined4 **)(iVar1 + local_40 * 4);\n        if (puVar5[0xe] == 0) {\n          pcVar6 = (char *)*puVar5;\n          if (local_38 == (char *)0x0) {\n            if (pcVar6 != (char *)0x0) goto LAB_000fb978;\nLAB_000fb98c:\n            FormatLocaleFile(param_1,"Type                   Description\n",param_2);\n            FormatLocaleFile(param_1,\n                             "-------------------------------------------------------------------------------\n"\n                            );\n            puVar5 = *(undefined4 **)(iVar1 + local_40 * 4);\n            local_38 = (char *)*puVar5;\n          }\n          else {\n            iVar3 = strcasecmp(local_38,pcVar6);\n            local_38 = pcVar6;\n            if (iVar3 != 0) {\nLAB_000fb978:\n              FormatLocaleFile(param_1,"\nPath: %s\n\n",pcVar6);\n              param_2 = pcVar6;\n              goto LAB_000fb98c;\n            }\n          }\n          param_2 = (char *)puVar5[1];\n          FormatLocaleFile(param_1,&DAT_002b6e4e,param_2);\n          sVar4 = strlen(*(char **)(*(int *)(iVar1 + local_40 * 4) + 4));\n          if (sVar4 < 0x1a) {\n            do {\n              sVar4 = sVar4 + 1;\n              FormatLocaleFile(param_1,&DAT_002cb63c,param_2);\n            } while (sVar4 != 0x1c);\n          }\n          else {\n            FormatLocaleFile(param_1,"\n",param_2);\n            iVar3 = 0x1c;\n            do {\n              FormatLocaleFile(param_1,&DAT_002cb63c,param_2);\n              iVar3 = iVar3 + -1;\n            } while (iVar3 != 0);\n          }\n          pcVar6 = *(char **)(*(int *)(iVar1 + local_40 * 4) + 8);\n          if (pcVar6 != (char *)0x0) {\n            FormatLocaleFile(param_1,&DAT_002b6e4e,pcVar6);\n            param_2 = pcVar6;\n          }\n          FormatLocaleFile(param_1,"\n",param_2);\n        }\n        local_40 = local_40 + 1;\n      } while (local_40 < local_24);\n    }\n    fflush(param_1);\n    RelinquishMagickMemory(iVar1);\n    uVar2 = 1;\n  }" (if "if") (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    if (0 < local_24) {\n      local_40 = 0;\n      local_38 = (char *)0x0;\n      do {\n        puVar5 = *(undefined4 **)(iVar1 + local_40 * 4);\n        if (puVar5[0xe] == 0) {\n          pcVar6 = (char *)*puVar5;\n          if (local_38 == (char *)0x0) {\n            if (pcVar6 != (char *)0x0) goto LAB_000fb978;\nLAB_000fb98c:\n            FormatLocaleFile(param_1,"Type                   Description\n",param_2);\n            FormatLocaleFile(param_1,\n                             "-------------------------------------------------------------------------------\n"\n                            );\n            puVar5 = *(undefined4 **)(iVar1 + local_40 * 4);\n            local_38 = (char *)*puVar5;\n          }\n          else {\n            iVar3 = strcasecmp(local_38,pcVar6);\n            local_38 = pcVar6;\n            if (iVar3 != 0) {\nLAB_000fb978:\n              FormatLocaleFile(param_1,"\nPath: %s\n\n",pcVar6);\n              param_2 = pcVar6;\n              goto LAB_000fb98c;\n            }\n          }\n          param_2 = (char *)puVar5[1];\n          FormatLocaleFile(param_1,&DAT_002b6e4e,param_2);\n          sVar4 = strlen(*(char **)(*(int *)(iVar1 + local_40 * 4) + 4));\n          if (sVar4 < 0x1a) {\n            do {\n              sVar4 = sVar4 + 1;\n              FormatLocaleFile(param_1,&DAT_002cb63c,param_2);\n            } while (sVar4 != 0x1c);\n          }\n          else {\n            FormatLocaleFile(param_1,"\n",param_2);\n            iVar3 = 0x1c;\n            do {\n              FormatLocaleFile(param_1,&DAT_002cb63c,param_2);\n              iVar3 = iVar3 + -1;\n            } while (iVar3 != 0);\n          }\n          pcVar6 = *(char **)(*(int *)(iVar1 + local_40 * 4) + 8);\n          if (pcVar6 != (char *)0x0) {\n            FormatLocaleFile(param_1,&DAT_002b6e4e,pcVar6);\n            param_2 = pcVar6;\n          }\n          FormatLocaleFile(param_1,"\n",param_2);\n        }\n        local_40 = local_40 + 1;\n      } while (local_40 < local_24);\n    }\n    fflush(param_1);\n    RelinquishMagickMemory(iVar1);\n    uVar2 = 1;\n  }" ({ "{") (if_statement "if (0 < local_24) {\n      local_40 = 0;\n      local_38 = (char *)0x0;\n      do {\n        puVar5 = *(undefined4 **)(iVar1 + local_40 * 4);\n        if (puVar5[0xe] == 0) {\n          pcVar6 = (char *)*puVar5;\n          if (local_38 == (char *)0x0) {\n            if (pcVar6 != (char *)0x0) goto LAB_000fb978;\nLAB_000fb98c:\n            FormatLocaleFile(param_1,"Type                   Description\n",param_2);\n            FormatLocaleFile(param_1,\n                             "-------------------------------------------------------------------------------\n"\n                            );\n            puVar5 = *(undefined4 **)(iVar1 + local_40 * 4);\n            local_38 = (char *)*puVar5;\n          }\n          else {\n            iVar3 = strcasecmp(local_38,pcVar6);\n            local_38 = pcVar6;\n            if (iVar3 != 0) {\nLAB_000fb978:\n              FormatLocaleFile(param_1,"\nPath: %s\n\n",pcVar6);\n              param_2 = pcVar6;\n              goto LAB_000fb98c;\n            }\n          }\n          param_2 = (char *)puVar5[1];\n          FormatLocaleFile(param_1,&DAT_002b6e4e,param_2);\n          sVar4 = strlen(*(char **)(*(int *)(iVar1 + local_40 * 4) + 4));\n          if (sVar4 < 0x1a) {\n            do {\n              sVar4 = sVar4 + 1;\n              FormatLocaleFile(param_1,&DAT_002cb63c,param_2);\n            } while (sVar4 != 0x1c);\n          }\n          else {\n            FormatLocaleFile(param_1,"\n",param_2);\n            iVar3 = 0x1c;\n            do {\n              FormatLocaleFile(param_1,&DAT_002cb63c,param_2);\n              iVar3 = iVar3 + -1;\n            } while (iVar3 != 0);\n          }\n          pcVar6 = *(char **)(*(int *)(iVar1 + local_40 * 4) + 8);\n          if (pcVar6 != (char *)0x0) {\n            FormatLocaleFile(param_1,&DAT_002b6e4e,pcVar6);\n            param_2 = pcVar6;\n          }\n          FormatLocaleFile(param_1,"\n",param_2);\n        }\n        local_40 = local_40 + 1;\n      } while (local_40 < local_24);\n    }" (if "if") (parenthesized_expression "(0 < local_24)" (( "(") (binary_expression "0 < local_24" (number_literal "0") (< "<") (identifier "local_24")) () ")")) (compound_statement "{\n      local_40 = 0;\n      local_38 = (char *)0x0;\n      do {\n        puVar5 = *(undefined4 **)(iVar1 + local_40 * 4);\n        if (puVar5[0xe] == 0) {\n          pcVar6 = (char *)*puVar5;\n          if (local_38 == (char *)0x0) {\n            if (pcVar6 != (char *)0x0) goto LAB_000fb978;\nLAB_000fb98c:\n            FormatLocaleFile(param_1,"Type                   Description\n",param_2);\n            FormatLocaleFile(param_1,\n                             "-------------------------------------------------------------------------------\n"\n                            );\n            puVar5 = *(undefined4 **)(iVar1 + local_40 * 4);\n            local_38 = (char *)*puVar5;\n          }\n          else {\n            iVar3 = strcasecmp(local_38,pcVar6);\n            local_38 = pcVar6;\n            if (iVar3 != 0) {\nLAB_000fb978:\n              FormatLocaleFile(param_1,"\nPath: %s\n\n",pcVar6);\n              param_2 = pcVar6;\n              goto LAB_000fb98c;\n            }\n          }\n          param_2 = (char *)puVar5[1];\n          FormatLocaleFile(param_1,&DAT_002b6e4e,param_2);\n          sVar4 = strlen(*(char **)(*(int *)(iVar1 + local_40 * 4) + 4));\n          if (sVar4 < 0x1a) {\n            do {\n              sVar4 = sVar4 + 1;\n              FormatLocaleFile(param_1,&DAT_002cb63c,param_2);\n            } while (sVar4 != 0x1c);\n          }\n          else {\n            FormatLocaleFile(param_1,"\n",param_2);\n            iVar3 = 0x1c;\n            do {\n              FormatLocaleFile(param_1,&DAT_002cb63c,param_2);\n              iVar3 = iVar3 + -1;\n            } while (iVar3 != 0);\n          }\n          pcVar6 = *(char **)(*(int *)(iVar1 + local_40 * 4) + 8);\n          if (pcVar6 != (char *)0x0) {\n            FormatLocaleFile(param_1,&DAT_002b6e4e,pcVar6);\n            param_2 = pcVar6;\n          }\n          FormatLocaleFile(param_1,"\n",param_2);\n        }\n        local_40 = local_40 + 1;\n      } while (local_40 < local_24);\n    }" ({ "{") (expression_statement "local_40 = 0;" (assignment_expression "local_40 = 0" (identifier "local_40") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_38 = (char *)0x0;" (assignment_expression "local_38 = (char *)0x0" (identifier "local_38") (= "=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (do_statement "do {\n        puVar5 = *(undefined4 **)(iVar1 + local_40 * 4);\n        if (puVar5[0xe] == 0) {\n          pcVar6 = (char *)*puVar5;\n          if (local_38 == (char *)0x0) {\n            if (pcVar6 != (char *)0x0) goto LAB_000fb978;\nLAB_000fb98c:\n            FormatLocaleFile(param_1,"Type                   Description\n",param_2);\n            FormatLocaleFile(param_1,\n                             "-------------------------------------------------------------------------------\n"\n                            );\n            puVar5 = *(undefined4 **)(iVar1 + local_40 * 4);\n            local_38 = (char *)*puVar5;\n          }\n          else {\n            iVar3 = strcasecmp(local_38,pcVar6);\n            local_38 = pcVar6;\n            if (iVar3 != 0) {\nLAB_000fb978:\n              FormatLocaleFile(param_1,"\nPath: %s\n\n",pcVar6);\n              param_2 = pcVar6;\n              goto LAB_000fb98c;\n            }\n          }\n          param_2 = (char *)puVar5[1];\n          FormatLocaleFile(param_1,&DAT_002b6e4e,param_2);\n          sVar4 = strlen(*(char **)(*(int *)(iVar1 + local_40 * 4) + 4));\n          if (sVar4 < 0x1a) {\n            do {\n              sVar4 = sVar4 + 1;\n              FormatLocaleFile(param_1,&DAT_002cb63c,param_2);\n            } while (sVar4 != 0x1c);\n          }\n          else {\n            FormatLocaleFile(param_1,"\n",param_2);\n            iVar3 = 0x1c;\n            do {\n              FormatLocaleFile(param_1,&DAT_002cb63c,param_2);\n              iVar3 = iVar3 + -1;\n            } while (iVar3 != 0);\n          }\n          pcVar6 = *(char **)(*(int *)(iVar1 + local_40 * 4) + 8);\n          if (pcVar6 != (char *)0x0) {\n            FormatLocaleFile(param_1,&DAT_002b6e4e,pcVar6);\n            param_2 = pcVar6;\n          }\n          FormatLocaleFile(param_1,"\n",param_2);\n        }\n        local_40 = local_40 + 1;\n      } while (local_40 < local_24);" (do "do") (compound_statement "{\n        puVar5 = *(undefined4 **)(iVar1 + local_40 * 4);\n        if (puVar5[0xe] == 0) {\n          pcVar6 = (char *)*puVar5;\n          if (local_38 == (char *)0x0) {\n            if (pcVar6 != (char *)0x0) goto LAB_000fb978;\nLAB_000fb98c:\n            FormatLocaleFile(param_1,"Type                   Description\n",param_2);\n            FormatLocaleFile(param_1,\n                             "-------------------------------------------------------------------------------\n"\n                            );\n            puVar5 = *(undefined4 **)(iVar1 + local_40 * 4);\n            local_38 = (char *)*puVar5;\n          }\n          else {\n            iVar3 = strcasecmp(local_38,pcVar6);\n            local_38 = pcVar6;\n            if (iVar3 != 0) {\nLAB_000fb978:\n              FormatLocaleFile(param_1,"\nPath: %s\n\n",pcVar6);\n              param_2 = pcVar6;\n              goto LAB_000fb98c;\n            }\n          }\n          param_2 = (char *)puVar5[1];\n          FormatLocaleFile(param_1,&DAT_002b6e4e,param_2);\n          sVar4 = strlen(*(char **)(*(int *)(iVar1 + local_40 * 4) + 4));\n          if (sVar4 < 0x1a) {\n            do {\n              sVar4 = sVar4 + 1;\n              FormatLocaleFile(param_1,&DAT_002cb63c,param_2);\n            } while (sVar4 != 0x1c);\n          }\n          else {\n            FormatLocaleFile(param_1,"\n",param_2);\n            iVar3 = 0x1c;\n            do {\n              FormatLocaleFile(param_1,&DAT_002cb63c,param_2);\n              iVar3 = iVar3 + -1;\n            } while (iVar3 != 0);\n          }\n          pcVar6 = *(char **)(*(int *)(iVar1 + local_40 * 4) + 8);\n          if (pcVar6 != (char *)0x0) {\n            FormatLocaleFile(param_1,&DAT_002b6e4e,pcVar6);\n            param_2 = pcVar6;\n          }\n          FormatLocaleFile(param_1,"\n",param_2);\n        }\n        local_40 = local_40 + 1;\n      }" ({ "{") (expression_statement "puVar5 = *(undefined4 **)(iVar1 + local_40 * 4);" (assignment_expression "puVar5 = *(undefined4 **)(iVar1 + local_40 * 4)" (identifier "puVar5") (= "=") (pointer_expression "*(undefined4 **)(iVar1 + local_40 * 4)" (* "*") (cast_expression "(undefined4 **)(iVar1 + local_40 * 4)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar1 + local_40 * 4)" (( "(") (binary_expression "iVar1 + local_40 * 4" (identifier "iVar1") (+ "+") (binary_expression "local_40 * 4" (identifier "local_40") (* "*") (number_literal "4"))) () ")"))))) (; ";")) (if_statement "if (puVar5[0xe] == 0) {\n          pcVar6 = (char *)*puVar5;\n          if (local_38 == (char *)0x0) {\n            if (pcVar6 != (char *)0x0) goto LAB_000fb978;\nLAB_000fb98c:\n            FormatLocaleFile(param_1,"Type                   Description\n",param_2);\n            FormatLocaleFile(param_1,\n                             "-------------------------------------------------------------------------------\n"\n                            );\n            puVar5 = *(undefined4 **)(iVar1 + local_40 * 4);\n            local_38 = (char *)*puVar5;\n          }\n          else {\n            iVar3 = strcasecmp(local_38,pcVar6);\n            local_38 = pcVar6;\n            if (iVar3 != 0) {\nLAB_000fb978:\n              FormatLocaleFile(param_1,"\nPath: %s\n\n",pcVar6);\n              param_2 = pcVar6;\n              goto LAB_000fb98c;\n            }\n          }\n          param_2 = (char *)puVar5[1];\n          FormatLocaleFile(param_1,&DAT_002b6e4e,param_2);\n          sVar4 = strlen(*(char **)(*(int *)(iVar1 + local_40 * 4) + 4));\n          if (sVar4 < 0x1a) {\n            do {\n              sVar4 = sVar4 + 1;\n              FormatLocaleFile(param_1,&DAT_002cb63c,param_2);\n            } while (sVar4 != 0x1c);\n          }\n          else {\n            FormatLocaleFile(param_1,"\n",param_2);\n            iVar3 = 0x1c;\n            do {\n              FormatLocaleFile(param_1,&DAT_002cb63c,param_2);\n              iVar3 = iVar3 + -1;\n            } while (iVar3 != 0);\n          }\n          pcVar6 = *(char **)(*(int *)(iVar1 + local_40 * 4) + 8);\n          if (pcVar6 != (char *)0x0) {\n            FormatLocaleFile(param_1,&DAT_002b6e4e,pcVar6);\n            param_2 = pcVar6;\n          }\n          FormatLocaleFile(param_1,"\n",param_2);\n        }" (if "if") (parenthesized_expression "(puVar5[0xe] == 0)" (( "(") (binary_expression "puVar5[0xe] == 0" (subscript_expression "puVar5[0xe]" (identifier "puVar5") ([ "[") (number_literal "0xe") (] "]")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n          pcVar6 = (char *)*puVar5;\n          if (local_38 == (char *)0x0) {\n            if (pcVar6 != (char *)0x0) goto LAB_000fb978;\nLAB_000fb98c:\n            FormatLocaleFile(param_1,"Type                   Description\n",param_2);\n            FormatLocaleFile(param_1,\n                             "-------------------------------------------------------------------------------\n"\n                            );\n            puVar5 = *(undefined4 **)(iVar1 + local_40 * 4);\n            local_38 = (char *)*puVar5;\n          }\n          else {\n            iVar3 = strcasecmp(local_38,pcVar6);\n            local_38 = pcVar6;\n            if (iVar3 != 0) {\nLAB_000fb978:\n              FormatLocaleFile(param_1,"\nPath: %s\n\n",pcVar6);\n              param_2 = pcVar6;\n              goto LAB_000fb98c;\n            }\n          }\n          param_2 = (char *)puVar5[1];\n          FormatLocaleFile(param_1,&DAT_002b6e4e,param_2);\n          sVar4 = strlen(*(char **)(*(int *)(iVar1 + local_40 * 4) + 4));\n          if (sVar4 < 0x1a) {\n            do {\n              sVar4 = sVar4 + 1;\n              FormatLocaleFile(param_1,&DAT_002cb63c,param_2);\n            } while (sVar4 != 0x1c);\n          }\n          else {\n            FormatLocaleFile(param_1,"\n",param_2);\n            iVar3 = 0x1c;\n            do {\n              FormatLocaleFile(param_1,&DAT_002cb63c,param_2);\n              iVar3 = iVar3 + -1;\n            } while (iVar3 != 0);\n          }\n          pcVar6 = *(char **)(*(int *)(iVar1 + local_40 * 4) + 8);\n          if (pcVar6 != (char *)0x0) {\n            FormatLocaleFile(param_1,&DAT_002b6e4e,pcVar6);\n            param_2 = pcVar6;\n          }\n          FormatLocaleFile(param_1,"\n",param_2);\n        }" ({ "{") (expression_statement "pcVar6 = (char *)*puVar5;" (assignment_expression "pcVar6 = (char *)*puVar5" (identifier "pcVar6") (= "=") (cast_expression "(char *)*puVar5" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar5" (* "*") (identifier "puVar5")))) (; ";")) (if_statement "if (local_38 == (char *)0x0) {\n            if (pcVar6 != (char *)0x0) goto LAB_000fb978;\nLAB_000fb98c:\n            FormatLocaleFile(param_1,"Type                   Description\n",param_2);\n            FormatLocaleFile(param_1,\n                             "-------------------------------------------------------------------------------\n"\n                            );\n            puVar5 = *(undefined4 **)(iVar1 + local_40 * 4);\n            local_38 = (char *)*puVar5;\n          }\n          else {\n            iVar3 = strcasecmp(local_38,pcVar6);\n            local_38 = pcVar6;\n            if (iVar3 != 0) {\nLAB_000fb978:\n              FormatLocaleFile(param_1,"\nPath: %s\n\n",pcVar6);\n              param_2 = pcVar6;\n              goto LAB_000fb98c;\n            }\n          }" (if "if") (parenthesized_expression "(local_38 == (char *)0x0)" (( "(") (binary_expression "local_38 == (char *)0x0" (identifier "local_38") (== "==") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n            if (pcVar6 != (char *)0x0) goto LAB_000fb978;\nLAB_000fb98c:\n            FormatLocaleFile(param_1,"Type                   Description\n",param_2);\n            FormatLocaleFile(param_1,\n                             "-------------------------------------------------------------------------------\n"\n                            );\n            puVar5 = *(undefined4 **)(iVar1 + local_40 * 4);\n            local_38 = (char *)*puVar5;\n          }" ({ "{") (if_statement "if (pcVar6 != (char *)0x0) goto LAB_000fb978;" (if "if") (parenthesized_expression "(pcVar6 != (char *)0x0)" (( "(") (binary_expression "pcVar6 != (char *)0x0" (identifier "pcVar6") (!= "!=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (goto_statement "goto LAB_000fb978;" (goto "goto") (statement_identifier "LAB_000fb978") (; ";"))) (labeled_statement "LAB_000fb98c:\n            FormatLocaleFile(param_1,"Type                   Description\n",param_2);" (statement_identifier "LAB_000fb98c") (: ":") (expression_statement "FormatLocaleFile(param_1,"Type                   Description\n",param_2);" (call_expression "FormatLocaleFile(param_1,"Type                   Description\n",param_2)" (identifier "FormatLocaleFile") (argument_list "(param_1,"Type                   Description\n",param_2)" (( "(") (identifier "param_1") (, ",") (string_literal ""Type                   Description\n"" (" """) (string_content "Type                   Description") (escape_sequence "\n") (" """)) (, ",") (identifier "param_2") () ")"))) (; ";"))) (expression_statement "FormatLocaleFile(param_1,\n                             "-------------------------------------------------------------------------------\n"\n                            );" (call_expression "FormatLocaleFile(param_1,\n                             "-------------------------------------------------------------------------------\n"\n                            )" (identifier "FormatLocaleFile") (argument_list "(param_1,\n                             "-------------------------------------------------------------------------------\n"\n                            )" (( "(") (identifier "param_1") (, ",") (string_literal ""-------------------------------------------------------------------------------\n"" (" """) (string_content "-------------------------------------------------------------------------------") (escape_sequence "\n") (" """)) () ")"))) (; ";")) (expression_statement "puVar5 = *(undefined4 **)(iVar1 + local_40 * 4);" (assignment_expression "puVar5 = *(undefined4 **)(iVar1 + local_40 * 4)" (identifier "puVar5") (= "=") (pointer_expression "*(undefined4 **)(iVar1 + local_40 * 4)" (* "*") (cast_expression "(undefined4 **)(iVar1 + local_40 * 4)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar1 + local_40 * 4)" (( "(") (binary_expression "iVar1 + local_40 * 4" (identifier "iVar1") (+ "+") (binary_expression "local_40 * 4" (identifier "local_40") (* "*") (number_literal "4"))) () ")"))))) (; ";")) (expression_statement "local_38 = (char *)*puVar5;" (assignment_expression "local_38 = (char *)*puVar5" (identifier "local_38") (= "=") (cast_expression "(char *)*puVar5" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar5" (* "*") (identifier "puVar5")))) (; ";")) (} "}")) (else_clause "else {\n            iVar3 = strcasecmp(local_38,pcVar6);\n            local_38 = pcVar6;\n            if (iVar3 != 0) {\nLAB_000fb978:\n              FormatLocaleFile(param_1,"\nPath: %s\n\n",pcVar6);\n              param_2 = pcVar6;\n              goto LAB_000fb98c;\n            }\n          }" (else "else") (compound_statement "{\n            iVar3 = strcasecmp(local_38,pcVar6);\n            local_38 = pcVar6;\n            if (iVar3 != 0) {\nLAB_000fb978:\n              FormatLocaleFile(param_1,"\nPath: %s\n\n",pcVar6);\n              param_2 = pcVar6;\n              goto LAB_000fb98c;\n            }\n          }" ({ "{") (expression_statement "iVar3 = strcasecmp(local_38,pcVar6);" (assignment_expression "iVar3 = strcasecmp(local_38,pcVar6)" (identifier "iVar3") (= "=") (call_expression "strcasecmp(local_38,pcVar6)" (identifier "strcasecmp") (argument_list "(local_38,pcVar6)" (( "(") (identifier "local_38") (, ",") (identifier "pcVar6") () ")")))) (; ";")) (expression_statement "local_38 = pcVar6;" (assignment_expression "local_38 = pcVar6" (identifier "local_38") (= "=") (identifier "pcVar6")) (; ";")) (if_statement "if (iVar3 != 0) {\nLAB_000fb978:\n              FormatLocaleFile(param_1,"\nPath: %s\n\n",pcVar6);\n              param_2 = pcVar6;\n              goto LAB_000fb98c;\n            }" (if "if") (parenthesized_expression "(iVar3 != 0)" (( "(") (binary_expression "iVar3 != 0" (identifier "iVar3") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\nLAB_000fb978:\n              FormatLocaleFile(param_1,"\nPath: %s\n\n",pcVar6);\n              param_2 = pcVar6;\n              goto LAB_000fb98c;\n            }" ({ "{") (labeled_statement "LAB_000fb978:\n              FormatLocaleFile(param_1,"\nPath: %s\n\n",pcVar6);" (statement_identifier "LAB_000fb978") (: ":") (expression_statement "FormatLocaleFile(param_1,"\nPath: %s\n\n",pcVar6);" (call_expression "FormatLocaleFile(param_1,"\nPath: %s\n\n",pcVar6)" (identifier "FormatLocaleFile") (argument_list "(param_1,"\nPath: %s\n\n",pcVar6)" (( "(") (identifier "param_1") (, ",") (string_literal ""\nPath: %s\n\n"" (" """) (escape_sequence "\n") (string_content "Path: %s") (escape_sequence "\n") (escape_sequence "\n") (" """)) (, ",") (identifier "pcVar6") () ")"))) (; ";"))) (expression_statement "param_2 = pcVar6;" (assignment_expression "param_2 = pcVar6" (identifier "param_2") (= "=") (identifier "pcVar6")) (; ";")) (goto_statement "goto LAB_000fb98c;" (goto "goto") (statement_identifier "LAB_000fb98c") (; ";")) (} "}"))) (} "}")))) (expression_statement "param_2 = (char *)puVar5[1];" (assignment_expression "param_2 = (char *)puVar5[1]" (identifier "param_2") (= "=") (cast_expression "(char *)puVar5[1]" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "puVar5[1]" (identifier "puVar5") ([ "[") (number_literal "1") (] "]")))) (; ";")) (expression_statement "FormatLocaleFile(param_1,&DAT_002b6e4e,param_2);" (call_expression "FormatLocaleFile(param_1,&DAT_002b6e4e,param_2)" (identifier "FormatLocaleFile") (argument_list "(param_1,&DAT_002b6e4e,param_2)" (( "(") (identifier "param_1") (, ",") (pointer_expression "&DAT_002b6e4e" (& "&") (identifier "DAT_002b6e4e")) (, ",") (identifier "param_2") () ")"))) (; ";")) (expression_statement "sVar4 = strlen(*(char **)(*(int *)(iVar1 + local_40 * 4) + 4));" (assignment_expression "sVar4 = strlen(*(char **)(*(int *)(iVar1 + local_40 * 4) + 4))" (identifier "sVar4") (= "=") (call_expression "strlen(*(char **)(*(int *)(iVar1 + local_40 * 4) + 4))" (identifier "strlen") (argument_list "(*(char **)(*(int *)(iVar1 + local_40 * 4) + 4))" (( "(") (pointer_expression "*(char **)(*(int *)(iVar1 + local_40 * 4) + 4)" (* "*") (cast_expression "(char **)(*(int *)(iVar1 + local_40 * 4) + 4)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*(int *)(iVar1 + local_40 * 4) + 4)" (( "(") (binary_expression "*(int *)(iVar1 + local_40 * 4) + 4" (pointer_expression "*(int *)(iVar1 + local_40 * 4)" (* "*") (cast_expression "(int *)(iVar1 + local_40 * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + local_40 * 4)" (( "(") (binary_expression "iVar1 + local_40 * 4" (identifier "iVar1") (+ "+") (binary_expression "local_40 * 4" (identifier "local_40") (* "*") (number_literal "4"))) () ")")))) (+ "+") (number_literal "4")) () ")")))) () ")")))) (; ";")) (if_statement "if (sVar4 < 0x1a) {\n            do {\n              sVar4 = sVar4 + 1;\n              FormatLocaleFile(param_1,&DAT_002cb63c,param_2);\n            } while (sVar4 != 0x1c);\n          }\n          else {\n            FormatLocaleFile(param_1,"\n",param_2);\n            iVar3 = 0x1c;\n            do {\n              FormatLocaleFile(param_1,&DAT_002cb63c,param_2);\n              iVar3 = iVar3 + -1;\n            } while (iVar3 != 0);\n          }" (if "if") (parenthesized_expression "(sVar4 < 0x1a)" (( "(") (binary_expression "sVar4 < 0x1a" (identifier "sVar4") (< "<") (number_literal "0x1a")) () ")")) (compound_statement "{\n            do {\n              sVar4 = sVar4 + 1;\n              FormatLocaleFile(param_1,&DAT_002cb63c,param_2);\n            } while (sVar4 != 0x1c);\n          }" ({ "{") (do_statement "do {\n              sVar4 = sVar4 + 1;\n              FormatLocaleFile(param_1,&DAT_002cb63c,param_2);\n            } while (sVar4 != 0x1c);" (do "do") (compound_statement "{\n              sVar4 = sVar4 + 1;\n              FormatLocaleFile(param_1,&DAT_002cb63c,param_2);\n            }" ({ "{") (expression_statement "sVar4 = sVar4 + 1;" (assignment_expression "sVar4 = sVar4 + 1" (identifier "sVar4") (= "=") (binary_expression "sVar4 + 1" (identifier "sVar4") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "FormatLocaleFile(param_1,&DAT_002cb63c,param_2);" (call_expression "FormatLocaleFile(param_1,&DAT_002cb63c,param_2)" (identifier "FormatLocaleFile") (argument_list "(param_1,&DAT_002cb63c,param_2)" (( "(") (identifier "param_1") (, ",") (pointer_expression "&DAT_002cb63c" (& "&") (identifier "DAT_002cb63c")) (, ",") (identifier "param_2") () ")"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(sVar4 != 0x1c)" (( "(") (binary_expression "sVar4 != 0x1c" (identifier "sVar4") (!= "!=") (number_literal "0x1c")) () ")")) (; ";")) (} "}")) (else_clause "else {\n            FormatLocaleFile(param_1,"\n",param_2);\n            iVar3 = 0x1c;\n            do {\n              FormatLocaleFile(param_1,&DAT_002cb63c,param_2);\n              iVar3 = iVar3 + -1;\n            } while (iVar3 != 0);\n          }" (else "else") (compound_statement "{\n            FormatLocaleFile(param_1,"\n",param_2);\n            iVar3 = 0x1c;\n            do {\n              FormatLocaleFile(param_1,&DAT_002cb63c,param_2);\n              iVar3 = iVar3 + -1;\n            } while (iVar3 != 0);\n          }" ({ "{") (expression_statement "FormatLocaleFile(param_1,"\n",param_2);" (call_expression "FormatLocaleFile(param_1,"\n",param_2)" (identifier "FormatLocaleFile") (argument_list "(param_1,"\n",param_2)" (( "(") (identifier "param_1") (, ",") (string_literal ""\n"" (" """) (escape_sequence "\n") (" """)) (, ",") (identifier "param_2") () ")"))) (; ";")) (expression_statement "iVar3 = 0x1c;" (assignment_expression "iVar3 = 0x1c" (identifier "iVar3") (= "=") (number_literal "0x1c")) (; ";")) (do_statement "do {\n              FormatLocaleFile(param_1,&DAT_002cb63c,param_2);\n              iVar3 = iVar3 + -1;\n            } while (iVar3 != 0);" (do "do") (compound_statement "{\n              FormatLocaleFile(param_1,&DAT_002cb63c,param_2);\n              iVar3 = iVar3 + -1;\n            }" ({ "{") (expression_statement "FormatLocaleFile(param_1,&DAT_002cb63c,param_2);" (call_expression "FormatLocaleFile(param_1,&DAT_002cb63c,param_2)" (identifier "FormatLocaleFile") (argument_list "(param_1,&DAT_002cb63c,param_2)" (( "(") (identifier "param_1") (, ",") (pointer_expression "&DAT_002cb63c" (& "&") (identifier "DAT_002cb63c")) (, ",") (identifier "param_2") () ")"))) (; ";")) (expression_statement "iVar3 = iVar3 + -1;" (assignment_expression "iVar3 = iVar3 + -1" (identifier "iVar3") (= "=") (binary_expression "iVar3 + -1" (identifier "iVar3") (+ "+") (number_literal "-1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar3 != 0)" (( "(") (binary_expression "iVar3 != 0" (identifier "iVar3") (!= "!=") (number_literal "0")) () ")")) (; ";")) (} "}")))) (expression_statement "pcVar6 = *(char **)(*(int *)(iVar1 + local_40 * 4) + 8);" (assignment_expression "pcVar6 = *(char **)(*(int *)(iVar1 + local_40 * 4) + 8)" (identifier "pcVar6") (= "=") (pointer_expression "*(char **)(*(int *)(iVar1 + local_40 * 4) + 8)" (* "*") (cast_expression "(char **)(*(int *)(iVar1 + local_40 * 4) + 8)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*(int *)(iVar1 + local_40 * 4) + 8)" (( "(") (binary_expression "*(int *)(iVar1 + local_40 * 4) + 8" (pointer_expression "*(int *)(iVar1 + local_40 * 4)" (* "*") (cast_expression "(int *)(iVar1 + local_40 * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + local_40 * 4)" (( "(") (binary_expression "iVar1 + local_40 * 4" (identifier "iVar1") (+ "+") (binary_expression "local_40 * 4" (identifier "local_40") (* "*") (number_literal "4"))) () ")")))) (+ "+") (number_literal "8")) () ")"))))) (; ";")) (if_statement "if (pcVar6 != (char *)0x0) {\n            FormatLocaleFile(param_1,&DAT_002b6e4e,pcVar6);\n            param_2 = pcVar6;\n          }" (if "if") (parenthesized_expression "(pcVar6 != (char *)0x0)" (( "(") (binary_expression "pcVar6 != (char *)0x0" (identifier "pcVar6") (!= "!=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n            FormatLocaleFile(param_1,&DAT_002b6e4e,pcVar6);\n            param_2 = pcVar6;\n          }" ({ "{") (expression_statement "FormatLocaleFile(param_1,&DAT_002b6e4e,pcVar6);" (call_expression "FormatLocaleFile(param_1,&DAT_002b6e4e,pcVar6)" (identifier "FormatLocaleFile") (argument_list "(param_1,&DAT_002b6e4e,pcVar6)" (( "(") (identifier "param_1") (, ",") (pointer_expression "&DAT_002b6e4e" (& "&") (identifier "DAT_002b6e4e")) (, ",") (identifier "pcVar6") () ")"))) (; ";")) (expression_statement "param_2 = pcVar6;" (assignment_expression "param_2 = pcVar6" (identifier "param_2") (= "=") (identifier "pcVar6")) (; ";")) (} "}"))) (expression_statement "FormatLocaleFile(param_1,"\n",param_2);" (call_expression "FormatLocaleFile(param_1,"\n",param_2)" (identifier "FormatLocaleFile") (argument_list "(param_1,"\n",param_2)" (( "(") (identifier "param_1") (, ",") (string_literal ""\n"" (" """) (escape_sequence "\n") (" """)) (, ",") (identifier "param_2") () ")"))) (; ";")) (} "}"))) (expression_statement "local_40 = local_40 + 1;" (assignment_expression "local_40 = local_40 + 1" (identifier "local_40") (= "=") (binary_expression "local_40 + 1" (identifier "local_40") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(local_40 < local_24)" (( "(") (binary_expression "local_40 < local_24" (identifier "local_40") (< "<") (identifier "local_24")) () ")")) (; ";")) (} "}"))) (expression_statement "fflush(param_1);" (call_expression "fflush(param_1)" (identifier "fflush") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")"))) (; ";")) (expression_statement "RelinquishMagickMemory(iVar1);" (call_expression "RelinquishMagickMemory(iVar1)" (identifier "RelinquishMagickMemory") (argument_list "(iVar1)" (( "(") (identifier "iVar1") () ")"))) (; ";")) (expression_statement "uVar2 = 1;" (assignment_expression "uVar2 = 1" (identifier "uVar2") (= "=") (number_literal "1")) (; ";")) (} "}"))) (if_statement "if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_0029eab0();\n  }" (if "if") (parenthesized_expression "(local_20 != *(int *)(in_GS_OFFSET + 0x14))" (( "(") (binary_expression "local_20 != *(int *)(in_GS_OFFSET + 0x14)" (identifier "local_20") (!= "!=") (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" (* "*") (cast_expression "(int *)(in_GS_OFFSET + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_GS_OFFSET + 0x14)" (( "(") (binary_expression "in_GS_OFFSET + 0x14" (identifier "in_GS_OFFSET") (+ "+") (number_literal "0x14")) () ")"))))) () ")")) (compound_statement "{\n                    \n    FUN_0029eab0();\n  }" ({ "{") (expression_statement "FUN_0029eab0();" (call_expression "FUN_0029eab0()" (identifier "FUN_0029eab0") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (return_statement "return uVar2;" (return "return") (identifier "uVar2") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Enum "ExceptionType": Some values do not have unique names */

type_1 function_1(type_2 *var_2,type_3 *exception)

{
  type_4 **var_4;
  type_1 MVar1;
  int var_10;
  size_t var_12;
  type_4 *pMVar4;
  int var_1;
  type_3 *var_7;
  int var_13;
  type_3 *var_6;
  size_t number_aliases;
  int var_16;
  type_5 uStack_14;
  
  uStack_14 = 0xfb7d9;
  var_16 = *(int *)(var_1 + 0x14);
  if (var_2 == (type_2 *)0x0) {
    var_2 = *(type_2 **)PTR_stdout_003d8fdc;
  }
  var_4 = var_3("*",&number_aliases,exception);
  MVar1 = var_5;
  if (var_4 != (type_4 **)0x0) {
    if (0 < (int)number_aliases) {
      var_13 = 0;
      var_6 = (type_3 *)0x0;
      do {
        pMVar4 = var_4[var_13];
        if (pMVar4->stealth == var_5) {
          var_7 = (type_3 *)pMVar4->path;
          if (var_6 == (type_3 *)0x0) {
            if (var_7 != (type_3 *)0x0) goto LAB_000fb978;
LAB_000fb98c:
            var_8(var_2,"Type                   Description\n",exception);
            var_8(var_2,
                             "-------------------------------------------------------------------------------\n"
                            );
            pMVar4 = var_4[var_13];
            var_6 = (type_3 *)pMVar4->path;
          }
          else {
            var_10 = var_9((char *)var_6,(char *)var_7);
            var_6 = var_7;
            if (var_10 != 0) {
LAB_000fb978:
              var_8(var_2,"\nPath: %s\n\n",var_7);
              exception = var_7;
              goto LAB_000fb98c;
            }
          }
          exception = (type_3 *)pMVar4->type;
          var_8(var_2,"%s",exception);
          var_12 = var_11(var_4[var_13]->type);
          if (var_12 < 0x1a) {
            do {
              var_12 = var_12 + 1;
              var_8(var_2," ",exception);
            } while (var_12 != 0x1c);
          }
          else {
            var_8(var_2,"\n",exception);
            var_10 = 0x1c;
            do {
              var_8(var_2," ",exception);
              var_10 = var_10 + -1;
            } while (var_10 != 0);
          }
          var_7 = (type_3 *)var_4[var_13]->description;
          if (var_7 != (type_3 *)0x0) {
            var_8(var_2,"%s",var_7);
            exception = var_7;
          }
          var_8(var_2,"\n",exception);
        }
        var_13 = var_13 + 1;
      } while (var_13 < (int)number_aliases);
    }
    var_14((type_2 *)var_2);
    var_15(var_4);
    MVar1 = MagickTrue;
  }
  if (var_16 != *(int *)(var_1 + 0x14)) {
                    /* WARNING: Subroutine does not return */
    var_17();
  }
  return MVar1;
}


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

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

undefined4 MASKED(FILE *param_1,char *param_2)

{
  int iVar1;
  undefined4 uVar2;
  int iVar3;
  size_t sVar4;
  undefined4 *puVar5;
  int in_GS_OFFSET;
  char *pcVar6;
  int local_40;
  char *local_38;
  int local_24;
  int local_20;
  undefined4 uStack_14;
  
  uStack_14 = 0xfb7d9;
  local_20 = *(int *)(in_GS_OFFSET + 0x14);
  if (param_1 == (FILE *)0x0) {
    param_1 = *(FILE **)PTR_stdout_003d8fdc;
  }
  iVar1 = GetMimeInfoList(&DAT_002b96d5,&local_24,param_2);
  uVar2 = 0;
  if (iVar1 != 0) {
    if (0 < local_24) {
      local_40 = 0;
      local_38 = (char *)0x0;
      do {
        puVar5 = *(undefined4 **)(iVar1 + local_40 * 4);
        if (puVar5[0xe] == 0) {
          pcVar6 = (char *)*puVar5;
          if (local_38 == (char *)0x0) {
            if (pcVar6 != (char *)0x0) goto LAB_000fb978;
LAB_000fb98c:
            FormatLocaleFile(param_1,"Type                   Description\n",param_2);
            FormatLocaleFile(param_1,
                             "-------------------------------------------------------------------------------\n"
                            );
            puVar5 = *(undefined4 **)(iVar1 + local_40 * 4);
            local_38 = (char *)*puVar5;
          }
          else {
            iVar3 = strcasecmp(local_38,pcVar6);
            local_38 = pcVar6;
            if (iVar3 != 0) {
LAB_000fb978:
              FormatLocaleFile(param_1,"\nPath: %s\n\n",pcVar6);
              param_2 = pcVar6;
              goto LAB_000fb98c;
            }
          }
          param_2 = (char *)puVar5[1];
          FormatLocaleFile(param_1,&DAT_002b6e4e,param_2);
          sVar4 = strlen(*(char **)(*(int *)(iVar1 + local_40 * 4) + 4));
          if (sVar4 < 0x1a) {
            do {
              sVar4 = sVar4 + 1;
              FormatLocaleFile(param_1,&DAT_002cb63c,param_2);
            } while (sVar4 != 0x1c);
          }
          else {
            FormatLocaleFile(param_1,"\n",param_2);
            iVar3 = 0x1c;
            do {
              FormatLocaleFile(param_1,&DAT_002cb63c,param_2);
              iVar3 = iVar3 + -1;
            } while (iVar3 != 0);
          }
          pcVar6 = *(char **)(*(int *)(iVar1 + local_40 * 4) + 8);
          if (pcVar6 != (char *)0x0) {
            FormatLocaleFile(param_1,&DAT_002b6e4e,pcVar6);
            param_2 = pcVar6;
          }
          FormatLocaleFile(param_1,"\n",param_2);
        }
        local_40 = local_40 + 1;
      } while (local_40 < local_24);
    }
    fflush(param_1);
    RelinquishMagickMemory(iVar1);
    uVar2 = 1;
  }
  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {
                    /* WARNING: Subroutine does not return */
    FUN_0029eab0();
  }
  return uVar2;
}

