
void btreeLockCarefully(Btree *p)

{
  undefined4 *puVar1;
  int iVar2;
  undefined4 *puVar3;
  int unaff_EDI;
  
  puVar1 = (undefined4 *)__x86_get_pc_thunk_di();
  iVar2 = puVar1[1];
  if (*(int *)(iVar2 + 0x38) != 0) {
    iVar2 = (**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x45))(*(int *)(iVar2 + 0x38));
    if (iVar2 != 0) {
      for (iVar2 = puVar1[6]; iVar2 != 0; iVar2 = *(int *)(iVar2 + 0x18)) {
        while (*(char *)(iVar2 + 10) != '\0') {
          unlockBtreeMutex(*(Btree **)(iVar2 + 4),(Btree *)(iVar2 + 10));
          iVar2 = *(int *)(iVar2 + 0x18);
          if (iVar2 == 0) goto LAB_00045471;
        }
      }
LAB_00045471:
      iVar2 = puVar1[1];
      if (*(int *)(iVar2 + 0x38) != 0) {
        (**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x41))(*(int *)(iVar2 + 0x38));
        iVar2 = puVar1[1];
      }
      *(undefined4 *)(iVar2 + 4) = *puVar1;
      puVar3 = (undefined4 *)puVar1[6];
      *(undefined1 *)((int)puVar1 + 10) = 1;
      if (puVar3 == (undefined4 *)0x0) {
        return;
      }
      do {
        if (puVar3[3] != 0) {
          iVar2 = puVar3[1];
          if (*(int *)(iVar2 + 0x38) != 0) {
            (**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x41))(*(int *)(iVar2 + 0x38));
            iVar2 = puVar3[1];
          }
          *(undefined4 *)(iVar2 + 4) = *puVar3;
          *(undefined1 *)((int)puVar3 + 10) = 1;
        }
        puVar3 = (undefined4 *)puVar3[6];
      } while (puVar3 != (undefined4 *)0x0);
      return;
    }
    iVar2 = puVar1[1];
  }
  *(undefined4 *)(iVar2 + 4) = *puVar1;
  *(undefined1 *)((int)puVar1 + 10) = 1;
  return;
}



void FUN_00045420(void)

{
  undefined4 *puVar1;
  int iVar2;
  undefined4 *puVar3;
  int unaff_EDI;
  
  puVar1 = (undefined4 *)FUN_0003a401();
  iVar2 = puVar1[1];
  if (*(int *)(iVar2 + 0x38) != 0) {
    iVar2 = (**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x45))(*(int *)(iVar2 + 0x38));
    if (iVar2 != 0) {
      for (iVar2 = puVar1[6]; iVar2 != 0; iVar2 = *(int *)(iVar2 + 0x18)) {
        while (*(char *)(iVar2 + 10) != '\0') {
          FUN_000453f0();
          iVar2 = *(int *)(iVar2 + 0x18);
          if (iVar2 == 0) goto LAB_00045471;
        }
      }
LAB_00045471:
      iVar2 = puVar1[1];
      if (*(int *)(iVar2 + 0x38) != 0) {
        (**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x41))(*(int *)(iVar2 + 0x38));
        iVar2 = puVar1[1];
      }
      *(undefined4 *)(iVar2 + 4) = *puVar1;
      puVar3 = (undefined4 *)puVar1[6];
      *(undefined1 *)((int)puVar1 + 10) = 1;
      if (puVar3 == (undefined4 *)0x0) {
        return;
      }
      do {
        if (puVar3[3] != 0) {
          iVar2 = puVar3[1];
          if (*(int *)(iVar2 + 0x38) != 0) {
            (**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x41))(*(int *)(iVar2 + 0x38));
            iVar2 = puVar3[1];
          }
          *(undefined4 *)(iVar2 + 4) = *puVar3;
          *(undefined1 *)((int)puVar3 + 10) = 1;
        }
        puVar3 = (undefined4 *)puVar3[6];
      } while (puVar3 != (undefined4 *)0x0);
      return;
    }
    iVar2 = puVar1[1];
  }
  *(undefined4 *)(iVar2 + 4) = *puVar1;
  *(undefined1 *)((int)puVar1 + 10) = 1;
  return;
}


