
/* WARNING: Unknown calling convention */

void * zlib_compress_init(void)

{
  undefined8 *puVar1;
  undefined2 *puVar2;
  void *pvVar3;
  undefined2 *puVar4;
  
  puVar1 = (undefined8 *)safemalloc(1,0x20);
  puVar2 = (undefined2 *)safemalloc(1,0x38ffc);
  if (puVar2 != (undefined2 *)0x0) {
    *puVar1 = puVar2;
    puVar4 = puVar2;
    do {
      puVar4[2] = 0xffff;
      puVar4[1] = 0xffff;
      *puVar4 = 0xffff;
      puVar4 = puVar4 + 3;
    } while (puVar4 != puVar2 + 0x18000);
    puVar4 = puVar2 + 0x1c002;
    do {
      *puVar4 = 0xffff;
      puVar4 = puVar4 + 1;
    } while (puVar4 != puVar2 + 0x1c7f9);
    *(undefined4 *)(puVar2 + 0x1c000) = 0;
    *(undefined4 *)(puVar2 + 0x1c7fc) = 0;
  }
  puVar1[2] = zlib_literal;
  puVar1[3] = zlib_match;
  pvVar3 = safemalloc(1,0x28);
  *(undefined4 *)((long)pvVar3 + 0x18) = 0;
  *(undefined8 *)((long)pvVar3 + 0x10) = 0;
  *(undefined4 *)((long)pvVar3 + 0x1c) = 1;
  *(undefined4 *)((long)pvVar3 + 0x20) = 0;
  puVar1[1] = pvVar3;
  return puVar1;
}



undefined8 * FUN_00150f3c(void)

{
  undefined8 *puVar1;
  undefined2 *puVar2;
  long lVar3;
  undefined2 *puVar4;
  
  puVar1 = (undefined8 *)FUN_0010e223(1,0x20);
  puVar2 = (undefined2 *)FUN_0010e223(1,0x38ffc);
  if (puVar2 != (undefined2 *)0x0) {
    *puVar1 = puVar2;
    puVar4 = puVar2;
    do {
      puVar4[2] = 0xffff;
      puVar4[1] = 0xffff;
      *puVar4 = 0xffff;
      puVar4 = puVar4 + 3;
    } while (puVar4 != puVar2 + 0x18000);
    puVar4 = puVar2 + 0x1c002;
    do {
      *puVar4 = 0xffff;
      puVar4 = puVar4 + 1;
    } while (puVar4 != puVar2 + 0x1c7f9);
    *(undefined4 *)(puVar2 + 0x1c000) = 0;
    *(undefined4 *)(puVar2 + 0x1c7fc) = 0;
  }
  puVar1[2] = FUN_001515d8;
  puVar1[3] = FUN_001513b3;
  lVar3 = FUN_0010e223(1,0x28);
  *(undefined4 *)(lVar3 + 0x18) = 0;
  *(undefined8 *)(lVar3 + 0x10) = 0;
  *(undefined4 *)(lVar3 + 0x1c) = 1;
  *(undefined4 *)(lVar3 + 0x20) = 0;
  puVar1[1] = lVar3;
  return puVar1;
}


