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

int aliascmd(int argc,char **argv)

{
}



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

undefined4 __regparm3 FUN_0005aeb8(undefined4 param_1,int param_2)

{
  undefined4 *puVar1;
  undefined *puVar2;
  char *pcVar3;
  int *piVar4;
  undefined4 uVar5;
  int iVar6;
  undefined4 uVar7;
  int *local_30;
  
  puVar2 = PTR_stderr_000dbf8c;
  if (*(int *)(param_2 + 4) == 0) {
    iVar6 = 0;
    do {
      for (puVar1 = *(undefined4 **)(DAT_000dc280 + iVar6); puVar1 != (undefined4 *)0x0;
          puVar1 = (undefined4 *)*puVar1) {
        FUN_0005ae8b();
      }
      iVar6 = iVar6 + 4;
    } while (iVar6 != 0x9c);
  }
  else {
    local_30 = (int *)(param_2 + 4);
    iVar6 = *(int *)(param_2 + 4);
    uVar7 = 0;
    if (iVar6 != 0) {
      do {
        pcVar3 = strchr((char *)(iVar6 + 1),0x3d);
        if (pcVar3 == (char *)0x0) {
          piVar4 = (int *)FUN_00055ac0();
          if (*piVar4 == 0) {
            __fprintf_chk(*(undefined4 *)puVar2,1,"%s: %s not found\n","alias",iVar6);
            uVar7 = 1;
          }
          else {
            FUN_0005ae8b();
          }
        }
        else {
          *pcVar3 = '\0';
          piVar4 = (int *)FUN_00055ac0();
          iVar6 = *piVar4;
          *(int *)(DAT_000dc708 + 0x24) = *(int *)(DAT_000dc708 + 0x24) + 1;
          if (iVar6 == 0) {
            iVar6 = FUN_0001a2f5();
            uVar5 = FUN_0001a30f();
            *(undefined4 *)(iVar6 + 4) = uVar5;
            uVar5 = FUN_0001a30f();
            *(undefined4 *)(iVar6 + 8) = uVar5;
            *piVar4 = iVar6;
          }
          else {
            if ((*(byte *)(iVar6 + 0xc) & 1) == 0) {
              free(*(void **)(iVar6 + 8));
            }
            uVar5 = FUN_0001a30f();
            *(undefined4 *)(iVar6 + 8) = uVar5;
            *(uint *)(iVar6 + 0xc) = *(uint *)(iVar6 + 0xc) & 0xfffffffd;
          }
          FUN_00055de5();
        }
        local_30 = local_30 + 1;
        iVar6 = *local_30;
      } while (iVar6 != 0);
      return uVar7;
    }
  }
  return 0;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
SUB ESP,0x2c
CALL 0x00017650
ADD EBX,0x80b5c
MOV EAX,dword ptr [EDX + 0x4]
TEST EAX,EAX
JNZ 0x0005af08
XOR EDI,EDI
MOV EAX,dword ptr [EBX + 0x860]
MOV ESI,dword ptr [EAX + EDI*0x1]
TEST ESI,ESI
JZ 0x0005aef1
MOV EDX,dword ptr [ESI + 0x8]
LEA EAX,[ESI + 0x4]
CALL 0x0005ae8b
MOV ESI,dword ptr [ESI]
TEST ESI,ESI
JNZ 0x0005aee0
ADD EDI,0x4
CMP EDI,0x9c
JNZ 0x0005aed3
XOR EDI,EDI
MOV EAX,EDI
ADD ESP,0x2c
POP EBX
POP ESI
POP EDI
POP EBP
RET
LEA EAX,[EDX + 0x4]
MOV dword ptr [ESP + 0xc],EAX
MOV ESI,dword ptr [EDX + 0x4]
XOR EDI,EDI
TEST ESI,ESI
JZ 0x0005aefe
LEA EAX,[EBX + 0xce8]
MOV dword ptr [ESP + 0x14],EAX
MOV EAX,dword ptr [EBX + 0x56c]
MOV dword ptr [ESP + 0x18],EAX
SUB ESP,0x8
PUSH 0x3d
LEA EAX,[ESI + 0x1]
PUSH EAX
CALL 0x00016ad0
ADD ESP,0x10
TEST EAX,EAX
JNZ 0x0005af7b
MOV EAX,ESI
CALL 0x00055ac0
MOV EAX,dword ptr [EAX]
TEST EAX,EAX
JNZ 0x0005b015
SUB ESP,0xc
PUSH ESI
LEA EAX,[EBX + 0xffff4284]
PUSH EAX
LEA EAX,[EBX + 0xffff7f2a]
PUSH EAX
PUSH 0x1
MOV EAX,dword ptr [ESP + 0x34]
PUSH dword ptr [EAX]
CALL 0x00017350
ADD ESP,0x20
MOV EDI,0x1
JMP 0x0005afca
LEA ECX,[EAX + 0x1]
MOV dword ptr [ESP + 0x10],ECX
MOV byte ptr [EAX],0x0
MOV EAX,ESI
CALL 0x00055ac0
MOV EDX,EAX
MOV EBP,dword ptr [EAX]
MOV EAX,dword ptr [ESP + 0x14]
MOV ECX,dword ptr [EAX]
MOV EAX,dword ptr [ECX + 0x24]
INC EAX
MOV dword ptr [ECX + 0x24],EAX
TEST EBP,EBP
JZ 0x0005afe7
TEST byte ptr [EBP + 0xc],0x1
JNZ 0x0005afb5
SUB ESP,0xc
PUSH dword ptr [EBP + 0x8]
CALL 0x000175a0
ADD ESP,0x10
MOV EAX,dword ptr [ESP + 0x10]
CALL 0x0001a30f
MOV dword ptr [EBP + 0x8],EAX
AND dword ptr [EBP + 0xc],0xfffffffd
CALL 0x00055de5
ADD dword ptr [ESP + 0xc],0x4
MOV EAX,dword ptr [ESP + 0xc]
MOV ESI,dword ptr [EAX]
TEST ESI,ESI
JNZ 0x0005af2c
MOV EAX,EDI
ADD ESP,0x2c
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV dword ptr [ESP + 0x1c],EDX
MOV EAX,0x10
CALL 0x0001a2f5
MOV EBP,EAX
MOV EAX,ESI
CALL 0x0001a30f
MOV dword ptr [EBP + 0x4],EAX
MOV EAX,dword ptr [ESP + 0x10]
CALL 0x0001a30f
MOV dword ptr [EBP + 0x8],EAX
MOV EDX,dword ptr [ESP + 0x1c]
MOV dword ptr [EDX],EBP
JMP 0x0005afc5
MOV EDX,dword ptr [EAX + 0x8]
ADD EAX,0x4
CALL 0x0005ae8b
JMP 0x0005afca
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nundefined4 __regparm3 FUN_0005aeb8(undefined4 param_1,int param_2)\n\n{\n  undefined4 *puVar1;\n  undefined *puVar2;\n  char *pcVar3;\n  int *piVar4;\n  undefined4 uVar5;\n  int iVar6;\n  undefined4 uVar7;\n  int *local_30;\n  \n  puVar2 = PTR_stderr_000dbf8c;\n  if (*(int *)(param_2 + 4) == 0) {\n    iVar6 = 0;\n    do {\n      for (puVar1 = *(undefined4 **)(DAT_000dc280 + iVar6); puVar1 != (undefined4 *)0x0;\n          puVar1 = (undefined4 *)*puVar1) {\n        FUN_0005ae8b();\n      }\n      iVar6 = iVar6 + 4;\n    } while (iVar6 != 0x9c);\n  }\n  else {\n    local_30 = (int *)(param_2 + 4);\n    iVar6 = *(int *)(param_2 + 4);\n    uVar7 = 0;\n    if (iVar6 != 0) {\n      do {\n        pcVar3 = strchr((char *)(iVar6 + 1),0x3d);\n        if (pcVar3 == (char *)0x0) {\n          piVar4 = (int *)FUN_00055ac0();\n          if (*piVar4 == 0) {\n            __fprintf_chk(*(undefined4 *)puVar2,1,"%s: %s not found\n","alias",iVar6);\n            uVar7 = 1;\n          }\n          else {\n            FUN_0005ae8b();\n          }\n        }\n        else {\n          *pcVar3 = '\0';\n          piVar4 = (int *)FUN_00055ac0();\n          iVar6 = *piVar4;\n          *(int *)(DAT_000dc708 + 0x24) = *(int *)(DAT_000dc708 + 0x24) + 1;\n          if (iVar6 == 0) {\n            iVar6 = FUN_0001a2f5();\n            uVar5 = FUN_0001a30f();\n            *(undefined4 *)(iVar6 + 4) = uVar5;\n            uVar5 = FUN_0001a30f();\n            *(undefined4 *)(iVar6 + 8) = uVar5;\n            *piVar4 = iVar6;\n          }\n          else {\n            if ((*(byte *)(iVar6 + 0xc) & 1) == 0) {\n              free(*(void **)(iVar6 + 8));\n            }\n            uVar5 = FUN_0001a30f();\n            *(undefined4 *)(iVar6 + 8) = uVar5;\n            *(uint *)(iVar6 + 0xc) = *(uint *)(iVar6 + 0xc) & 0xfffffffd;\n          }\n          FUN_00055de5();\n        }\n        local_30 = local_30 + 1;\n        iVar6 = *local_30;\n      } while (iVar6 != 0);\n      return uVar7;\n    }\n  }\n  return 0;\n}\n\n" comment (function_definition "undefined4 __regparm3 FUN_0005aeb8(undefined4 param_1,int param_2)\n\n{\n  undefined4 *puVar1;\n  undefined *puVar2;\n  char *pcVar3;\n  int *piVar4;\n  undefined4 uVar5;\n  int iVar6;\n  undefined4 uVar7;\n  int *local_30;\n  \n  puVar2 = PTR_stderr_000dbf8c;\n  if (*(int *)(param_2 + 4) == 0) {\n    iVar6 = 0;\n    do {\n      for (puVar1 = *(undefined4 **)(DAT_000dc280 + iVar6); puVar1 != (undefined4 *)0x0;\n          puVar1 = (undefined4 *)*puVar1) {\n        FUN_0005ae8b();\n      }\n      iVar6 = iVar6 + 4;\n    } while (iVar6 != 0x9c);\n  }\n  else {\n    local_30 = (int *)(param_2 + 4);\n    iVar6 = *(int *)(param_2 + 4);\n    uVar7 = 0;\n    if (iVar6 != 0) {\n      do {\n        pcVar3 = strchr((char *)(iVar6 + 1),0x3d);\n        if (pcVar3 == (char *)0x0) {\n          piVar4 = (int *)FUN_00055ac0();\n          if (*piVar4 == 0) {\n            __fprintf_chk(*(undefined4 *)puVar2,1,"%s: %s not found\n","alias",iVar6);\n            uVar7 = 1;\n          }\n          else {\n            FUN_0005ae8b();\n          }\n        }\n        else {\n          *pcVar3 = '\0';\n          piVar4 = (int *)FUN_00055ac0();\n          iVar6 = *piVar4;\n          *(int *)(DAT_000dc708 + 0x24) = *(int *)(DAT_000dc708 + 0x24) + 1;\n          if (iVar6 == 0) {\n            iVar6 = FUN_0001a2f5();\n            uVar5 = FUN_0001a30f();\n            *(undefined4 *)(iVar6 + 4) = uVar5;\n            uVar5 = FUN_0001a30f();\n            *(undefined4 *)(iVar6 + 8) = uVar5;\n            *piVar4 = iVar6;\n          }\n          else {\n            if ((*(byte *)(iVar6 + 0xc) & 1) == 0) {\n              free(*(void **)(iVar6 + 8));\n            }\n            uVar5 = FUN_0001a30f();\n            *(undefined4 *)(iVar6 + 8) = uVar5;\n            *(uint *)(iVar6 + 0xc) = *(uint *)(iVar6 + 0xc) & 0xfffffffd;\n          }\n          FUN_00055de5();\n        }\n        local_30 = local_30 + 1;\n        iVar6 = *local_30;\n      } while (iVar6 != 0);\n      return uVar7;\n    }\n  }\n  return 0;\n}" type_identifier (ERROR "__regparm3" identifier) (function_declarator "FUN_0005aeb8(undefined4 param_1,int param_2)" identifier (parameter_list "(undefined4 param_1,int param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  undefined4 *puVar1;\n  undefined *puVar2;\n  char *pcVar3;\n  int *piVar4;\n  undefined4 uVar5;\n  int iVar6;\n  undefined4 uVar7;\n  int *local_30;\n  \n  puVar2 = PTR_stderr_000dbf8c;\n  if (*(int *)(param_2 + 4) == 0) {\n    iVar6 = 0;\n    do {\n      for (puVar1 = *(undefined4 **)(DAT_000dc280 + iVar6); puVar1 != (undefined4 *)0x0;\n          puVar1 = (undefined4 *)*puVar1) {\n        FUN_0005ae8b();\n      }\n      iVar6 = iVar6 + 4;\n    } while (iVar6 != 0x9c);\n  }\n  else {\n    local_30 = (int *)(param_2 + 4);\n    iVar6 = *(int *)(param_2 + 4);\n    uVar7 = 0;\n    if (iVar6 != 0) {\n      do {\n        pcVar3 = strchr((char *)(iVar6 + 1),0x3d);\n        if (pcVar3 == (char *)0x0) {\n          piVar4 = (int *)FUN_00055ac0();\n          if (*piVar4 == 0) {\n            __fprintf_chk(*(undefined4 *)puVar2,1,"%s: %s not found\n","alias",iVar6);\n            uVar7 = 1;\n          }\n          else {\n            FUN_0005ae8b();\n          }\n        }\n        else {\n          *pcVar3 = '\0';\n          piVar4 = (int *)FUN_00055ac0();\n          iVar6 = *piVar4;\n          *(int *)(DAT_000dc708 + 0x24) = *(int *)(DAT_000dc708 + 0x24) + 1;\n          if (iVar6 == 0) {\n            iVar6 = FUN_0001a2f5();\n            uVar5 = FUN_0001a30f();\n            *(undefined4 *)(iVar6 + 4) = uVar5;\n            uVar5 = FUN_0001a30f();\n            *(undefined4 *)(iVar6 + 8) = uVar5;\n            *piVar4 = iVar6;\n          }\n          else {\n            if ((*(byte *)(iVar6 + 0xc) & 1) == 0) {\n              free(*(void **)(iVar6 + 8));\n            }\n            uVar5 = FUN_0001a30f();\n            *(undefined4 *)(iVar6 + 8) = uVar5;\n            *(uint *)(iVar6 + 0xc) = *(uint *)(iVar6 + 0xc) & 0xfffffffd;\n          }\n          FUN_00055de5();\n        }\n        local_30 = local_30 + 1;\n        iVar6 = *local_30;\n      } while (iVar6 != 0);\n      return uVar7;\n    }\n  }\n  return 0;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "char *pcVar3;" primitive_type (pointer_declarator "*pcVar3" * identifier) ;) (declaration "int *piVar4;" primitive_type (pointer_declarator "*piVar4" * identifier) ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "undefined4 uVar7;" type_identifier identifier ;) (declaration "int *local_30;" primitive_type (pointer_declarator "*local_30" * identifier) ;) (expression_statement "puVar2 = PTR_stderr_000dbf8c;" (assignment_expression "puVar2 = PTR_stderr_000dbf8c" identifier = identifier) ;) (if_statement "if (*(int *)(param_2 + 4) == 0) {\n    iVar6 = 0;\n    do {\n      for (puVar1 = *(undefined4 **)(DAT_000dc280 + iVar6); puVar1 != (undefined4 *)0x0;\n          puVar1 = (undefined4 *)*puVar1) {\n        FUN_0005ae8b();\n      }\n      iVar6 = iVar6 + 4;\n    } while (iVar6 != 0x9c);\n  }\n  else {\n    local_30 = (int *)(param_2 + 4);\n    iVar6 = *(int *)(param_2 + 4);\n    uVar7 = 0;\n    if (iVar6 != 0) {\n      do {\n        pcVar3 = strchr((char *)(iVar6 + 1),0x3d);\n        if (pcVar3 == (char *)0x0) {\n          piVar4 = (int *)FUN_00055ac0();\n          if (*piVar4 == 0) {\n            __fprintf_chk(*(undefined4 *)puVar2,1,"%s: %s not found\n","alias",iVar6);\n            uVar7 = 1;\n          }\n          else {\n            FUN_0005ae8b();\n          }\n        }\n        else {\n          *pcVar3 = '\0';\n          piVar4 = (int *)FUN_00055ac0();\n          iVar6 = *piVar4;\n          *(int *)(DAT_000dc708 + 0x24) = *(int *)(DAT_000dc708 + 0x24) + 1;\n          if (iVar6 == 0) {\n            iVar6 = FUN_0001a2f5();\n            uVar5 = FUN_0001a30f();\n            *(undefined4 *)(iVar6 + 4) = uVar5;\n            uVar5 = FUN_0001a30f();\n            *(undefined4 *)(iVar6 + 8) = uVar5;\n            *piVar4 = iVar6;\n          }\n          else {\n            if ((*(byte *)(iVar6 + 0xc) & 1) == 0) {\n              free(*(void **)(iVar6 + 8));\n            }\n            uVar5 = FUN_0001a30f();\n            *(undefined4 *)(iVar6 + 8) = uVar5;\n            *(uint *)(iVar6 + 0xc) = *(uint *)(iVar6 + 0xc) & 0xfffffffd;\n          }\n          FUN_00055de5();\n        }\n        local_30 = local_30 + 1;\n        iVar6 = *local_30;\n      } while (iVar6 != 0);\n      return uVar7;\n    }\n  }" if (parenthesized_expression "(*(int *)(param_2 + 4) == 0)" ( (binary_expression "*(int *)(param_2 + 4) == 0" (pointer_expression "*(int *)(param_2 + 4)" * (cast_expression "(int *)(param_2 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    iVar6 = 0;\n    do {\n      for (puVar1 = *(undefined4 **)(DAT_000dc280 + iVar6); puVar1 != (undefined4 *)0x0;\n          puVar1 = (undefined4 *)*puVar1) {\n        FUN_0005ae8b();\n      }\n      iVar6 = iVar6 + 4;\n    } while (iVar6 != 0x9c);\n  }" { (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" identifier = number_literal) ;) (do_statement "do {\n      for (puVar1 = *(undefined4 **)(DAT_000dc280 + iVar6); puVar1 != (undefined4 *)0x0;\n          puVar1 = (undefined4 *)*puVar1) {\n        FUN_0005ae8b();\n      }\n      iVar6 = iVar6 + 4;\n    } while (iVar6 != 0x9c);" do (compound_statement "{\n      for (puVar1 = *(undefined4 **)(DAT_000dc280 + iVar6); puVar1 != (undefined4 *)0x0;\n          puVar1 = (undefined4 *)*puVar1) {\n        FUN_0005ae8b();\n      }\n      iVar6 = iVar6 + 4;\n    }" { (for_statement "for (puVar1 = *(undefined4 **)(DAT_000dc280 + iVar6); puVar1 != (undefined4 *)0x0;\n          puVar1 = (undefined4 *)*puVar1) {\n        FUN_0005ae8b();\n      }" for ( (assignment_expression "puVar1 = *(undefined4 **)(DAT_000dc280 + iVar6)" identifier = (pointer_expression "*(undefined4 **)(DAT_000dc280 + iVar6)" * (cast_expression "(undefined4 **)(DAT_000dc280 + iVar6)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(DAT_000dc280 + iVar6)" ( (binary_expression "DAT_000dc280 + iVar6" identifier + identifier) ))))) ; (binary_expression "puVar1 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ; (assignment_expression "puVar1 = (undefined4 *)*puVar1" identifier = (cast_expression "(undefined4 *)*puVar1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar1" * identifier))) ) (compound_statement "{\n        FUN_0005ae8b();\n      }" { (expression_statement "FUN_0005ae8b();" (call_expression "FUN_0005ae8b()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "iVar6 = iVar6 + 4;" (assignment_expression "iVar6 = iVar6 + 4" identifier = (binary_expression "iVar6 + 4" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar6 != 0x9c)" ( (binary_expression "iVar6 != 0x9c" identifier != number_literal) )) ;) }) (else_clause "else {\n    local_30 = (int *)(param_2 + 4);\n    iVar6 = *(int *)(param_2 + 4);\n    uVar7 = 0;\n    if (iVar6 != 0) {\n      do {\n        pcVar3 = strchr((char *)(iVar6 + 1),0x3d);\n        if (pcVar3 == (char *)0x0) {\n          piVar4 = (int *)FUN_00055ac0();\n          if (*piVar4 == 0) {\n            __fprintf_chk(*(undefined4 *)puVar2,1,"%s: %s not found\n","alias",iVar6);\n            uVar7 = 1;\n          }\n          else {\n            FUN_0005ae8b();\n          }\n        }\n        else {\n          *pcVar3 = '\0';\n          piVar4 = (int *)FUN_00055ac0();\n          iVar6 = *piVar4;\n          *(int *)(DAT_000dc708 + 0x24) = *(int *)(DAT_000dc708 + 0x24) + 1;\n          if (iVar6 == 0) {\n            iVar6 = FUN_0001a2f5();\n            uVar5 = FUN_0001a30f();\n            *(undefined4 *)(iVar6 + 4) = uVar5;\n            uVar5 = FUN_0001a30f();\n            *(undefined4 *)(iVar6 + 8) = uVar5;\n            *piVar4 = iVar6;\n          }\n          else {\n            if ((*(byte *)(iVar6 + 0xc) & 1) == 0) {\n              free(*(void **)(iVar6 + 8));\n            }\n            uVar5 = FUN_0001a30f();\n            *(undefined4 *)(iVar6 + 8) = uVar5;\n            *(uint *)(iVar6 + 0xc) = *(uint *)(iVar6 + 0xc) & 0xfffffffd;\n          }\n          FUN_00055de5();\n        }\n        local_30 = local_30 + 1;\n        iVar6 = *local_30;\n      } while (iVar6 != 0);\n      return uVar7;\n    }\n  }" else (compound_statement "{\n    local_30 = (int *)(param_2 + 4);\n    iVar6 = *(int *)(param_2 + 4);\n    uVar7 = 0;\n    if (iVar6 != 0) {\n      do {\n        pcVar3 = strchr((char *)(iVar6 + 1),0x3d);\n        if (pcVar3 == (char *)0x0) {\n          piVar4 = (int *)FUN_00055ac0();\n          if (*piVar4 == 0) {\n            __fprintf_chk(*(undefined4 *)puVar2,1,"%s: %s not found\n","alias",iVar6);\n            uVar7 = 1;\n          }\n          else {\n            FUN_0005ae8b();\n          }\n        }\n        else {\n          *pcVar3 = '\0';\n          piVar4 = (int *)FUN_00055ac0();\n          iVar6 = *piVar4;\n          *(int *)(DAT_000dc708 + 0x24) = *(int *)(DAT_000dc708 + 0x24) + 1;\n          if (iVar6 == 0) {\n            iVar6 = FUN_0001a2f5();\n            uVar5 = FUN_0001a30f();\n            *(undefined4 *)(iVar6 + 4) = uVar5;\n            uVar5 = FUN_0001a30f();\n            *(undefined4 *)(iVar6 + 8) = uVar5;\n            *piVar4 = iVar6;\n          }\n          else {\n            if ((*(byte *)(iVar6 + 0xc) & 1) == 0) {\n              free(*(void **)(iVar6 + 8));\n            }\n            uVar5 = FUN_0001a30f();\n            *(undefined4 *)(iVar6 + 8) = uVar5;\n            *(uint *)(iVar6 + 0xc) = *(uint *)(iVar6 + 0xc) & 0xfffffffd;\n          }\n          FUN_00055de5();\n        }\n        local_30 = local_30 + 1;\n        iVar6 = *local_30;\n      } while (iVar6 != 0);\n      return uVar7;\n    }\n  }" { (expression_statement "local_30 = (int *)(param_2 + 4);" (assignment_expression "local_30 = (int *)(param_2 + 4)" identifier = (cast_expression "(int *)(param_2 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) )))) ;) (expression_statement "iVar6 = *(int *)(param_2 + 4);" (assignment_expression "iVar6 = *(int *)(param_2 + 4)" identifier = (pointer_expression "*(int *)(param_2 + 4)" * (cast_expression "(int *)(param_2 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) ))))) ;) (expression_statement "uVar7 = 0;" (assignment_expression "uVar7 = 0" identifier = number_literal) ;) (if_statement "if (iVar6 != 0) {\n      do {\n        pcVar3 = strchr((char *)(iVar6 + 1),0x3d);\n        if (pcVar3 == (char *)0x0) {\n          piVar4 = (int *)FUN_00055ac0();\n          if (*piVar4 == 0) {\n            __fprintf_chk(*(undefined4 *)puVar2,1,"%s: %s not found\n","alias",iVar6);\n            uVar7 = 1;\n          }\n          else {\n            FUN_0005ae8b();\n          }\n        }\n        else {\n          *pcVar3 = '\0';\n          piVar4 = (int *)FUN_00055ac0();\n          iVar6 = *piVar4;\n          *(int *)(DAT_000dc708 + 0x24) = *(int *)(DAT_000dc708 + 0x24) + 1;\n          if (iVar6 == 0) {\n            iVar6 = FUN_0001a2f5();\n            uVar5 = FUN_0001a30f();\n            *(undefined4 *)(iVar6 + 4) = uVar5;\n            uVar5 = FUN_0001a30f();\n            *(undefined4 *)(iVar6 + 8) = uVar5;\n            *piVar4 = iVar6;\n          }\n          else {\n            if ((*(byte *)(iVar6 + 0xc) & 1) == 0) {\n              free(*(void **)(iVar6 + 8));\n            }\n            uVar5 = FUN_0001a30f();\n            *(undefined4 *)(iVar6 + 8) = uVar5;\n            *(uint *)(iVar6 + 0xc) = *(uint *)(iVar6 + 0xc) & 0xfffffffd;\n          }\n          FUN_00055de5();\n        }\n        local_30 = local_30 + 1;\n        iVar6 = *local_30;\n      } while (iVar6 != 0);\n      return uVar7;\n    }" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (compound_statement "{\n      do {\n        pcVar3 = strchr((char *)(iVar6 + 1),0x3d);\n        if (pcVar3 == (char *)0x0) {\n          piVar4 = (int *)FUN_00055ac0();\n          if (*piVar4 == 0) {\n            __fprintf_chk(*(undefined4 *)puVar2,1,"%s: %s not found\n","alias",iVar6);\n            uVar7 = 1;\n          }\n          else {\n            FUN_0005ae8b();\n          }\n        }\n        else {\n          *pcVar3 = '\0';\n          piVar4 = (int *)FUN_00055ac0();\n          iVar6 = *piVar4;\n          *(int *)(DAT_000dc708 + 0x24) = *(int *)(DAT_000dc708 + 0x24) + 1;\n          if (iVar6 == 0) {\n            iVar6 = FUN_0001a2f5();\n            uVar5 = FUN_0001a30f();\n            *(undefined4 *)(iVar6 + 4) = uVar5;\n            uVar5 = FUN_0001a30f();\n            *(undefined4 *)(iVar6 + 8) = uVar5;\n            *piVar4 = iVar6;\n          }\n          else {\n            if ((*(byte *)(iVar6 + 0xc) & 1) == 0) {\n              free(*(void **)(iVar6 + 8));\n            }\n            uVar5 = FUN_0001a30f();\n            *(undefined4 *)(iVar6 + 8) = uVar5;\n            *(uint *)(iVar6 + 0xc) = *(uint *)(iVar6 + 0xc) & 0xfffffffd;\n          }\n          FUN_00055de5();\n        }\n        local_30 = local_30 + 1;\n        iVar6 = *local_30;\n      } while (iVar6 != 0);\n      return uVar7;\n    }" { (do_statement "do {\n        pcVar3 = strchr((char *)(iVar6 + 1),0x3d);\n        if (pcVar3 == (char *)0x0) {\n          piVar4 = (int *)FUN_00055ac0();\n          if (*piVar4 == 0) {\n            __fprintf_chk(*(undefined4 *)puVar2,1,"%s: %s not found\n","alias",iVar6);\n            uVar7 = 1;\n          }\n          else {\n            FUN_0005ae8b();\n          }\n        }\n        else {\n          *pcVar3 = '\0';\n          piVar4 = (int *)FUN_00055ac0();\n          iVar6 = *piVar4;\n          *(int *)(DAT_000dc708 + 0x24) = *(int *)(DAT_000dc708 + 0x24) + 1;\n          if (iVar6 == 0) {\n            iVar6 = FUN_0001a2f5();\n            uVar5 = FUN_0001a30f();\n            *(undefined4 *)(iVar6 + 4) = uVar5;\n            uVar5 = FUN_0001a30f();\n            *(undefined4 *)(iVar6 + 8) = uVar5;\n            *piVar4 = iVar6;\n          }\n          else {\n            if ((*(byte *)(iVar6 + 0xc) & 1) == 0) {\n              free(*(void **)(iVar6 + 8));\n            }\n            uVar5 = FUN_0001a30f();\n            *(undefined4 *)(iVar6 + 8) = uVar5;\n            *(uint *)(iVar6 + 0xc) = *(uint *)(iVar6 + 0xc) & 0xfffffffd;\n          }\n          FUN_00055de5();\n        }\n        local_30 = local_30 + 1;\n        iVar6 = *local_30;\n      } while (iVar6 != 0);" do (compound_statement "{\n        pcVar3 = strchr((char *)(iVar6 + 1),0x3d);\n        if (pcVar3 == (char *)0x0) {\n          piVar4 = (int *)FUN_00055ac0();\n          if (*piVar4 == 0) {\n            __fprintf_chk(*(undefined4 *)puVar2,1,"%s: %s not found\n","alias",iVar6);\n            uVar7 = 1;\n          }\n          else {\n            FUN_0005ae8b();\n          }\n        }\n        else {\n          *pcVar3 = '\0';\n          piVar4 = (int *)FUN_00055ac0();\n          iVar6 = *piVar4;\n          *(int *)(DAT_000dc708 + 0x24) = *(int *)(DAT_000dc708 + 0x24) + 1;\n          if (iVar6 == 0) {\n            iVar6 = FUN_0001a2f5();\n            uVar5 = FUN_0001a30f();\n            *(undefined4 *)(iVar6 + 4) = uVar5;\n            uVar5 = FUN_0001a30f();\n            *(undefined4 *)(iVar6 + 8) = uVar5;\n            *piVar4 = iVar6;\n          }\n          else {\n            if ((*(byte *)(iVar6 + 0xc) & 1) == 0) {\n              free(*(void **)(iVar6 + 8));\n            }\n            uVar5 = FUN_0001a30f();\n            *(undefined4 *)(iVar6 + 8) = uVar5;\n            *(uint *)(iVar6 + 0xc) = *(uint *)(iVar6 + 0xc) & 0xfffffffd;\n          }\n          FUN_00055de5();\n        }\n        local_30 = local_30 + 1;\n        iVar6 = *local_30;\n      }" { (expression_statement "pcVar3 = strchr((char *)(iVar6 + 1),0x3d);" (assignment_expression "pcVar3 = strchr((char *)(iVar6 + 1),0x3d)" identifier = (call_expression "strchr((char *)(iVar6 + 1),0x3d)" identifier (argument_list "((char *)(iVar6 + 1),0x3d)" ( (cast_expression "(char *)(iVar6 + 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 1)" ( (binary_expression "iVar6 + 1" identifier + number_literal) ))) , number_literal )))) ;) (if_statement "if (pcVar3 == (char *)0x0) {\n          piVar4 = (int *)FUN_00055ac0();\n          if (*piVar4 == 0) {\n            __fprintf_chk(*(undefined4 *)puVar2,1,"%s: %s not found\n","alias",iVar6);\n            uVar7 = 1;\n          }\n          else {\n            FUN_0005ae8b();\n          }\n        }\n        else {\n          *pcVar3 = '\0';\n          piVar4 = (int *)FUN_00055ac0();\n          iVar6 = *piVar4;\n          *(int *)(DAT_000dc708 + 0x24) = *(int *)(DAT_000dc708 + 0x24) + 1;\n          if (iVar6 == 0) {\n            iVar6 = FUN_0001a2f5();\n            uVar5 = FUN_0001a30f();\n            *(undefined4 *)(iVar6 + 4) = uVar5;\n            uVar5 = FUN_0001a30f();\n            *(undefined4 *)(iVar6 + 8) = uVar5;\n            *piVar4 = iVar6;\n          }\n          else {\n            if ((*(byte *)(iVar6 + 0xc) & 1) == 0) {\n              free(*(void **)(iVar6 + 8));\n            }\n            uVar5 = FUN_0001a30f();\n            *(undefined4 *)(iVar6 + 8) = uVar5;\n            *(uint *)(iVar6 + 0xc) = *(uint *)(iVar6 + 0xc) & 0xfffffffd;\n          }\n          FUN_00055de5();\n        }" if (parenthesized_expression "(pcVar3 == (char *)0x0)" ( (binary_expression "pcVar3 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          piVar4 = (int *)FUN_00055ac0();\n          if (*piVar4 == 0) {\n            __fprintf_chk(*(undefined4 *)puVar2,1,"%s: %s not found\n","alias",iVar6);\n            uVar7 = 1;\n          }\n          else {\n            FUN_0005ae8b();\n          }\n        }" { (expression_statement "piVar4 = (int *)FUN_00055ac0();" (assignment_expression "piVar4 = (int *)FUN_00055ac0()" identifier = (cast_expression "(int *)FUN_00055ac0()" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00055ac0()" identifier (argument_list "()" ( ))))) ;) (if_statement "if (*piVar4 == 0) {\n            __fprintf_chk(*(undefined4 *)puVar2,1,"%s: %s not found\n","alias",iVar6);\n            uVar7 = 1;\n          }\n          else {\n            FUN_0005ae8b();\n          }" if (parenthesized_expression "(*piVar4 == 0)" ( (binary_expression "*piVar4 == 0" (pointer_expression "*piVar4" * identifier) == number_literal) )) (compound_statement "{\n            __fprintf_chk(*(undefined4 *)puVar2,1,"%s: %s not found\n","alias",iVar6);\n            uVar7 = 1;\n          }" { (expression_statement "__fprintf_chk(*(undefined4 *)puVar2,1,"%s: %s not found\n","alias",iVar6);" (call_expression "__fprintf_chk(*(undefined4 *)puVar2,1,"%s: %s not found\n","alias",iVar6)" identifier (argument_list "(*(undefined4 *)puVar2,1,"%s: %s not found\n","alias",iVar6)" ( (pointer_expression "*(undefined4 *)puVar2" * (cast_expression "(undefined4 *)puVar2" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , number_literal , (string_literal ""%s: %s not found\n"" " string_content escape_sequence ") , (string_literal ""alias"" " string_content ") , identifier ))) ;) (expression_statement "uVar7 = 1;" (assignment_expression "uVar7 = 1" identifier = number_literal) ;) }) (else_clause "else {\n            FUN_0005ae8b();\n          }" else (compound_statement "{\n            FUN_0005ae8b();\n          }" { (expression_statement "FUN_0005ae8b();" (call_expression "FUN_0005ae8b()" identifier (argument_list "()" ( ))) ;) }))) }) (else_clause "else {\n          *pcVar3 = '\0';\n          piVar4 = (int *)FUN_00055ac0();\n          iVar6 = *piVar4;\n          *(int *)(DAT_000dc708 + 0x24) = *(int *)(DAT_000dc708 + 0x24) + 1;\n          if (iVar6 == 0) {\n            iVar6 = FUN_0001a2f5();\n            uVar5 = FUN_0001a30f();\n            *(undefined4 *)(iVar6 + 4) = uVar5;\n            uVar5 = FUN_0001a30f();\n            *(undefined4 *)(iVar6 + 8) = uVar5;\n            *piVar4 = iVar6;\n          }\n          else {\n            if ((*(byte *)(iVar6 + 0xc) & 1) == 0) {\n              free(*(void **)(iVar6 + 8));\n            }\n            uVar5 = FUN_0001a30f();\n            *(undefined4 *)(iVar6 + 8) = uVar5;\n            *(uint *)(iVar6 + 0xc) = *(uint *)(iVar6 + 0xc) & 0xfffffffd;\n          }\n          FUN_00055de5();\n        }" else (compound_statement "{\n          *pcVar3 = '\0';\n          piVar4 = (int *)FUN_00055ac0();\n          iVar6 = *piVar4;\n          *(int *)(DAT_000dc708 + 0x24) = *(int *)(DAT_000dc708 + 0x24) + 1;\n          if (iVar6 == 0) {\n            iVar6 = FUN_0001a2f5();\n            uVar5 = FUN_0001a30f();\n            *(undefined4 *)(iVar6 + 4) = uVar5;\n            uVar5 = FUN_0001a30f();\n            *(undefined4 *)(iVar6 + 8) = uVar5;\n            *piVar4 = iVar6;\n          }\n          else {\n            if ((*(byte *)(iVar6 + 0xc) & 1) == 0) {\n              free(*(void **)(iVar6 + 8));\n            }\n            uVar5 = FUN_0001a30f();\n            *(undefined4 *)(iVar6 + 8) = uVar5;\n            *(uint *)(iVar6 + 0xc) = *(uint *)(iVar6 + 0xc) & 0xfffffffd;\n          }\n          FUN_00055de5();\n        }" { (expression_statement "*pcVar3 = '\0';" (assignment_expression "*pcVar3 = '\0'" (pointer_expression "*pcVar3" * identifier) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "piVar4 = (int *)FUN_00055ac0();" (assignment_expression "piVar4 = (int *)FUN_00055ac0()" identifier = (cast_expression "(int *)FUN_00055ac0()" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00055ac0()" identifier (argument_list "()" ( ))))) ;) (expression_statement "iVar6 = *piVar4;" (assignment_expression "iVar6 = *piVar4" identifier = (pointer_expression "*piVar4" * identifier)) ;) (expression_statement "*(int *)(DAT_000dc708 + 0x24) = *(int *)(DAT_000dc708 + 0x24) + 1;" (assignment_expression "*(int *)(DAT_000dc708 + 0x24) = *(int *)(DAT_000dc708 + 0x24) + 1" (pointer_expression "*(int *)(DAT_000dc708 + 0x24)" * (cast_expression "(int *)(DAT_000dc708 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_000dc708 + 0x24)" ( (binary_expression "DAT_000dc708 + 0x24" identifier + number_literal) )))) = (binary_expression "*(int *)(DAT_000dc708 + 0x24) + 1" (pointer_expression "*(int *)(DAT_000dc708 + 0x24)" * (cast_expression "(int *)(DAT_000dc708 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_000dc708 + 0x24)" ( (binary_expression "DAT_000dc708 + 0x24" identifier + number_literal) )))) + number_literal)) ;) (if_statement "if (iVar6 == 0) {\n            iVar6 = FUN_0001a2f5();\n            uVar5 = FUN_0001a30f();\n            *(undefined4 *)(iVar6 + 4) = uVar5;\n            uVar5 = FUN_0001a30f();\n            *(undefined4 *)(iVar6 + 8) = uVar5;\n            *piVar4 = iVar6;\n          }\n          else {\n            if ((*(byte *)(iVar6 + 0xc) & 1) == 0) {\n              free(*(void **)(iVar6 + 8));\n            }\n            uVar5 = FUN_0001a30f();\n            *(undefined4 *)(iVar6 + 8) = uVar5;\n            *(uint *)(iVar6 + 0xc) = *(uint *)(iVar6 + 0xc) & 0xfffffffd;\n          }" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (compound_statement "{\n            iVar6 = FUN_0001a2f5();\n            uVar5 = FUN_0001a30f();\n            *(undefined4 *)(iVar6 + 4) = uVar5;\n            uVar5 = FUN_0001a30f();\n            *(undefined4 *)(iVar6 + 8) = uVar5;\n            *piVar4 = iVar6;\n          }" { (expression_statement "iVar6 = FUN_0001a2f5();" (assignment_expression "iVar6 = FUN_0001a2f5()" identifier = (call_expression "FUN_0001a2f5()" identifier (argument_list "()" ( )))) ;) (expression_statement "uVar5 = FUN_0001a30f();" (assignment_expression "uVar5 = FUN_0001a30f()" identifier = (call_expression "FUN_0001a30f()" identifier (argument_list "()" ( )))) ;) (expression_statement "*(undefined4 *)(iVar6 + 4) = uVar5;" (assignment_expression "*(undefined4 *)(iVar6 + 4) = uVar5" (pointer_expression "*(undefined4 *)(iVar6 + 4)" * (cast_expression "(undefined4 *)(iVar6 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 4)" ( (binary_expression "iVar6 + 4" identifier + number_literal) )))) = identifier) ;) (expression_statement "uVar5 = FUN_0001a30f();" (assignment_expression "uVar5 = FUN_0001a30f()" identifier = (call_expression "FUN_0001a30f()" identifier (argument_list "()" ( )))) ;) (expression_statement "*(undefined4 *)(iVar6 + 8) = uVar5;" (assignment_expression "*(undefined4 *)(iVar6 + 8) = uVar5" (pointer_expression "*(undefined4 *)(iVar6 + 8)" * (cast_expression "(undefined4 *)(iVar6 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 8)" ( (binary_expression "iVar6 + 8" identifier + number_literal) )))) = identifier) ;) (expression_statement "*piVar4 = iVar6;" (assignment_expression "*piVar4 = iVar6" (pointer_expression "*piVar4" * identifier) = identifier) ;) }) (else_clause "else {\n            if ((*(byte *)(iVar6 + 0xc) & 1) == 0) {\n              free(*(void **)(iVar6 + 8));\n            }\n            uVar5 = FUN_0001a30f();\n            *(undefined4 *)(iVar6 + 8) = uVar5;\n            *(uint *)(iVar6 + 0xc) = *(uint *)(iVar6 + 0xc) & 0xfffffffd;\n          }" else (compound_statement "{\n            if ((*(byte *)(iVar6 + 0xc) & 1) == 0) {\n              free(*(void **)(iVar6 + 8));\n            }\n            uVar5 = FUN_0001a30f();\n            *(undefined4 *)(iVar6 + 8) = uVar5;\n            *(uint *)(iVar6 + 0xc) = *(uint *)(iVar6 + 0xc) & 0xfffffffd;\n          }" { (if_statement "if ((*(byte *)(iVar6 + 0xc) & 1) == 0) {\n              free(*(void **)(iVar6 + 8));\n            }" if (parenthesized_expression "((*(byte *)(iVar6 + 0xc) & 1) == 0)" ( (binary_expression "(*(byte *)(iVar6 + 0xc) & 1) == 0" (parenthesized_expression "(*(byte *)(iVar6 + 0xc) & 1)" ( (binary_expression "*(byte *)(iVar6 + 0xc) & 1" (pointer_expression "*(byte *)(iVar6 + 0xc)" * (cast_expression "(byte *)(iVar6 + 0xc)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0xc)" ( (binary_expression "iVar6 + 0xc" identifier + number_literal) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n              free(*(void **)(iVar6 + 8));\n            }" { (expression_statement "free(*(void **)(iVar6 + 8));" (call_expression "free(*(void **)(iVar6 + 8))" identifier (argument_list "(*(void **)(iVar6 + 8))" ( (pointer_expression "*(void **)(iVar6 + 8)" * (cast_expression "(void **)(iVar6 + 8)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar6 + 8)" ( (binary_expression "iVar6 + 8" identifier + number_literal) )))) ))) ;) })) (expression_statement "uVar5 = FUN_0001a30f();" (assignment_expression "uVar5 = FUN_0001a30f()" identifier = (call_expression "FUN_0001a30f()" identifier (argument_list "()" ( )))) ;) (expression_statement "*(undefined4 *)(iVar6 + 8) = uVar5;" (assignment_expression "*(undefined4 *)(iVar6 + 8) = uVar5" (pointer_expression "*(undefined4 *)(iVar6 + 8)" * (cast_expression "(undefined4 *)(iVar6 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 8)" ( (binary_expression "iVar6 + 8" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(uint *)(iVar6 + 0xc) = *(uint *)(iVar6 + 0xc) & 0xfffffffd;" (assignment_expression "*(uint *)(iVar6 + 0xc) = *(uint *)(iVar6 + 0xc) & 0xfffffffd" (pointer_expression "*(uint *)(iVar6 + 0xc)" * (cast_expression "(uint *)(iVar6 + 0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0xc)" ( (binary_expression "iVar6 + 0xc" identifier + number_literal) )))) = (binary_expression "*(uint *)(iVar6 + 0xc) & 0xfffffffd" (pointer_expression "*(uint *)(iVar6 + 0xc)" * (cast_expression "(uint *)(iVar6 + 0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0xc)" ( (binary_expression "iVar6 + 0xc" identifier + number_literal) )))) & number_literal)) ;) }))) (expression_statement "FUN_00055de5();" (call_expression "FUN_00055de5()" identifier (argument_list "()" ( ))) ;) }))) (expression_statement "local_30 = local_30 + 1;" (assignment_expression "local_30 = local_30 + 1" identifier = (binary_expression "local_30 + 1" identifier + number_literal)) ;) (expression_statement "iVar6 = *local_30;" (assignment_expression "iVar6 = *local_30" identifier = (pointer_expression "*local_30" * identifier)) ;) }) while (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) ;) (return_statement "return uVar7;" return identifier ;) })) }))) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nint aliascmd(int argc,char **argv)\n\n{\n}\n\n" comment (function_definition "int aliascmd(int argc,char **argv)\n\n{\n}" primitive_type (function_declarator "aliascmd(int argc,char **argv)" identifier (parameter_list "(int argc,char **argv)" ( (parameter_declaration "int argc" primitive_type identifier) , (parameter_declaration "char **argv" primitive_type (pointer_declarator "**argv" * (pointer_declarator "*argv" * identifier))) ))) (compound_statement "{\n}" { })))
(translation_unit "undefined4 __regparm3 FUN_0005aeb8(undefined4 param_1,int param_2)\n\n{\n  undefined4 *puVar1;\n  undefined *puVar2;\n  char *pcVar3;\n  int *piVar4;\n  undefined4 uVar5;\n  int iVar6;\n  undefined4 uVar7;\n  int *local_30;\n  \n  puVar2 = PTR_stderr_000dbf8c;\n  if (*(int *)(param_2 + 4) == 0) {\n    iVar6 = 0;\n    do {\n      for (puVar1 = *(undefined4 **)(DAT_000dc280 + iVar6); puVar1 != (undefined4 *)0x0;\n          puVar1 = (undefined4 *)*puVar1) {\n        FUN_0005ae8b();\n      }\n      iVar6 = iVar6 + 4;\n    } while (iVar6 != 0x9c);\n  }\n  else {\n    local_30 = (int *)(param_2 + 4);\n    iVar6 = *(int *)(param_2 + 4);\n    uVar7 = 0;\n    if (iVar6 != 0) {\n      do {\n        pcVar3 = strchr((char *)(iVar6 + 1),0x3d);\n        if (pcVar3 == (char *)0x0) {\n          piVar4 = (int *)FUN_00055ac0();\n          if (*piVar4 == 0) {\n            __fprintf_chk(*(undefined4 *)puVar2,1,"%s: %s not found\n","alias",iVar6);\n            uVar7 = 1;\n          }\n          else {\n            FUN_0005ae8b();\n          }\n        }\n        else {\n          *pcVar3 = '\0';\n          piVar4 = (int *)FUN_00055ac0();\n          iVar6 = *piVar4;\n          *(int *)(DAT_000dc708 + 0x24) = *(int *)(DAT_000dc708 + 0x24) + 1;\n          if (iVar6 == 0) {\n            iVar6 = FUN_0001a2f5();\n            uVar5 = FUN_0001a30f();\n            *(undefined4 *)(iVar6 + 4) = uVar5;\n            uVar5 = FUN_0001a30f();\n            *(undefined4 *)(iVar6 + 8) = uVar5;\n            *piVar4 = iVar6;\n          }\n          else {\n            if ((*(byte *)(iVar6 + 0xc) & 1) == 0) {\n              free(*(void **)(iVar6 + 8));\n            }\n            uVar5 = FUN_0001a30f();\n            *(undefined4 *)(iVar6 + 8) = uVar5;\n            *(uint *)(iVar6 + 0xc) = *(uint *)(iVar6 + 0xc) & 0xfffffffd;\n          }\n          FUN_00055de5();\n        }\n        local_30 = local_30 + 1;\n        iVar6 = *local_30;\n      } while (iVar6 != 0);\n      return uVar7;\n    }\n  }\n  return 0;\n}\n\n" (function_definition "undefined4 __regparm3 FUN_0005aeb8(undefined4 param_1,int param_2)\n\n{\n  undefined4 *puVar1;\n  undefined *puVar2;\n  char *pcVar3;\n  int *piVar4;\n  undefined4 uVar5;\n  int iVar6;\n  undefined4 uVar7;\n  int *local_30;\n  \n  puVar2 = PTR_stderr_000dbf8c;\n  if (*(int *)(param_2 + 4) == 0) {\n    iVar6 = 0;\n    do {\n      for (puVar1 = *(undefined4 **)(DAT_000dc280 + iVar6); puVar1 != (undefined4 *)0x0;\n          puVar1 = (undefined4 *)*puVar1) {\n        FUN_0005ae8b();\n      }\n      iVar6 = iVar6 + 4;\n    } while (iVar6 != 0x9c);\n  }\n  else {\n    local_30 = (int *)(param_2 + 4);\n    iVar6 = *(int *)(param_2 + 4);\n    uVar7 = 0;\n    if (iVar6 != 0) {\n      do {\n        pcVar3 = strchr((char *)(iVar6 + 1),0x3d);\n        if (pcVar3 == (char *)0x0) {\n          piVar4 = (int *)FUN_00055ac0();\n          if (*piVar4 == 0) {\n            __fprintf_chk(*(undefined4 *)puVar2,1,"%s: %s not found\n","alias",iVar6);\n            uVar7 = 1;\n          }\n          else {\n            FUN_0005ae8b();\n          }\n        }\n        else {\n          *pcVar3 = '\0';\n          piVar4 = (int *)FUN_00055ac0();\n          iVar6 = *piVar4;\n          *(int *)(DAT_000dc708 + 0x24) = *(int *)(DAT_000dc708 + 0x24) + 1;\n          if (iVar6 == 0) {\n            iVar6 = FUN_0001a2f5();\n            uVar5 = FUN_0001a30f();\n            *(undefined4 *)(iVar6 + 4) = uVar5;\n            uVar5 = FUN_0001a30f();\n            *(undefined4 *)(iVar6 + 8) = uVar5;\n            *piVar4 = iVar6;\n          }\n          else {\n            if ((*(byte *)(iVar6 + 0xc) & 1) == 0) {\n              free(*(void **)(iVar6 + 8));\n            }\n            uVar5 = FUN_0001a30f();\n            *(undefined4 *)(iVar6 + 8) = uVar5;\n            *(uint *)(iVar6 + 0xc) = *(uint *)(iVar6 + 0xc) & 0xfffffffd;\n          }\n          FUN_00055de5();\n        }\n        local_30 = local_30 + 1;\n        iVar6 = *local_30;\n      } while (iVar6 != 0);\n      return uVar7;\n    }\n  }\n  return 0;\n}" type_identifier (ERROR "__regparm3" identifier) (function_declarator "FUN_0005aeb8(undefined4 param_1,int param_2)" identifier (parameter_list "(undefined4 param_1,int param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  undefined4 *puVar1;\n  undefined *puVar2;\n  char *pcVar3;\n  int *piVar4;\n  undefined4 uVar5;\n  int iVar6;\n  undefined4 uVar7;\n  int *local_30;\n  \n  puVar2 = PTR_stderr_000dbf8c;\n  if (*(int *)(param_2 + 4) == 0) {\n    iVar6 = 0;\n    do {\n      for (puVar1 = *(undefined4 **)(DAT_000dc280 + iVar6); puVar1 != (undefined4 *)0x0;\n          puVar1 = (undefined4 *)*puVar1) {\n        FUN_0005ae8b();\n      }\n      iVar6 = iVar6 + 4;\n    } while (iVar6 != 0x9c);\n  }\n  else {\n    local_30 = (int *)(param_2 + 4);\n    iVar6 = *(int *)(param_2 + 4);\n    uVar7 = 0;\n    if (iVar6 != 0) {\n      do {\n        pcVar3 = strchr((char *)(iVar6 + 1),0x3d);\n        if (pcVar3 == (char *)0x0) {\n          piVar4 = (int *)FUN_00055ac0();\n          if (*piVar4 == 0) {\n            __fprintf_chk(*(undefined4 *)puVar2,1,"%s: %s not found\n","alias",iVar6);\n            uVar7 = 1;\n          }\n          else {\n            FUN_0005ae8b();\n          }\n        }\n        else {\n          *pcVar3 = '\0';\n          piVar4 = (int *)FUN_00055ac0();\n          iVar6 = *piVar4;\n          *(int *)(DAT_000dc708 + 0x24) = *(int *)(DAT_000dc708 + 0x24) + 1;\n          if (iVar6 == 0) {\n            iVar6 = FUN_0001a2f5();\n            uVar5 = FUN_0001a30f();\n            *(undefined4 *)(iVar6 + 4) = uVar5;\n            uVar5 = FUN_0001a30f();\n            *(undefined4 *)(iVar6 + 8) = uVar5;\n            *piVar4 = iVar6;\n          }\n          else {\n            if ((*(byte *)(iVar6 + 0xc) & 1) == 0) {\n              free(*(void **)(iVar6 + 8));\n            }\n            uVar5 = FUN_0001a30f();\n            *(undefined4 *)(iVar6 + 8) = uVar5;\n            *(uint *)(iVar6 + 0xc) = *(uint *)(iVar6 + 0xc) & 0xfffffffd;\n          }\n          FUN_00055de5();\n        }\n        local_30 = local_30 + 1;\n        iVar6 = *local_30;\n      } while (iVar6 != 0);\n      return uVar7;\n    }\n  }\n  return 0;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "char *pcVar3;" primitive_type (pointer_declarator "*pcVar3" * identifier) ;) (declaration "int *piVar4;" primitive_type (pointer_declarator "*piVar4" * identifier) ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "undefined4 uVar7;" type_identifier identifier ;) (declaration "int *local_30;" primitive_type (pointer_declarator "*local_30" * identifier) ;) (expression_statement "puVar2 = PTR_stderr_000dbf8c;" (assignment_expression "puVar2 = PTR_stderr_000dbf8c" identifier = identifier) ;) (if_statement "if (*(int *)(param_2 + 4) == 0) {\n    iVar6 = 0;\n    do {\n      for (puVar1 = *(undefined4 **)(DAT_000dc280 + iVar6); puVar1 != (undefined4 *)0x0;\n          puVar1 = (undefined4 *)*puVar1) {\n        FUN_0005ae8b();\n      }\n      iVar6 = iVar6 + 4;\n    } while (iVar6 != 0x9c);\n  }\n  else {\n    local_30 = (int *)(param_2 + 4);\n    iVar6 = *(int *)(param_2 + 4);\n    uVar7 = 0;\n    if (iVar6 != 0) {\n      do {\n        pcVar3 = strchr((char *)(iVar6 + 1),0x3d);\n        if (pcVar3 == (char *)0x0) {\n          piVar4 = (int *)FUN_00055ac0();\n          if (*piVar4 == 0) {\n            __fprintf_chk(*(undefined4 *)puVar2,1,"%s: %s not found\n","alias",iVar6);\n            uVar7 = 1;\n          }\n          else {\n            FUN_0005ae8b();\n          }\n        }\n        else {\n          *pcVar3 = '\0';\n          piVar4 = (int *)FUN_00055ac0();\n          iVar6 = *piVar4;\n          *(int *)(DAT_000dc708 + 0x24) = *(int *)(DAT_000dc708 + 0x24) + 1;\n          if (iVar6 == 0) {\n            iVar6 = FUN_0001a2f5();\n            uVar5 = FUN_0001a30f();\n            *(undefined4 *)(iVar6 + 4) = uVar5;\n            uVar5 = FUN_0001a30f();\n            *(undefined4 *)(iVar6 + 8) = uVar5;\n            *piVar4 = iVar6;\n          }\n          else {\n            if ((*(byte *)(iVar6 + 0xc) & 1) == 0) {\n              free(*(void **)(iVar6 + 8));\n            }\n            uVar5 = FUN_0001a30f();\n            *(undefined4 *)(iVar6 + 8) = uVar5;\n            *(uint *)(iVar6 + 0xc) = *(uint *)(iVar6 + 0xc) & 0xfffffffd;\n          }\n          FUN_00055de5();\n        }\n        local_30 = local_30 + 1;\n        iVar6 = *local_30;\n      } while (iVar6 != 0);\n      return uVar7;\n    }\n  }" if (parenthesized_expression "(*(int *)(param_2 + 4) == 0)" ( (binary_expression "*(int *)(param_2 + 4) == 0" (pointer_expression "*(int *)(param_2 + 4)" * (cast_expression "(int *)(param_2 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    iVar6 = 0;\n    do {\n      for (puVar1 = *(undefined4 **)(DAT_000dc280 + iVar6); puVar1 != (undefined4 *)0x0;\n          puVar1 = (undefined4 *)*puVar1) {\n        FUN_0005ae8b();\n      }\n      iVar6 = iVar6 + 4;\n    } while (iVar6 != 0x9c);\n  }" { (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" identifier = number_literal) ;) (do_statement "do {\n      for (puVar1 = *(undefined4 **)(DAT_000dc280 + iVar6); puVar1 != (undefined4 *)0x0;\n          puVar1 = (undefined4 *)*puVar1) {\n        FUN_0005ae8b();\n      }\n      iVar6 = iVar6 + 4;\n    } while (iVar6 != 0x9c);" do (compound_statement "{\n      for (puVar1 = *(undefined4 **)(DAT_000dc280 + iVar6); puVar1 != (undefined4 *)0x0;\n          puVar1 = (undefined4 *)*puVar1) {\n        FUN_0005ae8b();\n      }\n      iVar6 = iVar6 + 4;\n    }" { (for_statement "for (puVar1 = *(undefined4 **)(DAT_000dc280 + iVar6); puVar1 != (undefined4 *)0x0;\n          puVar1 = (undefined4 *)*puVar1) {\n        FUN_0005ae8b();\n      }" for ( (assignment_expression "puVar1 = *(undefined4 **)(DAT_000dc280 + iVar6)" identifier = (pointer_expression "*(undefined4 **)(DAT_000dc280 + iVar6)" * (cast_expression "(undefined4 **)(DAT_000dc280 + iVar6)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(DAT_000dc280 + iVar6)" ( (binary_expression "DAT_000dc280 + iVar6" identifier + identifier) ))))) ; (binary_expression "puVar1 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ; (assignment_expression "puVar1 = (undefined4 *)*puVar1" identifier = (cast_expression "(undefined4 *)*puVar1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar1" * identifier))) ) (compound_statement "{\n        FUN_0005ae8b();\n      }" { (expression_statement "FUN_0005ae8b();" (call_expression "FUN_0005ae8b()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "iVar6 = iVar6 + 4;" (assignment_expression "iVar6 = iVar6 + 4" identifier = (binary_expression "iVar6 + 4" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar6 != 0x9c)" ( (binary_expression "iVar6 != 0x9c" identifier != number_literal) )) ;) }) (else_clause "else {\n    local_30 = (int *)(param_2 + 4);\n    iVar6 = *(int *)(param_2 + 4);\n    uVar7 = 0;\n    if (iVar6 != 0) {\n      do {\n        pcVar3 = strchr((char *)(iVar6 + 1),0x3d);\n        if (pcVar3 == (char *)0x0) {\n          piVar4 = (int *)FUN_00055ac0();\n          if (*piVar4 == 0) {\n            __fprintf_chk(*(undefined4 *)puVar2,1,"%s: %s not found\n","alias",iVar6);\n            uVar7 = 1;\n          }\n          else {\n            FUN_0005ae8b();\n          }\n        }\n        else {\n          *pcVar3 = '\0';\n          piVar4 = (int *)FUN_00055ac0();\n          iVar6 = *piVar4;\n          *(int *)(DAT_000dc708 + 0x24) = *(int *)(DAT_000dc708 + 0x24) + 1;\n          if (iVar6 == 0) {\n            iVar6 = FUN_0001a2f5();\n            uVar5 = FUN_0001a30f();\n            *(undefined4 *)(iVar6 + 4) = uVar5;\n            uVar5 = FUN_0001a30f();\n            *(undefined4 *)(iVar6 + 8) = uVar5;\n            *piVar4 = iVar6;\n          }\n          else {\n            if ((*(byte *)(iVar6 + 0xc) & 1) == 0) {\n              free(*(void **)(iVar6 + 8));\n            }\n            uVar5 = FUN_0001a30f();\n            *(undefined4 *)(iVar6 + 8) = uVar5;\n            *(uint *)(iVar6 + 0xc) = *(uint *)(iVar6 + 0xc) & 0xfffffffd;\n          }\n          FUN_00055de5();\n        }\n        local_30 = local_30 + 1;\n        iVar6 = *local_30;\n      } while (iVar6 != 0);\n      return uVar7;\n    }\n  }" else (compound_statement "{\n    local_30 = (int *)(param_2 + 4);\n    iVar6 = *(int *)(param_2 + 4);\n    uVar7 = 0;\n    if (iVar6 != 0) {\n      do {\n        pcVar3 = strchr((char *)(iVar6 + 1),0x3d);\n        if (pcVar3 == (char *)0x0) {\n          piVar4 = (int *)FUN_00055ac0();\n          if (*piVar4 == 0) {\n            __fprintf_chk(*(undefined4 *)puVar2,1,"%s: %s not found\n","alias",iVar6);\n            uVar7 = 1;\n          }\n          else {\n            FUN_0005ae8b();\n          }\n        }\n        else {\n          *pcVar3 = '\0';\n          piVar4 = (int *)FUN_00055ac0();\n          iVar6 = *piVar4;\n          *(int *)(DAT_000dc708 + 0x24) = *(int *)(DAT_000dc708 + 0x24) + 1;\n          if (iVar6 == 0) {\n            iVar6 = FUN_0001a2f5();\n            uVar5 = FUN_0001a30f();\n            *(undefined4 *)(iVar6 + 4) = uVar5;\n            uVar5 = FUN_0001a30f();\n            *(undefined4 *)(iVar6 + 8) = uVar5;\n            *piVar4 = iVar6;\n          }\n          else {\n            if ((*(byte *)(iVar6 + 0xc) & 1) == 0) {\n              free(*(void **)(iVar6 + 8));\n            }\n            uVar5 = FUN_0001a30f();\n            *(undefined4 *)(iVar6 + 8) = uVar5;\n            *(uint *)(iVar6 + 0xc) = *(uint *)(iVar6 + 0xc) & 0xfffffffd;\n          }\n          FUN_00055de5();\n        }\n        local_30 = local_30 + 1;\n        iVar6 = *local_30;\n      } while (iVar6 != 0);\n      return uVar7;\n    }\n  }" { (expression_statement "local_30 = (int *)(param_2 + 4);" (assignment_expression "local_30 = (int *)(param_2 + 4)" identifier = (cast_expression "(int *)(param_2 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) )))) ;) (expression_statement "iVar6 = *(int *)(param_2 + 4);" (assignment_expression "iVar6 = *(int *)(param_2 + 4)" identifier = (pointer_expression "*(int *)(param_2 + 4)" * (cast_expression "(int *)(param_2 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) ))))) ;) (expression_statement "uVar7 = 0;" (assignment_expression "uVar7 = 0" identifier = number_literal) ;) (if_statement "if (iVar6 != 0) {\n      do {\n        pcVar3 = strchr((char *)(iVar6 + 1),0x3d);\n        if (pcVar3 == (char *)0x0) {\n          piVar4 = (int *)FUN_00055ac0();\n          if (*piVar4 == 0) {\n            __fprintf_chk(*(undefined4 *)puVar2,1,"%s: %s not found\n","alias",iVar6);\n            uVar7 = 1;\n          }\n          else {\n            FUN_0005ae8b();\n          }\n        }\n        else {\n          *pcVar3 = '\0';\n          piVar4 = (int *)FUN_00055ac0();\n          iVar6 = *piVar4;\n          *(int *)(DAT_000dc708 + 0x24) = *(int *)(DAT_000dc708 + 0x24) + 1;\n          if (iVar6 == 0) {\n            iVar6 = FUN_0001a2f5();\n            uVar5 = FUN_0001a30f();\n            *(undefined4 *)(iVar6 + 4) = uVar5;\n            uVar5 = FUN_0001a30f();\n            *(undefined4 *)(iVar6 + 8) = uVar5;\n            *piVar4 = iVar6;\n          }\n          else {\n            if ((*(byte *)(iVar6 + 0xc) & 1) == 0) {\n              free(*(void **)(iVar6 + 8));\n            }\n            uVar5 = FUN_0001a30f();\n            *(undefined4 *)(iVar6 + 8) = uVar5;\n            *(uint *)(iVar6 + 0xc) = *(uint *)(iVar6 + 0xc) & 0xfffffffd;\n          }\n          FUN_00055de5();\n        }\n        local_30 = local_30 + 1;\n        iVar6 = *local_30;\n      } while (iVar6 != 0);\n      return uVar7;\n    }" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (compound_statement "{\n      do {\n        pcVar3 = strchr((char *)(iVar6 + 1),0x3d);\n        if (pcVar3 == (char *)0x0) {\n          piVar4 = (int *)FUN_00055ac0();\n          if (*piVar4 == 0) {\n            __fprintf_chk(*(undefined4 *)puVar2,1,"%s: %s not found\n","alias",iVar6);\n            uVar7 = 1;\n          }\n          else {\n            FUN_0005ae8b();\n          }\n        }\n        else {\n          *pcVar3 = '\0';\n          piVar4 = (int *)FUN_00055ac0();\n          iVar6 = *piVar4;\n          *(int *)(DAT_000dc708 + 0x24) = *(int *)(DAT_000dc708 + 0x24) + 1;\n          if (iVar6 == 0) {\n            iVar6 = FUN_0001a2f5();\n            uVar5 = FUN_0001a30f();\n            *(undefined4 *)(iVar6 + 4) = uVar5;\n            uVar5 = FUN_0001a30f();\n            *(undefined4 *)(iVar6 + 8) = uVar5;\n            *piVar4 = iVar6;\n          }\n          else {\n            if ((*(byte *)(iVar6 + 0xc) & 1) == 0) {\n              free(*(void **)(iVar6 + 8));\n            }\n            uVar5 = FUN_0001a30f();\n            *(undefined4 *)(iVar6 + 8) = uVar5;\n            *(uint *)(iVar6 + 0xc) = *(uint *)(iVar6 + 0xc) & 0xfffffffd;\n          }\n          FUN_00055de5();\n        }\n        local_30 = local_30 + 1;\n        iVar6 = *local_30;\n      } while (iVar6 != 0);\n      return uVar7;\n    }" { (do_statement "do {\n        pcVar3 = strchr((char *)(iVar6 + 1),0x3d);\n        if (pcVar3 == (char *)0x0) {\n          piVar4 = (int *)FUN_00055ac0();\n          if (*piVar4 == 0) {\n            __fprintf_chk(*(undefined4 *)puVar2,1,"%s: %s not found\n","alias",iVar6);\n            uVar7 = 1;\n          }\n          else {\n            FUN_0005ae8b();\n          }\n        }\n        else {\n          *pcVar3 = '\0';\n          piVar4 = (int *)FUN_00055ac0();\n          iVar6 = *piVar4;\n          *(int *)(DAT_000dc708 + 0x24) = *(int *)(DAT_000dc708 + 0x24) + 1;\n          if (iVar6 == 0) {\n            iVar6 = FUN_0001a2f5();\n            uVar5 = FUN_0001a30f();\n            *(undefined4 *)(iVar6 + 4) = uVar5;\n            uVar5 = FUN_0001a30f();\n            *(undefined4 *)(iVar6 + 8) = uVar5;\n            *piVar4 = iVar6;\n          }\n          else {\n            if ((*(byte *)(iVar6 + 0xc) & 1) == 0) {\n              free(*(void **)(iVar6 + 8));\n            }\n            uVar5 = FUN_0001a30f();\n            *(undefined4 *)(iVar6 + 8) = uVar5;\n            *(uint *)(iVar6 + 0xc) = *(uint *)(iVar6 + 0xc) & 0xfffffffd;\n          }\n          FUN_00055de5();\n        }\n        local_30 = local_30 + 1;\n        iVar6 = *local_30;\n      } while (iVar6 != 0);" do (compound_statement "{\n        pcVar3 = strchr((char *)(iVar6 + 1),0x3d);\n        if (pcVar3 == (char *)0x0) {\n          piVar4 = (int *)FUN_00055ac0();\n          if (*piVar4 == 0) {\n            __fprintf_chk(*(undefined4 *)puVar2,1,"%s: %s not found\n","alias",iVar6);\n            uVar7 = 1;\n          }\n          else {\n            FUN_0005ae8b();\n          }\n        }\n        else {\n          *pcVar3 = '\0';\n          piVar4 = (int *)FUN_00055ac0();\n          iVar6 = *piVar4;\n          *(int *)(DAT_000dc708 + 0x24) = *(int *)(DAT_000dc708 + 0x24) + 1;\n          if (iVar6 == 0) {\n            iVar6 = FUN_0001a2f5();\n            uVar5 = FUN_0001a30f();\n            *(undefined4 *)(iVar6 + 4) = uVar5;\n            uVar5 = FUN_0001a30f();\n            *(undefined4 *)(iVar6 + 8) = uVar5;\n            *piVar4 = iVar6;\n          }\n          else {\n            if ((*(byte *)(iVar6 + 0xc) & 1) == 0) {\n              free(*(void **)(iVar6 + 8));\n            }\n            uVar5 = FUN_0001a30f();\n            *(undefined4 *)(iVar6 + 8) = uVar5;\n            *(uint *)(iVar6 + 0xc) = *(uint *)(iVar6 + 0xc) & 0xfffffffd;\n          }\n          FUN_00055de5();\n        }\n        local_30 = local_30 + 1;\n        iVar6 = *local_30;\n      }" { (expression_statement "pcVar3 = strchr((char *)(iVar6 + 1),0x3d);" (assignment_expression "pcVar3 = strchr((char *)(iVar6 + 1),0x3d)" identifier = (call_expression "strchr((char *)(iVar6 + 1),0x3d)" identifier (argument_list "((char *)(iVar6 + 1),0x3d)" ( (cast_expression "(char *)(iVar6 + 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 1)" ( (binary_expression "iVar6 + 1" identifier + number_literal) ))) , number_literal )))) ;) (if_statement "if (pcVar3 == (char *)0x0) {\n          piVar4 = (int *)FUN_00055ac0();\n          if (*piVar4 == 0) {\n            __fprintf_chk(*(undefined4 *)puVar2,1,"%s: %s not found\n","alias",iVar6);\n            uVar7 = 1;\n          }\n          else {\n            FUN_0005ae8b();\n          }\n        }\n        else {\n          *pcVar3 = '\0';\n          piVar4 = (int *)FUN_00055ac0();\n          iVar6 = *piVar4;\n          *(int *)(DAT_000dc708 + 0x24) = *(int *)(DAT_000dc708 + 0x24) + 1;\n          if (iVar6 == 0) {\n            iVar6 = FUN_0001a2f5();\n            uVar5 = FUN_0001a30f();\n            *(undefined4 *)(iVar6 + 4) = uVar5;\n            uVar5 = FUN_0001a30f();\n            *(undefined4 *)(iVar6 + 8) = uVar5;\n            *piVar4 = iVar6;\n          }\n          else {\n            if ((*(byte *)(iVar6 + 0xc) & 1) == 0) {\n              free(*(void **)(iVar6 + 8));\n            }\n            uVar5 = FUN_0001a30f();\n            *(undefined4 *)(iVar6 + 8) = uVar5;\n            *(uint *)(iVar6 + 0xc) = *(uint *)(iVar6 + 0xc) & 0xfffffffd;\n          }\n          FUN_00055de5();\n        }" if (parenthesized_expression "(pcVar3 == (char *)0x0)" ( (binary_expression "pcVar3 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          piVar4 = (int *)FUN_00055ac0();\n          if (*piVar4 == 0) {\n            __fprintf_chk(*(undefined4 *)puVar2,1,"%s: %s not found\n","alias",iVar6);\n            uVar7 = 1;\n          }\n          else {\n            FUN_0005ae8b();\n          }\n        }" { (expression_statement "piVar4 = (int *)FUN_00055ac0();" (assignment_expression "piVar4 = (int *)FUN_00055ac0()" identifier = (cast_expression "(int *)FUN_00055ac0()" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00055ac0()" identifier (argument_list "()" ( ))))) ;) (if_statement "if (*piVar4 == 0) {\n            __fprintf_chk(*(undefined4 *)puVar2,1,"%s: %s not found\n","alias",iVar6);\n            uVar7 = 1;\n          }\n          else {\n            FUN_0005ae8b();\n          }" if (parenthesized_expression "(*piVar4 == 0)" ( (binary_expression "*piVar4 == 0" (pointer_expression "*piVar4" * identifier) == number_literal) )) (compound_statement "{\n            __fprintf_chk(*(undefined4 *)puVar2,1,"%s: %s not found\n","alias",iVar6);\n            uVar7 = 1;\n          }" { (expression_statement "__fprintf_chk(*(undefined4 *)puVar2,1,"%s: %s not found\n","alias",iVar6);" (call_expression "__fprintf_chk(*(undefined4 *)puVar2,1,"%s: %s not found\n","alias",iVar6)" identifier (argument_list "(*(undefined4 *)puVar2,1,"%s: %s not found\n","alias",iVar6)" ( (pointer_expression "*(undefined4 *)puVar2" * (cast_expression "(undefined4 *)puVar2" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , number_literal , (string_literal ""%s: %s not found\n"" " string_content escape_sequence ") , (string_literal ""alias"" " string_content ") , identifier ))) ;) (expression_statement "uVar7 = 1;" (assignment_expression "uVar7 = 1" identifier = number_literal) ;) }) (else_clause "else {\n            FUN_0005ae8b();\n          }" else (compound_statement "{\n            FUN_0005ae8b();\n          }" { (expression_statement "FUN_0005ae8b();" (call_expression "FUN_0005ae8b()" identifier (argument_list "()" ( ))) ;) }))) }) (else_clause "else {\n          *pcVar3 = '\0';\n          piVar4 = (int *)FUN_00055ac0();\n          iVar6 = *piVar4;\n          *(int *)(DAT_000dc708 + 0x24) = *(int *)(DAT_000dc708 + 0x24) + 1;\n          if (iVar6 == 0) {\n            iVar6 = FUN_0001a2f5();\n            uVar5 = FUN_0001a30f();\n            *(undefined4 *)(iVar6 + 4) = uVar5;\n            uVar5 = FUN_0001a30f();\n            *(undefined4 *)(iVar6 + 8) = uVar5;\n            *piVar4 = iVar6;\n          }\n          else {\n            if ((*(byte *)(iVar6 + 0xc) & 1) == 0) {\n              free(*(void **)(iVar6 + 8));\n            }\n            uVar5 = FUN_0001a30f();\n            *(undefined4 *)(iVar6 + 8) = uVar5;\n            *(uint *)(iVar6 + 0xc) = *(uint *)(iVar6 + 0xc) & 0xfffffffd;\n          }\n          FUN_00055de5();\n        }" else (compound_statement "{\n          *pcVar3 = '\0';\n          piVar4 = (int *)FUN_00055ac0();\n          iVar6 = *piVar4;\n          *(int *)(DAT_000dc708 + 0x24) = *(int *)(DAT_000dc708 + 0x24) + 1;\n          if (iVar6 == 0) {\n            iVar6 = FUN_0001a2f5();\n            uVar5 = FUN_0001a30f();\n            *(undefined4 *)(iVar6 + 4) = uVar5;\n            uVar5 = FUN_0001a30f();\n            *(undefined4 *)(iVar6 + 8) = uVar5;\n            *piVar4 = iVar6;\n          }\n          else {\n            if ((*(byte *)(iVar6 + 0xc) & 1) == 0) {\n              free(*(void **)(iVar6 + 8));\n            }\n            uVar5 = FUN_0001a30f();\n            *(undefined4 *)(iVar6 + 8) = uVar5;\n            *(uint *)(iVar6 + 0xc) = *(uint *)(iVar6 + 0xc) & 0xfffffffd;\n          }\n          FUN_00055de5();\n        }" { (expression_statement "*pcVar3 = '\0';" (assignment_expression "*pcVar3 = '\0'" (pointer_expression "*pcVar3" * identifier) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "piVar4 = (int *)FUN_00055ac0();" (assignment_expression "piVar4 = (int *)FUN_00055ac0()" identifier = (cast_expression "(int *)FUN_00055ac0()" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00055ac0()" identifier (argument_list "()" ( ))))) ;) (expression_statement "iVar6 = *piVar4;" (assignment_expression "iVar6 = *piVar4" identifier = (pointer_expression "*piVar4" * identifier)) ;) (expression_statement "*(int *)(DAT_000dc708 + 0x24) = *(int *)(DAT_000dc708 + 0x24) + 1;" (assignment_expression "*(int *)(DAT_000dc708 + 0x24) = *(int *)(DAT_000dc708 + 0x24) + 1" (pointer_expression "*(int *)(DAT_000dc708 + 0x24)" * (cast_expression "(int *)(DAT_000dc708 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_000dc708 + 0x24)" ( (binary_expression "DAT_000dc708 + 0x24" identifier + number_literal) )))) = (binary_expression "*(int *)(DAT_000dc708 + 0x24) + 1" (pointer_expression "*(int *)(DAT_000dc708 + 0x24)" * (cast_expression "(int *)(DAT_000dc708 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_000dc708 + 0x24)" ( (binary_expression "DAT_000dc708 + 0x24" identifier + number_literal) )))) + number_literal)) ;) (if_statement "if (iVar6 == 0) {\n            iVar6 = FUN_0001a2f5();\n            uVar5 = FUN_0001a30f();\n            *(undefined4 *)(iVar6 + 4) = uVar5;\n            uVar5 = FUN_0001a30f();\n            *(undefined4 *)(iVar6 + 8) = uVar5;\n            *piVar4 = iVar6;\n          }\n          else {\n            if ((*(byte *)(iVar6 + 0xc) & 1) == 0) {\n              free(*(void **)(iVar6 + 8));\n            }\n            uVar5 = FUN_0001a30f();\n            *(undefined4 *)(iVar6 + 8) = uVar5;\n            *(uint *)(iVar6 + 0xc) = *(uint *)(iVar6 + 0xc) & 0xfffffffd;\n          }" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (compound_statement "{\n            iVar6 = FUN_0001a2f5();\n            uVar5 = FUN_0001a30f();\n            *(undefined4 *)(iVar6 + 4) = uVar5;\n            uVar5 = FUN_0001a30f();\n            *(undefined4 *)(iVar6 + 8) = uVar5;\n            *piVar4 = iVar6;\n          }" { (expression_statement "iVar6 = FUN_0001a2f5();" (assignment_expression "iVar6 = FUN_0001a2f5()" identifier = (call_expression "FUN_0001a2f5()" identifier (argument_list "()" ( )))) ;) (expression_statement "uVar5 = FUN_0001a30f();" (assignment_expression "uVar5 = FUN_0001a30f()" identifier = (call_expression "FUN_0001a30f()" identifier (argument_list "()" ( )))) ;) (expression_statement "*(undefined4 *)(iVar6 + 4) = uVar5;" (assignment_expression "*(undefined4 *)(iVar6 + 4) = uVar5" (pointer_expression "*(undefined4 *)(iVar6 + 4)" * (cast_expression "(undefined4 *)(iVar6 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 4)" ( (binary_expression "iVar6 + 4" identifier + number_literal) )))) = identifier) ;) (expression_statement "uVar5 = FUN_0001a30f();" (assignment_expression "uVar5 = FUN_0001a30f()" identifier = (call_expression "FUN_0001a30f()" identifier (argument_list "()" ( )))) ;) (expression_statement "*(undefined4 *)(iVar6 + 8) = uVar5;" (assignment_expression "*(undefined4 *)(iVar6 + 8) = uVar5" (pointer_expression "*(undefined4 *)(iVar6 + 8)" * (cast_expression "(undefined4 *)(iVar6 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 8)" ( (binary_expression "iVar6 + 8" identifier + number_literal) )))) = identifier) ;) (expression_statement "*piVar4 = iVar6;" (assignment_expression "*piVar4 = iVar6" (pointer_expression "*piVar4" * identifier) = identifier) ;) }) (else_clause "else {\n            if ((*(byte *)(iVar6 + 0xc) & 1) == 0) {\n              free(*(void **)(iVar6 + 8));\n            }\n            uVar5 = FUN_0001a30f();\n            *(undefined4 *)(iVar6 + 8) = uVar5;\n            *(uint *)(iVar6 + 0xc) = *(uint *)(iVar6 + 0xc) & 0xfffffffd;\n          }" else (compound_statement "{\n            if ((*(byte *)(iVar6 + 0xc) & 1) == 0) {\n              free(*(void **)(iVar6 + 8));\n            }\n            uVar5 = FUN_0001a30f();\n            *(undefined4 *)(iVar6 + 8) = uVar5;\n            *(uint *)(iVar6 + 0xc) = *(uint *)(iVar6 + 0xc) & 0xfffffffd;\n          }" { (if_statement "if ((*(byte *)(iVar6 + 0xc) & 1) == 0) {\n              free(*(void **)(iVar6 + 8));\n            }" if (parenthesized_expression "((*(byte *)(iVar6 + 0xc) & 1) == 0)" ( (binary_expression "(*(byte *)(iVar6 + 0xc) & 1) == 0" (parenthesized_expression "(*(byte *)(iVar6 + 0xc) & 1)" ( (binary_expression "*(byte *)(iVar6 + 0xc) & 1" (pointer_expression "*(byte *)(iVar6 + 0xc)" * (cast_expression "(byte *)(iVar6 + 0xc)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0xc)" ( (binary_expression "iVar6 + 0xc" identifier + number_literal) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n              free(*(void **)(iVar6 + 8));\n            }" { (expression_statement "free(*(void **)(iVar6 + 8));" (call_expression "free(*(void **)(iVar6 + 8))" identifier (argument_list "(*(void **)(iVar6 + 8))" ( (pointer_expression "*(void **)(iVar6 + 8)" * (cast_expression "(void **)(iVar6 + 8)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar6 + 8)" ( (binary_expression "iVar6 + 8" identifier + number_literal) )))) ))) ;) })) (expression_statement "uVar5 = FUN_0001a30f();" (assignment_expression "uVar5 = FUN_0001a30f()" identifier = (call_expression "FUN_0001a30f()" identifier (argument_list "()" ( )))) ;) (expression_statement "*(undefined4 *)(iVar6 + 8) = uVar5;" (assignment_expression "*(undefined4 *)(iVar6 + 8) = uVar5" (pointer_expression "*(undefined4 *)(iVar6 + 8)" * (cast_expression "(undefined4 *)(iVar6 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 8)" ( (binary_expression "iVar6 + 8" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(uint *)(iVar6 + 0xc) = *(uint *)(iVar6 + 0xc) & 0xfffffffd;" (assignment_expression "*(uint *)(iVar6 + 0xc) = *(uint *)(iVar6 + 0xc) & 0xfffffffd" (pointer_expression "*(uint *)(iVar6 + 0xc)" * (cast_expression "(uint *)(iVar6 + 0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0xc)" ( (binary_expression "iVar6 + 0xc" identifier + number_literal) )))) = (binary_expression "*(uint *)(iVar6 + 0xc) & 0xfffffffd" (pointer_expression "*(uint *)(iVar6 + 0xc)" * (cast_expression "(uint *)(iVar6 + 0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0xc)" ( (binary_expression "iVar6 + 0xc" identifier + number_literal) )))) & number_literal)) ;) }))) (expression_statement "FUN_00055de5();" (call_expression "FUN_00055de5()" identifier (argument_list "()" ( ))) ;) }))) (expression_statement "local_30 = local_30 + 1;" (assignment_expression "local_30 = local_30 + 1" identifier = (binary_expression "local_30 + 1" identifier + number_literal)) ;) (expression_statement "iVar6 = *local_30;" (assignment_expression "iVar6 = *local_30" identifier = (pointer_expression "*local_30" * identifier)) ;) }) while (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) ;) (return_statement "return uVar7;" return identifier ;) })) }))) (return_statement "return 0;" return number_literal ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (for_statement for ( (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) ))))) ; (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ; (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (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 (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) , LIT , (string_literal " string_content escape_sequence ") , (string_literal " string_content ") , IDENT ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) }))) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (char_literal ' escape_sequence ')) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT) )) == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT)) ;) }))) (expression_statement (call_expression IDENT (argument_list ( ))) ;) }))) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) (return_statement return IDENT ;) })) }))) (return_statement return LIT ;) })))
(function_definition "undefined4 __regparm3 FUN_0005aeb8(undefined4 param_1,int param_2)\n\n{\n  undefined4 *puVar1;\n  undefined *puVar2;\n  char *pcVar3;\n  int *piVar4;\n  undefined4 uVar5;\n  int iVar6;\n  undefined4 uVar7;\n  int *local_30;\n  \n  puVar2 = PTR_stderr_000dbf8c;\n  if (*(int *)(param_2 + 4) == 0) {\n    iVar6 = 0;\n    do {\n      for (puVar1 = *(undefined4 **)(DAT_000dc280 + iVar6); puVar1 != (undefined4 *)0x0;\n          puVar1 = (undefined4 *)*puVar1) {\n        FUN_0005ae8b();\n      }\n      iVar6 = iVar6 + 4;\n    } while (iVar6 != 0x9c);\n  }\n  else {\n    local_30 = (int *)(param_2 + 4);\n    iVar6 = *(int *)(param_2 + 4);\n    uVar7 = 0;\n    if (iVar6 != 0) {\n      do {\n        pcVar3 = strchr((char *)(iVar6 + 1),0x3d);\n        if (pcVar3 == (char *)0x0) {\n          piVar4 = (int *)FUN_00055ac0();\n          if (*piVar4 == 0) {\n            __fprintf_chk(*(undefined4 *)puVar2,1,"%s: %s not found\n","alias",iVar6);\n            uVar7 = 1;\n          }\n          else {\n            FUN_0005ae8b();\n          }\n        }\n        else {\n          *pcVar3 = '\0';\n          piVar4 = (int *)FUN_00055ac0();\n          iVar6 = *piVar4;\n          *(int *)(DAT_000dc708 + 0x24) = *(int *)(DAT_000dc708 + 0x24) + 1;\n          if (iVar6 == 0) {\n            iVar6 = FUN_0001a2f5();\n            uVar5 = FUN_0001a30f();\n            *(undefined4 *)(iVar6 + 4) = uVar5;\n            uVar5 = FUN_0001a30f();\n            *(undefined4 *)(iVar6 + 8) = uVar5;\n            *piVar4 = iVar6;\n          }\n          else {\n            if ((*(byte *)(iVar6 + 0xc) & 1) == 0) {\n              free(*(void **)(iVar6 + 8));\n            }\n            uVar5 = FUN_0001a30f();\n            *(undefined4 *)(iVar6 + 8) = uVar5;\n            *(uint *)(iVar6 + 0xc) = *(uint *)(iVar6 + 0xc) & 0xfffffffd;\n          }\n          FUN_00055de5();\n        }\n        local_30 = local_30 + 1;\n        iVar6 = *local_30;\n      } while (iVar6 != 0);\n      return uVar7;\n    }\n  }\n  return 0;\n}" (type_identifier "undefined4") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_0005aeb8(undefined4 param_1,int param_2)" (identifier "FUN_0005aeb8") (parameter_list "(undefined4 param_1,int param_2)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")"))) (compound_statement "{\n  undefined4 *puVar1;\n  undefined *puVar2;\n  char *pcVar3;\n  int *piVar4;\n  undefined4 uVar5;\n  int iVar6;\n  undefined4 uVar7;\n  int *local_30;\n  \n  puVar2 = PTR_stderr_000dbf8c;\n  if (*(int *)(param_2 + 4) == 0) {\n    iVar6 = 0;\n    do {\n      for (puVar1 = *(undefined4 **)(DAT_000dc280 + iVar6); puVar1 != (undefined4 *)0x0;\n          puVar1 = (undefined4 *)*puVar1) {\n        FUN_0005ae8b();\n      }\n      iVar6 = iVar6 + 4;\n    } while (iVar6 != 0x9c);\n  }\n  else {\n    local_30 = (int *)(param_2 + 4);\n    iVar6 = *(int *)(param_2 + 4);\n    uVar7 = 0;\n    if (iVar6 != 0) {\n      do {\n        pcVar3 = strchr((char *)(iVar6 + 1),0x3d);\n        if (pcVar3 == (char *)0x0) {\n          piVar4 = (int *)FUN_00055ac0();\n          if (*piVar4 == 0) {\n            __fprintf_chk(*(undefined4 *)puVar2,1,"%s: %s not found\n","alias",iVar6);\n            uVar7 = 1;\n          }\n          else {\n            FUN_0005ae8b();\n          }\n        }\n        else {\n          *pcVar3 = '\0';\n          piVar4 = (int *)FUN_00055ac0();\n          iVar6 = *piVar4;\n          *(int *)(DAT_000dc708 + 0x24) = *(int *)(DAT_000dc708 + 0x24) + 1;\n          if (iVar6 == 0) {\n            iVar6 = FUN_0001a2f5();\n            uVar5 = FUN_0001a30f();\n            *(undefined4 *)(iVar6 + 4) = uVar5;\n            uVar5 = FUN_0001a30f();\n            *(undefined4 *)(iVar6 + 8) = uVar5;\n            *piVar4 = iVar6;\n          }\n          else {\n            if ((*(byte *)(iVar6 + 0xc) & 1) == 0) {\n              free(*(void **)(iVar6 + 8));\n            }\n            uVar5 = FUN_0001a30f();\n            *(undefined4 *)(iVar6 + 8) = uVar5;\n            *(uint *)(iVar6 + 0xc) = *(uint *)(iVar6 + 0xc) & 0xfffffffd;\n          }\n          FUN_00055de5();\n        }\n        local_30 = local_30 + 1;\n        iVar6 = *local_30;\n      } while (iVar6 != 0);\n      return uVar7;\n    }\n  }\n  return 0;\n}" ({ "{") (declaration "undefined4 *puVar1;" (type_identifier "undefined4") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "undefined *puVar2;" (type_identifier "undefined") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (declaration "char *pcVar3;" (primitive_type "char") (pointer_declarator "*pcVar3" (* "*") (identifier "pcVar3")) (; ";")) (declaration "int *piVar4;" (primitive_type "int") (pointer_declarator "*piVar4" (* "*") (identifier "piVar4")) (; ";")) (declaration "undefined4 uVar5;" (type_identifier "undefined4") (identifier "uVar5") (; ";")) (declaration "int iVar6;" (primitive_type "int") (identifier "iVar6") (; ";")) (declaration "undefined4 uVar7;" (type_identifier "undefined4") (identifier "uVar7") (; ";")) (declaration "int *local_30;" (primitive_type "int") (pointer_declarator "*local_30" (* "*") (identifier "local_30")) (; ";")) (expression_statement "puVar2 = PTR_stderr_000dbf8c;" (assignment_expression "puVar2 = PTR_stderr_000dbf8c" (identifier "puVar2") (= "=") (identifier "PTR_stderr_000dbf8c")) (; ";")) (if_statement "if (*(int *)(param_2 + 4) == 0) {\n    iVar6 = 0;\n    do {\n      for (puVar1 = *(undefined4 **)(DAT_000dc280 + iVar6); puVar1 != (undefined4 *)0x0;\n          puVar1 = (undefined4 *)*puVar1) {\n        FUN_0005ae8b();\n      }\n      iVar6 = iVar6 + 4;\n    } while (iVar6 != 0x9c);\n  }\n  else {\n    local_30 = (int *)(param_2 + 4);\n    iVar6 = *(int *)(param_2 + 4);\n    uVar7 = 0;\n    if (iVar6 != 0) {\n      do {\n        pcVar3 = strchr((char *)(iVar6 + 1),0x3d);\n        if (pcVar3 == (char *)0x0) {\n          piVar4 = (int *)FUN_00055ac0();\n          if (*piVar4 == 0) {\n            __fprintf_chk(*(undefined4 *)puVar2,1,"%s: %s not found\n","alias",iVar6);\n            uVar7 = 1;\n          }\n          else {\n            FUN_0005ae8b();\n          }\n        }\n        else {\n          *pcVar3 = '\0';\n          piVar4 = (int *)FUN_00055ac0();\n          iVar6 = *piVar4;\n          *(int *)(DAT_000dc708 + 0x24) = *(int *)(DAT_000dc708 + 0x24) + 1;\n          if (iVar6 == 0) {\n            iVar6 = FUN_0001a2f5();\n            uVar5 = FUN_0001a30f();\n            *(undefined4 *)(iVar6 + 4) = uVar5;\n            uVar5 = FUN_0001a30f();\n            *(undefined4 *)(iVar6 + 8) = uVar5;\n            *piVar4 = iVar6;\n          }\n          else {\n            if ((*(byte *)(iVar6 + 0xc) & 1) == 0) {\n              free(*(void **)(iVar6 + 8));\n            }\n            uVar5 = FUN_0001a30f();\n            *(undefined4 *)(iVar6 + 8) = uVar5;\n            *(uint *)(iVar6 + 0xc) = *(uint *)(iVar6 + 0xc) & 0xfffffffd;\n          }\n          FUN_00055de5();\n        }\n        local_30 = local_30 + 1;\n        iVar6 = *local_30;\n      } while (iVar6 != 0);\n      return uVar7;\n    }\n  }" (if "if") (parenthesized_expression "(*(int *)(param_2 + 4) == 0)" (( "(") (binary_expression "*(int *)(param_2 + 4) == 0" (pointer_expression "*(int *)(param_2 + 4)" (* "*") (cast_expression "(int *)(param_2 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 4)" (( "(") (binary_expression "param_2 + 4" (identifier "param_2") (+ "+") (number_literal "4")) () ")")))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    iVar6 = 0;\n    do {\n      for (puVar1 = *(undefined4 **)(DAT_000dc280 + iVar6); puVar1 != (undefined4 *)0x0;\n          puVar1 = (undefined4 *)*puVar1) {\n        FUN_0005ae8b();\n      }\n      iVar6 = iVar6 + 4;\n    } while (iVar6 != 0x9c);\n  }" ({ "{") (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" (identifier "iVar6") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n      for (puVar1 = *(undefined4 **)(DAT_000dc280 + iVar6); puVar1 != (undefined4 *)0x0;\n          puVar1 = (undefined4 *)*puVar1) {\n        FUN_0005ae8b();\n      }\n      iVar6 = iVar6 + 4;\n    } while (iVar6 != 0x9c);" (do "do") (compound_statement "{\n      for (puVar1 = *(undefined4 **)(DAT_000dc280 + iVar6); puVar1 != (undefined4 *)0x0;\n          puVar1 = (undefined4 *)*puVar1) {\n        FUN_0005ae8b();\n      }\n      iVar6 = iVar6 + 4;\n    }" ({ "{") (for_statement "for (puVar1 = *(undefined4 **)(DAT_000dc280 + iVar6); puVar1 != (undefined4 *)0x0;\n          puVar1 = (undefined4 *)*puVar1) {\n        FUN_0005ae8b();\n      }" (for "for") (( "(") (assignment_expression "puVar1 = *(undefined4 **)(DAT_000dc280 + iVar6)" (identifier "puVar1") (= "=") (pointer_expression "*(undefined4 **)(DAT_000dc280 + iVar6)" (* "*") (cast_expression "(undefined4 **)(DAT_000dc280 + iVar6)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(DAT_000dc280 + iVar6)" (( "(") (binary_expression "DAT_000dc280 + iVar6" (identifier "DAT_000dc280") (+ "+") (identifier "iVar6")) () ")"))))) (; ";") (binary_expression "puVar1 != (undefined4 *)0x0" (identifier "puVar1") (!= "!=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";") (assignment_expression "puVar1 = (undefined4 *)*puVar1" (identifier "puVar1") (= "=") (cast_expression "(undefined4 *)*puVar1" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar1" (* "*") (identifier "puVar1")))) () ")") (compound_statement "{\n        FUN_0005ae8b();\n      }" ({ "{") (expression_statement "FUN_0005ae8b();" (call_expression "FUN_0005ae8b()" (identifier "FUN_0005ae8b") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "iVar6 = iVar6 + 4;" (assignment_expression "iVar6 = iVar6 + 4" (identifier "iVar6") (= "=") (binary_expression "iVar6 + 4" (identifier "iVar6") (+ "+") (number_literal "4"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar6 != 0x9c)" (( "(") (binary_expression "iVar6 != 0x9c" (identifier "iVar6") (!= "!=") (number_literal "0x9c")) () ")")) (; ";")) (} "}")) (else_clause "else {\n    local_30 = (int *)(param_2 + 4);\n    iVar6 = *(int *)(param_2 + 4);\n    uVar7 = 0;\n    if (iVar6 != 0) {\n      do {\n        pcVar3 = strchr((char *)(iVar6 + 1),0x3d);\n        if (pcVar3 == (char *)0x0) {\n          piVar4 = (int *)FUN_00055ac0();\n          if (*piVar4 == 0) {\n            __fprintf_chk(*(undefined4 *)puVar2,1,"%s: %s not found\n","alias",iVar6);\n            uVar7 = 1;\n          }\n          else {\n            FUN_0005ae8b();\n          }\n        }\n        else {\n          *pcVar3 = '\0';\n          piVar4 = (int *)FUN_00055ac0();\n          iVar6 = *piVar4;\n          *(int *)(DAT_000dc708 + 0x24) = *(int *)(DAT_000dc708 + 0x24) + 1;\n          if (iVar6 == 0) {\n            iVar6 = FUN_0001a2f5();\n            uVar5 = FUN_0001a30f();\n            *(undefined4 *)(iVar6 + 4) = uVar5;\n            uVar5 = FUN_0001a30f();\n            *(undefined4 *)(iVar6 + 8) = uVar5;\n            *piVar4 = iVar6;\n          }\n          else {\n            if ((*(byte *)(iVar6 + 0xc) & 1) == 0) {\n              free(*(void **)(iVar6 + 8));\n            }\n            uVar5 = FUN_0001a30f();\n            *(undefined4 *)(iVar6 + 8) = uVar5;\n            *(uint *)(iVar6 + 0xc) = *(uint *)(iVar6 + 0xc) & 0xfffffffd;\n          }\n          FUN_00055de5();\n        }\n        local_30 = local_30 + 1;\n        iVar6 = *local_30;\n      } while (iVar6 != 0);\n      return uVar7;\n    }\n  }" (else "else") (compound_statement "{\n    local_30 = (int *)(param_2 + 4);\n    iVar6 = *(int *)(param_2 + 4);\n    uVar7 = 0;\n    if (iVar6 != 0) {\n      do {\n        pcVar3 = strchr((char *)(iVar6 + 1),0x3d);\n        if (pcVar3 == (char *)0x0) {\n          piVar4 = (int *)FUN_00055ac0();\n          if (*piVar4 == 0) {\n            __fprintf_chk(*(undefined4 *)puVar2,1,"%s: %s not found\n","alias",iVar6);\n            uVar7 = 1;\n          }\n          else {\n            FUN_0005ae8b();\n          }\n        }\n        else {\n          *pcVar3 = '\0';\n          piVar4 = (int *)FUN_00055ac0();\n          iVar6 = *piVar4;\n          *(int *)(DAT_000dc708 + 0x24) = *(int *)(DAT_000dc708 + 0x24) + 1;\n          if (iVar6 == 0) {\n            iVar6 = FUN_0001a2f5();\n            uVar5 = FUN_0001a30f();\n            *(undefined4 *)(iVar6 + 4) = uVar5;\n            uVar5 = FUN_0001a30f();\n            *(undefined4 *)(iVar6 + 8) = uVar5;\n            *piVar4 = iVar6;\n          }\n          else {\n            if ((*(byte *)(iVar6 + 0xc) & 1) == 0) {\n              free(*(void **)(iVar6 + 8));\n            }\n            uVar5 = FUN_0001a30f();\n            *(undefined4 *)(iVar6 + 8) = uVar5;\n            *(uint *)(iVar6 + 0xc) = *(uint *)(iVar6 + 0xc) & 0xfffffffd;\n          }\n          FUN_00055de5();\n        }\n        local_30 = local_30 + 1;\n        iVar6 = *local_30;\n      } while (iVar6 != 0);\n      return uVar7;\n    }\n  }" ({ "{") (expression_statement "local_30 = (int *)(param_2 + 4);" (assignment_expression "local_30 = (int *)(param_2 + 4)" (identifier "local_30") (= "=") (cast_expression "(int *)(param_2 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 4)" (( "(") (binary_expression "param_2 + 4" (identifier "param_2") (+ "+") (number_literal "4")) () ")")))) (; ";")) (expression_statement "iVar6 = *(int *)(param_2 + 4);" (assignment_expression "iVar6 = *(int *)(param_2 + 4)" (identifier "iVar6") (= "=") (pointer_expression "*(int *)(param_2 + 4)" (* "*") (cast_expression "(int *)(param_2 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 4)" (( "(") (binary_expression "param_2 + 4" (identifier "param_2") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (expression_statement "uVar7 = 0;" (assignment_expression "uVar7 = 0" (identifier "uVar7") (= "=") (number_literal "0")) (; ";")) (if_statement "if (iVar6 != 0) {\n      do {\n        pcVar3 = strchr((char *)(iVar6 + 1),0x3d);\n        if (pcVar3 == (char *)0x0) {\n          piVar4 = (int *)FUN_00055ac0();\n          if (*piVar4 == 0) {\n            __fprintf_chk(*(undefined4 *)puVar2,1,"%s: %s not found\n","alias",iVar6);\n            uVar7 = 1;\n          }\n          else {\n            FUN_0005ae8b();\n          }\n        }\n        else {\n          *pcVar3 = '\0';\n          piVar4 = (int *)FUN_00055ac0();\n          iVar6 = *piVar4;\n          *(int *)(DAT_000dc708 + 0x24) = *(int *)(DAT_000dc708 + 0x24) + 1;\n          if (iVar6 == 0) {\n            iVar6 = FUN_0001a2f5();\n            uVar5 = FUN_0001a30f();\n            *(undefined4 *)(iVar6 + 4) = uVar5;\n            uVar5 = FUN_0001a30f();\n            *(undefined4 *)(iVar6 + 8) = uVar5;\n            *piVar4 = iVar6;\n          }\n          else {\n            if ((*(byte *)(iVar6 + 0xc) & 1) == 0) {\n              free(*(void **)(iVar6 + 8));\n            }\n            uVar5 = FUN_0001a30f();\n            *(undefined4 *)(iVar6 + 8) = uVar5;\n            *(uint *)(iVar6 + 0xc) = *(uint *)(iVar6 + 0xc) & 0xfffffffd;\n          }\n          FUN_00055de5();\n        }\n        local_30 = local_30 + 1;\n        iVar6 = *local_30;\n      } while (iVar6 != 0);\n      return uVar7;\n    }" (if "if") (parenthesized_expression "(iVar6 != 0)" (( "(") (binary_expression "iVar6 != 0" (identifier "iVar6") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      do {\n        pcVar3 = strchr((char *)(iVar6 + 1),0x3d);\n        if (pcVar3 == (char *)0x0) {\n          piVar4 = (int *)FUN_00055ac0();\n          if (*piVar4 == 0) {\n            __fprintf_chk(*(undefined4 *)puVar2,1,"%s: %s not found\n","alias",iVar6);\n            uVar7 = 1;\n          }\n          else {\n            FUN_0005ae8b();\n          }\n        }\n        else {\n          *pcVar3 = '\0';\n          piVar4 = (int *)FUN_00055ac0();\n          iVar6 = *piVar4;\n          *(int *)(DAT_000dc708 + 0x24) = *(int *)(DAT_000dc708 + 0x24) + 1;\n          if (iVar6 == 0) {\n            iVar6 = FUN_0001a2f5();\n            uVar5 = FUN_0001a30f();\n            *(undefined4 *)(iVar6 + 4) = uVar5;\n            uVar5 = FUN_0001a30f();\n            *(undefined4 *)(iVar6 + 8) = uVar5;\n            *piVar4 = iVar6;\n          }\n          else {\n            if ((*(byte *)(iVar6 + 0xc) & 1) == 0) {\n              free(*(void **)(iVar6 + 8));\n            }\n            uVar5 = FUN_0001a30f();\n            *(undefined4 *)(iVar6 + 8) = uVar5;\n            *(uint *)(iVar6 + 0xc) = *(uint *)(iVar6 + 0xc) & 0xfffffffd;\n          }\n          FUN_00055de5();\n        }\n        local_30 = local_30 + 1;\n        iVar6 = *local_30;\n      } while (iVar6 != 0);\n      return uVar7;\n    }" ({ "{") (do_statement "do {\n        pcVar3 = strchr((char *)(iVar6 + 1),0x3d);\n        if (pcVar3 == (char *)0x0) {\n          piVar4 = (int *)FUN_00055ac0();\n          if (*piVar4 == 0) {\n            __fprintf_chk(*(undefined4 *)puVar2,1,"%s: %s not found\n","alias",iVar6);\n            uVar7 = 1;\n          }\n          else {\n            FUN_0005ae8b();\n          }\n        }\n        else {\n          *pcVar3 = '\0';\n          piVar4 = (int *)FUN_00055ac0();\n          iVar6 = *piVar4;\n          *(int *)(DAT_000dc708 + 0x24) = *(int *)(DAT_000dc708 + 0x24) + 1;\n          if (iVar6 == 0) {\n            iVar6 = FUN_0001a2f5();\n            uVar5 = FUN_0001a30f();\n            *(undefined4 *)(iVar6 + 4) = uVar5;\n            uVar5 = FUN_0001a30f();\n            *(undefined4 *)(iVar6 + 8) = uVar5;\n            *piVar4 = iVar6;\n          }\n          else {\n            if ((*(byte *)(iVar6 + 0xc) & 1) == 0) {\n              free(*(void **)(iVar6 + 8));\n            }\n            uVar5 = FUN_0001a30f();\n            *(undefined4 *)(iVar6 + 8) = uVar5;\n            *(uint *)(iVar6 + 0xc) = *(uint *)(iVar6 + 0xc) & 0xfffffffd;\n          }\n          FUN_00055de5();\n        }\n        local_30 = local_30 + 1;\n        iVar6 = *local_30;\n      } while (iVar6 != 0);" (do "do") (compound_statement "{\n        pcVar3 = strchr((char *)(iVar6 + 1),0x3d);\n        if (pcVar3 == (char *)0x0) {\n          piVar4 = (int *)FUN_00055ac0();\n          if (*piVar4 == 0) {\n            __fprintf_chk(*(undefined4 *)puVar2,1,"%s: %s not found\n","alias",iVar6);\n            uVar7 = 1;\n          }\n          else {\n            FUN_0005ae8b();\n          }\n        }\n        else {\n          *pcVar3 = '\0';\n          piVar4 = (int *)FUN_00055ac0();\n          iVar6 = *piVar4;\n          *(int *)(DAT_000dc708 + 0x24) = *(int *)(DAT_000dc708 + 0x24) + 1;\n          if (iVar6 == 0) {\n            iVar6 = FUN_0001a2f5();\n            uVar5 = FUN_0001a30f();\n            *(undefined4 *)(iVar6 + 4) = uVar5;\n            uVar5 = FUN_0001a30f();\n            *(undefined4 *)(iVar6 + 8) = uVar5;\n            *piVar4 = iVar6;\n          }\n          else {\n            if ((*(byte *)(iVar6 + 0xc) & 1) == 0) {\n              free(*(void **)(iVar6 + 8));\n            }\n            uVar5 = FUN_0001a30f();\n            *(undefined4 *)(iVar6 + 8) = uVar5;\n            *(uint *)(iVar6 + 0xc) = *(uint *)(iVar6 + 0xc) & 0xfffffffd;\n          }\n          FUN_00055de5();\n        }\n        local_30 = local_30 + 1;\n        iVar6 = *local_30;\n      }" ({ "{") (expression_statement "pcVar3 = strchr((char *)(iVar6 + 1),0x3d);" (assignment_expression "pcVar3 = strchr((char *)(iVar6 + 1),0x3d)" (identifier "pcVar3") (= "=") (call_expression "strchr((char *)(iVar6 + 1),0x3d)" (identifier "strchr") (argument_list "((char *)(iVar6 + 1),0x3d)" (( "(") (cast_expression "(char *)(iVar6 + 1)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 1)" (( "(") (binary_expression "iVar6 + 1" (identifier "iVar6") (+ "+") (number_literal "1")) () ")"))) (, ",") (number_literal "0x3d") () ")")))) (; ";")) (if_statement "if (pcVar3 == (char *)0x0) {\n          piVar4 = (int *)FUN_00055ac0();\n          if (*piVar4 == 0) {\n            __fprintf_chk(*(undefined4 *)puVar2,1,"%s: %s not found\n","alias",iVar6);\n            uVar7 = 1;\n          }\n          else {\n            FUN_0005ae8b();\n          }\n        }\n        else {\n          *pcVar3 = '\0';\n          piVar4 = (int *)FUN_00055ac0();\n          iVar6 = *piVar4;\n          *(int *)(DAT_000dc708 + 0x24) = *(int *)(DAT_000dc708 + 0x24) + 1;\n          if (iVar6 == 0) {\n            iVar6 = FUN_0001a2f5();\n            uVar5 = FUN_0001a30f();\n            *(undefined4 *)(iVar6 + 4) = uVar5;\n            uVar5 = FUN_0001a30f();\n            *(undefined4 *)(iVar6 + 8) = uVar5;\n            *piVar4 = iVar6;\n          }\n          else {\n            if ((*(byte *)(iVar6 + 0xc) & 1) == 0) {\n              free(*(void **)(iVar6 + 8));\n            }\n            uVar5 = FUN_0001a30f();\n            *(undefined4 *)(iVar6 + 8) = uVar5;\n            *(uint *)(iVar6 + 0xc) = *(uint *)(iVar6 + 0xc) & 0xfffffffd;\n          }\n          FUN_00055de5();\n        }" (if "if") (parenthesized_expression "(pcVar3 == (char *)0x0)" (( "(") (binary_expression "pcVar3 == (char *)0x0" (identifier "pcVar3") (== "==") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n          piVar4 = (int *)FUN_00055ac0();\n          if (*piVar4 == 0) {\n            __fprintf_chk(*(undefined4 *)puVar2,1,"%s: %s not found\n","alias",iVar6);\n            uVar7 = 1;\n          }\n          else {\n            FUN_0005ae8b();\n          }\n        }" ({ "{") (expression_statement "piVar4 = (int *)FUN_00055ac0();" (assignment_expression "piVar4 = (int *)FUN_00055ac0()" (identifier "piVar4") (= "=") (cast_expression "(int *)FUN_00055ac0()" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_00055ac0()" (identifier "FUN_00055ac0") (argument_list "()" (( "(") () ")"))))) (; ";")) (if_statement "if (*piVar4 == 0) {\n            __fprintf_chk(*(undefined4 *)puVar2,1,"%s: %s not found\n","alias",iVar6);\n            uVar7 = 1;\n          }\n          else {\n            FUN_0005ae8b();\n          }" (if "if") (parenthesized_expression "(*piVar4 == 0)" (( "(") (binary_expression "*piVar4 == 0" (pointer_expression "*piVar4" (* "*") (identifier "piVar4")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n            __fprintf_chk(*(undefined4 *)puVar2,1,"%s: %s not found\n","alias",iVar6);\n            uVar7 = 1;\n          }" ({ "{") (expression_statement "__fprintf_chk(*(undefined4 *)puVar2,1,"%s: %s not found\n","alias",iVar6);" (call_expression "__fprintf_chk(*(undefined4 *)puVar2,1,"%s: %s not found\n","alias",iVar6)" (identifier "__fprintf_chk") (argument_list "(*(undefined4 *)puVar2,1,"%s: %s not found\n","alias",iVar6)" (( "(") (pointer_expression "*(undefined4 *)puVar2" (* "*") (cast_expression "(undefined4 *)puVar2" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar2"))) (, ",") (number_literal "1") (, ",") (string_literal ""%s: %s not found\n"" (" """) (string_content "%s: %s not found") (escape_sequence "\n") (" """)) (, ",") (string_literal ""alias"" (" """) (string_content "alias") (" """)) (, ",") (identifier "iVar6") () ")"))) (; ";")) (expression_statement "uVar7 = 1;" (assignment_expression "uVar7 = 1" (identifier "uVar7") (= "=") (number_literal "1")) (; ";")) (} "}")) (else_clause "else {\n            FUN_0005ae8b();\n          }" (else "else") (compound_statement "{\n            FUN_0005ae8b();\n          }" ({ "{") (expression_statement "FUN_0005ae8b();" (call_expression "FUN_0005ae8b()" (identifier "FUN_0005ae8b") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))) (} "}")) (else_clause "else {\n          *pcVar3 = '\0';\n          piVar4 = (int *)FUN_00055ac0();\n          iVar6 = *piVar4;\n          *(int *)(DAT_000dc708 + 0x24) = *(int *)(DAT_000dc708 + 0x24) + 1;\n          if (iVar6 == 0) {\n            iVar6 = FUN_0001a2f5();\n            uVar5 = FUN_0001a30f();\n            *(undefined4 *)(iVar6 + 4) = uVar5;\n            uVar5 = FUN_0001a30f();\n            *(undefined4 *)(iVar6 + 8) = uVar5;\n            *piVar4 = iVar6;\n          }\n          else {\n            if ((*(byte *)(iVar6 + 0xc) & 1) == 0) {\n              free(*(void **)(iVar6 + 8));\n            }\n            uVar5 = FUN_0001a30f();\n            *(undefined4 *)(iVar6 + 8) = uVar5;\n            *(uint *)(iVar6 + 0xc) = *(uint *)(iVar6 + 0xc) & 0xfffffffd;\n          }\n          FUN_00055de5();\n        }" (else "else") (compound_statement "{\n          *pcVar3 = '\0';\n          piVar4 = (int *)FUN_00055ac0();\n          iVar6 = *piVar4;\n          *(int *)(DAT_000dc708 + 0x24) = *(int *)(DAT_000dc708 + 0x24) + 1;\n          if (iVar6 == 0) {\n            iVar6 = FUN_0001a2f5();\n            uVar5 = FUN_0001a30f();\n            *(undefined4 *)(iVar6 + 4) = uVar5;\n            uVar5 = FUN_0001a30f();\n            *(undefined4 *)(iVar6 + 8) = uVar5;\n            *piVar4 = iVar6;\n          }\n          else {\n            if ((*(byte *)(iVar6 + 0xc) & 1) == 0) {\n              free(*(void **)(iVar6 + 8));\n            }\n            uVar5 = FUN_0001a30f();\n            *(undefined4 *)(iVar6 + 8) = uVar5;\n            *(uint *)(iVar6 + 0xc) = *(uint *)(iVar6 + 0xc) & 0xfffffffd;\n          }\n          FUN_00055de5();\n        }" ({ "{") (expression_statement "*pcVar3 = '\0';" (assignment_expression "*pcVar3 = '\0'" (pointer_expression "*pcVar3" (* "*") (identifier "pcVar3")) (= "=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) (; ";")) (expression_statement "piVar4 = (int *)FUN_00055ac0();" (assignment_expression "piVar4 = (int *)FUN_00055ac0()" (identifier "piVar4") (= "=") (cast_expression "(int *)FUN_00055ac0()" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_00055ac0()" (identifier "FUN_00055ac0") (argument_list "()" (( "(") () ")"))))) (; ";")) (expression_statement "iVar6 = *piVar4;" (assignment_expression "iVar6 = *piVar4" (identifier "iVar6") (= "=") (pointer_expression "*piVar4" (* "*") (identifier "piVar4"))) (; ";")) (expression_statement "*(int *)(DAT_000dc708 + 0x24) = *(int *)(DAT_000dc708 + 0x24) + 1;" (assignment_expression "*(int *)(DAT_000dc708 + 0x24) = *(int *)(DAT_000dc708 + 0x24) + 1" (pointer_expression "*(int *)(DAT_000dc708 + 0x24)" (* "*") (cast_expression "(int *)(DAT_000dc708 + 0x24)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_000dc708 + 0x24)" (( "(") (binary_expression "DAT_000dc708 + 0x24" (identifier "DAT_000dc708") (+ "+") (number_literal "0x24")) () ")")))) (= "=") (binary_expression "*(int *)(DAT_000dc708 + 0x24) + 1" (pointer_expression "*(int *)(DAT_000dc708 + 0x24)" (* "*") (cast_expression "(int *)(DAT_000dc708 + 0x24)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_000dc708 + 0x24)" (( "(") (binary_expression "DAT_000dc708 + 0x24" (identifier "DAT_000dc708") (+ "+") (number_literal "0x24")) () ")")))) (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (iVar6 == 0) {\n            iVar6 = FUN_0001a2f5();\n            uVar5 = FUN_0001a30f();\n            *(undefined4 *)(iVar6 + 4) = uVar5;\n            uVar5 = FUN_0001a30f();\n            *(undefined4 *)(iVar6 + 8) = uVar5;\n            *piVar4 = iVar6;\n          }\n          else {\n            if ((*(byte *)(iVar6 + 0xc) & 1) == 0) {\n              free(*(void **)(iVar6 + 8));\n            }\n            uVar5 = FUN_0001a30f();\n            *(undefined4 *)(iVar6 + 8) = uVar5;\n            *(uint *)(iVar6 + 0xc) = *(uint *)(iVar6 + 0xc) & 0xfffffffd;\n          }" (if "if") (parenthesized_expression "(iVar6 == 0)" (( "(") (binary_expression "iVar6 == 0" (identifier "iVar6") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n            iVar6 = FUN_0001a2f5();\n            uVar5 = FUN_0001a30f();\n            *(undefined4 *)(iVar6 + 4) = uVar5;\n            uVar5 = FUN_0001a30f();\n            *(undefined4 *)(iVar6 + 8) = uVar5;\n            *piVar4 = iVar6;\n          }" ({ "{") (expression_statement "iVar6 = FUN_0001a2f5();" (assignment_expression "iVar6 = FUN_0001a2f5()" (identifier "iVar6") (= "=") (call_expression "FUN_0001a2f5()" (identifier "FUN_0001a2f5") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "uVar5 = FUN_0001a30f();" (assignment_expression "uVar5 = FUN_0001a30f()" (identifier "uVar5") (= "=") (call_expression "FUN_0001a30f()" (identifier "FUN_0001a30f") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "*(undefined4 *)(iVar6 + 4) = uVar5;" (assignment_expression "*(undefined4 *)(iVar6 + 4) = uVar5" (pointer_expression "*(undefined4 *)(iVar6 + 4)" (* "*") (cast_expression "(undefined4 *)(iVar6 + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 4)" (( "(") (binary_expression "iVar6 + 4" (identifier "iVar6") (+ "+") (number_literal "4")) () ")")))) (= "=") (identifier "uVar5")) (; ";")) (expression_statement "uVar5 = FUN_0001a30f();" (assignment_expression "uVar5 = FUN_0001a30f()" (identifier "uVar5") (= "=") (call_expression "FUN_0001a30f()" (identifier "FUN_0001a30f") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "*(undefined4 *)(iVar6 + 8) = uVar5;" (assignment_expression "*(undefined4 *)(iVar6 + 8) = uVar5" (pointer_expression "*(undefined4 *)(iVar6 + 8)" (* "*") (cast_expression "(undefined4 *)(iVar6 + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 8)" (( "(") (binary_expression "iVar6 + 8" (identifier "iVar6") (+ "+") (number_literal "8")) () ")")))) (= "=") (identifier "uVar5")) (; ";")) (expression_statement "*piVar4 = iVar6;" (assignment_expression "*piVar4 = iVar6" (pointer_expression "*piVar4" (* "*") (identifier "piVar4")) (= "=") (identifier "iVar6")) (; ";")) (} "}")) (else_clause "else {\n            if ((*(byte *)(iVar6 + 0xc) & 1) == 0) {\n              free(*(void **)(iVar6 + 8));\n            }\n            uVar5 = FUN_0001a30f();\n            *(undefined4 *)(iVar6 + 8) = uVar5;\n            *(uint *)(iVar6 + 0xc) = *(uint *)(iVar6 + 0xc) & 0xfffffffd;\n          }" (else "else") (compound_statement "{\n            if ((*(byte *)(iVar6 + 0xc) & 1) == 0) {\n              free(*(void **)(iVar6 + 8));\n            }\n            uVar5 = FUN_0001a30f();\n            *(undefined4 *)(iVar6 + 8) = uVar5;\n            *(uint *)(iVar6 + 0xc) = *(uint *)(iVar6 + 0xc) & 0xfffffffd;\n          }" ({ "{") (if_statement "if ((*(byte *)(iVar6 + 0xc) & 1) == 0) {\n              free(*(void **)(iVar6 + 8));\n            }" (if "if") (parenthesized_expression "((*(byte *)(iVar6 + 0xc) & 1) == 0)" (( "(") (binary_expression "(*(byte *)(iVar6 + 0xc) & 1) == 0" (parenthesized_expression "(*(byte *)(iVar6 + 0xc) & 1)" (( "(") (binary_expression "*(byte *)(iVar6 + 0xc) & 1" (pointer_expression "*(byte *)(iVar6 + 0xc)" (* "*") (cast_expression "(byte *)(iVar6 + 0xc)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 0xc)" (( "(") (binary_expression "iVar6 + 0xc" (identifier "iVar6") (+ "+") (number_literal "0xc")) () ")")))) (& "&") (number_literal "1")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n              free(*(void **)(iVar6 + 8));\n            }" ({ "{") (expression_statement "free(*(void **)(iVar6 + 8));" (call_expression "free(*(void **)(iVar6 + 8))" (identifier "free") (argument_list "(*(void **)(iVar6 + 8))" (( "(") (pointer_expression "*(void **)(iVar6 + 8)" (* "*") (cast_expression "(void **)(iVar6 + 8)" (( "(") (type_descriptor "void **" (primitive_type "void") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar6 + 8)" (( "(") (binary_expression "iVar6 + 8" (identifier "iVar6") (+ "+") (number_literal "8")) () ")")))) () ")"))) (; ";")) (} "}"))) (expression_statement "uVar5 = FUN_0001a30f();" (assignment_expression "uVar5 = FUN_0001a30f()" (identifier "uVar5") (= "=") (call_expression "FUN_0001a30f()" (identifier "FUN_0001a30f") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "*(undefined4 *)(iVar6 + 8) = uVar5;" (assignment_expression "*(undefined4 *)(iVar6 + 8) = uVar5" (pointer_expression "*(undefined4 *)(iVar6 + 8)" (* "*") (cast_expression "(undefined4 *)(iVar6 + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 8)" (( "(") (binary_expression "iVar6 + 8" (identifier "iVar6") (+ "+") (number_literal "8")) () ")")))) (= "=") (identifier "uVar5")) (; ";")) (expression_statement "*(uint *)(iVar6 + 0xc) = *(uint *)(iVar6 + 0xc) & 0xfffffffd;" (assignment_expression "*(uint *)(iVar6 + 0xc) = *(uint *)(iVar6 + 0xc) & 0xfffffffd" (pointer_expression "*(uint *)(iVar6 + 0xc)" (* "*") (cast_expression "(uint *)(iVar6 + 0xc)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 0xc)" (( "(") (binary_expression "iVar6 + 0xc" (identifier "iVar6") (+ "+") (number_literal "0xc")) () ")")))) (= "=") (binary_expression "*(uint *)(iVar6 + 0xc) & 0xfffffffd" (pointer_expression "*(uint *)(iVar6 + 0xc)" (* "*") (cast_expression "(uint *)(iVar6 + 0xc)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 0xc)" (( "(") (binary_expression "iVar6 + 0xc" (identifier "iVar6") (+ "+") (number_literal "0xc")) () ")")))) (& "&") (number_literal "0xfffffffd"))) (; ";")) (} "}")))) (expression_statement "FUN_00055de5();" (call_expression "FUN_00055de5()" (identifier "FUN_00055de5") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))) (expression_statement "local_30 = local_30 + 1;" (assignment_expression "local_30 = local_30 + 1" (identifier "local_30") (= "=") (binary_expression "local_30 + 1" (identifier "local_30") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "iVar6 = *local_30;" (assignment_expression "iVar6 = *local_30" (identifier "iVar6") (= "=") (pointer_expression "*local_30" (* "*") (identifier "local_30"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar6 != 0)" (( "(") (binary_expression "iVar6 != 0" (identifier "iVar6") (!= "!=") (number_literal "0")) () ")")) (; ";")) (return_statement "return uVar7;" (return "return") (identifier "uVar7") (; ";")) (} "}"))) (} "}")))) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}")))

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

int function_1(int argc,char **argv)

{
}


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

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

undefined4 __regparm3 MASKED(undefined4 param_1,int param_2)

{
  undefined4 *puVar1;
  undefined *puVar2;
  char *pcVar3;
  int *piVar4;
  undefined4 uVar5;
  int iVar6;
  undefined4 uVar7;
  int *local_30;
  
  puVar2 = PTR_stderr_000dbf8c;
  if (*(int *)(param_2 + 4) == 0) {
    iVar6 = 0;
    do {
      for (puVar1 = *(undefined4 **)(DAT_000dc280 + iVar6); puVar1 != (undefined4 *)0x0;
          puVar1 = (undefined4 *)*puVar1) {
        FUN_0005ae8b();
      }
      iVar6 = iVar6 + 4;
    } while (iVar6 != 0x9c);
  }
  else {
    local_30 = (int *)(param_2 + 4);
    iVar6 = *(int *)(param_2 + 4);
    uVar7 = 0;
    if (iVar6 != 0) {
      do {
        pcVar3 = strchr((char *)(iVar6 + 1),0x3d);
        if (pcVar3 == (char *)0x0) {
          piVar4 = (int *)FUN_00055ac0();
          if (*piVar4 == 0) {
            __fprintf_chk(*(undefined4 *)puVar2,1,"%s: %s not found\n","alias",iVar6);
            uVar7 = 1;
          }
          else {
            FUN_0005ae8b();
          }
        }
        else {
          *pcVar3 = '\0';
          piVar4 = (int *)FUN_00055ac0();
          iVar6 = *piVar4;
          *(int *)(DAT_000dc708 + 0x24) = *(int *)(DAT_000dc708 + 0x24) + 1;
          if (iVar6 == 0) {
            iVar6 = FUN_0001a2f5();
            uVar5 = FUN_0001a30f();
            *(undefined4 *)(iVar6 + 4) = uVar5;
            uVar5 = FUN_0001a30f();
            *(undefined4 *)(iVar6 + 8) = uVar5;
            *piVar4 = iVar6;
          }
          else {
            if ((*(byte *)(iVar6 + 0xc) & 1) == 0) {
              free(*(void **)(iVar6 + 8));
            }
            uVar5 = FUN_0001a30f();
            *(undefined4 *)(iVar6 + 8) = uVar5;
            *(uint *)(iVar6 + 0xc) = *(uint *)(iVar6 + 0xc) & 0xfffffffd;
          }
          FUN_00055de5();
        }
        local_30 = local_30 + 1;
        iVar6 = *local_30;
      } while (iVar6 != 0);
      return uVar7;
    }
  }
  return 0;
}