PUSH EDI
CALL 0x0003a401
ADD EDI,0x175a02
PUSH ESI
MOV ESI,EAX
PUSH EBX
MOV EAX,dword ptr [EAX + 0x4]
MOV EDX,dword ptr [EAX + 0x38]
TEST EDX,EDX
JZ 0x000454db
SUB ESP,0xc
PUSH EDX
CALL dword ptr [EDI + 0x618]
ADD ESP,0x10
TEST EAX,EAX
JZ 0x000454d8
MOV EBX,dword ptr [ESI + 0x18]
TEST EBX,EBX
JZ 0x00045471
LEA ESI,[ESI]
CMP byte ptr [EBX + 0xa],0x0
JNZ 0x000454f0
MOV EBX,dword ptr [EBX + 0x18]
TEST EBX,EBX
JNZ 0x00045460
MOV EAX,dword ptr [ESI + 0x4]
MOV EDX,dword ptr [EAX + 0x38]
TEST EDX,EDX
JZ 0x0004548b
SUB ESP,0xc
PUSH EDX
CALL dword ptr [EDI + 0x614]
MOV EAX,dword ptr [ESI + 0x4]
ADD ESP,0x10
MOV EDX,dword ptr [ESI]
MOV dword ptr [EAX + 0x4],EDX
MOV EBX,dword ptr [ESI + 0x18]
MOV byte ptr [ESI + 0xa],0x1
TEST EBX,EBX
JZ 0x000454e4
LEA ESI,[ESI]
NOP
MOV EAX,dword ptr [EBX + 0xc]
TEST EAX,EAX
JZ 0x000454ca
MOV EAX,dword ptr [EBX + 0x4]
MOV EDX,dword ptr [EAX + 0x38]
TEST EDX,EDX
JZ 0x000454c1
SUB ESP,0xc
PUSH EDX
CALL dword ptr [EDI + 0x614]
MOV EAX,dword ptr [EBX + 0x4]
ADD ESP,0x10
MOV EDX,dword ptr [EBX]
MOV dword ptr [EAX + 0x4],EDX
MOV byte ptr [EBX + 0xa],0x1
MOV EBX,dword ptr [EBX + 0x18]
TEST EBX,EBX
JNZ 0x000454a0
POP EBX
POP ESI
POP EDI
RET
MOV EAX,dword ptr [ESI + 0x4]
MOV EDX,dword ptr [ESI]
MOV dword ptr [EAX + 0x4],EDX
MOV byte ptr [ESI + 0xa],0x1
POP EBX
POP ESI
POP EDI
RET
MOV EAX,dword ptr [EBX + 0x4]
LEA EDX,[EBX + 0xa]
CALL 0x000453f0
MOV EBX,dword ptr [EBX + 0x18]
TEST EBX,EBX
JNZ 0x00045460
JMP 0x00045471
(translation_unit "void FUN_00045420(void)\n\n{\n  undefined4 *puVar1;\n  int iVar2;\n  undefined4 *puVar3;\n  int unaff_EDI;\n  \n  puVar1 = (undefined4 *)FUN_0003a401();\n  iVar2 = puVar1[1];\n  if (*(int *)(iVar2 + 0x38) != 0) {\n    iVar2 = (**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x45))(*(int *)(iVar2 + 0x38));\n    if (iVar2 != 0) {\n      for (iVar2 = puVar1[6]; iVar2 != 0; iVar2 = *(int *)(iVar2 + 0x18)) {\n        while (*(char *)(iVar2 + 10) != '\0') {\n          FUN_000453f0();\n          iVar2 = *(int *)(iVar2 + 0x18);\n          if (iVar2 == 0) goto LAB_00045471;\n        }\n      }\nLAB_00045471:\n      iVar2 = puVar1[1];\n      if (*(int *)(iVar2 + 0x38) != 0) {\n        (**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x41))(*(int *)(iVar2 + 0x38));\n        iVar2 = puVar1[1];\n      }\n      *(undefined4 *)(iVar2 + 4) = *puVar1;\n      puVar3 = (undefined4 *)puVar1[6];\n      *(undefined1 *)((int)puVar1 + 10) = 1;\n      if (puVar3 == (undefined4 *)0x0) {\n        return;\n      }\n      do {\n        if (puVar3[3] != 0) {\n          iVar2 = puVar3[1];\n          if (*(int *)(iVar2 + 0x38) != 0) {\n            (**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x41))(*(int *)(iVar2 + 0x38));\n            iVar2 = puVar3[1];\n          }\n          *(undefined4 *)(iVar2 + 4) = *puVar3;\n          *(undefined1 *)((int)puVar3 + 10) = 1;\n        }\n        puVar3 = (undefined4 *)puVar3[6];\n      } while (puVar3 != (undefined4 *)0x0);\n      return;\n    }\n    iVar2 = puVar1[1];\n  }\n  *(undefined4 *)(iVar2 + 4) = *puVar1;\n  *(undefined1 *)((int)puVar1 + 10) = 1;\n  return;\n}\n\n" (function_definition "void FUN_00045420(void)\n\n{\n  undefined4 *puVar1;\n  int iVar2;\n  undefined4 *puVar3;\n  int unaff_EDI;\n  \n  puVar1 = (undefined4 *)FUN_0003a401();\n  iVar2 = puVar1[1];\n  if (*(int *)(iVar2 + 0x38) != 0) {\n    iVar2 = (**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x45))(*(int *)(iVar2 + 0x38));\n    if (iVar2 != 0) {\n      for (iVar2 = puVar1[6]; iVar2 != 0; iVar2 = *(int *)(iVar2 + 0x18)) {\n        while (*(char *)(iVar2 + 10) != '\0') {\n          FUN_000453f0();\n          iVar2 = *(int *)(iVar2 + 0x18);\n          if (iVar2 == 0) goto LAB_00045471;\n        }\n      }\nLAB_00045471:\n      iVar2 = puVar1[1];\n      if (*(int *)(iVar2 + 0x38) != 0) {\n        (**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x41))(*(int *)(iVar2 + 0x38));\n        iVar2 = puVar1[1];\n      }\n      *(undefined4 *)(iVar2 + 4) = *puVar1;\n      puVar3 = (undefined4 *)puVar1[6];\n      *(undefined1 *)((int)puVar1 + 10) = 1;\n      if (puVar3 == (undefined4 *)0x0) {\n        return;\n      }\n      do {\n        if (puVar3[3] != 0) {\n          iVar2 = puVar3[1];\n          if (*(int *)(iVar2 + 0x38) != 0) {\n            (**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x41))(*(int *)(iVar2 + 0x38));\n            iVar2 = puVar3[1];\n          }\n          *(undefined4 *)(iVar2 + 4) = *puVar3;\n          *(undefined1 *)((int)puVar3 + 10) = 1;\n        }\n        puVar3 = (undefined4 *)puVar3[6];\n      } while (puVar3 != (undefined4 *)0x0);\n      return;\n    }\n    iVar2 = puVar1[1];\n  }\n  *(undefined4 *)(iVar2 + 4) = *puVar1;\n  *(undefined1 *)((int)puVar1 + 10) = 1;\n  return;\n}" primitive_type (function_declarator "FUN_00045420(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  undefined4 *puVar1;\n  int iVar2;\n  undefined4 *puVar3;\n  int unaff_EDI;\n  \n  puVar1 = (undefined4 *)FUN_0003a401();\n  iVar2 = puVar1[1];\n  if (*(int *)(iVar2 + 0x38) != 0) {\n    iVar2 = (**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x45))(*(int *)(iVar2 + 0x38));\n    if (iVar2 != 0) {\n      for (iVar2 = puVar1[6]; iVar2 != 0; iVar2 = *(int *)(iVar2 + 0x18)) {\n        while (*(char *)(iVar2 + 10) != '\0') {\n          FUN_000453f0();\n          iVar2 = *(int *)(iVar2 + 0x18);\n          if (iVar2 == 0) goto LAB_00045471;\n        }\n      }\nLAB_00045471:\n      iVar2 = puVar1[1];\n      if (*(int *)(iVar2 + 0x38) != 0) {\n        (**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x41))(*(int *)(iVar2 + 0x38));\n        iVar2 = puVar1[1];\n      }\n      *(undefined4 *)(iVar2 + 4) = *puVar1;\n      puVar3 = (undefined4 *)puVar1[6];\n      *(undefined1 *)((int)puVar1 + 10) = 1;\n      if (puVar3 == (undefined4 *)0x0) {\n        return;\n      }\n      do {\n        if (puVar3[3] != 0) {\n          iVar2 = puVar3[1];\n          if (*(int *)(iVar2 + 0x38) != 0) {\n            (**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x41))(*(int *)(iVar2 + 0x38));\n            iVar2 = puVar3[1];\n          }\n          *(undefined4 *)(iVar2 + 4) = *puVar3;\n          *(undefined1 *)((int)puVar3 + 10) = 1;\n        }\n        puVar3 = (undefined4 *)puVar3[6];\n      } while (puVar3 != (undefined4 *)0x0);\n      return;\n    }\n    iVar2 = puVar1[1];\n  }\n  *(undefined4 *)(iVar2 + 4) = *puVar1;\n  *(undefined1 *)((int)puVar1 + 10) = 1;\n  return;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined4 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "int unaff_EDI;" primitive_type identifier ;) (expression_statement "puVar1 = (undefined4 *)FUN_0003a401();" (assignment_expression "puVar1 = (undefined4 *)FUN_0003a401()" identifier = (cast_expression "(undefined4 *)FUN_0003a401()" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0003a401()" identifier (argument_list "()" ( ))))) ;) (expression_statement "iVar2 = puVar1[1];" (assignment_expression "iVar2 = puVar1[1]" identifier = (subscript_expression "puVar1[1]" identifier [ number_literal ])) ;) (if_statement "if (*(int *)(iVar2 + 0x38) != 0) {\n    iVar2 = (**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x45))(*(int *)(iVar2 + 0x38));\n    if (iVar2 != 0) {\n      for (iVar2 = puVar1[6]; iVar2 != 0; iVar2 = *(int *)(iVar2 + 0x18)) {\n        while (*(char *)(iVar2 + 10) != '\0') {\n          FUN_000453f0();\n          iVar2 = *(int *)(iVar2 + 0x18);\n          if (iVar2 == 0) goto LAB_00045471;\n        }\n      }\nLAB_00045471:\n      iVar2 = puVar1[1];\n      if (*(int *)(iVar2 + 0x38) != 0) {\n        (**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x41))(*(int *)(iVar2 + 0x38));\n        iVar2 = puVar1[1];\n      }\n      *(undefined4 *)(iVar2 + 4) = *puVar1;\n      puVar3 = (undefined4 *)puVar1[6];\n      *(undefined1 *)((int)puVar1 + 10) = 1;\n      if (puVar3 == (undefined4 *)0x0) {\n        return;\n      }\n      do {\n        if (puVar3[3] != 0) {\n          iVar2 = puVar3[1];\n          if (*(int *)(iVar2 + 0x38) != 0) {\n            (**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x41))(*(int *)(iVar2 + 0x38));\n            iVar2 = puVar3[1];\n          }\n          *(undefined4 *)(iVar2 + 4) = *puVar3;\n          *(undefined1 *)((int)puVar3 + 10) = 1;\n        }\n        puVar3 = (undefined4 *)puVar3[6];\n      } while (puVar3 != (undefined4 *)0x0);\n      return;\n    }\n    iVar2 = puVar1[1];\n  }" if (parenthesized_expression "(*(int *)(iVar2 + 0x38) != 0)" ( (binary_expression "*(int *)(iVar2 + 0x38) != 0" (pointer_expression "*(int *)(iVar2 + 0x38)" * (cast_expression "(int *)(iVar2 + 0x38)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x38)" ( (binary_expression "iVar2 + 0x38" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    iVar2 = (**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x45))(*(int *)(iVar2 + 0x38));\n    if (iVar2 != 0) {\n      for (iVar2 = puVar1[6]; iVar2 != 0; iVar2 = *(int *)(iVar2 + 0x18)) {\n        while (*(char *)(iVar2 + 10) != '\0') {\n          FUN_000453f0();\n          iVar2 = *(int *)(iVar2 + 0x18);\n          if (iVar2 == 0) goto LAB_00045471;\n        }\n      }\nLAB_00045471:\n      iVar2 = puVar1[1];\n      if (*(int *)(iVar2 + 0x38) != 0) {\n        (**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x41))(*(int *)(iVar2 + 0x38));\n        iVar2 = puVar1[1];\n      }\n      *(undefined4 *)(iVar2 + 4) = *puVar1;\n      puVar3 = (undefined4 *)puVar1[6];\n      *(undefined1 *)((int)puVar1 + 10) = 1;\n      if (puVar3 == (undefined4 *)0x0) {\n        return;\n      }\n      do {\n        if (puVar3[3] != 0) {\n          iVar2 = puVar3[1];\n          if (*(int *)(iVar2 + 0x38) != 0) {\n            (**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x41))(*(int *)(iVar2 + 0x38));\n            iVar2 = puVar3[1];\n          }\n          *(undefined4 *)(iVar2 + 4) = *puVar3;\n          *(undefined1 *)((int)puVar3 + 10) = 1;\n        }\n        puVar3 = (undefined4 *)puVar3[6];\n      } while (puVar3 != (undefined4 *)0x0);\n      return;\n    }\n    iVar2 = puVar1[1];\n  }" { (expression_statement "iVar2 = (**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x45))(*(int *)(iVar2 + 0x38));" (assignment_expression "iVar2 = (**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x45))(*(int *)(iVar2 + 0x38))" identifier = (call_expression "(**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x45))(*(int *)(iVar2 + 0x38))" (parenthesized_expression "(**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x45))" ( (pointer_expression "**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x45)" * (pointer_expression "*(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x45)" * (cast_expression "(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x45)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x45)" ( (binary_expression "BYTE_ARRAY_00175fd5 + unaff_EDI + 0x45" (binary_expression "BYTE_ARRAY_00175fd5 + unaff_EDI" identifier + identifier) + number_literal) ))))) )) (argument_list "(*(int *)(iVar2 + 0x38))" ( (pointer_expression "*(int *)(iVar2 + 0x38)" * (cast_expression "(int *)(iVar2 + 0x38)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x38)" ( (binary_expression "iVar2 + 0x38" identifier + number_literal) )))) )))) ;) (if_statement "if (iVar2 != 0) {\n      for (iVar2 = puVar1[6]; iVar2 != 0; iVar2 = *(int *)(iVar2 + 0x18)) {\n        while (*(char *)(iVar2 + 10) != '\0') {\n          FUN_000453f0();\n          iVar2 = *(int *)(iVar2 + 0x18);\n          if (iVar2 == 0) goto LAB_00045471;\n        }\n      }\nLAB_00045471:\n      iVar2 = puVar1[1];\n      if (*(int *)(iVar2 + 0x38) != 0) {\n        (**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x41))(*(int *)(iVar2 + 0x38));\n        iVar2 = puVar1[1];\n      }\n      *(undefined4 *)(iVar2 + 4) = *puVar1;\n      puVar3 = (undefined4 *)puVar1[6];\n      *(undefined1 *)((int)puVar1 + 10) = 1;\n      if (puVar3 == (undefined4 *)0x0) {\n        return;\n      }\n      do {\n        if (puVar3[3] != 0) {\n          iVar2 = puVar3[1];\n          if (*(int *)(iVar2 + 0x38) != 0) {\n            (**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x41))(*(int *)(iVar2 + 0x38));\n            iVar2 = puVar3[1];\n          }\n          *(undefined4 *)(iVar2 + 4) = *puVar3;\n          *(undefined1 *)((int)puVar3 + 10) = 1;\n        }\n        puVar3 = (undefined4 *)puVar3[6];\n      } while (puVar3 != (undefined4 *)0x0);\n      return;\n    }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n      for (iVar2 = puVar1[6]; iVar2 != 0; iVar2 = *(int *)(iVar2 + 0x18)) {\n        while (*(char *)(iVar2 + 10) != '\0') {\n          FUN_000453f0();\n          iVar2 = *(int *)(iVar2 + 0x18);\n          if (iVar2 == 0) goto LAB_00045471;\n        }\n      }\nLAB_00045471:\n      iVar2 = puVar1[1];\n      if (*(int *)(iVar2 + 0x38) != 0) {\n        (**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x41))(*(int *)(iVar2 + 0x38));\n        iVar2 = puVar1[1];\n      }\n      *(undefined4 *)(iVar2 + 4) = *puVar1;\n      puVar3 = (undefined4 *)puVar1[6];\n      *(undefined1 *)((int)puVar1 + 10) = 1;\n      if (puVar3 == (undefined4 *)0x0) {\n        return;\n      }\n      do {\n        if (puVar3[3] != 0) {\n          iVar2 = puVar3[1];\n          if (*(int *)(iVar2 + 0x38) != 0) {\n            (**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x41))(*(int *)(iVar2 + 0x38));\n            iVar2 = puVar3[1];\n          }\n          *(undefined4 *)(iVar2 + 4) = *puVar3;\n          *(undefined1 *)((int)puVar3 + 10) = 1;\n        }\n        puVar3 = (undefined4 *)puVar3[6];\n      } while (puVar3 != (undefined4 *)0x0);\n      return;\n    }" { (for_statement "for (iVar2 = puVar1[6]; iVar2 != 0; iVar2 = *(int *)(iVar2 + 0x18)) {\n        while (*(char *)(iVar2 + 10) != '\0') {\n          FUN_000453f0();\n          iVar2 = *(int *)(iVar2 + 0x18);\n          if (iVar2 == 0) goto LAB_00045471;\n        }\n      }" for ( (assignment_expression "iVar2 = puVar1[6]" identifier = (subscript_expression "puVar1[6]" identifier [ number_literal ])) ; (binary_expression "iVar2 != 0" identifier != number_literal) ; (assignment_expression "iVar2 = *(int *)(iVar2 + 0x18)" identifier = (pointer_expression "*(int *)(iVar2 + 0x18)" * (cast_expression "(int *)(iVar2 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x18)" ( (binary_expression "iVar2 + 0x18" identifier + number_literal) ))))) ) (compound_statement "{\n        while (*(char *)(iVar2 + 10) != '\0') {\n          FUN_000453f0();\n          iVar2 = *(int *)(iVar2 + 0x18);\n          if (iVar2 == 0) goto LAB_00045471;\n        }\n      }" { (while_statement "while (*(char *)(iVar2 + 10) != '\0') {\n          FUN_000453f0();\n          iVar2 = *(int *)(iVar2 + 0x18);\n          if (iVar2 == 0) goto LAB_00045471;\n        }" while (parenthesized_expression "(*(char *)(iVar2 + 10) != '\0')" ( (binary_expression "*(char *)(iVar2 + 10) != '\0'" (pointer_expression "*(char *)(iVar2 + 10)" * (cast_expression "(char *)(iVar2 + 10)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 10)" ( (binary_expression "iVar2 + 10" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n          FUN_000453f0();\n          iVar2 = *(int *)(iVar2 + 0x18);\n          if (iVar2 == 0) goto LAB_00045471;\n        }" { (expression_statement "FUN_000453f0();" (call_expression "FUN_000453f0()" identifier (argument_list "()" ( ))) ;) (expression_statement "iVar2 = *(int *)(iVar2 + 0x18);" (assignment_expression "iVar2 = *(int *)(iVar2 + 0x18)" identifier = (pointer_expression "*(int *)(iVar2 + 0x18)" * (cast_expression "(int *)(iVar2 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x18)" ( (binary_expression "iVar2 + 0x18" identifier + number_literal) ))))) ;) (if_statement "if (iVar2 == 0) goto LAB_00045471;" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00045471;" goto statement_identifier ;)) })) })) (labeled_statement "LAB_00045471:\n      iVar2 = puVar1[1];" statement_identifier : (expression_statement "iVar2 = puVar1[1];" (assignment_expression "iVar2 = puVar1[1]" identifier = (subscript_expression "puVar1[1]" identifier [ number_literal ])) ;)) (if_statement "if (*(int *)(iVar2 + 0x38) != 0) {\n        (**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x41))(*(int *)(iVar2 + 0x38));\n        iVar2 = puVar1[1];\n      }" if (parenthesized_expression "(*(int *)(iVar2 + 0x38) != 0)" ( (binary_expression "*(int *)(iVar2 + 0x38) != 0" (pointer_expression "*(int *)(iVar2 + 0x38)" * (cast_expression "(int *)(iVar2 + 0x38)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x38)" ( (binary_expression "iVar2 + 0x38" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n        (**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x41))(*(int *)(iVar2 + 0x38));\n        iVar2 = puVar1[1];\n      }" { (expression_statement "(**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x41))(*(int *)(iVar2 + 0x38));" (call_expression "(**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x41))(*(int *)(iVar2 + 0x38))" (parenthesized_expression "(**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x41))" ( (pointer_expression "**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x41)" * (pointer_expression "*(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x41)" * (cast_expression "(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x41)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x41)" ( (binary_expression "BYTE_ARRAY_00175fd5 + unaff_EDI + 0x41" (binary_expression "BYTE_ARRAY_00175fd5 + unaff_EDI" identifier + identifier) + number_literal) ))))) )) (argument_list "(*(int *)(iVar2 + 0x38))" ( (pointer_expression "*(int *)(iVar2 + 0x38)" * (cast_expression "(int *)(iVar2 + 0x38)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x38)" ( (binary_expression "iVar2 + 0x38" identifier + number_literal) )))) ))) ;) (expression_statement "iVar2 = puVar1[1];" (assignment_expression "iVar2 = puVar1[1]" identifier = (subscript_expression "puVar1[1]" identifier [ number_literal ])) ;) })) (expression_statement "*(undefined4 *)(iVar2 + 4) = *puVar1;" (assignment_expression "*(undefined4 *)(iVar2 + 4) = *puVar1" (pointer_expression "*(undefined4 *)(iVar2 + 4)" * (cast_expression "(undefined4 *)(iVar2 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 4)" ( (binary_expression "iVar2 + 4" identifier + number_literal) )))) = (pointer_expression "*puVar1" * identifier)) ;) (expression_statement "puVar3 = (undefined4 *)puVar1[6];" (assignment_expression "puVar3 = (undefined4 *)puVar1[6]" identifier = (cast_expression "(undefined4 *)puVar1[6]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar1[6]" identifier [ number_literal ]))) ;) (expression_statement "*(undefined1 *)((int)puVar1 + 10) = 1;" (assignment_expression "*(undefined1 *)((int)puVar1 + 10) = 1" (pointer_expression "*(undefined1 *)((int)puVar1 + 10)" * (cast_expression "(undefined1 *)((int)puVar1 + 10)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar1 + 10)" ( (binary_expression "(int)puVar1 + 10" (cast_expression "(int)puVar1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (if_statement "if (puVar3 == (undefined4 *)0x0) {\n        return;\n      }" if (parenthesized_expression "(puVar3 == (undefined4 *)0x0)" ( (binary_expression "puVar3 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        return;\n      }" { (return_statement "return;" return ;) })) (do_statement "do {\n        if (puVar3[3] != 0) {\n          iVar2 = puVar3[1];\n          if (*(int *)(iVar2 + 0x38) != 0) {\n            (**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x41))(*(int *)(iVar2 + 0x38));\n            iVar2 = puVar3[1];\n          }\n          *(undefined4 *)(iVar2 + 4) = *puVar3;\n          *(undefined1 *)((int)puVar3 + 10) = 1;\n        }\n        puVar3 = (undefined4 *)puVar3[6];\n      } while (puVar3 != (undefined4 *)0x0);" do (compound_statement "{\n        if (puVar3[3] != 0) {\n          iVar2 = puVar3[1];\n          if (*(int *)(iVar2 + 0x38) != 0) {\n            (**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x41))(*(int *)(iVar2 + 0x38));\n            iVar2 = puVar3[1];\n          }\n          *(undefined4 *)(iVar2 + 4) = *puVar3;\n          *(undefined1 *)((int)puVar3 + 10) = 1;\n        }\n        puVar3 = (undefined4 *)puVar3[6];\n      }" { (if_statement "if (puVar3[3] != 0) {\n          iVar2 = puVar3[1];\n          if (*(int *)(iVar2 + 0x38) != 0) {\n            (**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x41))(*(int *)(iVar2 + 0x38));\n            iVar2 = puVar3[1];\n          }\n          *(undefined4 *)(iVar2 + 4) = *puVar3;\n          *(undefined1 *)((int)puVar3 + 10) = 1;\n        }" if (parenthesized_expression "(puVar3[3] != 0)" ( (binary_expression "puVar3[3] != 0" (subscript_expression "puVar3[3]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n          iVar2 = puVar3[1];\n          if (*(int *)(iVar2 + 0x38) != 0) {\n            (**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x41))(*(int *)(iVar2 + 0x38));\n            iVar2 = puVar3[1];\n          }\n          *(undefined4 *)(iVar2 + 4) = *puVar3;\n          *(undefined1 *)((int)puVar3 + 10) = 1;\n        }" { (expression_statement "iVar2 = puVar3[1];" (assignment_expression "iVar2 = puVar3[1]" identifier = (subscript_expression "puVar3[1]" identifier [ number_literal ])) ;) (if_statement "if (*(int *)(iVar2 + 0x38) != 0) {\n            (**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x41))(*(int *)(iVar2 + 0x38));\n            iVar2 = puVar3[1];\n          }" if (parenthesized_expression "(*(int *)(iVar2 + 0x38) != 0)" ( (binary_expression "*(int *)(iVar2 + 0x38) != 0" (pointer_expression "*(int *)(iVar2 + 0x38)" * (cast_expression "(int *)(iVar2 + 0x38)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x38)" ( (binary_expression "iVar2 + 0x38" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n            (**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x41))(*(int *)(iVar2 + 0x38));\n            iVar2 = puVar3[1];\n          }" { (expression_statement "(**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x41))(*(int *)(iVar2 + 0x38));" (call_expression "(**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x41))(*(int *)(iVar2 + 0x38))" (parenthesized_expression "(**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x41))" ( (pointer_expression "**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x41)" * (pointer_expression "*(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x41)" * (cast_expression "(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x41)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x41)" ( (binary_expression "BYTE_ARRAY_00175fd5 + unaff_EDI + 0x41" (binary_expression "BYTE_ARRAY_00175fd5 + unaff_EDI" identifier + identifier) + number_literal) ))))) )) (argument_list "(*(int *)(iVar2 + 0x38))" ( (pointer_expression "*(int *)(iVar2 + 0x38)" * (cast_expression "(int *)(iVar2 + 0x38)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x38)" ( (binary_expression "iVar2 + 0x38" identifier + number_literal) )))) ))) ;) (expression_statement "iVar2 = puVar3[1];" (assignment_expression "iVar2 = puVar3[1]" identifier = (subscript_expression "puVar3[1]" identifier [ number_literal ])) ;) })) (expression_statement "*(undefined4 *)(iVar2 + 4) = *puVar3;" (assignment_expression "*(undefined4 *)(iVar2 + 4) = *puVar3" (pointer_expression "*(undefined4 *)(iVar2 + 4)" * (cast_expression "(undefined4 *)(iVar2 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 4)" ( (binary_expression "iVar2 + 4" identifier + number_literal) )))) = (pointer_expression "*puVar3" * identifier)) ;) (expression_statement "*(undefined1 *)((int)puVar3 + 10) = 1;" (assignment_expression "*(undefined1 *)((int)puVar3 + 10) = 1" (pointer_expression "*(undefined1 *)((int)puVar3 + 10)" * (cast_expression "(undefined1 *)((int)puVar3 + 10)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar3 + 10)" ( (binary_expression "(int)puVar3 + 10" (cast_expression "(int)puVar3" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) })) (expression_statement "puVar3 = (undefined4 *)puVar3[6];" (assignment_expression "puVar3 = (undefined4 *)puVar3[6]" identifier = (cast_expression "(undefined4 *)puVar3[6]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar3[6]" identifier [ number_literal ]))) ;) }) while (parenthesized_expression "(puVar3 != (undefined4 *)0x0)" ( (binary_expression "puVar3 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) (return_statement "return;" return ;) })) (expression_statement "iVar2 = puVar1[1];" (assignment_expression "iVar2 = puVar1[1]" identifier = (subscript_expression "puVar1[1]" identifier [ number_literal ])) ;) })) (expression_statement "*(undefined4 *)(iVar2 + 4) = *puVar1;" (assignment_expression "*(undefined4 *)(iVar2 + 4) = *puVar1" (pointer_expression "*(undefined4 *)(iVar2 + 4)" * (cast_expression "(undefined4 *)(iVar2 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 4)" ( (binary_expression "iVar2 + 4" identifier + number_literal) )))) = (pointer_expression "*puVar1" * identifier)) ;) (expression_statement "*(undefined1 *)((int)puVar1 + 10) = 1;" (assignment_expression "*(undefined1 *)((int)puVar1 + 10) = 1" (pointer_expression "*(undefined1 *)((int)puVar1 + 10)" * (cast_expression "(undefined1 *)((int)puVar1 + 10)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar1 + 10)" ( (binary_expression "(int)puVar1 + 10" (cast_expression "(int)puVar1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit "void btreeLockCarefully(Btree *p)\n\n{\n  undefined4 *puVar1;\n  int iVar2;\n  undefined4 *puVar3;\n  int unaff_EDI;\n  \n  puVar1 = (undefined4 *)__x86_get_pc_thunk_di();\n  iVar2 = puVar1[1];\n  if (*(int *)(iVar2 + 0x38) != 0) {\n    iVar2 = (**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x45))(*(int *)(iVar2 + 0x38));\n    if (iVar2 != 0) {\n      for (iVar2 = puVar1[6]; iVar2 != 0; iVar2 = *(int *)(iVar2 + 0x18)) {\n        while (*(char *)(iVar2 + 10) != '\0') {\n          unlockBtreeMutex(*(Btree **)(iVar2 + 4),(Btree *)(iVar2 + 10));\n          iVar2 = *(int *)(iVar2 + 0x18);\n          if (iVar2 == 0) goto LAB_00045471;\n        }\n      }\nLAB_00045471:\n      iVar2 = puVar1[1];\n      if (*(int *)(iVar2 + 0x38) != 0) {\n        (**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x41))(*(int *)(iVar2 + 0x38));\n        iVar2 = puVar1[1];\n      }\n      *(undefined4 *)(iVar2 + 4) = *puVar1;\n      puVar3 = (undefined4 *)puVar1[6];\n      *(undefined1 *)((int)puVar1 + 10) = 1;\n      if (puVar3 == (undefined4 *)0x0) {\n        return;\n      }\n      do {\n        if (puVar3[3] != 0) {\n          iVar2 = puVar3[1];\n          if (*(int *)(iVar2 + 0x38) != 0) {\n            (**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x41))(*(int *)(iVar2 + 0x38));\n            iVar2 = puVar3[1];\n          }\n          *(undefined4 *)(iVar2 + 4) = *puVar3;\n          *(undefined1 *)((int)puVar3 + 10) = 1;\n        }\n        puVar3 = (undefined4 *)puVar3[6];\n      } while (puVar3 != (undefined4 *)0x0);\n      return;\n    }\n    iVar2 = puVar1[1];\n  }\n  *(undefined4 *)(iVar2 + 4) = *puVar1;\n  *(undefined1 *)((int)puVar1 + 10) = 1;\n  return;\n}\n\n" (function_definition "void btreeLockCarefully(Btree *p)\n\n{\n  undefined4 *puVar1;\n  int iVar2;\n  undefined4 *puVar3;\n  int unaff_EDI;\n  \n  puVar1 = (undefined4 *)__x86_get_pc_thunk_di();\n  iVar2 = puVar1[1];\n  if (*(int *)(iVar2 + 0x38) != 0) {\n    iVar2 = (**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x45))(*(int *)(iVar2 + 0x38));\n    if (iVar2 != 0) {\n      for (iVar2 = puVar1[6]; iVar2 != 0; iVar2 = *(int *)(iVar2 + 0x18)) {\n        while (*(char *)(iVar2 + 10) != '\0') {\n          unlockBtreeMutex(*(Btree **)(iVar2 + 4),(Btree *)(iVar2 + 10));\n          iVar2 = *(int *)(iVar2 + 0x18);\n          if (iVar2 == 0) goto LAB_00045471;\n        }\n      }\nLAB_00045471:\n      iVar2 = puVar1[1];\n      if (*(int *)(iVar2 + 0x38) != 0) {\n        (**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x41))(*(int *)(iVar2 + 0x38));\n        iVar2 = puVar1[1];\n      }\n      *(undefined4 *)(iVar2 + 4) = *puVar1;\n      puVar3 = (undefined4 *)puVar1[6];\n      *(undefined1 *)((int)puVar1 + 10) = 1;\n      if (puVar3 == (undefined4 *)0x0) {\n        return;\n      }\n      do {\n        if (puVar3[3] != 0) {\n          iVar2 = puVar3[1];\n          if (*(int *)(iVar2 + 0x38) != 0) {\n            (**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x41))(*(int *)(iVar2 + 0x38));\n            iVar2 = puVar3[1];\n          }\n          *(undefined4 *)(iVar2 + 4) = *puVar3;\n          *(undefined1 *)((int)puVar3 + 10) = 1;\n        }\n        puVar3 = (undefined4 *)puVar3[6];\n      } while (puVar3 != (undefined4 *)0x0);\n      return;\n    }\n    iVar2 = puVar1[1];\n  }\n  *(undefined4 *)(iVar2 + 4) = *puVar1;\n  *(undefined1 *)((int)puVar1 + 10) = 1;\n  return;\n}" primitive_type (function_declarator "btreeLockCarefully(Btree *p)" identifier (parameter_list "(Btree *p)" ( (parameter_declaration "Btree *p" type_identifier (pointer_declarator "*p" * identifier)) ))) (compound_statement "{\n  undefined4 *puVar1;\n  int iVar2;\n  undefined4 *puVar3;\n  int unaff_EDI;\n  \n  puVar1 = (undefined4 *)__x86_get_pc_thunk_di();\n  iVar2 = puVar1[1];\n  if (*(int *)(iVar2 + 0x38) != 0) {\n    iVar2 = (**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x45))(*(int *)(iVar2 + 0x38));\n    if (iVar2 != 0) {\n      for (iVar2 = puVar1[6]; iVar2 != 0; iVar2 = *(int *)(iVar2 + 0x18)) {\n        while (*(char *)(iVar2 + 10) != '\0') {\n          unlockBtreeMutex(*(Btree **)(iVar2 + 4),(Btree *)(iVar2 + 10));\n          iVar2 = *(int *)(iVar2 + 0x18);\n          if (iVar2 == 0) goto LAB_00045471;\n        }\n      }\nLAB_00045471:\n      iVar2 = puVar1[1];\n      if (*(int *)(iVar2 + 0x38) != 0) {\n        (**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x41))(*(int *)(iVar2 + 0x38));\n        iVar2 = puVar1[1];\n      }\n      *(undefined4 *)(iVar2 + 4) = *puVar1;\n      puVar3 = (undefined4 *)puVar1[6];\n      *(undefined1 *)((int)puVar1 + 10) = 1;\n      if (puVar3 == (undefined4 *)0x0) {\n        return;\n      }\n      do {\n        if (puVar3[3] != 0) {\n          iVar2 = puVar3[1];\n          if (*(int *)(iVar2 + 0x38) != 0) {\n            (**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x41))(*(int *)(iVar2 + 0x38));\n            iVar2 = puVar3[1];\n          }\n          *(undefined4 *)(iVar2 + 4) = *puVar3;\n          *(undefined1 *)((int)puVar3 + 10) = 1;\n        }\n        puVar3 = (undefined4 *)puVar3[6];\n      } while (puVar3 != (undefined4 *)0x0);\n      return;\n    }\n    iVar2 = puVar1[1];\n  }\n  *(undefined4 *)(iVar2 + 4) = *puVar1;\n  *(undefined1 *)((int)puVar1 + 10) = 1;\n  return;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined4 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "int unaff_EDI;" primitive_type identifier ;) (expression_statement "puVar1 = (undefined4 *)__x86_get_pc_thunk_di();" (assignment_expression "puVar1 = (undefined4 *)__x86_get_pc_thunk_di()" identifier = (cast_expression "(undefined4 *)__x86_get_pc_thunk_di()" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "__x86_get_pc_thunk_di()" identifier (argument_list "()" ( ))))) ;) (expression_statement "iVar2 = puVar1[1];" (assignment_expression "iVar2 = puVar1[1]" identifier = (subscript_expression "puVar1[1]" identifier [ number_literal ])) ;) (if_statement "if (*(int *)(iVar2 + 0x38) != 0) {\n    iVar2 = (**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x45))(*(int *)(iVar2 + 0x38));\n    if (iVar2 != 0) {\n      for (iVar2 = puVar1[6]; iVar2 != 0; iVar2 = *(int *)(iVar2 + 0x18)) {\n        while (*(char *)(iVar2 + 10) != '\0') {\n          unlockBtreeMutex(*(Btree **)(iVar2 + 4),(Btree *)(iVar2 + 10));\n          iVar2 = *(int *)(iVar2 + 0x18);\n          if (iVar2 == 0) goto LAB_00045471;\n        }\n      }\nLAB_00045471:\n      iVar2 = puVar1[1];\n      if (*(int *)(iVar2 + 0x38) != 0) {\n        (**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x41))(*(int *)(iVar2 + 0x38));\n        iVar2 = puVar1[1];\n      }\n      *(undefined4 *)(iVar2 + 4) = *puVar1;\n      puVar3 = (undefined4 *)puVar1[6];\n      *(undefined1 *)((int)puVar1 + 10) = 1;\n      if (puVar3 == (undefined4 *)0x0) {\n        return;\n      }\n      do {\n        if (puVar3[3] != 0) {\n          iVar2 = puVar3[1];\n          if (*(int *)(iVar2 + 0x38) != 0) {\n            (**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x41))(*(int *)(iVar2 + 0x38));\n            iVar2 = puVar3[1];\n          }\n          *(undefined4 *)(iVar2 + 4) = *puVar3;\n          *(undefined1 *)((int)puVar3 + 10) = 1;\n        }\n        puVar3 = (undefined4 *)puVar3[6];\n      } while (puVar3 != (undefined4 *)0x0);\n      return;\n    }\n    iVar2 = puVar1[1];\n  }" if (parenthesized_expression "(*(int *)(iVar2 + 0x38) != 0)" ( (binary_expression "*(int *)(iVar2 + 0x38) != 0" (pointer_expression "*(int *)(iVar2 + 0x38)" * (cast_expression "(int *)(iVar2 + 0x38)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x38)" ( (binary_expression "iVar2 + 0x38" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    iVar2 = (**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x45))(*(int *)(iVar2 + 0x38));\n    if (iVar2 != 0) {\n      for (iVar2 = puVar1[6]; iVar2 != 0; iVar2 = *(int *)(iVar2 + 0x18)) {\n        while (*(char *)(iVar2 + 10) != '\0') {\n          unlockBtreeMutex(*(Btree **)(iVar2 + 4),(Btree *)(iVar2 + 10));\n          iVar2 = *(int *)(iVar2 + 0x18);\n          if (iVar2 == 0) goto LAB_00045471;\n        }\n      }\nLAB_00045471:\n      iVar2 = puVar1[1];\n      if (*(int *)(iVar2 + 0x38) != 0) {\n        (**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x41))(*(int *)(iVar2 + 0x38));\n        iVar2 = puVar1[1];\n      }\n      *(undefined4 *)(iVar2 + 4) = *puVar1;\n      puVar3 = (undefined4 *)puVar1[6];\n      *(undefined1 *)((int)puVar1 + 10) = 1;\n      if (puVar3 == (undefined4 *)0x0) {\n        return;\n      }\n      do {\n        if (puVar3[3] != 0) {\n          iVar2 = puVar3[1];\n          if (*(int *)(iVar2 + 0x38) != 0) {\n            (**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x41))(*(int *)(iVar2 + 0x38));\n            iVar2 = puVar3[1];\n          }\n          *(undefined4 *)(iVar2 + 4) = *puVar3;\n          *(undefined1 *)((int)puVar3 + 10) = 1;\n        }\n        puVar3 = (undefined4 *)puVar3[6];\n      } while (puVar3 != (undefined4 *)0x0);\n      return;\n    }\n    iVar2 = puVar1[1];\n  }" { (expression_statement "iVar2 = (**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x45))(*(int *)(iVar2 + 0x38));" (assignment_expression "iVar2 = (**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x45))(*(int *)(iVar2 + 0x38))" identifier = (call_expression "(**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x45))(*(int *)(iVar2 + 0x38))" (parenthesized_expression "(**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x45))" ( (pointer_expression "**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x45)" * (pointer_expression "*(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x45)" * (cast_expression "(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x45)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x45)" ( (binary_expression "BYTE_ARRAY_00175fd5 + unaff_EDI + 0x45" (binary_expression "BYTE_ARRAY_00175fd5 + unaff_EDI" identifier + identifier) + number_literal) ))))) )) (argument_list "(*(int *)(iVar2 + 0x38))" ( (pointer_expression "*(int *)(iVar2 + 0x38)" * (cast_expression "(int *)(iVar2 + 0x38)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x38)" ( (binary_expression "iVar2 + 0x38" identifier + number_literal) )))) )))) ;) (if_statement "if (iVar2 != 0) {\n      for (iVar2 = puVar1[6]; iVar2 != 0; iVar2 = *(int *)(iVar2 + 0x18)) {\n        while (*(char *)(iVar2 + 10) != '\0') {\n          unlockBtreeMutex(*(Btree **)(iVar2 + 4),(Btree *)(iVar2 + 10));\n          iVar2 = *(int *)(iVar2 + 0x18);\n          if (iVar2 == 0) goto LAB_00045471;\n        }\n      }\nLAB_00045471:\n      iVar2 = puVar1[1];\n      if (*(int *)(iVar2 + 0x38) != 0) {\n        (**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x41))(*(int *)(iVar2 + 0x38));\n        iVar2 = puVar1[1];\n      }\n      *(undefined4 *)(iVar2 + 4) = *puVar1;\n      puVar3 = (undefined4 *)puVar1[6];\n      *(undefined1 *)((int)puVar1 + 10) = 1;\n      if (puVar3 == (undefined4 *)0x0) {\n        return;\n      }\n      do {\n        if (puVar3[3] != 0) {\n          iVar2 = puVar3[1];\n          if (*(int *)(iVar2 + 0x38) != 0) {\n            (**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x41))(*(int *)(iVar2 + 0x38));\n            iVar2 = puVar3[1];\n          }\n          *(undefined4 *)(iVar2 + 4) = *puVar3;\n          *(undefined1 *)((int)puVar3 + 10) = 1;\n        }\n        puVar3 = (undefined4 *)puVar3[6];\n      } while (puVar3 != (undefined4 *)0x0);\n      return;\n    }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n      for (iVar2 = puVar1[6]; iVar2 != 0; iVar2 = *(int *)(iVar2 + 0x18)) {\n        while (*(char *)(iVar2 + 10) != '\0') {\n          unlockBtreeMutex(*(Btree **)(iVar2 + 4),(Btree *)(iVar2 + 10));\n          iVar2 = *(int *)(iVar2 + 0x18);\n          if (iVar2 == 0) goto LAB_00045471;\n        }\n      }\nLAB_00045471:\n      iVar2 = puVar1[1];\n      if (*(int *)(iVar2 + 0x38) != 0) {\n        (**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x41))(*(int *)(iVar2 + 0x38));\n        iVar2 = puVar1[1];\n      }\n      *(undefined4 *)(iVar2 + 4) = *puVar1;\n      puVar3 = (undefined4 *)puVar1[6];\n      *(undefined1 *)((int)puVar1 + 10) = 1;\n      if (puVar3 == (undefined4 *)0x0) {\n        return;\n      }\n      do {\n        if (puVar3[3] != 0) {\n          iVar2 = puVar3[1];\n          if (*(int *)(iVar2 + 0x38) != 0) {\n            (**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x41))(*(int *)(iVar2 + 0x38));\n            iVar2 = puVar3[1];\n          }\n          *(undefined4 *)(iVar2 + 4) = *puVar3;\n          *(undefined1 *)((int)puVar3 + 10) = 1;\n        }\n        puVar3 = (undefined4 *)puVar3[6];\n      } while (puVar3 != (undefined4 *)0x0);\n      return;\n    }" { (for_statement "for (iVar2 = puVar1[6]; iVar2 != 0; iVar2 = *(int *)(iVar2 + 0x18)) {\n        while (*(char *)(iVar2 + 10) != '\0') {\n          unlockBtreeMutex(*(Btree **)(iVar2 + 4),(Btree *)(iVar2 + 10));\n          iVar2 = *(int *)(iVar2 + 0x18);\n          if (iVar2 == 0) goto LAB_00045471;\n        }\n      }" for ( (assignment_expression "iVar2 = puVar1[6]" identifier = (subscript_expression "puVar1[6]" identifier [ number_literal ])) ; (binary_expression "iVar2 != 0" identifier != number_literal) ; (assignment_expression "iVar2 = *(int *)(iVar2 + 0x18)" identifier = (pointer_expression "*(int *)(iVar2 + 0x18)" * (cast_expression "(int *)(iVar2 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x18)" ( (binary_expression "iVar2 + 0x18" identifier + number_literal) ))))) ) (compound_statement "{\n        while (*(char *)(iVar2 + 10) != '\0') {\n          unlockBtreeMutex(*(Btree **)(iVar2 + 4),(Btree *)(iVar2 + 10));\n          iVar2 = *(int *)(iVar2 + 0x18);\n          if (iVar2 == 0) goto LAB_00045471;\n        }\n      }" { (while_statement "while (*(char *)(iVar2 + 10) != '\0') {\n          unlockBtreeMutex(*(Btree **)(iVar2 + 4),(Btree *)(iVar2 + 10));\n          iVar2 = *(int *)(iVar2 + 0x18);\n          if (iVar2 == 0) goto LAB_00045471;\n        }" while (parenthesized_expression "(*(char *)(iVar2 + 10) != '\0')" ( (binary_expression "*(char *)(iVar2 + 10) != '\0'" (pointer_expression "*(char *)(iVar2 + 10)" * (cast_expression "(char *)(iVar2 + 10)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 10)" ( (binary_expression "iVar2 + 10" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n          unlockBtreeMutex(*(Btree **)(iVar2 + 4),(Btree *)(iVar2 + 10));\n          iVar2 = *(int *)(iVar2 + 0x18);\n          if (iVar2 == 0) goto LAB_00045471;\n        }" { (expression_statement "unlockBtreeMutex(*(Btree **)(iVar2 + 4),(Btree *)(iVar2 + 10));" (call_expression "unlockBtreeMutex(*(Btree **)(iVar2 + 4),(Btree *)(iVar2 + 10))" identifier (argument_list "(*(Btree **)(iVar2 + 4),(Btree *)(iVar2 + 10))" ( (pointer_expression "*(Btree **)(iVar2 + 4)" * (cast_expression "(Btree **)(iVar2 + 4)" ( (type_descriptor "Btree **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar2 + 4)" ( (binary_expression "iVar2 + 4" identifier + number_literal) )))) , (cast_expression "(Btree *)(iVar2 + 10)" ( (type_descriptor "Btree *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 10)" ( (binary_expression "iVar2 + 10" identifier + number_literal) ))) ))) ;) (expression_statement "iVar2 = *(int *)(iVar2 + 0x18);" (assignment_expression "iVar2 = *(int *)(iVar2 + 0x18)" identifier = (pointer_expression "*(int *)(iVar2 + 0x18)" * (cast_expression "(int *)(iVar2 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x18)" ( (binary_expression "iVar2 + 0x18" identifier + number_literal) ))))) ;) (if_statement "if (iVar2 == 0) goto LAB_00045471;" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00045471;" goto statement_identifier ;)) })) })) (labeled_statement "LAB_00045471:\n      iVar2 = puVar1[1];" statement_identifier : (expression_statement "iVar2 = puVar1[1];" (assignment_expression "iVar2 = puVar1[1]" identifier = (subscript_expression "puVar1[1]" identifier [ number_literal ])) ;)) (if_statement "if (*(int *)(iVar2 + 0x38) != 0) {\n        (**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x41))(*(int *)(iVar2 + 0x38));\n        iVar2 = puVar1[1];\n      }" if (parenthesized_expression "(*(int *)(iVar2 + 0x38) != 0)" ( (binary_expression "*(int *)(iVar2 + 0x38) != 0" (pointer_expression "*(int *)(iVar2 + 0x38)" * (cast_expression "(int *)(iVar2 + 0x38)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x38)" ( (binary_expression "iVar2 + 0x38" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n        (**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x41))(*(int *)(iVar2 + 0x38));\n        iVar2 = puVar1[1];\n      }" { (expression_statement "(**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x41))(*(int *)(iVar2 + 0x38));" (call_expression "(**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x41))(*(int *)(iVar2 + 0x38))" (parenthesized_expression "(**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x41))" ( (pointer_expression "**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x41)" * (pointer_expression "*(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x41)" * (cast_expression "(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x41)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x41)" ( (binary_expression "BYTE_ARRAY_00175fd5 + unaff_EDI + 0x41" (binary_expression "BYTE_ARRAY_00175fd5 + unaff_EDI" identifier + identifier) + number_literal) ))))) )) (argument_list "(*(int *)(iVar2 + 0x38))" ( (pointer_expression "*(int *)(iVar2 + 0x38)" * (cast_expression "(int *)(iVar2 + 0x38)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x38)" ( (binary_expression "iVar2 + 0x38" identifier + number_literal) )))) ))) ;) (expression_statement "iVar2 = puVar1[1];" (assignment_expression "iVar2 = puVar1[1]" identifier = (subscript_expression "puVar1[1]" identifier [ number_literal ])) ;) })) (expression_statement "*(undefined4 *)(iVar2 + 4) = *puVar1;" (assignment_expression "*(undefined4 *)(iVar2 + 4) = *puVar1" (pointer_expression "*(undefined4 *)(iVar2 + 4)" * (cast_expression "(undefined4 *)(iVar2 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 4)" ( (binary_expression "iVar2 + 4" identifier + number_literal) )))) = (pointer_expression "*puVar1" * identifier)) ;) (expression_statement "puVar3 = (undefined4 *)puVar1[6];" (assignment_expression "puVar3 = (undefined4 *)puVar1[6]" identifier = (cast_expression "(undefined4 *)puVar1[6]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar1[6]" identifier [ number_literal ]))) ;) (expression_statement "*(undefined1 *)((int)puVar1 + 10) = 1;" (assignment_expression "*(undefined1 *)((int)puVar1 + 10) = 1" (pointer_expression "*(undefined1 *)((int)puVar1 + 10)" * (cast_expression "(undefined1 *)((int)puVar1 + 10)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar1 + 10)" ( (binary_expression "(int)puVar1 + 10" (cast_expression "(int)puVar1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (if_statement "if (puVar3 == (undefined4 *)0x0) {\n        return;\n      }" if (parenthesized_expression "(puVar3 == (undefined4 *)0x0)" ( (binary_expression "puVar3 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        return;\n      }" { (return_statement "return;" return ;) })) (do_statement "do {\n        if (puVar3[3] != 0) {\n          iVar2 = puVar3[1];\n          if (*(int *)(iVar2 + 0x38) != 0) {\n            (**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x41))(*(int *)(iVar2 + 0x38));\n            iVar2 = puVar3[1];\n          }\n          *(undefined4 *)(iVar2 + 4) = *puVar3;\n          *(undefined1 *)((int)puVar3 + 10) = 1;\n        }\n        puVar3 = (undefined4 *)puVar3[6];\n      } while (puVar3 != (undefined4 *)0x0);" do (compound_statement "{\n        if (puVar3[3] != 0) {\n          iVar2 = puVar3[1];\n          if (*(int *)(iVar2 + 0x38) != 0) {\n            (**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x41))(*(int *)(iVar2 + 0x38));\n            iVar2 = puVar3[1];\n          }\n          *(undefined4 *)(iVar2 + 4) = *puVar3;\n          *(undefined1 *)((int)puVar3 + 10) = 1;\n        }\n        puVar3 = (undefined4 *)puVar3[6];\n      }" { (if_statement "if (puVar3[3] != 0) {\n          iVar2 = puVar3[1];\n          if (*(int *)(iVar2 + 0x38) != 0) {\n            (**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x41))(*(int *)(iVar2 + 0x38));\n            iVar2 = puVar3[1];\n          }\n          *(undefined4 *)(iVar2 + 4) = *puVar3;\n          *(undefined1 *)((int)puVar3 + 10) = 1;\n        }" if (parenthesized_expression "(puVar3[3] != 0)" ( (binary_expression "puVar3[3] != 0" (subscript_expression "puVar3[3]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n          iVar2 = puVar3[1];\n          if (*(int *)(iVar2 + 0x38) != 0) {\n            (**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x41))(*(int *)(iVar2 + 0x38));\n            iVar2 = puVar3[1];\n          }\n          *(undefined4 *)(iVar2 + 4) = *puVar3;\n          *(undefined1 *)((int)puVar3 + 10) = 1;\n        }" { (expression_statement "iVar2 = puVar3[1];" (assignment_expression "iVar2 = puVar3[1]" identifier = (subscript_expression "puVar3[1]" identifier [ number_literal ])) ;) (if_statement "if (*(int *)(iVar2 + 0x38) != 0) {\n            (**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x41))(*(int *)(iVar2 + 0x38));\n            iVar2 = puVar3[1];\n          }" if (parenthesized_expression "(*(int *)(iVar2 + 0x38) != 0)" ( (binary_expression "*(int *)(iVar2 + 0x38) != 0" (pointer_expression "*(int *)(iVar2 + 0x38)" * (cast_expression "(int *)(iVar2 + 0x38)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x38)" ( (binary_expression "iVar2 + 0x38" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n            (**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x41))(*(int *)(iVar2 + 0x38));\n            iVar2 = puVar3[1];\n          }" { (expression_statement "(**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x41))(*(int *)(iVar2 + 0x38));" (call_expression "(**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x41))(*(int *)(iVar2 + 0x38))" (parenthesized_expression "(**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x41))" ( (pointer_expression "**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x41)" * (pointer_expression "*(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x41)" * (cast_expression "(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x41)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x41)" ( (binary_expression "BYTE_ARRAY_00175fd5 + unaff_EDI + 0x41" (binary_expression "BYTE_ARRAY_00175fd5 + unaff_EDI" identifier + identifier) + number_literal) ))))) )) (argument_list "(*(int *)(iVar2 + 0x38))" ( (pointer_expression "*(int *)(iVar2 + 0x38)" * (cast_expression "(int *)(iVar2 + 0x38)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x38)" ( (binary_expression "iVar2 + 0x38" identifier + number_literal) )))) ))) ;) (expression_statement "iVar2 = puVar3[1];" (assignment_expression "iVar2 = puVar3[1]" identifier = (subscript_expression "puVar3[1]" identifier [ number_literal ])) ;) })) (expression_statement "*(undefined4 *)(iVar2 + 4) = *puVar3;" (assignment_expression "*(undefined4 *)(iVar2 + 4) = *puVar3" (pointer_expression "*(undefined4 *)(iVar2 + 4)" * (cast_expression "(undefined4 *)(iVar2 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 4)" ( (binary_expression "iVar2 + 4" identifier + number_literal) )))) = (pointer_expression "*puVar3" * identifier)) ;) (expression_statement "*(undefined1 *)((int)puVar3 + 10) = 1;" (assignment_expression "*(undefined1 *)((int)puVar3 + 10) = 1" (pointer_expression "*(undefined1 *)((int)puVar3 + 10)" * (cast_expression "(undefined1 *)((int)puVar3 + 10)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar3 + 10)" ( (binary_expression "(int)puVar3 + 10" (cast_expression "(int)puVar3" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) })) (expression_statement "puVar3 = (undefined4 *)puVar3[6];" (assignment_expression "puVar3 = (undefined4 *)puVar3[6]" identifier = (cast_expression "(undefined4 *)puVar3[6]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar3[6]" identifier [ number_literal ]))) ;) }) while (parenthesized_expression "(puVar3 != (undefined4 *)0x0)" ( (binary_expression "puVar3 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) (return_statement "return;" return ;) })) (expression_statement "iVar2 = puVar1[1];" (assignment_expression "iVar2 = puVar1[1]" identifier = (subscript_expression "puVar1[1]" identifier [ number_literal ])) ;) })) (expression_statement "*(undefined4 *)(iVar2 + 4) = *puVar1;" (assignment_expression "*(undefined4 *)(iVar2 + 4) = *puVar1" (pointer_expression "*(undefined4 *)(iVar2 + 4)" * (cast_expression "(undefined4 *)(iVar2 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 4)" ( (binary_expression "iVar2 + 4" identifier + number_literal) )))) = (pointer_expression "*puVar1" * identifier)) ;) (expression_statement "*(undefined1 *)((int)puVar1 + 10) = 1;" (assignment_expression "*(undefined1 *)((int)puVar1 + 10) = 1" (pointer_expression "*(undefined1 *)((int)puVar1 + 10)" * (cast_expression "(undefined1 *)((int)puVar1 + 10)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar1 + 10)" ( (binary_expression "(int)puVar1 + 10" (cast_expression "(int)puVar1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00045420(void)\n\n{\n  undefined4 *puVar1;\n  int iVar2;\n  undefined4 *puVar3;\n  int unaff_EDI;\n  \n  puVar1 = (undefined4 *)FUN_0003a401();\n  iVar2 = puVar1[1];\n  if (*(int *)(iVar2 + 0x38) != 0) {\n    iVar2 = (**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x45))(*(int *)(iVar2 + 0x38));\n    if (iVar2 != 0) {\n      for (iVar2 = puVar1[6]; iVar2 != 0; iVar2 = *(int *)(iVar2 + 0x18)) {\n        while (*(char *)(iVar2 + 10) != '\0') {\n          FUN_000453f0();\n          iVar2 = *(int *)(iVar2 + 0x18);\n          if (iVar2 == 0) goto LAB_00045471;\n        }\n      }\nLAB_00045471:\n      iVar2 = puVar1[1];\n      if (*(int *)(iVar2 + 0x38) != 0) {\n        (**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x41))(*(int *)(iVar2 + 0x38));\n        iVar2 = puVar1[1];\n      }\n      *(undefined4 *)(iVar2 + 4) = *puVar1;\n      puVar3 = (undefined4 *)puVar1[6];\n      *(undefined1 *)((int)puVar1 + 10) = 1;\n      if (puVar3 == (undefined4 *)0x0) {\n        return;\n      }\n      do {\n        if (puVar3[3] != 0) {\n          iVar2 = puVar3[1];\n          if (*(int *)(iVar2 + 0x38) != 0) {\n            (**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x41))(*(int *)(iVar2 + 0x38));\n            iVar2 = puVar3[1];\n          }\n          *(undefined4 *)(iVar2 + 4) = *puVar3;\n          *(undefined1 *)((int)puVar3 + 10) = 1;\n        }\n        puVar3 = (undefined4 *)puVar3[6];\n      } while (puVar3 != (undefined4 *)0x0);\n      return;\n    }\n    iVar2 = puVar1[1];\n  }\n  *(undefined4 *)(iVar2 + 4) = *puVar1;\n  *(undefined1 *)((int)puVar1 + 10) = 1;\n  return;\n}\n\n" (function_definition "void FUN_00045420(void)\n\n{\n  undefined4 *puVar1;\n  int iVar2;\n  undefined4 *puVar3;\n  int unaff_EDI;\n  \n  puVar1 = (undefined4 *)FUN_0003a401();\n  iVar2 = puVar1[1];\n  if (*(int *)(iVar2 + 0x38) != 0) {\n    iVar2 = (**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x45))(*(int *)(iVar2 + 0x38));\n    if (iVar2 != 0) {\n      for (iVar2 = puVar1[6]; iVar2 != 0; iVar2 = *(int *)(iVar2 + 0x18)) {\n        while (*(char *)(iVar2 + 10) != '\0') {\n          FUN_000453f0();\n          iVar2 = *(int *)(iVar2 + 0x18);\n          if (iVar2 == 0) goto LAB_00045471;\n        }\n      }\nLAB_00045471:\n      iVar2 = puVar1[1];\n      if (*(int *)(iVar2 + 0x38) != 0) {\n        (**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x41))(*(int *)(iVar2 + 0x38));\n        iVar2 = puVar1[1];\n      }\n      *(undefined4 *)(iVar2 + 4) = *puVar1;\n      puVar3 = (undefined4 *)puVar1[6];\n      *(undefined1 *)((int)puVar1 + 10) = 1;\n      if (puVar3 == (undefined4 *)0x0) {\n        return;\n      }\n      do {\n        if (puVar3[3] != 0) {\n          iVar2 = puVar3[1];\n          if (*(int *)(iVar2 + 0x38) != 0) {\n            (**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x41))(*(int *)(iVar2 + 0x38));\n            iVar2 = puVar3[1];\n          }\n          *(undefined4 *)(iVar2 + 4) = *puVar3;\n          *(undefined1 *)((int)puVar3 + 10) = 1;\n        }\n        puVar3 = (undefined4 *)puVar3[6];\n      } while (puVar3 != (undefined4 *)0x0);\n      return;\n    }\n    iVar2 = puVar1[1];\n  }\n  *(undefined4 *)(iVar2 + 4) = *puVar1;\n  *(undefined1 *)((int)puVar1 + 10) = 1;\n  return;\n}" primitive_type (function_declarator "FUN_00045420(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  undefined4 *puVar1;\n  int iVar2;\n  undefined4 *puVar3;\n  int unaff_EDI;\n  \n  puVar1 = (undefined4 *)FUN_0003a401();\n  iVar2 = puVar1[1];\n  if (*(int *)(iVar2 + 0x38) != 0) {\n    iVar2 = (**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x45))(*(int *)(iVar2 + 0x38));\n    if (iVar2 != 0) {\n      for (iVar2 = puVar1[6]; iVar2 != 0; iVar2 = *(int *)(iVar2 + 0x18)) {\n        while (*(char *)(iVar2 + 10) != '\0') {\n          FUN_000453f0();\n          iVar2 = *(int *)(iVar2 + 0x18);\n          if (iVar2 == 0) goto LAB_00045471;\n        }\n      }\nLAB_00045471:\n      iVar2 = puVar1[1];\n      if (*(int *)(iVar2 + 0x38) != 0) {\n        (**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x41))(*(int *)(iVar2 + 0x38));\n        iVar2 = puVar1[1];\n      }\n      *(undefined4 *)(iVar2 + 4) = *puVar1;\n      puVar3 = (undefined4 *)puVar1[6];\n      *(undefined1 *)((int)puVar1 + 10) = 1;\n      if (puVar3 == (undefined4 *)0x0) {\n        return;\n      }\n      do {\n        if (puVar3[3] != 0) {\n          iVar2 = puVar3[1];\n          if (*(int *)(iVar2 + 0x38) != 0) {\n            (**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x41))(*(int *)(iVar2 + 0x38));\n            iVar2 = puVar3[1];\n          }\n          *(undefined4 *)(iVar2 + 4) = *puVar3;\n          *(undefined1 *)((int)puVar3 + 10) = 1;\n        }\n        puVar3 = (undefined4 *)puVar3[6];\n      } while (puVar3 != (undefined4 *)0x0);\n      return;\n    }\n    iVar2 = puVar1[1];\n  }\n  *(undefined4 *)(iVar2 + 4) = *puVar1;\n  *(undefined1 *)((int)puVar1 + 10) = 1;\n  return;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined4 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "int unaff_EDI;" primitive_type identifier ;) (expression_statement "puVar1 = (undefined4 *)FUN_0003a401();" (assignment_expression "puVar1 = (undefined4 *)FUN_0003a401()" identifier = (cast_expression "(undefined4 *)FUN_0003a401()" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0003a401()" identifier (argument_list "()" ( ))))) ;) (expression_statement "iVar2 = puVar1[1];" (assignment_expression "iVar2 = puVar1[1]" identifier = (subscript_expression "puVar1[1]" identifier [ number_literal ])) ;) (if_statement "if (*(int *)(iVar2 + 0x38) != 0) {\n    iVar2 = (**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x45))(*(int *)(iVar2 + 0x38));\n    if (iVar2 != 0) {\n      for (iVar2 = puVar1[6]; iVar2 != 0; iVar2 = *(int *)(iVar2 + 0x18)) {\n        while (*(char *)(iVar2 + 10) != '\0') {\n          FUN_000453f0();\n          iVar2 = *(int *)(iVar2 + 0x18);\n          if (iVar2 == 0) goto LAB_00045471;\n        }\n      }\nLAB_00045471:\n      iVar2 = puVar1[1];\n      if (*(int *)(iVar2 + 0x38) != 0) {\n        (**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x41))(*(int *)(iVar2 + 0x38));\n        iVar2 = puVar1[1];\n      }\n      *(undefined4 *)(iVar2 + 4) = *puVar1;\n      puVar3 = (undefined4 *)puVar1[6];\n      *(undefined1 *)((int)puVar1 + 10) = 1;\n      if (puVar3 == (undefined4 *)0x0) {\n        return;\n      }\n      do {\n        if (puVar3[3] != 0) {\n          iVar2 = puVar3[1];\n          if (*(int *)(iVar2 + 0x38) != 0) {\n            (**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x41))(*(int *)(iVar2 + 0x38));\n            iVar2 = puVar3[1];\n          }\n          *(undefined4 *)(iVar2 + 4) = *puVar3;\n          *(undefined1 *)((int)puVar3 + 10) = 1;\n        }\n        puVar3 = (undefined4 *)puVar3[6];\n      } while (puVar3 != (undefined4 *)0x0);\n      return;\n    }\n    iVar2 = puVar1[1];\n  }" if (parenthesized_expression "(*(int *)(iVar2 + 0x38) != 0)" ( (binary_expression "*(int *)(iVar2 + 0x38) != 0" (pointer_expression "*(int *)(iVar2 + 0x38)" * (cast_expression "(int *)(iVar2 + 0x38)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x38)" ( (binary_expression "iVar2 + 0x38" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    iVar2 = (**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x45))(*(int *)(iVar2 + 0x38));\n    if (iVar2 != 0) {\n      for (iVar2 = puVar1[6]; iVar2 != 0; iVar2 = *(int *)(iVar2 + 0x18)) {\n        while (*(char *)(iVar2 + 10) != '\0') {\n          FUN_000453f0();\n          iVar2 = *(int *)(iVar2 + 0x18);\n          if (iVar2 == 0) goto LAB_00045471;\n        }\n      }\nLAB_00045471:\n      iVar2 = puVar1[1];\n      if (*(int *)(iVar2 + 0x38) != 0) {\n        (**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x41))(*(int *)(iVar2 + 0x38));\n        iVar2 = puVar1[1];\n      }\n      *(undefined4 *)(iVar2 + 4) = *puVar1;\n      puVar3 = (undefined4 *)puVar1[6];\n      *(undefined1 *)((int)puVar1 + 10) = 1;\n      if (puVar3 == (undefined4 *)0x0) {\n        return;\n      }\n      do {\n        if (puVar3[3] != 0) {\n          iVar2 = puVar3[1];\n          if (*(int *)(iVar2 + 0x38) != 0) {\n            (**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x41))(*(int *)(iVar2 + 0x38));\n            iVar2 = puVar3[1];\n          }\n          *(undefined4 *)(iVar2 + 4) = *puVar3;\n          *(undefined1 *)((int)puVar3 + 10) = 1;\n        }\n        puVar3 = (undefined4 *)puVar3[6];\n      } while (puVar3 != (undefined4 *)0x0);\n      return;\n    }\n    iVar2 = puVar1[1];\n  }" { (expression_statement "iVar2 = (**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x45))(*(int *)(iVar2 + 0x38));" (assignment_expression "iVar2 = (**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x45))(*(int *)(iVar2 + 0x38))" identifier = (call_expression "(**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x45))(*(int *)(iVar2 + 0x38))" (parenthesized_expression "(**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x45))" ( (pointer_expression "**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x45)" * (pointer_expression "*(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x45)" * (cast_expression "(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x45)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x45)" ( (binary_expression "BYTE_ARRAY_00175fd5 + unaff_EDI + 0x45" (binary_expression "BYTE_ARRAY_00175fd5 + unaff_EDI" identifier + identifier) + number_literal) ))))) )) (argument_list "(*(int *)(iVar2 + 0x38))" ( (pointer_expression "*(int *)(iVar2 + 0x38)" * (cast_expression "(int *)(iVar2 + 0x38)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x38)" ( (binary_expression "iVar2 + 0x38" identifier + number_literal) )))) )))) ;) (if_statement "if (iVar2 != 0) {\n      for (iVar2 = puVar1[6]; iVar2 != 0; iVar2 = *(int *)(iVar2 + 0x18)) {\n        while (*(char *)(iVar2 + 10) != '\0') {\n          FUN_000453f0();\n          iVar2 = *(int *)(iVar2 + 0x18);\n          if (iVar2 == 0) goto LAB_00045471;\n        }\n      }\nLAB_00045471:\n      iVar2 = puVar1[1];\n      if (*(int *)(iVar2 + 0x38) != 0) {\n        (**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x41))(*(int *)(iVar2 + 0x38));\n        iVar2 = puVar1[1];\n      }\n      *(undefined4 *)(iVar2 + 4) = *puVar1;\n      puVar3 = (undefined4 *)puVar1[6];\n      *(undefined1 *)((int)puVar1 + 10) = 1;\n      if (puVar3 == (undefined4 *)0x0) {\n        return;\n      }\n      do {\n        if (puVar3[3] != 0) {\n          iVar2 = puVar3[1];\n          if (*(int *)(iVar2 + 0x38) != 0) {\n            (**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x41))(*(int *)(iVar2 + 0x38));\n            iVar2 = puVar3[1];\n          }\n          *(undefined4 *)(iVar2 + 4) = *puVar3;\n          *(undefined1 *)((int)puVar3 + 10) = 1;\n        }\n        puVar3 = (undefined4 *)puVar3[6];\n      } while (puVar3 != (undefined4 *)0x0);\n      return;\n    }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n      for (iVar2 = puVar1[6]; iVar2 != 0; iVar2 = *(int *)(iVar2 + 0x18)) {\n        while (*(char *)(iVar2 + 10) != '\0') {\n          FUN_000453f0();\n          iVar2 = *(int *)(iVar2 + 0x18);\n          if (iVar2 == 0) goto LAB_00045471;\n        }\n      }\nLAB_00045471:\n      iVar2 = puVar1[1];\n      if (*(int *)(iVar2 + 0x38) != 0) {\n        (**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x41))(*(int *)(iVar2 + 0x38));\n        iVar2 = puVar1[1];\n      }\n      *(undefined4 *)(iVar2 + 4) = *puVar1;\n      puVar3 = (undefined4 *)puVar1[6];\n      *(undefined1 *)((int)puVar1 + 10) = 1;\n      if (puVar3 == (undefined4 *)0x0) {\n        return;\n      }\n      do {\n        if (puVar3[3] != 0) {\n          iVar2 = puVar3[1];\n          if (*(int *)(iVar2 + 0x38) != 0) {\n            (**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x41))(*(int *)(iVar2 + 0x38));\n            iVar2 = puVar3[1];\n          }\n          *(undefined4 *)(iVar2 + 4) = *puVar3;\n          *(undefined1 *)((int)puVar3 + 10) = 1;\n        }\n        puVar3 = (undefined4 *)puVar3[6];\n      } while (puVar3 != (undefined4 *)0x0);\n      return;\n    }" { (for_statement "for (iVar2 = puVar1[6]; iVar2 != 0; iVar2 = *(int *)(iVar2 + 0x18)) {\n        while (*(char *)(iVar2 + 10) != '\0') {\n          FUN_000453f0();\n          iVar2 = *(int *)(iVar2 + 0x18);\n          if (iVar2 == 0) goto LAB_00045471;\n        }\n      }" for ( (assignment_expression "iVar2 = puVar1[6]" identifier = (subscript_expression "puVar1[6]" identifier [ number_literal ])) ; (binary_expression "iVar2 != 0" identifier != number_literal) ; (assignment_expression "iVar2 = *(int *)(iVar2 + 0x18)" identifier = (pointer_expression "*(int *)(iVar2 + 0x18)" * (cast_expression "(int *)(iVar2 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x18)" ( (binary_expression "iVar2 + 0x18" identifier + number_literal) ))))) ) (compound_statement "{\n        while (*(char *)(iVar2 + 10) != '\0') {\n          FUN_000453f0();\n          iVar2 = *(int *)(iVar2 + 0x18);\n          if (iVar2 == 0) goto LAB_00045471;\n        }\n      }" { (while_statement "while (*(char *)(iVar2 + 10) != '\0') {\n          FUN_000453f0();\n          iVar2 = *(int *)(iVar2 + 0x18);\n          if (iVar2 == 0) goto LAB_00045471;\n        }" while (parenthesized_expression "(*(char *)(iVar2 + 10) != '\0')" ( (binary_expression "*(char *)(iVar2 + 10) != '\0'" (pointer_expression "*(char *)(iVar2 + 10)" * (cast_expression "(char *)(iVar2 + 10)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 10)" ( (binary_expression "iVar2 + 10" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n          FUN_000453f0();\n          iVar2 = *(int *)(iVar2 + 0x18);\n          if (iVar2 == 0) goto LAB_00045471;\n        }" { (expression_statement "FUN_000453f0();" (call_expression "FUN_000453f0()" identifier (argument_list "()" ( ))) ;) (expression_statement "iVar2 = *(int *)(iVar2 + 0x18);" (assignment_expression "iVar2 = *(int *)(iVar2 + 0x18)" identifier = (pointer_expression "*(int *)(iVar2 + 0x18)" * (cast_expression "(int *)(iVar2 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x18)" ( (binary_expression "iVar2 + 0x18" identifier + number_literal) ))))) ;) (if_statement "if (iVar2 == 0) goto LAB_00045471;" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00045471;" goto statement_identifier ;)) })) })) (labeled_statement "LAB_00045471:\n      iVar2 = puVar1[1];" statement_identifier : (expression_statement "iVar2 = puVar1[1];" (assignment_expression "iVar2 = puVar1[1]" identifier = (subscript_expression "puVar1[1]" identifier [ number_literal ])) ;)) (if_statement "if (*(int *)(iVar2 + 0x38) != 0) {\n        (**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x41))(*(int *)(iVar2 + 0x38));\n        iVar2 = puVar1[1];\n      }" if (parenthesized_expression "(*(int *)(iVar2 + 0x38) != 0)" ( (binary_expression "*(int *)(iVar2 + 0x38) != 0" (pointer_expression "*(int *)(iVar2 + 0x38)" * (cast_expression "(int *)(iVar2 + 0x38)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x38)" ( (binary_expression "iVar2 + 0x38" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n        (**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x41))(*(int *)(iVar2 + 0x38));\n        iVar2 = puVar1[1];\n      }" { (expression_statement "(**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x41))(*(int *)(iVar2 + 0x38));" (call_expression "(**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x41))(*(int *)(iVar2 + 0x38))" (parenthesized_expression "(**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x41))" ( (pointer_expression "**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x41)" * (pointer_expression "*(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x41)" * (cast_expression "(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x41)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x41)" ( (binary_expression "BYTE_ARRAY_00175fd5 + unaff_EDI + 0x41" (binary_expression "BYTE_ARRAY_00175fd5 + unaff_EDI" identifier + identifier) + number_literal) ))))) )) (argument_list "(*(int *)(iVar2 + 0x38))" ( (pointer_expression "*(int *)(iVar2 + 0x38)" * (cast_expression "(int *)(iVar2 + 0x38)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x38)" ( (binary_expression "iVar2 + 0x38" identifier + number_literal) )))) ))) ;) (expression_statement "iVar2 = puVar1[1];" (assignment_expression "iVar2 = puVar1[1]" identifier = (subscript_expression "puVar1[1]" identifier [ number_literal ])) ;) })) (expression_statement "*(undefined4 *)(iVar2 + 4) = *puVar1;" (assignment_expression "*(undefined4 *)(iVar2 + 4) = *puVar1" (pointer_expression "*(undefined4 *)(iVar2 + 4)" * (cast_expression "(undefined4 *)(iVar2 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 4)" ( (binary_expression "iVar2 + 4" identifier + number_literal) )))) = (pointer_expression "*puVar1" * identifier)) ;) (expression_statement "puVar3 = (undefined4 *)puVar1[6];" (assignment_expression "puVar3 = (undefined4 *)puVar1[6]" identifier = (cast_expression "(undefined4 *)puVar1[6]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar1[6]" identifier [ number_literal ]))) ;) (expression_statement "*(undefined1 *)((int)puVar1 + 10) = 1;" (assignment_expression "*(undefined1 *)((int)puVar1 + 10) = 1" (pointer_expression "*(undefined1 *)((int)puVar1 + 10)" * (cast_expression "(undefined1 *)((int)puVar1 + 10)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar1 + 10)" ( (binary_expression "(int)puVar1 + 10" (cast_expression "(int)puVar1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (if_statement "if (puVar3 == (undefined4 *)0x0) {\n        return;\n      }" if (parenthesized_expression "(puVar3 == (undefined4 *)0x0)" ( (binary_expression "puVar3 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        return;\n      }" { (return_statement "return;" return ;) })) (do_statement "do {\n        if (puVar3[3] != 0) {\n          iVar2 = puVar3[1];\n          if (*(int *)(iVar2 + 0x38) != 0) {\n            (**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x41))(*(int *)(iVar2 + 0x38));\n            iVar2 = puVar3[1];\n          }\n          *(undefined4 *)(iVar2 + 4) = *puVar3;\n          *(undefined1 *)((int)puVar3 + 10) = 1;\n        }\n        puVar3 = (undefined4 *)puVar3[6];\n      } while (puVar3 != (undefined4 *)0x0);" do (compound_statement "{\n        if (puVar3[3] != 0) {\n          iVar2 = puVar3[1];\n          if (*(int *)(iVar2 + 0x38) != 0) {\n            (**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x41))(*(int *)(iVar2 + 0x38));\n            iVar2 = puVar3[1];\n          }\n          *(undefined4 *)(iVar2 + 4) = *puVar3;\n          *(undefined1 *)((int)puVar3 + 10) = 1;\n        }\n        puVar3 = (undefined4 *)puVar3[6];\n      }" { (if_statement "if (puVar3[3] != 0) {\n          iVar2 = puVar3[1];\n          if (*(int *)(iVar2 + 0x38) != 0) {\n            (**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x41))(*(int *)(iVar2 + 0x38));\n            iVar2 = puVar3[1];\n          }\n          *(undefined4 *)(iVar2 + 4) = *puVar3;\n          *(undefined1 *)((int)puVar3 + 10) = 1;\n        }" if (parenthesized_expression "(puVar3[3] != 0)" ( (binary_expression "puVar3[3] != 0" (subscript_expression "puVar3[3]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n          iVar2 = puVar3[1];\n          if (*(int *)(iVar2 + 0x38) != 0) {\n            (**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x41))(*(int *)(iVar2 + 0x38));\n            iVar2 = puVar3[1];\n          }\n          *(undefined4 *)(iVar2 + 4) = *puVar3;\n          *(undefined1 *)((int)puVar3 + 10) = 1;\n        }" { (expression_statement "iVar2 = puVar3[1];" (assignment_expression "iVar2 = puVar3[1]" identifier = (subscript_expression "puVar3[1]" identifier [ number_literal ])) ;) (if_statement "if (*(int *)(iVar2 + 0x38) != 0) {\n            (**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x41))(*(int *)(iVar2 + 0x38));\n            iVar2 = puVar3[1];\n          }" if (parenthesized_expression "(*(int *)(iVar2 + 0x38) != 0)" ( (binary_expression "*(int *)(iVar2 + 0x38) != 0" (pointer_expression "*(int *)(iVar2 + 0x38)" * (cast_expression "(int *)(iVar2 + 0x38)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x38)" ( (binary_expression "iVar2 + 0x38" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n            (**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x41))(*(int *)(iVar2 + 0x38));\n            iVar2 = puVar3[1];\n          }" { (expression_statement "(**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x41))(*(int *)(iVar2 + 0x38));" (call_expression "(**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x41))(*(int *)(iVar2 + 0x38))" (parenthesized_expression "(**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x41))" ( (pointer_expression "**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x41)" * (pointer_expression "*(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x41)" * (cast_expression "(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x41)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x41)" ( (binary_expression "BYTE_ARRAY_00175fd5 + unaff_EDI + 0x41" (binary_expression "BYTE_ARRAY_00175fd5 + unaff_EDI" identifier + identifier) + number_literal) ))))) )) (argument_list "(*(int *)(iVar2 + 0x38))" ( (pointer_expression "*(int *)(iVar2 + 0x38)" * (cast_expression "(int *)(iVar2 + 0x38)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x38)" ( (binary_expression "iVar2 + 0x38" identifier + number_literal) )))) ))) ;) (expression_statement "iVar2 = puVar3[1];" (assignment_expression "iVar2 = puVar3[1]" identifier = (subscript_expression "puVar3[1]" identifier [ number_literal ])) ;) })) (expression_statement "*(undefined4 *)(iVar2 + 4) = *puVar3;" (assignment_expression "*(undefined4 *)(iVar2 + 4) = *puVar3" (pointer_expression "*(undefined4 *)(iVar2 + 4)" * (cast_expression "(undefined4 *)(iVar2 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 4)" ( (binary_expression "iVar2 + 4" identifier + number_literal) )))) = (pointer_expression "*puVar3" * identifier)) ;) (expression_statement "*(undefined1 *)((int)puVar3 + 10) = 1;" (assignment_expression "*(undefined1 *)((int)puVar3 + 10) = 1" (pointer_expression "*(undefined1 *)((int)puVar3 + 10)" * (cast_expression "(undefined1 *)((int)puVar3 + 10)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar3 + 10)" ( (binary_expression "(int)puVar3 + 10" (cast_expression "(int)puVar3" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) })) (expression_statement "puVar3 = (undefined4 *)puVar3[6];" (assignment_expression "puVar3 = (undefined4 *)puVar3[6]" identifier = (cast_expression "(undefined4 *)puVar3[6]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar3[6]" identifier [ number_literal ]))) ;) }) while (parenthesized_expression "(puVar3 != (undefined4 *)0x0)" ( (binary_expression "puVar3 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) (return_statement "return;" return ;) })) (expression_statement "iVar2 = puVar1[1];" (assignment_expression "iVar2 = puVar1[1]" identifier = (subscript_expression "puVar1[1]" identifier [ number_literal ])) ;) })) (expression_statement "*(undefined4 *)(iVar2 + 4) = *puVar1;" (assignment_expression "*(undefined4 *)(iVar2 + 4) = *puVar1" (pointer_expression "*(undefined4 *)(iVar2 + 4)" * (cast_expression "(undefined4 *)(iVar2 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 4)" ( (binary_expression "iVar2 + 4" identifier + number_literal) )))) = (pointer_expression "*puVar1" * identifier)) ;) (expression_statement "*(undefined1 *)((int)puVar1 + 10) = 1;" (assignment_expression "*(undefined1 *)((int)puVar1 + 10) = 1" (pointer_expression "*(undefined1 *)((int)puVar1 + 10)" * (cast_expression "(undefined1 *)((int)puVar1 + 10)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar1 + 10)" ( (binary_expression "(int)puVar1 + 10" (cast_expression "(int)puVar1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( ))))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + IDENT) + LIT) ))))) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (for_statement for ( (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ; (binary_expression IDENT != LIT) ; (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ) (compound_statement { (while_statement while (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) })) })) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;)) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + IDENT) + LIT) ))))) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (return_statement return ;) })) (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + IDENT) + LIT) ))))) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = LIT) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) }) while (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) ;) (return_statement return ;) })) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = LIT) ;) (return_statement return ;) })))
(function_definition "void FUN_00045420(void)\n\n{\n  undefined4 *puVar1;\n  int iVar2;\n  undefined4 *puVar3;\n  int unaff_EDI;\n  \n  puVar1 = (undefined4 *)FUN_0003a401();\n  iVar2 = puVar1[1];\n  if (*(int *)(iVar2 + 0x38) != 0) {\n    iVar2 = (**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x45))(*(int *)(iVar2 + 0x38));\n    if (iVar2 != 0) {\n      for (iVar2 = puVar1[6]; iVar2 != 0; iVar2 = *(int *)(iVar2 + 0x18)) {\n        while (*(char *)(iVar2 + 10) != '\0') {\n          FUN_000453f0();\n          iVar2 = *(int *)(iVar2 + 0x18);\n          if (iVar2 == 0) goto LAB_00045471;\n        }\n      }\nLAB_00045471:\n      iVar2 = puVar1[1];\n      if (*(int *)(iVar2 + 0x38) != 0) {\n        (**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x41))(*(int *)(iVar2 + 0x38));\n        iVar2 = puVar1[1];\n      }\n      *(undefined4 *)(iVar2 + 4) = *puVar1;\n      puVar3 = (undefined4 *)puVar1[6];\n      *(undefined1 *)((int)puVar1 + 10) = 1;\n      if (puVar3 == (undefined4 *)0x0) {\n        return;\n      }\n      do {\n        if (puVar3[3] != 0) {\n          iVar2 = puVar3[1];\n          if (*(int *)(iVar2 + 0x38) != 0) {\n            (**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x41))(*(int *)(iVar2 + 0x38));\n            iVar2 = puVar3[1];\n          }\n          *(undefined4 *)(iVar2 + 4) = *puVar3;\n          *(undefined1 *)((int)puVar3 + 10) = 1;\n        }\n        puVar3 = (undefined4 *)puVar3[6];\n      } while (puVar3 != (undefined4 *)0x0);\n      return;\n    }\n    iVar2 = puVar1[1];\n  }\n  *(undefined4 *)(iVar2 + 4) = *puVar1;\n  *(undefined1 *)((int)puVar1 + 10) = 1;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00045420(void)" (identifier "FUN_00045420") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  undefined4 *puVar1;\n  int iVar2;\n  undefined4 *puVar3;\n  int unaff_EDI;\n  \n  puVar1 = (undefined4 *)FUN_0003a401();\n  iVar2 = puVar1[1];\n  if (*(int *)(iVar2 + 0x38) != 0) {\n    iVar2 = (**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x45))(*(int *)(iVar2 + 0x38));\n    if (iVar2 != 0) {\n      for (iVar2 = puVar1[6]; iVar2 != 0; iVar2 = *(int *)(iVar2 + 0x18)) {\n        while (*(char *)(iVar2 + 10) != '\0') {\n          FUN_000453f0();\n          iVar2 = *(int *)(iVar2 + 0x18);\n          if (iVar2 == 0) goto LAB_00045471;\n        }\n      }\nLAB_00045471:\n      iVar2 = puVar1[1];\n      if (*(int *)(iVar2 + 0x38) != 0) {\n        (**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x41))(*(int *)(iVar2 + 0x38));\n        iVar2 = puVar1[1];\n      }\n      *(undefined4 *)(iVar2 + 4) = *puVar1;\n      puVar3 = (undefined4 *)puVar1[6];\n      *(undefined1 *)((int)puVar1 + 10) = 1;\n      if (puVar3 == (undefined4 *)0x0) {\n        return;\n      }\n      do {\n        if (puVar3[3] != 0) {\n          iVar2 = puVar3[1];\n          if (*(int *)(iVar2 + 0x38) != 0) {\n            (**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x41))(*(int *)(iVar2 + 0x38));\n            iVar2 = puVar3[1];\n          }\n          *(undefined4 *)(iVar2 + 4) = *puVar3;\n          *(undefined1 *)((int)puVar3 + 10) = 1;\n        }\n        puVar3 = (undefined4 *)puVar3[6];\n      } while (puVar3 != (undefined4 *)0x0);\n      return;\n    }\n    iVar2 = puVar1[1];\n  }\n  *(undefined4 *)(iVar2 + 4) = *puVar1;\n  *(undefined1 *)((int)puVar1 + 10) = 1;\n  return;\n}" ({ "{") (declaration "undefined4 *puVar1;" (type_identifier "undefined4") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "undefined4 *puVar3;" (type_identifier "undefined4") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (declaration "int unaff_EDI;" (primitive_type "int") (identifier "unaff_EDI") (; ";")) (expression_statement "puVar1 = (undefined4 *)FUN_0003a401();" (assignment_expression "puVar1 = (undefined4 *)FUN_0003a401()" (identifier "puVar1") (= "=") (cast_expression "(undefined4 *)FUN_0003a401()" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_0003a401()" (identifier "FUN_0003a401") (argument_list "()" (( "(") () ")"))))) (; ";")) (expression_statement "iVar2 = puVar1[1];" (assignment_expression "iVar2 = puVar1[1]" (identifier "iVar2") (= "=") (subscript_expression "puVar1[1]" (identifier "puVar1") ([ "[") (number_literal "1") (] "]"))) (; ";")) (if_statement "if (*(int *)(iVar2 + 0x38) != 0) {\n    iVar2 = (**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x45))(*(int *)(iVar2 + 0x38));\n    if (iVar2 != 0) {\n      for (iVar2 = puVar1[6]; iVar2 != 0; iVar2 = *(int *)(iVar2 + 0x18)) {\n        while (*(char *)(iVar2 + 10) != '\0') {\n          FUN_000453f0();\n          iVar2 = *(int *)(iVar2 + 0x18);\n          if (iVar2 == 0) goto LAB_00045471;\n        }\n      }\nLAB_00045471:\n      iVar2 = puVar1[1];\n      if (*(int *)(iVar2 + 0x38) != 0) {\n        (**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x41))(*(int *)(iVar2 + 0x38));\n        iVar2 = puVar1[1];\n      }\n      *(undefined4 *)(iVar2 + 4) = *puVar1;\n      puVar3 = (undefined4 *)puVar1[6];\n      *(undefined1 *)((int)puVar1 + 10) = 1;\n      if (puVar3 == (undefined4 *)0x0) {\n        return;\n      }\n      do {\n        if (puVar3[3] != 0) {\n          iVar2 = puVar3[1];\n          if (*(int *)(iVar2 + 0x38) != 0) {\n            (**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x41))(*(int *)(iVar2 + 0x38));\n            iVar2 = puVar3[1];\n          }\n          *(undefined4 *)(iVar2 + 4) = *puVar3;\n          *(undefined1 *)((int)puVar3 + 10) = 1;\n        }\n        puVar3 = (undefined4 *)puVar3[6];\n      } while (puVar3 != (undefined4 *)0x0);\n      return;\n    }\n    iVar2 = puVar1[1];\n  }" (if "if") (parenthesized_expression "(*(int *)(iVar2 + 0x38) != 0)" (( "(") (binary_expression "*(int *)(iVar2 + 0x38) != 0" (pointer_expression "*(int *)(iVar2 + 0x38)" (* "*") (cast_expression "(int *)(iVar2 + 0x38)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x38)" (( "(") (binary_expression "iVar2 + 0x38" (identifier "iVar2") (+ "+") (number_literal "0x38")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    iVar2 = (**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x45))(*(int *)(iVar2 + 0x38));\n    if (iVar2 != 0) {\n      for (iVar2 = puVar1[6]; iVar2 != 0; iVar2 = *(int *)(iVar2 + 0x18)) {\n        while (*(char *)(iVar2 + 10) != '\0') {\n          FUN_000453f0();\n          iVar2 = *(int *)(iVar2 + 0x18);\n          if (iVar2 == 0) goto LAB_00045471;\n        }\n      }\nLAB_00045471:\n      iVar2 = puVar1[1];\n      if (*(int *)(iVar2 + 0x38) != 0) {\n        (**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x41))(*(int *)(iVar2 + 0x38));\n        iVar2 = puVar1[1];\n      }\n      *(undefined4 *)(iVar2 + 4) = *puVar1;\n      puVar3 = (undefined4 *)puVar1[6];\n      *(undefined1 *)((int)puVar1 + 10) = 1;\n      if (puVar3 == (undefined4 *)0x0) {\n        return;\n      }\n      do {\n        if (puVar3[3] != 0) {\n          iVar2 = puVar3[1];\n          if (*(int *)(iVar2 + 0x38) != 0) {\n            (**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x41))(*(int *)(iVar2 + 0x38));\n            iVar2 = puVar3[1];\n          }\n          *(undefined4 *)(iVar2 + 4) = *puVar3;\n          *(undefined1 *)((int)puVar3 + 10) = 1;\n        }\n        puVar3 = (undefined4 *)puVar3[6];\n      } while (puVar3 != (undefined4 *)0x0);\n      return;\n    }\n    iVar2 = puVar1[1];\n  }" ({ "{") (expression_statement "iVar2 = (**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x45))(*(int *)(iVar2 + 0x38));" (assignment_expression "iVar2 = (**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x45))(*(int *)(iVar2 + 0x38))" (identifier "iVar2") (= "=") (call_expression "(**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x45))(*(int *)(iVar2 + 0x38))" (parenthesized_expression "(**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x45))" (( "(") (pointer_expression "**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x45)" (* "*") (pointer_expression "*(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x45)" (* "*") (cast_expression "(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x45)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x45)" (( "(") (binary_expression "BYTE_ARRAY_00175fd5 + unaff_EDI + 0x45" (binary_expression "BYTE_ARRAY_00175fd5 + unaff_EDI" (identifier "BYTE_ARRAY_00175fd5") (+ "+") (identifier "unaff_EDI")) (+ "+") (number_literal "0x45")) () ")"))))) () ")")) (argument_list "(*(int *)(iVar2 + 0x38))" (( "(") (pointer_expression "*(int *)(iVar2 + 0x38)" (* "*") (cast_expression "(int *)(iVar2 + 0x38)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x38)" (( "(") (binary_expression "iVar2 + 0x38" (identifier "iVar2") (+ "+") (number_literal "0x38")) () ")")))) () ")")))) (; ";")) (if_statement "if (iVar2 != 0) {\n      for (iVar2 = puVar1[6]; iVar2 != 0; iVar2 = *(int *)(iVar2 + 0x18)) {\n        while (*(char *)(iVar2 + 10) != '\0') {\n          FUN_000453f0();\n          iVar2 = *(int *)(iVar2 + 0x18);\n          if (iVar2 == 0) goto LAB_00045471;\n        }\n      }\nLAB_00045471:\n      iVar2 = puVar1[1];\n      if (*(int *)(iVar2 + 0x38) != 0) {\n        (**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x41))(*(int *)(iVar2 + 0x38));\n        iVar2 = puVar1[1];\n      }\n      *(undefined4 *)(iVar2 + 4) = *puVar1;\n      puVar3 = (undefined4 *)puVar1[6];\n      *(undefined1 *)((int)puVar1 + 10) = 1;\n      if (puVar3 == (undefined4 *)0x0) {\n        return;\n      }\n      do {\n        if (puVar3[3] != 0) {\n          iVar2 = puVar3[1];\n          if (*(int *)(iVar2 + 0x38) != 0) {\n            (**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x41))(*(int *)(iVar2 + 0x38));\n            iVar2 = puVar3[1];\n          }\n          *(undefined4 *)(iVar2 + 4) = *puVar3;\n          *(undefined1 *)((int)puVar3 + 10) = 1;\n        }\n        puVar3 = (undefined4 *)puVar3[6];\n      } while (puVar3 != (undefined4 *)0x0);\n      return;\n    }" (if "if") (parenthesized_expression "(iVar2 != 0)" (( "(") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      for (iVar2 = puVar1[6]; iVar2 != 0; iVar2 = *(int *)(iVar2 + 0x18)) {\n        while (*(char *)(iVar2 + 10) != '\0') {\n          FUN_000453f0();\n          iVar2 = *(int *)(iVar2 + 0x18);\n          if (iVar2 == 0) goto LAB_00045471;\n        }\n      }\nLAB_00045471:\n      iVar2 = puVar1[1];\n      if (*(int *)(iVar2 + 0x38) != 0) {\n        (**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x41))(*(int *)(iVar2 + 0x38));\n        iVar2 = puVar1[1];\n      }\n      *(undefined4 *)(iVar2 + 4) = *puVar1;\n      puVar3 = (undefined4 *)puVar1[6];\n      *(undefined1 *)((int)puVar1 + 10) = 1;\n      if (puVar3 == (undefined4 *)0x0) {\n        return;\n      }\n      do {\n        if (puVar3[3] != 0) {\n          iVar2 = puVar3[1];\n          if (*(int *)(iVar2 + 0x38) != 0) {\n            (**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x41))(*(int *)(iVar2 + 0x38));\n            iVar2 = puVar3[1];\n          }\n          *(undefined4 *)(iVar2 + 4) = *puVar3;\n          *(undefined1 *)((int)puVar3 + 10) = 1;\n        }\n        puVar3 = (undefined4 *)puVar3[6];\n      } while (puVar3 != (undefined4 *)0x0);\n      return;\n    }" ({ "{") (for_statement "for (iVar2 = puVar1[6]; iVar2 != 0; iVar2 = *(int *)(iVar2 + 0x18)) {\n        while (*(char *)(iVar2 + 10) != '\0') {\n          FUN_000453f0();\n          iVar2 = *(int *)(iVar2 + 0x18);\n          if (iVar2 == 0) goto LAB_00045471;\n        }\n      }" (for "for") (( "(") (assignment_expression "iVar2 = puVar1[6]" (identifier "iVar2") (= "=") (subscript_expression "puVar1[6]" (identifier "puVar1") ([ "[") (number_literal "6") (] "]"))) (; ";") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0")) (; ";") (assignment_expression "iVar2 = *(int *)(iVar2 + 0x18)" (identifier "iVar2") (= "=") (pointer_expression "*(int *)(iVar2 + 0x18)" (* "*") (cast_expression "(int *)(iVar2 + 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x18)" (( "(") (binary_expression "iVar2 + 0x18" (identifier "iVar2") (+ "+") (number_literal "0x18")) () ")"))))) () ")") (compound_statement "{\n        while (*(char *)(iVar2 + 10) != '\0') {\n          FUN_000453f0();\n          iVar2 = *(int *)(iVar2 + 0x18);\n          if (iVar2 == 0) goto LAB_00045471;\n        }\n      }" ({ "{") (while_statement "while (*(char *)(iVar2 + 10) != '\0') {\n          FUN_000453f0();\n          iVar2 = *(int *)(iVar2 + 0x18);\n          if (iVar2 == 0) goto LAB_00045471;\n        }" (while "while") (parenthesized_expression "(*(char *)(iVar2 + 10) != '\0')" (( "(") (binary_expression "*(char *)(iVar2 + 10) != '\0'" (pointer_expression "*(char *)(iVar2 + 10)" (* "*") (cast_expression "(char *)(iVar2 + 10)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 10)" (( "(") (binary_expression "iVar2 + 10" (identifier "iVar2") (+ "+") (number_literal "10")) () ")")))) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n          FUN_000453f0();\n          iVar2 = *(int *)(iVar2 + 0x18);\n          if (iVar2 == 0) goto LAB_00045471;\n        }" ({ "{") (expression_statement "FUN_000453f0();" (call_expression "FUN_000453f0()" (identifier "FUN_000453f0") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "iVar2 = *(int *)(iVar2 + 0x18);" (assignment_expression "iVar2 = *(int *)(iVar2 + 0x18)" (identifier "iVar2") (= "=") (pointer_expression "*(int *)(iVar2 + 0x18)" (* "*") (cast_expression "(int *)(iVar2 + 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x18)" (( "(") (binary_expression "iVar2 + 0x18" (identifier "iVar2") (+ "+") (number_literal "0x18")) () ")"))))) (; ";")) (if_statement "if (iVar2 == 0) goto LAB_00045471;" (if "if") (parenthesized_expression "(iVar2 == 0)" (( "(") (binary_expression "iVar2 == 0" (identifier "iVar2") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_00045471;" (goto "goto") (statement_identifier "LAB_00045471") (; ";"))) (} "}"))) (} "}"))) (labeled_statement "LAB_00045471:\n      iVar2 = puVar1[1];" (statement_identifier "LAB_00045471") (: ":") (expression_statement "iVar2 = puVar1[1];" (assignment_expression "iVar2 = puVar1[1]" (identifier "iVar2") (= "=") (subscript_expression "puVar1[1]" (identifier "puVar1") ([ "[") (number_literal "1") (] "]"))) (; ";"))) (if_statement "if (*(int *)(iVar2 + 0x38) != 0) {\n        (**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x41))(*(int *)(iVar2 + 0x38));\n        iVar2 = puVar1[1];\n      }" (if "if") (parenthesized_expression "(*(int *)(iVar2 + 0x38) != 0)" (( "(") (binary_expression "*(int *)(iVar2 + 0x38) != 0" (pointer_expression "*(int *)(iVar2 + 0x38)" (* "*") (cast_expression "(int *)(iVar2 + 0x38)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x38)" (( "(") (binary_expression "iVar2 + 0x38" (identifier "iVar2") (+ "+") (number_literal "0x38")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        (**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x41))(*(int *)(iVar2 + 0x38));\n        iVar2 = puVar1[1];\n      }" ({ "{") (expression_statement "(**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x41))(*(int *)(iVar2 + 0x38));" (call_expression "(**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x41))(*(int *)(iVar2 + 0x38))" (parenthesized_expression "(**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x41))" (( "(") (pointer_expression "**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x41)" (* "*") (pointer_expression "*(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x41)" (* "*") (cast_expression "(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x41)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x41)" (( "(") (binary_expression "BYTE_ARRAY_00175fd5 + unaff_EDI + 0x41" (binary_expression "BYTE_ARRAY_00175fd5 + unaff_EDI" (identifier "BYTE_ARRAY_00175fd5") (+ "+") (identifier "unaff_EDI")) (+ "+") (number_literal "0x41")) () ")"))))) () ")")) (argument_list "(*(int *)(iVar2 + 0x38))" (( "(") (pointer_expression "*(int *)(iVar2 + 0x38)" (* "*") (cast_expression "(int *)(iVar2 + 0x38)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x38)" (( "(") (binary_expression "iVar2 + 0x38" (identifier "iVar2") (+ "+") (number_literal "0x38")) () ")")))) () ")"))) (; ";")) (expression_statement "iVar2 = puVar1[1];" (assignment_expression "iVar2 = puVar1[1]" (identifier "iVar2") (= "=") (subscript_expression "puVar1[1]" (identifier "puVar1") ([ "[") (number_literal "1") (] "]"))) (; ";")) (} "}"))) (expression_statement "*(undefined4 *)(iVar2 + 4) = *puVar1;" (assignment_expression "*(undefined4 *)(iVar2 + 4) = *puVar1" (pointer_expression "*(undefined4 *)(iVar2 + 4)" (* "*") (cast_expression "(undefined4 *)(iVar2 + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 4)" (( "(") (binary_expression "iVar2 + 4" (identifier "iVar2") (+ "+") (number_literal "4")) () ")")))) (= "=") (pointer_expression "*puVar1" (* "*") (identifier "puVar1"))) (; ";")) (expression_statement "puVar3 = (undefined4 *)puVar1[6];" (assignment_expression "puVar3 = (undefined4 *)puVar1[6]" (identifier "puVar3") (= "=") (cast_expression "(undefined4 *)puVar1[6]" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "puVar1[6]" (identifier "puVar1") ([ "[") (number_literal "6") (] "]")))) (; ";")) (expression_statement "*(undefined1 *)((int)puVar1 + 10) = 1;" (assignment_expression "*(undefined1 *)((int)puVar1 + 10) = 1" (pointer_expression "*(undefined1 *)((int)puVar1 + 10)" (* "*") (cast_expression "(undefined1 *)((int)puVar1 + 10)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar1 + 10)" (( "(") (binary_expression "(int)puVar1 + 10" (cast_expression "(int)puVar1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar1")) (+ "+") (number_literal "10")) () ")")))) (= "=") (number_literal "1")) (; ";")) (if_statement "if (puVar3 == (undefined4 *)0x0) {\n        return;\n      }" (if "if") (parenthesized_expression "(puVar3 == (undefined4 *)0x0)" (( "(") (binary_expression "puVar3 == (undefined4 *)0x0" (identifier "puVar3") (== "==") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n        return;\n      }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (do_statement "do {\n        if (puVar3[3] != 0) {\n          iVar2 = puVar3[1];\n          if (*(int *)(iVar2 + 0x38) != 0) {\n            (**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x41))(*(int *)(iVar2 + 0x38));\n            iVar2 = puVar3[1];\n          }\n          *(undefined4 *)(iVar2 + 4) = *puVar3;\n          *(undefined1 *)((int)puVar3 + 10) = 1;\n        }\n        puVar3 = (undefined4 *)puVar3[6];\n      } while (puVar3 != (undefined4 *)0x0);" (do "do") (compound_statement "{\n        if (puVar3[3] != 0) {\n          iVar2 = puVar3[1];\n          if (*(int *)(iVar2 + 0x38) != 0) {\n            (**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x41))(*(int *)(iVar2 + 0x38));\n            iVar2 = puVar3[1];\n          }\n          *(undefined4 *)(iVar2 + 4) = *puVar3;\n          *(undefined1 *)((int)puVar3 + 10) = 1;\n        }\n        puVar3 = (undefined4 *)puVar3[6];\n      }" ({ "{") (if_statement "if (puVar3[3] != 0) {\n          iVar2 = puVar3[1];\n          if (*(int *)(iVar2 + 0x38) != 0) {\n            (**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x41))(*(int *)(iVar2 + 0x38));\n            iVar2 = puVar3[1];\n          }\n          *(undefined4 *)(iVar2 + 4) = *puVar3;\n          *(undefined1 *)((int)puVar3 + 10) = 1;\n        }" (if "if") (parenthesized_expression "(puVar3[3] != 0)" (( "(") (binary_expression "puVar3[3] != 0" (subscript_expression "puVar3[3]" (identifier "puVar3") ([ "[") (number_literal "3") (] "]")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n          iVar2 = puVar3[1];\n          if (*(int *)(iVar2 + 0x38) != 0) {\n            (**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x41))(*(int *)(iVar2 + 0x38));\n            iVar2 = puVar3[1];\n          }\n          *(undefined4 *)(iVar2 + 4) = *puVar3;\n          *(undefined1 *)((int)puVar3 + 10) = 1;\n        }" ({ "{") (expression_statement "iVar2 = puVar3[1];" (assignment_expression "iVar2 = puVar3[1]" (identifier "iVar2") (= "=") (subscript_expression "puVar3[1]" (identifier "puVar3") ([ "[") (number_literal "1") (] "]"))) (; ";")) (if_statement "if (*(int *)(iVar2 + 0x38) != 0) {\n            (**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x41))(*(int *)(iVar2 + 0x38));\n            iVar2 = puVar3[1];\n          }" (if "if") (parenthesized_expression "(*(int *)(iVar2 + 0x38) != 0)" (( "(") (binary_expression "*(int *)(iVar2 + 0x38) != 0" (pointer_expression "*(int *)(iVar2 + 0x38)" (* "*") (cast_expression "(int *)(iVar2 + 0x38)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x38)" (( "(") (binary_expression "iVar2 + 0x38" (identifier "iVar2") (+ "+") (number_literal "0x38")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n            (**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x41))(*(int *)(iVar2 + 0x38));\n            iVar2 = puVar3[1];\n          }" ({ "{") (expression_statement "(**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x41))(*(int *)(iVar2 + 0x38));" (call_expression "(**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x41))(*(int *)(iVar2 + 0x38))" (parenthesized_expression "(**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x41))" (( "(") (pointer_expression "**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x41)" (* "*") (pointer_expression "*(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x41)" (* "*") (cast_expression "(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x41)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x41)" (( "(") (binary_expression "BYTE_ARRAY_00175fd5 + unaff_EDI + 0x41" (binary_expression "BYTE_ARRAY_00175fd5 + unaff_EDI" (identifier "BYTE_ARRAY_00175fd5") (+ "+") (identifier "unaff_EDI")) (+ "+") (number_literal "0x41")) () ")"))))) () ")")) (argument_list "(*(int *)(iVar2 + 0x38))" (( "(") (pointer_expression "*(int *)(iVar2 + 0x38)" (* "*") (cast_expression "(int *)(iVar2 + 0x38)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x38)" (( "(") (binary_expression "iVar2 + 0x38" (identifier "iVar2") (+ "+") (number_literal "0x38")) () ")")))) () ")"))) (; ";")) (expression_statement "iVar2 = puVar3[1];" (assignment_expression "iVar2 = puVar3[1]" (identifier "iVar2") (= "=") (subscript_expression "puVar3[1]" (identifier "puVar3") ([ "[") (number_literal "1") (] "]"))) (; ";")) (} "}"))) (expression_statement "*(undefined4 *)(iVar2 + 4) = *puVar3;" (assignment_expression "*(undefined4 *)(iVar2 + 4) = *puVar3" (pointer_expression "*(undefined4 *)(iVar2 + 4)" (* "*") (cast_expression "(undefined4 *)(iVar2 + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 4)" (( "(") (binary_expression "iVar2 + 4" (identifier "iVar2") (+ "+") (number_literal "4")) () ")")))) (= "=") (pointer_expression "*puVar3" (* "*") (identifier "puVar3"))) (; ";")) (expression_statement "*(undefined1 *)((int)puVar3 + 10) = 1;" (assignment_expression "*(undefined1 *)((int)puVar3 + 10) = 1" (pointer_expression "*(undefined1 *)((int)puVar3 + 10)" (* "*") (cast_expression "(undefined1 *)((int)puVar3 + 10)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar3 + 10)" (( "(") (binary_expression "(int)puVar3 + 10" (cast_expression "(int)puVar3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar3")) (+ "+") (number_literal "10")) () ")")))) (= "=") (number_literal "1")) (; ";")) (} "}"))) (expression_statement "puVar3 = (undefined4 *)puVar3[6];" (assignment_expression "puVar3 = (undefined4 *)puVar3[6]" (identifier "puVar3") (= "=") (cast_expression "(undefined4 *)puVar3[6]" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "puVar3[6]" (identifier "puVar3") ([ "[") (number_literal "6") (] "]")))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(puVar3 != (undefined4 *)0x0)" (( "(") (binary_expression "puVar3 != (undefined4 *)0x0" (identifier "puVar3") (!= "!=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "iVar2 = puVar1[1];" (assignment_expression "iVar2 = puVar1[1]" (identifier "iVar2") (= "=") (subscript_expression "puVar1[1]" (identifier "puVar1") ([ "[") (number_literal "1") (] "]"))) (; ";")) (} "}"))) (expression_statement "*(undefined4 *)(iVar2 + 4) = *puVar1;" (assignment_expression "*(undefined4 *)(iVar2 + 4) = *puVar1" (pointer_expression "*(undefined4 *)(iVar2 + 4)" (* "*") (cast_expression "(undefined4 *)(iVar2 + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 4)" (( "(") (binary_expression "iVar2 + 4" (identifier "iVar2") (+ "+") (number_literal "4")) () ")")))) (= "=") (pointer_expression "*puVar1" (* "*") (identifier "puVar1"))) (; ";")) (expression_statement "*(undefined1 *)((int)puVar1 + 10) = 1;" (assignment_expression "*(undefined1 *)((int)puVar1 + 10) = 1" (pointer_expression "*(undefined1 *)((int)puVar1 + 10)" (* "*") (cast_expression "(undefined1 *)((int)puVar1 + 10)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar1 + 10)" (( "(") (binary_expression "(int)puVar1 + 10" (cast_expression "(int)puVar1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar1")) (+ "+") (number_literal "10")) () ")")))) (= "=") (number_literal "1")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