PUSH RBX
MOV ESI,0x20
MOV EDI,0x1
CALL 0x0010e223
MOV RBX,RAX
MOV ESI,0x38ffc
MOV EDI,0x1
CALL 0x0010e223
TEST RAX,RAX
JZ 0x00150fba
MOV qword ptr [RBX],RAX
LEA RCX,[RAX + 0x30000]
MOV RDX,RAX
MOV word ptr [RDX + 0x4],0xffff
MOV word ptr [RDX + 0x2],0xffff
MOV word ptr [RDX],0xffff
ADD RDX,0x6
CMP RDX,RCX
JNZ 0x00150f70
LEA RDX,[RAX + 0x38004]
LEA RCX,[RAX + 0x38ff2]
MOV word ptr [RDX],0xffff
ADD RDX,0x2
CMP RDX,RCX
JNZ 0x00150f98
MOV dword ptr [RAX + 0x38000],0x0
MOV dword ptr [RAX + 0x38ff8],0x0
LEA RAX,[0x1515d8]
MOV qword ptr [RBX + 0x10],RAX
LEA RAX,[0x1513b3]
MOV qword ptr [RBX + 0x18],RAX
MOV ESI,0x28
MOV EDI,0x1
CALL 0x0010e223
MOV dword ptr [RAX + 0x18],0x0
MOV qword ptr [RAX + 0x10],0x0
MOV dword ptr [RAX + 0x1c],0x1
MOV dword ptr [RAX + 0x20],0x0
MOV qword ptr [RBX + 0x8],RAX
MOV RAX,RBX
POP RBX
RET
(translation_unit "undefined8 * FUN_00150f3c(void)\n\n{\n  undefined8 *puVar1;\n  undefined2 *puVar2;\n  long lVar3;\n  undefined2 *puVar4;\n  \n  puVar1 = (undefined8 *)FUN_0010e223(1,0x20);\n  puVar2 = (undefined2 *)FUN_0010e223(1,0x38ffc);\n  if (puVar2 != (undefined2 *)0x0) {\n    *puVar1 = puVar2;\n    puVar4 = puVar2;\n    do {\n      puVar4[2] = 0xffff;\n      puVar4[1] = 0xffff;\n      *puVar4 = 0xffff;\n      puVar4 = puVar4 + 3;\n    } while (puVar4 != puVar2 + 0x18000);\n    puVar4 = puVar2 + 0x1c002;\n    do {\n      *puVar4 = 0xffff;\n      puVar4 = puVar4 + 1;\n    } while (puVar4 != puVar2 + 0x1c7f9);\n    *(undefined4 *)(puVar2 + 0x1c000) = 0;\n    *(undefined4 *)(puVar2 + 0x1c7fc) = 0;\n  }\n  puVar1[2] = FUN_001515d8;\n  puVar1[3] = FUN_001513b3;\n  lVar3 = FUN_0010e223(1,0x28);\n  *(undefined4 *)(lVar3 + 0x18) = 0;\n  *(undefined8 *)(lVar3 + 0x10) = 0;\n  *(undefined4 *)(lVar3 + 0x1c) = 1;\n  *(undefined4 *)(lVar3 + 0x20) = 0;\n  puVar1[1] = lVar3;\n  return puVar1;\n}\n\n" (function_definition "undefined8 * FUN_00150f3c(void)\n\n{\n  undefined8 *puVar1;\n  undefined2 *puVar2;\n  long lVar3;\n  undefined2 *puVar4;\n  \n  puVar1 = (undefined8 *)FUN_0010e223(1,0x20);\n  puVar2 = (undefined2 *)FUN_0010e223(1,0x38ffc);\n  if (puVar2 != (undefined2 *)0x0) {\n    *puVar1 = puVar2;\n    puVar4 = puVar2;\n    do {\n      puVar4[2] = 0xffff;\n      puVar4[1] = 0xffff;\n      *puVar4 = 0xffff;\n      puVar4 = puVar4 + 3;\n    } while (puVar4 != puVar2 + 0x18000);\n    puVar4 = puVar2 + 0x1c002;\n    do {\n      *puVar4 = 0xffff;\n      puVar4 = puVar4 + 1;\n    } while (puVar4 != puVar2 + 0x1c7f9);\n    *(undefined4 *)(puVar2 + 0x1c000) = 0;\n    *(undefined4 *)(puVar2 + 0x1c7fc) = 0;\n  }\n  puVar1[2] = FUN_001515d8;\n  puVar1[3] = FUN_001513b3;\n  lVar3 = FUN_0010e223(1,0x28);\n  *(undefined4 *)(lVar3 + 0x18) = 0;\n  *(undefined8 *)(lVar3 + 0x10) = 0;\n  *(undefined4 *)(lVar3 + 0x1c) = 1;\n  *(undefined4 *)(lVar3 + 0x20) = 0;\n  puVar1[1] = lVar3;\n  return puVar1;\n}" type_identifier (pointer_declarator "* FUN_00150f3c(void)" * (function_declarator "FUN_00150f3c(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) )))) (compound_statement "{\n  undefined8 *puVar1;\n  undefined2 *puVar2;\n  long lVar3;\n  undefined2 *puVar4;\n  \n  puVar1 = (undefined8 *)FUN_0010e223(1,0x20);\n  puVar2 = (undefined2 *)FUN_0010e223(1,0x38ffc);\n  if (puVar2 != (undefined2 *)0x0) {\n    *puVar1 = puVar2;\n    puVar4 = puVar2;\n    do {\n      puVar4[2] = 0xffff;\n      puVar4[1] = 0xffff;\n      *puVar4 = 0xffff;\n      puVar4 = puVar4 + 3;\n    } while (puVar4 != puVar2 + 0x18000);\n    puVar4 = puVar2 + 0x1c002;\n    do {\n      *puVar4 = 0xffff;\n      puVar4 = puVar4 + 1;\n    } while (puVar4 != puVar2 + 0x1c7f9);\n    *(undefined4 *)(puVar2 + 0x1c000) = 0;\n    *(undefined4 *)(puVar2 + 0x1c7fc) = 0;\n  }\n  puVar1[2] = FUN_001515d8;\n  puVar1[3] = FUN_001513b3;\n  lVar3 = FUN_0010e223(1,0x28);\n  *(undefined4 *)(lVar3 + 0x18) = 0;\n  *(undefined8 *)(lVar3 + 0x10) = 0;\n  *(undefined4 *)(lVar3 + 0x1c) = 1;\n  *(undefined4 *)(lVar3 + 0x20) = 0;\n  puVar1[1] = lVar3;\n  return puVar1;\n}" { (declaration "undefined8 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined2 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "long lVar3;" (sized_type_specifier "long" long) identifier ;) (declaration "undefined2 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (expression_statement "puVar1 = (undefined8 *)FUN_0010e223(1,0x20);" (assignment_expression "puVar1 = (undefined8 *)FUN_0010e223(1,0x20)" identifier = (cast_expression "(undefined8 *)FUN_0010e223(1,0x20)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0010e223(1,0x20)" identifier (argument_list "(1,0x20)" ( number_literal , number_literal ))))) ;) (expression_statement "puVar2 = (undefined2 *)FUN_0010e223(1,0x38ffc);" (assignment_expression "puVar2 = (undefined2 *)FUN_0010e223(1,0x38ffc)" identifier = (cast_expression "(undefined2 *)FUN_0010e223(1,0x38ffc)" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0010e223(1,0x38ffc)" identifier (argument_list "(1,0x38ffc)" ( number_literal , number_literal ))))) ;) (if_statement "if (puVar2 != (undefined2 *)0x0) {\n    *puVar1 = puVar2;\n    puVar4 = puVar2;\n    do {\n      puVar4[2] = 0xffff;\n      puVar4[1] = 0xffff;\n      *puVar4 = 0xffff;\n      puVar4 = puVar4 + 3;\n    } while (puVar4 != puVar2 + 0x18000);\n    puVar4 = puVar2 + 0x1c002;\n    do {\n      *puVar4 = 0xffff;\n      puVar4 = puVar4 + 1;\n    } while (puVar4 != puVar2 + 0x1c7f9);\n    *(undefined4 *)(puVar2 + 0x1c000) = 0;\n    *(undefined4 *)(puVar2 + 0x1c7fc) = 0;\n  }" if (parenthesized_expression "(puVar2 != (undefined2 *)0x0)" ( (binary_expression "puVar2 != (undefined2 *)0x0" identifier != (cast_expression "(undefined2 *)0x0" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    *puVar1 = puVar2;\n    puVar4 = puVar2;\n    do {\n      puVar4[2] = 0xffff;\n      puVar4[1] = 0xffff;\n      *puVar4 = 0xffff;\n      puVar4 = puVar4 + 3;\n    } while (puVar4 != puVar2 + 0x18000);\n    puVar4 = puVar2 + 0x1c002;\n    do {\n      *puVar4 = 0xffff;\n      puVar4 = puVar4 + 1;\n    } while (puVar4 != puVar2 + 0x1c7f9);\n    *(undefined4 *)(puVar2 + 0x1c000) = 0;\n    *(undefined4 *)(puVar2 + 0x1c7fc) = 0;\n  }" { (expression_statement "*puVar1 = puVar2;" (assignment_expression "*puVar1 = puVar2" (pointer_expression "*puVar1" * identifier) = identifier) ;) (expression_statement "puVar4 = puVar2;" (assignment_expression "puVar4 = puVar2" identifier = identifier) ;) (do_statement "do {\n      puVar4[2] = 0xffff;\n      puVar4[1] = 0xffff;\n      *puVar4 = 0xffff;\n      puVar4 = puVar4 + 3;\n    } while (puVar4 != puVar2 + 0x18000);" do (compound_statement "{\n      puVar4[2] = 0xffff;\n      puVar4[1] = 0xffff;\n      *puVar4 = 0xffff;\n      puVar4 = puVar4 + 3;\n    }" { (expression_statement "puVar4[2] = 0xffff;" (assignment_expression "puVar4[2] = 0xffff" (subscript_expression "puVar4[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar4[1] = 0xffff;" (assignment_expression "puVar4[1] = 0xffff" (subscript_expression "puVar4[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*puVar4 = 0xffff;" (assignment_expression "*puVar4 = 0xffff" (pointer_expression "*puVar4" * identifier) = number_literal) ;) (expression_statement "puVar4 = puVar4 + 3;" (assignment_expression "puVar4 = puVar4 + 3" identifier = (binary_expression "puVar4 + 3" identifier + number_literal)) ;) }) while (parenthesized_expression "(puVar4 != puVar2 + 0x18000)" ( (binary_expression "puVar4 != puVar2 + 0x18000" identifier != (binary_expression "puVar2 + 0x18000" identifier + number_literal)) )) ;) (expression_statement "puVar4 = puVar2 + 0x1c002;" (assignment_expression "puVar4 = puVar2 + 0x1c002" identifier = (binary_expression "puVar2 + 0x1c002" identifier + number_literal)) ;) (do_statement "do {\n      *puVar4 = 0xffff;\n      puVar4 = puVar4 + 1;\n    } while (puVar4 != puVar2 + 0x1c7f9);" do (compound_statement "{\n      *puVar4 = 0xffff;\n      puVar4 = puVar4 + 1;\n    }" { (expression_statement "*puVar4 = 0xffff;" (assignment_expression "*puVar4 = 0xffff" (pointer_expression "*puVar4" * identifier) = number_literal) ;) (expression_statement "puVar4 = puVar4 + 1;" (assignment_expression "puVar4 = puVar4 + 1" identifier = (binary_expression "puVar4 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(puVar4 != puVar2 + 0x1c7f9)" ( (binary_expression "puVar4 != puVar2 + 0x1c7f9" identifier != (binary_expression "puVar2 + 0x1c7f9" identifier + number_literal)) )) ;) (expression_statement "*(undefined4 *)(puVar2 + 0x1c000) = 0;" (assignment_expression "*(undefined4 *)(puVar2 + 0x1c000) = 0" (pointer_expression "*(undefined4 *)(puVar2 + 0x1c000)" * (cast_expression "(undefined4 *)(puVar2 + 0x1c000)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + 0x1c000)" ( (binary_expression "puVar2 + 0x1c000" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(puVar2 + 0x1c7fc) = 0;" (assignment_expression "*(undefined4 *)(puVar2 + 0x1c7fc) = 0" (pointer_expression "*(undefined4 *)(puVar2 + 0x1c7fc)" * (cast_expression "(undefined4 *)(puVar2 + 0x1c7fc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + 0x1c7fc)" ( (binary_expression "puVar2 + 0x1c7fc" identifier + number_literal) )))) = number_literal) ;) })) (expression_statement "puVar1[2] = FUN_001515d8;" (assignment_expression "puVar1[2] = FUN_001515d8" (subscript_expression "puVar1[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar1[3] = FUN_001513b3;" (assignment_expression "puVar1[3] = FUN_001513b3" (subscript_expression "puVar1[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "lVar3 = FUN_0010e223(1,0x28);" (assignment_expression "lVar3 = FUN_0010e223(1,0x28)" identifier = (call_expression "FUN_0010e223(1,0x28)" identifier (argument_list "(1,0x28)" ( number_literal , number_literal )))) ;) (expression_statement "*(undefined4 *)(lVar3 + 0x18) = 0;" (assignment_expression "*(undefined4 *)(lVar3 + 0x18) = 0" (pointer_expression "*(undefined4 *)(lVar3 + 0x18)" * (cast_expression "(undefined4 *)(lVar3 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar3 + 0x18)" ( (binary_expression "lVar3 + 0x18" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined8 *)(lVar3 + 0x10) = 0;" (assignment_expression "*(undefined8 *)(lVar3 + 0x10) = 0" (pointer_expression "*(undefined8 *)(lVar3 + 0x10)" * (cast_expression "(undefined8 *)(lVar3 + 0x10)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar3 + 0x10)" ( (binary_expression "lVar3 + 0x10" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(lVar3 + 0x1c) = 1;" (assignment_expression "*(undefined4 *)(lVar3 + 0x1c) = 1" (pointer_expression "*(undefined4 *)(lVar3 + 0x1c)" * (cast_expression "(undefined4 *)(lVar3 + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar3 + 0x1c)" ( (binary_expression "lVar3 + 0x1c" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(lVar3 + 0x20) = 0;" (assignment_expression "*(undefined4 *)(lVar3 + 0x20) = 0" (pointer_expression "*(undefined4 *)(lVar3 + 0x20)" * (cast_expression "(undefined4 *)(lVar3 + 0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar3 + 0x20)" ( (binary_expression "lVar3 + 0x20" identifier + number_literal) )))) = number_literal) ;) (expression_statement "puVar1[1] = lVar3;" (assignment_expression "puVar1[1] = lVar3" (subscript_expression "puVar1[1]" identifier [ number_literal ]) = identifier) ;) (return_statement "return puVar1;" return identifier ;) })))
(translation_unit "/* WARNING: Unknown calling convention */\n\nvoid * zlib_compress_init(void)\n\n{\n  undefined8 *puVar1;\n  undefined2 *puVar2;\n  void *pvVar3;\n  undefined2 *puVar4;\n  \n  puVar1 = (undefined8 *)safemalloc(1,0x20);\n  puVar2 = (undefined2 *)safemalloc(1,0x38ffc);\n  if (puVar2 != (undefined2 *)0x0) {\n    *puVar1 = puVar2;\n    puVar4 = puVar2;\n    do {\n      puVar4[2] = 0xffff;\n      puVar4[1] = 0xffff;\n      *puVar4 = 0xffff;\n      puVar4 = puVar4 + 3;\n    } while (puVar4 != puVar2 + 0x18000);\n    puVar4 = puVar2 + 0x1c002;\n    do {\n      *puVar4 = 0xffff;\n      puVar4 = puVar4 + 1;\n    } while (puVar4 != puVar2 + 0x1c7f9);\n    *(undefined4 *)(puVar2 + 0x1c000) = 0;\n    *(undefined4 *)(puVar2 + 0x1c7fc) = 0;\n  }\n  puVar1[2] = zlib_literal;\n  puVar1[3] = zlib_match;\n  pvVar3 = safemalloc(1,0x28);\n  *(undefined4 *)((long)pvVar3 + 0x18) = 0;\n  *(undefined8 *)((long)pvVar3 + 0x10) = 0;\n  *(undefined4 *)((long)pvVar3 + 0x1c) = 1;\n  *(undefined4 *)((long)pvVar3 + 0x20) = 0;\n  puVar1[1] = pvVar3;\n  return puVar1;\n}\n\n" comment (function_definition "void * zlib_compress_init(void)\n\n{\n  undefined8 *puVar1;\n  undefined2 *puVar2;\n  void *pvVar3;\n  undefined2 *puVar4;\n  \n  puVar1 = (undefined8 *)safemalloc(1,0x20);\n  puVar2 = (undefined2 *)safemalloc(1,0x38ffc);\n  if (puVar2 != (undefined2 *)0x0) {\n    *puVar1 = puVar2;\n    puVar4 = puVar2;\n    do {\n      puVar4[2] = 0xffff;\n      puVar4[1] = 0xffff;\n      *puVar4 = 0xffff;\n      puVar4 = puVar4 + 3;\n    } while (puVar4 != puVar2 + 0x18000);\n    puVar4 = puVar2 + 0x1c002;\n    do {\n      *puVar4 = 0xffff;\n      puVar4 = puVar4 + 1;\n    } while (puVar4 != puVar2 + 0x1c7f9);\n    *(undefined4 *)(puVar2 + 0x1c000) = 0;\n    *(undefined4 *)(puVar2 + 0x1c7fc) = 0;\n  }\n  puVar1[2] = zlib_literal;\n  puVar1[3] = zlib_match;\n  pvVar3 = safemalloc(1,0x28);\n  *(undefined4 *)((long)pvVar3 + 0x18) = 0;\n  *(undefined8 *)((long)pvVar3 + 0x10) = 0;\n  *(undefined4 *)((long)pvVar3 + 0x1c) = 1;\n  *(undefined4 *)((long)pvVar3 + 0x20) = 0;\n  puVar1[1] = pvVar3;\n  return puVar1;\n}" primitive_type (pointer_declarator "* zlib_compress_init(void)" * (function_declarator "zlib_compress_init(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) )))) (compound_statement "{\n  undefined8 *puVar1;\n  undefined2 *puVar2;\n  void *pvVar3;\n  undefined2 *puVar4;\n  \n  puVar1 = (undefined8 *)safemalloc(1,0x20);\n  puVar2 = (undefined2 *)safemalloc(1,0x38ffc);\n  if (puVar2 != (undefined2 *)0x0) {\n    *puVar1 = puVar2;\n    puVar4 = puVar2;\n    do {\n      puVar4[2] = 0xffff;\n      puVar4[1] = 0xffff;\n      *puVar4 = 0xffff;\n      puVar4 = puVar4 + 3;\n    } while (puVar4 != puVar2 + 0x18000);\n    puVar4 = puVar2 + 0x1c002;\n    do {\n      *puVar4 = 0xffff;\n      puVar4 = puVar4 + 1;\n    } while (puVar4 != puVar2 + 0x1c7f9);\n    *(undefined4 *)(puVar2 + 0x1c000) = 0;\n    *(undefined4 *)(puVar2 + 0x1c7fc) = 0;\n  }\n  puVar1[2] = zlib_literal;\n  puVar1[3] = zlib_match;\n  pvVar3 = safemalloc(1,0x28);\n  *(undefined4 *)((long)pvVar3 + 0x18) = 0;\n  *(undefined8 *)((long)pvVar3 + 0x10) = 0;\n  *(undefined4 *)((long)pvVar3 + 0x1c) = 1;\n  *(undefined4 *)((long)pvVar3 + 0x20) = 0;\n  puVar1[1] = pvVar3;\n  return puVar1;\n}" { (declaration "undefined8 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined2 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "void *pvVar3;" primitive_type (pointer_declarator "*pvVar3" * identifier) ;) (declaration "undefined2 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (expression_statement "puVar1 = (undefined8 *)safemalloc(1,0x20);" (assignment_expression "puVar1 = (undefined8 *)safemalloc(1,0x20)" identifier = (cast_expression "(undefined8 *)safemalloc(1,0x20)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "safemalloc(1,0x20)" identifier (argument_list "(1,0x20)" ( number_literal , number_literal ))))) ;) (expression_statement "puVar2 = (undefined2 *)safemalloc(1,0x38ffc);" (assignment_expression "puVar2 = (undefined2 *)safemalloc(1,0x38ffc)" identifier = (cast_expression "(undefined2 *)safemalloc(1,0x38ffc)" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "safemalloc(1,0x38ffc)" identifier (argument_list "(1,0x38ffc)" ( number_literal , number_literal ))))) ;) (if_statement "if (puVar2 != (undefined2 *)0x0) {\n    *puVar1 = puVar2;\n    puVar4 = puVar2;\n    do {\n      puVar4[2] = 0xffff;\n      puVar4[1] = 0xffff;\n      *puVar4 = 0xffff;\n      puVar4 = puVar4 + 3;\n    } while (puVar4 != puVar2 + 0x18000);\n    puVar4 = puVar2 + 0x1c002;\n    do {\n      *puVar4 = 0xffff;\n      puVar4 = puVar4 + 1;\n    } while (puVar4 != puVar2 + 0x1c7f9);\n    *(undefined4 *)(puVar2 + 0x1c000) = 0;\n    *(undefined4 *)(puVar2 + 0x1c7fc) = 0;\n  }" if (parenthesized_expression "(puVar2 != (undefined2 *)0x0)" ( (binary_expression "puVar2 != (undefined2 *)0x0" identifier != (cast_expression "(undefined2 *)0x0" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    *puVar1 = puVar2;\n    puVar4 = puVar2;\n    do {\n      puVar4[2] = 0xffff;\n      puVar4[1] = 0xffff;\n      *puVar4 = 0xffff;\n      puVar4 = puVar4 + 3;\n    } while (puVar4 != puVar2 + 0x18000);\n    puVar4 = puVar2 + 0x1c002;\n    do {\n      *puVar4 = 0xffff;\n      puVar4 = puVar4 + 1;\n    } while (puVar4 != puVar2 + 0x1c7f9);\n    *(undefined4 *)(puVar2 + 0x1c000) = 0;\n    *(undefined4 *)(puVar2 + 0x1c7fc) = 0;\n  }" { (expression_statement "*puVar1 = puVar2;" (assignment_expression "*puVar1 = puVar2" (pointer_expression "*puVar1" * identifier) = identifier) ;) (expression_statement "puVar4 = puVar2;" (assignment_expression "puVar4 = puVar2" identifier = identifier) ;) (do_statement "do {\n      puVar4[2] = 0xffff;\n      puVar4[1] = 0xffff;\n      *puVar4 = 0xffff;\n      puVar4 = puVar4 + 3;\n    } while (puVar4 != puVar2 + 0x18000);" do (compound_statement "{\n      puVar4[2] = 0xffff;\n      puVar4[1] = 0xffff;\n      *puVar4 = 0xffff;\n      puVar4 = puVar4 + 3;\n    }" { (expression_statement "puVar4[2] = 0xffff;" (assignment_expression "puVar4[2] = 0xffff" (subscript_expression "puVar4[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar4[1] = 0xffff;" (assignment_expression "puVar4[1] = 0xffff" (subscript_expression "puVar4[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*puVar4 = 0xffff;" (assignment_expression "*puVar4 = 0xffff" (pointer_expression "*puVar4" * identifier) = number_literal) ;) (expression_statement "puVar4 = puVar4 + 3;" (assignment_expression "puVar4 = puVar4 + 3" identifier = (binary_expression "puVar4 + 3" identifier + number_literal)) ;) }) while (parenthesized_expression "(puVar4 != puVar2 + 0x18000)" ( (binary_expression "puVar4 != puVar2 + 0x18000" identifier != (binary_expression "puVar2 + 0x18000" identifier + number_literal)) )) ;) (expression_statement "puVar4 = puVar2 + 0x1c002;" (assignment_expression "puVar4 = puVar2 + 0x1c002" identifier = (binary_expression "puVar2 + 0x1c002" identifier + number_literal)) ;) (do_statement "do {\n      *puVar4 = 0xffff;\n      puVar4 = puVar4 + 1;\n    } while (puVar4 != puVar2 + 0x1c7f9);" do (compound_statement "{\n      *puVar4 = 0xffff;\n      puVar4 = puVar4 + 1;\n    }" { (expression_statement "*puVar4 = 0xffff;" (assignment_expression "*puVar4 = 0xffff" (pointer_expression "*puVar4" * identifier) = number_literal) ;) (expression_statement "puVar4 = puVar4 + 1;" (assignment_expression "puVar4 = puVar4 + 1" identifier = (binary_expression "puVar4 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(puVar4 != puVar2 + 0x1c7f9)" ( (binary_expression "puVar4 != puVar2 + 0x1c7f9" identifier != (binary_expression "puVar2 + 0x1c7f9" identifier + number_literal)) )) ;) (expression_statement "*(undefined4 *)(puVar2 + 0x1c000) = 0;" (assignment_expression "*(undefined4 *)(puVar2 + 0x1c000) = 0" (pointer_expression "*(undefined4 *)(puVar2 + 0x1c000)" * (cast_expression "(undefined4 *)(puVar2 + 0x1c000)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + 0x1c000)" ( (binary_expression "puVar2 + 0x1c000" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(puVar2 + 0x1c7fc) = 0;" (assignment_expression "*(undefined4 *)(puVar2 + 0x1c7fc) = 0" (pointer_expression "*(undefined4 *)(puVar2 + 0x1c7fc)" * (cast_expression "(undefined4 *)(puVar2 + 0x1c7fc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + 0x1c7fc)" ( (binary_expression "puVar2 + 0x1c7fc" identifier + number_literal) )))) = number_literal) ;) })) (expression_statement "puVar1[2] = zlib_literal;" (assignment_expression "puVar1[2] = zlib_literal" (subscript_expression "puVar1[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar1[3] = zlib_match;" (assignment_expression "puVar1[3] = zlib_match" (subscript_expression "puVar1[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "pvVar3 = safemalloc(1,0x28);" (assignment_expression "pvVar3 = safemalloc(1,0x28)" identifier = (call_expression "safemalloc(1,0x28)" identifier (argument_list "(1,0x28)" ( number_literal , number_literal )))) ;) (expression_statement "*(undefined4 *)((long)pvVar3 + 0x18) = 0;" (assignment_expression "*(undefined4 *)((long)pvVar3 + 0x18) = 0" (pointer_expression "*(undefined4 *)((long)pvVar3 + 0x18)" * (cast_expression "(undefined4 *)((long)pvVar3 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)pvVar3 + 0x18)" ( (binary_expression "(long)pvVar3 + 0x18" (cast_expression "(long)pvVar3" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined8 *)((long)pvVar3 + 0x10) = 0;" (assignment_expression "*(undefined8 *)((long)pvVar3 + 0x10) = 0" (pointer_expression "*(undefined8 *)((long)pvVar3 + 0x10)" * (cast_expression "(undefined8 *)((long)pvVar3 + 0x10)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)pvVar3 + 0x10)" ( (binary_expression "(long)pvVar3 + 0x10" (cast_expression "(long)pvVar3" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)((long)pvVar3 + 0x1c) = 1;" (assignment_expression "*(undefined4 *)((long)pvVar3 + 0x1c) = 1" (pointer_expression "*(undefined4 *)((long)pvVar3 + 0x1c)" * (cast_expression "(undefined4 *)((long)pvVar3 + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)pvVar3 + 0x1c)" ( (binary_expression "(long)pvVar3 + 0x1c" (cast_expression "(long)pvVar3" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)((long)pvVar3 + 0x20) = 0;" (assignment_expression "*(undefined4 *)((long)pvVar3 + 0x20) = 0" (pointer_expression "*(undefined4 *)((long)pvVar3 + 0x20)" * (cast_expression "(undefined4 *)((long)pvVar3 + 0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)pvVar3 + 0x20)" ( (binary_expression "(long)pvVar3 + 0x20" (cast_expression "(long)pvVar3" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "puVar1[1] = pvVar3;" (assignment_expression "puVar1[1] = pvVar3" (subscript_expression "puVar1[1]" identifier [ number_literal ]) = identifier) ;) (return_statement "return puVar1;" return identifier ;) })))
(translation_unit "undefined8 * FUN_00150f3c(void)\n\n{\n  undefined8 *puVar1;\n  undefined2 *puVar2;\n  long lVar3;\n  undefined2 *puVar4;\n  \n  puVar1 = (undefined8 *)FUN_0010e223(1,0x20);\n  puVar2 = (undefined2 *)FUN_0010e223(1,0x38ffc);\n  if (puVar2 != (undefined2 *)0x0) {\n    *puVar1 = puVar2;\n    puVar4 = puVar2;\n    do {\n      puVar4[2] = 0xffff;\n      puVar4[1] = 0xffff;\n      *puVar4 = 0xffff;\n      puVar4 = puVar4 + 3;\n    } while (puVar4 != puVar2 + 0x18000);\n    puVar4 = puVar2 + 0x1c002;\n    do {\n      *puVar4 = 0xffff;\n      puVar4 = puVar4 + 1;\n    } while (puVar4 != puVar2 + 0x1c7f9);\n    *(undefined4 *)(puVar2 + 0x1c000) = 0;\n    *(undefined4 *)(puVar2 + 0x1c7fc) = 0;\n  }\n  puVar1[2] = FUN_001515d8;\n  puVar1[3] = FUN_001513b3;\n  lVar3 = FUN_0010e223(1,0x28);\n  *(undefined4 *)(lVar3 + 0x18) = 0;\n  *(undefined8 *)(lVar3 + 0x10) = 0;\n  *(undefined4 *)(lVar3 + 0x1c) = 1;\n  *(undefined4 *)(lVar3 + 0x20) = 0;\n  puVar1[1] = lVar3;\n  return puVar1;\n}\n\n" (function_definition "undefined8 * FUN_00150f3c(void)\n\n{\n  undefined8 *puVar1;\n  undefined2 *puVar2;\n  long lVar3;\n  undefined2 *puVar4;\n  \n  puVar1 = (undefined8 *)FUN_0010e223(1,0x20);\n  puVar2 = (undefined2 *)FUN_0010e223(1,0x38ffc);\n  if (puVar2 != (undefined2 *)0x0) {\n    *puVar1 = puVar2;\n    puVar4 = puVar2;\n    do {\n      puVar4[2] = 0xffff;\n      puVar4[1] = 0xffff;\n      *puVar4 = 0xffff;\n      puVar4 = puVar4 + 3;\n    } while (puVar4 != puVar2 + 0x18000);\n    puVar4 = puVar2 + 0x1c002;\n    do {\n      *puVar4 = 0xffff;\n      puVar4 = puVar4 + 1;\n    } while (puVar4 != puVar2 + 0x1c7f9);\n    *(undefined4 *)(puVar2 + 0x1c000) = 0;\n    *(undefined4 *)(puVar2 + 0x1c7fc) = 0;\n  }\n  puVar1[2] = FUN_001515d8;\n  puVar1[3] = FUN_001513b3;\n  lVar3 = FUN_0010e223(1,0x28);\n  *(undefined4 *)(lVar3 + 0x18) = 0;\n  *(undefined8 *)(lVar3 + 0x10) = 0;\n  *(undefined4 *)(lVar3 + 0x1c) = 1;\n  *(undefined4 *)(lVar3 + 0x20) = 0;\n  puVar1[1] = lVar3;\n  return puVar1;\n}" type_identifier (pointer_declarator "* FUN_00150f3c(void)" * (function_declarator "FUN_00150f3c(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) )))) (compound_statement "{\n  undefined8 *puVar1;\n  undefined2 *puVar2;\n  long lVar3;\n  undefined2 *puVar4;\n  \n  puVar1 = (undefined8 *)FUN_0010e223(1,0x20);\n  puVar2 = (undefined2 *)FUN_0010e223(1,0x38ffc);\n  if (puVar2 != (undefined2 *)0x0) {\n    *puVar1 = puVar2;\n    puVar4 = puVar2;\n    do {\n      puVar4[2] = 0xffff;\n      puVar4[1] = 0xffff;\n      *puVar4 = 0xffff;\n      puVar4 = puVar4 + 3;\n    } while (puVar4 != puVar2 + 0x18000);\n    puVar4 = puVar2 + 0x1c002;\n    do {\n      *puVar4 = 0xffff;\n      puVar4 = puVar4 + 1;\n    } while (puVar4 != puVar2 + 0x1c7f9);\n    *(undefined4 *)(puVar2 + 0x1c000) = 0;\n    *(undefined4 *)(puVar2 + 0x1c7fc) = 0;\n  }\n  puVar1[2] = FUN_001515d8;\n  puVar1[3] = FUN_001513b3;\n  lVar3 = FUN_0010e223(1,0x28);\n  *(undefined4 *)(lVar3 + 0x18) = 0;\n  *(undefined8 *)(lVar3 + 0x10) = 0;\n  *(undefined4 *)(lVar3 + 0x1c) = 1;\n  *(undefined4 *)(lVar3 + 0x20) = 0;\n  puVar1[1] = lVar3;\n  return puVar1;\n}" { (declaration "undefined8 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined2 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "long lVar3;" (sized_type_specifier "long" long) identifier ;) (declaration "undefined2 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (expression_statement "puVar1 = (undefined8 *)FUN_0010e223(1,0x20);" (assignment_expression "puVar1 = (undefined8 *)FUN_0010e223(1,0x20)" identifier = (cast_expression "(undefined8 *)FUN_0010e223(1,0x20)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0010e223(1,0x20)" identifier (argument_list "(1,0x20)" ( number_literal , number_literal ))))) ;) (expression_statement "puVar2 = (undefined2 *)FUN_0010e223(1,0x38ffc);" (assignment_expression "puVar2 = (undefined2 *)FUN_0010e223(1,0x38ffc)" identifier = (cast_expression "(undefined2 *)FUN_0010e223(1,0x38ffc)" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0010e223(1,0x38ffc)" identifier (argument_list "(1,0x38ffc)" ( number_literal , number_literal ))))) ;) (if_statement "if (puVar2 != (undefined2 *)0x0) {\n    *puVar1 = puVar2;\n    puVar4 = puVar2;\n    do {\n      puVar4[2] = 0xffff;\n      puVar4[1] = 0xffff;\n      *puVar4 = 0xffff;\n      puVar4 = puVar4 + 3;\n    } while (puVar4 != puVar2 + 0x18000);\n    puVar4 = puVar2 + 0x1c002;\n    do {\n      *puVar4 = 0xffff;\n      puVar4 = puVar4 + 1;\n    } while (puVar4 != puVar2 + 0x1c7f9);\n    *(undefined4 *)(puVar2 + 0x1c000) = 0;\n    *(undefined4 *)(puVar2 + 0x1c7fc) = 0;\n  }" if (parenthesized_expression "(puVar2 != (undefined2 *)0x0)" ( (binary_expression "puVar2 != (undefined2 *)0x0" identifier != (cast_expression "(undefined2 *)0x0" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    *puVar1 = puVar2;\n    puVar4 = puVar2;\n    do {\n      puVar4[2] = 0xffff;\n      puVar4[1] = 0xffff;\n      *puVar4 = 0xffff;\n      puVar4 = puVar4 + 3;\n    } while (puVar4 != puVar2 + 0x18000);\n    puVar4 = puVar2 + 0x1c002;\n    do {\n      *puVar4 = 0xffff;\n      puVar4 = puVar4 + 1;\n    } while (puVar4 != puVar2 + 0x1c7f9);\n    *(undefined4 *)(puVar2 + 0x1c000) = 0;\n    *(undefined4 *)(puVar2 + 0x1c7fc) = 0;\n  }" { (expression_statement "*puVar1 = puVar2;" (assignment_expression "*puVar1 = puVar2" (pointer_expression "*puVar1" * identifier) = identifier) ;) (expression_statement "puVar4 = puVar2;" (assignment_expression "puVar4 = puVar2" identifier = identifier) ;) (do_statement "do {\n      puVar4[2] = 0xffff;\n      puVar4[1] = 0xffff;\n      *puVar4 = 0xffff;\n      puVar4 = puVar4 + 3;\n    } while (puVar4 != puVar2 + 0x18000);" do (compound_statement "{\n      puVar4[2] = 0xffff;\n      puVar4[1] = 0xffff;\n      *puVar4 = 0xffff;\n      puVar4 = puVar4 + 3;\n    }" { (expression_statement "puVar4[2] = 0xffff;" (assignment_expression "puVar4[2] = 0xffff" (subscript_expression "puVar4[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar4[1] = 0xffff;" (assignment_expression "puVar4[1] = 0xffff" (subscript_expression "puVar4[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*puVar4 = 0xffff;" (assignment_expression "*puVar4 = 0xffff" (pointer_expression "*puVar4" * identifier) = number_literal) ;) (expression_statement "puVar4 = puVar4 + 3;" (assignment_expression "puVar4 = puVar4 + 3" identifier = (binary_expression "puVar4 + 3" identifier + number_literal)) ;) }) while (parenthesized_expression "(puVar4 != puVar2 + 0x18000)" ( (binary_expression "puVar4 != puVar2 + 0x18000" identifier != (binary_expression "puVar2 + 0x18000" identifier + number_literal)) )) ;) (expression_statement "puVar4 = puVar2 + 0x1c002;" (assignment_expression "puVar4 = puVar2 + 0x1c002" identifier = (binary_expression "puVar2 + 0x1c002" identifier + number_literal)) ;) (do_statement "do {\n      *puVar4 = 0xffff;\n      puVar4 = puVar4 + 1;\n    } while (puVar4 != puVar2 + 0x1c7f9);" do (compound_statement "{\n      *puVar4 = 0xffff;\n      puVar4 = puVar4 + 1;\n    }" { (expression_statement "*puVar4 = 0xffff;" (assignment_expression "*puVar4 = 0xffff" (pointer_expression "*puVar4" * identifier) = number_literal) ;) (expression_statement "puVar4 = puVar4 + 1;" (assignment_expression "puVar4 = puVar4 + 1" identifier = (binary_expression "puVar4 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(puVar4 != puVar2 + 0x1c7f9)" ( (binary_expression "puVar4 != puVar2 + 0x1c7f9" identifier != (binary_expression "puVar2 + 0x1c7f9" identifier + number_literal)) )) ;) (expression_statement "*(undefined4 *)(puVar2 + 0x1c000) = 0;" (assignment_expression "*(undefined4 *)(puVar2 + 0x1c000) = 0" (pointer_expression "*(undefined4 *)(puVar2 + 0x1c000)" * (cast_expression "(undefined4 *)(puVar2 + 0x1c000)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + 0x1c000)" ( (binary_expression "puVar2 + 0x1c000" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(puVar2 + 0x1c7fc) = 0;" (assignment_expression "*(undefined4 *)(puVar2 + 0x1c7fc) = 0" (pointer_expression "*(undefined4 *)(puVar2 + 0x1c7fc)" * (cast_expression "(undefined4 *)(puVar2 + 0x1c7fc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + 0x1c7fc)" ( (binary_expression "puVar2 + 0x1c7fc" identifier + number_literal) )))) = number_literal) ;) })) (expression_statement "puVar1[2] = FUN_001515d8;" (assignment_expression "puVar1[2] = FUN_001515d8" (subscript_expression "puVar1[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar1[3] = FUN_001513b3;" (assignment_expression "puVar1[3] = FUN_001513b3" (subscript_expression "puVar1[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "lVar3 = FUN_0010e223(1,0x28);" (assignment_expression "lVar3 = FUN_0010e223(1,0x28)" identifier = (call_expression "FUN_0010e223(1,0x28)" identifier (argument_list "(1,0x28)" ( number_literal , number_literal )))) ;) (expression_statement "*(undefined4 *)(lVar3 + 0x18) = 0;" (assignment_expression "*(undefined4 *)(lVar3 + 0x18) = 0" (pointer_expression "*(undefined4 *)(lVar3 + 0x18)" * (cast_expression "(undefined4 *)(lVar3 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar3 + 0x18)" ( (binary_expression "lVar3 + 0x18" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined8 *)(lVar3 + 0x10) = 0;" (assignment_expression "*(undefined8 *)(lVar3 + 0x10) = 0" (pointer_expression "*(undefined8 *)(lVar3 + 0x10)" * (cast_expression "(undefined8 *)(lVar3 + 0x10)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar3 + 0x10)" ( (binary_expression "lVar3 + 0x10" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(lVar3 + 0x1c) = 1;" (assignment_expression "*(undefined4 *)(lVar3 + 0x1c) = 1" (pointer_expression "*(undefined4 *)(lVar3 + 0x1c)" * (cast_expression "(undefined4 *)(lVar3 + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar3 + 0x1c)" ( (binary_expression "lVar3 + 0x1c" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(lVar3 + 0x20) = 0;" (assignment_expression "*(undefined4 *)(lVar3 + 0x20) = 0" (pointer_expression "*(undefined4 *)(lVar3 + 0x20)" * (cast_expression "(undefined4 *)(lVar3 + 0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar3 + 0x20)" ( (binary_expression "lVar3 + 0x20" identifier + number_literal) )))) = number_literal) ;) (expression_statement "puVar1[1] = lVar3;" (assignment_expression "puVar1[1] = lVar3" (subscript_expression "puVar1[1]" identifier [ number_literal ]) = identifier) ;) (return_statement "return puVar1;" return identifier ;) })))
(translation_unit (function_definition TYPE (pointer_declarator * (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) )))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( LIT , LIT ))))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( LIT , LIT ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != (binary_expression IDENT + LIT)) )) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != (binary_expression IDENT + LIT)) )) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) })) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , LIT )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (return_statement return IDENT ;) })))
(function_definition "undefined8 * FUN_00150f3c(void)\n\n{\n  undefined8 *puVar1;\n  undefined2 *puVar2;\n  long lVar3;\n  undefined2 *puVar4;\n  \n  puVar1 = (undefined8 *)FUN_0010e223(1,0x20);\n  puVar2 = (undefined2 *)FUN_0010e223(1,0x38ffc);\n  if (puVar2 != (undefined2 *)0x0) {\n    *puVar1 = puVar2;\n    puVar4 = puVar2;\n    do {\n      puVar4[2] = 0xffff;\n      puVar4[1] = 0xffff;\n      *puVar4 = 0xffff;\n      puVar4 = puVar4 + 3;\n    } while (puVar4 != puVar2 + 0x18000);\n    puVar4 = puVar2 + 0x1c002;\n    do {\n      *puVar4 = 0xffff;\n      puVar4 = puVar4 + 1;\n    } while (puVar4 != puVar2 + 0x1c7f9);\n    *(undefined4 *)(puVar2 + 0x1c000) = 0;\n    *(undefined4 *)(puVar2 + 0x1c7fc) = 0;\n  }\n  puVar1[2] = FUN_001515d8;\n  puVar1[3] = FUN_001513b3;\n  lVar3 = FUN_0010e223(1,0x28);\n  *(undefined4 *)(lVar3 + 0x18) = 0;\n  *(undefined8 *)(lVar3 + 0x10) = 0;\n  *(undefined4 *)(lVar3 + 0x1c) = 1;\n  *(undefined4 *)(lVar3 + 0x20) = 0;\n  puVar1[1] = lVar3;\n  return puVar1;\n}" (type_identifier "undefined8") (pointer_declarator "* FUN_00150f3c(void)" (* "*") (function_declarator "FUN_00150f3c(void)" (identifier "FUN_00150f3c") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")")))) (compound_statement "{\n  undefined8 *puVar1;\n  undefined2 *puVar2;\n  long lVar3;\n  undefined2 *puVar4;\n  \n  puVar1 = (undefined8 *)FUN_0010e223(1,0x20);\n  puVar2 = (undefined2 *)FUN_0010e223(1,0x38ffc);\n  if (puVar2 != (undefined2 *)0x0) {\n    *puVar1 = puVar2;\n    puVar4 = puVar2;\n    do {\n      puVar4[2] = 0xffff;\n      puVar4[1] = 0xffff;\n      *puVar4 = 0xffff;\n      puVar4 = puVar4 + 3;\n    } while (puVar4 != puVar2 + 0x18000);\n    puVar4 = puVar2 + 0x1c002;\n    do {\n      *puVar4 = 0xffff;\n      puVar4 = puVar4 + 1;\n    } while (puVar4 != puVar2 + 0x1c7f9);\n    *(undefined4 *)(puVar2 + 0x1c000) = 0;\n    *(undefined4 *)(puVar2 + 0x1c7fc) = 0;\n  }\n  puVar1[2] = FUN_001515d8;\n  puVar1[3] = FUN_001513b3;\n  lVar3 = FUN_0010e223(1,0x28);\n  *(undefined4 *)(lVar3 + 0x18) = 0;\n  *(undefined8 *)(lVar3 + 0x10) = 0;\n  *(undefined4 *)(lVar3 + 0x1c) = 1;\n  *(undefined4 *)(lVar3 + 0x20) = 0;\n  puVar1[1] = lVar3;\n  return puVar1;\n}" ({ "{") (declaration "undefined8 *puVar1;" (type_identifier "undefined8") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "undefined2 *puVar2;" (type_identifier "undefined2") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (declaration "long lVar3;" (sized_type_specifier "long" (long "long")) (identifier "lVar3") (; ";")) (declaration "undefined2 *puVar4;" (type_identifier "undefined2") (pointer_declarator "*puVar4" (* "*") (identifier "puVar4")) (; ";")) (expression_statement "puVar1 = (undefined8 *)FUN_0010e223(1,0x20);" (assignment_expression "puVar1 = (undefined8 *)FUN_0010e223(1,0x20)" (identifier "puVar1") (= "=") (cast_expression "(undefined8 *)FUN_0010e223(1,0x20)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_0010e223(1,0x20)" (identifier "FUN_0010e223") (argument_list "(1,0x20)" (( "(") (number_literal "1") (, ",") (number_literal "0x20") () ")"))))) (; ";")) (expression_statement "puVar2 = (undefined2 *)FUN_0010e223(1,0x38ffc);" (assignment_expression "puVar2 = (undefined2 *)FUN_0010e223(1,0x38ffc)" (identifier "puVar2") (= "=") (cast_expression "(undefined2 *)FUN_0010e223(1,0x38ffc)" (( "(") (type_descriptor "undefined2 *" (type_identifier "undefined2") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_0010e223(1,0x38ffc)" (identifier "FUN_0010e223") (argument_list "(1,0x38ffc)" (( "(") (number_literal "1") (, ",") (number_literal "0x38ffc") () ")"))))) (; ";")) (if_statement "if (puVar2 != (undefined2 *)0x0) {\n    *puVar1 = puVar2;\n    puVar4 = puVar2;\n    do {\n      puVar4[2] = 0xffff;\n      puVar4[1] = 0xffff;\n      *puVar4 = 0xffff;\n      puVar4 = puVar4 + 3;\n    } while (puVar4 != puVar2 + 0x18000);\n    puVar4 = puVar2 + 0x1c002;\n    do {\n      *puVar4 = 0xffff;\n      puVar4 = puVar4 + 1;\n    } while (puVar4 != puVar2 + 0x1c7f9);\n    *(undefined4 *)(puVar2 + 0x1c000) = 0;\n    *(undefined4 *)(puVar2 + 0x1c7fc) = 0;\n  }" (if "if") (parenthesized_expression "(puVar2 != (undefined2 *)0x0)" (( "(") (binary_expression "puVar2 != (undefined2 *)0x0" (identifier "puVar2") (!= "!=") (cast_expression "(undefined2 *)0x0" (( "(") (type_descriptor "undefined2 *" (type_identifier "undefined2") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    *puVar1 = puVar2;\n    puVar4 = puVar2;\n    do {\n      puVar4[2] = 0xffff;\n      puVar4[1] = 0xffff;\n      *puVar4 = 0xffff;\n      puVar4 = puVar4 + 3;\n    } while (puVar4 != puVar2 + 0x18000);\n    puVar4 = puVar2 + 0x1c002;\n    do {\n      *puVar4 = 0xffff;\n      puVar4 = puVar4 + 1;\n    } while (puVar4 != puVar2 + 0x1c7f9);\n    *(undefined4 *)(puVar2 + 0x1c000) = 0;\n    *(undefined4 *)(puVar2 + 0x1c7fc) = 0;\n  }" ({ "{") (expression_statement "*puVar1 = puVar2;" (assignment_expression "*puVar1 = puVar2" (pointer_expression "*puVar1" (* "*") (identifier "puVar1")) (= "=") (identifier "puVar2")) (; ";")) (expression_statement "puVar4 = puVar2;" (assignment_expression "puVar4 = puVar2" (identifier "puVar4") (= "=") (identifier "puVar2")) (; ";")) (do_statement "do {\n      puVar4[2] = 0xffff;\n      puVar4[1] = 0xffff;\n      *puVar4 = 0xffff;\n      puVar4 = puVar4 + 3;\n    } while (puVar4 != puVar2 + 0x18000);" (do "do") (compound_statement "{\n      puVar4[2] = 0xffff;\n      puVar4[1] = 0xffff;\n      *puVar4 = 0xffff;\n      puVar4 = puVar4 + 3;\n    }" ({ "{") (expression_statement "puVar4[2] = 0xffff;" (assignment_expression "puVar4[2] = 0xffff" (subscript_expression "puVar4[2]" (identifier "puVar4") ([ "[") (number_literal "2") (] "]")) (= "=") (number_literal "0xffff")) (; ";")) (expression_statement "puVar4[1] = 0xffff;" (assignment_expression "puVar4[1] = 0xffff" (subscript_expression "puVar4[1]" (identifier "puVar4") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0xffff")) (; ";")) (expression_statement "*puVar4 = 0xffff;" (assignment_expression "*puVar4 = 0xffff" (pointer_expression "*puVar4" (* "*") (identifier "puVar4")) (= "=") (number_literal "0xffff")) (; ";")) (expression_statement "puVar4 = puVar4 + 3;" (assignment_expression "puVar4 = puVar4 + 3" (identifier "puVar4") (= "=") (binary_expression "puVar4 + 3" (identifier "puVar4") (+ "+") (number_literal "3"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(puVar4 != puVar2 + 0x18000)" (( "(") (binary_expression "puVar4 != puVar2 + 0x18000" (identifier "puVar4") (!= "!=") (binary_expression "puVar2 + 0x18000" (identifier "puVar2") (+ "+") (number_literal "0x18000"))) () ")")) (; ";")) (expression_statement "puVar4 = puVar2 + 0x1c002;" (assignment_expression "puVar4 = puVar2 + 0x1c002" (identifier "puVar4") (= "=") (binary_expression "puVar2 + 0x1c002" (identifier "puVar2") (+ "+") (number_literal "0x1c002"))) (; ";")) (do_statement "do {\n      *puVar4 = 0xffff;\n      puVar4 = puVar4 + 1;\n    } while (puVar4 != puVar2 + 0x1c7f9);" (do "do") (compound_statement "{\n      *puVar4 = 0xffff;\n      puVar4 = puVar4 + 1;\n    }" ({ "{") (expression_statement "*puVar4 = 0xffff;" (assignment_expression "*puVar4 = 0xffff" (pointer_expression "*puVar4" (* "*") (identifier "puVar4")) (= "=") (number_literal "0xffff")) (; ";")) (expression_statement "puVar4 = puVar4 + 1;" (assignment_expression "puVar4 = puVar4 + 1" (identifier "puVar4") (= "=") (binary_expression "puVar4 + 1" (identifier "puVar4") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(puVar4 != puVar2 + 0x1c7f9)" (( "(") (binary_expression "puVar4 != puVar2 + 0x1c7f9" (identifier "puVar4") (!= "!=") (binary_expression "puVar2 + 0x1c7f9" (identifier "puVar2") (+ "+") (number_literal "0x1c7f9"))) () ")")) (; ";")) (expression_statement "*(undefined4 *)(puVar2 + 0x1c000) = 0;" (assignment_expression "*(undefined4 *)(puVar2 + 0x1c000) = 0" (pointer_expression "*(undefined4 *)(puVar2 + 0x1c000)" (* "*") (cast_expression "(undefined4 *)(puVar2 + 0x1c000)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar2 + 0x1c000)" (( "(") (binary_expression "puVar2 + 0x1c000" (identifier "puVar2") (+ "+") (number_literal "0x1c000")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 *)(puVar2 + 0x1c7fc) = 0;" (assignment_expression "*(undefined4 *)(puVar2 + 0x1c7fc) = 0" (pointer_expression "*(undefined4 *)(puVar2 + 0x1c7fc)" (* "*") (cast_expression "(undefined4 *)(puVar2 + 0x1c7fc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar2 + 0x1c7fc)" (( "(") (binary_expression "puVar2 + 0x1c7fc" (identifier "puVar2") (+ "+") (number_literal "0x1c7fc")) () ")")))) (= "=") (number_literal "0")) (; ";")) (} "}"))) (expression_statement "puVar1[2] = FUN_001515d8;" (assignment_expression "puVar1[2] = FUN_001515d8" (subscript_expression "puVar1[2]" (identifier "puVar1") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "FUN_001515d8")) (; ";")) (expression_statement "puVar1[3] = FUN_001513b3;" (assignment_expression "puVar1[3] = FUN_001513b3" (subscript_expression "puVar1[3]" (identifier "puVar1") ([ "[") (number_literal "3") (] "]")) (= "=") (identifier "FUN_001513b3")) (; ";")) (expression_statement "lVar3 = FUN_0010e223(1,0x28);" (assignment_expression "lVar3 = FUN_0010e223(1,0x28)" (identifier "lVar3") (= "=") (call_expression "FUN_0010e223(1,0x28)" (identifier "FUN_0010e223") (argument_list "(1,0x28)" (( "(") (number_literal "1") (, ",") (number_literal "0x28") () ")")))) (; ";")) (expression_statement "*(undefined4 *)(lVar3 + 0x18) = 0;" (assignment_expression "*(undefined4 *)(lVar3 + 0x18) = 0" (pointer_expression "*(undefined4 *)(lVar3 + 0x18)" (* "*") (cast_expression "(undefined4 *)(lVar3 + 0x18)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar3 + 0x18)" (( "(") (binary_expression "lVar3 + 0x18" (identifier "lVar3") (+ "+") (number_literal "0x18")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined8 *)(lVar3 + 0x10) = 0;" (assignment_expression "*(undefined8 *)(lVar3 + 0x10) = 0" (pointer_expression "*(undefined8 *)(lVar3 + 0x10)" (* "*") (cast_expression "(undefined8 *)(lVar3 + 0x10)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar3 + 0x10)" (( "(") (binary_expression "lVar3 + 0x10" (identifier "lVar3") (+ "+") (number_literal "0x10")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 *)(lVar3 + 0x1c) = 1;" (assignment_expression "*(undefined4 *)(lVar3 + 0x1c) = 1" (pointer_expression "*(undefined4 *)(lVar3 + 0x1c)" (* "*") (cast_expression "(undefined4 *)(lVar3 + 0x1c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar3 + 0x1c)" (( "(") (binary_expression "lVar3 + 0x1c" (identifier "lVar3") (+ "+") (number_literal "0x1c")) () ")")))) (= "=") (number_literal "1")) (; ";")) (expression_statement "*(undefined4 *)(lVar3 + 0x20) = 0;" (assignment_expression "*(undefined4 *)(lVar3 + 0x20) = 0" (pointer_expression "*(undefined4 *)(lVar3 + 0x20)" (* "*") (cast_expression "(undefined4 *)(lVar3 + 0x20)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar3 + 0x20)" (( "(") (binary_expression "lVar3 + 0x20" (identifier "lVar3") (+ "+") (number_literal "0x20")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar1[1] = lVar3;" (assignment_expression "puVar1[1] = lVar3" (subscript_expression "puVar1[1]" (identifier "puVar1") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "lVar3")) (; ";")) (return_statement "return puVar1;" (return "return") (identifier "puVar1") (; ";")) (} "}")))

/* WARNING: Unknown calling convention */

void * function_1(void)

{
  type_1 *puVar1;
  type_2 *var_2;
  void *pvVar3;
  type_2 *var_3;
  
  puVar1 = (type_1 *)var_1(1,0x20);
  var_2 = (type_2 *)var_1(1,0x38ffc);
  if (var_2 != (type_2 *)0x0) {
    *puVar1 = var_2;
    var_3 = var_2;
    do {
      var_3[2] = 0xffff;
      var_3[1] = 0xffff;
      *var_3 = 0xffff;
      var_3 = var_3 + 3;
    } while (var_3 != var_2 + 0x18000);
    var_3 = var_2 + 0x1c002;
    do {
      *var_3 = 0xffff;
      var_3 = var_3 + 1;
    } while (var_3 != var_2 + 0x1c7f9);
    *(type_3 *)(var_2 + 0x1c000) = 0;
    *(type_3 *)(var_2 + 0x1c7fc) = 0;
  }
  puVar1[2] = zlib_literal;
  puVar1[3] = zlib_match;
  pvVar3 = var_1(1,0x28);
  *(type_3 *)((long)pvVar3 + 0x18) = 0;
  *(type_1 *)((long)pvVar3 + 0x10) = 0;
  *(type_3 *)((long)pvVar3 + 0x1c) = 1;
  *(type_3 *)((long)pvVar3 + 0x20) = 0;
  puVar1[1] = pvVar3;
  return puVar1;
}


(translation_unit (function_definition type: (type_identifier) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type))))) body: (compound_statement (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (sized_type_specifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list (number_literal) (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list (number_literal) (number_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (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: (number_literal))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (number_literal) (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: (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: (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: (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: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (return_statement (identifier)))))

undefined8 * MASKED(void)

{
  undefined8 *puVar1;
  undefined2 *puVar2;
  long lVar3;
  undefined2 *puVar4;
  
  puVar1 = (undefined8 *)FUN_0010e223(1,0x20);
  puVar2 = (undefined2 *)FUN_0010e223(1,0x38ffc);
  if (puVar2 != (undefined2 *)0x0) {
    *puVar1 = puVar2;
    puVar4 = puVar2;
    do {
      puVar4[2] = 0xffff;
      puVar4[1] = 0xffff;
      *puVar4 = 0xffff;
      puVar4 = puVar4 + 3;
    } while (puVar4 != puVar2 + 0x18000);
    puVar4 = puVar2 + 0x1c002;
    do {
      *puVar4 = 0xffff;
      puVar4 = puVar4 + 1;
    } while (puVar4 != puVar2 + 0x1c7f9);
    *(undefined4 *)(puVar2 + 0x1c000) = 0;
    *(undefined4 *)(puVar2 + 0x1c7fc) = 0;
  }
  puVar1[2] = FUN_001515d8;
  puVar1[3] = FUN_001513b3;
  lVar3 = FUN_0010e223(1,0x28);
  *(undefined4 *)(lVar3 + 0x18) = 0;
  *(undefined8 *)(lVar3 + 0x10) = 0;
  *(undefined4 *)(lVar3 + 0x1c) = 1;
  *(undefined4 *)(lVar3 + 0x20) = 0;
  puVar1[1] = lVar3;
  return puVar1;
}

