
void register_download(char *url,char *file)

{
  undefined *puVar1;
  undefined *puVar2;
  int iVar3;
  char cVar6;
  void *pvVar4;
  void *pvVar5;
  char cVar7;
  char *pcVar8;
  hash_table *phVar9;
  int *piVar10;
  char *pcVar11;
  hash_table *phVar12;
  undefined *puVar13;
  char *old_file;
  char *old_url;
  int local_2c;
  
  puVar2 = PTR___stack_chk_guard_000afc3c;
  puVar13 = PTR_host_name_addresses_map_000af458;
  local_2c = *(int *)PTR___stack_chk_guard_000afc3c;
  if (*(int *)(PTR_host_name_addresses_map_000af458 + -0xa4) == 0) {
    phVar12 = make_string_hash_table(0);
    *(hash_table **)(puVar13 + -0xa4) = phVar12;
  }
  puVar1 = PTR_dl_url_file_map_000af618;
  if (*(int *)PTR_dl_url_file_map_000af618 == 0) {
    phVar12 = make_string_hash_table(0);
    *(hash_table **)puVar1 = phVar12;
  }
  iVar3 = hash_table_get_pair(*(hash_table **)(puVar13 + -0xa4),file,&old_file,&old_url);
  pcVar11 = old_url;
  if (iVar3 == 0) {
LAB_0001d6b8:
    phVar12 = *(hash_table **)(puVar13 + -0xa4);
    pvVar4 = (void *)(*(code *)PTR_xstrdup_000af48c)(file);
    pvVar5 = (void *)(*(code *)PTR_xstrdup_000af48c)(url);
    hash_table_put(phVar12,pvVar4,pvVar5);
  }
  else {
    phVar12 = (hash_table *)url;
    pcVar8 = old_url;
    iVar3 = (*(code *)PTR_strcmp_000afacc)();
    if (iVar3 == 0) goto LAB_0001d758;
    cVar6 = *url;
    if ((cVar6 == '\0') || (cVar7 = *pcVar11, pcVar8 = url, cVar7 == '\0')) {
LAB_0001d664:
      hash_table_remove(*(hash_table **)(puVar13 + -0xa4),file);
      (*(code *)PTR_free_000afd08)(old_file);
      old_file = (char *)0x0;
      (*(code *)PTR_free_000afd08)(old_url);
      old_url = (char *)0x0;
      hash_table_for_each(*(hash_table **)puVar1,
                          (_func_int_void_ptr_void_ptr_void_ptr *)(PTR_LAB_000af464 + -0x2b38),file)
      ;
      goto LAB_0001d6b8;
    }
    do {
      pcVar8 = pcVar8 + 1;
      if (cVar6 != cVar7) goto LAB_0001d664;
      cVar6 = *pcVar8;
      pcVar11 = pcVar11 + 1;
      cVar7 = *pcVar11;
      if (cVar6 == '\0') {
        pcVar8 = pcVar11;
        cVar6 = cVar7;
        if (cVar7 == '\0') goto LAB_0001d810;
        break;
      }
    } while (cVar7 != '\0');
    if ((((cVar6 != '/') && (pcVar11 = pcVar8 + -1, pcVar8 = pcVar8 + -1, *pcVar11 != '/')) ||
        (pcVar8[1] != '\0')) &&
       (iVar3 = (*(code *)PTR_strcmp_000afacc)(pcVar8,PTR_LAB_000af468 + 0x40fc), iVar3 != 0))
    goto LAB_0001d664;
LAB_0001d810:
    iVar3 = hash_table_contains(*(hash_table **)puVar1,url);
    if (iVar3 != 0) goto LAB_0001d664;
  }
  iVar3 = hash_table_get_pair(*(hash_table **)puVar1,url,&old_url,&old_file);
  if (iVar3 != 0) {
    hash_table_remove(*(hash_table **)puVar1,url);
    (*(code *)PTR_free_000afd08)(old_url);
    old_url = (char *)0x0;
    (*(code *)PTR_free_000afd08)(old_file);
    old_file = (char *)0x0;
  }
  phVar12 = *(hash_table **)puVar1;
  pcVar8 = (char *)(*(code *)PTR_xstrdup_000af48c)(url);
  pvVar4 = (void *)(*(code *)PTR_xstrdup_000af48c)(file);
  hash_table_put(phVar12,pcVar8,pvVar4);
LAB_0001d758:
  if (local_2c == *(int *)puVar2) {
    return;
  }
  puVar13 = PTR___stack_chk_fail_000afbd4;
  (*(code *)PTR___stack_chk_fail_000afbd4)();
  iVar3 = *(int *)(puVar13 + 0x91be4);
  if (*(int *)(iVar3 + -0xa4) == 0) {
    phVar9 = make_string_hash_table(0);
    *(hash_table **)(iVar3 + -0xa4) = phVar9;
  }
  piVar10 = *(int **)(puVar13 + 0x91da4);
  phVar9 = (hash_table *)*piVar10;
  if (phVar9 == (hash_table *)0x0) {
    phVar9 = make_string_hash_table(0);
    *piVar10 = (int)phVar9;
  }
  pvVar4 = hash_table_get(phVar9,pcVar8);
  iVar3 = hash_table_contains((hash_table *)*piVar10,phVar12);
  if (iVar3 == 0) {
    phVar9 = (hash_table *)*piVar10;
    pvVar5 = (void *)(**(code **)(puVar13 + 0x91c18))(phVar12);
    pvVar4 = (void *)(**(code **)(puVar13 + 0x91c18))(pvVar4);
    hash_table_put(phVar9,pvVar5,pvVar4);
    return;
  }
  return;
}



void register_download(char *param_1,undefined4 param_2)

{
  undefined *puVar1;
  undefined *puVar2;
  int iVar3;
  char cVar6;
  undefined4 uVar4;
  undefined4 uVar5;
  char cVar7;
  char *pcVar8;
  int *piVar9;
  char *pcVar10;
  undefined4 uVar11;
  undefined *puVar12;
  undefined4 local_34;
  char *local_30;
  int local_2c;
  
  puVar2 = PTR___stack_chk_guard_000afc3c;
  puVar12 = PTR_DAT_000af458;
  local_2c = *(int *)PTR___stack_chk_guard_000afc3c;
  if (*(int *)(PTR_DAT_000af458 + -0xa4) == 0) {
    uVar4 = make_string_hash_table(0);
    *(undefined4 *)(puVar12 + -0xa4) = uVar4;
  }
  puVar1 = PTR_dl_url_file_map_000af618;
  if (*(int *)PTR_dl_url_file_map_000af618 == 0) {
    uVar4 = make_string_hash_table(0);
    *(undefined4 *)puVar1 = uVar4;
  }
  iVar3 = hash_table_get_pair(*(undefined4 *)(puVar12 + -0xa4),param_2,&local_34,&local_30);
  pcVar10 = local_30;
  if (iVar3 == 0) {
LAB_0001d6b8:
    uVar11 = *(undefined4 *)(puVar12 + -0xa4);
    uVar4 = (*(code *)PTR_xstrdup_000af48c)(param_2);
    uVar5 = (*(code *)PTR_xstrdup_000af48c)(param_1);
    hash_table_put(uVar11,uVar4,uVar5);
  }
  else {
    pcVar8 = param_1;
    iVar3 = (*(code *)PTR_strcmp_000afacc)(param_1);
    if (iVar3 == 0) goto LAB_0001d758;
    cVar6 = *param_1;
    if ((cVar6 == '\0') || (cVar7 = *pcVar10, pcVar8 = param_1, cVar7 == '\0')) {
LAB_0001d664:
      hash_table_remove(*(undefined4 *)(puVar12 + -0xa4),param_2);
      (*(code *)PTR_free_000afd08)(local_34);
      local_34 = 0;
      (*(code *)PTR_free_000afd08)(local_30);
      local_30 = (char *)0x0;
      hash_table_for_each(*(undefined4 *)puVar1,PTR_LAB_000af464 + -0x2b38,param_2);
      goto LAB_0001d6b8;
    }
    do {
      pcVar8 = pcVar8 + 1;
      if (cVar6 != cVar7) goto LAB_0001d664;
      cVar6 = *pcVar8;
      pcVar10 = pcVar10 + 1;
      cVar7 = *pcVar10;
      if (cVar6 == '\0') {
        pcVar8 = pcVar10;
        cVar6 = cVar7;
        if (cVar7 == '\0') goto LAB_0001d810;
        break;
      }
    } while (cVar7 != '\0');
    if ((((cVar6 != '/') && (pcVar10 = pcVar8 + -1, pcVar8 = pcVar8 + -1, *pcVar10 != '/')) ||
        (pcVar8[1] != '\0')) &&
       (iVar3 = (*(code *)PTR_strcmp_000afacc)(pcVar8,PTR_LAB_000af468 + 0x40fc), iVar3 != 0))
    goto LAB_0001d664;
LAB_0001d810:
    iVar3 = hash_table_contains(*(undefined4 *)puVar1,param_1);
    if (iVar3 != 0) goto LAB_0001d664;
  }
  iVar3 = hash_table_get_pair(*(undefined4 *)puVar1,param_1,&local_30,&local_34);
  if (iVar3 != 0) {
    hash_table_remove(*(undefined4 *)puVar1,param_1);
    (*(code *)PTR_free_000afd08)(local_30);
    local_30 = (char *)0x0;
    (*(code *)PTR_free_000afd08)(local_34);
    local_34 = 0;
  }
  pcVar8 = *(char **)puVar1;
  uVar4 = (*(code *)PTR_xstrdup_000af48c)(param_1);
  uVar5 = (*(code *)PTR_xstrdup_000af48c)(param_2);
  hash_table_put(pcVar8,uVar4,uVar5);
LAB_0001d758:
  if (local_2c == *(int *)puVar2) {
    return;
  }
  puVar12 = PTR___stack_chk_fail_000afbd4;
  (*(code *)PTR___stack_chk_fail_000afbd4)();
  iVar3 = *(int *)(puVar12 + 0x91be4);
  if (*(int *)(iVar3 + -0xa4) == 0) {
    uVar4 = make_string_hash_table(0);
    *(undefined4 *)(iVar3 + -0xa4) = uVar4;
  }
  piVar9 = *(int **)(puVar12 + 0x91da4);
  iVar3 = *piVar9;
  if (iVar3 == 0) {
    iVar3 = make_string_hash_table();
    *piVar9 = iVar3;
  }
  uVar4 = hash_table_get(iVar3);
  iVar3 = hash_table_contains(*piVar9,pcVar8);
  if (iVar3 == 0) {
    iVar3 = *piVar9;
    uVar5 = (**(code **)(puVar12 + 0x91c18))(pcVar8);
    uVar4 = (**(code **)(puVar12 + 0x91c18))(uVar4);
    hash_table_put(iVar3,uVar5,uVar4);
    return;
  }
  return;
}