void function_1(type_1 *p)

{
  type_2 *puVar1;
  int var_2;
  type_2 *var_6;
  int var_4;
  
  puVar1 = (type_2 *)var_1();
  var_2 = puVar1[1];
  if (*(int *)(var_2 + 0x38) != 0) {
    var_2 = (**(type_3 **)(var_3 + var_4 + 0x45))(*(int *)(var_2 + 0x38));
    if (var_2 != 0) {
      for (var_2 = puVar1[6]; var_2 != 0; var_2 = *(int *)(var_2 + 0x18)) {
        while (*(char *)(var_2 + 10) != '\0') {
          var_5(*(type_1 **)(var_2 + 4),(type_1 *)(var_2 + 10));
          var_2 = *(int *)(var_2 + 0x18);
          if (var_2 == 0) goto LAB_00045471;
        }
      }
LAB_00045471:
      var_2 = puVar1[1];
      if (*(int *)(var_2 + 0x38) != 0) {
        (**(type_3 **)(var_3 + var_4 + 0x41))(*(int *)(var_2 + 0x38));
        var_2 = puVar1[1];
      }
      *(type_2 *)(var_2 + 4) = *puVar1;
      var_6 = (type_2 *)puVar1[6];
      *(type_4 *)((int)puVar1 + 10) = 1;
      if (var_6 == (type_2 *)0x0) {
        return;
      }
      do {
        if (var_6[3] != 0) {
          var_2 = var_6[1];
          if (*(int *)(var_2 + 0x38) != 0) {
            (**(type_3 **)(var_3 + var_4 + 0x41))(*(int *)(var_2 + 0x38));
            var_2 = var_6[1];
          }
          *(type_2 *)(var_2 + 4) = *var_6;
          *(type_4 *)((int)var_6 + 10) = 1;
        }
        var_6 = (type_2 *)var_6[6];
      } while (var_6 != (type_2 *)0x0);
      return;
    }
    var_2 = puVar1[1];
  }
  *(type_2 *)(var_2 + 4) = *puVar1;
  *(type_4 *)((int)puVar1 + 10) = 1;
  return;
}


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

