Can you please convert this into C99 code with better suited variables and comments? I know the code is complex but please do not skip over any part. "
void FUN_004099c0(undefined4 param_1,wchar_t *param_2,int *param_3,undefined4 param_4,
                 undefined4 param_5)

{
  short *psVar1;
  char cVar2;
  short sVar3;
  uint *puVar4;
  int **ppiVar5;
  int iVar6;
  undefined *puVar7;
  char *pcVar8;
  void *pvVar9;
  int *piVar10;
  wchar_t *pwVar11;
  wchar_t *pwVar12;
  undefined4 *puVar13;
  int **ppiVar14;
  int *piVar15;
  char *pcVar16;
  undefined4 uVar17;
  undefined4 extraout_ECX;
  undefined2 extraout_var;
  undefined2 extraout_var_00;
  undefined2 extraout_var_01;
  undefined2 uVar19;
  undefined4 uVar18;
  int *extraout_EDX;
  int *extraout_EDX_00;
  int *extraout_EDX_01;
  int *unaff_EBX;
  int iVar20;
  int iVar21;
  uint uVar22;
  undefined4 uVar23;
  uint uVar24;
  uint *puVar25;
  uint *puVar26;
  uint *puVar27;
  uint *puVar28;
  uint *puVar29;
  undefined4 *puVar30;
  uint *puVar31;
  int *piVar32;
  uint *puVar33;
  uint *puVar34;
  int **ppiVar35;
  int iVar36;
  int iVar37;
  int **ppiVar38;
  undefined4 uVar39;
  int iVar40;
  undefined4 uVar41;
  uint uVar42;
  undefined4 *puVar43;
  undefined4 uVar44;
  int iVar45;
  undefined4 *puVar46;
  undefined4 uVar47;
  uint uVar48;
  undefined uVar49;
  byte bVar50;
  byte in_AF;
  byte bVar51;
  byte bVar52;
  byte in_TF;
  byte in_IF;
  byte bVar53;
  byte in_NT;
  byte in_AC;
  byte in_VIF;
  byte in_VIP;
  byte in_ID;
  undefined4 *****pppppuStack1208;
  undefined4 *****pppppuStack1204;
  int *piStack1200;
  int iStack1196;
  undefined **ppuStack1192;
  wchar_t *pwStack1188;
  undefined **ppuStack1168;
  int *piVar54;
  char **ppcVar55;
  int iStack1108;
  int *local_450;
  undefined4 local_44c;
  undefined4 local_448;
  undefined4 local_440;
  undefined4 local_43c;
  undefined4 uStack1054;
  wchar_t local_414 [512];
  int iStack20;
  uint local_4;
  
  local_4 = DAT_004acbf8 ^ (uint)&iStack1108;
  local_440 = param_1;
  local_450 = param_3;
  local_44c = param_5;
  if ((*param_3 == 0) || (param_3[5] == 0)) {
    @__security_check_cookie@4();
    return;
  }
  local_43c = 0;
  local_448 = 0;
  if (param_2 == (wchar_t *)0x0) {
    local_414[0] = L'\0';
  }
  else {
    _wcscpy_s(local_414,0x208,param_2);
  }
  ppuStack1168 = (undefined **)(*DAT_0049b2c0)();
  if (ppuStack1168 == (char **)0x0) {
    @__security_check_cookie@4();
    return;
  }
  if (param_2 == (wchar_t *)0x0) {
    ppcVar55 = ppuStack1168;
    FUN_004088c0();
    pcVar8 = (char *)((int)ppuStack1168 + 0xd);
    _strcat_s(pcVar8,0x200,&DAT_0049c674);
    do {
      cVar2 = *pcVar8;
      pcVar8 = pcVar8 + 1;
    } while (cVar2 != '\0');
    *ppuStack1168 = pcVar8 + -((int)ppuStack1168 + 0xe);
    puVar7 = PTR_FUN_0049b458;
    uVar42 = 0;
    piVar54 = param_3 + 5;
    param_3 = unaff_EBX;
    if (*piVar54 != 0) {
      iVar20 = 0;
      do {
        if (*(char *)(*(int *)(param_3[0xb] + 0xe9) + 0x1a + iVar20) == '\0') {
          (*(code *)puVar7)();
          FUN_004088c0();
        }
        else {
          FUN_004088c0();
        }
        uVar42 = uVar42 + 1;
        iVar20 = iVar20 + 0x8e;
      } while (uVar42 < (uint)param_3[5]);
    }
    if ((iStack1108 != 0) || (iVar20 = FUN_0041e550(), iVar20 != 0)) {
      piVar54 = (int *)0x0;
      iVar20 = (*DAT_0049b2a0)();
      if (iVar20 == -1) {
        (*DAT_0049b2a8)();
        FUN_004274c0();
        pwStack1188 = (wchar_t *)0x0;
        ppuStack1192 = (undefined **)0x409edc;
        FUN_0041e780();
        goto LAB_00409edf;
      }
      pvVar9 = operator_new(0x14);
      if (pvVar9 == (void *)0x0) {
        piVar10 = (int *)0x0;
      }
      else {
        piVar10 = (int *)FUN_004085a0();
      }
      pcVar8 = s_<?xml_version="1.0"_encoding="UT_004a9668;
      do {
        cVar2 = *pcVar8;
        pcVar8 = pcVar8 + 1;
      } while (cVar2 != '\0');
      (**(code **)(*piVar10 + 4))();
      piVar15 = (int *)((int)piVar54 + 0xe);
      (**(code **)(*piVar10 + 4))();
      pcVar8 = s_"_minOccurs="0"_maxOccurs="unbou_004a9750;
      do {
        cVar2 = *pcVar8;
        pcVar8 = pcVar8 + 1;
      } while (cVar2 != '\0');
      pwStack1188 = 
      L"낸䪗贀ňႊ삃萁痒请⬖僁䊋栄鞰J캋탿΋ᚋ劋茄Ө坐캋틿쒸䪗贀ňႊ삃萁痒请⬖僁䊋栄韄J캋탿첸䪗贀ňႊ삃萁痒请⬖僁䊋栄韌J캋탿䲋ᐤ禃\x14䓇ᰤ "
      ;
      (**(code **)(*piVar10 + 4))();
      pcVar8 = s_<xsd:element_name="_004a97b0;
      do {
        pcVar16 = pcVar8;
        pcVar8 = pcVar16 + 1;
      } while (*pcVar16 != '\0');
      pwStack1188 = (wchar_t *)(pcVar16 + -0x4a97b0);
      ppuStack1192 = (undefined **)s_<xsd:element_name="_004a97b0;
      (**(code **)(*piVar10 + 4))();
      iVar20 = *piVar54;
      (**(code **)(*piVar10 + 4))();
      pcVar8 = &DAT_004a97c4;
      do {
        cVar2 = *pcVar8;
        pcVar8 = pcVar8 + 1;
      } while (cVar2 != '\0');
      (**(code **)(*piVar10 + 4))();
      pcVar8 = s_<xsd:complexType>_<xsd:sequence>_004a97cc;
      do {
        cVar2 = *pcVar8;
        pcVar8 = pcVar8 + 1;
      } while (cVar2 != '\0');
      (**(code **)(*piVar10 + 4))();
      pwStack1188 = (wchar_t *)0x0;
      if (*(int *)(iVar20 + 0x10) != 0) {
        piVar54 = piVar15;
        do {
          piVar54 = piVar54 + 0x104;
          *(undefined *)((int)piVar54 + *piVar54 + (-0x410 - (int)piVar15) + 0x41c + (int)piVar15 ) =
               0;
          FUN_00408a30();
          pwVar11 = u_2_cols_004aee08;
          *(undefined *)((int)piVar54 + *piVar54 + (-0x410 - (int)piVar15) + 0x41c + (int)piVar15 ) =
               0x3e;
          do {
            cVar2 = *(char *)pwVar11;
            pwVar11 = (wchar_t *)((int)pwVar11 + 1);
          } while (cVar2 != '\0');
          (**(code **)(*piVar10 + 4))();
          pwStack1188 = (wchar_t *)((int)pwStack1188 + 1);
        } while (pwStack1188 < *(uint *)(iVar20 + 0x10));
      }
      pcVar8 = s_</xsd:sequence>_</xsd:complexTyp_004a9848;
      do {
        cVar2 = *pcVar8;
        pcVar8 = pcVar8 + 1;
      } while (cVar2 != '\0');
      (**(code **)(*piVar10 + 4))();
      _wcscpy_s(u_2_cols_004aee08,0x800,(wchar_t *)&stack0xfffffb88);
      (**(code **)(*piVar10 + 8))();
      (*DAT_0049b2a4)();
    }
    pwVar11 = u_.xml_0049c654;
    ppuStack1168 = ppcVar55;
  }
  else {
    pwVar11 = u_.csv_0049c648;
  }
  ppcVar55 = ppuStack1168;
  pwVar12 = _wcsrchr((wchar_t *)((int)&uStack1054 + 2),L'.');
  if (pwVar12 != (wchar_t *)0x0) {
    *pwVar12 = L'\0';
    puVar13 = (undefined4 *)pwVar11;
    do {
      sVar3 = *(short *)puVar13;
      puVar13 = (undefined4 *)((int)puVar13 + 2);
    } while (sVar3 != 0);
    puVar46 = &uStack1054;
    do {
      psVar1 = (short *)((int)puVar46 + 2);
      puVar46 = (undefined4 *)((int)puVar46 + 2);
    } while (*psVar1 != 0);
    puVar43 = (undefined4 *)pwVar11;
    for (uVar42 = (uint)((int)puVar13 - (int)pwVar11) >> 2; uVar42 != 0; uVar42 = uVar42 - 1) {
      *puVar46 = *puVar43;
      puVar43 = puVar43 + 1;
      puVar46 = puVar46 + 1;
    }
    for (uVar42 = (int)puVar13 - (int)pwVar11 & 3; ppuStack1168 = ppcVar55, uVar42 != 0;
        uVar42 = uVar42 - 1) {
      *(undefined *)puVar46 = *(undefined *)puVar43;
      puVar43 = (undefined4 *)((int)puVar43 + 1);
      puVar46 = (undefined4 *)((int)puVar46 + 1);
    }
  }
  if ((iStack1108 != 0) || (iVar20 = FUN_0041e550(), iVar20 != 0)) {
    iVar20 = 0;
    piVar10 = (int *)0x0;
    uVar42 = (int)&uStack1054 + 2;
    piVar54 = (int *)(*DAT_0049b2a0)();
    if (piVar54 != (int *)0xffffffff) {
      ppiVar14 = (int **)operator_new(0x14);
      if (ppiVar14 == (int **)0x0) {
        ppiVar14 = (int **)0x0;
      }
      else {
        *ppiVar14 = (int *)&PTR_LAB_0049c4d8;
        ppiVar14[1] = piVar54;
        ppiVar14[2] = (int *)0x0;
        ppiVar14[3] = (int *)0x0;
        ppiVar14[4] = (int *)0x0;
        piVar15 = (int *)(*DAT_0049b2ac)();
        ppiVar14[4] = piVar15;
        if (piVar15 != (int *)0x0) {
          ppiVar14[2] = (int *)&DAT_00001000;
        }
      }
      if (iStack20 == 0) {
        pcVar8 = s_<?xml_version="1.0"_encoding="UT_004a958c;
        do {
          cVar2 = *pcVar8;
          pcVar8 = pcVar8 + 1;
        } while (cVar2 != '\0');
        (*(code *)(*ppiVar14)[1])();
        pcVar8 = s_<dataroot_xmlns:od="urn:schemas-_004a95b8;
        do {
          cVar2 = *pcVar8;
          pcVar8 = pcVar8 + 1;
        } while (cVar2 != '\0');
        (*(code *)(*ppiVar14)[1])();
        if (iVar20 != 0) {
          pwStack1188 = L"쒃蔈瓀茅ˀ׫ࢸ䫮樀樀栀Ͽ";
          _wcsrchr(u_2_cols_004aee08,L'\\');
          pwStack1188 = (wchar_t *)0x3ff;
          ppuStack1192 = (undefined **)&DAT_004afe08;
          (*DAT_0049b28c)();
          pcVar8 = &DAT_004afe08;
          do {
            cVar2 = *pcVar8;
            pcVar8 = pcVar8 + 1;
          } while (cVar2 != '\0');
          (*(code *)(*ppiVar14)[1])();
        }
        pcVar8 = &DAT_004a9648;
        do {
          pcVar16 = pcVar8;
          pcVar8 = pcVar16 + 1;
        } while (*pcVar16 != '\0');
        uVar49 = pcVar8 < &DAT_004a9649;
        bVar53 = SBORROW4((int)pcVar8,0x4a9649);
        pcVar16 = pcVar16 + -0x4a9648;
        bVar52 = (int)pcVar16 < 0;
        bVar51 = pcVar16 == (char *)0x0;
        bVar50 = (POPCOUNT((uint)pcVar16 & 0xff) & 1U) == 0;
        pwStack1188 = L"\xf2e9";
        (*(code *)(*ppiVar14)[1])();
        uVar17 = extraout_ECX;
        piStack1200 = extraout_EDX;
        goto LAB_0040a0d9;
      }
      piVar15 = (int *)0x3;
      ppuStack1168 = &PTR_DAT_004a9588;
      (*(code *)(*ppiVar14)[1])();
      piVar54 = param_3 + 5;
      piStack1200 = extraout_EDX_00;
      uVar19 = extraout_var;
      param_3 = piVar15;
      if (*piVar54 != 0) {
        iVar20 = 0;
        pcVar8 = s_<ss:Row_ss:StyleID="1">_004a9990 + 0x14;
        uVar22 = 0;
        piStack1200 = piVar15;
        do {
          if (uVar22 != 0) {
            *(undefined4 *)(pcVar8 + -4) = 1;
            *pcVar8 = DAT_004a9584;
            pwStack1188 = (wchar_t *)0x1;
            ppuStack1192 = (undefined **)&DAT_004a9584;
            (*(code *)(*ppiVar14)[1])();
          }
          pwStack1188 = (wchar_t *)(*(int *)(piStack1200[0xb] + 0xe9) + 0x1a + iVar20);
          if (*(char *)(*(int *)(piStack1200[0xb] + 0xe9) + 0x1a + iVar20) == '\0') {
            pwStack1188 = (wchar_t *)(uVar22 + 1);
            ppuStack1192 = (undefined **)u_COL%u_0049c63c;
          }
          else {
            ppuStack1192 = &PTR_DAT_0049c634;
          }
          (*DAT_0049b3f8)();
          pwStack1188 = u_2_cols_004aee08;
          ppuStack1192 = (undefined **)ppiVar14;
          FUN_00409120();
          uVar22 = uVar22 + 1;
          pcVar8 = pcVar8 + 0x410;
          iVar20 = iVar20 + 0x8e;
          uVar19 = extraout_var_00;
          param_3 = piStack1200;
        } while (uVar22 < (uint)piStack1200[5]);
      }
      uVar49 = 0;
      bVar53 = 0;
      bVar52 = 0;
      bVar51 = ((byte)DAT_004a9b64 & 0x40) == 0;
      bVar50 = POPCOUNT((byte)DAT_004a9b64 & 0x40) == '\0';
      piVar54 = piVar10;
      if (!(bool)bVar51) {
        bVar52 = (int)uVar42 < 0;
        bVar51 = uVar42 == 0;
        bVar50 = (POPCOUNT(uVar42 & 0xff) & 1U) == 0;
        if ((bool)bVar51) {
          uVar49 = 0;
          bVar53 = 0;
          uVar42 = param_3[4];
          bVar52 = (int)uVar42 < 0;
          bVar51 = uVar42 == 0;
          bVar50 = (POPCOUNT(uVar42 & 0xff) & 1U) == 0;
          if ((bool)bVar51) goto LAB_0040a0ba;
        }
        bVar53 = 0;
        uVar49 = 0;
        pwStack1188 = (wchar_t *)0x2;
        ppuStack1192 = (undefined **)&DAT_0049c630;
        (*(code *)(*ppiVar14)[1])();
        piStack1200 = extraout_EDX_01;
        uVar19 = extraout_var_01;
        piVar54 = piVar10;
      }
LAB_0040a0ba:
      PTR_DAT_004a9588 = (undefined *)0x2;
      uVar17 = CONCAT22(uVar19,DAT_004a9586);
      s_<?xml_version="1.0"_encoding="UT_004a958c._9_2_ = DAT_004a9586;
LAB_0040a0d9:
      rdtsc();
      if ((bool)uVar49) {
        rdtsc();
      }
      rdtsc();
      pwStack1188 = (wchar_t *)
                    ((uint)(in_NT & 1) * 0x4000 | (uint)(bVar53 & 1) * 0x800 |
                     (uint)(in_IF & 1) * 0x200 | (uint)(in_TF & 1) * 0x100 |
                     (uint)(bVar52 & 1) * 0x80 | (uint)(bVar51 & 1) * 0x40 |
                     (uint)(in_AF & 1) * 0x10 | (uint)(bVar50 & 1) * 4 | (uint)(uVar49 & 1) |
                     (uint)(in_ID & 1) * 0x200000 | (uint)(in_VIP & 1) * 0x100000 |
                     (uint)(in_VIF & 1) * 0x80000 | (uint)(in_AC & 1) * 0x40000);
      ppuStack1192 = (undefined **)0xc;
      rdtsc();
      iStack1196 = iStack1196 + -0x7556fd0;
      pppppuStack1208 = &pppppuStack1208;
      pppppuStack1204 = &pppppuStack1204;
      ppiVar14[1] = (int *)ppiVar14;
      *ppiVar14 = piStack1200;
      *ppiVar14 = (int *)0x3ffd962c;
      *ppiVar14 = (int *)~(uint)*ppiVar14;
      *ppiVar14 = (int *)-(int)*ppiVar14;
      ppiVar14[-1] = (int *)uVar17;
      *ppiVar14 = (int *)((uint)*ppiVar14 ^ 0x4cf08184);
      *ppiVar14 = (int *)((int)*ppiVar14 + 0x7c7b758f);
      ppiVar14[-1] = ppiVar14[-1];
      *ppiVar14 = (int *)((uint)*ppiVar14 & 0x7def350d);
      piVar10 = ppiVar14[-1];
      *ppiVar14 = (int *)((uint)*ppiVar14 ^ 0x7ee76b00);
      ppiVar14[-1] = (int *)((uint)&iStack1196 ^ 0x6f1602 ^ (uint)&iStack1196);
      ppiVar14[-2] = param_3;
      ppiVar14[-3] = piVar54;
      ppiVar14[-3] = (int *)0x7ecec7e1;
      ppiVar14[-4] = ppiVar14[-3];
      piVar15 = ppiVar14[-2];
      *ppiVar14 = (int *)((int)*ppiVar14 + 0x3fab0e86);
      *ppiVar14 = (int *)((int)*ppiVar14 + (int)ppiVar14[-4] + -0x2b0d7770);
      *ppiVar14 = (int *)((int)*ppiVar14 + -0x3fab0e86);
      uVar17 = ppiVar14[-1];
      *ppiVar14 = piVar10;
      *ppiVar14 = piVar15;
      *ppiVar14 = piVar10;
      *ppiVar14 = (int *)ppiVar14;
      *ppiVar14 = piStack1200;
      *ppiVar14 = (int *)ppuStack1168;
      ppiVar14[-1] = (int *)0x792f1f;
      ppiVar14[-2] = ppiVar14[-1];
      uVar18 = ppiVar14[-2];
      ppiVar14[-2] = (int *)uVar18;
      ppiVar14[-2] = piVar54;
      ppiVar14[-3] = (int *)(ppiVar14 + -2);
      iVar21 = (int)ppiVar14[-3];
      ppiVar14[-3] = (int *)0x731df47a;
      ppiVar14[-3] = (int *)uVar17;
      ppiVar14[-4] = piStack1200;
      ppiVar14[-4] = (int *)ppuStack1168;
      ppiVar14[-4] = (int *)ppiVar14;
      ppiVar14[-5] = (int *)uVar18;
      uVar18 = ppiVar14[-5];
      uVar44 = ppiVar14[-4];
      ppiVar14[-4] = (int *)0x4;
      iVar20 = (int)ppiVar14[-4];
      ppiVar14[-4] = (int *)iVar20;
      uVar17 = ppiVar14[-3];
      ppiVar14[-3] = (int *)0x34bef78f;
      ppiVar14[-3] = piVar15;
      uVar39 = ppiVar14[-3];
      uVar22 = iVar21 + iVar20 + 4U ^ (uint)ppiVar14[-2];
      ppiVar14[-2] = (int *)((uint)ppiVar14[-2] ^ uVar22);
      uVar42 = (uint)ppiVar14[-2];
      puVar25 = (uint *)ppiVar14[-2];
      *puVar25 = 0x37f85a4c;
      *puVar25 = uVar22 ^ uVar42;
      puVar25[-1] = uVar18;
      puVar25[-2] = 4;
      iVar20 = puVar25[-1];
      uVar18 = *puVar25;
      *puVar25 = (uint)puVar25;
      puVar26 = (uint *)*puVar25;
      puVar26[1] = uVar39;
      *puVar26 = (uint)ppuStack1168;
      *puVar26 = 0x3afdb600;
      *puVar26 = *puVar26 + -1;
      *puVar26 = *puVar26 & 0x7fed1cce;
      *puVar26 = *puVar26 >> 5;
      *puVar26 = *puVar26 + -0x1d76402;
      iVar21 = *puVar26;
      *puVar26 = uVar44;
      puVar26[-1] = 0x5dff5424;
      puVar26[-1] = puVar26[-1] + -1;
      uVar44 = *puVar26;
      *puVar26 = puVar26[1];
      puVar26[1] = 0x3243f6f;
      puVar26[1] = uVar18;
      puVar26[1] = (iVar20 - iVar21) + -0x7ffda8c1 + (puVar26[-1] ^ 0x2202fce2);
      *puVar26 = (uint)puVar26;
      puVar26[-1] = uVar17;
      *puVar26 = *puVar26 + 4;
      uVar39 = puVar26[-1];
      puVar26[-1] = *puVar26;
      uVar17 = puVar26[-1];
      puVar26[-1] = uVar44;
      puVar26[-2] = uVar17;
      uVar22 = puVar26[-2];
      uVar17 = puVar26[-1];
      puVar26[-1] = (uint)(puVar26 + 1);
      puVar4 = (uint *)puVar26[-1];
      puVar4[-1] = uVar18;
      uVar23 = puVar4[-1];
      puVar4[-1] = 0x5fe330e8;
      puVar4[-1] = uVar22 + 4;
      puVar4[-1] = (uint)piStack1200;
      uVar18 = puVar4[-1];
      uVar22 = uVar22 ^ *puVar4;
      *puVar4 = *puVar4 ^ uVar22;
      uVar42 = *puVar4;
      puVar27 = (uint *)*puVar4;
      puVar27[1] = uVar17;
      iVar21 = (uVar22 ^ uVar42) - 0x392a7b;
      uVar17 = puVar27[1];
      puVar27[1] = 0x7807a48;
      puVar27[1] = (uint)ppuStack1168;
      *puVar27 = iVar21;
      *puVar27 = uVar23;
      *puVar27 = uVar39;
      puVar27[-1] = uVar23;
      puVar27[-1] = 0x5b690eea;
      puVar27[-2] = 0x3fc710db;
      puVar27[-3] = uVar17;
      puVar27[-3] = 0xdb6e76a5;
      uVar42 = puVar27[-2];
      puVar27[-2] = puVar27[-1];
      puVar27[-1] = puVar27[-2];
      uVar39 = *puVar27;
      *puVar27 = puVar27[-1] + (puVar27[-3] + 0x8c0c20a9 ^ uVar42) + 0x4c0ff1d5;
      puVar27[-1] = *puVar27;
      iVar40 = puVar27[-1];
      *puVar27 = puVar27[1];
      puVar27[1] = *puVar27;
      uVar47 = puVar27[1];
      puVar27[1] = uVar39;
      uVar44 = puVar27[1];
      puVar27[1] = iVar21;
      puVar27[1] = uVar47;
      *puVar27 = iVar21;
      uVar39 = *puVar27;
      *puVar27 = puVar27[1];
      uVar47 = *puVar27;
      *puVar27 = uVar47;
      *puVar27 = uVar23;
      puVar27[-1] = uVar44;
      uVar44 = puVar27[-1];
      uVar42 = *puVar27;
      *puVar27 = *puVar27 ^ (uint)(puVar27 + 2) ^ uVar42;
      uVar22 = *puVar27;
      puVar28 = (uint *)*puVar27;
      *puVar28 = uVar17;
      *puVar28 = uVar39;
      puVar28[-1] = uVar39;
      *puVar28 = 0x518420b1;
      uVar39 = puVar28[-1];
      *puVar28 = uVar39;
      *puVar28 = 0x7995a8ff;
      *puVar28 = *puVar28 + 1;
      *puVar28 = *puVar28 + 1;
      *puVar28 = *puVar28 ^ 0xd6e4187;
      *puVar28 = *puVar28 & 0x5bda4df5;
      puVar28[-1] = uVar44;
      puVar28[-2] = uVar18;
      puVar28[-3] = (uint)(puVar27 + 2) ^ uVar42 ^ uVar22;
      puVar28[-4] = uVar47;
      uVar18 = puVar28[-3];
      puVar28[-3] = uVar39;
      puVar28[-3] = 0x301e51b7;
      puVar28[-3] = 0xf318ce6;
      puVar28[-3] = puVar28[-3] + -0x67ddb0dd;
      uVar44 = puVar28[-2];
      *puVar28 = *puVar28 + puVar28[-3] + 0x67ddb0dd;
      puVar28[-2] = puVar28[-1];
      *puVar28 = uVar39;
      puVar28[-1] = 0x53db26e1;
      puVar28[-1] = puVar28[-4];
      puVar28[-2] = puVar28[-2];
      puVar28[-3] = 0x77efa682;
      puVar28[-4] = uVar17;
      iVar20 = puVar28[-3];
      puVar28[-3] = puVar28[-4];
      uVar39 = puVar28[-3];
      puVar28[-3] = uVar18;
      uVar17 = puVar28[-3];
      puVar28[-4] = uVar39;
      uVar18 = puVar28[-4];
      puVar28[-4] = (uint)(puVar28 + -2);
      puVar29 = (uint *)puVar28[-4];
      uVar39 = puVar29[1];
      puVar29[1] = uVar18;
      puVar29[1] = uVar17;
      *puVar29 = uVar39;
      puVar29[-1] = 0x77efa683 - iVar20;
      puVar29[-1] = puVar29[-1] + 0x7a8f3d60;
      iVar20 = puVar29[-1];
      puVar29[-1] = 0x759d3b1;
      puVar29[-1] = iVar20 + -0x7a8f3d60;
      uVar39 = puVar29[-1];
      uVar42 = *puVar29;
      uVar17 = puVar29[2];
      puVar29[2] = uVar42;
      puVar29[1] = (uVar42 ^ uVar42 ^ 0x7f464196) - 1;
      puVar29[2] = uVar17;
      puVar29[2] = puVar29[2];
      puVar29[1] = puVar29[1] + -1;
      uVar42 = puVar29[1];
      uVar23 = puVar29[2];
      puVar29[2] = iVar40 + iVar21;
      puVar29[1] = uVar44;
      *puVar29 = (uint)(puVar29 + 1);
      uVar17 = *puVar29;
      *puVar29 = uVar23;
      *puVar29 = uVar17;
      puVar29[-1] = puVar29[1];
      iVar20 = puVar29[-1];
      *puVar29 = *puVar29;
      puVar30 = (undefined4 *)puVar29[1];
      puVar30[1] = 0x6ffe41f1;
      uVar22 = puVar30[1];
      puVar30[1] = uVar18;
      uVar17 = puVar30[1];
      puVar30[1] = ~uVar22;
      iVar21 = puVar30[1];
      puVar30[1] = uVar39;
      iVar40 = puVar30[2];
      do {
        LOCK();
        piVar54 = (int *)(iVar40 + ((uVar42 | 0x6dff3121) - (iVar21 + -0x10024ccd)));
      } while (*piVar54 != 0);
      *piVar54 = puVar30[1];
      puVar30[2] = puVar30[3];
      uVar44 = puVar30[2];
      puVar30[2] = 0;
      puVar30[2] = (uVar42 | 0x6dff3121) - (iVar21 + -0x10024ccd);
      puVar30[1] = puVar30 + 2;
      *puVar30 = 0;
      uVar39 = *puVar30;
      uVar18 = puVar30[1];
      puVar30[1] = puVar30 + 1;
      puVar13 = (undefined4 *)puVar30[1];
      *puVar13 = uVar18;
      puVar13[-1] = puVar13[1];
      *puVar13 = *puVar13;
      piVar54 = (int *)puVar13[1];
      *piVar54 = iVar20;
      piVar54[-1] = iVar40;
      piVar54[-2] = uVar44;
      uVar44 = piVar54[-1];
      piVar54[-1] = piVar54[-2];
      piVar54[-2] = uVar23;
      piVar54[-3] = 0x76e78cd0;
      uVar18 = piVar54[-2];
      uVar23 = piVar54[-1];
      iVar20 = *piVar54;
      *piVar54 = (int)piVar54 + piVar54[-3] + -0x76e78cc8;
      iVar21 = *piVar54;
      *(undefined4 *)(iVar21 + -4) = 0x7a96c923;
      *(undefined4 *)(iVar21 + -4) = uVar44;
      *(undefined4 *)(iVar21 + -8) = uVar39;
      *(int *)(iVar21 + -8) = iVar20;
      *(undefined4 *)(iVar21 + -8) = uVar44;
      *(undefined4 *)(iVar21 + -0xc) = uVar18;
      *(undefined4 *)(iVar21 + -8) = 0x5bfdf617;
      *(int *)(iVar21 + -8) = *(int *)(iVar21 + -8) + 0x4baf00a9;
      *(uint *)(iVar21 + -8) = *(uint *)(iVar21 + -8) >> 6;
      *(undefined4 *)(iVar21 + -0xc) = *(undefined4 *)(iVar21 + -0xc);
      *(undefined4 *)(iVar21 + -0x10) = uVar39;
      uVar18 = *(undefined4 *)(iVar21 + -0x10);
      *(uint *)(iVar21 + -8) = *(uint *)(iVar21 + -8) ^ 0xd616309;
      uVar44 = *(undefined4 *)(iVar21 + -0xc);
      iVar40 = *(int *)(iVar21 + -8);
      *(undefined4 *)(iVar21 + -8) = uVar23;
      *(int *)(iVar21 + -8) = iVar40 * 8 + -0x7ffe8641;
      uVar39 = *(undefined4 *)(iVar21 + -8);
      *(undefined4 *)(iVar21 + -8) = *(undefined4 *)(iVar21 + -4);
      *(undefined4 *)(iVar21 + -0xc) = *(undefined4 *)(iVar21 + -8);
      iVar40 = *(int *)(iVar21 + -0xc);
      *(undefined4 *)(iVar21 + -0xc) = uVar39;
      *(int *)(iVar21 + -0x10) = iVar20;
      uVar39 = *(undefined4 *)(iVar21 + -0x10);
      uVar42 = iVar21 - 4U ^ *(uint *)(iVar21 + -0xc);
      *(uint *)(iVar21 + -0xc) = *(uint *)(iVar21 + -0xc) ^ uVar42;
      uVar42 = uVar42 ^ *(uint *)(iVar21 + -0xc);
      puVar31 = *(uint **)(iVar21 + -0xc);
      puVar31[1] = uVar18;
      *puVar31 = uVar44;
      *puVar31 = uVar42;
      iVar20 = *puVar31;
      *puVar31 = uVar44;
      puVar31[-1] = uVar17;
      puVar31[-1] = uVar42;
      uVar47 = puVar31[-1];
      uVar44 = *puVar31;
      *puVar31 = uVar39;
      uVar18 = *puVar31;
      piVar54 = (int *)(iVar20 + iVar40);
      *puVar31 = uVar44;
      puVar31[-1] = iVar40;
      uVar41 = puVar31[-1];
      puVar31[-1] = uVar18;
      uVar18 = *puVar31;
      *puVar31 = puVar31[-1];
      puVar31[-1] = uVar23;
      puVar31[-1] = puVar31[-1] + 0x6ffd7555;
      *piVar54 = puVar31[-1];
      *piVar54 = *piVar54 + -0x6ffd7555;
      uVar39 = *puVar31;
      uVar44 = puVar31[1];
      puVar31[1] = uVar41;
      *puVar31 = uVar47;
      puVar31[-1] = 0x5b7f6a00;
      uVar47 = puVar31[-1];
      *puVar31 = uVar44;
      puVar31[-1] = uVar23;
      uVar44 = puVar31[-1];
      puVar31[-1] = (uint)(puVar31 + -1);
      piVar32 = (int *)puVar31[-1];
      piVar32[1] = uVar18;
      *piVar32 = uVar47;
      uVar18 = *piVar32;
      *piVar32 = 0x673c13cd;
      *piVar32 = 0xa480968e;
      *piVar32 = *piVar32 + -0x3f1bddc1;
      iVar20 = *piVar32;
      *piVar32 = uVar44;
      uVar44 = *piVar32;
      uVar23 = piVar32[1];
      piVar32[1] = iVar20 + 0x3f1bddc1;
      *piVar32 = uVar18;
      piVar32[1] = piVar32[1] ^ 0x5fffd1cb;
      uVar18 = piVar32[2];
      iVar40 = (piVar32[1] ^ 0x5fffd1cbU) + *piVar32;
      piVar32[2] = piVar32[3];
      piVar32[1] = (int)(piVar32 + 2);
      iVar20 = piVar32[2];
      piVar32[2] = piVar32[1] + 8;
      puVar33 = (uint *)piVar32[2];
      *(undefined4 *)(iVar20 + iVar40) = 0x7fdfcef9;
      *puVar33 = uVar23;
      *puVar33 = uVar44;
      puVar33[-1] = 0x2fefdc29;
      iVar21 = puVar33[-1];
      puVar33[-1] = uVar17;
      uVar17 = puVar33[-1];
      *(int *)(iVar20 + iVar40) = *(int *)(iVar20 + iVar40) - (iVar21 * -0x80 ^ 0x16ae30e8U);
      uVar44 = *puVar33;
      *(int *)(iVar20 + iVar40) = -*(int *)(iVar20 + iVar40);
      *(uint *)(iVar20 + iVar40) = *(uint *)(iVar20 + iVar40) >> 3;
      *puVar33 = uVar18;
      puVar33[-1] = uVar44;
      puVar33[-1] = uVar39;
      uVar18 = puVar33[-1];
      *(uint *)(iVar40 + iVar20) = *(uint *)(iVar40 + iVar20) ^ 0x64229bb8;
      uVar39 = *puVar33;
      *puVar33 = uVar23;
      *puVar33 = 0x7ba360f9;
      *puVar33 = *puVar33 ^ 0x472395b3;
      *puVar33 = uVar39;
      puVar33[-1] = iVar40;
      puVar33[-1] = puVar33[-1] + 0x589f707e;
      *(int *)(puVar33[-1] + -0x589f707e + iVar20) =
           *(int *)(puVar33[-1] + -0x589f707e + iVar20) + 0x7f7638c7;
      puVar33[-1] = *puVar33;
      uVar39 = puVar33[-1];
      *(int *)(iVar20 + iVar40) = *(int *)(iVar20 + iVar40) + 0x8cb2d04;
      *puVar33 = uVar39;
      *puVar33 = uVar23;
      puVar33[-1] = uVar44;
      puVar33[-1] = 0x3eef6806;
      puVar33[-2] = uVar44;
      puVar33[-3] = (uint)(puVar33 + -3);
      puVar33[-3] = puVar33[-3] + 4;
      iVar21 = puVar33[-3];
      puVar33[-3] = puVar33[-1];
      puVar33[-4] = iVar20;
      puVar33[-5] = 0x70c5375;
      uVar44 = puVar33[-4];
      puVar33[-4] = uVar17;
      uVar23 = puVar33[-4];
      iVar40 = puVar33[-3];
      uVar42 = iVar21 + (-~((~(puVar33[-5] ^ 0x3f7ea282) + 0xb7cee2f8 | 0x7335fb93) - 1) ^
                        0x7f7ffb97) + 4 ^ puVar33[-2];
      puVar33[-2] = puVar33[-2] ^ uVar42;
      puVar13 = (undefined4 *)puVar33[-2];
      puVar13[-1] = uVar42 ^ puVar33[-2];
      puVar13[-2] = 0xded00b9c;
      iVar20 = puVar13[-2];
      puVar13[-2] = puVar13[-1];
      uVar39 = puVar13[-2];
      uVar47 = *puVar13;
      *puVar13 = puVar13[0xb];
      puVar13[-1] = *puVar13;
      uVar17 = puVar13[-1];
      puVar13[-1] = iVar40 * 0x200 - iVar20;
      puVar13[-2] = uVar18;
      puVar13[-2] = puVar13 + -2;
      puVar13[-2] = puVar13[-2] + 4;
      iVar21 = puVar13[-2];
      puVar13[-2] = uVar44;
      puVar13[-3] = uVar18;
      uVar44 = puVar13[-3];
      puVar13[-3] = uVar17;
      uVar17 = puVar13[-3];
      puVar13[-3] = uVar39;
      puVar13[-3] = puVar13[-3];
      uVar18 = puVar13[-3];
      iVar20 = puVar13[-2];
      uVar22 = iVar21 + 8U ^ puVar13[-1];
      puVar13[-1] = puVar13[-1] ^ uVar22;
      uVar22 = uVar22 ^ puVar13[-1];
      iVar21 = puVar13[-1];
      *(undefined4 *)(iVar21 + -4) = 0x9f9c50b;
      *(undefined4 *)(iVar21 + -4) = uVar44;
      *(undefined4 *)(iVar21 + -8) = uVar17;
      *(undefined4 *)(iVar21 + -0xc) = uVar47;
      uVar17 = *(undefined4 *)(iVar21 + -0xc);
      iVar40 = *(int *)(iVar21 + -8);
      *(undefined4 *)(iVar21 + -8) = 0x7bd8210e;
      *(undefined4 *)(iVar21 + -8) = 0x6ef73242;
      *(int *)(iVar21 + -8) = -*(int *)(iVar21 + -8);
      uVar42 = *(uint *)(iVar21 + -8);
      *(undefined4 *)(iVar21 + -8) = uVar23;
      *(uint *)(iVar21 + -0xc) = uVar42 >> 7;
      *(undefined4 *)(iVar21 + -0x10) = uVar17;
      uVar17 = *(undefined4 *)(iVar21 + -0x10);
      *(undefined4 *)(iVar21 + -0x10) = 0x121710e6;
      *(int *)(iVar21 + -0x10) = *(int *)(iVar21 + -0x10) + 1;
      uVar42 = *(uint *)(iVar21 + -0xc);
      *(undefined4 *)(iVar21 + -0xc) = 0x6d0c8704;
      *(undefined4 *)(iVar21 + -0xc) = uVar18;
      uVar18 = *(undefined4 *)(iVar21 + -8);
      *(undefined4 *)(iVar21 + -8) = uVar17;
      uVar23 = *(undefined4 *)(iVar21 + -8);
      uVar17 = *(undefined4 *)(iVar21 + -4);
      *(undefined4 *)(iVar21 + -4) = 0x730684aa;
      *(int *)(iVar21 + -4) = iVar20;
      *(int *)(iVar21 + -4) = *(int *)(iVar21 + -0xc);
      *(int *)(iVar21 + -8) = iVar20;
      *(uint *)(iVar21 + -8) =
           iVar40 + ((uVar42 ^ 0x1e730955 - ((*(uint *)(iVar21 + -0x10) | 0x73f95379) + 0x8c00ac0 2))
                    >> 6) + *(int *)(iVar21 + -0xc) + -0x7d4463;
      *(undefined4 *)(iVar21 + -0xc) = uVar17;
      *(uint *)(iVar21 + -0x10) = uVar22;
      *(undefined4 *)(iVar21 + -0x14) = uVar18;
      uVar39 = *(undefined4 *)(iVar21 + -0xc);
      *(undefined4 *)(iVar21 + -0xc) = *(undefined4 *)(iVar21 + -0x14);
      uVar17 = *(undefined4 *)(iVar21 + -0xc);
      *(undefined4 *)(iVar21 + -0xc) = *(undefined4 *)(iVar21 + -0x10);
      *(undefined4 *)(iVar21 + -0x10) = 0;
      *(undefined4 *)(iVar21 + -0x14) = 0x5fcb57ae;
      *(undefined4 *)(iVar21 + -0x10) = uVar17;
      uVar47 = *(undefined4 *)(iVar21 + -0x10);
      uVar44 = *(undefined4 *)(iVar21 + -0xc);
      *(undefined4 *)(iVar21 + -0xc) = *(undefined4 *)(iVar21 + -8);
      uVar18 = *(undefined4 *)(iVar21 + -0xc);
      *(undefined4 *)
       (uVar22 + (*(int *)(iVar21 + -0x14) + 0x9016e9f5U ^ 0xf00c260f) + iVar20 + -0x1fee67ac) =
           uVar18;
      uVar17 = *(undefined4 *)(iVar21 + -4);
      *(undefined4 *)(iVar21 + -4) = uVar23;
      *(undefined4 *)(iVar21 + -4) = uVar39;
      *(undefined4 *)(iVar21 + -8) = 0x2e12161;
      *(undefined4 *)(iVar21 + -8) = uVar23;
      *(undefined4 *)(iVar21 + -0xc) = uVar18;
      *(undefined4 *)(iVar21 + -0x10) = 0x7dd7c213;
      uVar42 = *(uint *)(iVar21 + -0x10);
      *(undefined4 *)(iVar21 + -0x10) = uVar23;
      *(undefined4 *)(iVar21 + -0x10) = 0x30ac71f4;
      *(undefined4 *)(iVar21 + -0x10) = uVar44;
      uVar44 = *(undefined4 *)(iVar21 + -0x10);
      *(undefined4 *)(iVar21 + -0x10) = *(undefined4 *)(iVar21 + -0xc);
      uVar18 = *(undefined4 *)(iVar21 + -0x10);
      *(uint *)(iVar21 + -0x10) = (uVar42 & 0x175352bb) + 0xeae5982f;
      *(undefined4 *)(iVar21 + -0x14) = uVar18;
      uVar18 = *(undefined4 *)(iVar21 + -0x10);
      *(int *)(iVar21 + -0x10) = iVar21 + -8;
      puVar34 = *(uint **)(iVar21 + -0x10);
      *puVar34 = uVar18;
      iVar21 = *puVar34;
      uVar18 = puVar34[1];
      puVar34[1] = puVar34[2];
      uVar39 = puVar34[1];
      puVar34[2] = uVar44;
      puVar34[2] = uVar39;
      puVar34[1] = iVar21;
      puVar34[1] = uVar44;
      *puVar34 = uVar17;
      puVar34[-1] = iVar21;
      puVar34[-1] = 0x6f5fe59e;
      puVar34[-1] = uVar39;
      puVar34[-1] = uVar18;
      puVar34[-2] = 0x6f5fe59e;
      uVar18 = *puVar34;
      *puVar34 = puVar34[1];
      uVar39 = *puVar34;
      uVar17 = puVar34[2];
      puVar34[2] = uVar18;
      puVar34[1] = uVar17;
      uVar23 = puVar34[1];
      iVar40 = puVar34[2];
      iVar21 = (iVar21 - puVar34[-2]) + iVar40 + 0x6f5fe59e;
      puVar34[2] = iVar21;
      puVar34[1] = 0x4716328b;
      puVar34[1] = iVar40;
      *puVar34 = 0;
      *puVar34 = *puVar34 + 0x69c15c;
      iVar40 = *puVar34;
      *puVar34 = 0;
      *puVar34 = *puVar34 - iVar40;
      uVar42 = *puVar34;
      *puVar34 = iVar21;
      *puVar34 = puVar34[-1];
      puVar34[-1] = uVar42 ^ 0xc8492dbd;
      uVar17 = *puVar34;
      uVar18 = puVar34[1];
      puVar34[1] = iVar20;
      iVar21 = puVar34[1];
      puVar34[1] = uVar39;
      *puVar34 = ((puVar34[-1] & 0x66ef875c) << 8) >> 5;
      iVar20 = *puVar34;
      *puVar34 = 0x678181a;
      puVar34[1] = uVar18;
      *puVar34 = uVar18;
      *puVar34 = iVar20 + -0x678181a;
      uVar18 = *puVar34;
      uVar44 = puVar34[1];
      puVar34[1] = puVar34[2];
      uVar39 = puVar34[1];
      puVar34[2] = uVar44;
      puVar34[1] = uVar39;
      puVar34[1] = iVar21;
      *puVar34 = uVar47;
      puVar34[-1] = uVar18;
      puVar34[1] = 0x5d427b25;
      uVar18 = *puVar34;
      puVar34[1] = puVar34[-1];
      iVar20 = puVar34[1];
      puVar34[1] = uVar23;
      *puVar34 = puVar34[-1];
      uVar44 = *puVar34;
      *puVar34 = uVar18;
      puVar34[-1] = (uint)puVar34;
      iVar45 = puVar34[-1];
      puVar34[-1] = uVar39;
      iVar40 = puVar34[-1];
      uVar42 = *puVar34;
      *puVar34 = *puVar34 ^ iVar45 + 8U ^ uVar42;
      uVar42 = iVar45 + 8U ^ uVar42 ^ *puVar34;
      ppiVar35 = (int **)*puVar34;
      iVar20 = *(int *)(iVar20 + iVar21);
      uVar18 = ppiVar35[1];
      ppiVar38 = ppiVar35 + 2;
      if (iVar20 != iVar40) {
        ppiVar35[1] = (int *)iVar21;
        ppiVar35[1] = (int *)0x24331aa9;
        ppiVar35[1] = (int *)uVar17;
        ppiVar35[1] = (int *)0x6ddaff65;
        ppiVar35[1] = (int *)((uint)ppiVar35[1] >> 1);
        *ppiVar35 = (int *)uVar44;
        *ppiVar35 = (int *)uVar17;
        ppiVar35[-1] = (int *)0x3dfa89da;
        ppiVar35[1] = (int *)((int)ppiVar35[1] + 0x1ffde309);
        ppiVar35[1] = ppiVar35[1] + 0x1fba5680;
        ppiVar35[1] = (int *)((int)ppiVar35[1] + (int)ppiVar35[-1]);
        ppiVar35[1] = ppiVar35[1] + -0x1fba5680;
        ppiVar35[-1] = ppiVar35[-1];
        ppiVar35[1] = (int *)((int)ppiVar35[1] + 0x77a9293b);
        ppiVar35[1] = (int *)((int)ppiVar35[1] + -0x1ffde309);
        ppiVar35[1] = (int *)((int)ppiVar35[1] + -0x77a9293b);
        uVar23 = *ppiVar35;
        *ppiVar35 = (int *)iVar20;
        ppiVar35[1] = (int *)((int)ppiVar35[1] + -1);
        ppiVar35[1] = (int *)~(uint)ppiVar35[1];
        *ppiVar35 = *ppiVar35;
        ppiVar35[1] = (int *)((int)ppiVar35[1] + -0x73ff47eb);
        ppiVar35[-1] = *ppiVar35;
        uVar17 = ppiVar35[-1];
        ppiVar35[1] = (int *)((uint)ppiVar35[1] ^ 0x4de748c6);
        ppiVar35[1] = (int *)((int)ppiVar35[1] + -0xdf5453f);
        ppiVar35[1] = (int *)uVar44;
        *ppiVar35 = (int *)0x2fdf278f;
        uVar39 = *ppiVar35;
        *ppiVar35 = (int *)uVar23;
        ppiVar35[-1] = (int *)uVar39;
        ppiVar35[-2] = (int *)uVar42;
        iVar45 = (int)ppiVar35[-2];
        ppiVar35[-2] = (int *)uVar17;
        ppiVar35[-3] = (int *)0x20740001;
        uVar24 = (uint)ppiVar35[-3];
        uVar17 = ppiVar35[-2];
        ppiVar35[-2] = (int *)0xedf30540;
        uVar48 = (uint)ppiVar35[-2];
        uVar42 = (uint)ppiVar35[-1];
        piVar10 = *ppiVar35;
        *ppiVar35 = (int *)iVar21;
        ppiVar35[-1] = (int *)uVar17;
        ppiVar35[-2] = ppiVar35[-1];
        uVar39 = ppiVar35[-2];
        uVar44 = *ppiVar35;
        *ppiVar35 = (int *)uVar18;
        ppiVar35[-1] = (int *)(ppiVar35 + -1);
        ppiVar35[-1] = (int *)((int)ppiVar35[-1] + 4);
        ppiVar35[-2] = ppiVar35[-1];
        iVar20 = (int)ppiVar35[-2];
        ppiVar35[-2] = (int *)iVar40;
        uVar17 = ppiVar35[-2];
        ppiVar35[-2] = (int *)ppiVar35;
        puVar13 = ppiVar35[-2];
        puVar13[-1] = uVar39;
        uVar18 = puVar13[-1];
        puVar13[-1] = uVar17;
        puVar13[-2] = uVar18;
        puVar13[-3] = 0x3d6a5ebf;
        uVar22 = puVar13[-3];
        puVar13[-3] = iVar20 + 4;
        uVar17 = puVar13[-2];
        piVar54 = (int *)puVar13[-1];
        puVar13[-1] = uVar44;
        puVar13[-1] = puVar13[-3] - (((uVar22 >> 4) + 1 ^ 0x3fefe2fd) + 0xc3c6b8f3);
        puVar13[-2] = *puVar13;
        iVar20 = puVar13[-2];
        puVar13[-1] = puVar13[-1];
        ppiVar14 = (int **)*puVar13;
        *ppiVar14 = piVar54;
        uVar42 = ((uVar42 | (uVar48 | (uVar24 & 0x7bbff692) - 0x4c9ce6 | 0x7657ea8e) * 2 +
                            0x7bc81858) + 0x94e000cc) * 2 + 0xd63fffd2 >> 2;
        while (uVar42 != 0) {
          ppiVar14[-1] = (int *)uVar17;
          ppiVar14[-2] = piVar54;
          ppiVar14[-3] = piVar54;
          ppiVar14[-3] = (int *)0x2337281b;
          ppiVar14[-3] = piVar54;
          ppiVar14[-4] = piVar54;
          ppiVar14[-5] = piVar54;
          ppiVar14[-6] = (int *)uVar42;
          *piVar54 = *piVar54 + iVar20;
          ppiVar14[-4] = ppiVar14[-6];
          ppiVar14[-5] = (int *)(ppiVar14 + -4);
          iVar40 = (int)ppiVar14[-5];
          ppiVar14[-5] = (int *)iVar20;
          iVar21 = (int)ppiVar14[-5];
          uVar18 = ppiVar14[-4];
          ppiVar14[-4] = (int *)(iVar40 + 8);
          piVar54 = ppiVar14[-4];
          iVar20 = *piVar54;
          *piVar54 = piVar54[1];
          piVar54[1] = uVar44;
          piVar54[1] = *piVar54;
          *piVar54 = 0x58c28900;
          *piVar54 = (int)piVar54;
          *piVar54 = *piVar54 + 4;
          iVar40 = *piVar54;
          *piVar54 = iVar45;
          iVar45 = *piVar54;
          *piVar54 = iVar21;
          iVar21 = *piVar54;
          uVar17 = piVar54[1];
          piVar54[1] = iVar40;
          ppiVar5 = (int **)piVar54[1];
          *ppiVar5 = piVar10;
          ppiVar5[-1] = (int *)0x76aa8796;
          ppiVar5[-1] = (int *)uVar17;
          uVar17 = ppiVar5[-1];
          ppiVar5[-1] = (int *)0x7b578399;
          ppiVar5[-1] = (int *)iVar45;
          ppiVar5[-1] = (int *)uVar17;
          ppiVar5[-2] = (int *)(iVar20 + -0x7deb352f);
          ppiVar5[-3] = (int *)iVar21;
          uVar39 = ppiVar5[-3];
          uVar17 = ppiVar5[-1];
          piVar54 = *ppiVar5;
          *ppiVar5 = (int *)((int)ppiVar5[-2] + 0x7deb3533);
          ppiVar5[-1] = piVar54;
          ppiVar5[-2] = (int *)uVar18;
          ppiVar5[-3] = (int *)0x7f77bd46;
          iVar21 = (int)ppiVar5[-3];
          uVar18 = ppiVar5[-2];
          uVar23 = ppiVar5[-1];
          ppiVar5[-1] = (int *)uVar39;
          iVar20 = (int)ppiVar5[-1];
          ppiVar5[-1] = (int *)uVar44;
          ppiVar5[-1] = (int *)uVar23;
          ppiVar5[-2] = (int *)iVar45;
          ppiVar5[-3] = (int *)0x2f7febee;
          ppiVar5[-2] = ppiVar5[-2];
          iVar45 = (int)ppiVar5[-2];
          ppiVar5[-2] = (int *)uVar18;
          iVar40 = (int)ppiVar5[-2];
          iVar21 = (~(iVar21 + 0xd3e1ca52U ^ 0x76fd7c34) + 0x7be79dd3) -
                   ((0xc19e0a96U - (int)ppiVar5[-3] | 0x4edf01b3) + 0x7763826c);
          piVar10 = ppiVar5[-1];
          ppiVar5[-1] = (int *)uVar44;
          ppiVar5[-2] = (int *)iVar21;
          ppiVar5[-3] = (int *)uVar44;
          ppiVar5[-3] = (int *)0x6ddbd004;
          ppiVar5[-3] = (int *)((uint)ppiVar5[-3] >> 4 | 0x5e2f2cce);
          ppiVar5[-3] = (int *)~(uint)ppiVar5[-3];
          uVar44 = ppiVar5[-1];
          piVar54 = *ppiVar5;
          ppiVar14 = ppiVar5 + 1;
          uVar42 = (iVar40 + 0x457ee527 + iVar21) - ((int)ppiVar5[-3] + -0x5b815d0a);
        }
        ppiVar14[-1] = *ppiVar14;
        uVar23 = ppiVar14[-1];
        ppiVar14[-1] = piVar10;
        ppiVar14[-2] = (int *)0x0;
        ppiVar14[-2] = (int *)(ppiVar14 + -2);
        ppiVar14[-2] = (int *)((int)ppiVar14[-2] + 4);
        uVar22 = (uint)ppiVar14[-2];
        ppiVar14[-2] = (int *)0x0;
        uVar42 = (uint)ppiVar14[-1];
        ppiVar14[-1] = (int *)((uint)ppiVar14[-1] ^ uVar22 ^ uVar42);
        uVar42 = uVar22 ^ uVar42 ^ (uint)ppiVar14[-1];
        piVar54 = ppiVar14[-1];
        *piVar54 = iVar20;
        piVar54[-1] = uVar42;
        piVar54[-1] = 0x1f7166dd;
        piVar54[-2] = (int)(piVar54 + -1);
        piVar54[-2] = piVar54[-2];
        piVar54[-2] = iVar45;
        piVar54[-1] = piVar54[-1] + 4;
        piVar54[-3] = 0x51f28b62;
        piVar54[-3] = piVar54[-2];
        uVar18 = piVar54[-3];
        piVar54[-3] = (int)(piVar54 + -1);
        iVar36 = piVar54[-3];
        uVar39 = *(undefined4 *)(iVar36 + 8);
        *(int *)(iVar36 + 8) = *(int *)(iVar36 + 4) + 8;
        puVar13 = *(undefined4 **)(iVar36 + 8);
        puVar13[-1] = *puVar13;
        iVar45 = puVar13[-1];
        puVar13[-1] = 0x6465a0a2;
        puVar13[-1] = uVar42;
        puVar13[-2] = 0x58379bc7;
        puVar13[-2] = puVar13 + -2;
        puVar13[-2] = puVar13[-2] + 4;
        uVar47 = puVar13[-2];
        puVar13[-2] = 0x6c9cb13c;
        puVar13[-2] = uVar17;
        puVar13[-3] = uVar44;
        puVar13[-4] = uVar47;
        iVar20 = puVar13[-4];
        puVar13[-4] = puVar13[-3];
        puVar13[-3] = uVar23;
        uVar44 = puVar13[-3];
        uVar17 = puVar13[-2];
        puVar13[-2] = puVar13[-4];
        puVar13[-3] = uVar17;
        uVar23 = puVar13[-3];
        uVar47 = puVar13[-2];
        uVar17 = puVar13[-1];
        puVar13[-1] = iVar20 + 8;
        iVar6 = puVar13[-1];
        *(undefined4 *)(iVar6 + -4) = uVar39;
        *(undefined4 *)(iVar6 + -8) = uVar18;
        uVar18 = *(undefined4 *)(iVar6 + -8);
        *(undefined4 *)(iVar6 + -8) = uVar44;
        *(undefined4 *)(iVar6 + -0xc) = uVar18;
        *(undefined4 *)(iVar6 + -0xc) = *(undefined4 *)(iVar6 + -0xc);
        iVar40 = *(int *)(iVar6 + -8);
        *(undefined4 *)(iVar6 + -8) = *(undefined4 *)(iVar6 + -0xc);
        *(undefined4 *)(iVar6 + -0xc) = 0x5bd3e733;
        uVar18 = *(undefined4 *)(iVar6 + -0xc);
        *(int *)(iVar6 + -0xc) = iVar45;
        *(undefined4 *)(iVar6 + -0x10) = 0x2b7f4d;
        *(uint *)(iVar6 + -0x10) = ~*(uint *)(iVar6 + -0x10);
        uVar22 = *(uint *)(iVar6 + -0x10);
        *(undefined4 *)(iVar6 + -0x10) = uVar18;
        uVar42 = *(uint *)(iVar6 + -8);
        *(undefined4 *)(iVar6 + -8) = uVar47;
        *(undefined4 *)(iVar6 + -0xc) = uVar23;
        iVar21 = *(int *)(iVar6 + -8);
        *(undefined4 *)(iVar6 + -0xc) = *(undefined4 *)(iVar6 + -0xc);
        iVar20 = *(int *)(iVar6 + -0xc);
        *(int *)(iVar6 + -0xc) = iVar6 + -4;
        iVar37 = *(int *)(iVar6 + -0xc);
        *(int *)(iVar45 + (*(uint *)(iVar6 + -0x10) | (uVar22 >> 5) + 0x7360d840) + iVar21 +
                -0x7bdfff77) = iVar40;
        uVar18 = *(undefined4 *)(iVar37 + 4);
        ppiVar38 = (int **)(iVar37 + 8);
      }
      *(undefined4 *)((int)ppiVar38 + -4) = *(undefined4 *)((int)ppiVar38 + 0x24);
      *(undefined4 *)((int)ppiVar38 + -8) = *(undefined4 *)((int)ppiVar38 + -4);
      *(undefined4 *)((int)ppiVar38 + -8) = *(undefined4 *)((int)ppiVar38 + -8);
      *(int *)((int)ppiVar38 + -0xc) = iVar20;
      *(undefined4 *)((int)ppiVar38 + -0x10) = uVar17;
      *(int *)((int)ppiVar38 + -0x14) = iVar21;
      *(undefined4 *)((int)ppiVar38 + -0x14) = 0x5bf9d490;
      uVar17 = *(undefined4 *)((int)ppiVar38 + -0x10);
      *(undefined4 *)((int)ppiVar38 + -0x10) = *(undefined4 *)((int)ppiVar38 + -0x14);
      *(uint *)((int)ppiVar38 + -0x10) = ~*(uint *)((int)ppiVar38 + -0x10);
      iVar20 = *(int *)((int)ppiVar38 + -0x10);
      *(undefined4 *)((int)ppiVar38 + -0x10) = uVar17;
      uVar17 = *(undefined4 *)((int)ppiVar38 + -0x10);
      *(undefined **)((int)ppiVar38 + -0x10) = (undefined *)((int)ppiVar38 + -8);
      *(undefined4 *)((int)ppiVar38 + -0xc) = *(undefined4 *)((int)ppiVar38 + -0xc);
      *(uint *)((int)ppiVar38 + -0x10) =
           *(int *)((int)ppiVar38 + -0x10) + (~(iVar20 + 0xa2200afdU) & 0x37bfbb7d ^ 0x31998915);
      iVar20 = *(int *)((int)ppiVar38 + -0x10);
      *(undefined4 *)((int)ppiVar38 + -0x10) = uVar17;
      uVar39 = *(undefined4 *)((int)ppiVar38 + -0x10);
      iVar21 = *(int *)((int)ppiVar38 + -8);
      *(int *)((int)ppiVar38 + -8) = iVar20 + 4;
      iVar20 = *(int *)((int)ppiVar38 + -8);
      *(undefined4 *)(iVar20 + -4) = *(undefined4 *)((int)ppiVar38 + -0xc);
      *(undefined4 *)(iVar20 + -8) = uVar18;
      *(int *)(iVar20 + -0xc) = iVar40;
      uVar17 = *(undefined4 *)(iVar20 + -8);
      *(int *)(iVar20 + -8) = iVar21 << 2;
      iVar40 = *(int *)(iVar20 + -8);
      *(undefined4 *)(iVar20 + -8) = uVar39;
      *(int *)(iVar20 + -0xc) = *(int *)(iVar20 + -0xc) + -0x6bf76369;
      *(undefined4 *)(iVar20 + -0x10) = *(undefined4 *)(iVar20 + -4);
      *(uint *)(iVar20 + -0x10) = uVar42;
      *(undefined4 *)(iVar20 + -0x10) = uVar17;
      *(undefined4 *)(iVar20 + -0x10) = 0;
      *(int *)(iVar20 + -0x10) = *(int *)(iVar20 + -0x10) + -0x1a24e3e3;
      iVar21 = *(int *)(iVar20 + -0x10);
      *(int *)(iVar20 + -0x10) = iVar20 + -8;
      uVar17 = *(undefined4 *)(iVar20 + -0xc);
      *(undefined4 *)(iVar20 + -0xc) = 0x7ee281c9;
      *(undefined4 *)(iVar20 + -0xc) = uVar17;
      *(int *)(iVar20 + -8) = *(int *)(iVar20 + -0x10) + iVar21 + 0x1a24e3eb;
                    /* WARNING: Could not recover jumptable at 0x0079424d. Too many branches */
                    /* WARNING: Treating indirect jump as call */
      (**(code **)(*(int *)(iVar20 + -0xc) + iVar40 + 0x6bf76369))();
      return;
    }
    (*DAT_0049b2a8)();
    FUN_004274c0();
  }
  (*DAT_0049b2bc)();
LAB_00409edf:
  @__security_check_cookie@4();
  return;
}
"