
Expr * sqlite3PExpr(Parse *pParse,int op,Expr *pLeft,Expr *pRight)

{
  int iVar1;
  Parse *pParse_00;
  Expr *p;
  sqlite3 *db;
  Expr *in_ECX;
  Expr *extraout_ECX;
  uint uVar2;
  int unaff_EDI;
  undefined4 *puVar3;
  byte bVar4;
  undefined8 uVar5;
  u64 in_stack_ffffffd4;
  u8 local_24;
  
  bVar4 = 0;
  uVar5 = __x86_get_pc_thunk_di();
  pParse_00 = (Parse *)uVar5;
  if ((((int)((ulonglong)uVar5 >> 0x20) == 0x2c) && (pParse_00->nErr == 0)) &&
     (pParse_00->eParseMode < 2)) {
    p = extraout_ECX;
    if (extraout_ECX != (Expr *)0x0) {
LAB_000950a3:
      iVar1 = pParse_00->db->aLimit[3];
      if (iVar1 < p->nHeight) {
        sqlite3ErrorMsg(pParse_00,(char *)(unaff_EDI + 0xd4e1b),iVar1);
        return p;
      }
      return p;
    }
  }
  else {
    db = pParse_00->db;
    if (db->mallocFailed == '\0') {
      p = (Expr *)dbMallocRawFinish(db,in_stack_ffffffd4);
      if (p != (Expr *)0x0) {
        p->op = '\0';
        p->affinity = '\0';
        *(undefined2 *)&p->field_0x2 = 0;
        puVar3 = (undefined4 *)((uint)&p->flags & 0xfffffffc);
        (p->y).sub.regReturn = 0;
        uVar2 = (uint)((int)p + (0x38 - (int)puVar3)) >> 2;
        for (; uVar2 != 0; uVar2 = uVar2 - 1) {
          *puVar3 = 0;
          puVar3 = puVar3 + (uint)bVar4 * -2 + 1;
        }
        local_24 = (u8)((ulonglong)uVar5 >> 0x20);
        p->op = local_24;
        p->iAgg = -1;
        if (in_ECX != (Expr *)0x0) {
          p->pLeft = in_ECX;
          p->flags = p->flags | in_ECX->flags & 0x200104;
        }
        exprSetHeight(p);
        goto LAB_000950a3;
      }
      db = pParse_00->db;
    }
    if (in_ECX != (Expr *)0x0) {
      sqlite3ExprDeleteNN(db,in_ECX);
    }
  }
  return (Expr *)0x0;
}



undefined4 * FUN_00095010(void)

{
  int *piVar1;
  undefined4 *puVar2;
  int in_ECX;
  undefined4 *extraout_ECX;
  uint uVar3;
  int unaff_EDI;
  undefined4 *puVar4;
  byte bVar5;
  undefined8 uVar6;
  undefined1 local_24;
  
  bVar5 = 0;
  uVar6 = FUN_0003a401();
  piVar1 = (int *)uVar6;
  if ((((int)((ulonglong)uVar6 >> 0x20) == 0x2c) && (piVar1[9] == 0)) &&
     (*(byte *)((int)piVar1 + 0xc6) < 2)) {
    puVar2 = extraout_ECX;
    if (extraout_ECX != (undefined4 *)0x0) {
LAB_000950a3:
      if (*(int *)(*piVar1 + 0x74) < (int)puVar2[6]) {
        FUN_000886b0(piVar1,unaff_EDI + 0xd4e1b,*(int *)(*piVar1 + 0x74));
        return puVar2;
      }
      return puVar2;
    }
  }
  else {
    if ((*(char *)(*piVar1 + 0x4d) == '\0') &&
       (puVar2 = (undefined4 *)FUN_00055c10(), puVar2 != (undefined4 *)0x0)) {
      *puVar2 = 0;
      puVar2[0xd] = 0;
      puVar4 = (undefined4 *)((uint)(puVar2 + 1) & 0xfffffffc);
      for (uVar3 = (uint)((int)puVar2 + (0x38 - (int)((uint)(puVar2 + 1) & 0xfffffffc))) >> 2;
          uVar3 != 0; uVar3 = uVar3 - 1) {
        *puVar4 = 0;
        puVar4 = puVar4 + (uint)bVar5 * -2 + 1;
      }
      local_24 = (undefined1)((ulonglong)uVar6 >> 0x20);
      *(undefined1 *)puVar2 = local_24;
      *(undefined2 *)(puVar2 + 9) = 0xffff;
      if (in_ECX != 0) {
        puVar2[3] = in_ECX;
        puVar2[1] = puVar2[1] | *(uint *)(in_ECX + 4) & 0x200104;
      }
      FUN_00049e60();
      goto LAB_000950a3;
    }
    if (in_ECX != 0) {
      FUN_00063d60();
    }
  }
  return (undefined4 *)0x0;
}