void MASKED(void)

{
  undefined4 *puVar1;
  int iVar2;
  undefined4 *puVar3;
  int unaff_EDI;
  
  puVar1 = (undefined4 *)FUN_0003a401();
  iVar2 = puVar1[1];
  if (*(int *)(iVar2 + 0x38) != 0) {
    iVar2 = (**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x45))(*(int *)(iVar2 + 0x38));
    if (iVar2 != 0) {
      for (iVar2 = puVar1[6]; iVar2 != 0; iVar2 = *(int *)(iVar2 + 0x18)) {
        while (*(char *)(iVar2 + 10) != '\0') {
          FUN_000453f0();
          iVar2 = *(int *)(iVar2 + 0x18);
          if (iVar2 == 0) goto LAB_00045471;
        }
      }
LAB_00045471:
      iVar2 = puVar1[1];
      if (*(int *)(iVar2 + 0x38) != 0) {
        (**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x41))(*(int *)(iVar2 + 0x38));
        iVar2 = puVar1[1];
      }
      *(undefined4 *)(iVar2 + 4) = *puVar1;
      puVar3 = (undefined4 *)puVar1[6];
      *(undefined1 *)((int)puVar1 + 10) = 1;
      if (puVar3 == (undefined4 *)0x0) {
        return;
      }
      do {
        if (puVar3[3] != 0) {
          iVar2 = puVar3[1];
          if (*(int *)(iVar2 + 0x38) != 0) {
            (**(code **)(BYTE_ARRAY_00175fd5 + unaff_EDI + 0x41))(*(int *)(iVar2 + 0x38));
            iVar2 = puVar3[1];
          }
          *(undefined4 *)(iVar2 + 4) = *puVar3;
          *(undefined1 *)((int)puVar3 + 10) = 1;
        }
        puVar3 = (undefined4 *)puVar3[6];
      } while (puVar3 != (undefined4 *)0x0);
      return;
    }
    iVar2 = puVar1[1];
  }
  *(undefined4 *)(iVar2 + 4) = *puVar1;
  *(undefined1 *)((int)puVar1 + 10) = 1;
  return;
}