lui gp,0xa
addiu gp,gp,-0x613c
addu gp,gp,t9
addiu sp,sp,-0x50
sw s5,0x40(sp)
sw s3,0x38(sp)
lw s5,-0x77f4(gp)
lw s3,-0x7fd8(gp)
sw gp,0x10(sp)
sw s4,0x3c(sp)
or s4,a1,zero
sw s0,0x2c(sp)
or s0,a0,zero
sw ra,0x4c(sp)
sw s7,0x48(sp)
sw s6,0x44(sp)
sw s2,0x34(sp)
sw s1,0x30(sp)
lw v1,0x0(s5)
lw v0,-0xa4(s3)
sw v1,0x24(sp)
beq v0,zero,0x0001d854
_lw t9,-0x7e28(gp)
lw s2,-0x7e18(gp)
lw v0,0x0(s2)
beq v0,zero,0x0001d840
_lw t9,-0x7e28(gp)
lw t9,-0x7e14(gp)
addiu s7,sp,0x20
addiu s6,sp,0x1c
lw a0,-0xa4(s3)
or a3,s7,zero
or a2,s6,zero
bal 0x0002e924
_or a1,s4,zero
beq v0,zero,0x0001d6b8
_lw gp,0x10(sp)
lw s1,0x20(sp)
or a0,s0,zero
lw t9,-0x7964(gp)
jalr t9
_or a1,s1,zero
beq v0,zero,0x0001d758
_lw gp,0x10(sp)
lb v0,0x0(s0)
beq v0,zero,0x0001d664
_lw t9,-0x7e5c(gp)
lb v1,0x0(s1)
beq v1,zero,0x0001d664
_nop
b 0x0001d654
_or a0,s0,zero
lb v0,0x0(a0)
addiu s1,s1,0x1
beq v0,zero,0x0001d7d0
_lb v1,0x0(s1)
beq v1,zero,0x0001d7dc
_nop
beq v0,v1,0x0001d63c
_addiu a0,a0,0x1
addiu a0,a0,-0x1
lw t9,-0x7e5c(gp)
or a1,s4,zero
bal 0x0002eee8
_lw a0,-0xa4(s3)
lw gp,0x10(sp)
lw t9,-0x7728(gp)
jalr t9
_lw a0,0x1c(sp)
lw gp,0x10(sp)
lw a0,0x20(sp)
lw t9,-0x7728(gp)
jalr t9
_sw zero,0x1c(sp)
or a2,s4,zero
lw gp,0x10(sp)
lw a0,0x0(s2)
sw zero,0x20(sp)
lw a1,-0x7fcc(gp)
lw t9,-0x7e10(gp)
bal 0x0002f104
_addiu a1,a1,-0x2b38
lw gp,0x10(sp)
lw t9,-0x7fa4(gp)
or a0,s4,zero
jalr t9
_lw s1,-0xa4(s3)
or a0,s0,zero
lw gp,0x10(sp)
lw t9,-0x7fa4(gp)
jalr t9
_or s3,v0,zero
or a1,s3,zero
lw gp,0x10(sp)
or a2,v0,zero
lw t9,-0x7e68(gp)
bal 0x0002eb8c
_or a0,s1,zero
lw gp,0x10(sp)
lw t9,-0x7e14(gp)
or a3,s6,zero
lw a0,0x0(s2)
or a2,s7,zero
bal 0x0002e924
_or a1,s0,zero
bne v0,zero,0x0001d790
_lw gp,0x10(sp)
lw t9,-0x7fa4(gp)
or a0,s0,zero
jalr t9
_lw s0,0x0(s2)
or a0,s4,zero
lw gp,0x10(sp)
lw t9,-0x7fa4(gp)
jalr t9
_or s1,v0,zero
or a1,s1,zero
lw gp,0x10(sp)
or a2,v0,zero
lw t9,-0x7e68(gp)
bal 0x0002eb8c
_or a0,s0,zero
lw gp,0x10(sp)
lw v1,0x24(sp)
lw v0,0x0(s5)
bne v1,v0,0x0001d868
_lw ra,0x4c(sp)
lw s7,0x48(sp)
lw s6,0x44(sp)
lw s5,0x40(sp)
lw s4,0x3c(sp)
lw s3,0x38(sp)
lw s2,0x34(sp)
lw s1,0x30(sp)
lw s0,0x2c(sp)
jr ra
_addiu sp,sp,0x50
lw t9,-0x7e5c(gp)
or a1,s0,zero
bal 0x0002eee8
_lw a0,0x0(s2)
lw gp,0x10(sp)
lw t9,-0x7728(gp)
jalr t9
_lw a0,0x20(sp)
lw gp,0x10(sp)
lw a0,0x1c(sp)
lw t9,-0x7728(gp)
jalr t9
_sw zero,0x20(sp)
lw gp,0x10(sp)
b 0x0001d718
_sw zero,0x1c(sp)
beq v1,zero,0x0001d80c
_or v0,v1,zero
or a0,s1,zero
li v1,0x2f
beq v0,v1,0x0001d82c
_nop
lb v0,-0x1(a0)
beq v0,v1,0x0001d82c
_addiu a0,a0,-0x1
lw a1,-0x7fc8(gp)
lw t9,-0x7964(gp)
jalr t9
_addiu a1,a1,0x40fc
bne v0,zero,0x0001d660
_lw gp,0x10(sp)
lw t9,-0x7e0c(gp)
or a1,s0,zero
bal 0x0002ea8c
_lw a0,0x0(s2)
bne v0,zero,0x0001d660
_lw gp,0x10(sp)
b 0x0001d6fc
_lw t9,-0x7e14(gp)
lb v0,0x1(a0)
bne v0,zero,0x0001d7f8
_lw a1,-0x7fc8(gp)
b 0x0001d810
_lw t9,-0x7e0c(gp)
bal 0x0002f26c
_or a0,zero,zero
lw gp,0x10(sp)
b 0x0001d5d8
_sw v0,0x0(s2)
bal 0x0002f26c
_or a0,zero,zero
lw gp,0x10(sp)
b 0x0001d5c8
_sw v0,-0xa4(s3)
lw t9,-0x785c(gp)
jalr t9
_nop
(translation_unit "void register_download(char *param_1,undefined4 param_2)\n\n{\n  undefined *puVar1;\n  undefined *puVar2;\n  int iVar3;\n  char cVar6;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  char cVar7;\n  char *pcVar8;\n  int *piVar9;\n  char *pcVar10;\n  undefined4 uVar11;\n  undefined *puVar12;\n  undefined4 local_34;\n  char *local_30;\n  int local_2c;\n  \n  puVar2 = PTR___stack_chk_guard_000afc3c;\n  puVar12 = PTR_DAT_000af458;\n  local_2c = *(int *)PTR___stack_chk_guard_000afc3c;\n  if (*(int *)(PTR_DAT_000af458 + -0xa4) == 0) {\n    uVar4 = make_string_hash_table(0);\n    *(undefined4 *)(puVar12 + -0xa4) = uVar4;\n  }\n  puVar1 = PTR_dl_url_file_map_000af618;\n  if (*(int *)PTR_dl_url_file_map_000af618 == 0) {\n    uVar4 = make_string_hash_table(0);\n    *(undefined4 *)puVar1 = uVar4;\n  }\n  iVar3 = hash_table_get_pair(*(undefined4 *)(puVar12 + -0xa4),param_2,&local_34,&local_30);\n  pcVar10 = local_30;\n  if (iVar3 == 0) {\nLAB_0001d6b8:\n    uVar11 = *(undefined4 *)(puVar12 + -0xa4);\n    uVar4 = (*(code *)PTR_xstrdup_000af48c)(param_2);\n    uVar5 = (*(code *)PTR_xstrdup_000af48c)(param_1);\n    hash_table_put(uVar11,uVar4,uVar5);\n  }\n  else {\n    pcVar8 = param_1;\n    iVar3 = (*(code *)PTR_strcmp_000afacc)(param_1);\n    if (iVar3 == 0) goto LAB_0001d758;\n    cVar6 = *param_1;\n    if ((cVar6 == '\0') || (cVar7 = *pcVar10, pcVar8 = param_1, cVar7 == '\0')) {\nLAB_0001d664:\n      hash_table_remove(*(undefined4 *)(puVar12 + -0xa4),param_2);\n      (*(code *)PTR_free_000afd08)(local_34);\n      local_34 = 0;\n      (*(code *)PTR_free_000afd08)(local_30);\n      local_30 = (char *)0x0;\n      hash_table_for_each(*(undefined4 *)puVar1,PTR_LAB_000af464 + -0x2b38,param_2);\n      goto LAB_0001d6b8;\n    }\n    do {\n      pcVar8 = pcVar8 + 1;\n      if (cVar6 != cVar7) goto LAB_0001d664;\n      cVar6 = *pcVar8;\n      pcVar10 = pcVar10 + 1;\n      cVar7 = *pcVar10;\n      if (cVar6 == '\0') {\n        pcVar8 = pcVar10;\n        cVar6 = cVar7;\n        if (cVar7 == '\0') goto LAB_0001d810;\n        break;\n      }\n    } while (cVar7 != '\0');\n    if ((((cVar6 != '/') && (pcVar10 = pcVar8 + -1, pcVar8 = pcVar8 + -1, *pcVar10 != '/')) ||\n        (pcVar8[1] != '\0')) &&\n       (iVar3 = (*(code *)PTR_strcmp_000afacc)(pcVar8,PTR_LAB_000af468 + 0x40fc), iVar3 != 0))\n    goto LAB_0001d664;\nLAB_0001d810:\n    iVar3 = hash_table_contains(*(undefined4 *)puVar1,param_1);\n    if (iVar3 != 0) goto LAB_0001d664;\n  }\n  iVar3 = hash_table_get_pair(*(undefined4 *)puVar1,param_1,&local_30,&local_34);\n  if (iVar3 != 0) {\n    hash_table_remove(*(undefined4 *)puVar1,param_1);\n    (*(code *)PTR_free_000afd08)(local_30);\n    local_30 = (char *)0x0;\n    (*(code *)PTR_free_000afd08)(local_34);\n    local_34 = 0;\n  }\n  pcVar8 = *(char **)puVar1;\n  uVar4 = (*(code *)PTR_xstrdup_000af48c)(param_1);\n  uVar5 = (*(code *)PTR_xstrdup_000af48c)(param_2);\n  hash_table_put(pcVar8,uVar4,uVar5);\nLAB_0001d758:\n  if (local_2c == *(int *)puVar2) {\n    return;\n  }\n  puVar12 = PTR___stack_chk_fail_000afbd4;\n  (*(code *)PTR___stack_chk_fail_000afbd4)();\n  iVar3 = *(int *)(puVar12 + 0x91be4);\n  if (*(int *)(iVar3 + -0xa4) == 0) {\n    uVar4 = make_string_hash_table(0);\n    *(undefined4 *)(iVar3 + -0xa4) = uVar4;\n  }\n  piVar9 = *(int **)(puVar12 + 0x91da4);\n  iVar3 = *piVar9;\n  if (iVar3 == 0) {\n    iVar3 = make_string_hash_table();\n    *piVar9 = iVar3;\n  }\n  uVar4 = hash_table_get(iVar3);\n  iVar3 = hash_table_contains(*piVar9,pcVar8);\n  if (iVar3 == 0) {\n    iVar3 = *piVar9;\n    uVar5 = (**(code **)(puVar12 + 0x91c18))(pcVar8);\n    uVar4 = (**(code **)(puVar12 + 0x91c18))(uVar4);\n    hash_table_put(iVar3,uVar5,uVar4);\n    return;\n  }\n  return;\n}\n\n" (function_definition "void register_download(char *param_1,undefined4 param_2)\n\n{\n  undefined *puVar1;\n  undefined *puVar2;\n  int iVar3;\n  char cVar6;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  char cVar7;\n  char *pcVar8;\n  int *piVar9;\n  char *pcVar10;\n  undefined4 uVar11;\n  undefined *puVar12;\n  undefined4 local_34;\n  char *local_30;\n  int local_2c;\n  \n  puVar2 = PTR___stack_chk_guard_000afc3c;\n  puVar12 = PTR_DAT_000af458;\n  local_2c = *(int *)PTR___stack_chk_guard_000afc3c;\n  if (*(int *)(PTR_DAT_000af458 + -0xa4) == 0) {\n    uVar4 = make_string_hash_table(0);\n    *(undefined4 *)(puVar12 + -0xa4) = uVar4;\n  }\n  puVar1 = PTR_dl_url_file_map_000af618;\n  if (*(int *)PTR_dl_url_file_map_000af618 == 0) {\n    uVar4 = make_string_hash_table(0);\n    *(undefined4 *)puVar1 = uVar4;\n  }\n  iVar3 = hash_table_get_pair(*(undefined4 *)(puVar12 + -0xa4),param_2,&local_34,&local_30);\n  pcVar10 = local_30;\n  if (iVar3 == 0) {\nLAB_0001d6b8:\n    uVar11 = *(undefined4 *)(puVar12 + -0xa4);\n    uVar4 = (*(code *)PTR_xstrdup_000af48c)(param_2);\n    uVar5 = (*(code *)PTR_xstrdup_000af48c)(param_1);\n    hash_table_put(uVar11,uVar4,uVar5);\n  }\n  else {\n    pcVar8 = param_1;\n    iVar3 = (*(code *)PTR_strcmp_000afacc)(param_1);\n    if (iVar3 == 0) goto LAB_0001d758;\n    cVar6 = *param_1;\n    if ((cVar6 == '\0') || (cVar7 = *pcVar10, pcVar8 = param_1, cVar7 == '\0')) {\nLAB_0001d664:\n      hash_table_remove(*(undefined4 *)(puVar12 + -0xa4),param_2);\n      (*(code *)PTR_free_000afd08)(local_34);\n      local_34 = 0;\n      (*(code *)PTR_free_000afd08)(local_30);\n      local_30 = (char *)0x0;\n      hash_table_for_each(*(undefined4 *)puVar1,PTR_LAB_000af464 + -0x2b38,param_2);\n      goto LAB_0001d6b8;\n    }\n    do {\n      pcVar8 = pcVar8 + 1;\n      if (cVar6 != cVar7) goto LAB_0001d664;\n      cVar6 = *pcVar8;\n      pcVar10 = pcVar10 + 1;\n      cVar7 = *pcVar10;\n      if (cVar6 == '\0') {\n        pcVar8 = pcVar10;\n        cVar6 = cVar7;\n        if (cVar7 == '\0') goto LAB_0001d810;\n        break;\n      }\n    } while (cVar7 != '\0');\n    if ((((cVar6 != '/') && (pcVar10 = pcVar8 + -1, pcVar8 = pcVar8 + -1, *pcVar10 != '/')) ||\n        (pcVar8[1] != '\0')) &&\n       (iVar3 = (*(code *)PTR_strcmp_000afacc)(pcVar8,PTR_LAB_000af468 + 0x40fc), iVar3 != 0))\n    goto LAB_0001d664;\nLAB_0001d810:\n    iVar3 = hash_table_contains(*(undefined4 *)puVar1,param_1);\n    if (iVar3 != 0) goto LAB_0001d664;\n  }\n  iVar3 = hash_table_get_pair(*(undefined4 *)puVar1,param_1,&local_30,&local_34);\n  if (iVar3 != 0) {\n    hash_table_remove(*(undefined4 *)puVar1,param_1);\n    (*(code *)PTR_free_000afd08)(local_30);\n    local_30 = (char *)0x0;\n    (*(code *)PTR_free_000afd08)(local_34);\n    local_34 = 0;\n  }\n  pcVar8 = *(char **)puVar1;\n  uVar4 = (*(code *)PTR_xstrdup_000af48c)(param_1);\n  uVar5 = (*(code *)PTR_xstrdup_000af48c)(param_2);\n  hash_table_put(pcVar8,uVar4,uVar5);\nLAB_0001d758:\n  if (local_2c == *(int *)puVar2) {\n    return;\n  }\n  puVar12 = PTR___stack_chk_fail_000afbd4;\n  (*(code *)PTR___stack_chk_fail_000afbd4)();\n  iVar3 = *(int *)(puVar12 + 0x91be4);\n  if (*(int *)(iVar3 + -0xa4) == 0) {\n    uVar4 = make_string_hash_table(0);\n    *(undefined4 *)(iVar3 + -0xa4) = uVar4;\n  }\n  piVar9 = *(int **)(puVar12 + 0x91da4);\n  iVar3 = *piVar9;\n  if (iVar3 == 0) {\n    iVar3 = make_string_hash_table();\n    *piVar9 = iVar3;\n  }\n  uVar4 = hash_table_get(iVar3);\n  iVar3 = hash_table_contains(*piVar9,pcVar8);\n  if (iVar3 == 0) {\n    iVar3 = *piVar9;\n    uVar5 = (**(code **)(puVar12 + 0x91c18))(pcVar8);\n    uVar4 = (**(code **)(puVar12 + 0x91c18))(uVar4);\n    hash_table_put(iVar3,uVar5,uVar4);\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "register_download(char *param_1,undefined4 param_2)" identifier (parameter_list "(char *param_1,undefined4 param_2)" ( (parameter_declaration "char *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  undefined *puVar2;\n  int iVar3;\n  char cVar6;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  char cVar7;\n  char *pcVar8;\n  int *piVar9;\n  char *pcVar10;\n  undefined4 uVar11;\n  undefined *puVar12;\n  undefined4 local_34;\n  char *local_30;\n  int local_2c;\n  \n  puVar2 = PTR___stack_chk_guard_000afc3c;\n  puVar12 = PTR_DAT_000af458;\n  local_2c = *(int *)PTR___stack_chk_guard_000afc3c;\n  if (*(int *)(PTR_DAT_000af458 + -0xa4) == 0) {\n    uVar4 = make_string_hash_table(0);\n    *(undefined4 *)(puVar12 + -0xa4) = uVar4;\n  }\n  puVar1 = PTR_dl_url_file_map_000af618;\n  if (*(int *)PTR_dl_url_file_map_000af618 == 0) {\n    uVar4 = make_string_hash_table(0);\n    *(undefined4 *)puVar1 = uVar4;\n  }\n  iVar3 = hash_table_get_pair(*(undefined4 *)(puVar12 + -0xa4),param_2,&local_34,&local_30);\n  pcVar10 = local_30;\n  if (iVar3 == 0) {\nLAB_0001d6b8:\n    uVar11 = *(undefined4 *)(puVar12 + -0xa4);\n    uVar4 = (*(code *)PTR_xstrdup_000af48c)(param_2);\n    uVar5 = (*(code *)PTR_xstrdup_000af48c)(param_1);\n    hash_table_put(uVar11,uVar4,uVar5);\n  }\n  else {\n    pcVar8 = param_1;\n    iVar3 = (*(code *)PTR_strcmp_000afacc)(param_1);\n    if (iVar3 == 0) goto LAB_0001d758;\n    cVar6 = *param_1;\n    if ((cVar6 == '\0') || (cVar7 = *pcVar10, pcVar8 = param_1, cVar7 == '\0')) {\nLAB_0001d664:\n      hash_table_remove(*(undefined4 *)(puVar12 + -0xa4),param_2);\n      (*(code *)PTR_free_000afd08)(local_34);\n      local_34 = 0;\n      (*(code *)PTR_free_000afd08)(local_30);\n      local_30 = (char *)0x0;\n      hash_table_for_each(*(undefined4 *)puVar1,PTR_LAB_000af464 + -0x2b38,param_2);\n      goto LAB_0001d6b8;\n    }\n    do {\n      pcVar8 = pcVar8 + 1;\n      if (cVar6 != cVar7) goto LAB_0001d664;\n      cVar6 = *pcVar8;\n      pcVar10 = pcVar10 + 1;\n      cVar7 = *pcVar10;\n      if (cVar6 == '\0') {\n        pcVar8 = pcVar10;\n        cVar6 = cVar7;\n        if (cVar7 == '\0') goto LAB_0001d810;\n        break;\n      }\n    } while (cVar7 != '\0');\n    if ((((cVar6 != '/') && (pcVar10 = pcVar8 + -1, pcVar8 = pcVar8 + -1, *pcVar10 != '/')) ||\n        (pcVar8[1] != '\0')) &&\n       (iVar3 = (*(code *)PTR_strcmp_000afacc)(pcVar8,PTR_LAB_000af468 + 0x40fc), iVar3 != 0))\n    goto LAB_0001d664;\nLAB_0001d810:\n    iVar3 = hash_table_contains(*(undefined4 *)puVar1,param_1);\n    if (iVar3 != 0) goto LAB_0001d664;\n  }\n  iVar3 = hash_table_get_pair(*(undefined4 *)puVar1,param_1,&local_30,&local_34);\n  if (iVar3 != 0) {\n    hash_table_remove(*(undefined4 *)puVar1,param_1);\n    (*(code *)PTR_free_000afd08)(local_30);\n    local_30 = (char *)0x0;\n    (*(code *)PTR_free_000afd08)(local_34);\n    local_34 = 0;\n  }\n  pcVar8 = *(char **)puVar1;\n  uVar4 = (*(code *)PTR_xstrdup_000af48c)(param_1);\n  uVar5 = (*(code *)PTR_xstrdup_000af48c)(param_2);\n  hash_table_put(pcVar8,uVar4,uVar5);\nLAB_0001d758:\n  if (local_2c == *(int *)puVar2) {\n    return;\n  }\n  puVar12 = PTR___stack_chk_fail_000afbd4;\n  (*(code *)PTR___stack_chk_fail_000afbd4)();\n  iVar3 = *(int *)(puVar12 + 0x91be4);\n  if (*(int *)(iVar3 + -0xa4) == 0) {\n    uVar4 = make_string_hash_table(0);\n    *(undefined4 *)(iVar3 + -0xa4) = uVar4;\n  }\n  piVar9 = *(int **)(puVar12 + 0x91da4);\n  iVar3 = *piVar9;\n  if (iVar3 == 0) {\n    iVar3 = make_string_hash_table();\n    *piVar9 = iVar3;\n  }\n  uVar4 = hash_table_get(iVar3);\n  iVar3 = hash_table_contains(*piVar9,pcVar8);\n  if (iVar3 == 0) {\n    iVar3 = *piVar9;\n    uVar5 = (**(code **)(puVar12 + 0x91c18))(pcVar8);\n    uVar4 = (**(code **)(puVar12 + 0x91c18))(uVar4);\n    hash_table_put(iVar3,uVar5,uVar4);\n    return;\n  }\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "char cVar6;" primitive_type identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "char cVar7;" primitive_type identifier ;) (declaration "char *pcVar8;" primitive_type (pointer_declarator "*pcVar8" * identifier) ;) (declaration "int *piVar9;" primitive_type (pointer_declarator "*piVar9" * identifier) ;) (declaration "char *pcVar10;" primitive_type (pointer_declarator "*pcVar10" * identifier) ;) (declaration "undefined4 uVar11;" type_identifier identifier ;) (declaration "undefined *puVar12;" type_identifier (pointer_declarator "*puVar12" * identifier) ;) (declaration "undefined4 local_34;" type_identifier identifier ;) (declaration "char *local_30;" primitive_type (pointer_declarator "*local_30" * identifier) ;) (declaration "int local_2c;" primitive_type identifier ;) (expression_statement "puVar2 = PTR___stack_chk_guard_000afc3c;" (assignment_expression "puVar2 = PTR___stack_chk_guard_000afc3c" identifier = identifier) ;) (expression_statement "puVar12 = PTR_DAT_000af458;" (assignment_expression "puVar12 = PTR_DAT_000af458" identifier = identifier) ;) (expression_statement "local_2c = *(int *)PTR___stack_chk_guard_000afc3c;" (assignment_expression "local_2c = *(int *)PTR___stack_chk_guard_000afc3c" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_000afc3c" * (cast_expression "(int *)PTR___stack_chk_guard_000afc3c" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (if_statement "if (*(int *)(PTR_DAT_000af458 + -0xa4) == 0) {\n    uVar4 = make_string_hash_table(0);\n    *(undefined4 *)(puVar12 + -0xa4) = uVar4;\n  }" if (parenthesized_expression "(*(int *)(PTR_DAT_000af458 + -0xa4) == 0)" ( (binary_expression "*(int *)(PTR_DAT_000af458 + -0xa4) == 0" (pointer_expression "*(int *)(PTR_DAT_000af458 + -0xa4)" * (cast_expression "(int *)(PTR_DAT_000af458 + -0xa4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_000af458 + -0xa4)" ( (binary_expression "PTR_DAT_000af458 + -0xa4" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    uVar4 = make_string_hash_table(0);\n    *(undefined4 *)(puVar12 + -0xa4) = uVar4;\n  }" { (expression_statement "uVar4 = make_string_hash_table(0);" (assignment_expression "uVar4 = make_string_hash_table(0)" identifier = (call_expression "make_string_hash_table(0)" identifier (argument_list "(0)" ( number_literal )))) ;) (expression_statement "*(undefined4 *)(puVar12 + -0xa4) = uVar4;" (assignment_expression "*(undefined4 *)(puVar12 + -0xa4) = uVar4" (pointer_expression "*(undefined4 *)(puVar12 + -0xa4)" * (cast_expression "(undefined4 *)(puVar12 + -0xa4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar12 + -0xa4)" ( (binary_expression "puVar12 + -0xa4" identifier + number_literal) )))) = identifier) ;) })) (expression_statement "puVar1 = PTR_dl_url_file_map_000af618;" (assignment_expression "puVar1 = PTR_dl_url_file_map_000af618" identifier = identifier) ;) (if_statement "if (*(int *)PTR_dl_url_file_map_000af618 == 0) {\n    uVar4 = make_string_hash_table(0);\n    *(undefined4 *)puVar1 = uVar4;\n  }" if (parenthesized_expression "(*(int *)PTR_dl_url_file_map_000af618 == 0)" ( (binary_expression "*(int *)PTR_dl_url_file_map_000af618 == 0" (pointer_expression "*(int *)PTR_dl_url_file_map_000af618" * (cast_expression "(int *)PTR_dl_url_file_map_000af618" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) == number_literal) )) (compound_statement "{\n    uVar4 = make_string_hash_table(0);\n    *(undefined4 *)puVar1 = uVar4;\n  }" { (expression_statement "uVar4 = make_string_hash_table(0);" (assignment_expression "uVar4 = make_string_hash_table(0)" identifier = (call_expression "make_string_hash_table(0)" identifier (argument_list "(0)" ( number_literal )))) ;) (expression_statement "*(undefined4 *)puVar1 = uVar4;" (assignment_expression "*(undefined4 *)puVar1 = uVar4" (pointer_expression "*(undefined4 *)puVar1" * (cast_expression "(undefined4 *)puVar1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = identifier) ;) })) (expression_statement "iVar3 = hash_table_get_pair(*(undefined4 *)(puVar12 + -0xa4),param_2,&local_34,&local_30);" (assignment_expression "iVar3 = hash_table_get_pair(*(undefined4 *)(puVar12 + -0xa4),param_2,&local_34,&local_30)" identifier = (call_expression "hash_table_get_pair(*(undefined4 *)(puVar12 + -0xa4),param_2,&local_34,&local_30)" identifier (argument_list "(*(undefined4 *)(puVar12 + -0xa4),param_2,&local_34,&local_30)" ( (pointer_expression "*(undefined4 *)(puVar12 + -0xa4)" * (cast_expression "(undefined4 *)(puVar12 + -0xa4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar12 + -0xa4)" ( (binary_expression "puVar12 + -0xa4" identifier + number_literal) )))) , identifier , (pointer_expression "&local_34" & identifier) , (pointer_expression "&local_30" & identifier) )))) ;) (expression_statement "pcVar10 = local_30;" (assignment_expression "pcVar10 = local_30" identifier = identifier) ;) (if_statement "if (iVar3 == 0) {\nLAB_0001d6b8:\n    uVar11 = *(undefined4 *)(puVar12 + -0xa4);\n    uVar4 = (*(code *)PTR_xstrdup_000af48c)(param_2);\n    uVar5 = (*(code *)PTR_xstrdup_000af48c)(param_1);\n    hash_table_put(uVar11,uVar4,uVar5);\n  }\n  else {\n    pcVar8 = param_1;\n    iVar3 = (*(code *)PTR_strcmp_000afacc)(param_1);\n    if (iVar3 == 0) goto LAB_0001d758;\n    cVar6 = *param_1;\n    if ((cVar6 == '\0') || (cVar7 = *pcVar10, pcVar8 = param_1, cVar7 == '\0')) {\nLAB_0001d664:\n      hash_table_remove(*(undefined4 *)(puVar12 + -0xa4),param_2);\n      (*(code *)PTR_free_000afd08)(local_34);\n      local_34 = 0;\n      (*(code *)PTR_free_000afd08)(local_30);\n      local_30 = (char *)0x0;\n      hash_table_for_each(*(undefined4 *)puVar1,PTR_LAB_000af464 + -0x2b38,param_2);\n      goto LAB_0001d6b8;\n    }\n    do {\n      pcVar8 = pcVar8 + 1;\n      if (cVar6 != cVar7) goto LAB_0001d664;\n      cVar6 = *pcVar8;\n      pcVar10 = pcVar10 + 1;\n      cVar7 = *pcVar10;\n      if (cVar6 == '\0') {\n        pcVar8 = pcVar10;\n        cVar6 = cVar7;\n        if (cVar7 == '\0') goto LAB_0001d810;\n        break;\n      }\n    } while (cVar7 != '\0');\n    if ((((cVar6 != '/') && (pcVar10 = pcVar8 + -1, pcVar8 = pcVar8 + -1, *pcVar10 != '/')) ||\n        (pcVar8[1] != '\0')) &&\n       (iVar3 = (*(code *)PTR_strcmp_000afacc)(pcVar8,PTR_LAB_000af468 + 0x40fc), iVar3 != 0))\n    goto LAB_0001d664;\nLAB_0001d810:\n    iVar3 = hash_table_contains(*(undefined4 *)puVar1,param_1);\n    if (iVar3 != 0) goto LAB_0001d664;\n  }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\nLAB_0001d6b8:\n    uVar11 = *(undefined4 *)(puVar12 + -0xa4);\n    uVar4 = (*(code *)PTR_xstrdup_000af48c)(param_2);\n    uVar5 = (*(code *)PTR_xstrdup_000af48c)(param_1);\n    hash_table_put(uVar11,uVar4,uVar5);\n  }" { (labeled_statement "LAB_0001d6b8:\n    uVar11 = *(undefined4 *)(puVar12 + -0xa4);" statement_identifier : (expression_statement "uVar11 = *(undefined4 *)(puVar12 + -0xa4);" (assignment_expression "uVar11 = *(undefined4 *)(puVar12 + -0xa4)" identifier = (pointer_expression "*(undefined4 *)(puVar12 + -0xa4)" * (cast_expression "(undefined4 *)(puVar12 + -0xa4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar12 + -0xa4)" ( (binary_expression "puVar12 + -0xa4" identifier + number_literal) ))))) ;)) (expression_statement "uVar4 = (*(code *)PTR_xstrdup_000af48c)(param_2);" (assignment_expression "uVar4 = (*(code *)PTR_xstrdup_000af48c)(param_2)" identifier = (call_expression "(*(code *)PTR_xstrdup_000af48c)(param_2)" (parenthesized_expression "(*(code *)PTR_xstrdup_000af48c)" ( (pointer_expression "*(code *)PTR_xstrdup_000af48c" * (cast_expression "(code *)PTR_xstrdup_000af48c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_2)" ( identifier )))) ;) (expression_statement "uVar5 = (*(code *)PTR_xstrdup_000af48c)(param_1);" (assignment_expression "uVar5 = (*(code *)PTR_xstrdup_000af48c)(param_1)" identifier = (call_expression "(*(code *)PTR_xstrdup_000af48c)(param_1)" (parenthesized_expression "(*(code *)PTR_xstrdup_000af48c)" ( (pointer_expression "*(code *)PTR_xstrdup_000af48c" * (cast_expression "(code *)PTR_xstrdup_000af48c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1)" ( identifier )))) ;) (expression_statement "hash_table_put(uVar11,uVar4,uVar5);" (call_expression "hash_table_put(uVar11,uVar4,uVar5)" identifier (argument_list "(uVar11,uVar4,uVar5)" ( identifier , identifier , identifier ))) ;) }) (else_clause "else {\n    pcVar8 = param_1;\n    iVar3 = (*(code *)PTR_strcmp_000afacc)(param_1);\n    if (iVar3 == 0) goto LAB_0001d758;\n    cVar6 = *param_1;\n    if ((cVar6 == '\0') || (cVar7 = *pcVar10, pcVar8 = param_1, cVar7 == '\0')) {\nLAB_0001d664:\n      hash_table_remove(*(undefined4 *)(puVar12 + -0xa4),param_2);\n      (*(code *)PTR_free_000afd08)(local_34);\n      local_34 = 0;\n      (*(code *)PTR_free_000afd08)(local_30);\n      local_30 = (char *)0x0;\n      hash_table_for_each(*(undefined4 *)puVar1,PTR_LAB_000af464 + -0x2b38,param_2);\n      goto LAB_0001d6b8;\n    }\n    do {\n      pcVar8 = pcVar8 + 1;\n      if (cVar6 != cVar7) goto LAB_0001d664;\n      cVar6 = *pcVar8;\n      pcVar10 = pcVar10 + 1;\n      cVar7 = *pcVar10;\n      if (cVar6 == '\0') {\n        pcVar8 = pcVar10;\n        cVar6 = cVar7;\n        if (cVar7 == '\0') goto LAB_0001d810;\n        break;\n      }\n    } while (cVar7 != '\0');\n    if ((((cVar6 != '/') && (pcVar10 = pcVar8 + -1, pcVar8 = pcVar8 + -1, *pcVar10 != '/')) ||\n        (pcVar8[1] != '\0')) &&\n       (iVar3 = (*(code *)PTR_strcmp_000afacc)(pcVar8,PTR_LAB_000af468 + 0x40fc), iVar3 != 0))\n    goto LAB_0001d664;\nLAB_0001d810:\n    iVar3 = hash_table_contains(*(undefined4 *)puVar1,param_1);\n    if (iVar3 != 0) goto LAB_0001d664;\n  }" else (compound_statement "{\n    pcVar8 = param_1;\n    iVar3 = (*(code *)PTR_strcmp_000afacc)(param_1);\n    if (iVar3 == 0) goto LAB_0001d758;\n    cVar6 = *param_1;\n    if ((cVar6 == '\0') || (cVar7 = *pcVar10, pcVar8 = param_1, cVar7 == '\0')) {\nLAB_0001d664:\n      hash_table_remove(*(undefined4 *)(puVar12 + -0xa4),param_2);\n      (*(code *)PTR_free_000afd08)(local_34);\n      local_34 = 0;\n      (*(code *)PTR_free_000afd08)(local_30);\n      local_30 = (char *)0x0;\n      hash_table_for_each(*(undefined4 *)puVar1,PTR_LAB_000af464 + -0x2b38,param_2);\n      goto LAB_0001d6b8;\n    }\n    do {\n      pcVar8 = pcVar8 + 1;\n      if (cVar6 != cVar7) goto LAB_0001d664;\n      cVar6 = *pcVar8;\n      pcVar10 = pcVar10 + 1;\n      cVar7 = *pcVar10;\n      if (cVar6 == '\0') {\n        pcVar8 = pcVar10;\n        cVar6 = cVar7;\n        if (cVar7 == '\0') goto LAB_0001d810;\n        break;\n      }\n    } while (cVar7 != '\0');\n    if ((((cVar6 != '/') && (pcVar10 = pcVar8 + -1, pcVar8 = pcVar8 + -1, *pcVar10 != '/')) ||\n        (pcVar8[1] != '\0')) &&\n       (iVar3 = (*(code *)PTR_strcmp_000afacc)(pcVar8,PTR_LAB_000af468 + 0x40fc), iVar3 != 0))\n    goto LAB_0001d664;\nLAB_0001d810:\n    iVar3 = hash_table_contains(*(undefined4 *)puVar1,param_1);\n    if (iVar3 != 0) goto LAB_0001d664;\n  }" { (expression_statement "pcVar8 = param_1;" (assignment_expression "pcVar8 = param_1" identifier = identifier) ;) (expression_statement "iVar3 = (*(code *)PTR_strcmp_000afacc)(param_1);" (assignment_expression "iVar3 = (*(code *)PTR_strcmp_000afacc)(param_1)" identifier = (call_expression "(*(code *)PTR_strcmp_000afacc)(param_1)" (parenthesized_expression "(*(code *)PTR_strcmp_000afacc)" ( (pointer_expression "*(code *)PTR_strcmp_000afacc" * (cast_expression "(code *)PTR_strcmp_000afacc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1)" ( identifier )))) ;) (if_statement "if (iVar3 == 0) goto LAB_0001d758;" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (goto_statement "goto LAB_0001d758;" goto statement_identifier ;)) (expression_statement "cVar6 = *param_1;" (assignment_expression "cVar6 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (if_statement "if ((cVar6 == '\0') || (cVar7 = *pcVar10, pcVar8 = param_1, cVar7 == '\0')) {\nLAB_0001d664:\n      hash_table_remove(*(undefined4 *)(puVar12 + -0xa4),param_2);\n      (*(code *)PTR_free_000afd08)(local_34);\n      local_34 = 0;\n      (*(code *)PTR_free_000afd08)(local_30);\n      local_30 = (char *)0x0;\n      hash_table_for_each(*(undefined4 *)puVar1,PTR_LAB_000af464 + -0x2b38,param_2);\n      goto LAB_0001d6b8;\n    }" if (parenthesized_expression "((cVar6 == '\0') || (cVar7 = *pcVar10, pcVar8 = param_1, cVar7 == '\0'))" ( (binary_expression "(cVar6 == '\0') || (cVar7 = *pcVar10, pcVar8 = param_1, cVar7 == '\0')" (parenthesized_expression "(cVar6 == '\0')" ( (binary_expression "cVar6 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) || (parenthesized_expression "(cVar7 = *pcVar10, pcVar8 = param_1, cVar7 == '\0')" ( (comma_expression "cVar7 = *pcVar10, pcVar8 = param_1, cVar7 == '\0'" (assignment_expression "cVar7 = *pcVar10" identifier = (pointer_expression "*pcVar10" * identifier)) , (comma_expression "pcVar8 = param_1, cVar7 == '\0'" (assignment_expression "pcVar8 = param_1" identifier = identifier) , (binary_expression "cVar7 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')))) ))) )) (compound_statement "{\nLAB_0001d664:\n      hash_table_remove(*(undefined4 *)(puVar12 + -0xa4),param_2);\n      (*(code *)PTR_free_000afd08)(local_34);\n      local_34 = 0;\n      (*(code *)PTR_free_000afd08)(local_30);\n      local_30 = (char *)0x0;\n      hash_table_for_each(*(undefined4 *)puVar1,PTR_LAB_000af464 + -0x2b38,param_2);\n      goto LAB_0001d6b8;\n    }" { (labeled_statement "LAB_0001d664:\n      hash_table_remove(*(undefined4 *)(puVar12 + -0xa4),param_2);" statement_identifier : (expression_statement "hash_table_remove(*(undefined4 *)(puVar12 + -0xa4),param_2);" (call_expression "hash_table_remove(*(undefined4 *)(puVar12 + -0xa4),param_2)" identifier (argument_list "(*(undefined4 *)(puVar12 + -0xa4),param_2)" ( (pointer_expression "*(undefined4 *)(puVar12 + -0xa4)" * (cast_expression "(undefined4 *)(puVar12 + -0xa4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar12 + -0xa4)" ( (binary_expression "puVar12 + -0xa4" identifier + number_literal) )))) , identifier ))) ;)) (expression_statement "(*(code *)PTR_free_000afd08)(local_34);" (call_expression "(*(code *)PTR_free_000afd08)(local_34)" (parenthesized_expression "(*(code *)PTR_free_000afd08)" ( (pointer_expression "*(code *)PTR_free_000afd08" * (cast_expression "(code *)PTR_free_000afd08" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(local_34)" ( identifier ))) ;) (expression_statement "local_34 = 0;" (assignment_expression "local_34 = 0" identifier = number_literal) ;) (expression_statement "(*(code *)PTR_free_000afd08)(local_30);" (call_expression "(*(code *)PTR_free_000afd08)(local_30)" (parenthesized_expression "(*(code *)PTR_free_000afd08)" ( (pointer_expression "*(code *)PTR_free_000afd08" * (cast_expression "(code *)PTR_free_000afd08" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(local_30)" ( identifier ))) ;) (expression_statement "local_30 = (char *)0x0;" (assignment_expression "local_30 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "hash_table_for_each(*(undefined4 *)puVar1,PTR_LAB_000af464 + -0x2b38,param_2);" (call_expression "hash_table_for_each(*(undefined4 *)puVar1,PTR_LAB_000af464 + -0x2b38,param_2)" identifier (argument_list "(*(undefined4 *)puVar1,PTR_LAB_000af464 + -0x2b38,param_2)" ( (pointer_expression "*(undefined4 *)puVar1" * (cast_expression "(undefined4 *)puVar1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , (binary_expression "PTR_LAB_000af464 + -0x2b38" identifier + number_literal) , identifier ))) ;) (goto_statement "goto LAB_0001d6b8;" goto statement_identifier ;) })) (do_statement "do {\n      pcVar8 = pcVar8 + 1;\n      if (cVar6 != cVar7) goto LAB_0001d664;\n      cVar6 = *pcVar8;\n      pcVar10 = pcVar10 + 1;\n      cVar7 = *pcVar10;\n      if (cVar6 == '\0') {\n        pcVar8 = pcVar10;\n        cVar6 = cVar7;\n        if (cVar7 == '\0') goto LAB_0001d810;\n        break;\n      }\n    } while (cVar7 != '\0');" do (compound_statement "{\n      pcVar8 = pcVar8 + 1;\n      if (cVar6 != cVar7) goto LAB_0001d664;\n      cVar6 = *pcVar8;\n      pcVar10 = pcVar10 + 1;\n      cVar7 = *pcVar10;\n      if (cVar6 == '\0') {\n        pcVar8 = pcVar10;\n        cVar6 = cVar7;\n        if (cVar7 == '\0') goto LAB_0001d810;\n        break;\n      }\n    }" { (expression_statement "pcVar8 = pcVar8 + 1;" (assignment_expression "pcVar8 = pcVar8 + 1" identifier = (binary_expression "pcVar8 + 1" identifier + number_literal)) ;) (if_statement "if (cVar6 != cVar7) goto LAB_0001d664;" if (parenthesized_expression "(cVar6 != cVar7)" ( (binary_expression "cVar6 != cVar7" identifier != identifier) )) (goto_statement "goto LAB_0001d664;" goto statement_identifier ;)) (expression_statement "cVar6 = *pcVar8;" (assignment_expression "cVar6 = *pcVar8" identifier = (pointer_expression "*pcVar8" * identifier)) ;) (expression_statement "pcVar10 = pcVar10 + 1;" (assignment_expression "pcVar10 = pcVar10 + 1" identifier = (binary_expression "pcVar10 + 1" identifier + number_literal)) ;) (expression_statement "cVar7 = *pcVar10;" (assignment_expression "cVar7 = *pcVar10" identifier = (pointer_expression "*pcVar10" * identifier)) ;) (if_statement "if (cVar6 == '\0') {\n        pcVar8 = pcVar10;\n        cVar6 = cVar7;\n        if (cVar7 == '\0') goto LAB_0001d810;\n        break;\n      }" if (parenthesized_expression "(cVar6 == '\0')" ( (binary_expression "cVar6 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        pcVar8 = pcVar10;\n        cVar6 = cVar7;\n        if (cVar7 == '\0') goto LAB_0001d810;\n        break;\n      }" { (expression_statement "pcVar8 = pcVar10;" (assignment_expression "pcVar8 = pcVar10" identifier = identifier) ;) (expression_statement "cVar6 = cVar7;" (assignment_expression "cVar6 = cVar7" identifier = identifier) ;) (if_statement "if (cVar7 == '\0') goto LAB_0001d810;" if (parenthesized_expression "(cVar7 == '\0')" ( (binary_expression "cVar7 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (goto_statement "goto LAB_0001d810;" goto statement_identifier ;)) (break_statement "break;" break ;) })) }) while (parenthesized_expression "(cVar7 != '\0')" ( (binary_expression "cVar7 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) ;) (if_statement "if ((((cVar6 != '/') && (pcVar10 = pcVar8 + -1, pcVar8 = pcVar8 + -1, *pcVar10 != '/')) ||\n        (pcVar8[1] != '\0')) &&\n       (iVar3 = (*(code *)PTR_strcmp_000afacc)(pcVar8,PTR_LAB_000af468 + 0x40fc), iVar3 != 0))\n    goto LAB_0001d664;" if (parenthesized_expression "((((cVar6 != '/') && (pcVar10 = pcVar8 + -1, pcVar8 = pcVar8 + -1, *pcVar10 != '/')) ||\n        (pcVar8[1] != '\0')) &&\n       (iVar3 = (*(code *)PTR_strcmp_000afacc)(pcVar8,PTR_LAB_000af468 + 0x40fc), iVar3 != 0))" ( (binary_expression "(((cVar6 != '/') && (pcVar10 = pcVar8 + -1, pcVar8 = pcVar8 + -1, *pcVar10 != '/')) ||\n        (pcVar8[1] != '\0')) &&\n       (iVar3 = (*(code *)PTR_strcmp_000afacc)(pcVar8,PTR_LAB_000af468 + 0x40fc), iVar3 != 0)" (parenthesized_expression "(((cVar6 != '/') && (pcVar10 = pcVar8 + -1, pcVar8 = pcVar8 + -1, *pcVar10 != '/')) ||\n        (pcVar8[1] != '\0'))" ( (binary_expression "((cVar6 != '/') && (pcVar10 = pcVar8 + -1, pcVar8 = pcVar8 + -1, *pcVar10 != '/')) ||\n        (pcVar8[1] != '\0')" (parenthesized_expression "((cVar6 != '/') && (pcVar10 = pcVar8 + -1, pcVar8 = pcVar8 + -1, *pcVar10 != '/'))" ( (binary_expression "(cVar6 != '/') && (pcVar10 = pcVar8 + -1, pcVar8 = pcVar8 + -1, *pcVar10 != '/')" (parenthesized_expression "(cVar6 != '/')" ( (binary_expression "cVar6 != '/'" identifier != (char_literal "'/'" ' character ')) )) && (parenthesized_expression "(pcVar10 = pcVar8 + -1, pcVar8 = pcVar8 + -1, *pcVar10 != '/')" ( (comma_expression "pcVar10 = pcVar8 + -1, pcVar8 = pcVar8 + -1, *pcVar10 != '/'" (assignment_expression "pcVar10 = pcVar8 + -1" identifier = (binary_expression "pcVar8 + -1" identifier + number_literal)) , (comma_expression "pcVar8 = pcVar8 + -1, *pcVar10 != '/'" (assignment_expression "pcVar8 = pcVar8 + -1" identifier = (binary_expression "pcVar8 + -1" identifier + number_literal)) , (binary_expression "*pcVar10 != '/'" (pointer_expression "*pcVar10" * identifier) != (char_literal "'/'" ' character ')))) ))) )) || (parenthesized_expression "(pcVar8[1] != '\0')" ( (binary_expression "pcVar8[1] != '\0'" (subscript_expression "pcVar8[1]" identifier [ number_literal ]) != (char_literal "'\0'" ' escape_sequence ')) ))) )) && (parenthesized_expression "(iVar3 = (*(code *)PTR_strcmp_000afacc)(pcVar8,PTR_LAB_000af468 + 0x40fc), iVar3 != 0)" ( (comma_expression "iVar3 = (*(code *)PTR_strcmp_000afacc)(pcVar8,PTR_LAB_000af468 + 0x40fc), iVar3 != 0" (assignment_expression "iVar3 = (*(code *)PTR_strcmp_000afacc)(pcVar8,PTR_LAB_000af468 + 0x40fc)" identifier = (call_expression "(*(code *)PTR_strcmp_000afacc)(pcVar8,PTR_LAB_000af468 + 0x40fc)" (parenthesized_expression "(*(code *)PTR_strcmp_000afacc)" ( (pointer_expression "*(code *)PTR_strcmp_000afacc" * (cast_expression "(code *)PTR_strcmp_000afacc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar8,PTR_LAB_000af468 + 0x40fc)" ( identifier , (binary_expression "PTR_LAB_000af468 + 0x40fc" identifier + number_literal) )))) , (binary_expression "iVar3 != 0" identifier != number_literal)) ))) )) (goto_statement "goto LAB_0001d664;" goto statement_identifier ;)) (labeled_statement "LAB_0001d810:\n    iVar3 = hash_table_contains(*(undefined4 *)puVar1,param_1);" statement_identifier : (expression_statement "iVar3 = hash_table_contains(*(undefined4 *)puVar1,param_1);" (assignment_expression "iVar3 = hash_table_contains(*(undefined4 *)puVar1,param_1)" identifier = (call_expression "hash_table_contains(*(undefined4 *)puVar1,param_1)" identifier (argument_list "(*(undefined4 *)puVar1,param_1)" ( (pointer_expression "*(undefined4 *)puVar1" * (cast_expression "(undefined4 *)puVar1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , identifier )))) ;)) (if_statement "if (iVar3 != 0) goto LAB_0001d664;" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (goto_statement "goto LAB_0001d664;" goto statement_identifier ;)) }))) (expression_statement "iVar3 = hash_table_get_pair(*(undefined4 *)puVar1,param_1,&local_30,&local_34);" (assignment_expression "iVar3 = hash_table_get_pair(*(undefined4 *)puVar1,param_1,&local_30,&local_34)" identifier = (call_expression "hash_table_get_pair(*(undefined4 *)puVar1,param_1,&local_30,&local_34)" identifier (argument_list "(*(undefined4 *)puVar1,param_1,&local_30,&local_34)" ( (pointer_expression "*(undefined4 *)puVar1" * (cast_expression "(undefined4 *)puVar1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , identifier , (pointer_expression "&local_30" & identifier) , (pointer_expression "&local_34" & identifier) )))) ;) (if_statement "if (iVar3 != 0) {\n    hash_table_remove(*(undefined4 *)puVar1,param_1);\n    (*(code *)PTR_free_000afd08)(local_30);\n    local_30 = (char *)0x0;\n    (*(code *)PTR_free_000afd08)(local_34);\n    local_34 = 0;\n  }" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\n    hash_table_remove(*(undefined4 *)puVar1,param_1);\n    (*(code *)PTR_free_000afd08)(local_30);\n    local_30 = (char *)0x0;\n    (*(code *)PTR_free_000afd08)(local_34);\n    local_34 = 0;\n  }" { (expression_statement "hash_table_remove(*(undefined4 *)puVar1,param_1);" (call_expression "hash_table_remove(*(undefined4 *)puVar1,param_1)" identifier (argument_list "(*(undefined4 *)puVar1,param_1)" ( (pointer_expression "*(undefined4 *)puVar1" * (cast_expression "(undefined4 *)puVar1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , identifier ))) ;) (expression_statement "(*(code *)PTR_free_000afd08)(local_30);" (call_expression "(*(code *)PTR_free_000afd08)(local_30)" (parenthesized_expression "(*(code *)PTR_free_000afd08)" ( (pointer_expression "*(code *)PTR_free_000afd08" * (cast_expression "(code *)PTR_free_000afd08" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(local_30)" ( identifier ))) ;) (expression_statement "local_30 = (char *)0x0;" (assignment_expression "local_30 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "(*(code *)PTR_free_000afd08)(local_34);" (call_expression "(*(code *)PTR_free_000afd08)(local_34)" (parenthesized_expression "(*(code *)PTR_free_000afd08)" ( (pointer_expression "*(code *)PTR_free_000afd08" * (cast_expression "(code *)PTR_free_000afd08" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(local_34)" ( identifier ))) ;) (expression_statement "local_34 = 0;" (assignment_expression "local_34 = 0" identifier = number_literal) ;) })) (expression_statement "pcVar8 = *(char **)puVar1;" (assignment_expression "pcVar8 = *(char **)puVar1" identifier = (pointer_expression "*(char **)puVar1" * (cast_expression "(char **)puVar1" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (expression_statement "uVar4 = (*(code *)PTR_xstrdup_000af48c)(param_1);" (assignment_expression "uVar4 = (*(code *)PTR_xstrdup_000af48c)(param_1)" identifier = (call_expression "(*(code *)PTR_xstrdup_000af48c)(param_1)" (parenthesized_expression "(*(code *)PTR_xstrdup_000af48c)" ( (pointer_expression "*(code *)PTR_xstrdup_000af48c" * (cast_expression "(code *)PTR_xstrdup_000af48c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1)" ( identifier )))) ;) (expression_statement "uVar5 = (*(code *)PTR_xstrdup_000af48c)(param_2);" (assignment_expression "uVar5 = (*(code *)PTR_xstrdup_000af48c)(param_2)" identifier = (call_expression "(*(code *)PTR_xstrdup_000af48c)(param_2)" (parenthesized_expression "(*(code *)PTR_xstrdup_000af48c)" ( (pointer_expression "*(code *)PTR_xstrdup_000af48c" * (cast_expression "(code *)PTR_xstrdup_000af48c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_2)" ( identifier )))) ;) (expression_statement "hash_table_put(pcVar8,uVar4,uVar5);" (call_expression "hash_table_put(pcVar8,uVar4,uVar5)" identifier (argument_list "(pcVar8,uVar4,uVar5)" ( identifier , identifier , identifier ))) ;) (labeled_statement "LAB_0001d758:\n  if (local_2c == *(int *)puVar2) {\n    return;\n  }" statement_identifier : (if_statement "if (local_2c == *(int *)puVar2) {\n    return;\n  }" if (parenthesized_expression "(local_2c == *(int *)puVar2)" ( (binary_expression "local_2c == *(int *)puVar2" identifier == (pointer_expression "*(int *)puVar2" * (cast_expression "(int *)puVar2" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) }))) (expression_statement "puVar12 = PTR___stack_chk_fail_000afbd4;" (assignment_expression "puVar12 = PTR___stack_chk_fail_000afbd4" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_000afbd4)();" (call_expression "(*(code *)PTR___stack_chk_fail_000afbd4)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_000afbd4)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_000afbd4" * (cast_expression "(code *)PTR___stack_chk_fail_000afbd4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "iVar3 = *(int *)(puVar12 + 0x91be4);" (assignment_expression "iVar3 = *(int *)(puVar12 + 0x91be4)" identifier = (pointer_expression "*(int *)(puVar12 + 0x91be4)" * (cast_expression "(int *)(puVar12 + 0x91be4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar12 + 0x91be4)" ( (binary_expression "puVar12 + 0x91be4" identifier + number_literal) ))))) ;) (if_statement "if (*(int *)(iVar3 + -0xa4) == 0) {\n    uVar4 = make_string_hash_table(0);\n    *(undefined4 *)(iVar3 + -0xa4) = uVar4;\n  }" if (parenthesized_expression "(*(int *)(iVar3 + -0xa4) == 0)" ( (binary_expression "*(int *)(iVar3 + -0xa4) == 0" (pointer_expression "*(int *)(iVar3 + -0xa4)" * (cast_expression "(int *)(iVar3 + -0xa4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + -0xa4)" ( (binary_expression "iVar3 + -0xa4" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    uVar4 = make_string_hash_table(0);\n    *(undefined4 *)(iVar3 + -0xa4) = uVar4;\n  }" { (expression_statement "uVar4 = make_string_hash_table(0);" (assignment_expression "uVar4 = make_string_hash_table(0)" identifier = (call_expression "make_string_hash_table(0)" identifier (argument_list "(0)" ( number_literal )))) ;) (expression_statement "*(undefined4 *)(iVar3 + -0xa4) = uVar4;" (assignment_expression "*(undefined4 *)(iVar3 + -0xa4) = uVar4" (pointer_expression "*(undefined4 *)(iVar3 + -0xa4)" * (cast_expression "(undefined4 *)(iVar3 + -0xa4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + -0xa4)" ( (binary_expression "iVar3 + -0xa4" identifier + number_literal) )))) = identifier) ;) })) (expression_statement "piVar9 = *(int **)(puVar12 + 0x91da4);" (assignment_expression "piVar9 = *(int **)(puVar12 + 0x91da4)" identifier = (pointer_expression "*(int **)(puVar12 + 0x91da4)" * (cast_expression "(int **)(puVar12 + 0x91da4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar12 + 0x91da4)" ( (binary_expression "puVar12 + 0x91da4" identifier + number_literal) ))))) ;) (expression_statement "iVar3 = *piVar9;" (assignment_expression "iVar3 = *piVar9" identifier = (pointer_expression "*piVar9" * identifier)) ;) (if_statement "if (iVar3 == 0) {\n    iVar3 = make_string_hash_table();\n    *piVar9 = iVar3;\n  }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n    iVar3 = make_string_hash_table();\n    *piVar9 = iVar3;\n  }" { (expression_statement "iVar3 = make_string_hash_table();" (assignment_expression "iVar3 = make_string_hash_table()" identifier = (call_expression "make_string_hash_table()" identifier (argument_list "()" ( )))) ;) (expression_statement "*piVar9 = iVar3;" (assignment_expression "*piVar9 = iVar3" (pointer_expression "*piVar9" * identifier) = identifier) ;) })) (expression_statement "uVar4 = hash_table_get(iVar3);" (assignment_expression "uVar4 = hash_table_get(iVar3)" identifier = (call_expression "hash_table_get(iVar3)" identifier (argument_list "(iVar3)" ( identifier )))) ;) (expression_statement "iVar3 = hash_table_contains(*piVar9,pcVar8);" (assignment_expression "iVar3 = hash_table_contains(*piVar9,pcVar8)" identifier = (call_expression "hash_table_contains(*piVar9,pcVar8)" identifier (argument_list "(*piVar9,pcVar8)" ( (pointer_expression "*piVar9" * identifier) , identifier )))) ;) (if_statement "if (iVar3 == 0) {\n    iVar3 = *piVar9;\n    uVar5 = (**(code **)(puVar12 + 0x91c18))(pcVar8);\n    uVar4 = (**(code **)(puVar12 + 0x91c18))(uVar4);\n    hash_table_put(iVar3,uVar5,uVar4);\n    return;\n  }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n    iVar3 = *piVar9;\n    uVar5 = (**(code **)(puVar12 + 0x91c18))(pcVar8);\n    uVar4 = (**(code **)(puVar12 + 0x91c18))(uVar4);\n    hash_table_put(iVar3,uVar5,uVar4);\n    return;\n  }" { (expression_statement "iVar3 = *piVar9;" (assignment_expression "iVar3 = *piVar9" identifier = (pointer_expression "*piVar9" * identifier)) ;) (expression_statement "uVar5 = (**(code **)(puVar12 + 0x91c18))(pcVar8);" (assignment_expression "uVar5 = (**(code **)(puVar12 + 0x91c18))(pcVar8)" identifier = (call_expression "(**(code **)(puVar12 + 0x91c18))(pcVar8)" (parenthesized_expression "(**(code **)(puVar12 + 0x91c18))" ( (pointer_expression "**(code **)(puVar12 + 0x91c18)" * (pointer_expression "*(code **)(puVar12 + 0x91c18)" * (cast_expression "(code **)(puVar12 + 0x91c18)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar12 + 0x91c18)" ( (binary_expression "puVar12 + 0x91c18" identifier + number_literal) ))))) )) (argument_list "(pcVar8)" ( identifier )))) ;) (expression_statement "uVar4 = (**(code **)(puVar12 + 0x91c18))(uVar4);" (assignment_expression "uVar4 = (**(code **)(puVar12 + 0x91c18))(uVar4)" identifier = (call_expression "(**(code **)(puVar12 + 0x91c18))(uVar4)" (parenthesized_expression "(**(code **)(puVar12 + 0x91c18))" ( (pointer_expression "**(code **)(puVar12 + 0x91c18)" * (pointer_expression "*(code **)(puVar12 + 0x91c18)" * (cast_expression "(code **)(puVar12 + 0x91c18)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar12 + 0x91c18)" ( (binary_expression "puVar12 + 0x91c18" identifier + number_literal) ))))) )) (argument_list "(uVar4)" ( identifier )))) ;) (expression_statement "hash_table_put(iVar3,uVar5,uVar4);" (call_expression "hash_table_put(iVar3,uVar5,uVar4)" identifier (argument_list "(iVar3,uVar5,uVar4)" ( identifier , identifier , identifier ))) ;) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })))
(translation_unit "void register_download(char *url,char *file)\n\n{\n  undefined *puVar1;\n  undefined *puVar2;\n  int iVar3;\n  char cVar6;\n  void *pvVar4;\n  void *pvVar5;\n  char cVar7;\n  char *pcVar8;\n  hash_table *phVar9;\n  int *piVar10;\n  char *pcVar11;\n  hash_table *phVar12;\n  undefined *puVar13;\n  char *old_file;\n  char *old_url;\n  int local_2c;\n  \n  puVar2 = PTR___stack_chk_guard_000afc3c;\n  puVar13 = PTR_host_name_addresses_map_000af458;\n  local_2c = *(int *)PTR___stack_chk_guard_000afc3c;\n  if (*(int *)(PTR_host_name_addresses_map_000af458 + -0xa4) == 0) {\n    phVar12 = make_string_hash_table(0);\n    *(hash_table **)(puVar13 + -0xa4) = phVar12;\n  }\n  puVar1 = PTR_dl_url_file_map_000af618;\n  if (*(int *)PTR_dl_url_file_map_000af618 == 0) {\n    phVar12 = make_string_hash_table(0);\n    *(hash_table **)puVar1 = phVar12;\n  }\n  iVar3 = hash_table_get_pair(*(hash_table **)(puVar13 + -0xa4),file,&old_file,&old_url);\n  pcVar11 = old_url;\n  if (iVar3 == 0) {\nLAB_0001d6b8:\n    phVar12 = *(hash_table **)(puVar13 + -0xa4);\n    pvVar4 = (void *)(*(code *)PTR_xstrdup_000af48c)(file);\n    pvVar5 = (void *)(*(code *)PTR_xstrdup_000af48c)(url);\n    hash_table_put(phVar12,pvVar4,pvVar5);\n  }\n  else {\n    phVar12 = (hash_table *)url;\n    pcVar8 = old_url;\n    iVar3 = (*(code *)PTR_strcmp_000afacc)();\n    if (iVar3 == 0) goto LAB_0001d758;\n    cVar6 = *url;\n    if ((cVar6 == '\0') || (cVar7 = *pcVar11, pcVar8 = url, cVar7 == '\0')) {\nLAB_0001d664:\n      hash_table_remove(*(hash_table **)(puVar13 + -0xa4),file);\n      (*(code *)PTR_free_000afd08)(old_file);\n      old_file = (char *)0x0;\n      (*(code *)PTR_free_000afd08)(old_url);\n      old_url = (char *)0x0;\n      hash_table_for_each(*(hash_table **)puVar1,\n                          (_func_int_void_ptr_void_ptr_void_ptr *)(PTR_LAB_000af464 + -0x2b38),file)\n      ;\n      goto LAB_0001d6b8;\n    }\n    do {\n      pcVar8 = pcVar8 + 1;\n      if (cVar6 != cVar7) goto LAB_0001d664;\n      cVar6 = *pcVar8;\n      pcVar11 = pcVar11 + 1;\n      cVar7 = *pcVar11;\n      if (cVar6 == '\0') {\n        pcVar8 = pcVar11;\n        cVar6 = cVar7;\n        if (cVar7 == '\0') goto LAB_0001d810;\n        break;\n      }\n    } while (cVar7 != '\0');\n    if ((((cVar6 != '/') && (pcVar11 = pcVar8 + -1, pcVar8 = pcVar8 + -1, *pcVar11 != '/')) ||\n        (pcVar8[1] != '\0')) &&\n       (iVar3 = (*(code *)PTR_strcmp_000afacc)(pcVar8,PTR_LAB_000af468 + 0x40fc), iVar3 != 0))\n    goto LAB_0001d664;\nLAB_0001d810:\n    iVar3 = hash_table_contains(*(hash_table **)puVar1,url);\n    if (iVar3 != 0) goto LAB_0001d664;\n  }\n  iVar3 = hash_table_get_pair(*(hash_table **)puVar1,url,&old_url,&old_file);\n  if (iVar3 != 0) {\n    hash_table_remove(*(hash_table **)puVar1,url);\n    (*(code *)PTR_free_000afd08)(old_url);\n    old_url = (char *)0x0;\n    (*(code *)PTR_free_000afd08)(old_file);\n    old_file = (char *)0x0;\n  }\n  phVar12 = *(hash_table **)puVar1;\n  pcVar8 = (char *)(*(code *)PTR_xstrdup_000af48c)(url);\n  pvVar4 = (void *)(*(code *)PTR_xstrdup_000af48c)(file);\n  hash_table_put(phVar12,pcVar8,pvVar4);\nLAB_0001d758:\n  if (local_2c == *(int *)puVar2) {\n    return;\n  }\n  puVar13 = PTR___stack_chk_fail_000afbd4;\n  (*(code *)PTR___stack_chk_fail_000afbd4)();\n  iVar3 = *(int *)(puVar13 + 0x91be4);\n  if (*(int *)(iVar3 + -0xa4) == 0) {\n    phVar9 = make_string_hash_table(0);\n    *(hash_table **)(iVar3 + -0xa4) = phVar9;\n  }\n  piVar10 = *(int **)(puVar13 + 0x91da4);\n  phVar9 = (hash_table *)*piVar10;\n  if (phVar9 == (hash_table *)0x0) {\n    phVar9 = make_string_hash_table(0);\n    *piVar10 = (int)phVar9;\n  }\n  pvVar4 = hash_table_get(phVar9,pcVar8);\n  iVar3 = hash_table_contains((hash_table *)*piVar10,phVar12);\n  if (iVar3 == 0) {\n    phVar9 = (hash_table *)*piVar10;\n    pvVar5 = (void *)(**(code **)(puVar13 + 0x91c18))(phVar12);\n    pvVar4 = (void *)(**(code **)(puVar13 + 0x91c18))(pvVar4);\n    hash_table_put(phVar9,pvVar5,pvVar4);\n    return;\n  }\n  return;\n}\n\n" (function_definition "void register_download(char *url,char *file)\n\n{\n  undefined *puVar1;\n  undefined *puVar2;\n  int iVar3;\n  char cVar6;\n  void *pvVar4;\n  void *pvVar5;\n  char cVar7;\n  char *pcVar8;\n  hash_table *phVar9;\n  int *piVar10;\n  char *pcVar11;\n  hash_table *phVar12;\n  undefined *puVar13;\n  char *old_file;\n  char *old_url;\n  int local_2c;\n  \n  puVar2 = PTR___stack_chk_guard_000afc3c;\n  puVar13 = PTR_host_name_addresses_map_000af458;\n  local_2c = *(int *)PTR___stack_chk_guard_000afc3c;\n  if (*(int *)(PTR_host_name_addresses_map_000af458 + -0xa4) == 0) {\n    phVar12 = make_string_hash_table(0);\n    *(hash_table **)(puVar13 + -0xa4) = phVar12;\n  }\n  puVar1 = PTR_dl_url_file_map_000af618;\n  if (*(int *)PTR_dl_url_file_map_000af618 == 0) {\n    phVar12 = make_string_hash_table(0);\n    *(hash_table **)puVar1 = phVar12;\n  }\n  iVar3 = hash_table_get_pair(*(hash_table **)(puVar13 + -0xa4),file,&old_file,&old_url);\n  pcVar11 = old_url;\n  if (iVar3 == 0) {\nLAB_0001d6b8:\n    phVar12 = *(hash_table **)(puVar13 + -0xa4);\n    pvVar4 = (void *)(*(code *)PTR_xstrdup_000af48c)(file);\n    pvVar5 = (void *)(*(code *)PTR_xstrdup_000af48c)(url);\n    hash_table_put(phVar12,pvVar4,pvVar5);\n  }\n  else {\n    phVar12 = (hash_table *)url;\n    pcVar8 = old_url;\n    iVar3 = (*(code *)PTR_strcmp_000afacc)();\n    if (iVar3 == 0) goto LAB_0001d758;\n    cVar6 = *url;\n    if ((cVar6 == '\0') || (cVar7 = *pcVar11, pcVar8 = url, cVar7 == '\0')) {\nLAB_0001d664:\n      hash_table_remove(*(hash_table **)(puVar13 + -0xa4),file);\n      (*(code *)PTR_free_000afd08)(old_file);\n      old_file = (char *)0x0;\n      (*(code *)PTR_free_000afd08)(old_url);\n      old_url = (char *)0x0;\n      hash_table_for_each(*(hash_table **)puVar1,\n                          (_func_int_void_ptr_void_ptr_void_ptr *)(PTR_LAB_000af464 + -0x2b38),file)\n      ;\n      goto LAB_0001d6b8;\n    }\n    do {\n      pcVar8 = pcVar8 + 1;\n      if (cVar6 != cVar7) goto LAB_0001d664;\n      cVar6 = *pcVar8;\n      pcVar11 = pcVar11 + 1;\n      cVar7 = *pcVar11;\n      if (cVar6 == '\0') {\n        pcVar8 = pcVar11;\n        cVar6 = cVar7;\n        if (cVar7 == '\0') goto LAB_0001d810;\n        break;\n      }\n    } while (cVar7 != '\0');\n    if ((((cVar6 != '/') && (pcVar11 = pcVar8 + -1, pcVar8 = pcVar8 + -1, *pcVar11 != '/')) ||\n        (pcVar8[1] != '\0')) &&\n       (iVar3 = (*(code *)PTR_strcmp_000afacc)(pcVar8,PTR_LAB_000af468 + 0x40fc), iVar3 != 0))\n    goto LAB_0001d664;\nLAB_0001d810:\n    iVar3 = hash_table_contains(*(hash_table **)puVar1,url);\n    if (iVar3 != 0) goto LAB_0001d664;\n  }\n  iVar3 = hash_table_get_pair(*(hash_table **)puVar1,url,&old_url,&old_file);\n  if (iVar3 != 0) {\n    hash_table_remove(*(hash_table **)puVar1,url);\n    (*(code *)PTR_free_000afd08)(old_url);\n    old_url = (char *)0x0;\n    (*(code *)PTR_free_000afd08)(old_file);\n    old_file = (char *)0x0;\n  }\n  phVar12 = *(hash_table **)puVar1;\n  pcVar8 = (char *)(*(code *)PTR_xstrdup_000af48c)(url);\n  pvVar4 = (void *)(*(code *)PTR_xstrdup_000af48c)(file);\n  hash_table_put(phVar12,pcVar8,pvVar4);\nLAB_0001d758:\n  if (local_2c == *(int *)puVar2) {\n    return;\n  }\n  puVar13 = PTR___stack_chk_fail_000afbd4;\n  (*(code *)PTR___stack_chk_fail_000afbd4)();\n  iVar3 = *(int *)(puVar13 + 0x91be4);\n  if (*(int *)(iVar3 + -0xa4) == 0) {\n    phVar9 = make_string_hash_table(0);\n    *(hash_table **)(iVar3 + -0xa4) = phVar9;\n  }\n  piVar10 = *(int **)(puVar13 + 0x91da4);\n  phVar9 = (hash_table *)*piVar10;\n  if (phVar9 == (hash_table *)0x0) {\n    phVar9 = make_string_hash_table(0);\n    *piVar10 = (int)phVar9;\n  }\n  pvVar4 = hash_table_get(phVar9,pcVar8);\n  iVar3 = hash_table_contains((hash_table *)*piVar10,phVar12);\n  if (iVar3 == 0) {\n    phVar9 = (hash_table *)*piVar10;\n    pvVar5 = (void *)(**(code **)(puVar13 + 0x91c18))(phVar12);\n    pvVar4 = (void *)(**(code **)(puVar13 + 0x91c18))(pvVar4);\n    hash_table_put(phVar9,pvVar5,pvVar4);\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "register_download(char *url,char *file)" identifier (parameter_list "(char *url,char *file)" ( (parameter_declaration "char *url" primitive_type (pointer_declarator "*url" * identifier)) , (parameter_declaration "char *file" primitive_type (pointer_declarator "*file" * identifier)) ))) (compound_statement "{\n  undefined *puVar1;\n  undefined *puVar2;\n  int iVar3;\n  char cVar6;\n  void *pvVar4;\n  void *pvVar5;\n  char cVar7;\n  char *pcVar8;\n  hash_table *phVar9;\n  int *piVar10;\n  char *pcVar11;\n  hash_table *phVar12;\n  undefined *puVar13;\n  char *old_file;\n  char *old_url;\n  int local_2c;\n  \n  puVar2 = PTR___stack_chk_guard_000afc3c;\n  puVar13 = PTR_host_name_addresses_map_000af458;\n  local_2c = *(int *)PTR___stack_chk_guard_000afc3c;\n  if (*(int *)(PTR_host_name_addresses_map_000af458 + -0xa4) == 0) {\n    phVar12 = make_string_hash_table(0);\n    *(hash_table **)(puVar13 + -0xa4) = phVar12;\n  }\n  puVar1 = PTR_dl_url_file_map_000af618;\n  if (*(int *)PTR_dl_url_file_map_000af618 == 0) {\n    phVar12 = make_string_hash_table(0);\n    *(hash_table **)puVar1 = phVar12;\n  }\n  iVar3 = hash_table_get_pair(*(hash_table **)(puVar13 + -0xa4),file,&old_file,&old_url);\n  pcVar11 = old_url;\n  if (iVar3 == 0) {\nLAB_0001d6b8:\n    phVar12 = *(hash_table **)(puVar13 + -0xa4);\n    pvVar4 = (void *)(*(code *)PTR_xstrdup_000af48c)(file);\n    pvVar5 = (void *)(*(code *)PTR_xstrdup_000af48c)(url);\n    hash_table_put(phVar12,pvVar4,pvVar5);\n  }\n  else {\n    phVar12 = (hash_table *)url;\n    pcVar8 = old_url;\n    iVar3 = (*(code *)PTR_strcmp_000afacc)();\n    if (iVar3 == 0) goto LAB_0001d758;\n    cVar6 = *url;\n    if ((cVar6 == '\0') || (cVar7 = *pcVar11, pcVar8 = url, cVar7 == '\0')) {\nLAB_0001d664:\n      hash_table_remove(*(hash_table **)(puVar13 + -0xa4),file);\n      (*(code *)PTR_free_000afd08)(old_file);\n      old_file = (char *)0x0;\n      (*(code *)PTR_free_000afd08)(old_url);\n      old_url = (char *)0x0;\n      hash_table_for_each(*(hash_table **)puVar1,\n                          (_func_int_void_ptr_void_ptr_void_ptr *)(PTR_LAB_000af464 + -0x2b38),file)\n      ;\n      goto LAB_0001d6b8;\n    }\n    do {\n      pcVar8 = pcVar8 + 1;\n      if (cVar6 != cVar7) goto LAB_0001d664;\n      cVar6 = *pcVar8;\n      pcVar11 = pcVar11 + 1;\n      cVar7 = *pcVar11;\n      if (cVar6 == '\0') {\n        pcVar8 = pcVar11;\n        cVar6 = cVar7;\n        if (cVar7 == '\0') goto LAB_0001d810;\n        break;\n      }\n    } while (cVar7 != '\0');\n    if ((((cVar6 != '/') && (pcVar11 = pcVar8 + -1, pcVar8 = pcVar8 + -1, *pcVar11 != '/')) ||\n        (pcVar8[1] != '\0')) &&\n       (iVar3 = (*(code *)PTR_strcmp_000afacc)(pcVar8,PTR_LAB_000af468 + 0x40fc), iVar3 != 0))\n    goto LAB_0001d664;\nLAB_0001d810:\n    iVar3 = hash_table_contains(*(hash_table **)puVar1,url);\n    if (iVar3 != 0) goto LAB_0001d664;\n  }\n  iVar3 = hash_table_get_pair(*(hash_table **)puVar1,url,&old_url,&old_file);\n  if (iVar3 != 0) {\n    hash_table_remove(*(hash_table **)puVar1,url);\n    (*(code *)PTR_free_000afd08)(old_url);\n    old_url = (char *)0x0;\n    (*(code *)PTR_free_000afd08)(old_file);\n    old_file = (char *)0x0;\n  }\n  phVar12 = *(hash_table **)puVar1;\n  pcVar8 = (char *)(*(code *)PTR_xstrdup_000af48c)(url);\n  pvVar4 = (void *)(*(code *)PTR_xstrdup_000af48c)(file);\n  hash_table_put(phVar12,pcVar8,pvVar4);\nLAB_0001d758:\n  if (local_2c == *(int *)puVar2) {\n    return;\n  }\n  puVar13 = PTR___stack_chk_fail_000afbd4;\n  (*(code *)PTR___stack_chk_fail_000afbd4)();\n  iVar3 = *(int *)(puVar13 + 0x91be4);\n  if (*(int *)(iVar3 + -0xa4) == 0) {\n    phVar9 = make_string_hash_table(0);\n    *(hash_table **)(iVar3 + -0xa4) = phVar9;\n  }\n  piVar10 = *(int **)(puVar13 + 0x91da4);\n  phVar9 = (hash_table *)*piVar10;\n  if (phVar9 == (hash_table *)0x0) {\n    phVar9 = make_string_hash_table(0);\n    *piVar10 = (int)phVar9;\n  }\n  pvVar4 = hash_table_get(phVar9,pcVar8);\n  iVar3 = hash_table_contains((hash_table *)*piVar10,phVar12);\n  if (iVar3 == 0) {\n    phVar9 = (hash_table *)*piVar10;\n    pvVar5 = (void *)(**(code **)(puVar13 + 0x91c18))(phVar12);\n    pvVar4 = (void *)(**(code **)(puVar13 + 0x91c18))(pvVar4);\n    hash_table_put(phVar9,pvVar5,pvVar4);\n    return;\n  }\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "char cVar6;" primitive_type identifier ;) (declaration "void *pvVar4;" primitive_type (pointer_declarator "*pvVar4" * identifier) ;) (declaration "void *pvVar5;" primitive_type (pointer_declarator "*pvVar5" * identifier) ;) (declaration "char cVar7;" primitive_type identifier ;) (declaration "char *pcVar8;" primitive_type (pointer_declarator "*pcVar8" * identifier) ;) (declaration "hash_table *phVar9;" type_identifier (pointer_declarator "*phVar9" * identifier) ;) (declaration "int *piVar10;" primitive_type (pointer_declarator "*piVar10" * identifier) ;) (declaration "char *pcVar11;" primitive_type (pointer_declarator "*pcVar11" * identifier) ;) (declaration "hash_table *phVar12;" type_identifier (pointer_declarator "*phVar12" * identifier) ;) (declaration "undefined *puVar13;" type_identifier (pointer_declarator "*puVar13" * identifier) ;) (declaration "char *old_file;" primitive_type (pointer_declarator "*old_file" * identifier) ;) (declaration "char *old_url;" primitive_type (pointer_declarator "*old_url" * identifier) ;) (declaration "int local_2c;" primitive_type identifier ;) (expression_statement "puVar2 = PTR___stack_chk_guard_000afc3c;" (assignment_expression "puVar2 = PTR___stack_chk_guard_000afc3c" identifier = identifier) ;) (expression_statement "puVar13 = PTR_host_name_addresses_map_000af458;" (assignment_expression "puVar13 = PTR_host_name_addresses_map_000af458" identifier = identifier) ;) (expression_statement "local_2c = *(int *)PTR___stack_chk_guard_000afc3c;" (assignment_expression "local_2c = *(int *)PTR___stack_chk_guard_000afc3c" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_000afc3c" * (cast_expression "(int *)PTR___stack_chk_guard_000afc3c" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (if_statement "if (*(int *)(PTR_host_name_addresses_map_000af458 + -0xa4) == 0) {\n    phVar12 = make_string_hash_table(0);\n    *(hash_table **)(puVar13 + -0xa4) = phVar12;\n  }" if (parenthesized_expression "(*(int *)(PTR_host_name_addresses_map_000af458 + -0xa4) == 0)" ( (binary_expression "*(int *)(PTR_host_name_addresses_map_000af458 + -0xa4) == 0" (pointer_expression "*(int *)(PTR_host_name_addresses_map_000af458 + -0xa4)" * (cast_expression "(int *)(PTR_host_name_addresses_map_000af458 + -0xa4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_host_name_addresses_map_000af458 + -0xa4)" ( (binary_expression "PTR_host_name_addresses_map_000af458 + -0xa4" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    phVar12 = make_string_hash_table(0);\n    *(hash_table **)(puVar13 + -0xa4) = phVar12;\n  }" { (expression_statement "phVar12 = make_string_hash_table(0);" (assignment_expression "phVar12 = make_string_hash_table(0)" identifier = (call_expression "make_string_hash_table(0)" identifier (argument_list "(0)" ( number_literal )))) ;) (expression_statement "*(hash_table **)(puVar13 + -0xa4) = phVar12;" (assignment_expression "*(hash_table **)(puVar13 + -0xa4) = phVar12" (pointer_expression "*(hash_table **)(puVar13 + -0xa4)" * (cast_expression "(hash_table **)(puVar13 + -0xa4)" ( (type_descriptor "hash_table **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar13 + -0xa4)" ( (binary_expression "puVar13 + -0xa4" identifier + number_literal) )))) = identifier) ;) })) (expression_statement "puVar1 = PTR_dl_url_file_map_000af618;" (assignment_expression "puVar1 = PTR_dl_url_file_map_000af618" identifier = identifier) ;) (if_statement "if (*(int *)PTR_dl_url_file_map_000af618 == 0) {\n    phVar12 = make_string_hash_table(0);\n    *(hash_table **)puVar1 = phVar12;\n  }" if (parenthesized_expression "(*(int *)PTR_dl_url_file_map_000af618 == 0)" ( (binary_expression "*(int *)PTR_dl_url_file_map_000af618 == 0" (pointer_expression "*(int *)PTR_dl_url_file_map_000af618" * (cast_expression "(int *)PTR_dl_url_file_map_000af618" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) == number_literal) )) (compound_statement "{\n    phVar12 = make_string_hash_table(0);\n    *(hash_table **)puVar1 = phVar12;\n  }" { (expression_statement "phVar12 = make_string_hash_table(0);" (assignment_expression "phVar12 = make_string_hash_table(0)" identifier = (call_expression "make_string_hash_table(0)" identifier (argument_list "(0)" ( number_literal )))) ;) (expression_statement "*(hash_table **)puVar1 = phVar12;" (assignment_expression "*(hash_table **)puVar1 = phVar12" (pointer_expression "*(hash_table **)puVar1" * (cast_expression "(hash_table **)puVar1" ( (type_descriptor "hash_table **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) = identifier) ;) })) (expression_statement "iVar3 = hash_table_get_pair(*(hash_table **)(puVar13 + -0xa4),file,&old_file,&old_url);" (assignment_expression "iVar3 = hash_table_get_pair(*(hash_table **)(puVar13 + -0xa4),file,&old_file,&old_url)" identifier = (call_expression "hash_table_get_pair(*(hash_table **)(puVar13 + -0xa4),file,&old_file,&old_url)" identifier (argument_list "(*(hash_table **)(puVar13 + -0xa4),file,&old_file,&old_url)" ( (pointer_expression "*(hash_table **)(puVar13 + -0xa4)" * (cast_expression "(hash_table **)(puVar13 + -0xa4)" ( (type_descriptor "hash_table **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar13 + -0xa4)" ( (binary_expression "puVar13 + -0xa4" identifier + number_literal) )))) , identifier , (pointer_expression "&old_file" & identifier) , (pointer_expression "&old_url" & identifier) )))) ;) (expression_statement "pcVar11 = old_url;" (assignment_expression "pcVar11 = old_url" identifier = identifier) ;) (if_statement "if (iVar3 == 0) {\nLAB_0001d6b8:\n    phVar12 = *(hash_table **)(puVar13 + -0xa4);\n    pvVar4 = (void *)(*(code *)PTR_xstrdup_000af48c)(file);\n    pvVar5 = (void *)(*(code *)PTR_xstrdup_000af48c)(url);\n    hash_table_put(phVar12,pvVar4,pvVar5);\n  }\n  else {\n    phVar12 = (hash_table *)url;\n    pcVar8 = old_url;\n    iVar3 = (*(code *)PTR_strcmp_000afacc)();\n    if (iVar3 == 0) goto LAB_0001d758;\n    cVar6 = *url;\n    if ((cVar6 == '\0') || (cVar7 = *pcVar11, pcVar8 = url, cVar7 == '\0')) {\nLAB_0001d664:\n      hash_table_remove(*(hash_table **)(puVar13 + -0xa4),file);\n      (*(code *)PTR_free_000afd08)(old_file);\n      old_file = (char *)0x0;\n      (*(code *)PTR_free_000afd08)(old_url);\n      old_url = (char *)0x0;\n      hash_table_for_each(*(hash_table **)puVar1,\n                          (_func_int_void_ptr_void_ptr_void_ptr *)(PTR_LAB_000af464 + -0x2b38),file)\n      ;\n      goto LAB_0001d6b8;\n    }\n    do {\n      pcVar8 = pcVar8 + 1;\n      if (cVar6 != cVar7) goto LAB_0001d664;\n      cVar6 = *pcVar8;\n      pcVar11 = pcVar11 + 1;\n      cVar7 = *pcVar11;\n      if (cVar6 == '\0') {\n        pcVar8 = pcVar11;\n        cVar6 = cVar7;\n        if (cVar7 == '\0') goto LAB_0001d810;\n        break;\n      }\n    } while (cVar7 != '\0');\n    if ((((cVar6 != '/') && (pcVar11 = pcVar8 + -1, pcVar8 = pcVar8 + -1, *pcVar11 != '/')) ||\n        (pcVar8[1] != '\0')) &&\n       (iVar3 = (*(code *)PTR_strcmp_000afacc)(pcVar8,PTR_LAB_000af468 + 0x40fc), iVar3 != 0))\n    goto LAB_0001d664;\nLAB_0001d810:\n    iVar3 = hash_table_contains(*(hash_table **)puVar1,url);\n    if (iVar3 != 0) goto LAB_0001d664;\n  }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\nLAB_0001d6b8:\n    phVar12 = *(hash_table **)(puVar13 + -0xa4);\n    pvVar4 = (void *)(*(code *)PTR_xstrdup_000af48c)(file);\n    pvVar5 = (void *)(*(code *)PTR_xstrdup_000af48c)(url);\n    hash_table_put(phVar12,pvVar4,pvVar5);\n  }" { (labeled_statement "LAB_0001d6b8:\n    phVar12 = *(hash_table **)(puVar13 + -0xa4);" statement_identifier : (expression_statement "phVar12 = *(hash_table **)(puVar13 + -0xa4);" (assignment_expression "phVar12 = *(hash_table **)(puVar13 + -0xa4)" identifier = (pointer_expression "*(hash_table **)(puVar13 + -0xa4)" * (cast_expression "(hash_table **)(puVar13 + -0xa4)" ( (type_descriptor "hash_table **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar13 + -0xa4)" ( (binary_expression "puVar13 + -0xa4" identifier + number_literal) ))))) ;)) (expression_statement "pvVar4 = (void *)(*(code *)PTR_xstrdup_000af48c)(file);" (assignment_expression "pvVar4 = (void *)(*(code *)PTR_xstrdup_000af48c)(file)" identifier = (cast_expression "(void *)(*(code *)PTR_xstrdup_000af48c)(file)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_xstrdup_000af48c)(file)" (parenthesized_expression "(*(code *)PTR_xstrdup_000af48c)" ( (pointer_expression "*(code *)PTR_xstrdup_000af48c" * (cast_expression "(code *)PTR_xstrdup_000af48c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(file)" ( identifier ))))) ;) (expression_statement "pvVar5 = (void *)(*(code *)PTR_xstrdup_000af48c)(url);" (assignment_expression "pvVar5 = (void *)(*(code *)PTR_xstrdup_000af48c)(url)" identifier = (cast_expression "(void *)(*(code *)PTR_xstrdup_000af48c)(url)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_xstrdup_000af48c)(url)" (parenthesized_expression "(*(code *)PTR_xstrdup_000af48c)" ( (pointer_expression "*(code *)PTR_xstrdup_000af48c" * (cast_expression "(code *)PTR_xstrdup_000af48c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(url)" ( identifier ))))) ;) (expression_statement "hash_table_put(phVar12,pvVar4,pvVar5);" (call_expression "hash_table_put(phVar12,pvVar4,pvVar5)" identifier (argument_list "(phVar12,pvVar4,pvVar5)" ( identifier , identifier , identifier ))) ;) }) (else_clause "else {\n    phVar12 = (hash_table *)url;\n    pcVar8 = old_url;\n    iVar3 = (*(code *)PTR_strcmp_000afacc)();\n    if (iVar3 == 0) goto LAB_0001d758;\n    cVar6 = *url;\n    if ((cVar6 == '\0') || (cVar7 = *pcVar11, pcVar8 = url, cVar7 == '\0')) {\nLAB_0001d664:\n      hash_table_remove(*(hash_table **)(puVar13 + -0xa4),file);\n      (*(code *)PTR_free_000afd08)(old_file);\n      old_file = (char *)0x0;\n      (*(code *)PTR_free_000afd08)(old_url);\n      old_url = (char *)0x0;\n      hash_table_for_each(*(hash_table **)puVar1,\n                          (_func_int_void_ptr_void_ptr_void_ptr *)(PTR_LAB_000af464 + -0x2b38),file)\n      ;\n      goto LAB_0001d6b8;\n    }\n    do {\n      pcVar8 = pcVar8 + 1;\n      if (cVar6 != cVar7) goto LAB_0001d664;\n      cVar6 = *pcVar8;\n      pcVar11 = pcVar11 + 1;\n      cVar7 = *pcVar11;\n      if (cVar6 == '\0') {\n        pcVar8 = pcVar11;\n        cVar6 = cVar7;\n        if (cVar7 == '\0') goto LAB_0001d810;\n        break;\n      }\n    } while (cVar7 != '\0');\n    if ((((cVar6 != '/') && (pcVar11 = pcVar8 + -1, pcVar8 = pcVar8 + -1, *pcVar11 != '/')) ||\n        (pcVar8[1] != '\0')) &&\n       (iVar3 = (*(code *)PTR_strcmp_000afacc)(pcVar8,PTR_LAB_000af468 + 0x40fc), iVar3 != 0))\n    goto LAB_0001d664;\nLAB_0001d810:\n    iVar3 = hash_table_contains(*(hash_table **)puVar1,url);\n    if (iVar3 != 0) goto LAB_0001d664;\n  }" else (compound_statement "{\n    phVar12 = (hash_table *)url;\n    pcVar8 = old_url;\n    iVar3 = (*(code *)PTR_strcmp_000afacc)();\n    if (iVar3 == 0) goto LAB_0001d758;\n    cVar6 = *url;\n    if ((cVar6 == '\0') || (cVar7 = *pcVar11, pcVar8 = url, cVar7 == '\0')) {\nLAB_0001d664:\n      hash_table_remove(*(hash_table **)(puVar13 + -0xa4),file);\n      (*(code *)PTR_free_000afd08)(old_file);\n      old_file = (char *)0x0;\n      (*(code *)PTR_free_000afd08)(old_url);\n      old_url = (char *)0x0;\n      hash_table_for_each(*(hash_table **)puVar1,\n                          (_func_int_void_ptr_void_ptr_void_ptr *)(PTR_LAB_000af464 + -0x2b38),file)\n      ;\n      goto LAB_0001d6b8;\n    }\n    do {\n      pcVar8 = pcVar8 + 1;\n      if (cVar6 != cVar7) goto LAB_0001d664;\n      cVar6 = *pcVar8;\n      pcVar11 = pcVar11 + 1;\n      cVar7 = *pcVar11;\n      if (cVar6 == '\0') {\n        pcVar8 = pcVar11;\n        cVar6 = cVar7;\n        if (cVar7 == '\0') goto LAB_0001d810;\n        break;\n      }\n    } while (cVar7 != '\0');\n    if ((((cVar6 != '/') && (pcVar11 = pcVar8 + -1, pcVar8 = pcVar8 + -1, *pcVar11 != '/')) ||\n        (pcVar8[1] != '\0')) &&\n       (iVar3 = (*(code *)PTR_strcmp_000afacc)(pcVar8,PTR_LAB_000af468 + 0x40fc), iVar3 != 0))\n    goto LAB_0001d664;\nLAB_0001d810:\n    iVar3 = hash_table_contains(*(hash_table **)puVar1,url);\n    if (iVar3 != 0) goto LAB_0001d664;\n  }" { (expression_statement "phVar12 = (hash_table *)url;" (assignment_expression "phVar12 = (hash_table *)url" identifier = (cast_expression "(hash_table *)url" ( (type_descriptor "hash_table *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "pcVar8 = old_url;" (assignment_expression "pcVar8 = old_url" identifier = identifier) ;) (expression_statement "iVar3 = (*(code *)PTR_strcmp_000afacc)();" (assignment_expression "iVar3 = (*(code *)PTR_strcmp_000afacc)()" identifier = (call_expression "(*(code *)PTR_strcmp_000afacc)()" (parenthesized_expression "(*(code *)PTR_strcmp_000afacc)" ( (pointer_expression "*(code *)PTR_strcmp_000afacc" * (cast_expression "(code *)PTR_strcmp_000afacc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (if_statement "if (iVar3 == 0) goto LAB_0001d758;" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (goto_statement "goto LAB_0001d758;" goto statement_identifier ;)) (expression_statement "cVar6 = *url;" (assignment_expression "cVar6 = *url" identifier = (pointer_expression "*url" * identifier)) ;) (if_statement "if ((cVar6 == '\0') || (cVar7 = *pcVar11, pcVar8 = url, cVar7 == '\0')) {\nLAB_0001d664:\n      hash_table_remove(*(hash_table **)(puVar13 + -0xa4),file);\n      (*(code *)PTR_free_000afd08)(old_file);\n      old_file = (char *)0x0;\n      (*(code *)PTR_free_000afd08)(old_url);\n      old_url = (char *)0x0;\n      hash_table_for_each(*(hash_table **)puVar1,\n                          (_func_int_void_ptr_void_ptr_void_ptr *)(PTR_LAB_000af464 + -0x2b38),file)\n      ;\n      goto LAB_0001d6b8;\n    }" if (parenthesized_expression "((cVar6 == '\0') || (cVar7 = *pcVar11, pcVar8 = url, cVar7 == '\0'))" ( (binary_expression "(cVar6 == '\0') || (cVar7 = *pcVar11, pcVar8 = url, cVar7 == '\0')" (parenthesized_expression "(cVar6 == '\0')" ( (binary_expression "cVar6 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) || (parenthesized_expression "(cVar7 = *pcVar11, pcVar8 = url, cVar7 == '\0')" ( (comma_expression "cVar7 = *pcVar11, pcVar8 = url, cVar7 == '\0'" (assignment_expression "cVar7 = *pcVar11" identifier = (pointer_expression "*pcVar11" * identifier)) , (comma_expression "pcVar8 = url, cVar7 == '\0'" (assignment_expression "pcVar8 = url" identifier = identifier) , (binary_expression "cVar7 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')))) ))) )) (compound_statement "{\nLAB_0001d664:\n      hash_table_remove(*(hash_table **)(puVar13 + -0xa4),file);\n      (*(code *)PTR_free_000afd08)(old_file);\n      old_file = (char *)0x0;\n      (*(code *)PTR_free_000afd08)(old_url);\n      old_url = (char *)0x0;\n      hash_table_for_each(*(hash_table **)puVar1,\n                          (_func_int_void_ptr_void_ptr_void_ptr *)(PTR_LAB_000af464 + -0x2b38),file)\n      ;\n      goto LAB_0001d6b8;\n    }" { (labeled_statement "LAB_0001d664:\n      hash_table_remove(*(hash_table **)(puVar13 + -0xa4),file);" statement_identifier : (expression_statement "hash_table_remove(*(hash_table **)(puVar13 + -0xa4),file);" (call_expression "hash_table_remove(*(hash_table **)(puVar13 + -0xa4),file)" identifier (argument_list "(*(hash_table **)(puVar13 + -0xa4),file)" ( (pointer_expression "*(hash_table **)(puVar13 + -0xa4)" * (cast_expression "(hash_table **)(puVar13 + -0xa4)" ( (type_descriptor "hash_table **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar13 + -0xa4)" ( (binary_expression "puVar13 + -0xa4" identifier + number_literal) )))) , identifier ))) ;)) (expression_statement "(*(code *)PTR_free_000afd08)(old_file);" (call_expression "(*(code *)PTR_free_000afd08)(old_file)" (parenthesized_expression "(*(code *)PTR_free_000afd08)" ( (pointer_expression "*(code *)PTR_free_000afd08" * (cast_expression "(code *)PTR_free_000afd08" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(old_file)" ( identifier ))) ;) (expression_statement "old_file = (char *)0x0;" (assignment_expression "old_file = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "(*(code *)PTR_free_000afd08)(old_url);" (call_expression "(*(code *)PTR_free_000afd08)(old_url)" (parenthesized_expression "(*(code *)PTR_free_000afd08)" ( (pointer_expression "*(code *)PTR_free_000afd08" * (cast_expression "(code *)PTR_free_000afd08" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(old_url)" ( identifier ))) ;) (expression_statement "old_url = (char *)0x0;" (assignment_expression "old_url = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "hash_table_for_each(*(hash_table **)puVar1,\n                          (_func_int_void_ptr_void_ptr_void_ptr *)(PTR_LAB_000af464 + -0x2b38),file)\n      ;" (call_expression "hash_table_for_each(*(hash_table **)puVar1,\n                          (_func_int_void_ptr_void_ptr_void_ptr *)(PTR_LAB_000af464 + -0x2b38),file)" identifier (argument_list "(*(hash_table **)puVar1,\n                          (_func_int_void_ptr_void_ptr_void_ptr *)(PTR_LAB_000af464 + -0x2b38),file)" ( (pointer_expression "*(hash_table **)puVar1" * (cast_expression "(hash_table **)puVar1" ( (type_descriptor "hash_table **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) , (cast_expression "(_func_int_void_ptr_void_ptr_void_ptr *)(PTR_LAB_000af464 + -0x2b38)" ( (type_descriptor "_func_int_void_ptr_void_ptr_void_ptr *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_000af464 + -0x2b38)" ( (binary_expression "PTR_LAB_000af464 + -0x2b38" identifier + number_literal) ))) , identifier ))) ;) (goto_statement "goto LAB_0001d6b8;" goto statement_identifier ;) })) (do_statement "do {\n      pcVar8 = pcVar8 + 1;\n      if (cVar6 != cVar7) goto LAB_0001d664;\n      cVar6 = *pcVar8;\n      pcVar11 = pcVar11 + 1;\n      cVar7 = *pcVar11;\n      if (cVar6 == '\0') {\n        pcVar8 = pcVar11;\n        cVar6 = cVar7;\n        if (cVar7 == '\0') goto LAB_0001d810;\n        break;\n      }\n    } while (cVar7 != '\0');" do (compound_statement "{\n      pcVar8 = pcVar8 + 1;\n      if (cVar6 != cVar7) goto LAB_0001d664;\n      cVar6 = *pcVar8;\n      pcVar11 = pcVar11 + 1;\n      cVar7 = *pcVar11;\n      if (cVar6 == '\0') {\n        pcVar8 = pcVar11;\n        cVar6 = cVar7;\n        if (cVar7 == '\0') goto LAB_0001d810;\n        break;\n      }\n    }" { (expression_statement "pcVar8 = pcVar8 + 1;" (assignment_expression "pcVar8 = pcVar8 + 1" identifier = (binary_expression "pcVar8 + 1" identifier + number_literal)) ;) (if_statement "if (cVar6 != cVar7) goto LAB_0001d664;" if (parenthesized_expression "(cVar6 != cVar7)" ( (binary_expression "cVar6 != cVar7" identifier != identifier) )) (goto_statement "goto LAB_0001d664;" goto statement_identifier ;)) (expression_statement "cVar6 = *pcVar8;" (assignment_expression "cVar6 = *pcVar8" identifier = (pointer_expression "*pcVar8" * identifier)) ;) (expression_statement "pcVar11 = pcVar11 + 1;" (assignment_expression "pcVar11 = pcVar11 + 1" identifier = (binary_expression "pcVar11 + 1" identifier + number_literal)) ;) (expression_statement "cVar7 = *pcVar11;" (assignment_expression "cVar7 = *pcVar11" identifier = (pointer_expression "*pcVar11" * identifier)) ;) (if_statement "if (cVar6 == '\0') {\n        pcVar8 = pcVar11;\n        cVar6 = cVar7;\n        if (cVar7 == '\0') goto LAB_0001d810;\n        break;\n      }" if (parenthesized_expression "(cVar6 == '\0')" ( (binary_expression "cVar6 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        pcVar8 = pcVar11;\n        cVar6 = cVar7;\n        if (cVar7 == '\0') goto LAB_0001d810;\n        break;\n      }" { (expression_statement "pcVar8 = pcVar11;" (assignment_expression "pcVar8 = pcVar11" identifier = identifier) ;) (expression_statement "cVar6 = cVar7;" (assignment_expression "cVar6 = cVar7" identifier = identifier) ;) (if_statement "if (cVar7 == '\0') goto LAB_0001d810;" if (parenthesized_expression "(cVar7 == '\0')" ( (binary_expression "cVar7 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (goto_statement "goto LAB_0001d810;" goto statement_identifier ;)) (break_statement "break;" break ;) })) }) while (parenthesized_expression "(cVar7 != '\0')" ( (binary_expression "cVar7 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) ;) (if_statement "if ((((cVar6 != '/') && (pcVar11 = pcVar8 + -1, pcVar8 = pcVar8 + -1, *pcVar11 != '/')) ||\n        (pcVar8[1] != '\0')) &&\n       (iVar3 = (*(code *)PTR_strcmp_000afacc)(pcVar8,PTR_LAB_000af468 + 0x40fc), iVar3 != 0))\n    goto LAB_0001d664;" if (parenthesized_expression "((((cVar6 != '/') && (pcVar11 = pcVar8 + -1, pcVar8 = pcVar8 + -1, *pcVar11 != '/')) ||\n        (pcVar8[1] != '\0')) &&\n       (iVar3 = (*(code *)PTR_strcmp_000afacc)(pcVar8,PTR_LAB_000af468 + 0x40fc), iVar3 != 0))" ( (binary_expression "(((cVar6 != '/') && (pcVar11 = pcVar8 + -1, pcVar8 = pcVar8 + -1, *pcVar11 != '/')) ||\n        (pcVar8[1] != '\0')) &&\n       (iVar3 = (*(code *)PTR_strcmp_000afacc)(pcVar8,PTR_LAB_000af468 + 0x40fc), iVar3 != 0)" (parenthesized_expression "(((cVar6 != '/') && (pcVar11 = pcVar8 + -1, pcVar8 = pcVar8 + -1, *pcVar11 != '/')) ||\n        (pcVar8[1] != '\0'))" ( (binary_expression "((cVar6 != '/') && (pcVar11 = pcVar8 + -1, pcVar8 = pcVar8 + -1, *pcVar11 != '/')) ||\n        (pcVar8[1] != '\0')" (parenthesized_expression "((cVar6 != '/') && (pcVar11 = pcVar8 + -1, pcVar8 = pcVar8 + -1, *pcVar11 != '/'))" ( (binary_expression "(cVar6 != '/') && (pcVar11 = pcVar8 + -1, pcVar8 = pcVar8 + -1, *pcVar11 != '/')" (parenthesized_expression "(cVar6 != '/')" ( (binary_expression "cVar6 != '/'" identifier != (char_literal "'/'" ' character ')) )) && (parenthesized_expression "(pcVar11 = pcVar8 + -1, pcVar8 = pcVar8 + -1, *pcVar11 != '/')" ( (comma_expression "pcVar11 = pcVar8 + -1, pcVar8 = pcVar8 + -1, *pcVar11 != '/'" (assignment_expression "pcVar11 = pcVar8 + -1" identifier = (binary_expression "pcVar8 + -1" identifier + number_literal)) , (comma_expression "pcVar8 = pcVar8 + -1, *pcVar11 != '/'" (assignment_expression "pcVar8 = pcVar8 + -1" identifier = (binary_expression "pcVar8 + -1" identifier + number_literal)) , (binary_expression "*pcVar11 != '/'" (pointer_expression "*pcVar11" * identifier) != (char_literal "'/'" ' character ')))) ))) )) || (parenthesized_expression "(pcVar8[1] != '\0')" ( (binary_expression "pcVar8[1] != '\0'" (subscript_expression "pcVar8[1]" identifier [ number_literal ]) != (char_literal "'\0'" ' escape_sequence ')) ))) )) && (parenthesized_expression "(iVar3 = (*(code *)PTR_strcmp_000afacc)(pcVar8,PTR_LAB_000af468 + 0x40fc), iVar3 != 0)" ( (comma_expression "iVar3 = (*(code *)PTR_strcmp_000afacc)(pcVar8,PTR_LAB_000af468 + 0x40fc), iVar3 != 0" (assignment_expression "iVar3 = (*(code *)PTR_strcmp_000afacc)(pcVar8,PTR_LAB_000af468 + 0x40fc)" identifier = (call_expression "(*(code *)PTR_strcmp_000afacc)(pcVar8,PTR_LAB_000af468 + 0x40fc)" (parenthesized_expression "(*(code *)PTR_strcmp_000afacc)" ( (pointer_expression "*(code *)PTR_strcmp_000afacc" * (cast_expression "(code *)PTR_strcmp_000afacc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar8,PTR_LAB_000af468 + 0x40fc)" ( identifier , (binary_expression "PTR_LAB_000af468 + 0x40fc" identifier + number_literal) )))) , (binary_expression "iVar3 != 0" identifier != number_literal)) ))) )) (goto_statement "goto LAB_0001d664;" goto statement_identifier ;)) (labeled_statement "LAB_0001d810:\n    iVar3 = hash_table_contains(*(hash_table **)puVar1,url);" statement_identifier : (expression_statement "iVar3 = hash_table_contains(*(hash_table **)puVar1,url);" (assignment_expression "iVar3 = hash_table_contains(*(hash_table **)puVar1,url)" identifier = (call_expression "hash_table_contains(*(hash_table **)puVar1,url)" identifier (argument_list "(*(hash_table **)puVar1,url)" ( (pointer_expression "*(hash_table **)puVar1" * (cast_expression "(hash_table **)puVar1" ( (type_descriptor "hash_table **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) , identifier )))) ;)) (if_statement "if (iVar3 != 0) goto LAB_0001d664;" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (goto_statement "goto LAB_0001d664;" goto statement_identifier ;)) }))) (expression_statement "iVar3 = hash_table_get_pair(*(hash_table **)puVar1,url,&old_url,&old_file);" (assignment_expression "iVar3 = hash_table_get_pair(*(hash_table **)puVar1,url,&old_url,&old_file)" identifier = (call_expression "hash_table_get_pair(*(hash_table **)puVar1,url,&old_url,&old_file)" identifier (argument_list "(*(hash_table **)puVar1,url,&old_url,&old_file)" ( (pointer_expression "*(hash_table **)puVar1" * (cast_expression "(hash_table **)puVar1" ( (type_descriptor "hash_table **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) , identifier , (pointer_expression "&old_url" & identifier) , (pointer_expression "&old_file" & identifier) )))) ;) (if_statement "if (iVar3 != 0) {\n    hash_table_remove(*(hash_table **)puVar1,url);\n    (*(code *)PTR_free_000afd08)(old_url);\n    old_url = (char *)0x0;\n    (*(code *)PTR_free_000afd08)(old_file);\n    old_file = (char *)0x0;\n  }" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\n    hash_table_remove(*(hash_table **)puVar1,url);\n    (*(code *)PTR_free_000afd08)(old_url);\n    old_url = (char *)0x0;\n    (*(code *)PTR_free_000afd08)(old_file);\n    old_file = (char *)0x0;\n  }" { (expression_statement "hash_table_remove(*(hash_table **)puVar1,url);" (call_expression "hash_table_remove(*(hash_table **)puVar1,url)" identifier (argument_list "(*(hash_table **)puVar1,url)" ( (pointer_expression "*(hash_table **)puVar1" * (cast_expression "(hash_table **)puVar1" ( (type_descriptor "hash_table **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) , identifier ))) ;) (expression_statement "(*(code *)PTR_free_000afd08)(old_url);" (call_expression "(*(code *)PTR_free_000afd08)(old_url)" (parenthesized_expression "(*(code *)PTR_free_000afd08)" ( (pointer_expression "*(code *)PTR_free_000afd08" * (cast_expression "(code *)PTR_free_000afd08" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(old_url)" ( identifier ))) ;) (expression_statement "old_url = (char *)0x0;" (assignment_expression "old_url = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "(*(code *)PTR_free_000afd08)(old_file);" (call_expression "(*(code *)PTR_free_000afd08)(old_file)" (parenthesized_expression "(*(code *)PTR_free_000afd08)" ( (pointer_expression "*(code *)PTR_free_000afd08" * (cast_expression "(code *)PTR_free_000afd08" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(old_file)" ( identifier ))) ;) (expression_statement "old_file = (char *)0x0;" (assignment_expression "old_file = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) })) (expression_statement "phVar12 = *(hash_table **)puVar1;" (assignment_expression "phVar12 = *(hash_table **)puVar1" identifier = (pointer_expression "*(hash_table **)puVar1" * (cast_expression "(hash_table **)puVar1" ( (type_descriptor "hash_table **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (expression_statement "pcVar8 = (char *)(*(code *)PTR_xstrdup_000af48c)(url);" (assignment_expression "pcVar8 = (char *)(*(code *)PTR_xstrdup_000af48c)(url)" identifier = (cast_expression "(char *)(*(code *)PTR_xstrdup_000af48c)(url)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_xstrdup_000af48c)(url)" (parenthesized_expression "(*(code *)PTR_xstrdup_000af48c)" ( (pointer_expression "*(code *)PTR_xstrdup_000af48c" * (cast_expression "(code *)PTR_xstrdup_000af48c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(url)" ( identifier ))))) ;) (expression_statement "pvVar4 = (void *)(*(code *)PTR_xstrdup_000af48c)(file);" (assignment_expression "pvVar4 = (void *)(*(code *)PTR_xstrdup_000af48c)(file)" identifier = (cast_expression "(void *)(*(code *)PTR_xstrdup_000af48c)(file)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_xstrdup_000af48c)(file)" (parenthesized_expression "(*(code *)PTR_xstrdup_000af48c)" ( (pointer_expression "*(code *)PTR_xstrdup_000af48c" * (cast_expression "(code *)PTR_xstrdup_000af48c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(file)" ( identifier ))))) ;) (expression_statement "hash_table_put(phVar12,pcVar8,pvVar4);" (call_expression "hash_table_put(phVar12,pcVar8,pvVar4)" identifier (argument_list "(phVar12,pcVar8,pvVar4)" ( identifier , identifier , identifier ))) ;) (labeled_statement "LAB_0001d758:\n  if (local_2c == *(int *)puVar2) {\n    return;\n  }" statement_identifier : (if_statement "if (local_2c == *(int *)puVar2) {\n    return;\n  }" if (parenthesized_expression "(local_2c == *(int *)puVar2)" ( (binary_expression "local_2c == *(int *)puVar2" identifier == (pointer_expression "*(int *)puVar2" * (cast_expression "(int *)puVar2" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) }))) (expression_statement "puVar13 = PTR___stack_chk_fail_000afbd4;" (assignment_expression "puVar13 = PTR___stack_chk_fail_000afbd4" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_000afbd4)();" (call_expression "(*(code *)PTR___stack_chk_fail_000afbd4)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_000afbd4)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_000afbd4" * (cast_expression "(code *)PTR___stack_chk_fail_000afbd4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "iVar3 = *(int *)(puVar13 + 0x91be4);" (assignment_expression "iVar3 = *(int *)(puVar13 + 0x91be4)" identifier = (pointer_expression "*(int *)(puVar13 + 0x91be4)" * (cast_expression "(int *)(puVar13 + 0x91be4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar13 + 0x91be4)" ( (binary_expression "puVar13 + 0x91be4" identifier + number_literal) ))))) ;) (if_statement "if (*(int *)(iVar3 + -0xa4) == 0) {\n    phVar9 = make_string_hash_table(0);\n    *(hash_table **)(iVar3 + -0xa4) = phVar9;\n  }" if (parenthesized_expression "(*(int *)(iVar3 + -0xa4) == 0)" ( (binary_expression "*(int *)(iVar3 + -0xa4) == 0" (pointer_expression "*(int *)(iVar3 + -0xa4)" * (cast_expression "(int *)(iVar3 + -0xa4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + -0xa4)" ( (binary_expression "iVar3 + -0xa4" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    phVar9 = make_string_hash_table(0);\n    *(hash_table **)(iVar3 + -0xa4) = phVar9;\n  }" { (expression_statement "phVar9 = make_string_hash_table(0);" (assignment_expression "phVar9 = make_string_hash_table(0)" identifier = (call_expression "make_string_hash_table(0)" identifier (argument_list "(0)" ( number_literal )))) ;) (expression_statement "*(hash_table **)(iVar3 + -0xa4) = phVar9;" (assignment_expression "*(hash_table **)(iVar3 + -0xa4) = phVar9" (pointer_expression "*(hash_table **)(iVar3 + -0xa4)" * (cast_expression "(hash_table **)(iVar3 + -0xa4)" ( (type_descriptor "hash_table **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar3 + -0xa4)" ( (binary_expression "iVar3 + -0xa4" identifier + number_literal) )))) = identifier) ;) })) (expression_statement "piVar10 = *(int **)(puVar13 + 0x91da4);" (assignment_expression "piVar10 = *(int **)(puVar13 + 0x91da4)" identifier = (pointer_expression "*(int **)(puVar13 + 0x91da4)" * (cast_expression "(int **)(puVar13 + 0x91da4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar13 + 0x91da4)" ( (binary_expression "puVar13 + 0x91da4" identifier + number_literal) ))))) ;) (expression_statement "phVar9 = (hash_table *)*piVar10;" (assignment_expression "phVar9 = (hash_table *)*piVar10" identifier = (cast_expression "(hash_table *)*piVar10" ( (type_descriptor "hash_table *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar10" * identifier))) ;) (if_statement "if (phVar9 == (hash_table *)0x0) {\n    phVar9 = make_string_hash_table(0);\n    *piVar10 = (int)phVar9;\n  }" if (parenthesized_expression "(phVar9 == (hash_table *)0x0)" ( (binary_expression "phVar9 == (hash_table *)0x0" identifier == (cast_expression "(hash_table *)0x0" ( (type_descriptor "hash_table *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    phVar9 = make_string_hash_table(0);\n    *piVar10 = (int)phVar9;\n  }" { (expression_statement "phVar9 = make_string_hash_table(0);" (assignment_expression "phVar9 = make_string_hash_table(0)" identifier = (call_expression "make_string_hash_table(0)" identifier (argument_list "(0)" ( number_literal )))) ;) (expression_statement "*piVar10 = (int)phVar9;" (assignment_expression "*piVar10 = (int)phVar9" (pointer_expression "*piVar10" * identifier) = (cast_expression "(int)phVar9" ( (type_descriptor "int" primitive_type) ) identifier)) ;) })) (expression_statement "pvVar4 = hash_table_get(phVar9,pcVar8);" (assignment_expression "pvVar4 = hash_table_get(phVar9,pcVar8)" identifier = (call_expression "hash_table_get(phVar9,pcVar8)" identifier (argument_list "(phVar9,pcVar8)" ( identifier , identifier )))) ;) (expression_statement "iVar3 = hash_table_contains((hash_table *)*piVar10,phVar12);" (assignment_expression "iVar3 = hash_table_contains((hash_table *)*piVar10,phVar12)" identifier = (call_expression "hash_table_contains((hash_table *)*piVar10,phVar12)" identifier (argument_list "((hash_table *)*piVar10,phVar12)" ( (cast_expression "(hash_table *)*piVar10" ( (type_descriptor "hash_table *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar10" * identifier)) , identifier )))) ;) (if_statement "if (iVar3 == 0) {\n    phVar9 = (hash_table *)*piVar10;\n    pvVar5 = (void *)(**(code **)(puVar13 + 0x91c18))(phVar12);\n    pvVar4 = (void *)(**(code **)(puVar13 + 0x91c18))(pvVar4);\n    hash_table_put(phVar9,pvVar5,pvVar4);\n    return;\n  }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n    phVar9 = (hash_table *)*piVar10;\n    pvVar5 = (void *)(**(code **)(puVar13 + 0x91c18))(phVar12);\n    pvVar4 = (void *)(**(code **)(puVar13 + 0x91c18))(pvVar4);\n    hash_table_put(phVar9,pvVar5,pvVar4);\n    return;\n  }" { (expression_statement "phVar9 = (hash_table *)*piVar10;" (assignment_expression "phVar9 = (hash_table *)*piVar10" identifier = (cast_expression "(hash_table *)*piVar10" ( (type_descriptor "hash_table *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar10" * identifier))) ;) (expression_statement "pvVar5 = (void *)(**(code **)(puVar13 + 0x91c18))(phVar12);" (assignment_expression "pvVar5 = (void *)(**(code **)(puVar13 + 0x91c18))(phVar12)" identifier = (cast_expression "(void *)(**(code **)(puVar13 + 0x91c18))(phVar12)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(puVar13 + 0x91c18))(phVar12)" (parenthesized_expression "(**(code **)(puVar13 + 0x91c18))" ( (pointer_expression "**(code **)(puVar13 + 0x91c18)" * (pointer_expression "*(code **)(puVar13 + 0x91c18)" * (cast_expression "(code **)(puVar13 + 0x91c18)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar13 + 0x91c18)" ( (binary_expression "puVar13 + 0x91c18" identifier + number_literal) ))))) )) (argument_list "(phVar12)" ( identifier ))))) ;) (expression_statement "pvVar4 = (void *)(**(code **)(puVar13 + 0x91c18))(pvVar4);" (assignment_expression "pvVar4 = (void *)(**(code **)(puVar13 + 0x91c18))(pvVar4)" identifier = (cast_expression "(void *)(**(code **)(puVar13 + 0x91c18))(pvVar4)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(puVar13 + 0x91c18))(pvVar4)" (parenthesized_expression "(**(code **)(puVar13 + 0x91c18))" ( (pointer_expression "**(code **)(puVar13 + 0x91c18)" * (pointer_expression "*(code **)(puVar13 + 0x91c18)" * (cast_expression "(code **)(puVar13 + 0x91c18)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar13 + 0x91c18)" ( (binary_expression "puVar13 + 0x91c18" identifier + number_literal) ))))) )) (argument_list "(pvVar4)" ( identifier ))))) ;) (expression_statement "hash_table_put(phVar9,pvVar5,pvVar4);" (call_expression "hash_table_put(phVar9,pvVar5,pvVar4)" identifier (argument_list "(phVar9,pvVar5,pvVar4)" ( identifier , identifier , identifier ))) ;) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })))
(translation_unit "void register_download(char *param_1,undefined4 param_2)\n\n{\n  undefined *puVar1;\n  undefined *puVar2;\n  int iVar3;\n  char cVar6;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  char cVar7;\n  char *pcVar8;\n  int *piVar9;\n  char *pcVar10;\n  undefined4 uVar11;\n  undefined *puVar12;\n  undefined4 local_34;\n  char *local_30;\n  int local_2c;\n  \n  puVar2 = PTR___stack_chk_guard_000afc3c;\n  puVar12 = PTR_DAT_000af458;\n  local_2c = *(int *)PTR___stack_chk_guard_000afc3c;\n  if (*(int *)(PTR_DAT_000af458 + -0xa4) == 0) {\n    uVar4 = make_string_hash_table(0);\n    *(undefined4 *)(puVar12 + -0xa4) = uVar4;\n  }\n  puVar1 = PTR_dl_url_file_map_000af618;\n  if (*(int *)PTR_dl_url_file_map_000af618 == 0) {\n    uVar4 = make_string_hash_table(0);\n    *(undefined4 *)puVar1 = uVar4;\n  }\n  iVar3 = hash_table_get_pair(*(undefined4 *)(puVar12 + -0xa4),param_2,&local_34,&local_30);\n  pcVar10 = local_30;\n  if (iVar3 == 0) {\nLAB_0001d6b8:\n    uVar11 = *(undefined4 *)(puVar12 + -0xa4);\n    uVar4 = (*(code *)PTR_xstrdup_000af48c)(param_2);\n    uVar5 = (*(code *)PTR_xstrdup_000af48c)(param_1);\n    hash_table_put(uVar11,uVar4,uVar5);\n  }\n  else {\n    pcVar8 = param_1;\n    iVar3 = (*(code *)PTR_strcmp_000afacc)(param_1);\n    if (iVar3 == 0) goto LAB_0001d758;\n    cVar6 = *param_1;\n    if ((cVar6 == '\0') || (cVar7 = *pcVar10, pcVar8 = param_1, cVar7 == '\0')) {\nLAB_0001d664:\n      hash_table_remove(*(undefined4 *)(puVar12 + -0xa4),param_2);\n      (*(code *)PTR_free_000afd08)(local_34);\n      local_34 = 0;\n      (*(code *)PTR_free_000afd08)(local_30);\n      local_30 = (char *)0x0;\n      hash_table_for_each(*(undefined4 *)puVar1,PTR_LAB_000af464 + -0x2b38,param_2);\n      goto LAB_0001d6b8;\n    }\n    do {\n      pcVar8 = pcVar8 + 1;\n      if (cVar6 != cVar7) goto LAB_0001d664;\n      cVar6 = *pcVar8;\n      pcVar10 = pcVar10 + 1;\n      cVar7 = *pcVar10;\n      if (cVar6 == '\0') {\n        pcVar8 = pcVar10;\n        cVar6 = cVar7;\n        if (cVar7 == '\0') goto LAB_0001d810;\n        break;\n      }\n    } while (cVar7 != '\0');\n    if ((((cVar6 != '/') && (pcVar10 = pcVar8 + -1, pcVar8 = pcVar8 + -1, *pcVar10 != '/')) ||\n        (pcVar8[1] != '\0')) &&\n       (iVar3 = (*(code *)PTR_strcmp_000afacc)(pcVar8,PTR_LAB_000af468 + 0x40fc), iVar3 != 0))\n    goto LAB_0001d664;\nLAB_0001d810:\n    iVar3 = hash_table_contains(*(undefined4 *)puVar1,param_1);\n    if (iVar3 != 0) goto LAB_0001d664;\n  }\n  iVar3 = hash_table_get_pair(*(undefined4 *)puVar1,param_1,&local_30,&local_34);\n  if (iVar3 != 0) {\n    hash_table_remove(*(undefined4 *)puVar1,param_1);\n    (*(code *)PTR_free_000afd08)(local_30);\n    local_30 = (char *)0x0;\n    (*(code *)PTR_free_000afd08)(local_34);\n    local_34 = 0;\n  }\n  pcVar8 = *(char **)puVar1;\n  uVar4 = (*(code *)PTR_xstrdup_000af48c)(param_1);\n  uVar5 = (*(code *)PTR_xstrdup_000af48c)(param_2);\n  hash_table_put(pcVar8,uVar4,uVar5);\nLAB_0001d758:\n  if (local_2c == *(int *)puVar2) {\n    return;\n  }\n  puVar12 = PTR___stack_chk_fail_000afbd4;\n  (*(code *)PTR___stack_chk_fail_000afbd4)();\n  iVar3 = *(int *)(puVar12 + 0x91be4);\n  if (*(int *)(iVar3 + -0xa4) == 0) {\n    uVar4 = make_string_hash_table(0);\n    *(undefined4 *)(iVar3 + -0xa4) = uVar4;\n  }\n  piVar9 = *(int **)(puVar12 + 0x91da4);\n  iVar3 = *piVar9;\n  if (iVar3 == 0) {\n    iVar3 = make_string_hash_table();\n    *piVar9 = iVar3;\n  }\n  uVar4 = hash_table_get(iVar3);\n  iVar3 = hash_table_contains(*piVar9,pcVar8);\n  if (iVar3 == 0) {\n    iVar3 = *piVar9;\n    uVar5 = (**(code **)(puVar12 + 0x91c18))(pcVar8);\n    uVar4 = (**(code **)(puVar12 + 0x91c18))(uVar4);\n    hash_table_put(iVar3,uVar5,uVar4);\n    return;\n  }\n  return;\n}\n\n" (function_definition "void register_download(char *param_1,undefined4 param_2)\n\n{\n  undefined *puVar1;\n  undefined *puVar2;\n  int iVar3;\n  char cVar6;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  char cVar7;\n  char *pcVar8;\n  int *piVar9;\n  char *pcVar10;\n  undefined4 uVar11;\n  undefined *puVar12;\n  undefined4 local_34;\n  char *local_30;\n  int local_2c;\n  \n  puVar2 = PTR___stack_chk_guard_000afc3c;\n  puVar12 = PTR_DAT_000af458;\n  local_2c = *(int *)PTR___stack_chk_guard_000afc3c;\n  if (*(int *)(PTR_DAT_000af458 + -0xa4) == 0) {\n    uVar4 = make_string_hash_table(0);\n    *(undefined4 *)(puVar12 + -0xa4) = uVar4;\n  }\n  puVar1 = PTR_dl_url_file_map_000af618;\n  if (*(int *)PTR_dl_url_file_map_000af618 == 0) {\n    uVar4 = make_string_hash_table(0);\n    *(undefined4 *)puVar1 = uVar4;\n  }\n  iVar3 = hash_table_get_pair(*(undefined4 *)(puVar12 + -0xa4),param_2,&local_34,&local_30);\n  pcVar10 = local_30;\n  if (iVar3 == 0) {\nLAB_0001d6b8:\n    uVar11 = *(undefined4 *)(puVar12 + -0xa4);\n    uVar4 = (*(code *)PTR_xstrdup_000af48c)(param_2);\n    uVar5 = (*(code *)PTR_xstrdup_000af48c)(param_1);\n    hash_table_put(uVar11,uVar4,uVar5);\n  }\n  else {\n    pcVar8 = param_1;\n    iVar3 = (*(code *)PTR_strcmp_000afacc)(param_1);\n    if (iVar3 == 0) goto LAB_0001d758;\n    cVar6 = *param_1;\n    if ((cVar6 == '\0') || (cVar7 = *pcVar10, pcVar8 = param_1, cVar7 == '\0')) {\nLAB_0001d664:\n      hash_table_remove(*(undefined4 *)(puVar12 + -0xa4),param_2);\n      (*(code *)PTR_free_000afd08)(local_34);\n      local_34 = 0;\n      (*(code *)PTR_free_000afd08)(local_30);\n      local_30 = (char *)0x0;\n      hash_table_for_each(*(undefined4 *)puVar1,PTR_LAB_000af464 + -0x2b38,param_2);\n      goto LAB_0001d6b8;\n    }\n    do {\n      pcVar8 = pcVar8 + 1;\n      if (cVar6 != cVar7) goto LAB_0001d664;\n      cVar6 = *pcVar8;\n      pcVar10 = pcVar10 + 1;\n      cVar7 = *pcVar10;\n      if (cVar6 == '\0') {\n        pcVar8 = pcVar10;\n        cVar6 = cVar7;\n        if (cVar7 == '\0') goto LAB_0001d810;\n        break;\n      }\n    } while (cVar7 != '\0');\n    if ((((cVar6 != '/') && (pcVar10 = pcVar8 + -1, pcVar8 = pcVar8 + -1, *pcVar10 != '/')) ||\n        (pcVar8[1] != '\0')) &&\n       (iVar3 = (*(code *)PTR_strcmp_000afacc)(pcVar8,PTR_LAB_000af468 + 0x40fc), iVar3 != 0))\n    goto LAB_0001d664;\nLAB_0001d810:\n    iVar3 = hash_table_contains(*(undefined4 *)puVar1,param_1);\n    if (iVar3 != 0) goto LAB_0001d664;\n  }\n  iVar3 = hash_table_get_pair(*(undefined4 *)puVar1,param_1,&local_30,&local_34);\n  if (iVar3 != 0) {\n    hash_table_remove(*(undefined4 *)puVar1,param_1);\n    (*(code *)PTR_free_000afd08)(local_30);\n    local_30 = (char *)0x0;\n    (*(code *)PTR_free_000afd08)(local_34);\n    local_34 = 0;\n  }\n  pcVar8 = *(char **)puVar1;\n  uVar4 = (*(code *)PTR_xstrdup_000af48c)(param_1);\n  uVar5 = (*(code *)PTR_xstrdup_000af48c)(param_2);\n  hash_table_put(pcVar8,uVar4,uVar5);\nLAB_0001d758:\n  if (local_2c == *(int *)puVar2) {\n    return;\n  }\n  puVar12 = PTR___stack_chk_fail_000afbd4;\n  (*(code *)PTR___stack_chk_fail_000afbd4)();\n  iVar3 = *(int *)(puVar12 + 0x91be4);\n  if (*(int *)(iVar3 + -0xa4) == 0) {\n    uVar4 = make_string_hash_table(0);\n    *(undefined4 *)(iVar3 + -0xa4) = uVar4;\n  }\n  piVar9 = *(int **)(puVar12 + 0x91da4);\n  iVar3 = *piVar9;\n  if (iVar3 == 0) {\n    iVar3 = make_string_hash_table();\n    *piVar9 = iVar3;\n  }\n  uVar4 = hash_table_get(iVar3);\n  iVar3 = hash_table_contains(*piVar9,pcVar8);\n  if (iVar3 == 0) {\n    iVar3 = *piVar9;\n    uVar5 = (**(code **)(puVar12 + 0x91c18))(pcVar8);\n    uVar4 = (**(code **)(puVar12 + 0x91c18))(uVar4);\n    hash_table_put(iVar3,uVar5,uVar4);\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "register_download(char *param_1,undefined4 param_2)" identifier (parameter_list "(char *param_1,undefined4 param_2)" ( (parameter_declaration "char *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  undefined *puVar2;\n  int iVar3;\n  char cVar6;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  char cVar7;\n  char *pcVar8;\n  int *piVar9;\n  char *pcVar10;\n  undefined4 uVar11;\n  undefined *puVar12;\n  undefined4 local_34;\n  char *local_30;\n  int local_2c;\n  \n  puVar2 = PTR___stack_chk_guard_000afc3c;\n  puVar12 = PTR_DAT_000af458;\n  local_2c = *(int *)PTR___stack_chk_guard_000afc3c;\n  if (*(int *)(PTR_DAT_000af458 + -0xa4) == 0) {\n    uVar4 = make_string_hash_table(0);\n    *(undefined4 *)(puVar12 + -0xa4) = uVar4;\n  }\n  puVar1 = PTR_dl_url_file_map_000af618;\n  if (*(int *)PTR_dl_url_file_map_000af618 == 0) {\n    uVar4 = make_string_hash_table(0);\n    *(undefined4 *)puVar1 = uVar4;\n  }\n  iVar3 = hash_table_get_pair(*(undefined4 *)(puVar12 + -0xa4),param_2,&local_34,&local_30);\n  pcVar10 = local_30;\n  if (iVar3 == 0) {\nLAB_0001d6b8:\n    uVar11 = *(undefined4 *)(puVar12 + -0xa4);\n    uVar4 = (*(code *)PTR_xstrdup_000af48c)(param_2);\n    uVar5 = (*(code *)PTR_xstrdup_000af48c)(param_1);\n    hash_table_put(uVar11,uVar4,uVar5);\n  }\n  else {\n    pcVar8 = param_1;\n    iVar3 = (*(code *)PTR_strcmp_000afacc)(param_1);\n    if (iVar3 == 0) goto LAB_0001d758;\n    cVar6 = *param_1;\n    if ((cVar6 == '\0') || (cVar7 = *pcVar10, pcVar8 = param_1, cVar7 == '\0')) {\nLAB_0001d664:\n      hash_table_remove(*(undefined4 *)(puVar12 + -0xa4),param_2);\n      (*(code *)PTR_free_000afd08)(local_34);\n      local_34 = 0;\n      (*(code *)PTR_free_000afd08)(local_30);\n      local_30 = (char *)0x0;\n      hash_table_for_each(*(undefined4 *)puVar1,PTR_LAB_000af464 + -0x2b38,param_2);\n      goto LAB_0001d6b8;\n    }\n    do {\n      pcVar8 = pcVar8 + 1;\n      if (cVar6 != cVar7) goto LAB_0001d664;\n      cVar6 = *pcVar8;\n      pcVar10 = pcVar10 + 1;\n      cVar7 = *pcVar10;\n      if (cVar6 == '\0') {\n        pcVar8 = pcVar10;\n        cVar6 = cVar7;\n        if (cVar7 == '\0') goto LAB_0001d810;\n        break;\n      }\n    } while (cVar7 != '\0');\n    if ((((cVar6 != '/') && (pcVar10 = pcVar8 + -1, pcVar8 = pcVar8 + -1, *pcVar10 != '/')) ||\n        (pcVar8[1] != '\0')) &&\n       (iVar3 = (*(code *)PTR_strcmp_000afacc)(pcVar8,PTR_LAB_000af468 + 0x40fc), iVar3 != 0))\n    goto LAB_0001d664;\nLAB_0001d810:\n    iVar3 = hash_table_contains(*(undefined4 *)puVar1,param_1);\n    if (iVar3 != 0) goto LAB_0001d664;\n  }\n  iVar3 = hash_table_get_pair(*(undefined4 *)puVar1,param_1,&local_30,&local_34);\n  if (iVar3 != 0) {\n    hash_table_remove(*(undefined4 *)puVar1,param_1);\n    (*(code *)PTR_free_000afd08)(local_30);\n    local_30 = (char *)0x0;\n    (*(code *)PTR_free_000afd08)(local_34);\n    local_34 = 0;\n  }\n  pcVar8 = *(char **)puVar1;\n  uVar4 = (*(code *)PTR_xstrdup_000af48c)(param_1);\n  uVar5 = (*(code *)PTR_xstrdup_000af48c)(param_2);\n  hash_table_put(pcVar8,uVar4,uVar5);\nLAB_0001d758:\n  if (local_2c == *(int *)puVar2) {\n    return;\n  }\n  puVar12 = PTR___stack_chk_fail_000afbd4;\n  (*(code *)PTR___stack_chk_fail_000afbd4)();\n  iVar3 = *(int *)(puVar12 + 0x91be4);\n  if (*(int *)(iVar3 + -0xa4) == 0) {\n    uVar4 = make_string_hash_table(0);\n    *(undefined4 *)(iVar3 + -0xa4) = uVar4;\n  }\n  piVar9 = *(int **)(puVar12 + 0x91da4);\n  iVar3 = *piVar9;\n  if (iVar3 == 0) {\n    iVar3 = make_string_hash_table();\n    *piVar9 = iVar3;\n  }\n  uVar4 = hash_table_get(iVar3);\n  iVar3 = hash_table_contains(*piVar9,pcVar8);\n  if (iVar3 == 0) {\n    iVar3 = *piVar9;\n    uVar5 = (**(code **)(puVar12 + 0x91c18))(pcVar8);\n    uVar4 = (**(code **)(puVar12 + 0x91c18))(uVar4);\n    hash_table_put(iVar3,uVar5,uVar4);\n    return;\n  }\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "char cVar6;" primitive_type identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "char cVar7;" primitive_type identifier ;) (declaration "char *pcVar8;" primitive_type (pointer_declarator "*pcVar8" * identifier) ;) (declaration "int *piVar9;" primitive_type (pointer_declarator "*piVar9" * identifier) ;) (declaration "char *pcVar10;" primitive_type (pointer_declarator "*pcVar10" * identifier) ;) (declaration "undefined4 uVar11;" type_identifier identifier ;) (declaration "undefined *puVar12;" type_identifier (pointer_declarator "*puVar12" * identifier) ;) (declaration "undefined4 local_34;" type_identifier identifier ;) (declaration "char *local_30;" primitive_type (pointer_declarator "*local_30" * identifier) ;) (declaration "int local_2c;" primitive_type identifier ;) (expression_statement "puVar2 = PTR___stack_chk_guard_000afc3c;" (assignment_expression "puVar2 = PTR___stack_chk_guard_000afc3c" identifier = identifier) ;) (expression_statement "puVar12 = PTR_DAT_000af458;" (assignment_expression "puVar12 = PTR_DAT_000af458" identifier = identifier) ;) (expression_statement "local_2c = *(int *)PTR___stack_chk_guard_000afc3c;" (assignment_expression "local_2c = *(int *)PTR___stack_chk_guard_000afc3c" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_000afc3c" * (cast_expression "(int *)PTR___stack_chk_guard_000afc3c" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (if_statement "if (*(int *)(PTR_DAT_000af458 + -0xa4) == 0) {\n    uVar4 = make_string_hash_table(0);\n    *(undefined4 *)(puVar12 + -0xa4) = uVar4;\n  }" if (parenthesized_expression "(*(int *)(PTR_DAT_000af458 + -0xa4) == 0)" ( (binary_expression "*(int *)(PTR_DAT_000af458 + -0xa4) == 0" (pointer_expression "*(int *)(PTR_DAT_000af458 + -0xa4)" * (cast_expression "(int *)(PTR_DAT_000af458 + -0xa4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_000af458 + -0xa4)" ( (binary_expression "PTR_DAT_000af458 + -0xa4" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    uVar4 = make_string_hash_table(0);\n    *(undefined4 *)(puVar12 + -0xa4) = uVar4;\n  }" { (expression_statement "uVar4 = make_string_hash_table(0);" (assignment_expression "uVar4 = make_string_hash_table(0)" identifier = (call_expression "make_string_hash_table(0)" identifier (argument_list "(0)" ( number_literal )))) ;) (expression_statement "*(undefined4 *)(puVar12 + -0xa4) = uVar4;" (assignment_expression "*(undefined4 *)(puVar12 + -0xa4) = uVar4" (pointer_expression "*(undefined4 *)(puVar12 + -0xa4)" * (cast_expression "(undefined4 *)(puVar12 + -0xa4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar12 + -0xa4)" ( (binary_expression "puVar12 + -0xa4" identifier + number_literal) )))) = identifier) ;) })) (expression_statement "puVar1 = PTR_dl_url_file_map_000af618;" (assignment_expression "puVar1 = PTR_dl_url_file_map_000af618" identifier = identifier) ;) (if_statement "if (*(int *)PTR_dl_url_file_map_000af618 == 0) {\n    uVar4 = make_string_hash_table(0);\n    *(undefined4 *)puVar1 = uVar4;\n  }" if (parenthesized_expression "(*(int *)PTR_dl_url_file_map_000af618 == 0)" ( (binary_expression "*(int *)PTR_dl_url_file_map_000af618 == 0" (pointer_expression "*(int *)PTR_dl_url_file_map_000af618" * (cast_expression "(int *)PTR_dl_url_file_map_000af618" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) == number_literal) )) (compound_statement "{\n    uVar4 = make_string_hash_table(0);\n    *(undefined4 *)puVar1 = uVar4;\n  }" { (expression_statement "uVar4 = make_string_hash_table(0);" (assignment_expression "uVar4 = make_string_hash_table(0)" identifier = (call_expression "make_string_hash_table(0)" identifier (argument_list "(0)" ( number_literal )))) ;) (expression_statement "*(undefined4 *)puVar1 = uVar4;" (assignment_expression "*(undefined4 *)puVar1 = uVar4" (pointer_expression "*(undefined4 *)puVar1" * (cast_expression "(undefined4 *)puVar1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = identifier) ;) })) (expression_statement "iVar3 = hash_table_get_pair(*(undefined4 *)(puVar12 + -0xa4),param_2,&local_34,&local_30);" (assignment_expression "iVar3 = hash_table_get_pair(*(undefined4 *)(puVar12 + -0xa4),param_2,&local_34,&local_30)" identifier = (call_expression "hash_table_get_pair(*(undefined4 *)(puVar12 + -0xa4),param_2,&local_34,&local_30)" identifier (argument_list "(*(undefined4 *)(puVar12 + -0xa4),param_2,&local_34,&local_30)" ( (pointer_expression "*(undefined4 *)(puVar12 + -0xa4)" * (cast_expression "(undefined4 *)(puVar12 + -0xa4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar12 + -0xa4)" ( (binary_expression "puVar12 + -0xa4" identifier + number_literal) )))) , identifier , (pointer_expression "&local_34" & identifier) , (pointer_expression "&local_30" & identifier) )))) ;) (expression_statement "pcVar10 = local_30;" (assignment_expression "pcVar10 = local_30" identifier = identifier) ;) (if_statement "if (iVar3 == 0) {\nLAB_0001d6b8:\n    uVar11 = *(undefined4 *)(puVar12 + -0xa4);\n    uVar4 = (*(code *)PTR_xstrdup_000af48c)(param_2);\n    uVar5 = (*(code *)PTR_xstrdup_000af48c)(param_1);\n    hash_table_put(uVar11,uVar4,uVar5);\n  }\n  else {\n    pcVar8 = param_1;\n    iVar3 = (*(code *)PTR_strcmp_000afacc)(param_1);\n    if (iVar3 == 0) goto LAB_0001d758;\n    cVar6 = *param_1;\n    if ((cVar6 == '\0') || (cVar7 = *pcVar10, pcVar8 = param_1, cVar7 == '\0')) {\nLAB_0001d664:\n      hash_table_remove(*(undefined4 *)(puVar12 + -0xa4),param_2);\n      (*(code *)PTR_free_000afd08)(local_34);\n      local_34 = 0;\n      (*(code *)PTR_free_000afd08)(local_30);\n      local_30 = (char *)0x0;\n      hash_table_for_each(*(undefined4 *)puVar1,PTR_LAB_000af464 + -0x2b38,param_2);\n      goto LAB_0001d6b8;\n    }\n    do {\n      pcVar8 = pcVar8 + 1;\n      if (cVar6 != cVar7) goto LAB_0001d664;\n      cVar6 = *pcVar8;\n      pcVar10 = pcVar10 + 1;\n      cVar7 = *pcVar10;\n      if (cVar6 == '\0') {\n        pcVar8 = pcVar10;\n        cVar6 = cVar7;\n        if (cVar7 == '\0') goto LAB_0001d810;\n        break;\n      }\n    } while (cVar7 != '\0');\n    if ((((cVar6 != '/') && (pcVar10 = pcVar8 + -1, pcVar8 = pcVar8 + -1, *pcVar10 != '/')) ||\n        (pcVar8[1] != '\0')) &&\n       (iVar3 = (*(code *)PTR_strcmp_000afacc)(pcVar8,PTR_LAB_000af468 + 0x40fc), iVar3 != 0))\n    goto LAB_0001d664;\nLAB_0001d810:\n    iVar3 = hash_table_contains(*(undefined4 *)puVar1,param_1);\n    if (iVar3 != 0) goto LAB_0001d664;\n  }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\nLAB_0001d6b8:\n    uVar11 = *(undefined4 *)(puVar12 + -0xa4);\n    uVar4 = (*(code *)PTR_xstrdup_000af48c)(param_2);\n    uVar5 = (*(code *)PTR_xstrdup_000af48c)(param_1);\n    hash_table_put(uVar11,uVar4,uVar5);\n  }" { (labeled_statement "LAB_0001d6b8:\n    uVar11 = *(undefined4 *)(puVar12 + -0xa4);" statement_identifier : (expression_statement "uVar11 = *(undefined4 *)(puVar12 + -0xa4);" (assignment_expression "uVar11 = *(undefined4 *)(puVar12 + -0xa4)" identifier = (pointer_expression "*(undefined4 *)(puVar12 + -0xa4)" * (cast_expression "(undefined4 *)(puVar12 + -0xa4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar12 + -0xa4)" ( (binary_expression "puVar12 + -0xa4" identifier + number_literal) ))))) ;)) (expression_statement "uVar4 = (*(code *)PTR_xstrdup_000af48c)(param_2);" (assignment_expression "uVar4 = (*(code *)PTR_xstrdup_000af48c)(param_2)" identifier = (call_expression "(*(code *)PTR_xstrdup_000af48c)(param_2)" (parenthesized_expression "(*(code *)PTR_xstrdup_000af48c)" ( (pointer_expression "*(code *)PTR_xstrdup_000af48c" * (cast_expression "(code *)PTR_xstrdup_000af48c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_2)" ( identifier )))) ;) (expression_statement "uVar5 = (*(code *)PTR_xstrdup_000af48c)(param_1);" (assignment_expression "uVar5 = (*(code *)PTR_xstrdup_000af48c)(param_1)" identifier = (call_expression "(*(code *)PTR_xstrdup_000af48c)(param_1)" (parenthesized_expression "(*(code *)PTR_xstrdup_000af48c)" ( (pointer_expression "*(code *)PTR_xstrdup_000af48c" * (cast_expression "(code *)PTR_xstrdup_000af48c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1)" ( identifier )))) ;) (expression_statement "hash_table_put(uVar11,uVar4,uVar5);" (call_expression "hash_table_put(uVar11,uVar4,uVar5)" identifier (argument_list "(uVar11,uVar4,uVar5)" ( identifier , identifier , identifier ))) ;) }) (else_clause "else {\n    pcVar8 = param_1;\n    iVar3 = (*(code *)PTR_strcmp_000afacc)(param_1);\n    if (iVar3 == 0) goto LAB_0001d758;\n    cVar6 = *param_1;\n    if ((cVar6 == '\0') || (cVar7 = *pcVar10, pcVar8 = param_1, cVar7 == '\0')) {\nLAB_0001d664:\n      hash_table_remove(*(undefined4 *)(puVar12 + -0xa4),param_2);\n      (*(code *)PTR_free_000afd08)(local_34);\n      local_34 = 0;\n      (*(code *)PTR_free_000afd08)(local_30);\n      local_30 = (char *)0x0;\n      hash_table_for_each(*(undefined4 *)puVar1,PTR_LAB_000af464 + -0x2b38,param_2);\n      goto LAB_0001d6b8;\n    }\n    do {\n      pcVar8 = pcVar8 + 1;\n      if (cVar6 != cVar7) goto LAB_0001d664;\n      cVar6 = *pcVar8;\n      pcVar10 = pcVar10 + 1;\n      cVar7 = *pcVar10;\n      if (cVar6 == '\0') {\n        pcVar8 = pcVar10;\n        cVar6 = cVar7;\n        if (cVar7 == '\0') goto LAB_0001d810;\n        break;\n      }\n    } while (cVar7 != '\0');\n    if ((((cVar6 != '/') && (pcVar10 = pcVar8 + -1, pcVar8 = pcVar8 + -1, *pcVar10 != '/')) ||\n        (pcVar8[1] != '\0')) &&\n       (iVar3 = (*(code *)PTR_strcmp_000afacc)(pcVar8,PTR_LAB_000af468 + 0x40fc), iVar3 != 0))\n    goto LAB_0001d664;\nLAB_0001d810:\n    iVar3 = hash_table_contains(*(undefined4 *)puVar1,param_1);\n    if (iVar3 != 0) goto LAB_0001d664;\n  }" else (compound_statement "{\n    pcVar8 = param_1;\n    iVar3 = (*(code *)PTR_strcmp_000afacc)(param_1);\n    if (iVar3 == 0) goto LAB_0001d758;\n    cVar6 = *param_1;\n    if ((cVar6 == '\0') || (cVar7 = *pcVar10, pcVar8 = param_1, cVar7 == '\0')) {\nLAB_0001d664:\n      hash_table_remove(*(undefined4 *)(puVar12 + -0xa4),param_2);\n      (*(code *)PTR_free_000afd08)(local_34);\n      local_34 = 0;\n      (*(code *)PTR_free_000afd08)(local_30);\n      local_30 = (char *)0x0;\n      hash_table_for_each(*(undefined4 *)puVar1,PTR_LAB_000af464 + -0x2b38,param_2);\n      goto LAB_0001d6b8;\n    }\n    do {\n      pcVar8 = pcVar8 + 1;\n      if (cVar6 != cVar7) goto LAB_0001d664;\n      cVar6 = *pcVar8;\n      pcVar10 = pcVar10 + 1;\n      cVar7 = *pcVar10;\n      if (cVar6 == '\0') {\n        pcVar8 = pcVar10;\n        cVar6 = cVar7;\n        if (cVar7 == '\0') goto LAB_0001d810;\n        break;\n      }\n    } while (cVar7 != '\0');\n    if ((((cVar6 != '/') && (pcVar10 = pcVar8 + -1, pcVar8 = pcVar8 + -1, *pcVar10 != '/')) ||\n        (pcVar8[1] != '\0')) &&\n       (iVar3 = (*(code *)PTR_strcmp_000afacc)(pcVar8,PTR_LAB_000af468 + 0x40fc), iVar3 != 0))\n    goto LAB_0001d664;\nLAB_0001d810:\n    iVar3 = hash_table_contains(*(undefined4 *)puVar1,param_1);\n    if (iVar3 != 0) goto LAB_0001d664;\n  }" { (expression_statement "pcVar8 = param_1;" (assignment_expression "pcVar8 = param_1" identifier = identifier) ;) (expression_statement "iVar3 = (*(code *)PTR_strcmp_000afacc)(param_1);" (assignment_expression "iVar3 = (*(code *)PTR_strcmp_000afacc)(param_1)" identifier = (call_expression "(*(code *)PTR_strcmp_000afacc)(param_1)" (parenthesized_expression "(*(code *)PTR_strcmp_000afacc)" ( (pointer_expression "*(code *)PTR_strcmp_000afacc" * (cast_expression "(code *)PTR_strcmp_000afacc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1)" ( identifier )))) ;) (if_statement "if (iVar3 == 0) goto LAB_0001d758;" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (goto_statement "goto LAB_0001d758;" goto statement_identifier ;)) (expression_statement "cVar6 = *param_1;" (assignment_expression "cVar6 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (if_statement "if ((cVar6 == '\0') || (cVar7 = *pcVar10, pcVar8 = param_1, cVar7 == '\0')) {\nLAB_0001d664:\n      hash_table_remove(*(undefined4 *)(puVar12 + -0xa4),param_2);\n      (*(code *)PTR_free_000afd08)(local_34);\n      local_34 = 0;\n      (*(code *)PTR_free_000afd08)(local_30);\n      local_30 = (char *)0x0;\n      hash_table_for_each(*(undefined4 *)puVar1,PTR_LAB_000af464 + -0x2b38,param_2);\n      goto LAB_0001d6b8;\n    }" if (parenthesized_expression "((cVar6 == '\0') || (cVar7 = *pcVar10, pcVar8 = param_1, cVar7 == '\0'))" ( (binary_expression "(cVar6 == '\0') || (cVar7 = *pcVar10, pcVar8 = param_1, cVar7 == '\0')" (parenthesized_expression "(cVar6 == '\0')" ( (binary_expression "cVar6 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) || (parenthesized_expression "(cVar7 = *pcVar10, pcVar8 = param_1, cVar7 == '\0')" ( (comma_expression "cVar7 = *pcVar10, pcVar8 = param_1, cVar7 == '\0'" (assignment_expression "cVar7 = *pcVar10" identifier = (pointer_expression "*pcVar10" * identifier)) , (comma_expression "pcVar8 = param_1, cVar7 == '\0'" (assignment_expression "pcVar8 = param_1" identifier = identifier) , (binary_expression "cVar7 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')))) ))) )) (compound_statement "{\nLAB_0001d664:\n      hash_table_remove(*(undefined4 *)(puVar12 + -0xa4),param_2);\n      (*(code *)PTR_free_000afd08)(local_34);\n      local_34 = 0;\n      (*(code *)PTR_free_000afd08)(local_30);\n      local_30 = (char *)0x0;\n      hash_table_for_each(*(undefined4 *)puVar1,PTR_LAB_000af464 + -0x2b38,param_2);\n      goto LAB_0001d6b8;\n    }" { (labeled_statement "LAB_0001d664:\n      hash_table_remove(*(undefined4 *)(puVar12 + -0xa4),param_2);" statement_identifier : (expression_statement "hash_table_remove(*(undefined4 *)(puVar12 + -0xa4),param_2);" (call_expression "hash_table_remove(*(undefined4 *)(puVar12 + -0xa4),param_2)" identifier (argument_list "(*(undefined4 *)(puVar12 + -0xa4),param_2)" ( (pointer_expression "*(undefined4 *)(puVar12 + -0xa4)" * (cast_expression "(undefined4 *)(puVar12 + -0xa4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar12 + -0xa4)" ( (binary_expression "puVar12 + -0xa4" identifier + number_literal) )))) , identifier ))) ;)) (expression_statement "(*(code *)PTR_free_000afd08)(local_34);" (call_expression "(*(code *)PTR_free_000afd08)(local_34)" (parenthesized_expression "(*(code *)PTR_free_000afd08)" ( (pointer_expression "*(code *)PTR_free_000afd08" * (cast_expression "(code *)PTR_free_000afd08" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(local_34)" ( identifier ))) ;) (expression_statement "local_34 = 0;" (assignment_expression "local_34 = 0" identifier = number_literal) ;) (expression_statement "(*(code *)PTR_free_000afd08)(local_30);" (call_expression "(*(code *)PTR_free_000afd08)(local_30)" (parenthesized_expression "(*(code *)PTR_free_000afd08)" ( (pointer_expression "*(code *)PTR_free_000afd08" * (cast_expression "(code *)PTR_free_000afd08" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(local_30)" ( identifier ))) ;) (expression_statement "local_30 = (char *)0x0;" (assignment_expression "local_30 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "hash_table_for_each(*(undefined4 *)puVar1,PTR_LAB_000af464 + -0x2b38,param_2);" (call_expression "hash_table_for_each(*(undefined4 *)puVar1,PTR_LAB_000af464 + -0x2b38,param_2)" identifier (argument_list "(*(undefined4 *)puVar1,PTR_LAB_000af464 + -0x2b38,param_2)" ( (pointer_expression "*(undefined4 *)puVar1" * (cast_expression "(undefined4 *)puVar1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , (binary_expression "PTR_LAB_000af464 + -0x2b38" identifier + number_literal) , identifier ))) ;) (goto_statement "goto LAB_0001d6b8;" goto statement_identifier ;) })) (do_statement "do {\n      pcVar8 = pcVar8 + 1;\n      if (cVar6 != cVar7) goto LAB_0001d664;\n      cVar6 = *pcVar8;\n      pcVar10 = pcVar10 + 1;\n      cVar7 = *pcVar10;\n      if (cVar6 == '\0') {\n        pcVar8 = pcVar10;\n        cVar6 = cVar7;\n        if (cVar7 == '\0') goto LAB_0001d810;\n        break;\n      }\n    } while (cVar7 != '\0');" do (compound_statement "{\n      pcVar8 = pcVar8 + 1;\n      if (cVar6 != cVar7) goto LAB_0001d664;\n      cVar6 = *pcVar8;\n      pcVar10 = pcVar10 + 1;\n      cVar7 = *pcVar10;\n      if (cVar6 == '\0') {\n        pcVar8 = pcVar10;\n        cVar6 = cVar7;\n        if (cVar7 == '\0') goto LAB_0001d810;\n        break;\n      }\n    }" { (expression_statement "pcVar8 = pcVar8 + 1;" (assignment_expression "pcVar8 = pcVar8 + 1" identifier = (binary_expression "pcVar8 + 1" identifier + number_literal)) ;) (if_statement "if (cVar6 != cVar7) goto LAB_0001d664;" if (parenthesized_expression "(cVar6 != cVar7)" ( (binary_expression "cVar6 != cVar7" identifier != identifier) )) (goto_statement "goto LAB_0001d664;" goto statement_identifier ;)) (expression_statement "cVar6 = *pcVar8;" (assignment_expression "cVar6 = *pcVar8" identifier = (pointer_expression "*pcVar8" * identifier)) ;) (expression_statement "pcVar10 = pcVar10 + 1;" (assignment_expression "pcVar10 = pcVar10 + 1" identifier = (binary_expression "pcVar10 + 1" identifier + number_literal)) ;) (expression_statement "cVar7 = *pcVar10;" (assignment_expression "cVar7 = *pcVar10" identifier = (pointer_expression "*pcVar10" * identifier)) ;) (if_statement "if (cVar6 == '\0') {\n        pcVar8 = pcVar10;\n        cVar6 = cVar7;\n        if (cVar7 == '\0') goto LAB_0001d810;\n        break;\n      }" if (parenthesized_expression "(cVar6 == '\0')" ( (binary_expression "cVar6 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        pcVar8 = pcVar10;\n        cVar6 = cVar7;\n        if (cVar7 == '\0') goto LAB_0001d810;\n        break;\n      }" { (expression_statement "pcVar8 = pcVar10;" (assignment_expression "pcVar8 = pcVar10" identifier = identifier) ;) (expression_statement "cVar6 = cVar7;" (assignment_expression "cVar6 = cVar7" identifier = identifier) ;) (if_statement "if (cVar7 == '\0') goto LAB_0001d810;" if (parenthesized_expression "(cVar7 == '\0')" ( (binary_expression "cVar7 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (goto_statement "goto LAB_0001d810;" goto statement_identifier ;)) (break_statement "break;" break ;) })) }) while (parenthesized_expression "(cVar7 != '\0')" ( (binary_expression "cVar7 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) ;) (if_statement "if ((((cVar6 != '/') && (pcVar10 = pcVar8 + -1, pcVar8 = pcVar8 + -1, *pcVar10 != '/')) ||\n        (pcVar8[1] != '\0')) &&\n       (iVar3 = (*(code *)PTR_strcmp_000afacc)(pcVar8,PTR_LAB_000af468 + 0x40fc), iVar3 != 0))\n    goto LAB_0001d664;" if (parenthesized_expression "((((cVar6 != '/') && (pcVar10 = pcVar8 + -1, pcVar8 = pcVar8 + -1, *pcVar10 != '/')) ||\n        (pcVar8[1] != '\0')) &&\n       (iVar3 = (*(code *)PTR_strcmp_000afacc)(pcVar8,PTR_LAB_000af468 + 0x40fc), iVar3 != 0))" ( (binary_expression "(((cVar6 != '/') && (pcVar10 = pcVar8 + -1, pcVar8 = pcVar8 + -1, *pcVar10 != '/')) ||\n        (pcVar8[1] != '\0')) &&\n       (iVar3 = (*(code *)PTR_strcmp_000afacc)(pcVar8,PTR_LAB_000af468 + 0x40fc), iVar3 != 0)" (parenthesized_expression "(((cVar6 != '/') && (pcVar10 = pcVar8 + -1, pcVar8 = pcVar8 + -1, *pcVar10 != '/')) ||\n        (pcVar8[1] != '\0'))" ( (binary_expression "((cVar6 != '/') && (pcVar10 = pcVar8 + -1, pcVar8 = pcVar8 + -1, *pcVar10 != '/')) ||\n        (pcVar8[1] != '\0')" (parenthesized_expression "((cVar6 != '/') && (pcVar10 = pcVar8 + -1, pcVar8 = pcVar8 + -1, *pcVar10 != '/'))" ( (binary_expression "(cVar6 != '/') && (pcVar10 = pcVar8 + -1, pcVar8 = pcVar8 + -1, *pcVar10 != '/')" (parenthesized_expression "(cVar6 != '/')" ( (binary_expression "cVar6 != '/'" identifier != (char_literal "'/'" ' character ')) )) && (parenthesized_expression "(pcVar10 = pcVar8 + -1, pcVar8 = pcVar8 + -1, *pcVar10 != '/')" ( (comma_expression "pcVar10 = pcVar8 + -1, pcVar8 = pcVar8 + -1, *pcVar10 != '/'" (assignment_expression "pcVar10 = pcVar8 + -1" identifier = (binary_expression "pcVar8 + -1" identifier + number_literal)) , (comma_expression "pcVar8 = pcVar8 + -1, *pcVar10 != '/'" (assignment_expression "pcVar8 = pcVar8 + -1" identifier = (binary_expression "pcVar8 + -1" identifier + number_literal)) , (binary_expression "*pcVar10 != '/'" (pointer_expression "*pcVar10" * identifier) != (char_literal "'/'" ' character ')))) ))) )) || (parenthesized_expression "(pcVar8[1] != '\0')" ( (binary_expression "pcVar8[1] != '\0'" (subscript_expression "pcVar8[1]" identifier [ number_literal ]) != (char_literal "'\0'" ' escape_sequence ')) ))) )) && (parenthesized_expression "(iVar3 = (*(code *)PTR_strcmp_000afacc)(pcVar8,PTR_LAB_000af468 + 0x40fc), iVar3 != 0)" ( (comma_expression "iVar3 = (*(code *)PTR_strcmp_000afacc)(pcVar8,PTR_LAB_000af468 + 0x40fc), iVar3 != 0" (assignment_expression "iVar3 = (*(code *)PTR_strcmp_000afacc)(pcVar8,PTR_LAB_000af468 + 0x40fc)" identifier = (call_expression "(*(code *)PTR_strcmp_000afacc)(pcVar8,PTR_LAB_000af468 + 0x40fc)" (parenthesized_expression "(*(code *)PTR_strcmp_000afacc)" ( (pointer_expression "*(code *)PTR_strcmp_000afacc" * (cast_expression "(code *)PTR_strcmp_000afacc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar8,PTR_LAB_000af468 + 0x40fc)" ( identifier , (binary_expression "PTR_LAB_000af468 + 0x40fc" identifier + number_literal) )))) , (binary_expression "iVar3 != 0" identifier != number_literal)) ))) )) (goto_statement "goto LAB_0001d664;" goto statement_identifier ;)) (labeled_statement "LAB_0001d810:\n    iVar3 = hash_table_contains(*(undefined4 *)puVar1,param_1);" statement_identifier : (expression_statement "iVar3 = hash_table_contains(*(undefined4 *)puVar1,param_1);" (assignment_expression "iVar3 = hash_table_contains(*(undefined4 *)puVar1,param_1)" identifier = (call_expression "hash_table_contains(*(undefined4 *)puVar1,param_1)" identifier (argument_list "(*(undefined4 *)puVar1,param_1)" ( (pointer_expression "*(undefined4 *)puVar1" * (cast_expression "(undefined4 *)puVar1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , identifier )))) ;)) (if_statement "if (iVar3 != 0) goto LAB_0001d664;" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (goto_statement "goto LAB_0001d664;" goto statement_identifier ;)) }))) (expression_statement "iVar3 = hash_table_get_pair(*(undefined4 *)puVar1,param_1,&local_30,&local_34);" (assignment_expression "iVar3 = hash_table_get_pair(*(undefined4 *)puVar1,param_1,&local_30,&local_34)" identifier = (call_expression "hash_table_get_pair(*(undefined4 *)puVar1,param_1,&local_30,&local_34)" identifier (argument_list "(*(undefined4 *)puVar1,param_1,&local_30,&local_34)" ( (pointer_expression "*(undefined4 *)puVar1" * (cast_expression "(undefined4 *)puVar1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , identifier , (pointer_expression "&local_30" & identifier) , (pointer_expression "&local_34" & identifier) )))) ;) (if_statement "if (iVar3 != 0) {\n    hash_table_remove(*(undefined4 *)puVar1,param_1);\n    (*(code *)PTR_free_000afd08)(local_30);\n    local_30 = (char *)0x0;\n    (*(code *)PTR_free_000afd08)(local_34);\n    local_34 = 0;\n  }" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\n    hash_table_remove(*(undefined4 *)puVar1,param_1);\n    (*(code *)PTR_free_000afd08)(local_30);\n    local_30 = (char *)0x0;\n    (*(code *)PTR_free_000afd08)(local_34);\n    local_34 = 0;\n  }" { (expression_statement "hash_table_remove(*(undefined4 *)puVar1,param_1);" (call_expression "hash_table_remove(*(undefined4 *)puVar1,param_1)" identifier (argument_list "(*(undefined4 *)puVar1,param_1)" ( (pointer_expression "*(undefined4 *)puVar1" * (cast_expression "(undefined4 *)puVar1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , identifier ))) ;) (expression_statement "(*(code *)PTR_free_000afd08)(local_30);" (call_expression "(*(code *)PTR_free_000afd08)(local_30)" (parenthesized_expression "(*(code *)PTR_free_000afd08)" ( (pointer_expression "*(code *)PTR_free_000afd08" * (cast_expression "(code *)PTR_free_000afd08" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(local_30)" ( identifier ))) ;) (expression_statement "local_30 = (char *)0x0;" (assignment_expression "local_30 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "(*(code *)PTR_free_000afd08)(local_34);" (call_expression "(*(code *)PTR_free_000afd08)(local_34)" (parenthesized_expression "(*(code *)PTR_free_000afd08)" ( (pointer_expression "*(code *)PTR_free_000afd08" * (cast_expression "(code *)PTR_free_000afd08" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(local_34)" ( identifier ))) ;) (expression_statement "local_34 = 0;" (assignment_expression "local_34 = 0" identifier = number_literal) ;) })) (expression_statement "pcVar8 = *(char **)puVar1;" (assignment_expression "pcVar8 = *(char **)puVar1" identifier = (pointer_expression "*(char **)puVar1" * (cast_expression "(char **)puVar1" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (expression_statement "uVar4 = (*(code *)PTR_xstrdup_000af48c)(param_1);" (assignment_expression "uVar4 = (*(code *)PTR_xstrdup_000af48c)(param_1)" identifier = (call_expression "(*(code *)PTR_xstrdup_000af48c)(param_1)" (parenthesized_expression "(*(code *)PTR_xstrdup_000af48c)" ( (pointer_expression "*(code *)PTR_xstrdup_000af48c" * (cast_expression "(code *)PTR_xstrdup_000af48c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1)" ( identifier )))) ;) (expression_statement "uVar5 = (*(code *)PTR_xstrdup_000af48c)(param_2);" (assignment_expression "uVar5 = (*(code *)PTR_xstrdup_000af48c)(param_2)" identifier = (call_expression "(*(code *)PTR_xstrdup_000af48c)(param_2)" (parenthesized_expression "(*(code *)PTR_xstrdup_000af48c)" ( (pointer_expression "*(code *)PTR_xstrdup_000af48c" * (cast_expression "(code *)PTR_xstrdup_000af48c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_2)" ( identifier )))) ;) (expression_statement "hash_table_put(pcVar8,uVar4,uVar5);" (call_expression "hash_table_put(pcVar8,uVar4,uVar5)" identifier (argument_list "(pcVar8,uVar4,uVar5)" ( identifier , identifier , identifier ))) ;) (labeled_statement "LAB_0001d758:\n  if (local_2c == *(int *)puVar2) {\n    return;\n  }" statement_identifier : (if_statement "if (local_2c == *(int *)puVar2) {\n    return;\n  }" if (parenthesized_expression "(local_2c == *(int *)puVar2)" ( (binary_expression "local_2c == *(int *)puVar2" identifier == (pointer_expression "*(int *)puVar2" * (cast_expression "(int *)puVar2" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) }))) (expression_statement "puVar12 = PTR___stack_chk_fail_000afbd4;" (assignment_expression "puVar12 = PTR___stack_chk_fail_000afbd4" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_000afbd4)();" (call_expression "(*(code *)PTR___stack_chk_fail_000afbd4)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_000afbd4)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_000afbd4" * (cast_expression "(code *)PTR___stack_chk_fail_000afbd4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "iVar3 = *(int *)(puVar12 + 0x91be4);" (assignment_expression "iVar3 = *(int *)(puVar12 + 0x91be4)" identifier = (pointer_expression "*(int *)(puVar12 + 0x91be4)" * (cast_expression "(int *)(puVar12 + 0x91be4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar12 + 0x91be4)" ( (binary_expression "puVar12 + 0x91be4" identifier + number_literal) ))))) ;) (if_statement "if (*(int *)(iVar3 + -0xa4) == 0) {\n    uVar4 = make_string_hash_table(0);\n    *(undefined4 *)(iVar3 + -0xa4) = uVar4;\n  }" if (parenthesized_expression "(*(int *)(iVar3 + -0xa4) == 0)" ( (binary_expression "*(int *)(iVar3 + -0xa4) == 0" (pointer_expression "*(int *)(iVar3 + -0xa4)" * (cast_expression "(int *)(iVar3 + -0xa4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + -0xa4)" ( (binary_expression "iVar3 + -0xa4" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    uVar4 = make_string_hash_table(0);\n    *(undefined4 *)(iVar3 + -0xa4) = uVar4;\n  }" { (expression_statement "uVar4 = make_string_hash_table(0);" (assignment_expression "uVar4 = make_string_hash_table(0)" identifier = (call_expression "make_string_hash_table(0)" identifier (argument_list "(0)" ( number_literal )))) ;) (expression_statement "*(undefined4 *)(iVar3 + -0xa4) = uVar4;" (assignment_expression "*(undefined4 *)(iVar3 + -0xa4) = uVar4" (pointer_expression "*(undefined4 *)(iVar3 + -0xa4)" * (cast_expression "(undefined4 *)(iVar3 + -0xa4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + -0xa4)" ( (binary_expression "iVar3 + -0xa4" identifier + number_literal) )))) = identifier) ;) })) (expression_statement "piVar9 = *(int **)(puVar12 + 0x91da4);" (assignment_expression "piVar9 = *(int **)(puVar12 + 0x91da4)" identifier = (pointer_expression "*(int **)(puVar12 + 0x91da4)" * (cast_expression "(int **)(puVar12 + 0x91da4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar12 + 0x91da4)" ( (binary_expression "puVar12 + 0x91da4" identifier + number_literal) ))))) ;) (expression_statement "iVar3 = *piVar9;" (assignment_expression "iVar3 = *piVar9" identifier = (pointer_expression "*piVar9" * identifier)) ;) (if_statement "if (iVar3 == 0) {\n    iVar3 = make_string_hash_table();\n    *piVar9 = iVar3;\n  }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n    iVar3 = make_string_hash_table();\n    *piVar9 = iVar3;\n  }" { (expression_statement "iVar3 = make_string_hash_table();" (assignment_expression "iVar3 = make_string_hash_table()" identifier = (call_expression "make_string_hash_table()" identifier (argument_list "()" ( )))) ;) (expression_statement "*piVar9 = iVar3;" (assignment_expression "*piVar9 = iVar3" (pointer_expression "*piVar9" * identifier) = identifier) ;) })) (expression_statement "uVar4 = hash_table_get(iVar3);" (assignment_expression "uVar4 = hash_table_get(iVar3)" identifier = (call_expression "hash_table_get(iVar3)" identifier (argument_list "(iVar3)" ( identifier )))) ;) (expression_statement "iVar3 = hash_table_contains(*piVar9,pcVar8);" (assignment_expression "iVar3 = hash_table_contains(*piVar9,pcVar8)" identifier = (call_expression "hash_table_contains(*piVar9,pcVar8)" identifier (argument_list "(*piVar9,pcVar8)" ( (pointer_expression "*piVar9" * identifier) , identifier )))) ;) (if_statement "if (iVar3 == 0) {\n    iVar3 = *piVar9;\n    uVar5 = (**(code **)(puVar12 + 0x91c18))(pcVar8);\n    uVar4 = (**(code **)(puVar12 + 0x91c18))(uVar4);\n    hash_table_put(iVar3,uVar5,uVar4);\n    return;\n  }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n    iVar3 = *piVar9;\n    uVar5 = (**(code **)(puVar12 + 0x91c18))(pcVar8);\n    uVar4 = (**(code **)(puVar12 + 0x91c18))(uVar4);\n    hash_table_put(iVar3,uVar5,uVar4);\n    return;\n  }" { (expression_statement "iVar3 = *piVar9;" (assignment_expression "iVar3 = *piVar9" identifier = (pointer_expression "*piVar9" * identifier)) ;) (expression_statement "uVar5 = (**(code **)(puVar12 + 0x91c18))(pcVar8);" (assignment_expression "uVar5 = (**(code **)(puVar12 + 0x91c18))(pcVar8)" identifier = (call_expression "(**(code **)(puVar12 + 0x91c18))(pcVar8)" (parenthesized_expression "(**(code **)(puVar12 + 0x91c18))" ( (pointer_expression "**(code **)(puVar12 + 0x91c18)" * (pointer_expression "*(code **)(puVar12 + 0x91c18)" * (cast_expression "(code **)(puVar12 + 0x91c18)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar12 + 0x91c18)" ( (binary_expression "puVar12 + 0x91c18" identifier + number_literal) ))))) )) (argument_list "(pcVar8)" ( identifier )))) ;) (expression_statement "uVar4 = (**(code **)(puVar12 + 0x91c18))(uVar4);" (assignment_expression "uVar4 = (**(code **)(puVar12 + 0x91c18))(uVar4)" identifier = (call_expression "(**(code **)(puVar12 + 0x91c18))(uVar4)" (parenthesized_expression "(**(code **)(puVar12 + 0x91c18))" ( (pointer_expression "**(code **)(puVar12 + 0x91c18)" * (pointer_expression "*(code **)(puVar12 + 0x91c18)" * (cast_expression "(code **)(puVar12 + 0x91c18)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar12 + 0x91c18)" ( (binary_expression "puVar12 + 0x91c18" identifier + number_literal) ))))) )) (argument_list "(uVar4)" ( identifier )))) ;) (expression_statement "hash_table_put(iVar3,uVar5,uVar4);" (call_expression "hash_table_put(iVar3,uVar5,uVar4)" identifier (argument_list "(iVar3,uVar5,uVar4)" ( identifier , identifier , identifier ))) ;) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) = IDENT) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , IDENT , (pointer_expression & IDENT) , (pointer_expression & IDENT) )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;)) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT ))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == (char_literal ' escape_sequence ')) )) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (pointer_expression * IDENT)) , (comma_expression (assignment_expression IDENT = IDENT) , (binary_expression IDENT == (char_literal ' escape_sequence ')))) ))) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , IDENT ))) ;)) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) , (binary_expression IDENT + LIT) , IDENT ))) ;) (goto_statement goto statement_identifier ;) })) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (char_literal ' escape_sequence ')) )) (goto_statement goto statement_identifier ;)) (break_statement break ;) })) }) while (parenthesized_expression ( (binary_expression IDENT != (char_literal ' escape_sequence ')) )) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != (char_literal ' character ')) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (binary_expression IDENT + LIT)) , (comma_expression (assignment_expression IDENT = (binary_expression IDENT + LIT)) , (binary_expression (pointer_expression * IDENT) != (char_literal ' character ')))) ))) )) || (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != (char_literal ' escape_sequence ')) ))) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , (binary_expression IDENT + LIT) )))) , (binary_expression IDENT != LIT)) ))) )) (goto_statement goto statement_identifier ;)) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) , IDENT )))) ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (goto_statement goto statement_identifier ;)) }))) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) , IDENT , (pointer_expression & IDENT) , (pointer_expression & IDENT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) , IDENT ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT ))) ;) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT == (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) )) (compound_statement { (return_statement return ;) }))) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) 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 (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 IDENT (argument_list ( LIT )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * IDENT) , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (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 IDENT + LIT) ))))) )) (argument_list ( IDENT )))) ;) (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 IDENT + LIT) ))))) )) (argument_list ( IDENT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT ))) ;) (return_statement return ;) })) (return_statement return ;) })))
(function_definition "void register_download(char *param_1,undefined4 param_2)\n\n{\n  undefined *puVar1;\n  undefined *puVar2;\n  int iVar3;\n  char cVar6;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  char cVar7;\n  char *pcVar8;\n  int *piVar9;\n  char *pcVar10;\n  undefined4 uVar11;\n  undefined *puVar12;\n  undefined4 local_34;\n  char *local_30;\n  int local_2c;\n  \n  puVar2 = PTR___stack_chk_guard_000afc3c;\n  puVar12 = PTR_DAT_000af458;\n  local_2c = *(int *)PTR___stack_chk_guard_000afc3c;\n  if (*(int *)(PTR_DAT_000af458 + -0xa4) == 0) {\n    uVar4 = make_string_hash_table(0);\n    *(undefined4 *)(puVar12 + -0xa4) = uVar4;\n  }\n  puVar1 = PTR_dl_url_file_map_000af618;\n  if (*(int *)PTR_dl_url_file_map_000af618 == 0) {\n    uVar4 = make_string_hash_table(0);\n    *(undefined4 *)puVar1 = uVar4;\n  }\n  iVar3 = hash_table_get_pair(*(undefined4 *)(puVar12 + -0xa4),param_2,&local_34,&local_30);\n  pcVar10 = local_30;\n  if (iVar3 == 0) {\nLAB_0001d6b8:\n    uVar11 = *(undefined4 *)(puVar12 + -0xa4);\n    uVar4 = (*(code *)PTR_xstrdup_000af48c)(param_2);\n    uVar5 = (*(code *)PTR_xstrdup_000af48c)(param_1);\n    hash_table_put(uVar11,uVar4,uVar5);\n  }\n  else {\n    pcVar8 = param_1;\n    iVar3 = (*(code *)PTR_strcmp_000afacc)(param_1);\n    if (iVar3 == 0) goto LAB_0001d758;\n    cVar6 = *param_1;\n    if ((cVar6 == '\0') || (cVar7 = *pcVar10, pcVar8 = param_1, cVar7 == '\0')) {\nLAB_0001d664:\n      hash_table_remove(*(undefined4 *)(puVar12 + -0xa4),param_2);\n      (*(code *)PTR_free_000afd08)(local_34);\n      local_34 = 0;\n      (*(code *)PTR_free_000afd08)(local_30);\n      local_30 = (char *)0x0;\n      hash_table_for_each(*(undefined4 *)puVar1,PTR_LAB_000af464 + -0x2b38,param_2);\n      goto LAB_0001d6b8;\n    }\n    do {\n      pcVar8 = pcVar8 + 1;\n      if (cVar6 != cVar7) goto LAB_0001d664;\n      cVar6 = *pcVar8;\n      pcVar10 = pcVar10 + 1;\n      cVar7 = *pcVar10;\n      if (cVar6 == '\0') {\n        pcVar8 = pcVar10;\n        cVar6 = cVar7;\n        if (cVar7 == '\0') goto LAB_0001d810;\n        break;\n      }\n    } while (cVar7 != '\0');\n    if ((((cVar6 != '/') && (pcVar10 = pcVar8 + -1, pcVar8 = pcVar8 + -1, *pcVar10 != '/')) ||\n        (pcVar8[1] != '\0')) &&\n       (iVar3 = (*(code *)PTR_strcmp_000afacc)(pcVar8,PTR_LAB_000af468 + 0x40fc), iVar3 != 0))\n    goto LAB_0001d664;\nLAB_0001d810:\n    iVar3 = hash_table_contains(*(undefined4 *)puVar1,param_1);\n    if (iVar3 != 0) goto LAB_0001d664;\n  }\n  iVar3 = hash_table_get_pair(*(undefined4 *)puVar1,param_1,&local_30,&local_34);\n  if (iVar3 != 0) {\n    hash_table_remove(*(undefined4 *)puVar1,param_1);\n    (*(code *)PTR_free_000afd08)(local_30);\n    local_30 = (char *)0x0;\n    (*(code *)PTR_free_000afd08)(local_34);\n    local_34 = 0;\n  }\n  pcVar8 = *(char **)puVar1;\n  uVar4 = (*(code *)PTR_xstrdup_000af48c)(param_1);\n  uVar5 = (*(code *)PTR_xstrdup_000af48c)(param_2);\n  hash_table_put(pcVar8,uVar4,uVar5);\nLAB_0001d758:\n  if (local_2c == *(int *)puVar2) {\n    return;\n  }\n  puVar12 = PTR___stack_chk_fail_000afbd4;\n  (*(code *)PTR___stack_chk_fail_000afbd4)();\n  iVar3 = *(int *)(puVar12 + 0x91be4);\n  if (*(int *)(iVar3 + -0xa4) == 0) {\n    uVar4 = make_string_hash_table(0);\n    *(undefined4 *)(iVar3 + -0xa4) = uVar4;\n  }\n  piVar9 = *(int **)(puVar12 + 0x91da4);\n  iVar3 = *piVar9;\n  if (iVar3 == 0) {\n    iVar3 = make_string_hash_table();\n    *piVar9 = iVar3;\n  }\n  uVar4 = hash_table_get(iVar3);\n  iVar3 = hash_table_contains(*piVar9,pcVar8);\n  if (iVar3 == 0) {\n    iVar3 = *piVar9;\n    uVar5 = (**(code **)(puVar12 + 0x91c18))(pcVar8);\n    uVar4 = (**(code **)(puVar12 + 0x91c18))(uVar4);\n    hash_table_put(iVar3,uVar5,uVar4);\n    return;\n  }\n  return;\n}" (primitive_type "void") (function_declarator "register_download(char *param_1,undefined4 param_2)" (identifier "register_download") (parameter_list "(char *param_1,undefined4 param_2)" (( "(") (parameter_declaration "char *param_1" (primitive_type "char") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) () ")"))) (compound_statement "{\n  undefined *puVar1;\n  undefined *puVar2;\n  int iVar3;\n  char cVar6;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  char cVar7;\n  char *pcVar8;\n  int *piVar9;\n  char *pcVar10;\n  undefined4 uVar11;\n  undefined *puVar12;\n  undefined4 local_34;\n  char *local_30;\n  int local_2c;\n  \n  puVar2 = PTR___stack_chk_guard_000afc3c;\n  puVar12 = PTR_DAT_000af458;\n  local_2c = *(int *)PTR___stack_chk_guard_000afc3c;\n  if (*(int *)(PTR_DAT_000af458 + -0xa4) == 0) {\n    uVar4 = make_string_hash_table(0);\n    *(undefined4 *)(puVar12 + -0xa4) = uVar4;\n  }\n  puVar1 = PTR_dl_url_file_map_000af618;\n  if (*(int *)PTR_dl_url_file_map_000af618 == 0) {\n    uVar4 = make_string_hash_table(0);\n    *(undefined4 *)puVar1 = uVar4;\n  }\n  iVar3 = hash_table_get_pair(*(undefined4 *)(puVar12 + -0xa4),param_2,&local_34,&local_30);\n  pcVar10 = local_30;\n  if (iVar3 == 0) {\nLAB_0001d6b8:\n    uVar11 = *(undefined4 *)(puVar12 + -0xa4);\n    uVar4 = (*(code *)PTR_xstrdup_000af48c)(param_2);\n    uVar5 = (*(code *)PTR_xstrdup_000af48c)(param_1);\n    hash_table_put(uVar11,uVar4,uVar5);\n  }\n  else {\n    pcVar8 = param_1;\n    iVar3 = (*(code *)PTR_strcmp_000afacc)(param_1);\n    if (iVar3 == 0) goto LAB_0001d758;\n    cVar6 = *param_1;\n    if ((cVar6 == '\0') || (cVar7 = *pcVar10, pcVar8 = param_1, cVar7 == '\0')) {\nLAB_0001d664:\n      hash_table_remove(*(undefined4 *)(puVar12 + -0xa4),param_2);\n      (*(code *)PTR_free_000afd08)(local_34);\n      local_34 = 0;\n      (*(code *)PTR_free_000afd08)(local_30);\n      local_30 = (char *)0x0;\n      hash_table_for_each(*(undefined4 *)puVar1,PTR_LAB_000af464 + -0x2b38,param_2);\n      goto LAB_0001d6b8;\n    }\n    do {\n      pcVar8 = pcVar8 + 1;\n      if (cVar6 != cVar7) goto LAB_0001d664;\n      cVar6 = *pcVar8;\n      pcVar10 = pcVar10 + 1;\n      cVar7 = *pcVar10;\n      if (cVar6 == '\0') {\n        pcVar8 = pcVar10;\n        cVar6 = cVar7;\n        if (cVar7 == '\0') goto LAB_0001d810;\n        break;\n      }\n    } while (cVar7 != '\0');\n    if ((((cVar6 != '/') && (pcVar10 = pcVar8 + -1, pcVar8 = pcVar8 + -1, *pcVar10 != '/')) ||\n        (pcVar8[1] != '\0')) &&\n       (iVar3 = (*(code *)PTR_strcmp_000afacc)(pcVar8,PTR_LAB_000af468 + 0x40fc), iVar3 != 0))\n    goto LAB_0001d664;\nLAB_0001d810:\n    iVar3 = hash_table_contains(*(undefined4 *)puVar1,param_1);\n    if (iVar3 != 0) goto LAB_0001d664;\n  }\n  iVar3 = hash_table_get_pair(*(undefined4 *)puVar1,param_1,&local_30,&local_34);\n  if (iVar3 != 0) {\n    hash_table_remove(*(undefined4 *)puVar1,param_1);\n    (*(code *)PTR_free_000afd08)(local_30);\n    local_30 = (char *)0x0;\n    (*(code *)PTR_free_000afd08)(local_34);\n    local_34 = 0;\n  }\n  pcVar8 = *(char **)puVar1;\n  uVar4 = (*(code *)PTR_xstrdup_000af48c)(param_1);\n  uVar5 = (*(code *)PTR_xstrdup_000af48c)(param_2);\n  hash_table_put(pcVar8,uVar4,uVar5);\nLAB_0001d758:\n  if (local_2c == *(int *)puVar2) {\n    return;\n  }\n  puVar12 = PTR___stack_chk_fail_000afbd4;\n  (*(code *)PTR___stack_chk_fail_000afbd4)();\n  iVar3 = *(int *)(puVar12 + 0x91be4);\n  if (*(int *)(iVar3 + -0xa4) == 0) {\n    uVar4 = make_string_hash_table(0);\n    *(undefined4 *)(iVar3 + -0xa4) = uVar4;\n  }\n  piVar9 = *(int **)(puVar12 + 0x91da4);\n  iVar3 = *piVar9;\n  if (iVar3 == 0) {\n    iVar3 = make_string_hash_table();\n    *piVar9 = iVar3;\n  }\n  uVar4 = hash_table_get(iVar3);\n  iVar3 = hash_table_contains(*piVar9,pcVar8);\n  if (iVar3 == 0) {\n    iVar3 = *piVar9;\n    uVar5 = (**(code **)(puVar12 + 0x91c18))(pcVar8);\n    uVar4 = (**(code **)(puVar12 + 0x91c18))(uVar4);\n    hash_table_put(iVar3,uVar5,uVar4);\n    return;\n  }\n  return;\n}" ({ "{") (declaration "undefined *puVar1;" (type_identifier "undefined") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "undefined *puVar2;" (type_identifier "undefined") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "char cVar6;" (primitive_type "char") (identifier "cVar6") (; ";")) (declaration "undefined4 uVar4;" (type_identifier "undefined4") (identifier "uVar4") (; ";")) (declaration "undefined4 uVar5;" (type_identifier "undefined4") (identifier "uVar5") (; ";")) (declaration "char cVar7;" (primitive_type "char") (identifier "cVar7") (; ";")) (declaration "char *pcVar8;" (primitive_type "char") (pointer_declarator "*pcVar8" (* "*") (identifier "pcVar8")) (; ";")) (declaration "int *piVar9;" (primitive_type "int") (pointer_declarator "*piVar9" (* "*") (identifier "piVar9")) (; ";")) (declaration "char *pcVar10;" (primitive_type "char") (pointer_declarator "*pcVar10" (* "*") (identifier "pcVar10")) (; ";")) (declaration "undefined4 uVar11;" (type_identifier "undefined4") (identifier "uVar11") (; ";")) (declaration "undefined *puVar12;" (type_identifier "undefined") (pointer_declarator "*puVar12" (* "*") (identifier "puVar12")) (; ";")) (declaration "undefined4 local_34;" (type_identifier "undefined4") (identifier "local_34") (; ";")) (declaration "char *local_30;" (primitive_type "char") (pointer_declarator "*local_30" (* "*") (identifier "local_30")) (; ";")) (declaration "int local_2c;" (primitive_type "int") (identifier "local_2c") (; ";")) (expression_statement "puVar2 = PTR___stack_chk_guard_000afc3c;" (assignment_expression "puVar2 = PTR___stack_chk_guard_000afc3c" (identifier "puVar2") (= "=") (identifier "PTR___stack_chk_guard_000afc3c")) (; ";")) (expression_statement "puVar12 = PTR_DAT_000af458;" (assignment_expression "puVar12 = PTR_DAT_000af458" (identifier "puVar12") (= "=") (identifier "PTR_DAT_000af458")) (; ";")) (expression_statement "local_2c = *(int *)PTR___stack_chk_guard_000afc3c;" (assignment_expression "local_2c = *(int *)PTR___stack_chk_guard_000afc3c" (identifier "local_2c") (= "=") (pointer_expression "*(int *)PTR___stack_chk_guard_000afc3c" (* "*") (cast_expression "(int *)PTR___stack_chk_guard_000afc3c" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_guard_000afc3c")))) (; ";")) (if_statement "if (*(int *)(PTR_DAT_000af458 + -0xa4) == 0) {\n    uVar4 = make_string_hash_table(0);\n    *(undefined4 *)(puVar12 + -0xa4) = uVar4;\n  }" (if "if") (parenthesized_expression "(*(int *)(PTR_DAT_000af458 + -0xa4) == 0)" (( "(") (binary_expression "*(int *)(PTR_DAT_000af458 + -0xa4) == 0" (pointer_expression "*(int *)(PTR_DAT_000af458 + -0xa4)" (* "*") (cast_expression "(int *)(PTR_DAT_000af458 + -0xa4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_000af458 + -0xa4)" (( "(") (binary_expression "PTR_DAT_000af458 + -0xa4" (identifier "PTR_DAT_000af458") (+ "+") (number_literal "-0xa4")) () ")")))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    uVar4 = make_string_hash_table(0);\n    *(undefined4 *)(puVar12 + -0xa4) = uVar4;\n  }" ({ "{") (expression_statement "uVar4 = make_string_hash_table(0);" (assignment_expression "uVar4 = make_string_hash_table(0)" (identifier "uVar4") (= "=") (call_expression "make_string_hash_table(0)" (identifier "make_string_hash_table") (argument_list "(0)" (( "(") (number_literal "0") () ")")))) (; ";")) (expression_statement "*(undefined4 *)(puVar12 + -0xa4) = uVar4;" (assignment_expression "*(undefined4 *)(puVar12 + -0xa4) = uVar4" (pointer_expression "*(undefined4 *)(puVar12 + -0xa4)" (* "*") (cast_expression "(undefined4 *)(puVar12 + -0xa4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar12 + -0xa4)" (( "(") (binary_expression "puVar12 + -0xa4" (identifier "puVar12") (+ "+") (number_literal "-0xa4")) () ")")))) (= "=") (identifier "uVar4")) (; ";")) (} "}"))) (expression_statement "puVar1 = PTR_dl_url_file_map_000af618;" (assignment_expression "puVar1 = PTR_dl_url_file_map_000af618" (identifier "puVar1") (= "=") (identifier "PTR_dl_url_file_map_000af618")) (; ";")) (if_statement "if (*(int *)PTR_dl_url_file_map_000af618 == 0) {\n    uVar4 = make_string_hash_table(0);\n    *(undefined4 *)puVar1 = uVar4;\n  }" (if "if") (parenthesized_expression "(*(int *)PTR_dl_url_file_map_000af618 == 0)" (( "(") (binary_expression "*(int *)PTR_dl_url_file_map_000af618 == 0" (pointer_expression "*(int *)PTR_dl_url_file_map_000af618" (* "*") (cast_expression "(int *)PTR_dl_url_file_map_000af618" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_dl_url_file_map_000af618"))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    uVar4 = make_string_hash_table(0);\n    *(undefined4 *)puVar1 = uVar4;\n  }" ({ "{") (expression_statement "uVar4 = make_string_hash_table(0);" (assignment_expression "uVar4 = make_string_hash_table(0)" (identifier "uVar4") (= "=") (call_expression "make_string_hash_table(0)" (identifier "make_string_hash_table") (argument_list "(0)" (( "(") (number_literal "0") () ")")))) (; ";")) (expression_statement "*(undefined4 *)puVar1 = uVar4;" (assignment_expression "*(undefined4 *)puVar1 = uVar4" (pointer_expression "*(undefined4 *)puVar1" (* "*") (cast_expression "(undefined4 *)puVar1" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar1"))) (= "=") (identifier "uVar4")) (; ";")) (} "}"))) (expression_statement "iVar3 = hash_table_get_pair(*(undefined4 *)(puVar12 + -0xa4),param_2,&local_34,&local_30);" (assignment_expression "iVar3 = hash_table_get_pair(*(undefined4 *)(puVar12 + -0xa4),param_2,&local_34,&local_30)" (identifier "iVar3") (= "=") (call_expression "hash_table_get_pair(*(undefined4 *)(puVar12 + -0xa4),param_2,&local_34,&local_30)" (identifier "hash_table_get_pair") (argument_list "(*(undefined4 *)(puVar12 + -0xa4),param_2,&local_34,&local_30)" (( "(") (pointer_expression "*(undefined4 *)(puVar12 + -0xa4)" (* "*") (cast_expression "(undefined4 *)(puVar12 + -0xa4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar12 + -0xa4)" (( "(") (binary_expression "puVar12 + -0xa4" (identifier "puVar12") (+ "+") (number_literal "-0xa4")) () ")")))) (, ",") (identifier "param_2") (, ",") (pointer_expression "&local_34" (& "&") (identifier "local_34")) (, ",") (pointer_expression "&local_30" (& "&") (identifier "local_30")) () ")")))) (; ";")) (expression_statement "pcVar10 = local_30;" (assignment_expression "pcVar10 = local_30" (identifier "pcVar10") (= "=") (identifier "local_30")) (; ";")) (if_statement "if (iVar3 == 0) {\nLAB_0001d6b8:\n    uVar11 = *(undefined4 *)(puVar12 + -0xa4);\n    uVar4 = (*(code *)PTR_xstrdup_000af48c)(param_2);\n    uVar5 = (*(code *)PTR_xstrdup_000af48c)(param_1);\n    hash_table_put(uVar11,uVar4,uVar5);\n  }\n  else {\n    pcVar8 = param_1;\n    iVar3 = (*(code *)PTR_strcmp_000afacc)(param_1);\n    if (iVar3 == 0) goto LAB_0001d758;\n    cVar6 = *param_1;\n    if ((cVar6 == '\0') || (cVar7 = *pcVar10, pcVar8 = param_1, cVar7 == '\0')) {\nLAB_0001d664:\n      hash_table_remove(*(undefined4 *)(puVar12 + -0xa4),param_2);\n      (*(code *)PTR_free_000afd08)(local_34);\n      local_34 = 0;\n      (*(code *)PTR_free_000afd08)(local_30);\n      local_30 = (char *)0x0;\n      hash_table_for_each(*(undefined4 *)puVar1,PTR_LAB_000af464 + -0x2b38,param_2);\n      goto LAB_0001d6b8;\n    }\n    do {\n      pcVar8 = pcVar8 + 1;\n      if (cVar6 != cVar7) goto LAB_0001d664;\n      cVar6 = *pcVar8;\n      pcVar10 = pcVar10 + 1;\n      cVar7 = *pcVar10;\n      if (cVar6 == '\0') {\n        pcVar8 = pcVar10;\n        cVar6 = cVar7;\n        if (cVar7 == '\0') goto LAB_0001d810;\n        break;\n      }\n    } while (cVar7 != '\0');\n    if ((((cVar6 != '/') && (pcVar10 = pcVar8 + -1, pcVar8 = pcVar8 + -1, *pcVar10 != '/')) ||\n        (pcVar8[1] != '\0')) &&\n       (iVar3 = (*(code *)PTR_strcmp_000afacc)(pcVar8,PTR_LAB_000af468 + 0x40fc), iVar3 != 0))\n    goto LAB_0001d664;\nLAB_0001d810:\n    iVar3 = hash_table_contains(*(undefined4 *)puVar1,param_1);\n    if (iVar3 != 0) goto LAB_0001d664;\n  }" (if "if") (parenthesized_expression "(iVar3 == 0)" (( "(") (binary_expression "iVar3 == 0" (identifier "iVar3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\nLAB_0001d6b8:\n    uVar11 = *(undefined4 *)(puVar12 + -0xa4);\n    uVar4 = (*(code *)PTR_xstrdup_000af48c)(param_2);\n    uVar5 = (*(code *)PTR_xstrdup_000af48c)(param_1);\n    hash_table_put(uVar11,uVar4,uVar5);\n  }" ({ "{") (labeled_statement "LAB_0001d6b8:\n    uVar11 = *(undefined4 *)(puVar12 + -0xa4);" (statement_identifier "LAB_0001d6b8") (: ":") (expression_statement "uVar11 = *(undefined4 *)(puVar12 + -0xa4);" (assignment_expression "uVar11 = *(undefined4 *)(puVar12 + -0xa4)" (identifier "uVar11") (= "=") (pointer_expression "*(undefined4 *)(puVar12 + -0xa4)" (* "*") (cast_expression "(undefined4 *)(puVar12 + -0xa4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar12 + -0xa4)" (( "(") (binary_expression "puVar12 + -0xa4" (identifier "puVar12") (+ "+") (number_literal "-0xa4")) () ")"))))) (; ";"))) (expression_statement "uVar4 = (*(code *)PTR_xstrdup_000af48c)(param_2);" (assignment_expression "uVar4 = (*(code *)PTR_xstrdup_000af48c)(param_2)" (identifier "uVar4") (= "=") (call_expression "(*(code *)PTR_xstrdup_000af48c)(param_2)" (parenthesized_expression "(*(code *)PTR_xstrdup_000af48c)" (( "(") (pointer_expression "*(code *)PTR_xstrdup_000af48c" (* "*") (cast_expression "(code *)PTR_xstrdup_000af48c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_xstrdup_000af48c"))) () ")")) (argument_list "(param_2)" (( "(") (identifier "param_2") () ")")))) (; ";")) (expression_statement "uVar5 = (*(code *)PTR_xstrdup_000af48c)(param_1);" (assignment_expression "uVar5 = (*(code *)PTR_xstrdup_000af48c)(param_1)" (identifier "uVar5") (= "=") (call_expression "(*(code *)PTR_xstrdup_000af48c)(param_1)" (parenthesized_expression "(*(code *)PTR_xstrdup_000af48c)" (( "(") (pointer_expression "*(code *)PTR_xstrdup_000af48c" (* "*") (cast_expression "(code *)PTR_xstrdup_000af48c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_xstrdup_000af48c"))) () ")")) (argument_list "(param_1)" (( "(") (identifier "param_1") () ")")))) (; ";")) (expression_statement "hash_table_put(uVar11,uVar4,uVar5);" (call_expression "hash_table_put(uVar11,uVar4,uVar5)" (identifier "hash_table_put") (argument_list "(uVar11,uVar4,uVar5)" (( "(") (identifier "uVar11") (, ",") (identifier "uVar4") (, ",") (identifier "uVar5") () ")"))) (; ";")) (} "}")) (else_clause "else {\n    pcVar8 = param_1;\n    iVar3 = (*(code *)PTR_strcmp_000afacc)(param_1);\n    if (iVar3 == 0) goto LAB_0001d758;\n    cVar6 = *param_1;\n    if ((cVar6 == '\0') || (cVar7 = *pcVar10, pcVar8 = param_1, cVar7 == '\0')) {\nLAB_0001d664:\n      hash_table_remove(*(undefined4 *)(puVar12 + -0xa4),param_2);\n      (*(code *)PTR_free_000afd08)(local_34);\n      local_34 = 0;\n      (*(code *)PTR_free_000afd08)(local_30);\n      local_30 = (char *)0x0;\n      hash_table_for_each(*(undefined4 *)puVar1,PTR_LAB_000af464 + -0x2b38,param_2);\n      goto LAB_0001d6b8;\n    }\n    do {\n      pcVar8 = pcVar8 + 1;\n      if (cVar6 != cVar7) goto LAB_0001d664;\n      cVar6 = *pcVar8;\n      pcVar10 = pcVar10 + 1;\n      cVar7 = *pcVar10;\n      if (cVar6 == '\0') {\n        pcVar8 = pcVar10;\n        cVar6 = cVar7;\n        if (cVar7 == '\0') goto LAB_0001d810;\n        break;\n      }\n    } while (cVar7 != '\0');\n    if ((((cVar6 != '/') && (pcVar10 = pcVar8 + -1, pcVar8 = pcVar8 + -1, *pcVar10 != '/')) ||\n        (pcVar8[1] != '\0')) &&\n       (iVar3 = (*(code *)PTR_strcmp_000afacc)(pcVar8,PTR_LAB_000af468 + 0x40fc), iVar3 != 0))\n    goto LAB_0001d664;\nLAB_0001d810:\n    iVar3 = hash_table_contains(*(undefined4 *)puVar1,param_1);\n    if (iVar3 != 0) goto LAB_0001d664;\n  }" (else "else") (compound_statement "{\n    pcVar8 = param_1;\n    iVar3 = (*(code *)PTR_strcmp_000afacc)(param_1);\n    if (iVar3 == 0) goto LAB_0001d758;\n    cVar6 = *param_1;\n    if ((cVar6 == '\0') || (cVar7 = *pcVar10, pcVar8 = param_1, cVar7 == '\0')) {\nLAB_0001d664:\n      hash_table_remove(*(undefined4 *)(puVar12 + -0xa4),param_2);\n      (*(code *)PTR_free_000afd08)(local_34);\n      local_34 = 0;\n      (*(code *)PTR_free_000afd08)(local_30);\n      local_30 = (char *)0x0;\n      hash_table_for_each(*(undefined4 *)puVar1,PTR_LAB_000af464 + -0x2b38,param_2);\n      goto LAB_0001d6b8;\n    }\n    do {\n      pcVar8 = pcVar8 + 1;\n      if (cVar6 != cVar7) goto LAB_0001d664;\n      cVar6 = *pcVar8;\n      pcVar10 = pcVar10 + 1;\n      cVar7 = *pcVar10;\n      if (cVar6 == '\0') {\n        pcVar8 = pcVar10;\n        cVar6 = cVar7;\n        if (cVar7 == '\0') goto LAB_0001d810;\n        break;\n      }\n    } while (cVar7 != '\0');\n    if ((((cVar6 != '/') && (pcVar10 = pcVar8 + -1, pcVar8 = pcVar8 + -1, *pcVar10 != '/')) ||\n        (pcVar8[1] != '\0')) &&\n       (iVar3 = (*(code *)PTR_strcmp_000afacc)(pcVar8,PTR_LAB_000af468 + 0x40fc), iVar3 != 0))\n    goto LAB_0001d664;\nLAB_0001d810:\n    iVar3 = hash_table_contains(*(undefined4 *)puVar1,param_1);\n    if (iVar3 != 0) goto LAB_0001d664;\n  }" ({ "{") (expression_statement "pcVar8 = param_1;" (assignment_expression "pcVar8 = param_1" (identifier "pcVar8") (= "=") (identifier "param_1")) (; ";")) (expression_statement "iVar3 = (*(code *)PTR_strcmp_000afacc)(param_1);" (assignment_expression "iVar3 = (*(code *)PTR_strcmp_000afacc)(param_1)" (identifier "iVar3") (= "=") (call_expression "(*(code *)PTR_strcmp_000afacc)(param_1)" (parenthesized_expression "(*(code *)PTR_strcmp_000afacc)" (( "(") (pointer_expression "*(code *)PTR_strcmp_000afacc" (* "*") (cast_expression "(code *)PTR_strcmp_000afacc" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strcmp_000afacc"))) () ")")) (argument_list "(param_1)" (( "(") (identifier "param_1") () ")")))) (; ";")) (if_statement "if (iVar3 == 0) goto LAB_0001d758;" (if "if") (parenthesized_expression "(iVar3 == 0)" (( "(") (binary_expression "iVar3 == 0" (identifier "iVar3") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_0001d758;" (goto "goto") (statement_identifier "LAB_0001d758") (; ";"))) (expression_statement "cVar6 = *param_1;" (assignment_expression "cVar6 = *param_1" (identifier "cVar6") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (if_statement "if ((cVar6 == '\0') || (cVar7 = *pcVar10, pcVar8 = param_1, cVar7 == '\0')) {\nLAB_0001d664:\n      hash_table_remove(*(undefined4 *)(puVar12 + -0xa4),param_2);\n      (*(code *)PTR_free_000afd08)(local_34);\n      local_34 = 0;\n      (*(code *)PTR_free_000afd08)(local_30);\n      local_30 = (char *)0x0;\n      hash_table_for_each(*(undefined4 *)puVar1,PTR_LAB_000af464 + -0x2b38,param_2);\n      goto LAB_0001d6b8;\n    }" (if "if") (parenthesized_expression "((cVar6 == '\0') || (cVar7 = *pcVar10, pcVar8 = param_1, cVar7 == '\0'))" (( "(") (binary_expression "(cVar6 == '\0') || (cVar7 = *pcVar10, pcVar8 = param_1, cVar7 == '\0')" (parenthesized_expression "(cVar6 == '\0')" (( "(") (binary_expression "cVar6 == '\0'" (identifier "cVar6") (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (|| "||") (parenthesized_expression "(cVar7 = *pcVar10, pcVar8 = param_1, cVar7 == '\0')" (( "(") (comma_expression "cVar7 = *pcVar10, pcVar8 = param_1, cVar7 == '\0'" (assignment_expression "cVar7 = *pcVar10" (identifier "cVar7") (= "=") (pointer_expression "*pcVar10" (* "*") (identifier "pcVar10"))) (, ",") (comma_expression "pcVar8 = param_1, cVar7 == '\0'" (assignment_expression "pcVar8 = param_1" (identifier "pcVar8") (= "=") (identifier "param_1")) (, ",") (binary_expression "cVar7 == '\0'" (identifier "cVar7") (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))))) () ")"))) () ")")) (compound_statement "{\nLAB_0001d664:\n      hash_table_remove(*(undefined4 *)(puVar12 + -0xa4),param_2);\n      (*(code *)PTR_free_000afd08)(local_34);\n      local_34 = 0;\n      (*(code *)PTR_free_000afd08)(local_30);\n      local_30 = (char *)0x0;\n      hash_table_for_each(*(undefined4 *)puVar1,PTR_LAB_000af464 + -0x2b38,param_2);\n      goto LAB_0001d6b8;\n    }" ({ "{") (labeled_statement "LAB_0001d664:\n      hash_table_remove(*(undefined4 *)(puVar12 + -0xa4),param_2);" (statement_identifier "LAB_0001d664") (: ":") (expression_statement "hash_table_remove(*(undefined4 *)(puVar12 + -0xa4),param_2);" (call_expression "hash_table_remove(*(undefined4 *)(puVar12 + -0xa4),param_2)" (identifier "hash_table_remove") (argument_list "(*(undefined4 *)(puVar12 + -0xa4),param_2)" (( "(") (pointer_expression "*(undefined4 *)(puVar12 + -0xa4)" (* "*") (cast_expression "(undefined4 *)(puVar12 + -0xa4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar12 + -0xa4)" (( "(") (binary_expression "puVar12 + -0xa4" (identifier "puVar12") (+ "+") (number_literal "-0xa4")) () ")")))) (, ",") (identifier "param_2") () ")"))) (; ";"))) (expression_statement "(*(code *)PTR_free_000afd08)(local_34);" (call_expression "(*(code *)PTR_free_000afd08)(local_34)" (parenthesized_expression "(*(code *)PTR_free_000afd08)" (( "(") (pointer_expression "*(code *)PTR_free_000afd08" (* "*") (cast_expression "(code *)PTR_free_000afd08" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_free_000afd08"))) () ")")) (argument_list "(local_34)" (( "(") (identifier "local_34") () ")"))) (; ";")) (expression_statement "local_34 = 0;" (assignment_expression "local_34 = 0" (identifier "local_34") (= "=") (number_literal "0")) (; ";")) (expression_statement "(*(code *)PTR_free_000afd08)(local_30);" (call_expression "(*(code *)PTR_free_000afd08)(local_30)" (parenthesized_expression "(*(code *)PTR_free_000afd08)" (( "(") (pointer_expression "*(code *)PTR_free_000afd08" (* "*") (cast_expression "(code *)PTR_free_000afd08" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_free_000afd08"))) () ")")) (argument_list "(local_30)" (( "(") (identifier "local_30") () ")"))) (; ";")) (expression_statement "local_30 = (char *)0x0;" (assignment_expression "local_30 = (char *)0x0" (identifier "local_30") (= "=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (expression_statement "hash_table_for_each(*(undefined4 *)puVar1,PTR_LAB_000af464 + -0x2b38,param_2);" (call_expression "hash_table_for_each(*(undefined4 *)puVar1,PTR_LAB_000af464 + -0x2b38,param_2)" (identifier "hash_table_for_each") (argument_list "(*(undefined4 *)puVar1,PTR_LAB_000af464 + -0x2b38,param_2)" (( "(") (pointer_expression "*(undefined4 *)puVar1" (* "*") (cast_expression "(undefined4 *)puVar1" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar1"))) (, ",") (binary_expression "PTR_LAB_000af464 + -0x2b38" (identifier "PTR_LAB_000af464") (+ "+") (number_literal "-0x2b38")) (, ",") (identifier "param_2") () ")"))) (; ";")) (goto_statement "goto LAB_0001d6b8;" (goto "goto") (statement_identifier "LAB_0001d6b8") (; ";")) (} "}"))) (do_statement "do {\n      pcVar8 = pcVar8 + 1;\n      if (cVar6 != cVar7) goto LAB_0001d664;\n      cVar6 = *pcVar8;\n      pcVar10 = pcVar10 + 1;\n      cVar7 = *pcVar10;\n      if (cVar6 == '\0') {\n        pcVar8 = pcVar10;\n        cVar6 = cVar7;\n        if (cVar7 == '\0') goto LAB_0001d810;\n        break;\n      }\n    } while (cVar7 != '\0');" (do "do") (compound_statement "{\n      pcVar8 = pcVar8 + 1;\n      if (cVar6 != cVar7) goto LAB_0001d664;\n      cVar6 = *pcVar8;\n      pcVar10 = pcVar10 + 1;\n      cVar7 = *pcVar10;\n      if (cVar6 == '\0') {\n        pcVar8 = pcVar10;\n        cVar6 = cVar7;\n        if (cVar7 == '\0') goto LAB_0001d810;\n        break;\n      }\n    }" ({ "{") (expression_statement "pcVar8 = pcVar8 + 1;" (assignment_expression "pcVar8 = pcVar8 + 1" (identifier "pcVar8") (= "=") (binary_expression "pcVar8 + 1" (identifier "pcVar8") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (cVar6 != cVar7) goto LAB_0001d664;" (if "if") (parenthesized_expression "(cVar6 != cVar7)" (( "(") (binary_expression "cVar6 != cVar7" (identifier "cVar6") (!= "!=") (identifier "cVar7")) () ")")) (goto_statement "goto LAB_0001d664;" (goto "goto") (statement_identifier "LAB_0001d664") (; ";"))) (expression_statement "cVar6 = *pcVar8;" (assignment_expression "cVar6 = *pcVar8" (identifier "cVar6") (= "=") (pointer_expression "*pcVar8" (* "*") (identifier "pcVar8"))) (; ";")) (expression_statement "pcVar10 = pcVar10 + 1;" (assignment_expression "pcVar10 = pcVar10 + 1" (identifier "pcVar10") (= "=") (binary_expression "pcVar10 + 1" (identifier "pcVar10") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "cVar7 = *pcVar10;" (assignment_expression "cVar7 = *pcVar10" (identifier "cVar7") (= "=") (pointer_expression "*pcVar10" (* "*") (identifier "pcVar10"))) (; ";")) (if_statement "if (cVar6 == '\0') {\n        pcVar8 = pcVar10;\n        cVar6 = cVar7;\n        if (cVar7 == '\0') goto LAB_0001d810;\n        break;\n      }" (if "if") (parenthesized_expression "(cVar6 == '\0')" (( "(") (binary_expression "cVar6 == '\0'" (identifier "cVar6") (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n        pcVar8 = pcVar10;\n        cVar6 = cVar7;\n        if (cVar7 == '\0') goto LAB_0001d810;\n        break;\n      }" ({ "{") (expression_statement "pcVar8 = pcVar10;" (assignment_expression "pcVar8 = pcVar10" (identifier "pcVar8") (= "=") (identifier "pcVar10")) (; ";")) (expression_statement "cVar6 = cVar7;" (assignment_expression "cVar6 = cVar7" (identifier "cVar6") (= "=") (identifier "cVar7")) (; ";")) (if_statement "if (cVar7 == '\0') goto LAB_0001d810;" (if "if") (parenthesized_expression "(cVar7 == '\0')" (( "(") (binary_expression "cVar7 == '\0'" (identifier "cVar7") (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (goto_statement "goto LAB_0001d810;" (goto "goto") (statement_identifier "LAB_0001d810") (; ";"))) (break_statement "break;" (break "break") (; ";")) (} "}"))) (} "}")) (while "while") (parenthesized_expression "(cVar7 != '\0')" (( "(") (binary_expression "cVar7 != '\0'" (identifier "cVar7") (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (; ";")) (if_statement "if ((((cVar6 != '/') && (pcVar10 = pcVar8 + -1, pcVar8 = pcVar8 + -1, *pcVar10 != '/')) ||\n        (pcVar8[1] != '\0')) &&\n       (iVar3 = (*(code *)PTR_strcmp_000afacc)(pcVar8,PTR_LAB_000af468 + 0x40fc), iVar3 != 0))\n    goto LAB_0001d664;" (if "if") (parenthesized_expression "((((cVar6 != '/') && (pcVar10 = pcVar8 + -1, pcVar8 = pcVar8 + -1, *pcVar10 != '/')) ||\n        (pcVar8[1] != '\0')) &&\n       (iVar3 = (*(code *)PTR_strcmp_000afacc)(pcVar8,PTR_LAB_000af468 + 0x40fc), iVar3 != 0))" (( "(") (binary_expression "(((cVar6 != '/') && (pcVar10 = pcVar8 + -1, pcVar8 = pcVar8 + -1, *pcVar10 != '/')) ||\n        (pcVar8[1] != '\0')) &&\n       (iVar3 = (*(code *)PTR_strcmp_000afacc)(pcVar8,PTR_LAB_000af468 + 0x40fc), iVar3 != 0)" (parenthesized_expression "(((cVar6 != '/') && (pcVar10 = pcVar8 + -1, pcVar8 = pcVar8 + -1, *pcVar10 != '/')) ||\n        (pcVar8[1] != '\0'))" (( "(") (binary_expression "((cVar6 != '/') && (pcVar10 = pcVar8 + -1, pcVar8 = pcVar8 + -1, *pcVar10 != '/')) ||\n        (pcVar8[1] != '\0')" (parenthesized_expression "((cVar6 != '/') && (pcVar10 = pcVar8 + -1, pcVar8 = pcVar8 + -1, *pcVar10 != '/'))" (( "(") (binary_expression "(cVar6 != '/') && (pcVar10 = pcVar8 + -1, pcVar8 = pcVar8 + -1, *pcVar10 != '/')" (parenthesized_expression "(cVar6 != '/')" (( "(") (binary_expression "cVar6 != '/'" (identifier "cVar6") (!= "!=") (char_literal "'/'" (' "'") (character "/") (' "'"))) () ")")) (&& "&&") (parenthesized_expression "(pcVar10 = pcVar8 + -1, pcVar8 = pcVar8 + -1, *pcVar10 != '/')" (( "(") (comma_expression "pcVar10 = pcVar8 + -1, pcVar8 = pcVar8 + -1, *pcVar10 != '/'" (assignment_expression "pcVar10 = pcVar8 + -1" (identifier "pcVar10") (= "=") (binary_expression "pcVar8 + -1" (identifier "pcVar8") (+ "+") (number_literal "-1"))) (, ",") (comma_expression "pcVar8 = pcVar8 + -1, *pcVar10 != '/'" (assignment_expression "pcVar8 = pcVar8 + -1" (identifier "pcVar8") (= "=") (binary_expression "pcVar8 + -1" (identifier "pcVar8") (+ "+") (number_literal "-1"))) (, ",") (binary_expression "*pcVar10 != '/'" (pointer_expression "*pcVar10" (* "*") (identifier "pcVar10")) (!= "!=") (char_literal "'/'" (' "'") (character "/") (' "'"))))) () ")"))) () ")")) (|| "||") (parenthesized_expression "(pcVar8[1] != '\0')" (( "(") (binary_expression "pcVar8[1] != '\0'" (subscript_expression "pcVar8[1]" (identifier "pcVar8") ([ "[") (number_literal "1") (] "]")) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")"))) () ")")) (&& "&&") (parenthesized_expression "(iVar3 = (*(code *)PTR_strcmp_000afacc)(pcVar8,PTR_LAB_000af468 + 0x40fc), iVar3 != 0)" (( "(") (comma_expression "iVar3 = (*(code *)PTR_strcmp_000afacc)(pcVar8,PTR_LAB_000af468 + 0x40fc), iVar3 != 0" (assignment_expression "iVar3 = (*(code *)PTR_strcmp_000afacc)(pcVar8,PTR_LAB_000af468 + 0x40fc)" (identifier "iVar3") (= "=") (call_expression "(*(code *)PTR_strcmp_000afacc)(pcVar8,PTR_LAB_000af468 + 0x40fc)" (parenthesized_expression "(*(code *)PTR_strcmp_000afacc)" (( "(") (pointer_expression "*(code *)PTR_strcmp_000afacc" (* "*") (cast_expression "(code *)PTR_strcmp_000afacc" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strcmp_000afacc"))) () ")")) (argument_list "(pcVar8,PTR_LAB_000af468 + 0x40fc)" (( "(") (identifier "pcVar8") (, ",") (binary_expression "PTR_LAB_000af468 + 0x40fc" (identifier "PTR_LAB_000af468") (+ "+") (number_literal "0x40fc")) () ")")))) (, ",") (binary_expression "iVar3 != 0" (identifier "iVar3") (!= "!=") (number_literal "0"))) () ")"))) () ")")) (goto_statement "goto LAB_0001d664;" (goto "goto") (statement_identifier "LAB_0001d664") (; ";"))) (labeled_statement "LAB_0001d810:\n    iVar3 = hash_table_contains(*(undefined4 *)puVar1,param_1);" (statement_identifier "LAB_0001d810") (: ":") (expression_statement "iVar3 = hash_table_contains(*(undefined4 *)puVar1,param_1);" (assignment_expression "iVar3 = hash_table_contains(*(undefined4 *)puVar1,param_1)" (identifier "iVar3") (= "=") (call_expression "hash_table_contains(*(undefined4 *)puVar1,param_1)" (identifier "hash_table_contains") (argument_list "(*(undefined4 *)puVar1,param_1)" (( "(") (pointer_expression "*(undefined4 *)puVar1" (* "*") (cast_expression "(undefined4 *)puVar1" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar1"))) (, ",") (identifier "param_1") () ")")))) (; ";"))) (if_statement "if (iVar3 != 0) goto LAB_0001d664;" (if "if") (parenthesized_expression "(iVar3 != 0)" (( "(") (binary_expression "iVar3 != 0" (identifier "iVar3") (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_0001d664;" (goto "goto") (statement_identifier "LAB_0001d664") (; ";"))) (} "}")))) (expression_statement "iVar3 = hash_table_get_pair(*(undefined4 *)puVar1,param_1,&local_30,&local_34);" (assignment_expression "iVar3 = hash_table_get_pair(*(undefined4 *)puVar1,param_1,&local_30,&local_34)" (identifier "iVar3") (= "=") (call_expression "hash_table_get_pair(*(undefined4 *)puVar1,param_1,&local_30,&local_34)" (identifier "hash_table_get_pair") (argument_list "(*(undefined4 *)puVar1,param_1,&local_30,&local_34)" (( "(") (pointer_expression "*(undefined4 *)puVar1" (* "*") (cast_expression "(undefined4 *)puVar1" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar1"))) (, ",") (identifier "param_1") (, ",") (pointer_expression "&local_30" (& "&") (identifier "local_30")) (, ",") (pointer_expression "&local_34" (& "&") (identifier "local_34")) () ")")))) (; ";")) (if_statement "if (iVar3 != 0) {\n    hash_table_remove(*(undefined4 *)puVar1,param_1);\n    (*(code *)PTR_free_000afd08)(local_30);\n    local_30 = (char *)0x0;\n    (*(code *)PTR_free_000afd08)(local_34);\n    local_34 = 0;\n  }" (if "if") (parenthesized_expression "(iVar3 != 0)" (( "(") (binary_expression "iVar3 != 0" (identifier "iVar3") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    hash_table_remove(*(undefined4 *)puVar1,param_1);\n    (*(code *)PTR_free_000afd08)(local_30);\n    local_30 = (char *)0x0;\n    (*(code *)PTR_free_000afd08)(local_34);\n    local_34 = 0;\n  }" ({ "{") (expression_statement "hash_table_remove(*(undefined4 *)puVar1,param_1);" (call_expression "hash_table_remove(*(undefined4 *)puVar1,param_1)" (identifier "hash_table_remove") (argument_list "(*(undefined4 *)puVar1,param_1)" (( "(") (pointer_expression "*(undefined4 *)puVar1" (* "*") (cast_expression "(undefined4 *)puVar1" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar1"))) (, ",") (identifier "param_1") () ")"))) (; ";")) (expression_statement "(*(code *)PTR_free_000afd08)(local_30);" (call_expression "(*(code *)PTR_free_000afd08)(local_30)" (parenthesized_expression "(*(code *)PTR_free_000afd08)" (( "(") (pointer_expression "*(code *)PTR_free_000afd08" (* "*") (cast_expression "(code *)PTR_free_000afd08" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_free_000afd08"))) () ")")) (argument_list "(local_30)" (( "(") (identifier "local_30") () ")"))) (; ";")) (expression_statement "local_30 = (char *)0x0;" (assignment_expression "local_30 = (char *)0x0" (identifier "local_30") (= "=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (expression_statement "(*(code *)PTR_free_000afd08)(local_34);" (call_expression "(*(code *)PTR_free_000afd08)(local_34)" (parenthesized_expression "(*(code *)PTR_free_000afd08)" (( "(") (pointer_expression "*(code *)PTR_free_000afd08" (* "*") (cast_expression "(code *)PTR_free_000afd08" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_free_000afd08"))) () ")")) (argument_list "(local_34)" (( "(") (identifier "local_34") () ")"))) (; ";")) (expression_statement "local_34 = 0;" (assignment_expression "local_34 = 0" (identifier "local_34") (= "=") (number_literal "0")) (; ";")) (} "}"))) (expression_statement "pcVar8 = *(char **)puVar1;" (assignment_expression "pcVar8 = *(char **)puVar1" (identifier "pcVar8") (= "=") (pointer_expression "*(char **)puVar1" (* "*") (cast_expression "(char **)puVar1" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "puVar1")))) (; ";")) (expression_statement "uVar4 = (*(code *)PTR_xstrdup_000af48c)(param_1);" (assignment_expression "uVar4 = (*(code *)PTR_xstrdup_000af48c)(param_1)" (identifier "uVar4") (= "=") (call_expression "(*(code *)PTR_xstrdup_000af48c)(param_1)" (parenthesized_expression "(*(code *)PTR_xstrdup_000af48c)" (( "(") (pointer_expression "*(code *)PTR_xstrdup_000af48c" (* "*") (cast_expression "(code *)PTR_xstrdup_000af48c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_xstrdup_000af48c"))) () ")")) (argument_list "(param_1)" (( "(") (identifier "param_1") () ")")))) (; ";")) (expression_statement "uVar5 = (*(code *)PTR_xstrdup_000af48c)(param_2);" (assignment_expression "uVar5 = (*(code *)PTR_xstrdup_000af48c)(param_2)" (identifier "uVar5") (= "=") (call_expression "(*(code *)PTR_xstrdup_000af48c)(param_2)" (parenthesized_expression "(*(code *)PTR_xstrdup_000af48c)" (( "(") (pointer_expression "*(code *)PTR_xstrdup_000af48c" (* "*") (cast_expression "(code *)PTR_xstrdup_000af48c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_xstrdup_000af48c"))) () ")")) (argument_list "(param_2)" (( "(") (identifier "param_2") () ")")))) (; ";")) (expression_statement "hash_table_put(pcVar8,uVar4,uVar5);" (call_expression "hash_table_put(pcVar8,uVar4,uVar5)" (identifier "hash_table_put") (argument_list "(pcVar8,uVar4,uVar5)" (( "(") (identifier "pcVar8") (, ",") (identifier "uVar4") (, ",") (identifier "uVar5") () ")"))) (; ";")) (labeled_statement "LAB_0001d758:\n  if (local_2c == *(int *)puVar2) {\n    return;\n  }" (statement_identifier "LAB_0001d758") (: ":") (if_statement "if (local_2c == *(int *)puVar2) {\n    return;\n  }" (if "if") (parenthesized_expression "(local_2c == *(int *)puVar2)" (( "(") (binary_expression "local_2c == *(int *)puVar2" (identifier "local_2c") (== "==") (pointer_expression "*(int *)puVar2" (* "*") (cast_expression "(int *)puVar2" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar2")))) () ")")) (compound_statement "{\n    return;\n  }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}")))) (expression_statement "puVar12 = PTR___stack_chk_fail_000afbd4;" (assignment_expression "puVar12 = PTR___stack_chk_fail_000afbd4" (identifier "puVar12") (= "=") (identifier "PTR___stack_chk_fail_000afbd4")) (; ";")) (expression_statement "(*(code *)PTR___stack_chk_fail_000afbd4)();" (call_expression "(*(code *)PTR___stack_chk_fail_000afbd4)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_000afbd4)" (( "(") (pointer_expression "*(code *)PTR___stack_chk_fail_000afbd4" (* "*") (cast_expression "(code *)PTR___stack_chk_fail_000afbd4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_fail_000afbd4"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "iVar3 = *(int *)(puVar12 + 0x91be4);" (assignment_expression "iVar3 = *(int *)(puVar12 + 0x91be4)" (identifier "iVar3") (= "=") (pointer_expression "*(int *)(puVar12 + 0x91be4)" (* "*") (cast_expression "(int *)(puVar12 + 0x91be4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar12 + 0x91be4)" (( "(") (binary_expression "puVar12 + 0x91be4" (identifier "puVar12") (+ "+") (number_literal "0x91be4")) () ")"))))) (; ";")) (if_statement "if (*(int *)(iVar3 + -0xa4) == 0) {\n    uVar4 = make_string_hash_table(0);\n    *(undefined4 *)(iVar3 + -0xa4) = uVar4;\n  }" (if "if") (parenthesized_expression "(*(int *)(iVar3 + -0xa4) == 0)" (( "(") (binary_expression "*(int *)(iVar3 + -0xa4) == 0" (pointer_expression "*(int *)(iVar3 + -0xa4)" (* "*") (cast_expression "(int *)(iVar3 + -0xa4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + -0xa4)" (( "(") (binary_expression "iVar3 + -0xa4" (identifier "iVar3") (+ "+") (number_literal "-0xa4")) () ")")))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    uVar4 = make_string_hash_table(0);\n    *(undefined4 *)(iVar3 + -0xa4) = uVar4;\n  }" ({ "{") (expression_statement "uVar4 = make_string_hash_table(0);" (assignment_expression "uVar4 = make_string_hash_table(0)" (identifier "uVar4") (= "=") (call_expression "make_string_hash_table(0)" (identifier "make_string_hash_table") (argument_list "(0)" (( "(") (number_literal "0") () ")")))) (; ";")) (expression_statement "*(undefined4 *)(iVar3 + -0xa4) = uVar4;" (assignment_expression "*(undefined4 *)(iVar3 + -0xa4) = uVar4" (pointer_expression "*(undefined4 *)(iVar3 + -0xa4)" (* "*") (cast_expression "(undefined4 *)(iVar3 + -0xa4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + -0xa4)" (( "(") (binary_expression "iVar3 + -0xa4" (identifier "iVar3") (+ "+") (number_literal "-0xa4")) () ")")))) (= "=") (identifier "uVar4")) (; ";")) (} "}"))) (expression_statement "piVar9 = *(int **)(puVar12 + 0x91da4);" (assignment_expression "piVar9 = *(int **)(puVar12 + 0x91da4)" (identifier "piVar9") (= "=") (pointer_expression "*(int **)(puVar12 + 0x91da4)" (* "*") (cast_expression "(int **)(puVar12 + 0x91da4)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar12 + 0x91da4)" (( "(") (binary_expression "puVar12 + 0x91da4" (identifier "puVar12") (+ "+") (number_literal "0x91da4")) () ")"))))) (; ";")) (expression_statement "iVar3 = *piVar9;" (assignment_expression "iVar3 = *piVar9" (identifier "iVar3") (= "=") (pointer_expression "*piVar9" (* "*") (identifier "piVar9"))) (; ";")) (if_statement "if (iVar3 == 0) {\n    iVar3 = make_string_hash_table();\n    *piVar9 = iVar3;\n  }" (if "if") (parenthesized_expression "(iVar3 == 0)" (( "(") (binary_expression "iVar3 == 0" (identifier "iVar3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    iVar3 = make_string_hash_table();\n    *piVar9 = iVar3;\n  }" ({ "{") (expression_statement "iVar3 = make_string_hash_table();" (assignment_expression "iVar3 = make_string_hash_table()" (identifier "iVar3") (= "=") (call_expression "make_string_hash_table()" (identifier "make_string_hash_table") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "*piVar9 = iVar3;" (assignment_expression "*piVar9 = iVar3" (pointer_expression "*piVar9" (* "*") (identifier "piVar9")) (= "=") (identifier "iVar3")) (; ";")) (} "}"))) (expression_statement "uVar4 = hash_table_get(iVar3);" (assignment_expression "uVar4 = hash_table_get(iVar3)" (identifier "uVar4") (= "=") (call_expression "hash_table_get(iVar3)" (identifier "hash_table_get") (argument_list "(iVar3)" (( "(") (identifier "iVar3") () ")")))) (; ";")) (expression_statement "iVar3 = hash_table_contains(*piVar9,pcVar8);" (assignment_expression "iVar3 = hash_table_contains(*piVar9,pcVar8)" (identifier "iVar3") (= "=") (call_expression "hash_table_contains(*piVar9,pcVar8)" (identifier "hash_table_contains") (argument_list "(*piVar9,pcVar8)" (( "(") (pointer_expression "*piVar9" (* "*") (identifier "piVar9")) (, ",") (identifier "pcVar8") () ")")))) (; ";")) (if_statement "if (iVar3 == 0) {\n    iVar3 = *piVar9;\n    uVar5 = (**(code **)(puVar12 + 0x91c18))(pcVar8);\n    uVar4 = (**(code **)(puVar12 + 0x91c18))(uVar4);\n    hash_table_put(iVar3,uVar5,uVar4);\n    return;\n  }" (if "if") (parenthesized_expression "(iVar3 == 0)" (( "(") (binary_expression "iVar3 == 0" (identifier "iVar3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    iVar3 = *piVar9;\n    uVar5 = (**(code **)(puVar12 + 0x91c18))(pcVar8);\n    uVar4 = (**(code **)(puVar12 + 0x91c18))(uVar4);\n    hash_table_put(iVar3,uVar5,uVar4);\n    return;\n  }" ({ "{") (expression_statement "iVar3 = *piVar9;" (assignment_expression "iVar3 = *piVar9" (identifier "iVar3") (= "=") (pointer_expression "*piVar9" (* "*") (identifier "piVar9"))) (; ";")) (expression_statement "uVar5 = (**(code **)(puVar12 + 0x91c18))(pcVar8);" (assignment_expression "uVar5 = (**(code **)(puVar12 + 0x91c18))(pcVar8)" (identifier "uVar5") (= "=") (call_expression "(**(code **)(puVar12 + 0x91c18))(pcVar8)" (parenthesized_expression "(**(code **)(puVar12 + 0x91c18))" (( "(") (pointer_expression "**(code **)(puVar12 + 0x91c18)" (* "*") (pointer_expression "*(code **)(puVar12 + 0x91c18)" (* "*") (cast_expression "(code **)(puVar12 + 0x91c18)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar12 + 0x91c18)" (( "(") (binary_expression "puVar12 + 0x91c18" (identifier "puVar12") (+ "+") (number_literal "0x91c18")) () ")"))))) () ")")) (argument_list "(pcVar8)" (( "(") (identifier "pcVar8") () ")")))) (; ";")) (expression_statement "uVar4 = (**(code **)(puVar12 + 0x91c18))(uVar4);" (assignment_expression "uVar4 = (**(code **)(puVar12 + 0x91c18))(uVar4)" (identifier "uVar4") (= "=") (call_expression "(**(code **)(puVar12 + 0x91c18))(uVar4)" (parenthesized_expression "(**(code **)(puVar12 + 0x91c18))" (( "(") (pointer_expression "**(code **)(puVar12 + 0x91c18)" (* "*") (pointer_expression "*(code **)(puVar12 + 0x91c18)" (* "*") (cast_expression "(code **)(puVar12 + 0x91c18)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar12 + 0x91c18)" (( "(") (binary_expression "puVar12 + 0x91c18" (identifier "puVar12") (+ "+") (number_literal "0x91c18")) () ")"))))) () ")")) (argument_list "(uVar4)" (( "(") (identifier "uVar4") () ")")))) (; ";")) (expression_statement "hash_table_put(iVar3,uVar5,uVar4);" (call_expression "hash_table_put(iVar3,uVar5,uVar4)" (identifier "hash_table_put") (argument_list "(iVar3,uVar5,uVar4)" (( "(") (identifier "iVar3") (, ",") (identifier "uVar5") (, ",") (identifier "uVar4") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (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: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (number_literal))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier))) right: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (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))))) (identifier) (pointer_expression argument: (identifier)) (pointer_expression argument: (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (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)))))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (identifier))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (escape_sequence)))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier))) right: (comma_expression left: (assignment_expression left: (identifier) right: (identifier)) right: (binary_expression left: (identifier) right: (char_literal (escape_sequence)))))))) consequence: (compound_statement (labeled_statement label: (statement_identifier) (expression_statement (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) (identifier))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier))) (binary_expression left: (identifier) right: (number_literal)) (identifier)))) (goto_statement label: (statement_identifier)))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (escape_sequence)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (escape_sequence)))) consequence: (goto_statement label: (statement_identifier))) (break_statement)))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (escape_sequence))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (character)))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))) right: (comma_expression left: (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))) right: (binary_expression left: (pointer_expression argument: (identifier)) right: (char_literal (character)))))))) right: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (char_literal (escape_sequence)))))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (binary_expression left: (identifier) right: (number_literal))))) right: (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: (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier))) (identifier)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier))) (identifier) (pointer_expression argument: (identifier)) (pointer_expression argument: (identifier)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier))) (identifier)))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (identifier)))) (labeled_statement label: (statement_identifier) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))))) consequence: (compound_statement (return_statement)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (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: (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: (identifier) arguments: (argument_list (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: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (identifier)) (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (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: (identifier) right: (number_literal))))))) arguments: (argument_list (identifier))))) (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: (identifier) right: (number_literal))))))) arguments: (argument_list (identifier))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (identifier)))) (return_statement))) (return_statement))))

void MASKED(char *param_1,undefined4 param_2)

{
  undefined *puVar1;
  undefined *puVar2;
  int iVar3;
  char cVar6;
  undefined4 uVar4;
  undefined4 uVar5;
  char cVar7;
  char *pcVar8;
  int *piVar9;
  char *pcVar10;
  undefined4 uVar11;
  undefined *puVar12;
  undefined4 local_34;
  char *local_30;
  int local_2c;
  
  puVar2 = PTR___stack_chk_guard_000afc3c;
  puVar12 = PTR_DAT_000af458;
  local_2c = *(int *)PTR___stack_chk_guard_000afc3c;
  if (*(int *)(PTR_DAT_000af458 + -0xa4) == 0) {
    uVar4 = make_string_hash_table(0);
    *(undefined4 *)(puVar12 + -0xa4) = uVar4;
  }
  puVar1 = PTR_dl_url_file_map_000af618;
  if (*(int *)PTR_dl_url_file_map_000af618 == 0) {
    uVar4 = make_string_hash_table(0);
    *(undefined4 *)puVar1 = uVar4;
  }
  iVar3 = hash_table_get_pair(*(undefined4 *)(puVar12 + -0xa4),param_2,&local_34,&local_30);
  pcVar10 = local_30;
  if (iVar3 == 0) {
LAB_0001d6b8:
    uVar11 = *(undefined4 *)(puVar12 + -0xa4);
    uVar4 = (*(code *)PTR_xstrdup_000af48c)(param_2);
    uVar5 = (*(code *)PTR_xstrdup_000af48c)(param_1);
    hash_table_put(uVar11,uVar4,uVar5);
  }
  else {
    pcVar8 = param_1;
    iVar3 = (*(code *)PTR_strcmp_000afacc)(param_1);
    if (iVar3 == 0) goto LAB_0001d758;
    cVar6 = *param_1;
    if ((cVar6 == '\0') || (cVar7 = *pcVar10, pcVar8 = param_1, cVar7 == '\0')) {
LAB_0001d664:
      hash_table_remove(*(undefined4 *)(puVar12 + -0xa4),param_2);
      (*(code *)PTR_free_000afd08)(local_34);
      local_34 = 0;
      (*(code *)PTR_free_000afd08)(local_30);
      local_30 = (char *)0x0;
      hash_table_for_each(*(undefined4 *)puVar1,PTR_LAB_000af464 + -0x2b38,param_2);
      goto LAB_0001d6b8;
    }
    do {
      pcVar8 = pcVar8 + 1;
      if (cVar6 != cVar7) goto LAB_0001d664;
      cVar6 = *pcVar8;
      pcVar10 = pcVar10 + 1;
      cVar7 = *pcVar10;
      if (cVar6 == '\0') {
        pcVar8 = pcVar10;
        cVar6 = cVar7;
        if (cVar7 == '\0') goto LAB_0001d810;
        break;
      }
    } while (cVar7 != '\0');
    if ((((cVar6 != '/') && (pcVar10 = pcVar8 + -1, pcVar8 = pcVar8 + -1, *pcVar10 != '/')) ||
        (pcVar8[1] != '\0')) &&
       (iVar3 = (*(code *)PTR_strcmp_000afacc)(pcVar8,PTR_LAB_000af468 + 0x40fc), iVar3 != 0))
    goto LAB_0001d664;
LAB_0001d810:
    iVar3 = hash_table_contains(*(undefined4 *)puVar1,param_1);
    if (iVar3 != 0) goto LAB_0001d664;
  }
  iVar3 = hash_table_get_pair(*(undefined4 *)puVar1,param_1,&local_30,&local_34);
  if (iVar3 != 0) {
    hash_table_remove(*(undefined4 *)puVar1,param_1);
    (*(code *)PTR_free_000afd08)(local_30);
    local_30 = (char *)0x0;
    (*(code *)PTR_free_000afd08)(local_34);
    local_34 = 0;
  }
  pcVar8 = *(char **)puVar1;
  uVar4 = (*(code *)PTR_xstrdup_000af48c)(param_1);
  uVar5 = (*(code *)PTR_xstrdup_000af48c)(param_2);
  hash_table_put(pcVar8,uVar4,uVar5);
LAB_0001d758:
  if (local_2c == *(int *)puVar2) {
    return;
  }
  puVar12 = PTR___stack_chk_fail_000afbd4;
  (*(code *)PTR___stack_chk_fail_000afbd4)();
  iVar3 = *(int *)(puVar12 + 0x91be4);
  if (*(int *)(iVar3 + -0xa4) == 0) {
    uVar4 = make_string_hash_table(0);
    *(undefined4 *)(iVar3 + -0xa4) = uVar4;
  }
  piVar9 = *(int **)(puVar12 + 0x91da4);
  iVar3 = *piVar9;
  if (iVar3 == 0) {
    iVar3 = make_string_hash_table();
    *piVar9 = iVar3;
  }
  uVar4 = hash_table_get(iVar3);
  iVar3 = hash_table_contains(*piVar9,pcVar8);
  if (iVar3 == 0) {
    iVar3 = *piVar9;
    uVar5 = (**(code **)(puVar12 + 0x91c18))(pcVar8);
    uVar4 = (**(code **)(puVar12 + 0x91c18))(uVar4);
    hash_table_put(iVar3,uVar5,uVar4);
    return;
  }
  return;
}