PUSH EBP
MOV EBP,ECX
PUSH EDI
CALL 0x0003a401
ADD EDI,0x125e0f
PUSH ESI
MOV ESI,EAX
PUSH EBX
SUB ESP,0x1c
MOV dword ptr [ESP + 0x8],EDX
MOV dword ptr [ESP + 0xc],EDI
CMP EDX,0x2c
JZ 0x000950e8
MOV EAX,dword ptr [ESI]
CMP byte ptr [EAX + 0x4d],0x0
JNZ 0x00095128
MOV EDX,0x38
XOR ECX,ECX
CALL 0x00055c10
MOV EBX,EAX
TEST EAX,EAX
JZ 0x00095120
LEA EDI,[EAX + 0x4]
MOV ECX,EAX
MOV dword ptr [EAX],0x0
AND EDI,0xfffffffc
MOV dword ptr [EAX + 0x34],0x0
XOR EAX,EAX
SUB ECX,EDI
ADD ECX,0x38
SHR ECX,0x2
STOSD.REP ES:EDI
MOVZX EAX,byte ptr [ESP + 0x8]
MOV byte ptr [EBX],AL
MOV EAX,0xffffffff
MOV word ptr [EBX + 0x24],AX
TEST EBP,EBP
JZ 0x0009509c
MOV dword ptr [EBX + 0xc],EBP
MOV EAX,dword ptr [EBP + 0x4]
AND EAX,0x200104
OR dword ptr [EBX + 0x4],EAX
MOV EAX,EBX
CALL 0x00049e60
MOV EAX,dword ptr [ESI]
MOV EAX,dword ptr [EAX + 0x74]
CMP dword ptr [EBX + 0x18],EAX
JG 0x000950c0
ADD ESP,0x1c
MOV EAX,EBX
POP EBX
POP ESI
POP EDI
POP EBP
RET
SUB ESP,0x4
PUSH EAX
MOV EAX,dword ptr [ESP + 0x14]
LEA EAX,[EAX + 0xfffaf00c]
PUSH EAX
PUSH ESI
CALL 0x000886b0
ADD ESP,0x10
MOV EAX,EBX
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EDX,dword ptr [EAX + 0x24]
TEST EDX,EDX
JNZ 0x00095037
CMP byte ptr [EAX + 0xc6],0x1
JA 0x00095037
MOV EBX,ECX
TEST ECX,ECX
JNZ 0x000950a3
LEA ESI,[ESI]
LEA ESI,[ESI]
XOR EBX,EBX
ADD ESP,0x1c
MOV EAX,EBX
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EAX,dword ptr [ESI]
LEA ESI,[ESI]
TEST EBP,EBP
JZ 0x00095110
MOV EDX,EBP
XOR EBX,EBX
CALL 0x00063d60
JMP 0x00095112
(translation_unit "undefined4 * FUN_00095010(void)\n\n{\n  int *piVar1;\n  undefined4 *puVar2;\n  int in_ECX;\n  undefined4 *extraout_ECX;\n  uint uVar3;\n  int unaff_EDI;\n  undefined4 *puVar4;\n  byte bVar5;\n  undefined8 uVar6;\n  undefined1 local_24;\n  \n  bVar5 = 0;\n  uVar6 = FUN_0003a401();\n  piVar1 = (int *)uVar6;\n  if ((((int)((ulonglong)uVar6 >> 0x20) == 0x2c) && (piVar1[9] == 0)) &&\n     (*(byte *)((int)piVar1 + 0xc6) < 2)) {\n    puVar2 = extraout_ECX;\n    if (extraout_ECX != (undefined4 *)0x0) {\nLAB_000950a3:\n      if (*(int *)(*piVar1 + 0x74) < (int)puVar2[6]) {\n        FUN_000886b0(piVar1,unaff_EDI + 0xd4e1b,*(int *)(*piVar1 + 0x74));\n        return puVar2;\n      }\n      return puVar2;\n    }\n  }\n  else {\n    if ((*(char *)(*piVar1 + 0x4d) == '\0') &&\n       (puVar2 = (undefined4 *)FUN_00055c10(), puVar2 != (undefined4 *)0x0)) {\n      *puVar2 = 0;\n      puVar2[0xd] = 0;\n      puVar4 = (undefined4 *)((uint)(puVar2 + 1) & 0xfffffffc);\n      for (uVar3 = (uint)((int)puVar2 + (0x38 - (int)((uint)(puVar2 + 1) & 0xfffffffc))) >> 2;\n          uVar3 != 0; uVar3 = uVar3 - 1) {\n        *puVar4 = 0;\n        puVar4 = puVar4 + (uint)bVar5 * -2 + 1;\n      }\n      local_24 = (undefined1)((ulonglong)uVar6 >> 0x20);\n      *(undefined1 *)puVar2 = local_24;\n      *(undefined2 *)(puVar2 + 9) = 0xffff;\n      if (in_ECX != 0) {\n        puVar2[3] = in_ECX;\n        puVar2[1] = puVar2[1] | *(uint *)(in_ECX + 4) & 0x200104;\n      }\n      FUN_00049e60();\n      goto LAB_000950a3;\n    }\n    if (in_ECX != 0) {\n      FUN_00063d60();\n    }\n  }\n  return (undefined4 *)0x0;\n}\n\n" (function_definition "undefined4 * FUN_00095010(void)\n\n{\n  int *piVar1;\n  undefined4 *puVar2;\n  int in_ECX;\n  undefined4 *extraout_ECX;\n  uint uVar3;\n  int unaff_EDI;\n  undefined4 *puVar4;\n  byte bVar5;\n  undefined8 uVar6;\n  undefined1 local_24;\n  \n  bVar5 = 0;\n  uVar6 = FUN_0003a401();\n  piVar1 = (int *)uVar6;\n  if ((((int)((ulonglong)uVar6 >> 0x20) == 0x2c) && (piVar1[9] == 0)) &&\n     (*(byte *)((int)piVar1 + 0xc6) < 2)) {\n    puVar2 = extraout_ECX;\n    if (extraout_ECX != (undefined4 *)0x0) {\nLAB_000950a3:\n      if (*(int *)(*piVar1 + 0x74) < (int)puVar2[6]) {\n        FUN_000886b0(piVar1,unaff_EDI + 0xd4e1b,*(int *)(*piVar1 + 0x74));\n        return puVar2;\n      }\n      return puVar2;\n    }\n  }\n  else {\n    if ((*(char *)(*piVar1 + 0x4d) == '\0') &&\n       (puVar2 = (undefined4 *)FUN_00055c10(), puVar2 != (undefined4 *)0x0)) {\n      *puVar2 = 0;\n      puVar2[0xd] = 0;\n      puVar4 = (undefined4 *)((uint)(puVar2 + 1) & 0xfffffffc);\n      for (uVar3 = (uint)((int)puVar2 + (0x38 - (int)((uint)(puVar2 + 1) & 0xfffffffc))) >> 2;\n          uVar3 != 0; uVar3 = uVar3 - 1) {\n        *puVar4 = 0;\n        puVar4 = puVar4 + (uint)bVar5 * -2 + 1;\n      }\n      local_24 = (undefined1)((ulonglong)uVar6 >> 0x20);\n      *(undefined1 *)puVar2 = local_24;\n      *(undefined2 *)(puVar2 + 9) = 0xffff;\n      if (in_ECX != 0) {\n        puVar2[3] = in_ECX;\n        puVar2[1] = puVar2[1] | *(uint *)(in_ECX + 4) & 0x200104;\n      }\n      FUN_00049e60();\n      goto LAB_000950a3;\n    }\n    if (in_ECX != 0) {\n      FUN_00063d60();\n    }\n  }\n  return (undefined4 *)0x0;\n}" type_identifier (pointer_declarator "* FUN_00095010(void)" * (function_declarator "FUN_00095010(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) )))) (compound_statement "{\n  int *piVar1;\n  undefined4 *puVar2;\n  int in_ECX;\n  undefined4 *extraout_ECX;\n  uint uVar3;\n  int unaff_EDI;\n  undefined4 *puVar4;\n  byte bVar5;\n  undefined8 uVar6;\n  undefined1 local_24;\n  \n  bVar5 = 0;\n  uVar6 = FUN_0003a401();\n  piVar1 = (int *)uVar6;\n  if ((((int)((ulonglong)uVar6 >> 0x20) == 0x2c) && (piVar1[9] == 0)) &&\n     (*(byte *)((int)piVar1 + 0xc6) < 2)) {\n    puVar2 = extraout_ECX;\n    if (extraout_ECX != (undefined4 *)0x0) {\nLAB_000950a3:\n      if (*(int *)(*piVar1 + 0x74) < (int)puVar2[6]) {\n        FUN_000886b0(piVar1,unaff_EDI + 0xd4e1b,*(int *)(*piVar1 + 0x74));\n        return puVar2;\n      }\n      return puVar2;\n    }\n  }\n  else {\n    if ((*(char *)(*piVar1 + 0x4d) == '\0') &&\n       (puVar2 = (undefined4 *)FUN_00055c10(), puVar2 != (undefined4 *)0x0)) {\n      *puVar2 = 0;\n      puVar2[0xd] = 0;\n      puVar4 = (undefined4 *)((uint)(puVar2 + 1) & 0xfffffffc);\n      for (uVar3 = (uint)((int)puVar2 + (0x38 - (int)((uint)(puVar2 + 1) & 0xfffffffc))) >> 2;\n          uVar3 != 0; uVar3 = uVar3 - 1) {\n        *puVar4 = 0;\n        puVar4 = puVar4 + (uint)bVar5 * -2 + 1;\n      }\n      local_24 = (undefined1)((ulonglong)uVar6 >> 0x20);\n      *(undefined1 *)puVar2 = local_24;\n      *(undefined2 *)(puVar2 + 9) = 0xffff;\n      if (in_ECX != 0) {\n        puVar2[3] = in_ECX;\n        puVar2[1] = puVar2[1] | *(uint *)(in_ECX + 4) & 0x200104;\n      }\n      FUN_00049e60();\n      goto LAB_000950a3;\n    }\n    if (in_ECX != 0) {\n      FUN_00063d60();\n    }\n  }\n  return (undefined4 *)0x0;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "int in_ECX;" primitive_type identifier ;) (declaration "undefined4 *extraout_ECX;" type_identifier (pointer_declarator "*extraout_ECX" * identifier) ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "int unaff_EDI;" primitive_type identifier ;) (declaration "undefined4 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "byte bVar5;" type_identifier identifier ;) (declaration "undefined8 uVar6;" type_identifier identifier ;) (declaration "undefined1 local_24;" type_identifier identifier ;) (expression_statement "bVar5 = 0;" (assignment_expression "bVar5 = 0" identifier = number_literal) ;) (expression_statement "uVar6 = FUN_0003a401();" (assignment_expression "uVar6 = FUN_0003a401()" identifier = (call_expression "FUN_0003a401()" identifier (argument_list "()" ( )))) ;) (expression_statement "piVar1 = (int *)uVar6;" (assignment_expression "piVar1 = (int *)uVar6" identifier = (cast_expression "(int *)uVar6" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) ;) (if_statement "if ((((int)((ulonglong)uVar6 >> 0x20) == 0x2c) && (piVar1[9] == 0)) &&\n     (*(byte *)((int)piVar1 + 0xc6) < 2)) {\n    puVar2 = extraout_ECX;\n    if (extraout_ECX != (undefined4 *)0x0) {\nLAB_000950a3:\n      if (*(int *)(*piVar1 + 0x74) < (int)puVar2[6]) {\n        FUN_000886b0(piVar1,unaff_EDI + 0xd4e1b,*(int *)(*piVar1 + 0x74));\n        return puVar2;\n      }\n      return puVar2;\n    }\n  }\n  else {\n    if ((*(char *)(*piVar1 + 0x4d) == '\0') &&\n       (puVar2 = (undefined4 *)FUN_00055c10(), puVar2 != (undefined4 *)0x0)) {\n      *puVar2 = 0;\n      puVar2[0xd] = 0;\n      puVar4 = (undefined4 *)((uint)(puVar2 + 1) & 0xfffffffc);\n      for (uVar3 = (uint)((int)puVar2 + (0x38 - (int)((uint)(puVar2 + 1) & 0xfffffffc))) >> 2;\n          uVar3 != 0; uVar3 = uVar3 - 1) {\n        *puVar4 = 0;\n        puVar4 = puVar4 + (uint)bVar5 * -2 + 1;\n      }\n      local_24 = (undefined1)((ulonglong)uVar6 >> 0x20);\n      *(undefined1 *)puVar2 = local_24;\n      *(undefined2 *)(puVar2 + 9) = 0xffff;\n      if (in_ECX != 0) {\n        puVar2[3] = in_ECX;\n        puVar2[1] = puVar2[1] | *(uint *)(in_ECX + 4) & 0x200104;\n      }\n      FUN_00049e60();\n      goto LAB_000950a3;\n    }\n    if (in_ECX != 0) {\n      FUN_00063d60();\n    }\n  }" if (parenthesized_expression "((((int)((ulonglong)uVar6 >> 0x20) == 0x2c) && (piVar1[9] == 0)) &&\n     (*(byte *)((int)piVar1 + 0xc6) < 2))" ( (binary_expression "(((int)((ulonglong)uVar6 >> 0x20) == 0x2c) && (piVar1[9] == 0)) &&\n     (*(byte *)((int)piVar1 + 0xc6) < 2)" (parenthesized_expression "(((int)((ulonglong)uVar6 >> 0x20) == 0x2c) && (piVar1[9] == 0))" ( (binary_expression "((int)((ulonglong)uVar6 >> 0x20) == 0x2c) && (piVar1[9] == 0)" (parenthesized_expression "((int)((ulonglong)uVar6 >> 0x20) == 0x2c)" ( (binary_expression "(int)((ulonglong)uVar6 >> 0x20) == 0x2c" (cast_expression "(int)((ulonglong)uVar6 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)uVar6 >> 0x20)" ( (binary_expression "(ulonglong)uVar6 >> 0x20" (cast_expression "(ulonglong)uVar6" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) ))) == number_literal) )) && (parenthesized_expression "(piVar1[9] == 0)" ( (binary_expression "piVar1[9] == 0" (subscript_expression "piVar1[9]" identifier [ number_literal ]) == number_literal) ))) )) && (parenthesized_expression "(*(byte *)((int)piVar1 + 0xc6) < 2)" ( (binary_expression "*(byte *)((int)piVar1 + 0xc6) < 2" (pointer_expression "*(byte *)((int)piVar1 + 0xc6)" * (cast_expression "(byte *)((int)piVar1 + 0xc6)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar1 + 0xc6)" ( (binary_expression "(int)piVar1 + 0xc6" (cast_expression "(int)piVar1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) < number_literal) ))) )) (compound_statement "{\n    puVar2 = extraout_ECX;\n    if (extraout_ECX != (undefined4 *)0x0) {\nLAB_000950a3:\n      if (*(int *)(*piVar1 + 0x74) < (int)puVar2[6]) {\n        FUN_000886b0(piVar1,unaff_EDI + 0xd4e1b,*(int *)(*piVar1 + 0x74));\n        return puVar2;\n      }\n      return puVar2;\n    }\n  }" { (expression_statement "puVar2 = extraout_ECX;" (assignment_expression "puVar2 = extraout_ECX" identifier = identifier) ;) (if_statement "if (extraout_ECX != (undefined4 *)0x0) {\nLAB_000950a3:\n      if (*(int *)(*piVar1 + 0x74) < (int)puVar2[6]) {\n        FUN_000886b0(piVar1,unaff_EDI + 0xd4e1b,*(int *)(*piVar1 + 0x74));\n        return puVar2;\n      }\n      return puVar2;\n    }" if (parenthesized_expression "(extraout_ECX != (undefined4 *)0x0)" ( (binary_expression "extraout_ECX != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\nLAB_000950a3:\n      if (*(int *)(*piVar1 + 0x74) < (int)puVar2[6]) {\n        FUN_000886b0(piVar1,unaff_EDI + 0xd4e1b,*(int *)(*piVar1 + 0x74));\n        return puVar2;\n      }\n      return puVar2;\n    }" { (labeled_statement "LAB_000950a3:\n      if (*(int *)(*piVar1 + 0x74) < (int)puVar2[6]) {\n        FUN_000886b0(piVar1,unaff_EDI + 0xd4e1b,*(int *)(*piVar1 + 0x74));\n        return puVar2;\n      }" statement_identifier : (if_statement "if (*(int *)(*piVar1 + 0x74) < (int)puVar2[6]) {\n        FUN_000886b0(piVar1,unaff_EDI + 0xd4e1b,*(int *)(*piVar1 + 0x74));\n        return puVar2;\n      }" if (parenthesized_expression "(*(int *)(*piVar1 + 0x74) < (int)puVar2[6])" ( (binary_expression "*(int *)(*piVar1 + 0x74) < (int)puVar2[6]" (pointer_expression "*(int *)(*piVar1 + 0x74)" * (cast_expression "(int *)(*piVar1 + 0x74)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*piVar1 + 0x74)" ( (binary_expression "*piVar1 + 0x74" (pointer_expression "*piVar1" * identifier) + number_literal) )))) < (cast_expression "(int)puVar2[6]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "puVar2[6]" identifier [ number_literal ]))) )) (compound_statement "{\n        FUN_000886b0(piVar1,unaff_EDI + 0xd4e1b,*(int *)(*piVar1 + 0x74));\n        return puVar2;\n      }" { (expression_statement "FUN_000886b0(piVar1,unaff_EDI + 0xd4e1b,*(int *)(*piVar1 + 0x74));" (call_expression "FUN_000886b0(piVar1,unaff_EDI + 0xd4e1b,*(int *)(*piVar1 + 0x74))" identifier (argument_list "(piVar1,unaff_EDI + 0xd4e1b,*(int *)(*piVar1 + 0x74))" ( identifier , (binary_expression "unaff_EDI + 0xd4e1b" identifier + number_literal) , (pointer_expression "*(int *)(*piVar1 + 0x74)" * (cast_expression "(int *)(*piVar1 + 0x74)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*piVar1 + 0x74)" ( (binary_expression "*piVar1 + 0x74" (pointer_expression "*piVar1" * identifier) + number_literal) )))) ))) ;) (return_statement "return puVar2;" return identifier ;) }))) (return_statement "return puVar2;" return identifier ;) })) }) (else_clause "else {\n    if ((*(char *)(*piVar1 + 0x4d) == '\0') &&\n       (puVar2 = (undefined4 *)FUN_00055c10(), puVar2 != (undefined4 *)0x0)) {\n      *puVar2 = 0;\n      puVar2[0xd] = 0;\n      puVar4 = (undefined4 *)((uint)(puVar2 + 1) & 0xfffffffc);\n      for (uVar3 = (uint)((int)puVar2 + (0x38 - (int)((uint)(puVar2 + 1) & 0xfffffffc))) >> 2;\n          uVar3 != 0; uVar3 = uVar3 - 1) {\n        *puVar4 = 0;\n        puVar4 = puVar4 + (uint)bVar5 * -2 + 1;\n      }\n      local_24 = (undefined1)((ulonglong)uVar6 >> 0x20);\n      *(undefined1 *)puVar2 = local_24;\n      *(undefined2 *)(puVar2 + 9) = 0xffff;\n      if (in_ECX != 0) {\n        puVar2[3] = in_ECX;\n        puVar2[1] = puVar2[1] | *(uint *)(in_ECX + 4) & 0x200104;\n      }\n      FUN_00049e60();\n      goto LAB_000950a3;\n    }\n    if (in_ECX != 0) {\n      FUN_00063d60();\n    }\n  }" else (compound_statement "{\n    if ((*(char *)(*piVar1 + 0x4d) == '\0') &&\n       (puVar2 = (undefined4 *)FUN_00055c10(), puVar2 != (undefined4 *)0x0)) {\n      *puVar2 = 0;\n      puVar2[0xd] = 0;\n      puVar4 = (undefined4 *)((uint)(puVar2 + 1) & 0xfffffffc);\n      for (uVar3 = (uint)((int)puVar2 + (0x38 - (int)((uint)(puVar2 + 1) & 0xfffffffc))) >> 2;\n          uVar3 != 0; uVar3 = uVar3 - 1) {\n        *puVar4 = 0;\n        puVar4 = puVar4 + (uint)bVar5 * -2 + 1;\n      }\n      local_24 = (undefined1)((ulonglong)uVar6 >> 0x20);\n      *(undefined1 *)puVar2 = local_24;\n      *(undefined2 *)(puVar2 + 9) = 0xffff;\n      if (in_ECX != 0) {\n        puVar2[3] = in_ECX;\n        puVar2[1] = puVar2[1] | *(uint *)(in_ECX + 4) & 0x200104;\n      }\n      FUN_00049e60();\n      goto LAB_000950a3;\n    }\n    if (in_ECX != 0) {\n      FUN_00063d60();\n    }\n  }" { (if_statement "if ((*(char *)(*piVar1 + 0x4d) == '\0') &&\n       (puVar2 = (undefined4 *)FUN_00055c10(), puVar2 != (undefined4 *)0x0)) {\n      *puVar2 = 0;\n      puVar2[0xd] = 0;\n      puVar4 = (undefined4 *)((uint)(puVar2 + 1) & 0xfffffffc);\n      for (uVar3 = (uint)((int)puVar2 + (0x38 - (int)((uint)(puVar2 + 1) & 0xfffffffc))) >> 2;\n          uVar3 != 0; uVar3 = uVar3 - 1) {\n        *puVar4 = 0;\n        puVar4 = puVar4 + (uint)bVar5 * -2 + 1;\n      }\n      local_24 = (undefined1)((ulonglong)uVar6 >> 0x20);\n      *(undefined1 *)puVar2 = local_24;\n      *(undefined2 *)(puVar2 + 9) = 0xffff;\n      if (in_ECX != 0) {\n        puVar2[3] = in_ECX;\n        puVar2[1] = puVar2[1] | *(uint *)(in_ECX + 4) & 0x200104;\n      }\n      FUN_00049e60();\n      goto LAB_000950a3;\n    }" if (parenthesized_expression "((*(char *)(*piVar1 + 0x4d) == '\0') &&\n       (puVar2 = (undefined4 *)FUN_00055c10(), puVar2 != (undefined4 *)0x0))" ( (binary_expression "(*(char *)(*piVar1 + 0x4d) == '\0') &&\n       (puVar2 = (undefined4 *)FUN_00055c10(), puVar2 != (undefined4 *)0x0)" (parenthesized_expression "(*(char *)(*piVar1 + 0x4d) == '\0')" ( (binary_expression "*(char *)(*piVar1 + 0x4d) == '\0'" (pointer_expression "*(char *)(*piVar1 + 0x4d)" * (cast_expression "(char *)(*piVar1 + 0x4d)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*piVar1 + 0x4d)" ( (binary_expression "*piVar1 + 0x4d" (pointer_expression "*piVar1" * identifier) + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) && (parenthesized_expression "(puVar2 = (undefined4 *)FUN_00055c10(), puVar2 != (undefined4 *)0x0)" ( (comma_expression "puVar2 = (undefined4 *)FUN_00055c10(), puVar2 != (undefined4 *)0x0" (assignment_expression "puVar2 = (undefined4 *)FUN_00055c10()" identifier = (cast_expression "(undefined4 *)FUN_00055c10()" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00055c10()" identifier (argument_list "()" ( ))))) , (binary_expression "puVar2 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) (compound_statement "{\n      *puVar2 = 0;\n      puVar2[0xd] = 0;\n      puVar4 = (undefined4 *)((uint)(puVar2 + 1) & 0xfffffffc);\n      for (uVar3 = (uint)((int)puVar2 + (0x38 - (int)((uint)(puVar2 + 1) & 0xfffffffc))) >> 2;\n          uVar3 != 0; uVar3 = uVar3 - 1) {\n        *puVar4 = 0;\n        puVar4 = puVar4 + (uint)bVar5 * -2 + 1;\n      }\n      local_24 = (undefined1)((ulonglong)uVar6 >> 0x20);\n      *(undefined1 *)puVar2 = local_24;\n      *(undefined2 *)(puVar2 + 9) = 0xffff;\n      if (in_ECX != 0) {\n        puVar2[3] = in_ECX;\n        puVar2[1] = puVar2[1] | *(uint *)(in_ECX + 4) & 0x200104;\n      }\n      FUN_00049e60();\n      goto LAB_000950a3;\n    }" { (expression_statement "*puVar2 = 0;" (assignment_expression "*puVar2 = 0" (pointer_expression "*puVar2" * identifier) = number_literal) ;) (expression_statement "puVar2[0xd] = 0;" (assignment_expression "puVar2[0xd] = 0" (subscript_expression "puVar2[0xd]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar4 = (undefined4 *)((uint)(puVar2 + 1) & 0xfffffffc);" (assignment_expression "puVar4 = (undefined4 *)((uint)(puVar2 + 1) & 0xfffffffc)" identifier = (cast_expression "(undefined4 *)((uint)(puVar2 + 1) & 0xfffffffc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((uint)(puVar2 + 1) & 0xfffffffc)" ( (binary_expression "(uint)(puVar2 + 1) & 0xfffffffc" (call_expression "(uint)(puVar2 + 1)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(puVar2 + 1)" ( (binary_expression "puVar2 + 1" identifier + number_literal) ))) & number_literal) )))) ;) (for_statement "for (uVar3 = (uint)((int)puVar2 + (0x38 - (int)((uint)(puVar2 + 1) & 0xfffffffc))) >> 2;\n          uVar3 != 0; uVar3 = uVar3 - 1) {\n        *puVar4 = 0;\n        puVar4 = puVar4 + (uint)bVar5 * -2 + 1;\n      }" for ( (assignment_expression "uVar3 = (uint)((int)puVar2 + (0x38 - (int)((uint)(puVar2 + 1) & 0xfffffffc))) >> 2" identifier = (binary_expression "(uint)((int)puVar2 + (0x38 - (int)((uint)(puVar2 + 1) & 0xfffffffc))) >> 2" (call_expression "(uint)((int)puVar2 + (0x38 - (int)((uint)(puVar2 + 1) & 0xfffffffc)))" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((int)puVar2 + (0x38 - (int)((uint)(puVar2 + 1) & 0xfffffffc)))" ( (binary_expression "(int)puVar2 + (0x38 - (int)((uint)(puVar2 + 1) & 0xfffffffc))" (cast_expression "(int)puVar2" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "(0x38 - (int)((uint)(puVar2 + 1) & 0xfffffffc))" ( (binary_expression "0x38 - (int)((uint)(puVar2 + 1) & 0xfffffffc)" number_literal - (cast_expression "(int)((uint)(puVar2 + 1) & 0xfffffffc)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((uint)(puVar2 + 1) & 0xfffffffc)" ( (binary_expression "(uint)(puVar2 + 1) & 0xfffffffc" (call_expression "(uint)(puVar2 + 1)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(puVar2 + 1)" ( (binary_expression "puVar2 + 1" identifier + number_literal) ))) & number_literal) )))) ))) ))) >> number_literal)) ; (binary_expression "uVar3 != 0" identifier != number_literal) ; (assignment_expression "uVar3 = uVar3 - 1" identifier = (binary_expression "uVar3 - 1" identifier - number_literal)) ) (compound_statement "{\n        *puVar4 = 0;\n        puVar4 = puVar4 + (uint)bVar5 * -2 + 1;\n      }" { (expression_statement "*puVar4 = 0;" (assignment_expression "*puVar4 = 0" (pointer_expression "*puVar4" * identifier) = number_literal) ;) (expression_statement "puVar4 = puVar4 + (uint)bVar5 * -2 + 1;" (assignment_expression "puVar4 = puVar4 + (uint)bVar5 * -2 + 1" identifier = (binary_expression "puVar4 + (uint)bVar5 * -2 + 1" (binary_expression "puVar4 + (uint)bVar5 * -2" identifier + (binary_expression "(uint)bVar5 * -2" (cast_expression "(uint)bVar5" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) })) (expression_statement "local_24 = (undefined1)((ulonglong)uVar6 >> 0x20);" (assignment_expression "local_24 = (undefined1)((ulonglong)uVar6 >> 0x20)" identifier = (call_expression "(undefined1)((ulonglong)uVar6 >> 0x20)" (parenthesized_expression "(undefined1)" ( identifier )) (argument_list "((ulonglong)uVar6 >> 0x20)" ( (binary_expression "(ulonglong)uVar6 >> 0x20" (cast_expression "(ulonglong)uVar6" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "*(undefined1 *)puVar2 = local_24;" (assignment_expression "*(undefined1 *)puVar2 = local_24" (pointer_expression "*(undefined1 *)puVar2" * (cast_expression "(undefined1 *)puVar2" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = identifier) ;) (expression_statement "*(undefined2 *)(puVar2 + 9) = 0xffff;" (assignment_expression "*(undefined2 *)(puVar2 + 9) = 0xffff" (pointer_expression "*(undefined2 *)(puVar2 + 9)" * (cast_expression "(undefined2 *)(puVar2 + 9)" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + 9)" ( (binary_expression "puVar2 + 9" identifier + number_literal) )))) = number_literal) ;) (if_statement "if (in_ECX != 0) {\n        puVar2[3] = in_ECX;\n        puVar2[1] = puVar2[1] | *(uint *)(in_ECX + 4) & 0x200104;\n      }" if (parenthesized_expression "(in_ECX != 0)" ( (binary_expression "in_ECX != 0" identifier != number_literal) )) (compound_statement "{\n        puVar2[3] = in_ECX;\n        puVar2[1] = puVar2[1] | *(uint *)(in_ECX + 4) & 0x200104;\n      }" { (expression_statement "puVar2[3] = in_ECX;" (assignment_expression "puVar2[3] = in_ECX" (subscript_expression "puVar2[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar2[1] = puVar2[1] | *(uint *)(in_ECX + 4) & 0x200104;" (assignment_expression "puVar2[1] = puVar2[1] | *(uint *)(in_ECX + 4) & 0x200104" (subscript_expression "puVar2[1]" identifier [ number_literal ]) = (binary_expression "puVar2[1] | *(uint *)(in_ECX + 4) & 0x200104" (subscript_expression "puVar2[1]" identifier [ number_literal ]) | (binary_expression "*(uint *)(in_ECX + 4) & 0x200104" (pointer_expression "*(uint *)(in_ECX + 4)" * (cast_expression "(uint *)(in_ECX + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_ECX + 4)" ( (binary_expression "in_ECX + 4" identifier + number_literal) )))) & number_literal))) ;) })) (expression_statement "FUN_00049e60();" (call_expression "FUN_00049e60()" identifier (argument_list "()" ( ))) ;) (goto_statement "goto LAB_000950a3;" goto statement_identifier ;) })) (if_statement "if (in_ECX != 0) {\n      FUN_00063d60();\n    }" if (parenthesized_expression "(in_ECX != 0)" ( (binary_expression "in_ECX != 0" identifier != number_literal) )) (compound_statement "{\n      FUN_00063d60();\n    }" { (expression_statement "FUN_00063d60();" (call_expression "FUN_00063d60()" identifier (argument_list "()" ( ))) ;) })) }))) (return_statement "return (undefined4 *)0x0;" return (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) ;) })))
(translation_unit "Expr * sqlite3PExpr(Parse *pParse,int op,Expr *pLeft,Expr *pRight)\n\n{\n  int iVar1;\n  Parse *pParse_00;\n  Expr *p;\n  sqlite3 *db;\n  Expr *in_ECX;\n  Expr *extraout_ECX;\n  uint uVar2;\n  int unaff_EDI;\n  undefined4 *puVar3;\n  byte bVar4;\n  undefined8 uVar5;\n  u64 in_stack_ffffffd4;\n  u8 local_24;\n  \n  bVar4 = 0;\n  uVar5 = __x86_get_pc_thunk_di();\n  pParse_00 = (Parse *)uVar5;\n  if ((((int)((ulonglong)uVar5 >> 0x20) == 0x2c) && (pParse_00->nErr == 0)) &&\n     (pParse_00->eParseMode < 2)) {\n    p = extraout_ECX;\n    if (extraout_ECX != (Expr *)0x0) {\nLAB_000950a3:\n      iVar1 = pParse_00->db->aLimit[3];\n      if (iVar1 < p->nHeight) {\n        sqlite3ErrorMsg(pParse_00,(char *)(unaff_EDI + 0xd4e1b),iVar1);\n        return p;\n      }\n      return p;\n    }\n  }\n  else {\n    db = pParse_00->db;\n    if (db->mallocFailed == '\0') {\n      p = (Expr *)dbMallocRawFinish(db,in_stack_ffffffd4);\n      if (p != (Expr *)0x0) {\n        p->op = '\0';\n        p->affinity = '\0';\n        *(undefined2 *)&p->field_0x2 = 0;\n        puVar3 = (undefined4 *)((uint)&p->flags & 0xfffffffc);\n        (p->y).sub.regReturn = 0;\n        uVar2 = (uint)((int)p + (0x38 - (int)puVar3)) >> 2;\n        for (; uVar2 != 0; uVar2 = uVar2 - 1) {\n          *puVar3 = 0;\n          puVar3 = puVar3 + (uint)bVar4 * -2 + 1;\n        }\n        local_24 = (u8)((ulonglong)uVar5 >> 0x20);\n        p->op = local_24;\n        p->iAgg = -1;\n        if (in_ECX != (Expr *)0x0) {\n          p->pLeft = in_ECX;\n          p->flags = p->flags | in_ECX->flags & 0x200104;\n        }\n        exprSetHeight(p);\n        goto LAB_000950a3;\n      }\n      db = pParse_00->db;\n    }\n    if (in_ECX != (Expr *)0x0) {\n      sqlite3ExprDeleteNN(db,in_ECX);\n    }\n  }\n  return (Expr *)0x0;\n}\n\n" (function_definition "Expr * sqlite3PExpr(Parse *pParse,int op,Expr *pLeft,Expr *pRight)\n\n{\n  int iVar1;\n  Parse *pParse_00;\n  Expr *p;\n  sqlite3 *db;\n  Expr *in_ECX;\n  Expr *extraout_ECX;\n  uint uVar2;\n  int unaff_EDI;\n  undefined4 *puVar3;\n  byte bVar4;\n  undefined8 uVar5;\n  u64 in_stack_ffffffd4;\n  u8 local_24;\n  \n  bVar4 = 0;\n  uVar5 = __x86_get_pc_thunk_di();\n  pParse_00 = (Parse *)uVar5;\n  if ((((int)((ulonglong)uVar5 >> 0x20) == 0x2c) && (pParse_00->nErr == 0)) &&\n     (pParse_00->eParseMode < 2)) {\n    p = extraout_ECX;\n    if (extraout_ECX != (Expr *)0x0) {\nLAB_000950a3:\n      iVar1 = pParse_00->db->aLimit[3];\n      if (iVar1 < p->nHeight) {\n        sqlite3ErrorMsg(pParse_00,(char *)(unaff_EDI + 0xd4e1b),iVar1);\n        return p;\n      }\n      return p;\n    }\n  }\n  else {\n    db = pParse_00->db;\n    if (db->mallocFailed == '\0') {\n      p = (Expr *)dbMallocRawFinish(db,in_stack_ffffffd4);\n      if (p != (Expr *)0x0) {\n        p->op = '\0';\n        p->affinity = '\0';\n        *(undefined2 *)&p->field_0x2 = 0;\n        puVar3 = (undefined4 *)((uint)&p->flags & 0xfffffffc);\n        (p->y).sub.regReturn = 0;\n        uVar2 = (uint)((int)p + (0x38 - (int)puVar3)) >> 2;\n        for (; uVar2 != 0; uVar2 = uVar2 - 1) {\n          *puVar3 = 0;\n          puVar3 = puVar3 + (uint)bVar4 * -2 + 1;\n        }\n        local_24 = (u8)((ulonglong)uVar5 >> 0x20);\n        p->op = local_24;\n        p->iAgg = -1;\n        if (in_ECX != (Expr *)0x0) {\n          p->pLeft = in_ECX;\n          p->flags = p->flags | in_ECX->flags & 0x200104;\n        }\n        exprSetHeight(p);\n        goto LAB_000950a3;\n      }\n      db = pParse_00->db;\n    }\n    if (in_ECX != (Expr *)0x0) {\n      sqlite3ExprDeleteNN(db,in_ECX);\n    }\n  }\n  return (Expr *)0x0;\n}" type_identifier (pointer_declarator "* sqlite3PExpr(Parse *pParse,int op,Expr *pLeft,Expr *pRight)" * (function_declarator "sqlite3PExpr(Parse *pParse,int op,Expr *pLeft,Expr *pRight)" identifier (parameter_list "(Parse *pParse,int op,Expr *pLeft,Expr *pRight)" ( (parameter_declaration "Parse *pParse" type_identifier (pointer_declarator "*pParse" * identifier)) , (parameter_declaration "int op" primitive_type identifier) , (parameter_declaration "Expr *pLeft" type_identifier (pointer_declarator "*pLeft" * identifier)) , (parameter_declaration "Expr *pRight" type_identifier (pointer_declarator "*pRight" * identifier)) )))) (compound_statement "{\n  int iVar1;\n  Parse *pParse_00;\n  Expr *p;\n  sqlite3 *db;\n  Expr *in_ECX;\n  Expr *extraout_ECX;\n  uint uVar2;\n  int unaff_EDI;\n  undefined4 *puVar3;\n  byte bVar4;\n  undefined8 uVar5;\n  u64 in_stack_ffffffd4;\n  u8 local_24;\n  \n  bVar4 = 0;\n  uVar5 = __x86_get_pc_thunk_di();\n  pParse_00 = (Parse *)uVar5;\n  if ((((int)((ulonglong)uVar5 >> 0x20) == 0x2c) && (pParse_00->nErr == 0)) &&\n     (pParse_00->eParseMode < 2)) {\n    p = extraout_ECX;\n    if (extraout_ECX != (Expr *)0x0) {\nLAB_000950a3:\n      iVar1 = pParse_00->db->aLimit[3];\n      if (iVar1 < p->nHeight) {\n        sqlite3ErrorMsg(pParse_00,(char *)(unaff_EDI + 0xd4e1b),iVar1);\n        return p;\n      }\n      return p;\n    }\n  }\n  else {\n    db = pParse_00->db;\n    if (db->mallocFailed == '\0') {\n      p = (Expr *)dbMallocRawFinish(db,in_stack_ffffffd4);\n      if (p != (Expr *)0x0) {\n        p->op = '\0';\n        p->affinity = '\0';\n        *(undefined2 *)&p->field_0x2 = 0;\n        puVar3 = (undefined4 *)((uint)&p->flags & 0xfffffffc);\n        (p->y).sub.regReturn = 0;\n        uVar2 = (uint)((int)p + (0x38 - (int)puVar3)) >> 2;\n        for (; uVar2 != 0; uVar2 = uVar2 - 1) {\n          *puVar3 = 0;\n          puVar3 = puVar3 + (uint)bVar4 * -2 + 1;\n        }\n        local_24 = (u8)((ulonglong)uVar5 >> 0x20);\n        p->op = local_24;\n        p->iAgg = -1;\n        if (in_ECX != (Expr *)0x0) {\n          p->pLeft = in_ECX;\n          p->flags = p->flags | in_ECX->flags & 0x200104;\n        }\n        exprSetHeight(p);\n        goto LAB_000950a3;\n      }\n      db = pParse_00->db;\n    }\n    if (in_ECX != (Expr *)0x0) {\n      sqlite3ExprDeleteNN(db,in_ECX);\n    }\n  }\n  return (Expr *)0x0;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "Parse *pParse_00;" type_identifier (pointer_declarator "*pParse_00" * identifier) ;) (declaration "Expr *p;" type_identifier (pointer_declarator "*p" * identifier) ;) (declaration "sqlite3 *db;" type_identifier (pointer_declarator "*db" * identifier) ;) (declaration "Expr *in_ECX;" type_identifier (pointer_declarator "*in_ECX" * identifier) ;) (declaration "Expr *extraout_ECX;" type_identifier (pointer_declarator "*extraout_ECX" * identifier) ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "int unaff_EDI;" primitive_type identifier ;) (declaration "undefined4 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "byte bVar4;" type_identifier identifier ;) (declaration "undefined8 uVar5;" type_identifier identifier ;) (declaration "u64 in_stack_ffffffd4;" type_identifier identifier ;) (declaration "u8 local_24;" type_identifier identifier ;) (expression_statement "bVar4 = 0;" (assignment_expression "bVar4 = 0" identifier = number_literal) ;) (expression_statement "uVar5 = __x86_get_pc_thunk_di();" (assignment_expression "uVar5 = __x86_get_pc_thunk_di()" identifier = (call_expression "__x86_get_pc_thunk_di()" identifier (argument_list "()" ( )))) ;) (expression_statement "pParse_00 = (Parse *)uVar5;" (assignment_expression "pParse_00 = (Parse *)uVar5" identifier = (cast_expression "(Parse *)uVar5" ( (type_descriptor "Parse *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (if_statement "if ((((int)((ulonglong)uVar5 >> 0x20) == 0x2c) && (pParse_00->nErr == 0)) &&\n     (pParse_00->eParseMode < 2)) {\n    p = extraout_ECX;\n    if (extraout_ECX != (Expr *)0x0) {\nLAB_000950a3:\n      iVar1 = pParse_00->db->aLimit[3];\n      if (iVar1 < p->nHeight) {\n        sqlite3ErrorMsg(pParse_00,(char *)(unaff_EDI + 0xd4e1b),iVar1);\n        return p;\n      }\n      return p;\n    }\n  }\n  else {\n    db = pParse_00->db;\n    if (db->mallocFailed == '\0') {\n      p = (Expr *)dbMallocRawFinish(db,in_stack_ffffffd4);\n      if (p != (Expr *)0x0) {\n        p->op = '\0';\n        p->affinity = '\0';\n        *(undefined2 *)&p->field_0x2 = 0;\n        puVar3 = (undefined4 *)((uint)&p->flags & 0xfffffffc);\n        (p->y).sub.regReturn = 0;\n        uVar2 = (uint)((int)p + (0x38 - (int)puVar3)) >> 2;\n        for (; uVar2 != 0; uVar2 = uVar2 - 1) {\n          *puVar3 = 0;\n          puVar3 = puVar3 + (uint)bVar4 * -2 + 1;\n        }\n        local_24 = (u8)((ulonglong)uVar5 >> 0x20);\n        p->op = local_24;\n        p->iAgg = -1;\n        if (in_ECX != (Expr *)0x0) {\n          p->pLeft = in_ECX;\n          p->flags = p->flags | in_ECX->flags & 0x200104;\n        }\n        exprSetHeight(p);\n        goto LAB_000950a3;\n      }\n      db = pParse_00->db;\n    }\n    if (in_ECX != (Expr *)0x0) {\n      sqlite3ExprDeleteNN(db,in_ECX);\n    }\n  }" if (parenthesized_expression "((((int)((ulonglong)uVar5 >> 0x20) == 0x2c) && (pParse_00->nErr == 0)) &&\n     (pParse_00->eParseMode < 2))" ( (binary_expression "(((int)((ulonglong)uVar5 >> 0x20) == 0x2c) && (pParse_00->nErr == 0)) &&\n     (pParse_00->eParseMode < 2)" (parenthesized_expression "(((int)((ulonglong)uVar5 >> 0x20) == 0x2c) && (pParse_00->nErr == 0))" ( (binary_expression "((int)((ulonglong)uVar5 >> 0x20) == 0x2c) && (pParse_00->nErr == 0)" (parenthesized_expression "((int)((ulonglong)uVar5 >> 0x20) == 0x2c)" ( (binary_expression "(int)((ulonglong)uVar5 >> 0x20) == 0x2c" (cast_expression "(int)((ulonglong)uVar5 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)uVar5 >> 0x20)" ( (binary_expression "(ulonglong)uVar5 >> 0x20" (cast_expression "(ulonglong)uVar5" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) ))) == number_literal) )) && (parenthesized_expression "(pParse_00->nErr == 0)" ( (binary_expression "pParse_00->nErr == 0" (field_expression "pParse_00->nErr" identifier -> field_identifier) == number_literal) ))) )) && (parenthesized_expression "(pParse_00->eParseMode < 2)" ( (binary_expression "pParse_00->eParseMode < 2" (field_expression "pParse_00->eParseMode" identifier -> field_identifier) < number_literal) ))) )) (compound_statement "{\n    p = extraout_ECX;\n    if (extraout_ECX != (Expr *)0x0) {\nLAB_000950a3:\n      iVar1 = pParse_00->db->aLimit[3];\n      if (iVar1 < p->nHeight) {\n        sqlite3ErrorMsg(pParse_00,(char *)(unaff_EDI + 0xd4e1b),iVar1);\n        return p;\n      }\n      return p;\n    }\n  }" { (expression_statement "p = extraout_ECX;" (assignment_expression "p = extraout_ECX" identifier = identifier) ;) (if_statement "if (extraout_ECX != (Expr *)0x0) {\nLAB_000950a3:\n      iVar1 = pParse_00->db->aLimit[3];\n      if (iVar1 < p->nHeight) {\n        sqlite3ErrorMsg(pParse_00,(char *)(unaff_EDI + 0xd4e1b),iVar1);\n        return p;\n      }\n      return p;\n    }" if (parenthesized_expression "(extraout_ECX != (Expr *)0x0)" ( (binary_expression "extraout_ECX != (Expr *)0x0" identifier != (cast_expression "(Expr *)0x0" ( (type_descriptor "Expr *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\nLAB_000950a3:\n      iVar1 = pParse_00->db->aLimit[3];\n      if (iVar1 < p->nHeight) {\n        sqlite3ErrorMsg(pParse_00,(char *)(unaff_EDI + 0xd4e1b),iVar1);\n        return p;\n      }\n      return p;\n    }" { (labeled_statement "LAB_000950a3:\n      iVar1 = pParse_00->db->aLimit[3];" statement_identifier : (expression_statement "iVar1 = pParse_00->db->aLimit[3];" (assignment_expression "iVar1 = pParse_00->db->aLimit[3]" identifier = (subscript_expression "pParse_00->db->aLimit[3]" (field_expression "pParse_00->db->aLimit" (field_expression "pParse_00->db" identifier -> field_identifier) -> field_identifier) [ number_literal ])) ;)) (if_statement "if (iVar1 < p->nHeight) {\n        sqlite3ErrorMsg(pParse_00,(char *)(unaff_EDI + 0xd4e1b),iVar1);\n        return p;\n      }" if (parenthesized_expression "(iVar1 < p->nHeight)" ( (binary_expression "iVar1 < p->nHeight" identifier < (field_expression "p->nHeight" identifier -> field_identifier)) )) (compound_statement "{\n        sqlite3ErrorMsg(pParse_00,(char *)(unaff_EDI + 0xd4e1b),iVar1);\n        return p;\n      }" { (expression_statement "sqlite3ErrorMsg(pParse_00,(char *)(unaff_EDI + 0xd4e1b),iVar1);" (call_expression "sqlite3ErrorMsg(pParse_00,(char *)(unaff_EDI + 0xd4e1b),iVar1)" identifier (argument_list "(pParse_00,(char *)(unaff_EDI + 0xd4e1b),iVar1)" ( identifier , (cast_expression "(char *)(unaff_EDI + 0xd4e1b)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0xd4e1b)" ( (binary_expression "unaff_EDI + 0xd4e1b" identifier + number_literal) ))) , identifier ))) ;) (return_statement "return p;" return identifier ;) })) (return_statement "return p;" return identifier ;) })) }) (else_clause "else {\n    db = pParse_00->db;\n    if (db->mallocFailed == '\0') {\n      p = (Expr *)dbMallocRawFinish(db,in_stack_ffffffd4);\n      if (p != (Expr *)0x0) {\n        p->op = '\0';\n        p->affinity = '\0';\n        *(undefined2 *)&p->field_0x2 = 0;\n        puVar3 = (undefined4 *)((uint)&p->flags & 0xfffffffc);\n        (p->y).sub.regReturn = 0;\n        uVar2 = (uint)((int)p + (0x38 - (int)puVar3)) >> 2;\n        for (; uVar2 != 0; uVar2 = uVar2 - 1) {\n          *puVar3 = 0;\n          puVar3 = puVar3 + (uint)bVar4 * -2 + 1;\n        }\n        local_24 = (u8)((ulonglong)uVar5 >> 0x20);\n        p->op = local_24;\n        p->iAgg = -1;\n        if (in_ECX != (Expr *)0x0) {\n          p->pLeft = in_ECX;\n          p->flags = p->flags | in_ECX->flags & 0x200104;\n        }\n        exprSetHeight(p);\n        goto LAB_000950a3;\n      }\n      db = pParse_00->db;\n    }\n    if (in_ECX != (Expr *)0x0) {\n      sqlite3ExprDeleteNN(db,in_ECX);\n    }\n  }" else (compound_statement "{\n    db = pParse_00->db;\n    if (db->mallocFailed == '\0') {\n      p = (Expr *)dbMallocRawFinish(db,in_stack_ffffffd4);\n      if (p != (Expr *)0x0) {\n        p->op = '\0';\n        p->affinity = '\0';\n        *(undefined2 *)&p->field_0x2 = 0;\n        puVar3 = (undefined4 *)((uint)&p->flags & 0xfffffffc);\n        (p->y).sub.regReturn = 0;\n        uVar2 = (uint)((int)p + (0x38 - (int)puVar3)) >> 2;\n        for (; uVar2 != 0; uVar2 = uVar2 - 1) {\n          *puVar3 = 0;\n          puVar3 = puVar3 + (uint)bVar4 * -2 + 1;\n        }\n        local_24 = (u8)((ulonglong)uVar5 >> 0x20);\n        p->op = local_24;\n        p->iAgg = -1;\n        if (in_ECX != (Expr *)0x0) {\n          p->pLeft = in_ECX;\n          p->flags = p->flags | in_ECX->flags & 0x200104;\n        }\n        exprSetHeight(p);\n        goto LAB_000950a3;\n      }\n      db = pParse_00->db;\n    }\n    if (in_ECX != (Expr *)0x0) {\n      sqlite3ExprDeleteNN(db,in_ECX);\n    }\n  }" { (expression_statement "db = pParse_00->db;" (assignment_expression "db = pParse_00->db" identifier = (field_expression "pParse_00->db" identifier -> field_identifier)) ;) (if_statement "if (db->mallocFailed == '\0') {\n      p = (Expr *)dbMallocRawFinish(db,in_stack_ffffffd4);\n      if (p != (Expr *)0x0) {\n        p->op = '\0';\n        p->affinity = '\0';\n        *(undefined2 *)&p->field_0x2 = 0;\n        puVar3 = (undefined4 *)((uint)&p->flags & 0xfffffffc);\n        (p->y).sub.regReturn = 0;\n        uVar2 = (uint)((int)p + (0x38 - (int)puVar3)) >> 2;\n        for (; uVar2 != 0; uVar2 = uVar2 - 1) {\n          *puVar3 = 0;\n          puVar3 = puVar3 + (uint)bVar4 * -2 + 1;\n        }\n        local_24 = (u8)((ulonglong)uVar5 >> 0x20);\n        p->op = local_24;\n        p->iAgg = -1;\n        if (in_ECX != (Expr *)0x0) {\n          p->pLeft = in_ECX;\n          p->flags = p->flags | in_ECX->flags & 0x200104;\n        }\n        exprSetHeight(p);\n        goto LAB_000950a3;\n      }\n      db = pParse_00->db;\n    }" if (parenthesized_expression "(db->mallocFailed == '\0')" ( (binary_expression "db->mallocFailed == '\0'" (field_expression "db->mallocFailed" identifier -> field_identifier) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      p = (Expr *)dbMallocRawFinish(db,in_stack_ffffffd4);\n      if (p != (Expr *)0x0) {\n        p->op = '\0';\n        p->affinity = '\0';\n        *(undefined2 *)&p->field_0x2 = 0;\n        puVar3 = (undefined4 *)((uint)&p->flags & 0xfffffffc);\n        (p->y).sub.regReturn = 0;\n        uVar2 = (uint)((int)p + (0x38 - (int)puVar3)) >> 2;\n        for (; uVar2 != 0; uVar2 = uVar2 - 1) {\n          *puVar3 = 0;\n          puVar3 = puVar3 + (uint)bVar4 * -2 + 1;\n        }\n        local_24 = (u8)((ulonglong)uVar5 >> 0x20);\n        p->op = local_24;\n        p->iAgg = -1;\n        if (in_ECX != (Expr *)0x0) {\n          p->pLeft = in_ECX;\n          p->flags = p->flags | in_ECX->flags & 0x200104;\n        }\n        exprSetHeight(p);\n        goto LAB_000950a3;\n      }\n      db = pParse_00->db;\n    }" { (expression_statement "p = (Expr *)dbMallocRawFinish(db,in_stack_ffffffd4);" (assignment_expression "p = (Expr *)dbMallocRawFinish(db,in_stack_ffffffd4)" identifier = (cast_expression "(Expr *)dbMallocRawFinish(db,in_stack_ffffffd4)" ( (type_descriptor "Expr *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "dbMallocRawFinish(db,in_stack_ffffffd4)" identifier (argument_list "(db,in_stack_ffffffd4)" ( identifier , identifier ))))) ;) (if_statement "if (p != (Expr *)0x0) {\n        p->op = '\0';\n        p->affinity = '\0';\n        *(undefined2 *)&p->field_0x2 = 0;\n        puVar3 = (undefined4 *)((uint)&p->flags & 0xfffffffc);\n        (p->y).sub.regReturn = 0;\n        uVar2 = (uint)((int)p + (0x38 - (int)puVar3)) >> 2;\n        for (; uVar2 != 0; uVar2 = uVar2 - 1) {\n          *puVar3 = 0;\n          puVar3 = puVar3 + (uint)bVar4 * -2 + 1;\n        }\n        local_24 = (u8)((ulonglong)uVar5 >> 0x20);\n        p->op = local_24;\n        p->iAgg = -1;\n        if (in_ECX != (Expr *)0x0) {\n          p->pLeft = in_ECX;\n          p->flags = p->flags | in_ECX->flags & 0x200104;\n        }\n        exprSetHeight(p);\n        goto LAB_000950a3;\n      }" if (parenthesized_expression "(p != (Expr *)0x0)" ( (binary_expression "p != (Expr *)0x0" identifier != (cast_expression "(Expr *)0x0" ( (type_descriptor "Expr *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        p->op = '\0';\n        p->affinity = '\0';\n        *(undefined2 *)&p->field_0x2 = 0;\n        puVar3 = (undefined4 *)((uint)&p->flags & 0xfffffffc);\n        (p->y).sub.regReturn = 0;\n        uVar2 = (uint)((int)p + (0x38 - (int)puVar3)) >> 2;\n        for (; uVar2 != 0; uVar2 = uVar2 - 1) {\n          *puVar3 = 0;\n          puVar3 = puVar3 + (uint)bVar4 * -2 + 1;\n        }\n        local_24 = (u8)((ulonglong)uVar5 >> 0x20);\n        p->op = local_24;\n        p->iAgg = -1;\n        if (in_ECX != (Expr *)0x0) {\n          p->pLeft = in_ECX;\n          p->flags = p->flags | in_ECX->flags & 0x200104;\n        }\n        exprSetHeight(p);\n        goto LAB_000950a3;\n      }" { (expression_statement "p->op = '\0';" (assignment_expression "p->op = '\0'" (field_expression "p->op" identifier -> field_identifier) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "p->affinity = '\0';" (assignment_expression "p->affinity = '\0'" (field_expression "p->affinity" identifier -> field_identifier) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "*(undefined2 *)&p->field_0x2 = 0;" (assignment_expression "*(undefined2 *)&p->field_0x2 = 0" (pointer_expression "*(undefined2 *)&p->field_0x2" * (cast_expression "(undefined2 *)&p->field_0x2" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&p->field_0x2" & (field_expression "p->field_0x2" identifier -> field_identifier)))) = number_literal) ;) (expression_statement "puVar3 = (undefined4 *)((uint)&p->flags & 0xfffffffc);" (assignment_expression "puVar3 = (undefined4 *)((uint)&p->flags & 0xfffffffc)" identifier = (cast_expression "(undefined4 *)((uint)&p->flags & 0xfffffffc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((uint)&p->flags & 0xfffffffc)" ( (binary_expression "(uint)&p->flags & 0xfffffffc" (binary_expression "(uint)&p->flags" (parenthesized_expression "(uint)" ( identifier )) & (field_expression "p->flags" identifier -> field_identifier)) & number_literal) )))) ;) (expression_statement "(p->y).sub.regReturn = 0;" (assignment_expression "(p->y).sub.regReturn = 0" (field_expression "(p->y).sub.regReturn" (field_expression "(p->y).sub" (parenthesized_expression "(p->y)" ( (field_expression "p->y" identifier -> field_identifier) )) . field_identifier) . field_identifier) = number_literal) ;) (expression_statement "uVar2 = (uint)((int)p + (0x38 - (int)puVar3)) >> 2;" (assignment_expression "uVar2 = (uint)((int)p + (0x38 - (int)puVar3)) >> 2" identifier = (binary_expression "(uint)((int)p + (0x38 - (int)puVar3)) >> 2" (call_expression "(uint)((int)p + (0x38 - (int)puVar3))" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((int)p + (0x38 - (int)puVar3))" ( (binary_expression "(int)p + (0x38 - (int)puVar3)" (cast_expression "(int)p" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "(0x38 - (int)puVar3)" ( (binary_expression "0x38 - (int)puVar3" number_literal - (cast_expression "(int)puVar3" ( (type_descriptor "int" primitive_type) ) identifier)) ))) ))) >> number_literal)) ;) (for_statement "for (; uVar2 != 0; uVar2 = uVar2 - 1) {\n          *puVar3 = 0;\n          puVar3 = puVar3 + (uint)bVar4 * -2 + 1;\n        }" for ( ; (binary_expression "uVar2 != 0" identifier != number_literal) ; (assignment_expression "uVar2 = uVar2 - 1" identifier = (binary_expression "uVar2 - 1" identifier - number_literal)) ) (compound_statement "{\n          *puVar3 = 0;\n          puVar3 = puVar3 + (uint)bVar4 * -2 + 1;\n        }" { (expression_statement "*puVar3 = 0;" (assignment_expression "*puVar3 = 0" (pointer_expression "*puVar3" * identifier) = number_literal) ;) (expression_statement "puVar3 = puVar3 + (uint)bVar4 * -2 + 1;" (assignment_expression "puVar3 = puVar3 + (uint)bVar4 * -2 + 1" identifier = (binary_expression "puVar3 + (uint)bVar4 * -2 + 1" (binary_expression "puVar3 + (uint)bVar4 * -2" identifier + (binary_expression "(uint)bVar4 * -2" (cast_expression "(uint)bVar4" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) })) (expression_statement "local_24 = (u8)((ulonglong)uVar5 >> 0x20);" (assignment_expression "local_24 = (u8)((ulonglong)uVar5 >> 0x20)" identifier = (call_expression "(u8)((ulonglong)uVar5 >> 0x20)" (parenthesized_expression "(u8)" ( identifier )) (argument_list "((ulonglong)uVar5 >> 0x20)" ( (binary_expression "(ulonglong)uVar5 >> 0x20" (cast_expression "(ulonglong)uVar5" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "p->op = local_24;" (assignment_expression "p->op = local_24" (field_expression "p->op" identifier -> field_identifier) = identifier) ;) (expression_statement "p->iAgg = -1;" (assignment_expression "p->iAgg = -1" (field_expression "p->iAgg" identifier -> field_identifier) = number_literal) ;) (if_statement "if (in_ECX != (Expr *)0x0) {\n          p->pLeft = in_ECX;\n          p->flags = p->flags | in_ECX->flags & 0x200104;\n        }" if (parenthesized_expression "(in_ECX != (Expr *)0x0)" ( (binary_expression "in_ECX != (Expr *)0x0" identifier != (cast_expression "(Expr *)0x0" ( (type_descriptor "Expr *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          p->pLeft = in_ECX;\n          p->flags = p->flags | in_ECX->flags & 0x200104;\n        }" { (expression_statement "p->pLeft = in_ECX;" (assignment_expression "p->pLeft = in_ECX" (field_expression "p->pLeft" identifier -> field_identifier) = identifier) ;) (expression_statement "p->flags = p->flags | in_ECX->flags & 0x200104;" (assignment_expression "p->flags = p->flags | in_ECX->flags & 0x200104" (field_expression "p->flags" identifier -> field_identifier) = (binary_expression "p->flags | in_ECX->flags & 0x200104" (field_expression "p->flags" identifier -> field_identifier) | (binary_expression "in_ECX->flags & 0x200104" (field_expression "in_ECX->flags" identifier -> field_identifier) & number_literal))) ;) })) (expression_statement "exprSetHeight(p);" (call_expression "exprSetHeight(p)" identifier (argument_list "(p)" ( identifier ))) ;) (goto_statement "goto LAB_000950a3;" goto statement_identifier ;) })) (expression_statement "db = pParse_00->db;" (assignment_expression "db = pParse_00->db" identifier = (field_expression "pParse_00->db" identifier -> field_identifier)) ;) })) (if_statement "if (in_ECX != (Expr *)0x0) {\n      sqlite3ExprDeleteNN(db,in_ECX);\n    }" if (parenthesized_expression "(in_ECX != (Expr *)0x0)" ( (binary_expression "in_ECX != (Expr *)0x0" identifier != (cast_expression "(Expr *)0x0" ( (type_descriptor "Expr *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      sqlite3ExprDeleteNN(db,in_ECX);\n    }" { (expression_statement "sqlite3ExprDeleteNN(db,in_ECX);" (call_expression "sqlite3ExprDeleteNN(db,in_ECX)" identifier (argument_list "(db,in_ECX)" ( identifier , identifier ))) ;) })) }))) (return_statement "return (Expr *)0x0;" return (cast_expression "(Expr *)0x0" ( (type_descriptor "Expr *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) ;) })))
(translation_unit "undefined4 * FUN_00095010(void)\n\n{\n  int *piVar1;\n  undefined4 *puVar2;\n  int in_ECX;\n  undefined4 *extraout_ECX;\n  uint uVar3;\n  int unaff_EDI;\n  undefined4 *puVar4;\n  byte bVar5;\n  undefined8 uVar6;\n  undefined1 local_24;\n  \n  bVar5 = 0;\n  uVar6 = FUN_0003a401();\n  piVar1 = (int *)uVar6;\n  if ((((int)((ulonglong)uVar6 >> 0x20) == 0x2c) && (piVar1[9] == 0)) &&\n     (*(byte *)((int)piVar1 + 0xc6) < 2)) {\n    puVar2 = extraout_ECX;\n    if (extraout_ECX != (undefined4 *)0x0) {\nLAB_000950a3:\n      if (*(int *)(*piVar1 + 0x74) < (int)puVar2[6]) {\n        FUN_000886b0(piVar1,unaff_EDI + 0xd4e1b,*(int *)(*piVar1 + 0x74));\n        return puVar2;\n      }\n      return puVar2;\n    }\n  }\n  else {\n    if ((*(char *)(*piVar1 + 0x4d) == '\0') &&\n       (puVar2 = (undefined4 *)FUN_00055c10(), puVar2 != (undefined4 *)0x0)) {\n      *puVar2 = 0;\n      puVar2[0xd] = 0;\n      puVar4 = (undefined4 *)((uint)(puVar2 + 1) & 0xfffffffc);\n      for (uVar3 = (uint)((int)puVar2 + (0x38 - (int)((uint)(puVar2 + 1) & 0xfffffffc))) >> 2;\n          uVar3 != 0; uVar3 = uVar3 - 1) {\n        *puVar4 = 0;\n        puVar4 = puVar4 + (uint)bVar5 * -2 + 1;\n      }\n      local_24 = (undefined1)((ulonglong)uVar6 >> 0x20);\n      *(undefined1 *)puVar2 = local_24;\n      *(undefined2 *)(puVar2 + 9) = 0xffff;\n      if (in_ECX != 0) {\n        puVar2[3] = in_ECX;\n        puVar2[1] = puVar2[1] | *(uint *)(in_ECX + 4) & 0x200104;\n      }\n      FUN_00049e60();\n      goto LAB_000950a3;\n    }\n    if (in_ECX != 0) {\n      FUN_00063d60();\n    }\n  }\n  return (undefined4 *)0x0;\n}\n\n" (function_definition "undefined4 * FUN_00095010(void)\n\n{\n  int *piVar1;\n  undefined4 *puVar2;\n  int in_ECX;\n  undefined4 *extraout_ECX;\n  uint uVar3;\n  int unaff_EDI;\n  undefined4 *puVar4;\n  byte bVar5;\n  undefined8 uVar6;\n  undefined1 local_24;\n  \n  bVar5 = 0;\n  uVar6 = FUN_0003a401();\n  piVar1 = (int *)uVar6;\n  if ((((int)((ulonglong)uVar6 >> 0x20) == 0x2c) && (piVar1[9] == 0)) &&\n     (*(byte *)((int)piVar1 + 0xc6) < 2)) {\n    puVar2 = extraout_ECX;\n    if (extraout_ECX != (undefined4 *)0x0) {\nLAB_000950a3:\n      if (*(int *)(*piVar1 + 0x74) < (int)puVar2[6]) {\n        FUN_000886b0(piVar1,unaff_EDI + 0xd4e1b,*(int *)(*piVar1 + 0x74));\n        return puVar2;\n      }\n      return puVar2;\n    }\n  }\n  else {\n    if ((*(char *)(*piVar1 + 0x4d) == '\0') &&\n       (puVar2 = (undefined4 *)FUN_00055c10(), puVar2 != (undefined4 *)0x0)) {\n      *puVar2 = 0;\n      puVar2[0xd] = 0;\n      puVar4 = (undefined4 *)((uint)(puVar2 + 1) & 0xfffffffc);\n      for (uVar3 = (uint)((int)puVar2 + (0x38 - (int)((uint)(puVar2 + 1) & 0xfffffffc))) >> 2;\n          uVar3 != 0; uVar3 = uVar3 - 1) {\n        *puVar4 = 0;\n        puVar4 = puVar4 + (uint)bVar5 * -2 + 1;\n      }\n      local_24 = (undefined1)((ulonglong)uVar6 >> 0x20);\n      *(undefined1 *)puVar2 = local_24;\n      *(undefined2 *)(puVar2 + 9) = 0xffff;\n      if (in_ECX != 0) {\n        puVar2[3] = in_ECX;\n        puVar2[1] = puVar2[1] | *(uint *)(in_ECX + 4) & 0x200104;\n      }\n      FUN_00049e60();\n      goto LAB_000950a3;\n    }\n    if (in_ECX != 0) {\n      FUN_00063d60();\n    }\n  }\n  return (undefined4 *)0x0;\n}" type_identifier (pointer_declarator "* FUN_00095010(void)" * (function_declarator "FUN_00095010(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) )))) (compound_statement "{\n  int *piVar1;\n  undefined4 *puVar2;\n  int in_ECX;\n  undefined4 *extraout_ECX;\n  uint uVar3;\n  int unaff_EDI;\n  undefined4 *puVar4;\n  byte bVar5;\n  undefined8 uVar6;\n  undefined1 local_24;\n  \n  bVar5 = 0;\n  uVar6 = FUN_0003a401();\n  piVar1 = (int *)uVar6;\n  if ((((int)((ulonglong)uVar6 >> 0x20) == 0x2c) && (piVar1[9] == 0)) &&\n     (*(byte *)((int)piVar1 + 0xc6) < 2)) {\n    puVar2 = extraout_ECX;\n    if (extraout_ECX != (undefined4 *)0x0) {\nLAB_000950a3:\n      if (*(int *)(*piVar1 + 0x74) < (int)puVar2[6]) {\n        FUN_000886b0(piVar1,unaff_EDI + 0xd4e1b,*(int *)(*piVar1 + 0x74));\n        return puVar2;\n      }\n      return puVar2;\n    }\n  }\n  else {\n    if ((*(char *)(*piVar1 + 0x4d) == '\0') &&\n       (puVar2 = (undefined4 *)FUN_00055c10(), puVar2 != (undefined4 *)0x0)) {\n      *puVar2 = 0;\n      puVar2[0xd] = 0;\n      puVar4 = (undefined4 *)((uint)(puVar2 + 1) & 0xfffffffc);\n      for (uVar3 = (uint)((int)puVar2 + (0x38 - (int)((uint)(puVar2 + 1) & 0xfffffffc))) >> 2;\n          uVar3 != 0; uVar3 = uVar3 - 1) {\n        *puVar4 = 0;\n        puVar4 = puVar4 + (uint)bVar5 * -2 + 1;\n      }\n      local_24 = (undefined1)((ulonglong)uVar6 >> 0x20);\n      *(undefined1 *)puVar2 = local_24;\n      *(undefined2 *)(puVar2 + 9) = 0xffff;\n      if (in_ECX != 0) {\n        puVar2[3] = in_ECX;\n        puVar2[1] = puVar2[1] | *(uint *)(in_ECX + 4) & 0x200104;\n      }\n      FUN_00049e60();\n      goto LAB_000950a3;\n    }\n    if (in_ECX != 0) {\n      FUN_00063d60();\n    }\n  }\n  return (undefined4 *)0x0;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "int in_ECX;" primitive_type identifier ;) (declaration "undefined4 *extraout_ECX;" type_identifier (pointer_declarator "*extraout_ECX" * identifier) ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "int unaff_EDI;" primitive_type identifier ;) (declaration "undefined4 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "byte bVar5;" type_identifier identifier ;) (declaration "undefined8 uVar6;" type_identifier identifier ;) (declaration "undefined1 local_24;" type_identifier identifier ;) (expression_statement "bVar5 = 0;" (assignment_expression "bVar5 = 0" identifier = number_literal) ;) (expression_statement "uVar6 = FUN_0003a401();" (assignment_expression "uVar6 = FUN_0003a401()" identifier = (call_expression "FUN_0003a401()" identifier (argument_list "()" ( )))) ;) (expression_statement "piVar1 = (int *)uVar6;" (assignment_expression "piVar1 = (int *)uVar6" identifier = (cast_expression "(int *)uVar6" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) ;) (if_statement "if ((((int)((ulonglong)uVar6 >> 0x20) == 0x2c) && (piVar1[9] == 0)) &&\n     (*(byte *)((int)piVar1 + 0xc6) < 2)) {\n    puVar2 = extraout_ECX;\n    if (extraout_ECX != (undefined4 *)0x0) {\nLAB_000950a3:\n      if (*(int *)(*piVar1 + 0x74) < (int)puVar2[6]) {\n        FUN_000886b0(piVar1,unaff_EDI + 0xd4e1b,*(int *)(*piVar1 + 0x74));\n        return puVar2;\n      }\n      return puVar2;\n    }\n  }\n  else {\n    if ((*(char *)(*piVar1 + 0x4d) == '\0') &&\n       (puVar2 = (undefined4 *)FUN_00055c10(), puVar2 != (undefined4 *)0x0)) {\n      *puVar2 = 0;\n      puVar2[0xd] = 0;\n      puVar4 = (undefined4 *)((uint)(puVar2 + 1) & 0xfffffffc);\n      for (uVar3 = (uint)((int)puVar2 + (0x38 - (int)((uint)(puVar2 + 1) & 0xfffffffc))) >> 2;\n          uVar3 != 0; uVar3 = uVar3 - 1) {\n        *puVar4 = 0;\n        puVar4 = puVar4 + (uint)bVar5 * -2 + 1;\n      }\n      local_24 = (undefined1)((ulonglong)uVar6 >> 0x20);\n      *(undefined1 *)puVar2 = local_24;\n      *(undefined2 *)(puVar2 + 9) = 0xffff;\n      if (in_ECX != 0) {\n        puVar2[3] = in_ECX;\n        puVar2[1] = puVar2[1] | *(uint *)(in_ECX + 4) & 0x200104;\n      }\n      FUN_00049e60();\n      goto LAB_000950a3;\n    }\n    if (in_ECX != 0) {\n      FUN_00063d60();\n    }\n  }" if (parenthesized_expression "((((int)((ulonglong)uVar6 >> 0x20) == 0x2c) && (piVar1[9] == 0)) &&\n     (*(byte *)((int)piVar1 + 0xc6) < 2))" ( (binary_expression "(((int)((ulonglong)uVar6 >> 0x20) == 0x2c) && (piVar1[9] == 0)) &&\n     (*(byte *)((int)piVar1 + 0xc6) < 2)" (parenthesized_expression "(((int)((ulonglong)uVar6 >> 0x20) == 0x2c) && (piVar1[9] == 0))" ( (binary_expression "((int)((ulonglong)uVar6 >> 0x20) == 0x2c) && (piVar1[9] == 0)" (parenthesized_expression "((int)((ulonglong)uVar6 >> 0x20) == 0x2c)" ( (binary_expression "(int)((ulonglong)uVar6 >> 0x20) == 0x2c" (cast_expression "(int)((ulonglong)uVar6 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)uVar6 >> 0x20)" ( (binary_expression "(ulonglong)uVar6 >> 0x20" (cast_expression "(ulonglong)uVar6" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) ))) == number_literal) )) && (parenthesized_expression "(piVar1[9] == 0)" ( (binary_expression "piVar1[9] == 0" (subscript_expression "piVar1[9]" identifier [ number_literal ]) == number_literal) ))) )) && (parenthesized_expression "(*(byte *)((int)piVar1 + 0xc6) < 2)" ( (binary_expression "*(byte *)((int)piVar1 + 0xc6) < 2" (pointer_expression "*(byte *)((int)piVar1 + 0xc6)" * (cast_expression "(byte *)((int)piVar1 + 0xc6)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar1 + 0xc6)" ( (binary_expression "(int)piVar1 + 0xc6" (cast_expression "(int)piVar1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) < number_literal) ))) )) (compound_statement "{\n    puVar2 = extraout_ECX;\n    if (extraout_ECX != (undefined4 *)0x0) {\nLAB_000950a3:\n      if (*(int *)(*piVar1 + 0x74) < (int)puVar2[6]) {\n        FUN_000886b0(piVar1,unaff_EDI + 0xd4e1b,*(int *)(*piVar1 + 0x74));\n        return puVar2;\n      }\n      return puVar2;\n    }\n  }" { (expression_statement "puVar2 = extraout_ECX;" (assignment_expression "puVar2 = extraout_ECX" identifier = identifier) ;) (if_statement "if (extraout_ECX != (undefined4 *)0x0) {\nLAB_000950a3:\n      if (*(int *)(*piVar1 + 0x74) < (int)puVar2[6]) {\n        FUN_000886b0(piVar1,unaff_EDI + 0xd4e1b,*(int *)(*piVar1 + 0x74));\n        return puVar2;\n      }\n      return puVar2;\n    }" if (parenthesized_expression "(extraout_ECX != (undefined4 *)0x0)" ( (binary_expression "extraout_ECX != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\nLAB_000950a3:\n      if (*(int *)(*piVar1 + 0x74) < (int)puVar2[6]) {\n        FUN_000886b0(piVar1,unaff_EDI + 0xd4e1b,*(int *)(*piVar1 + 0x74));\n        return puVar2;\n      }\n      return puVar2;\n    }" { (labeled_statement "LAB_000950a3:\n      if (*(int *)(*piVar1 + 0x74) < (int)puVar2[6]) {\n        FUN_000886b0(piVar1,unaff_EDI + 0xd4e1b,*(int *)(*piVar1 + 0x74));\n        return puVar2;\n      }" statement_identifier : (if_statement "if (*(int *)(*piVar1 + 0x74) < (int)puVar2[6]) {\n        FUN_000886b0(piVar1,unaff_EDI + 0xd4e1b,*(int *)(*piVar1 + 0x74));\n        return puVar2;\n      }" if (parenthesized_expression "(*(int *)(*piVar1 + 0x74) < (int)puVar2[6])" ( (binary_expression "*(int *)(*piVar1 + 0x74) < (int)puVar2[6]" (pointer_expression "*(int *)(*piVar1 + 0x74)" * (cast_expression "(int *)(*piVar1 + 0x74)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*piVar1 + 0x74)" ( (binary_expression "*piVar1 + 0x74" (pointer_expression "*piVar1" * identifier) + number_literal) )))) < (cast_expression "(int)puVar2[6]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "puVar2[6]" identifier [ number_literal ]))) )) (compound_statement "{\n        FUN_000886b0(piVar1,unaff_EDI + 0xd4e1b,*(int *)(*piVar1 + 0x74));\n        return puVar2;\n      }" { (expression_statement "FUN_000886b0(piVar1,unaff_EDI + 0xd4e1b,*(int *)(*piVar1 + 0x74));" (call_expression "FUN_000886b0(piVar1,unaff_EDI + 0xd4e1b,*(int *)(*piVar1 + 0x74))" identifier (argument_list "(piVar1,unaff_EDI + 0xd4e1b,*(int *)(*piVar1 + 0x74))" ( identifier , (binary_expression "unaff_EDI + 0xd4e1b" identifier + number_literal) , (pointer_expression "*(int *)(*piVar1 + 0x74)" * (cast_expression "(int *)(*piVar1 + 0x74)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*piVar1 + 0x74)" ( (binary_expression "*piVar1 + 0x74" (pointer_expression "*piVar1" * identifier) + number_literal) )))) ))) ;) (return_statement "return puVar2;" return identifier ;) }))) (return_statement "return puVar2;" return identifier ;) })) }) (else_clause "else {\n    if ((*(char *)(*piVar1 + 0x4d) == '\0') &&\n       (puVar2 = (undefined4 *)FUN_00055c10(), puVar2 != (undefined4 *)0x0)) {\n      *puVar2 = 0;\n      puVar2[0xd] = 0;\n      puVar4 = (undefined4 *)((uint)(puVar2 + 1) & 0xfffffffc);\n      for (uVar3 = (uint)((int)puVar2 + (0x38 - (int)((uint)(puVar2 + 1) & 0xfffffffc))) >> 2;\n          uVar3 != 0; uVar3 = uVar3 - 1) {\n        *puVar4 = 0;\n        puVar4 = puVar4 + (uint)bVar5 * -2 + 1;\n      }\n      local_24 = (undefined1)((ulonglong)uVar6 >> 0x20);\n      *(undefined1 *)puVar2 = local_24;\n      *(undefined2 *)(puVar2 + 9) = 0xffff;\n      if (in_ECX != 0) {\n        puVar2[3] = in_ECX;\n        puVar2[1] = puVar2[1] | *(uint *)(in_ECX + 4) & 0x200104;\n      }\n      FUN_00049e60();\n      goto LAB_000950a3;\n    }\n    if (in_ECX != 0) {\n      FUN_00063d60();\n    }\n  }" else (compound_statement "{\n    if ((*(char *)(*piVar1 + 0x4d) == '\0') &&\n       (puVar2 = (undefined4 *)FUN_00055c10(), puVar2 != (undefined4 *)0x0)) {\n      *puVar2 = 0;\n      puVar2[0xd] = 0;\n      puVar4 = (undefined4 *)((uint)(puVar2 + 1) & 0xfffffffc);\n      for (uVar3 = (uint)((int)puVar2 + (0x38 - (int)((uint)(puVar2 + 1) & 0xfffffffc))) >> 2;\n          uVar3 != 0; uVar3 = uVar3 - 1) {\n        *puVar4 = 0;\n        puVar4 = puVar4 + (uint)bVar5 * -2 + 1;\n      }\n      local_24 = (undefined1)((ulonglong)uVar6 >> 0x20);\n      *(undefined1 *)puVar2 = local_24;\n      *(undefined2 *)(puVar2 + 9) = 0xffff;\n      if (in_ECX != 0) {\n        puVar2[3] = in_ECX;\n        puVar2[1] = puVar2[1] | *(uint *)(in_ECX + 4) & 0x200104;\n      }\n      FUN_00049e60();\n      goto LAB_000950a3;\n    }\n    if (in_ECX != 0) {\n      FUN_00063d60();\n    }\n  }" { (if_statement "if ((*(char *)(*piVar1 + 0x4d) == '\0') &&\n       (puVar2 = (undefined4 *)FUN_00055c10(), puVar2 != (undefined4 *)0x0)) {\n      *puVar2 = 0;\n      puVar2[0xd] = 0;\n      puVar4 = (undefined4 *)((uint)(puVar2 + 1) & 0xfffffffc);\n      for (uVar3 = (uint)((int)puVar2 + (0x38 - (int)((uint)(puVar2 + 1) & 0xfffffffc))) >> 2;\n          uVar3 != 0; uVar3 = uVar3 - 1) {\n        *puVar4 = 0;\n        puVar4 = puVar4 + (uint)bVar5 * -2 + 1;\n      }\n      local_24 = (undefined1)((ulonglong)uVar6 >> 0x20);\n      *(undefined1 *)puVar2 = local_24;\n      *(undefined2 *)(puVar2 + 9) = 0xffff;\n      if (in_ECX != 0) {\n        puVar2[3] = in_ECX;\n        puVar2[1] = puVar2[1] | *(uint *)(in_ECX + 4) & 0x200104;\n      }\n      FUN_00049e60();\n      goto LAB_000950a3;\n    }" if (parenthesized_expression "((*(char *)(*piVar1 + 0x4d) == '\0') &&\n       (puVar2 = (undefined4 *)FUN_00055c10(), puVar2 != (undefined4 *)0x0))" ( (binary_expression "(*(char *)(*piVar1 + 0x4d) == '\0') &&\n       (puVar2 = (undefined4 *)FUN_00055c10(), puVar2 != (undefined4 *)0x0)" (parenthesized_expression "(*(char *)(*piVar1 + 0x4d) == '\0')" ( (binary_expression "*(char *)(*piVar1 + 0x4d) == '\0'" (pointer_expression "*(char *)(*piVar1 + 0x4d)" * (cast_expression "(char *)(*piVar1 + 0x4d)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*piVar1 + 0x4d)" ( (binary_expression "*piVar1 + 0x4d" (pointer_expression "*piVar1" * identifier) + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) && (parenthesized_expression "(puVar2 = (undefined4 *)FUN_00055c10(), puVar2 != (undefined4 *)0x0)" ( (comma_expression "puVar2 = (undefined4 *)FUN_00055c10(), puVar2 != (undefined4 *)0x0" (assignment_expression "puVar2 = (undefined4 *)FUN_00055c10()" identifier = (cast_expression "(undefined4 *)FUN_00055c10()" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00055c10()" identifier (argument_list "()" ( ))))) , (binary_expression "puVar2 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) (compound_statement "{\n      *puVar2 = 0;\n      puVar2[0xd] = 0;\n      puVar4 = (undefined4 *)((uint)(puVar2 + 1) & 0xfffffffc);\n      for (uVar3 = (uint)((int)puVar2 + (0x38 - (int)((uint)(puVar2 + 1) & 0xfffffffc))) >> 2;\n          uVar3 != 0; uVar3 = uVar3 - 1) {\n        *puVar4 = 0;\n        puVar4 = puVar4 + (uint)bVar5 * -2 + 1;\n      }\n      local_24 = (undefined1)((ulonglong)uVar6 >> 0x20);\n      *(undefined1 *)puVar2 = local_24;\n      *(undefined2 *)(puVar2 + 9) = 0xffff;\n      if (in_ECX != 0) {\n        puVar2[3] = in_ECX;\n        puVar2[1] = puVar2[1] | *(uint *)(in_ECX + 4) & 0x200104;\n      }\n      FUN_00049e60();\n      goto LAB_000950a3;\n    }" { (expression_statement "*puVar2 = 0;" (assignment_expression "*puVar2 = 0" (pointer_expression "*puVar2" * identifier) = number_literal) ;) (expression_statement "puVar2[0xd] = 0;" (assignment_expression "puVar2[0xd] = 0" (subscript_expression "puVar2[0xd]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar4 = (undefined4 *)((uint)(puVar2 + 1) & 0xfffffffc);" (assignment_expression "puVar4 = (undefined4 *)((uint)(puVar2 + 1) & 0xfffffffc)" identifier = (cast_expression "(undefined4 *)((uint)(puVar2 + 1) & 0xfffffffc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((uint)(puVar2 + 1) & 0xfffffffc)" ( (binary_expression "(uint)(puVar2 + 1) & 0xfffffffc" (call_expression "(uint)(puVar2 + 1)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(puVar2 + 1)" ( (binary_expression "puVar2 + 1" identifier + number_literal) ))) & number_literal) )))) ;) (for_statement "for (uVar3 = (uint)((int)puVar2 + (0x38 - (int)((uint)(puVar2 + 1) & 0xfffffffc))) >> 2;\n          uVar3 != 0; uVar3 = uVar3 - 1) {\n        *puVar4 = 0;\n        puVar4 = puVar4 + (uint)bVar5 * -2 + 1;\n      }" for ( (assignment_expression "uVar3 = (uint)((int)puVar2 + (0x38 - (int)((uint)(puVar2 + 1) & 0xfffffffc))) >> 2" identifier = (binary_expression "(uint)((int)puVar2 + (0x38 - (int)((uint)(puVar2 + 1) & 0xfffffffc))) >> 2" (call_expression "(uint)((int)puVar2 + (0x38 - (int)((uint)(puVar2 + 1) & 0xfffffffc)))" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((int)puVar2 + (0x38 - (int)((uint)(puVar2 + 1) & 0xfffffffc)))" ( (binary_expression "(int)puVar2 + (0x38 - (int)((uint)(puVar2 + 1) & 0xfffffffc))" (cast_expression "(int)puVar2" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "(0x38 - (int)((uint)(puVar2 + 1) & 0xfffffffc))" ( (binary_expression "0x38 - (int)((uint)(puVar2 + 1) & 0xfffffffc)" number_literal - (cast_expression "(int)((uint)(puVar2 + 1) & 0xfffffffc)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((uint)(puVar2 + 1) & 0xfffffffc)" ( (binary_expression "(uint)(puVar2 + 1) & 0xfffffffc" (call_expression "(uint)(puVar2 + 1)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(puVar2 + 1)" ( (binary_expression "puVar2 + 1" identifier + number_literal) ))) & number_literal) )))) ))) ))) >> number_literal)) ; (binary_expression "uVar3 != 0" identifier != number_literal) ; (assignment_expression "uVar3 = uVar3 - 1" identifier = (binary_expression "uVar3 - 1" identifier - number_literal)) ) (compound_statement "{\n        *puVar4 = 0;\n        puVar4 = puVar4 + (uint)bVar5 * -2 + 1;\n      }" { (expression_statement "*puVar4 = 0;" (assignment_expression "*puVar4 = 0" (pointer_expression "*puVar4" * identifier) = number_literal) ;) (expression_statement "puVar4 = puVar4 + (uint)bVar5 * -2 + 1;" (assignment_expression "puVar4 = puVar4 + (uint)bVar5 * -2 + 1" identifier = (binary_expression "puVar4 + (uint)bVar5 * -2 + 1" (binary_expression "puVar4 + (uint)bVar5 * -2" identifier + (binary_expression "(uint)bVar5 * -2" (cast_expression "(uint)bVar5" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) })) (expression_statement "local_24 = (undefined1)((ulonglong)uVar6 >> 0x20);" (assignment_expression "local_24 = (undefined1)((ulonglong)uVar6 >> 0x20)" identifier = (call_expression "(undefined1)((ulonglong)uVar6 >> 0x20)" (parenthesized_expression "(undefined1)" ( identifier )) (argument_list "((ulonglong)uVar6 >> 0x20)" ( (binary_expression "(ulonglong)uVar6 >> 0x20" (cast_expression "(ulonglong)uVar6" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "*(undefined1 *)puVar2 = local_24;" (assignment_expression "*(undefined1 *)puVar2 = local_24" (pointer_expression "*(undefined1 *)puVar2" * (cast_expression "(undefined1 *)puVar2" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = identifier) ;) (expression_statement "*(undefined2 *)(puVar2 + 9) = 0xffff;" (assignment_expression "*(undefined2 *)(puVar2 + 9) = 0xffff" (pointer_expression "*(undefined2 *)(puVar2 + 9)" * (cast_expression "(undefined2 *)(puVar2 + 9)" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + 9)" ( (binary_expression "puVar2 + 9" identifier + number_literal) )))) = number_literal) ;) (if_statement "if (in_ECX != 0) {\n        puVar2[3] = in_ECX;\n        puVar2[1] = puVar2[1] | *(uint *)(in_ECX + 4) & 0x200104;\n      }" if (parenthesized_expression "(in_ECX != 0)" ( (binary_expression "in_ECX != 0" identifier != number_literal) )) (compound_statement "{\n        puVar2[3] = in_ECX;\n        puVar2[1] = puVar2[1] | *(uint *)(in_ECX + 4) & 0x200104;\n      }" { (expression_statement "puVar2[3] = in_ECX;" (assignment_expression "puVar2[3] = in_ECX" (subscript_expression "puVar2[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar2[1] = puVar2[1] | *(uint *)(in_ECX + 4) & 0x200104;" (assignment_expression "puVar2[1] = puVar2[1] | *(uint *)(in_ECX + 4) & 0x200104" (subscript_expression "puVar2[1]" identifier [ number_literal ]) = (binary_expression "puVar2[1] | *(uint *)(in_ECX + 4) & 0x200104" (subscript_expression "puVar2[1]" identifier [ number_literal ]) | (binary_expression "*(uint *)(in_ECX + 4) & 0x200104" (pointer_expression "*(uint *)(in_ECX + 4)" * (cast_expression "(uint *)(in_ECX + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_ECX + 4)" ( (binary_expression "in_ECX + 4" identifier + number_literal) )))) & number_literal))) ;) })) (expression_statement "FUN_00049e60();" (call_expression "FUN_00049e60()" identifier (argument_list "()" ( ))) ;) (goto_statement "goto LAB_000950a3;" goto statement_identifier ;) })) (if_statement "if (in_ECX != 0) {\n      FUN_00063d60();\n    }" if (parenthesized_expression "(in_ECX != 0)" ( (binary_expression "in_ECX != 0" identifier != number_literal) )) (compound_statement "{\n      FUN_00063d60();\n    }" { (expression_statement "FUN_00063d60();" (call_expression "FUN_00063d60()" identifier (argument_list "()" ( ))) ;) })) }))) (return_statement "return (undefined4 *)0x0;" return (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) ;) })))
(translation_unit (function_definition TYPE (pointer_declarator * (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) )))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) ))) == LIT) )) && (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == LIT) ))) )) && (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) < LIT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) < (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ]))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , (binary_expression IDENT + LIT) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) ))) ;) (return_statement return IDENT ;) }))) (return_statement return 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 (pointer_expression * IDENT) + LIT) )))) == (char_literal ' escape_sequence ')) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( ))))) , (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT))) ))) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT + LIT) ))) & LIT) )))) ;) (for_statement for ( (assignment_expression IDENT = (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + (parenthesized_expression ( (binary_expression LIT - (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT + LIT) ))) & LIT) )))) ))) ))) >> LIT)) ; (binary_expression IDENT != LIT) ; (assignment_expression IDENT = (binary_expression IDENT - LIT)) ) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT)) + LIT)) ;) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) = IDENT) ;) (expression_statement (assignment_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 (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression (subscript_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 ( ))) ;) (goto_statement goto statement_identifier ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) }))) (return_statement return (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT) ;) })))
(function_definition "undefined4 * FUN_00095010(void)\n\n{\n  int *piVar1;\n  undefined4 *puVar2;\n  int in_ECX;\n  undefined4 *extraout_ECX;\n  uint uVar3;\n  int unaff_EDI;\n  undefined4 *puVar4;\n  byte bVar5;\n  undefined8 uVar6;\n  undefined1 local_24;\n  \n  bVar5 = 0;\n  uVar6 = FUN_0003a401();\n  piVar1 = (int *)uVar6;\n  if ((((int)((ulonglong)uVar6 >> 0x20) == 0x2c) && (piVar1[9] == 0)) &&\n     (*(byte *)((int)piVar1 + 0xc6) < 2)) {\n    puVar2 = extraout_ECX;\n    if (extraout_ECX != (undefined4 *)0x0) {\nLAB_000950a3:\n      if (*(int *)(*piVar1 + 0x74) < (int)puVar2[6]) {\n        FUN_000886b0(piVar1,unaff_EDI + 0xd4e1b,*(int *)(*piVar1 + 0x74));\n        return puVar2;\n      }\n      return puVar2;\n    }\n  }\n  else {\n    if ((*(char *)(*piVar1 + 0x4d) == '\0') &&\n       (puVar2 = (undefined4 *)FUN_00055c10(), puVar2 != (undefined4 *)0x0)) {\n      *puVar2 = 0;\n      puVar2[0xd] = 0;\n      puVar4 = (undefined4 *)((uint)(puVar2 + 1) & 0xfffffffc);\n      for (uVar3 = (uint)((int)puVar2 + (0x38 - (int)((uint)(puVar2 + 1) & 0xfffffffc))) >> 2;\n          uVar3 != 0; uVar3 = uVar3 - 1) {\n        *puVar4 = 0;\n        puVar4 = puVar4 + (uint)bVar5 * -2 + 1;\n      }\n      local_24 = (undefined1)((ulonglong)uVar6 >> 0x20);\n      *(undefined1 *)puVar2 = local_24;\n      *(undefined2 *)(puVar2 + 9) = 0xffff;\n      if (in_ECX != 0) {\n        puVar2[3] = in_ECX;\n        puVar2[1] = puVar2[1] | *(uint *)(in_ECX + 4) & 0x200104;\n      }\n      FUN_00049e60();\n      goto LAB_000950a3;\n    }\n    if (in_ECX != 0) {\n      FUN_00063d60();\n    }\n  }\n  return (undefined4 *)0x0;\n}" (type_identifier "undefined4") (pointer_declarator "* FUN_00095010(void)" (* "*") (function_declarator "FUN_00095010(void)" (identifier "FUN_00095010") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")")))) (compound_statement "{\n  int *piVar1;\n  undefined4 *puVar2;\n  int in_ECX;\n  undefined4 *extraout_ECX;\n  uint uVar3;\n  int unaff_EDI;\n  undefined4 *puVar4;\n  byte bVar5;\n  undefined8 uVar6;\n  undefined1 local_24;\n  \n  bVar5 = 0;\n  uVar6 = FUN_0003a401();\n  piVar1 = (int *)uVar6;\n  if ((((int)((ulonglong)uVar6 >> 0x20) == 0x2c) && (piVar1[9] == 0)) &&\n     (*(byte *)((int)piVar1 + 0xc6) < 2)) {\n    puVar2 = extraout_ECX;\n    if (extraout_ECX != (undefined4 *)0x0) {\nLAB_000950a3:\n      if (*(int *)(*piVar1 + 0x74) < (int)puVar2[6]) {\n        FUN_000886b0(piVar1,unaff_EDI + 0xd4e1b,*(int *)(*piVar1 + 0x74));\n        return puVar2;\n      }\n      return puVar2;\n    }\n  }\n  else {\n    if ((*(char *)(*piVar1 + 0x4d) == '\0') &&\n       (puVar2 = (undefined4 *)FUN_00055c10(), puVar2 != (undefined4 *)0x0)) {\n      *puVar2 = 0;\n      puVar2[0xd] = 0;\n      puVar4 = (undefined4 *)((uint)(puVar2 + 1) & 0xfffffffc);\n      for (uVar3 = (uint)((int)puVar2 + (0x38 - (int)((uint)(puVar2 + 1) & 0xfffffffc))) >> 2;\n          uVar3 != 0; uVar3 = uVar3 - 1) {\n        *puVar4 = 0;\n        puVar4 = puVar4 + (uint)bVar5 * -2 + 1;\n      }\n      local_24 = (undefined1)((ulonglong)uVar6 >> 0x20);\n      *(undefined1 *)puVar2 = local_24;\n      *(undefined2 *)(puVar2 + 9) = 0xffff;\n      if (in_ECX != 0) {\n        puVar2[3] = in_ECX;\n        puVar2[1] = puVar2[1] | *(uint *)(in_ECX + 4) & 0x200104;\n      }\n      FUN_00049e60();\n      goto LAB_000950a3;\n    }\n    if (in_ECX != 0) {\n      FUN_00063d60();\n    }\n  }\n  return (undefined4 *)0x0;\n}" ({ "{") (declaration "int *piVar1;" (primitive_type "int") (pointer_declarator "*piVar1" (* "*") (identifier "piVar1")) (; ";")) (declaration "undefined4 *puVar2;" (type_identifier "undefined4") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (declaration "int in_ECX;" (primitive_type "int") (identifier "in_ECX") (; ";")) (declaration "undefined4 *extraout_ECX;" (type_identifier "undefined4") (pointer_declarator "*extraout_ECX" (* "*") (identifier "extraout_ECX")) (; ";")) (declaration "uint uVar3;" (type_identifier "uint") (identifier "uVar3") (; ";")) (declaration "int unaff_EDI;" (primitive_type "int") (identifier "unaff_EDI") (; ";")) (declaration "undefined4 *puVar4;" (type_identifier "undefined4") (pointer_declarator "*puVar4" (* "*") (identifier "puVar4")) (; ";")) (declaration "byte bVar5;" (type_identifier "byte") (identifier "bVar5") (; ";")) (declaration "undefined8 uVar6;" (type_identifier "undefined8") (identifier "uVar6") (; ";")) (declaration "undefined1 local_24;" (type_identifier "undefined1") (identifier "local_24") (; ";")) (expression_statement "bVar5 = 0;" (assignment_expression "bVar5 = 0" (identifier "bVar5") (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar6 = FUN_0003a401();" (assignment_expression "uVar6 = FUN_0003a401()" (identifier "uVar6") (= "=") (call_expression "FUN_0003a401()" (identifier "FUN_0003a401") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "piVar1 = (int *)uVar6;" (assignment_expression "piVar1 = (int *)uVar6" (identifier "piVar1") (= "=") (cast_expression "(int *)uVar6" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "uVar6"))) (; ";")) (if_statement "if ((((int)((ulonglong)uVar6 >> 0x20) == 0x2c) && (piVar1[9] == 0)) &&\n     (*(byte *)((int)piVar1 + 0xc6) < 2)) {\n    puVar2 = extraout_ECX;\n    if (extraout_ECX != (undefined4 *)0x0) {\nLAB_000950a3:\n      if (*(int *)(*piVar1 + 0x74) < (int)puVar2[6]) {\n        FUN_000886b0(piVar1,unaff_EDI + 0xd4e1b,*(int *)(*piVar1 + 0x74));\n        return puVar2;\n      }\n      return puVar2;\n    }\n  }\n  else {\n    if ((*(char *)(*piVar1 + 0x4d) == '\0') &&\n       (puVar2 = (undefined4 *)FUN_00055c10(), puVar2 != (undefined4 *)0x0)) {\n      *puVar2 = 0;\n      puVar2[0xd] = 0;\n      puVar4 = (undefined4 *)((uint)(puVar2 + 1) & 0xfffffffc);\n      for (uVar3 = (uint)((int)puVar2 + (0x38 - (int)((uint)(puVar2 + 1) & 0xfffffffc))) >> 2;\n          uVar3 != 0; uVar3 = uVar3 - 1) {\n        *puVar4 = 0;\n        puVar4 = puVar4 + (uint)bVar5 * -2 + 1;\n      }\n      local_24 = (undefined1)((ulonglong)uVar6 >> 0x20);\n      *(undefined1 *)puVar2 = local_24;\n      *(undefined2 *)(puVar2 + 9) = 0xffff;\n      if (in_ECX != 0) {\n        puVar2[3] = in_ECX;\n        puVar2[1] = puVar2[1] | *(uint *)(in_ECX + 4) & 0x200104;\n      }\n      FUN_00049e60();\n      goto LAB_000950a3;\n    }\n    if (in_ECX != 0) {\n      FUN_00063d60();\n    }\n  }" (if "if") (parenthesized_expression "((((int)((ulonglong)uVar6 >> 0x20) == 0x2c) && (piVar1[9] == 0)) &&\n     (*(byte *)((int)piVar1 + 0xc6) < 2))" (( "(") (binary_expression "(((int)((ulonglong)uVar6 >> 0x20) == 0x2c) && (piVar1[9] == 0)) &&\n     (*(byte *)((int)piVar1 + 0xc6) < 2)" (parenthesized_expression "(((int)((ulonglong)uVar6 >> 0x20) == 0x2c) && (piVar1[9] == 0))" (( "(") (binary_expression "((int)((ulonglong)uVar6 >> 0x20) == 0x2c) && (piVar1[9] == 0)" (parenthesized_expression "((int)((ulonglong)uVar6 >> 0x20) == 0x2c)" (( "(") (binary_expression "(int)((ulonglong)uVar6 >> 0x20) == 0x2c" (cast_expression "(int)((ulonglong)uVar6 >> 0x20)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "((ulonglong)uVar6 >> 0x20)" (( "(") (binary_expression "(ulonglong)uVar6 >> 0x20" (cast_expression "(ulonglong)uVar6" (( "(") (type_descriptor "ulonglong" (type_identifier "ulonglong")) () ")") (identifier "uVar6")) (>> ">>") (number_literal "0x20")) () ")"))) (== "==") (number_literal "0x2c")) () ")")) (&& "&&") (parenthesized_expression "(piVar1[9] == 0)" (( "(") (binary_expression "piVar1[9] == 0" (subscript_expression "piVar1[9]" (identifier "piVar1") ([ "[") (number_literal "9") (] "]")) (== "==") (number_literal "0")) () ")"))) () ")")) (&& "&&") (parenthesized_expression "(*(byte *)((int)piVar1 + 0xc6) < 2)" (( "(") (binary_expression "*(byte *)((int)piVar1 + 0xc6) < 2" (pointer_expression "*(byte *)((int)piVar1 + 0xc6)" (* "*") (cast_expression "(byte *)((int)piVar1 + 0xc6)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)piVar1 + 0xc6)" (( "(") (binary_expression "(int)piVar1 + 0xc6" (cast_expression "(int)piVar1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar1")) (+ "+") (number_literal "0xc6")) () ")")))) (< "<") (number_literal "2")) () ")"))) () ")")) (compound_statement "{\n    puVar2 = extraout_ECX;\n    if (extraout_ECX != (undefined4 *)0x0) {\nLAB_000950a3:\n      if (*(int *)(*piVar1 + 0x74) < (int)puVar2[6]) {\n        FUN_000886b0(piVar1,unaff_EDI + 0xd4e1b,*(int *)(*piVar1 + 0x74));\n        return puVar2;\n      }\n      return puVar2;\n    }\n  }" ({ "{") (expression_statement "puVar2 = extraout_ECX;" (assignment_expression "puVar2 = extraout_ECX" (identifier "puVar2") (= "=") (identifier "extraout_ECX")) (; ";")) (if_statement "if (extraout_ECX != (undefined4 *)0x0) {\nLAB_000950a3:\n      if (*(int *)(*piVar1 + 0x74) < (int)puVar2[6]) {\n        FUN_000886b0(piVar1,unaff_EDI + 0xd4e1b,*(int *)(*piVar1 + 0x74));\n        return puVar2;\n      }\n      return puVar2;\n    }" (if "if") (parenthesized_expression "(extraout_ECX != (undefined4 *)0x0)" (( "(") (binary_expression "extraout_ECX != (undefined4 *)0x0" (identifier "extraout_ECX") (!= "!=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\nLAB_000950a3:\n      if (*(int *)(*piVar1 + 0x74) < (int)puVar2[6]) {\n        FUN_000886b0(piVar1,unaff_EDI + 0xd4e1b,*(int *)(*piVar1 + 0x74));\n        return puVar2;\n      }\n      return puVar2;\n    }" ({ "{") (labeled_statement "LAB_000950a3:\n      if (*(int *)(*piVar1 + 0x74) < (int)puVar2[6]) {\n        FUN_000886b0(piVar1,unaff_EDI + 0xd4e1b,*(int *)(*piVar1 + 0x74));\n        return puVar2;\n      }" (statement_identifier "LAB_000950a3") (: ":") (if_statement "if (*(int *)(*piVar1 + 0x74) < (int)puVar2[6]) {\n        FUN_000886b0(piVar1,unaff_EDI + 0xd4e1b,*(int *)(*piVar1 + 0x74));\n        return puVar2;\n      }" (if "if") (parenthesized_expression "(*(int *)(*piVar1 + 0x74) < (int)puVar2[6])" (( "(") (binary_expression "*(int *)(*piVar1 + 0x74) < (int)puVar2[6]" (pointer_expression "*(int *)(*piVar1 + 0x74)" (* "*") (cast_expression "(int *)(*piVar1 + 0x74)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*piVar1 + 0x74)" (( "(") (binary_expression "*piVar1 + 0x74" (pointer_expression "*piVar1" (* "*") (identifier "piVar1")) (+ "+") (number_literal "0x74")) () ")")))) (< "<") (cast_expression "(int)puVar2[6]" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (subscript_expression "puVar2[6]" (identifier "puVar2") ([ "[") (number_literal "6") (] "]")))) () ")")) (compound_statement "{\n        FUN_000886b0(piVar1,unaff_EDI + 0xd4e1b,*(int *)(*piVar1 + 0x74));\n        return puVar2;\n      }" ({ "{") (expression_statement "FUN_000886b0(piVar1,unaff_EDI + 0xd4e1b,*(int *)(*piVar1 + 0x74));" (call_expression "FUN_000886b0(piVar1,unaff_EDI + 0xd4e1b,*(int *)(*piVar1 + 0x74))" (identifier "FUN_000886b0") (argument_list "(piVar1,unaff_EDI + 0xd4e1b,*(int *)(*piVar1 + 0x74))" (( "(") (identifier "piVar1") (, ",") (binary_expression "unaff_EDI + 0xd4e1b" (identifier "unaff_EDI") (+ "+") (number_literal "0xd4e1b")) (, ",") (pointer_expression "*(int *)(*piVar1 + 0x74)" (* "*") (cast_expression "(int *)(*piVar1 + 0x74)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*piVar1 + 0x74)" (( "(") (binary_expression "*piVar1 + 0x74" (pointer_expression "*piVar1" (* "*") (identifier "piVar1")) (+ "+") (number_literal "0x74")) () ")")))) () ")"))) (; ";")) (return_statement "return puVar2;" (return "return") (identifier "puVar2") (; ";")) (} "}")))) (return_statement "return puVar2;" (return "return") (identifier "puVar2") (; ";")) (} "}"))) (} "}")) (else_clause "else {\n    if ((*(char *)(*piVar1 + 0x4d) == '\0') &&\n       (puVar2 = (undefined4 *)FUN_00055c10(), puVar2 != (undefined4 *)0x0)) {\n      *puVar2 = 0;\n      puVar2[0xd] = 0;\n      puVar4 = (undefined4 *)((uint)(puVar2 + 1) & 0xfffffffc);\n      for (uVar3 = (uint)((int)puVar2 + (0x38 - (int)((uint)(puVar2 + 1) & 0xfffffffc))) >> 2;\n          uVar3 != 0; uVar3 = uVar3 - 1) {\n        *puVar4 = 0;\n        puVar4 = puVar4 + (uint)bVar5 * -2 + 1;\n      }\n      local_24 = (undefined1)((ulonglong)uVar6 >> 0x20);\n      *(undefined1 *)puVar2 = local_24;\n      *(undefined2 *)(puVar2 + 9) = 0xffff;\n      if (in_ECX != 0) {\n        puVar2[3] = in_ECX;\n        puVar2[1] = puVar2[1] | *(uint *)(in_ECX + 4) & 0x200104;\n      }\n      FUN_00049e60();\n      goto LAB_000950a3;\n    }\n    if (in_ECX != 0) {\n      FUN_00063d60();\n    }\n  }" (else "else") (compound_statement "{\n    if ((*(char *)(*piVar1 + 0x4d) == '\0') &&\n       (puVar2 = (undefined4 *)FUN_00055c10(), puVar2 != (undefined4 *)0x0)) {\n      *puVar2 = 0;\n      puVar2[0xd] = 0;\n      puVar4 = (undefined4 *)((uint)(puVar2 + 1) & 0xfffffffc);\n      for (uVar3 = (uint)((int)puVar2 + (0x38 - (int)((uint)(puVar2 + 1) & 0xfffffffc))) >> 2;\n          uVar3 != 0; uVar3 = uVar3 - 1) {\n        *puVar4 = 0;\n        puVar4 = puVar4 + (uint)bVar5 * -2 + 1;\n      }\n      local_24 = (undefined1)((ulonglong)uVar6 >> 0x20);\n      *(undefined1 *)puVar2 = local_24;\n      *(undefined2 *)(puVar2 + 9) = 0xffff;\n      if (in_ECX != 0) {\n        puVar2[3] = in_ECX;\n        puVar2[1] = puVar2[1] | *(uint *)(in_ECX + 4) & 0x200104;\n      }\n      FUN_00049e60();\n      goto LAB_000950a3;\n    }\n    if (in_ECX != 0) {\n      FUN_00063d60();\n    }\n  }" ({ "{") (if_statement "if ((*(char *)(*piVar1 + 0x4d) == '\0') &&\n       (puVar2 = (undefined4 *)FUN_00055c10(), puVar2 != (undefined4 *)0x0)) {\n      *puVar2 = 0;\n      puVar2[0xd] = 0;\n      puVar4 = (undefined4 *)((uint)(puVar2 + 1) & 0xfffffffc);\n      for (uVar3 = (uint)((int)puVar2 + (0x38 - (int)((uint)(puVar2 + 1) & 0xfffffffc))) >> 2;\n          uVar3 != 0; uVar3 = uVar3 - 1) {\n        *puVar4 = 0;\n        puVar4 = puVar4 + (uint)bVar5 * -2 + 1;\n      }\n      local_24 = (undefined1)((ulonglong)uVar6 >> 0x20);\n      *(undefined1 *)puVar2 = local_24;\n      *(undefined2 *)(puVar2 + 9) = 0xffff;\n      if (in_ECX != 0) {\n        puVar2[3] = in_ECX;\n        puVar2[1] = puVar2[1] | *(uint *)(in_ECX + 4) & 0x200104;\n      }\n      FUN_00049e60();\n      goto LAB_000950a3;\n    }" (if "if") (parenthesized_expression "((*(char *)(*piVar1 + 0x4d) == '\0') &&\n       (puVar2 = (undefined4 *)FUN_00055c10(), puVar2 != (undefined4 *)0x0))" (( "(") (binary_expression "(*(char *)(*piVar1 + 0x4d) == '\0') &&\n       (puVar2 = (undefined4 *)FUN_00055c10(), puVar2 != (undefined4 *)0x0)" (parenthesized_expression "(*(char *)(*piVar1 + 0x4d) == '\0')" (( "(") (binary_expression "*(char *)(*piVar1 + 0x4d) == '\0'" (pointer_expression "*(char *)(*piVar1 + 0x4d)" (* "*") (cast_expression "(char *)(*piVar1 + 0x4d)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*piVar1 + 0x4d)" (( "(") (binary_expression "*piVar1 + 0x4d" (pointer_expression "*piVar1" (* "*") (identifier "piVar1")) (+ "+") (number_literal "0x4d")) () ")")))) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (&& "&&") (parenthesized_expression "(puVar2 = (undefined4 *)FUN_00055c10(), puVar2 != (undefined4 *)0x0)" (( "(") (comma_expression "puVar2 = (undefined4 *)FUN_00055c10(), puVar2 != (undefined4 *)0x0" (assignment_expression "puVar2 = (undefined4 *)FUN_00055c10()" (identifier "puVar2") (= "=") (cast_expression "(undefined4 *)FUN_00055c10()" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_00055c10()" (identifier "FUN_00055c10") (argument_list "()" (( "(") () ")"))))) (, ",") (binary_expression "puVar2 != (undefined4 *)0x0" (identifier "puVar2") (!= "!=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0")))) () ")"))) () ")")) (compound_statement "{\n      *puVar2 = 0;\n      puVar2[0xd] = 0;\n      puVar4 = (undefined4 *)((uint)(puVar2 + 1) & 0xfffffffc);\n      for (uVar3 = (uint)((int)puVar2 + (0x38 - (int)((uint)(puVar2 + 1) & 0xfffffffc))) >> 2;\n          uVar3 != 0; uVar3 = uVar3 - 1) {\n        *puVar4 = 0;\n        puVar4 = puVar4 + (uint)bVar5 * -2 + 1;\n      }\n      local_24 = (undefined1)((ulonglong)uVar6 >> 0x20);\n      *(undefined1 *)puVar2 = local_24;\n      *(undefined2 *)(puVar2 + 9) = 0xffff;\n      if (in_ECX != 0) {\n        puVar2[3] = in_ECX;\n        puVar2[1] = puVar2[1] | *(uint *)(in_ECX + 4) & 0x200104;\n      }\n      FUN_00049e60();\n      goto LAB_000950a3;\n    }" ({ "{") (expression_statement "*puVar2 = 0;" (assignment_expression "*puVar2 = 0" (pointer_expression "*puVar2" (* "*") (identifier "puVar2")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar2[0xd] = 0;" (assignment_expression "puVar2[0xd] = 0" (subscript_expression "puVar2[0xd]" (identifier "puVar2") ([ "[") (number_literal "0xd") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar4 = (undefined4 *)((uint)(puVar2 + 1) & 0xfffffffc);" (assignment_expression "puVar4 = (undefined4 *)((uint)(puVar2 + 1) & 0xfffffffc)" (identifier "puVar4") (= "=") (cast_expression "(undefined4 *)((uint)(puVar2 + 1) & 0xfffffffc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((uint)(puVar2 + 1) & 0xfffffffc)" (( "(") (binary_expression "(uint)(puVar2 + 1) & 0xfffffffc" (call_expression "(uint)(puVar2 + 1)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(puVar2 + 1)" (( "(") (binary_expression "puVar2 + 1" (identifier "puVar2") (+ "+") (number_literal "1")) () ")"))) (& "&") (number_literal "0xfffffffc")) () ")")))) (; ";")) (for_statement "for (uVar3 = (uint)((int)puVar2 + (0x38 - (int)((uint)(puVar2 + 1) & 0xfffffffc))) >> 2;\n          uVar3 != 0; uVar3 = uVar3 - 1) {\n        *puVar4 = 0;\n        puVar4 = puVar4 + (uint)bVar5 * -2 + 1;\n      }" (for "for") (( "(") (assignment_expression "uVar3 = (uint)((int)puVar2 + (0x38 - (int)((uint)(puVar2 + 1) & 0xfffffffc))) >> 2" (identifier "uVar3") (= "=") (binary_expression "(uint)((int)puVar2 + (0x38 - (int)((uint)(puVar2 + 1) & 0xfffffffc))) >> 2" (call_expression "(uint)((int)puVar2 + (0x38 - (int)((uint)(puVar2 + 1) & 0xfffffffc)))" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "((int)puVar2 + (0x38 - (int)((uint)(puVar2 + 1) & 0xfffffffc)))" (( "(") (binary_expression "(int)puVar2 + (0x38 - (int)((uint)(puVar2 + 1) & 0xfffffffc))" (cast_expression "(int)puVar2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar2")) (+ "+") (parenthesized_expression "(0x38 - (int)((uint)(puVar2 + 1) & 0xfffffffc))" (( "(") (binary_expression "0x38 - (int)((uint)(puVar2 + 1) & 0xfffffffc)" (number_literal "0x38") (- "-") (cast_expression "(int)((uint)(puVar2 + 1) & 0xfffffffc)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "((uint)(puVar2 + 1) & 0xfffffffc)" (( "(") (binary_expression "(uint)(puVar2 + 1) & 0xfffffffc" (call_expression "(uint)(puVar2 + 1)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(puVar2 + 1)" (( "(") (binary_expression "puVar2 + 1" (identifier "puVar2") (+ "+") (number_literal "1")) () ")"))) (& "&") (number_literal "0xfffffffc")) () ")")))) () ")"))) () ")"))) (>> ">>") (number_literal "2"))) (; ";") (binary_expression "uVar3 != 0" (identifier "uVar3") (!= "!=") (number_literal "0")) (; ";") (assignment_expression "uVar3 = uVar3 - 1" (identifier "uVar3") (= "=") (binary_expression "uVar3 - 1" (identifier "uVar3") (- "-") (number_literal "1"))) () ")") (compound_statement "{\n        *puVar4 = 0;\n        puVar4 = puVar4 + (uint)bVar5 * -2 + 1;\n      }" ({ "{") (expression_statement "*puVar4 = 0;" (assignment_expression "*puVar4 = 0" (pointer_expression "*puVar4" (* "*") (identifier "puVar4")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar4 = puVar4 + (uint)bVar5 * -2 + 1;" (assignment_expression "puVar4 = puVar4 + (uint)bVar5 * -2 + 1" (identifier "puVar4") (= "=") (binary_expression "puVar4 + (uint)bVar5 * -2 + 1" (binary_expression "puVar4 + (uint)bVar5 * -2" (identifier "puVar4") (+ "+") (binary_expression "(uint)bVar5 * -2" (cast_expression "(uint)bVar5" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar5")) (* "*") (number_literal "-2"))) (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (expression_statement "local_24 = (undefined1)((ulonglong)uVar6 >> 0x20);" (assignment_expression "local_24 = (undefined1)((ulonglong)uVar6 >> 0x20)" (identifier "local_24") (= "=") (call_expression "(undefined1)((ulonglong)uVar6 >> 0x20)" (parenthesized_expression "(undefined1)" (( "(") (identifier "undefined1") () ")")) (argument_list "((ulonglong)uVar6 >> 0x20)" (( "(") (binary_expression "(ulonglong)uVar6 >> 0x20" (cast_expression "(ulonglong)uVar6" (( "(") (type_descriptor "ulonglong" (type_identifier "ulonglong")) () ")") (identifier "uVar6")) (>> ">>") (number_literal "0x20")) () ")")))) (; ";")) (expression_statement "*(undefined1 *)puVar2 = local_24;" (assignment_expression "*(undefined1 *)puVar2 = local_24" (pointer_expression "*(undefined1 *)puVar2" (* "*") (cast_expression "(undefined1 *)puVar2" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar2"))) (= "=") (identifier "local_24")) (; ";")) (expression_statement "*(undefined2 *)(puVar2 + 9) = 0xffff;" (assignment_expression "*(undefined2 *)(puVar2 + 9) = 0xffff" (pointer_expression "*(undefined2 *)(puVar2 + 9)" (* "*") (cast_expression "(undefined2 *)(puVar2 + 9)" (( "(") (type_descriptor "undefined2 *" (type_identifier "undefined2") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar2 + 9)" (( "(") (binary_expression "puVar2 + 9" (identifier "puVar2") (+ "+") (number_literal "9")) () ")")))) (= "=") (number_literal "0xffff")) (; ";")) (if_statement "if (in_ECX != 0) {\n        puVar2[3] = in_ECX;\n        puVar2[1] = puVar2[1] | *(uint *)(in_ECX + 4) & 0x200104;\n      }" (if "if") (parenthesized_expression "(in_ECX != 0)" (( "(") (binary_expression "in_ECX != 0" (identifier "in_ECX") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        puVar2[3] = in_ECX;\n        puVar2[1] = puVar2[1] | *(uint *)(in_ECX + 4) & 0x200104;\n      }" ({ "{") (expression_statement "puVar2[3] = in_ECX;" (assignment_expression "puVar2[3] = in_ECX" (subscript_expression "puVar2[3]" (identifier "puVar2") ([ "[") (number_literal "3") (] "]")) (= "=") (identifier "in_ECX")) (; ";")) (expression_statement "puVar2[1] = puVar2[1] | *(uint *)(in_ECX + 4) & 0x200104;" (assignment_expression "puVar2[1] = puVar2[1] | *(uint *)(in_ECX + 4) & 0x200104" (subscript_expression "puVar2[1]" (identifier "puVar2") ([ "[") (number_literal "1") (] "]")) (= "=") (binary_expression "puVar2[1] | *(uint *)(in_ECX + 4) & 0x200104" (subscript_expression "puVar2[1]" (identifier "puVar2") ([ "[") (number_literal "1") (] "]")) (| "|") (binary_expression "*(uint *)(in_ECX + 4) & 0x200104" (pointer_expression "*(uint *)(in_ECX + 4)" (* "*") (cast_expression "(uint *)(in_ECX + 4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_ECX + 4)" (( "(") (binary_expression "in_ECX + 4" (identifier "in_ECX") (+ "+") (number_literal "4")) () ")")))) (& "&") (number_literal "0x200104")))) (; ";")) (} "}"))) (expression_statement "FUN_00049e60();" (call_expression "FUN_00049e60()" (identifier "FUN_00049e60") (argument_list "()" (( "(") () ")"))) (; ";")) (goto_statement "goto LAB_000950a3;" (goto "goto") (statement_identifier "LAB_000950a3") (; ";")) (} "}"))) (if_statement "if (in_ECX != 0) {\n      FUN_00063d60();\n    }" (if "if") (parenthesized_expression "(in_ECX != 0)" (( "(") (binary_expression "in_ECX != 0" (identifier "in_ECX") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      FUN_00063d60();\n    }" ({ "{") (expression_statement "FUN_00063d60();" (call_expression "FUN_00063d60()" (identifier "FUN_00063d60") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (} "}")))) (return_statement "return (undefined4 *)0x0;" (return "return") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0")) (; ";")) (} "}")))

type_1 * function_1(type_2 *pParse,int op,type_1 *pLeft,type_1 *pRight)

{
  int var_3;
  type_2 *pParse_00;
  type_1 *var_7;
  type_3 *db;
  type_1 *var_10;
  type_1 *var_2;
  type_4 var_8;
  int var_5;
  type_5 *var_9;
  type_6 bVar4;
  type_7 uVar5;
  type_8 in_stack_ffffffd4;
  type_9 local_24;
  
  bVar4 = 0;
  uVar5 = var_1();
  pParse_00 = (type_2 *)uVar5;
  if ((((int)((type_10)uVar5 >> 0x20) == 0x2c) && (pParse_00->nErr == 0)) &&
     (pParse_00->eParseMode < 2)) {
    var_7 = var_2;
    if (var_2 != (type_1 *)0x0) {
LAB_000950a3:
      var_3 = pParse_00->db->aLimit[3];
      if (var_3 < var_7->nHeight) {
        var_4(pParse_00,(char *)(var_5 + 0xd4e1b),var_3);
        return var_7;
      }
      return var_7;
    }
  }
  else {
    db = pParse_00->db;
    if (db->mallocFailed == '\0') {
      var_7 = (type_1 *)var_6(db,in_stack_ffffffd4);
      if (var_7 != (type_1 *)0x0) {
        var_7->op = '\0';
        var_7->affinity = '\0';
        *(type_11 *)&var_7->field_0x2 = 0;
        var_9 = (type_5 *)((type_4)&var_7->flags & 0xfffffffc);
        (var_7->y).sub.regReturn = 0;
        var_8 = (type_4)((int)var_7 + (0x38 - (int)var_9)) >> 2;
        for (; var_8 != 0; var_8 = var_8 - 1) {
          *var_9 = 0;
          var_9 = var_9 + (type_4)bVar4 * -2 + 1;
        }
        local_24 = (type_9)((type_10)uVar5 >> 0x20);
        var_7->op = local_24;
        var_7->iAgg = -1;
        if (var_10 != (type_1 *)0x0) {
          var_7->pLeft = var_10;
          var_7->flags = var_7->flags | var_10->flags & 0x200104;
        }
        var_11(var_7);
        goto LAB_000950a3;
      }
      db = pParse_00->db;
    }
    if (var_10 != (type_1 *)0x0) {
      var_12(db,var_10);
    }
  }
  return (type_1 *)0x0;
}


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

undefined4 * MASKED(void)

{
  int *piVar1;
  undefined4 *puVar2;
  int in_ECX;
  undefined4 *extraout_ECX;
  uint uVar3;
  int unaff_EDI;
  undefined4 *puVar4;
  byte bVar5;
  undefined8 uVar6;
  undefined1 local_24;
  
  bVar5 = 0;
  uVar6 = FUN_0003a401();
  piVar1 = (int *)uVar6;
  if ((((int)((ulonglong)uVar6 >> 0x20) == 0x2c) && (piVar1[9] == 0)) &&
     (*(byte *)((int)piVar1 + 0xc6) < 2)) {
    puVar2 = extraout_ECX;
    if (extraout_ECX != (undefined4 *)0x0) {
LAB_000950a3:
      if (*(int *)(*piVar1 + 0x74) < (int)puVar2[6]) {
        FUN_000886b0(piVar1,unaff_EDI + 0xd4e1b,*(int *)(*piVar1 + 0x74));
        return puVar2;
      }
      return puVar2;
    }
  }
  else {
    if ((*(char *)(*piVar1 + 0x4d) == '\0') &&
       (puVar2 = (undefined4 *)FUN_00055c10(), puVar2 != (undefined4 *)0x0)) {
      *puVar2 = 0;
      puVar2[0xd] = 0;
      puVar4 = (undefined4 *)((uint)(puVar2 + 1) & 0xfffffffc);
      for (uVar3 = (uint)((int)puVar2 + (0x38 - (int)((uint)(puVar2 + 1) & 0xfffffffc))) >> 2;
          uVar3 != 0; uVar3 = uVar3 - 1) {
        *puVar4 = 0;
        puVar4 = puVar4 + (uint)bVar5 * -2 + 1;
      }
      local_24 = (undefined1)((ulonglong)uVar6 >> 0x20);
      *(undefined1 *)puVar2 = local_24;
      *(undefined2 *)(puVar2 + 9) = 0xffff;
      if (in_ECX != 0) {
        puVar2[3] = in_ECX;
        puVar2[1] = puVar2[1] | *(uint *)(in_ECX + 4) & 0x200104;
      }
      FUN_00049e60();
      goto LAB_000950a3;
    }
    if (in_ECX != 0) {
      FUN_00063d60();
    }
  }
  return (undefined4 *)0x0;
}

