Function at 0x10036060
Capabilities:
Compress data via zlib inflate or deflate

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x58
mov eax, dword [ebp + 8]
call sym._inflateStateCheck
mov dword [ebp - 0x28], eax
test eax, eax
jne case.default.0x100360f3
mov eax, dword [ebp + 8]
mov edi, dword [eax + 0xc]
test edi, edi
je case.default.0x100360f3
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x100362a0
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x1c]
mov dword [ebp - 0x14], eax
mov eax, dword [eax + 4]
cmp eax, 0x3f3f
jne 0x100360c4
mov eax, dword [ebp - 0x14]
mov dword [eax + 4], 0x3f40
mov eax, dword [ebp + 8]
mov edi, dword [eax + 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
mov eax, 0x3f40
mov ecx, dword [ebp + 8]
mov ebx, dword [ebp - 0x14]
mov esi, dword [ecx + 0x10]
mov edx, dword [ecx + 4]
mov ecx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x40]
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x18], edx
sub eax, 0x3f34
cmp eax, 0x1e
ja case.default.0x100360f3
jmp dword [eax*4 + 0x1004f390]
cmp ebx, 0x1f
ja 0x10036142
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x100364f0
mov ecx, ebx
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x20]
jmp 0x10036128
test esi, esi
je 0x10037018
movzx eax, byte [edx]
inc edx
dec esi
shl eax, cl
add ecx, 8
add ebx, eax
cmp ecx, 0x1f
jbe 0x10036120
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
mov dword [ebp - 0x20], 0
mov edx, ebx
mov ecx, ebx
mov eax, ebx
shr edx, 0x18
shl ecx, 0x18
shr eax, 8
add ecx, edx
and eax, 0xff00
lea edx, [ecx + eax]
mov eax, ebx
mov ebx, dword [ebp - 0x14]
shl eax, 8
and eax, 0xff0000
add eax, edx
mov edx, dword [ebp + 8]
mov dword [ebx + 0x1c], eax
mov dword [edx + 0x30], eax
mov dword [ebx + 4], 0x3f3e
xor ebx, ebx
mov eax, dword [ebp - 0x14]
mov esi, dword [eax + 0x10]
test esi, esi
je 0x10037cba
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
call sym._adler32
mov esi, dword [ebp - 0x14]
mov edx, dword [ebp + 8]
mov dword [esi + 0x1c], eax
mov dword [edx + 0x30], eax
mov dword [esi + 4], 0x3f3f
lea esi, cs:[esi]
mov eax, dword [ebp + 0xc]
sub eax, 5
cmp eax, 1
jbe 0x100364f0
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x10036398
mov eax, dword [ebp - 0x14]
mov ecx, ebx
and ebx, 0xfffffff8
and ecx, 7
shr dword [ebp - 0x20], cl
mov dword [eax + 4], 0x3f4e
mov eax, dword [ebp - 0x14]
mov edx, dword [eax + 0xc]
test edx, edx
je 0x10036288
cmp ebx, 0x1f
ja 0x1003624c
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x100364f0
mov ecx, ebx
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x20]
jmp 0x10036230
test esi, esi
je 0x10037018
movzx eax, byte [edx]
inc edx
dec esi
shl eax, cl
add ecx, 8
add ebx, eax
cmp ecx, 0x1f
jbe 0x10036228
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x20], ebx
mov ebx, ecx
mov ecx, dword [ebp + 8]
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x2c]
add dword [ecx + 0x14], eax
mov edx, dword [esi + 0xc]
add dword [esi + 0x20], eax
mov ecx, edx
and ecx, 4
test eax, eax
je 0x100377bc
test ecx, ecx
jne 0x10037782
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x20], 0
xor ebx, ebx
mov dword [ebp - 0x24], eax
lea esi, [esi]
mov eax, dword [ebp - 0x14]
mov dword [eax + 4], 0x3f4f
jmp 0x10036916
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
test eax, eax
je 0x10036097
mov dword [ebp - 0x28], 0xfffffffe
jmp 0x10036610
mov eax, dword [ebp - 0x14]
cmp dword [ebp + 0xc], 6
mov dword [eax + 0x50], 0x100523e0
mov dword [eax + 0x58], 9
mov dword [eax + 0x54], 0x10051f60
mov dword [eax + 0x5c], 5
mov dword [eax + 4], 0x3f47
je 0x10037ec2
mov dword [ebp - 0x1c], edx
sub ebx, 3
shr dword [ebp - 0x20], 3
lea esi, [esi]
mov eax, dword [ebp - 0x14]
mov dword [eax + 4], 0x3f48
mov eax, dword [ebp - 0x18]
cmp eax, 5
jbe 0x100371e8
mov edx, dword [ebp - 0x2c]
cmp edx, 0x101
jbe 0x100371e8
mov esi, dword [ebp + 8]
mov dword [esi + 0xc], edi
mov edi, esi
mov dword [esi + 0x10], edx
mov esi, dword [ebp - 0x1c]
mov dword [edi + 4], eax
mov eax, dword [ebp - 0x20]
mov dword [edi], esi
mov esi, dword [ebp - 0x14]
mov dword [esi + 0x3c], eax
mov eax, dword [ebp - 0x24]
mov dword [esi + 0x40], ebx
mov dword [esp + 4], eax
mov dword [esp], edi
call sym._inflate_fast
mov eax, dword [ebp + 8]
mov ebx, dword [esi + 0x40]
mov edi, dword [eax + 0xc]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0x3c]
mov dword [ebp - 0x20], eax
mov eax, dword [esi + 4]
cmp eax, 0x3f3f
jne 0x100360e5
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x1bc8], 0xffffffff
jmp case.0x100360f3.16191
cmp ebx, 2
ja 0x10037bf5
mov edx, dword [ebp - 0x18]
test edx, edx
je 0x10037c11
mov eax, dword [ebp - 0x1c]
mov ecx, ebx
dec dword [ebp - 0x18]
add ebx, 8
lea edx, [eax + 1]
movzx eax, byte [eax]
shl eax, cl
add dword [ebp - 0x20], eax
mov esi, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x14]
mov eax, esi
and eax, 1
mov dword [ecx + 8], eax
mov eax, esi
shr eax, 1
and eax, 3
cmp eax, 2
je 0x10036f0b
cmp eax, 3
je 0x10037893
cmp eax, 1
je 0x100362ba
shr esi, 3
mov dword [ecx + 4], 0x3f41
sub ebx, 3
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], edx
lea esi, [esi]
mov ecx, ebx
and ebx, 0xfffffff8
and ecx, 7
shr dword [ebp - 0x20], cl
cmp ebx, 0x1f
ja 0x10036454
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x100364f0
mov ecx, ebx
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x20]
jmp 0x10036438
test esi, esi
je 0x10037018
movzx eax, byte [edx]
inc edx
dec esi
shl eax, cl
add ecx, 8
add ebx, eax
cmp ecx, 0x1f
jbe 0x10036430
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x20], ebx
mov ebx, ecx
mov eax, dword [ebp - 0x20]
movzx edx, ax
shr eax, 0x10
xor eax, 0xffff
cmp edx, eax
je 0x10037722
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.invalid_stored_block_lengths
mov eax, dword [ebp - 0x14]
mov dword [eax + 4], 0x3f51
jmp case.0x100360f3.16209
mov eax, dword [ebp - 0x14]
mov edx, dword [eax + 0x4c]
test edx, edx
jne 0x100375b8
mov eax, dword [ebp - 0x14]
mov dword [eax + 4], 0x3f4c
mov edx, dword [ebp - 0x2c]
test edx, edx
je 0x100364f0
mov eax, dword [ebp - 0x14]
mov esi, dword [ebp - 0x24]
mov ecx, dword [eax + 0x48]
mov eax, esi
sub eax, edx
cmp ecx, eax
jbe 0x10037560
add ecx, edx
mov eax, dword [ebp - 0x14]
mov edx, ecx
sub edx, esi
cmp dword [eax + 0x30], edx
jae 0x100372f8
mov esi, dword [eax + 0x1bc4]
test esi, esi
je 0x100372f8
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x18], 0x1004f345
mov dword [eax + 4], 0x3f51
mov dword [ebp - 0x28], 0xfffffffd
lea esi, [esi]
mov eax, dword [ebp + 8]
mov dword [eax + 0xc], edi
mov edi, dword [ebp - 0x2c]
mov dword [eax + 0x10], edi
mov edi, dword [ebp - 0x1c]
mov dword [eax], edi
mov edi, dword [ebp - 0x18]
mov dword [eax + 4], edi
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x20]
mov dword [eax + 0x40], ebx
mov ebx, dword [eax + 0x2c]
mov dword [eax + 0x3c], edi
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x10]
test ebx, ebx
jne 0x10036548
cmp eax, dword [ebp - 0x24]
je 0x10037040
mov edi, dword [ebp - 0x14]
mov edx, dword [edi + 4]
cmp edx, 0x3f50
ja 0x10036566
cmp dword [ebp + 0xc], 4
jne 0x10036548
cmp edx, 0x3f4d
ja 0x10036566
lea esi, [esi]
mov ecx, dword [ebp - 0x24]
sub ecx, eax
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0xc]
call sym._updatewindow
test eax, eax
jne 0x10037ad4
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x10]
mov ecx, dword [ebp - 0x24]
mov edi, dword [ebp + 8]
mov esi, dword [ebp - 0x30]
mov ebx, ecx
sub esi, dword [edi + 4]
add dword [edi + 8], esi
sub ebx, eax
add dword [edi + 0x14], ebx
mov edi, dword [ebp - 0x14]
add dword [edi + 0x20], ebx
test byte [edi + 0xc], 4
je 0x100365be
test ebx, ebx
je 0x100365be
mov edx, dword [ebp + 8]
sub eax, ecx
mov ecx, dword [edi + 0x14]
add eax, dword [edx + 0xc]
mov edx, dword [edi + 0x1c]
test ecx, ecx
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
mov dword [esp], edx
je 0x10037058
call sym._crc32
mov edi, dword [ebp - 0x14]
mov dword [edi + 0x1c], eax
mov edi, dword [ebp + 8]
mov dword [edi + 0x30], eax
mov edi, dword [ebp - 0x14]
mov edx, dword [edi + 8]
mov eax, dword [edi + 0x40]
test edx, edx
je 0x100365ce
add eax, 0x40
mov edi, dword [ebp - 0x14]
mov edx, dword [edi + 4]
cmp edx, 0x3f3f
je 0x10037030
cmp edx, 0x3f47
je 0x100365f0
cmp edx, 0x3f42
jne 0x100365f5
add eax, 0x100
mov edi, dword [ebp + 8]
or ebx, esi
mov dword [edi + 0x2c], eax
je 0x10036605
cmp dword [ebp + 0xc], 4
jne 0x10036610
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x10037776
mov eax, dword [ebp - 0x28]
add esp, 0x58
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp - 0x14]
mov edx, dword [eax + 0x4c]
test edx, edx
jne 0x10037390
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x44]
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x1bcc], eax
mov dword [edx + 4], 0x3f4a
mov eax, dword [ebp - 0x14]
mov esi, 0xffffffff
mov ecx, dword [eax + 0x5c]
mov edx, dword [eax + 0x54]
shl esi, cl
mov dword [ebp - 0x38], edx
not esi
mov eax, esi
and eax, dword [ebp - 0x20]
mov dword [ebp - 0x40], esi
lea eax, [edx + eax*4]
movzx edx, byte [eax]
movzx esi, word [eax + 2]
mov byte [ebp - 0x34], dl
movzx edx, byte [eax + 1]
movzx eax, dl
mov dword [ebp - 0x3c], eax
cmp eax, ebx
jbe 0x100366ed
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x100364f0
mov dword [ebp - 0x48], edi
mov ecx, ebx
mov edi, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x18]
jmp 0x100366a8
test ebx, ebx
je 0x100372e0
movzx eax, byte [edi]
mov edx, dword [ebp - 0x38]
inc edi
dec ebx
shl eax, cl
add ecx, 8
add esi, eax
mov eax, dword [ebp - 0x40]
and eax, esi
lea eax, [edx + eax*4]
movzx edx, byte [eax]
mov byte [ebp - 0x34], dl
movzx edx, byte [eax + 1]
movzx eax, word [eax + 2]
mov word [ebp - 0x44], ax
movzx eax, dl
mov dword [ebp - 0x3c], eax
cmp eax, ecx
ja 0x100366a0
mov dword [ebp - 0x1c], edi
mov edi, dword [ebp - 0x48]
mov dword [ebp - 0x20], esi
movzx esi, word [ebp - 0x44]
mov dword [ebp - 0x18], ebx
mov ebx, ecx
mov dword [ebp - 0x40], eax
test byte [ebp - 0x34], 0xf0
je 0x1003748d
mov edx, dword [ebp - 0x14]
mov edx, dword [edx + 0x1bc8]
mov ecx, eax
sub ebx, eax
add eax, edx
mov edx, dword [ebp - 0x14]
shr dword [ebp - 0x20], cl
mov dword [edx + 0x1bc8], eax
test byte [ebp - 0x34], 0x40
je 0x10037578
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], 0x1004f32f
mov dword [edx + 4], 0x3f51
jmp case.0x100360f3.16209
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x14]
test ah, 2
jne 0x1003680c
lea esi, cs:[esi]
nop
mov esi, dword [ebp - 0x14]
mov edx, dword [esi + 0x24]
test edx, edx
je 0x1003676d
sar eax, 9
and eax, 1
mov dword [edx + 0x2c], eax
mov eax, dword [esi + 0x24]
mov dword [eax + 0x30], 1
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
call sym._crc32
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
mov dword [edx + 0x1c], eax
mov dword [ecx + 0x30], eax
mov dword [edx + 4], 0x3f3f
jmp case.0x100360f3.16191
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x14]
test ah, 8
jne 0x10037120
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x24]
test edx, edx
je 0x100367cb
mov dword [edx + 0x1c], 0
mov eax, dword [ecx + 0x14]
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x44], 0
mov dword [edx + 4], 0x3f3b
test ah, 0x10
jne 0x10037068
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x24]
test edx, edx
je 0x100367f9
mov dword [edx + 0x24], 0
mov eax, dword [ecx + 0x14]
mov edx, dword [ebp - 0x14]
mov dword [edx + 4], 0x3f3c
test ah, 2
je 0x10036750
cmp ebx, 0xf
ja 0x10036857
mov edx, dword [ebp - 0x18]
test edx, edx
je 0x100364f0
mov ecx, ebx
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x18]
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x20]
jmp 0x10036838
test esi, esi
je 0x10037018
movzx eax, byte [edx]
inc edx
dec esi
shl eax, cl
add ecx, 8
add ebx, eax
cmp ecx, 0xf
jbe 0x10036830
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x20], ebx
mov ebx, ecx
mov ecx, dword [ebp - 0x14]
test byte [ecx + 0xc], 4
je 0x10037470
movzx edx, word [ecx + 0x1c]
cmp edx, dword [ebp - 0x20]
je 0x10037470
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.header_crc_mismatch
mov dword [ecx + 4], 0x3f51
jmp case.0x100360f3.16209
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x14]
jmp 0x100367dc
mov eax, dword [ebp - 0x14]
mov edx, dword [eax + 0x44]
mov eax, dword [ebp - 0x14]
mov dword [eax + 4], 0x3f43
test edx, edx
je 0x10037110
mov ecx, dword [ebp - 0x18]
mov eax, edx
cmp ecx, edx
mov edx, dword [ebp - 0x2c]
cmovbe eax, ecx
cmp eax, edx
cmova eax, edx
mov esi, eax
test eax, eax
je 0x100364f0
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp], edi
add edi, esi
mov dword [esp + 4], eax
call sym._zmemcpy
mov eax, dword [ebp - 0x14]
sub dword [ebp - 0x18], esi
add dword [ebp - 0x1c], esi
sub dword [eax + 0x44], esi
mov eax, dword [eax + 4]
sub dword [ebp - 0x2c], esi
jmp 0x100360e5
mov eax, dword [ebp - 0x14]
mov edx, dword [eax + 0x44]
jmp 0x100368b0
mov eax, dword [ebp - 0x14]
mov edx, dword [eax + 0xc]
test edx, edx
je 0x100379e0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x14]
test eax, eax
je 0x100379e0
cmp ebx, 0x1f
ja 0x10036977
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x100364f0
mov dword [ebp - 0x34], edx
mov ecx, ebx
mov esi, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x20]
jmp 0x10036958
test esi, esi
je 0x10037018
movzx eax, byte [edx]
inc edx
dec esi
shl eax, cl
add ecx, 8
add ebx, eax
cmp ecx, 0x1f
jbe 0x10036950
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], edx
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x20], ebx
mov ebx, ecx
and edx, 4
je 0x100379d7
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x20]
cmp edx, dword [eax + 0x20]
je 0x100379d7
mov edx, dword [ebp + 8]
mov dword [edx + 0x18], str.incorrect_length_check
mov dword [eax + 4], 0x3f51
jmp case.0x100360f3.16209
mov eax, dword [ebp - 0x14]
mov esi, dword [eax + 0x6c]
mov eax, dword [eax + 0x60]
mov dword [ebp - 0x38], eax
cmp eax, esi
jbe 0x100378c4
mov ecx, ebx
mov eax, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x20]
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x3c], edi
mov esi, dword [ebp - 0x18]
cmp ecx, 2
ja 0x10036a2d
test esi, esi
je 0x100379c4
lea edi, [eax + 1]
movzx eax, byte [eax]
dec esi
mov dword [ebp - 0x1c], edi
shl eax, cl
add ecx, 8
add ebx, eax
mov edx, dword [ebp - 0x14]
mov edi, ebx
inc dword [ebp - 0x34]
shr ebx, 3
mov eax, dword [ebp - 0x34]
and edi, 7
sub ecx, 3
mov word [ebp - 0x18], di
mov edi, edx
mov dword [edx + 0x6c], eax
movzx eax, word [eax + eax + 0x10052d7e]
movzx edx, word [ebp - 0x18]
mov word [edi + eax*2 + 0x74], dx
mov edi, dword [ebp - 0x38]
cmp dword [ebp - 0x34], edi
jae 0x100378b6
mov eax, dword [ebp - 0x1c]
cmp ecx, 2
jbe 0x100369d2
mov dword [ebp - 0x1c], eax
jmp 0x100369eb
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x6c]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx + 0x64]
mov dword [ebp - 0x48], eax
add eax, dword [ecx + 0x68]
mov dword [ebp - 0x44], eax
cmp eax, dword [ebp - 0x3c]
jbe 0x1003743b
mov edx, dword [ecx + 0x50]
mov ecx, dword [ecx + 0x58]
mov eax, 0xffffffff
mov dword [ebp - 0x40], edi
shl eax, cl
not eax
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x18], edx
mov edi, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
and ecx, dword [ebp - 0x34]
lea esi, [edi + ecx*4]
movzx ecx, byte [esi + 1]
movzx edi, word [esi + 2]
movzx esi, cl
cmp esi, ebx
jbe 0x10036aea
test eax, eax
je 0x10037973
mov edx, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x20]
mov ecx, ebx
jmp 0x10036ab0
test eax, eax
je 0x100371d0
movzx ebx, byte [edx]
mov esi, dword [ebp - 0x18]
inc edx
dec eax
shl ebx, cl
add ecx, 8
add edi, ebx
mov ebx, dword [ebp - 0x34]
and ebx, edi
lea esi, [esi + ebx*4]
movzx ebx, byte [esi + 1]
movzx esi, word [esi + 2]
mov word [ebp - 0x38], si
movzx esi, bl
cmp esi, ecx
ja 0x10036aa8
mov dword [ebp - 0x1c], edx
mov edx, ecx
mov ecx, ebx
mov dword [ebp - 0x20], edi
movzx edi, word [ebp - 0x38]
mov ebx, edx
cmp di, 0xf
jbe 0x10037410
cmp di, 0x10
je 0x10037a52
cmp di, 0x11
je 0x1003781f
lea edi, [esi + 7]
mov dword [ebp - 0x38], edi
cmp ebx, edi
jae 0x10036b53
test eax, eax
je 0x10037973
mov ecx, ebx
mov edx, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x38]
mov dword [ebp - 0x38], esi
mov edi, dword [ebp - 0x20]
jmp 0x10036b38
test eax, eax
je 0x100371d0
movzx esi, byte [edx]
inc edx
dec eax
shl esi, cl
add ecx, 8
add edi, esi
cmp ecx, ebx
jb 0x10036b30
mov dword [ebp - 0x1c], edx
mov esi, dword [ebp - 0x38]
mov ebx, ecx
mov dword [ebp - 0x20], edi
mov edi, dword [ebp - 0x20]
mov ecx, esi
sub ebx, esi
sub ebx, 7
shr edi, cl
mov ecx, edi
shr edi, 7
and ecx, 0x7f
mov dword [ebp - 0x20], edi
xor edi, edi
lea edx, [ecx + 0xb]
mov dword [ebp - 0x38], edx
mov ecx, dword [ebp - 0x3c]
add ecx, dword [ebp - 0x38]
cmp ecx, dword [ebp - 0x44]
ja 0x10037e46
mov edx, dword [ebp - 0x14]
mov esi, dword [edx + 0x6c]
lea ecx, [edx + esi*2]
add esi, dword [ebp - 0x38]
mov dword [ebp - 0x3c], esi
lea esi, [edx + esi*2]
mov edx, dword [ebp - 0x1c]
lea esi, cs:[esi]
nop
mov word [ecx + 0x74], di
add ecx, 2
cmp esi, ecx
jne 0x10036ba0
mov dword [ebp - 0x1c], edx
mov edi, dword [ebp - 0x14]
mov edx, dword [ebp - 0x3c]
mov dword [edi + 0x6c], edx
jmp 0x10037429
mov eax, dword [ebp - 0x14]
mov edx, dword [eax + 0xc]
test edx, edx
jne 0x10037651
mov eax, dword [ebp - 0x14]
mov dword [eax + 4], 0x3f40
jmp case.0x100360f3.16192
cmp ebx, 0x1f
ja 0x10036c22
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x100364f0
mov ecx, ebx
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x20]
jmp 0x10036c08
test esi, esi
je 0x10037018
movzx eax, byte [edx]
inc edx
dec esi
shl eax, cl
add ecx, 8
add ebx, eax
cmp ecx, 0x1f
jbe 0x10036c00
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x20], ebx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x24]
test eax, eax
je 0x10036c32
mov ebx, dword [ebp - 0x20]
mov dword [eax + 4], ebx
mov eax, dword [ebp - 0x14]
test byte [eax + 0x15], 2
je 0x10036c45
test byte [eax + 0xc], 4
jne 0x100379f6
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x20], 0
xor ebx, ebx
mov dword [eax + 4], 0x3f37
jmp 0x10036c65
cmp ebx, 0xf
ja 0x10036ca2
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x100364f0
mov ecx, ebx
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x20]
jmp 0x10036c88
test esi, esi
je 0x10037018
movzx eax, byte [edx]
inc edx
dec esi
shl eax, cl
add ecx, 8
add ebx, eax
cmp ecx, 0xf
jbe 0x10036c80
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x20], ebx
mov esi, dword [ebp - 0x14]
mov eax, dword [esi + 0x24]
test eax, eax
je 0x10036cbe
mov ebx, dword [ebp - 0x20]
movzx edx, bl
shr ebx, 8
mov dword [eax + 8], edx
mov eax, dword [esi + 0x24]
mov dword [eax + 0xc], ebx
mov ebx, dword [ebp - 0x14]
mov eax, dword [ebx + 0x14]
test ah, 2
je 0x10036d00
test byte [ebx + 0xc], 4
je 0x10036d00
movzx eax, word [ebp - 0x20]
mov dword [esp + 8], 2
mov word [ebp - 0x10], ax
lea eax, [ebp - 0x10]
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x1c]
mov dword [esp], eax
call sym._crc32
mov dword [ebx + 0x1c], eax
mov eax, dword [ebx + 0x14]
lea esi, cs:[esi]
nop
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x20], 0
mov dword [ebx + 4], 0x3f38
xor ebx, ebx
test ah, 4
je 0x10036daf
mov edx, dword [ebp - 0x18]
test edx, edx
je 0x100364f0
mov ecx, ebx
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x18]
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x20]
jmp 0x10036d48
test esi, esi
je 0x10037018
movzx eax, byte [edx]
inc edx
dec esi
shl eax, cl
add ecx, 8
add ebx, eax
cmp ecx, 0xf
jbe 0x10036d40
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebx + 0x24]
mov dword [ebx + 0x44], ecx
test edx, edx
je 0x10036d7b
mov dword [edx + 0x14], ecx
mov eax, dword [ebx + 0x14]
test ah, 2
je 0x10036d8d
mov ebx, dword [ebp - 0x14]
test byte [ebx + 0xc], 4
jne 0x10037c5d
mov dword [ebp - 0x20], 0
xor ebx, ebx
jmp 0x10036dc3
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x14]
test ah, 4
jne 0x10037643
mov esi, dword [ebp - 0x14]
mov edx, dword [esi + 0x24]
test edx, edx
je 0x10036dc3
mov dword [edx + 0x10], 0
mov eax, dword [esi + 0x14]
mov edx, dword [ebp - 0x14]
mov dword [edx + 4], 0x3f39
test ah, 4
je 0x10036e72
mov ecx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x18]
mov edx, dword [ecx + 0x44]
cmp esi, edx
cmova esi, edx
mov dword [ebp - 0x34], esi
test esi, esi
je 0x10036e64
mov ecx, dword [ecx + 0x24]
test ecx, ecx
je 0x10036e39
mov esi, dword [ecx + 0x10]
mov dword [ebp - 0x38], esi
test esi, esi
je 0x10036e39
mov esi, dword [ecx + 0x14]
mov ecx, dword [ecx + 0x18]
mov dword [ebp - 0x3c], esi
sub esi, edx
cmp ecx, esi
jbe 0x10036e39
mov eax, dword [ebp - 0x34]
add edx, ecx
sub edx, dword [ebp - 0x3c]
add eax, esi
cmp ecx, eax
cmovae edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x38]
mov dword [esp + 8], edx
mov edx, dword [ebp - 0x1c]
add eax, esi
mov dword [esp], eax
mov dword [esp + 4], edx
call sym._zmemcpy
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx + 0x14]
test ah, 2
je 0x10036e4b
mov eax, dword [ebp - 0x14]
test byte [eax + 0xc], 4
jne 0x1003797e
mov eax, dword [ebp - 0x14]
mov esi, dword [ebp - 0x34]
sub dword [ebp - 0x18], esi
mov ecx, dword [eax + 0x44]
add dword [ebp - 0x1c], esi
mov edx, ecx
mov dword [ebp - 0x34], ecx
sub edx, esi
mov dword [eax + 0x44], edx
test edx, edx
jne 0x100364f0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x14]
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x44], 0
mov dword [edx + 4], 0x3f3a
jmp 0x100367ae
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x14]
jmp 0x10036dcd
cmp ebx, 0xf
ja 0x10036ee4
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x100364f0
mov ecx, ebx
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x20]
jmp 0x10036ec8
test esi, esi
je 0x10037018
movzx eax, byte [edx]
inc edx
dec esi
shl eax, cl
add ecx, 8
add ebx, eax
cmp ecx, 0xf
jbe 0x10036ec0
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x20], ebx
mov ebx, ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x20]
mov dword [edx + 0x14], eax
cmp al, 8
je 0x10037750
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.unknown_compression_method
mov dword [edx + 4], 0x3f51
jmp case.0x100360f3.16209
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], edx
sub ebx, 3
shr dword [ebp - 0x20], 3
mov dword [eax + 4], 0x3f44
nop
cmp ebx, 0xd
ja 0x10036f64
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x100364f0
mov ecx, ebx
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x20]
jmp 0x10036f48
test esi, esi
je 0x10037018
movzx eax, byte [edx]
inc edx
dec esi
shl eax, cl
add ecx, 8
add ebx, eax
cmp ecx, 0xd
jbe 0x10036f40
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x20], ebx
mov ebx, ecx
mov ecx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x14]
sub ebx, 0xe
mov edx, ecx
and edx, 0x1f
lea eax, [edx + 0x101]
mov dword [esi + 0x64], eax
mov dword [ebp - 0x34], eax
mov eax, ecx
shr eax, 5
and eax, 0x1f
inc eax
mov dword [esi + 0x68], eax
mov esi, ecx
shr ecx, 0xe
shr esi, 0xa
mov dword [ebp - 0x20], ecx
and esi, 0xf
add esi, 4
mov edx, esi
mov dword [ebp - 0x38], esi
mov esi, dword [ebp - 0x14]
mov dword [esi + 0x60], edx
cmp eax, 0x1e
ja 0x10036fb8
cmp dword [ebp - 0x34], 0x11e
jbe 0x10037a3a
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.too_many_length_or_distance_symbols
mov eax, dword [ebp - 0x14]
mov dword [eax + 4], 0x3f51
jmp case.0x100360f3.16209
mov edx, dword [ebp - 0x14]
shr dword [ebp - 0x20], cl
sub ebx, eax
mov dword [edx + 0x1bc8], eax
mov dword [edx + 0x44], esi
mov eax, dword [ebp - 0x14]
mov dword [eax + 4], 0x3f4d
mov esi, dword [ebp - 0x2c]
test esi, esi
je 0x100364f0
mov edx, dword [ebp - 0x14]
dec esi
inc edi
mov dword [ebp - 0x2c], esi
mov eax, dword [edx + 0x44]
mov byte [edi - 1], al
mov dword [edx + 4], 0x3f48
jmp case.0x100360f3.16200
mov dword [ebp - 0x20], ebx
mov ebx, ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], esi
jmp 0x100364f0
sub eax, 0xffffff80
jmp 0x100365f5
mov eax, dword [ebp + 8]
mov esi, dword [ebp - 0x30]
sub esi, dword [eax + 4]
add dword [eax + 8], esi
jmp 0x100365be
call sym._adler32
jmp 0x100365b2
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x100364f0
mov dword [ebp - 0x34], edi
mov ecx, dword [ebp - 0x14]
xor esi, esi
mov dword [ebp - 0x38], ebx
jmp 0x10037085
cmp dword [ebp - 0x18], esi
jbe 0x100370b1
mov eax, dword [ebp - 0x1c]
inc esi
movzx edx, byte [eax + esi - 1]
mov eax, dword [ecx + 0x24]
test eax, eax
je 0x100370ad
mov ebx, dword [eax + 0x24]
test ebx, ebx
je 0x100370ad
mov edi, dword [ecx + 0x44]
cmp edi, dword [eax + 0x28]
jae 0x100370ad
lea eax, [edi + 1]
mov dword [ecx + 0x44], eax
mov byte [ebx + edi], dl
test dl, dl
jne 0x10037080
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x34]
mov ebx, dword [ebp - 0x38]
test byte [eax + 0x15], 2
je 0x100370f0
test byte [eax + 0xc], 4
je 0x100370f0
mov eax, dword [ebp - 0x1c]
mov dword [esp + 8], esi
mov byte [ebp - 0x34], dl
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x1c]
mov dword [esp], eax
call sym._crc32
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x1c], eax
movzx edx, byte [ebp - 0x34]
lea esi, [esi]
add dword [ebp - 0x1c], esi
sub dword [ebp - 0x18], esi
test dl, dl
jne 0x100364f0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x14]
jmp 0x100367f9
mov eax, dword [ebp - 0x14]
mov dword [eax + 4], 0x3f3f
jmp case.0x100360f3.16191
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x100364f0
mov dword [ebp - 0x34], edi
mov ecx, dword [ebp - 0x14]
xor esi, esi
mov dword [ebp - 0x38], ebx
lea esi, cs:[esi]
nop
mov eax, dword [ebp - 0x1c]
inc esi
movzx edx, byte [eax + esi - 1]
mov eax, dword [ecx + 0x24]
test eax, eax
je 0x10037168
mov ebx, dword [eax + 0x1c]
test ebx, ebx
je 0x10037168
mov edi, dword [ecx + 0x44]
cmp edi, dword [eax + 0x20]
jae 0x10037168
lea eax, [edi + 1]
mov dword [ecx + 0x44], eax
mov byte [ebx + edi], dl
test dl, dl
je 0x10037171
cmp dword [ebp - 0x18], esi
ja 0x10037140
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x34]
mov ebx, dword [ebp - 0x38]
test byte [eax + 0x15], 2
je 0x100371b0
test byte [eax + 0xc], 4
je 0x100371b0
mov eax, dword [ebp - 0x1c]
mov dword [esp + 8], esi
mov byte [ebp - 0x34], dl
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x1c]
mov dword [esp], eax
call sym._crc32
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x1c], eax
movzx edx, byte [ebp - 0x34]
lea esi, [esi]
add dword [ebp - 0x1c], esi
sub dword [ebp - 0x18], esi
test dl, dl
jne 0x100364f0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x14]
jmp 0x100367cb
mov dword [ebp - 0x20], edi
mov ebx, ecx
mov edi, dword [ebp - 0x40]
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], eax
jmp 0x100364f0
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x58]
mov edx, dword [eax + 0x50]
mov dword [eax + 0x1bc8], 0
mov eax, 0xffffffff
shl eax, cl
mov dword [ebp - 0x34], edx
not eax
mov dword [ebp - 0x38], eax
and eax, dword [ebp - 0x20]
lea eax, [edx + eax*4]
movzx ecx, byte [eax + 1]
movzx edx, byte [eax]
movzx esi, word [eax + 2]
movzx eax, cl
cmp ebx, eax
jae 0x10037292
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x100364f0
mov dword [ebp - 0x40], edi
mov ecx, ebx
mov edx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x1c]
jmp 0x10037248
test edx, edx
je 0x10037630
movzx eax, byte [ebx]
mov esi, dword [ebp - 0x34]
inc ebx
dec edx
shl eax, cl
add ecx, 8
add edi, eax
mov eax, dword [ebp - 0x38]
and eax, edi
lea esi, [esi + eax*4]
movzx eax, byte [esi]
mov byte [ebp - 0x20], al
movzx eax, byte [esi + 1]
movzx esi, word [esi + 2]
mov word [ebp - 0x3c], si
movzx esi, al
cmp esi, ecx
ja 0x10037240
mov dword [ebp - 0x1c], ebx
mov ebx, ecx
mov ecx, eax
mov eax, esi
mov dword [ebp - 0x18], edx
movzx esi, word [ebp - 0x3c]
movzx edx, byte [ebp - 0x20]
mov dword [ebp - 0x20], edi
mov edi, dword [ebp - 0x40]
test dl, dl
je 0x10036fd1
test dl, 0xf0
je 0x10037aea
mov ecx, eax
shr dword [ebp - 0x20], cl
mov ecx, dword [ebp - 0x14]
sub ebx, eax
mov dword [ecx + 0x1bc8], eax
mov dword [ecx + 0x44], esi
test dl, 0x20
je 0x100379a2
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x1bc8], 0xffffffff
mov dword [eax + 4], 0x3f3f
jmp case.0x100360f3.16191
mov dword [ebp - 0x1c], edi
mov edi, dword [ebp - 0x48]
mov dword [ebp - 0x18], ebx
mov ebx, ecx
mov dword [ebp - 0x20], esi
jmp 0x100364f0
mov esi, dword [ebp - 0x14]
mov eax, dword [esi + 0x34]
mov esi, dword [esi + 0x38]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x24]
sub eax, ecx
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x34]
cmp eax, edx
jae 0x10037480
mov ecx, dword [ebp - 0x14]
sub edx, eax
add eax, dword [ecx + 0x2c]
add eax, dword [ebp - 0x38]
add esi, eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x44]
mov eax, edx
cmp ecx, edx
cmovbe eax, ecx
mov edx, dword [ebp - 0x2c]
cmp eax, edx
cmova eax, edx
sub edx, eax
sub ecx, eax
add eax, edi
mov dword [ebp - 0x2c], edx
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x44], ecx
lea esi, cs:[esi]
movsb byte es:[edi], byte [esi]
cmp edi, eax
jne 0x10037350
mov eax, dword [ebp - 0x14]
mov edx, dword [eax + 0x44]
test edx, edx
je case.0x100360f3.16199
mov eax, dword [eax + 4]
jmp 0x100360e5
mov dword [ebp - 0x28], 1
jmp 0x100364f0
mov dword [ebp - 0x28], 0xfffffffc
jmp 0x10036610
cmp ebx, edx
jae 0x100373e0
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x100364f0
mov dword [ebp - 0x34], edi
mov ecx, ebx
mov esi, dword [ebp - 0x1c]
mov ebx, edx
mov edi, dword [ebp - 0x18]
mov edx, dword [ebp - 0x20]
jmp 0x100373c0
test edi, edi
je 0x100375a0
movzx eax, byte [esi]
inc esi
dec edi
shl eax, cl
add ecx, 8
add edx, eax
cmp ecx, ebx
jb 0x100373b8
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], edi
mov edi, dword [ebp - 0x34]
mov dword [ebp - 0x20], edx
mov edx, ebx
mov ebx, ecx
mov ecx, edx
mov eax, 0xffffffff
mov esi, dword [ebp - 0x14]
sub ebx, edx
shl eax, cl
mov ecx, dword [ebp - 0x20]
not eax
add dword [esi + 0x1bc8], edx
and eax, ecx
add eax, dword [esi + 0x44]
mov ecx, edx
shr dword [ebp - 0x20], cl
mov dword [esi + 0x44], eax
jmp 0x10036634
sub ebx, esi
mov esi, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x14]
shr dword [ebp - 0x20], cl
lea ecx, [esi + 1]
mov dword [edx + 0x6c], ecx
mov dword [ebp - 0x3c], ecx
mov word [edx + esi*2 + 0x74], di
mov edx, dword [ebp - 0x3c]
cmp dword [ebp - 0x44], edx
ja 0x10036a74
mov dword [ebp - 0x18], eax
mov edi, dword [ebp - 0x40]
mov eax, dword [ebp - 0x14]
cmp dword [eax + 4], 0x3f51
je case.0x100360f3.16209
cmp word [eax + 0x274], 0
jne 0x10037d62
mov edx, dword [ebp + 8]
mov dword [edx + 0x18], str.invalid_code____missing_end_of_block
mov dword [eax + 4], 0x3f51
jmp case.0x100360f3.16209
mov dword [ebp - 0x20], 0
xor ebx, ebx
jmp 0x10036750
mov eax, dword [ebp - 0x34]
add eax, dword [ebp - 0x38]
add esi, eax
jmp 0x10037324
movzx ecx, byte [ebp - 0x34]
mov eax, 0xffffffff
add cl, byte [ebp - 0x40]
mov dword [ebp - 0x48], esi
shl eax, cl
mov ecx, edx
not eax
mov dword [ebp - 0x44], eax
and eax, dword [ebp - 0x20]
shr eax, cl
mov ecx, dword [ebp - 0x38]
add eax, esi
lea eax, [ecx + eax*4]
movzx edx, byte [eax]
movzx esi, word [eax + 2]
movzx eax, byte [eax + 1]
mov byte [ebp - 0x34], dl
mov edx, dword [ebp - 0x40]
add edx, eax
cmp edx, ebx
jbe 0x1003753d
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x100364f0
mov esi, dword [ebp - 0x18]
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x4c], edi
mov edi, dword [ebp - 0x1c]
jmp 0x100374f0
test esi, esi
je 0x10037962
movzx eax, byte [edi]
mov ecx, ebx
add ebx, 8
inc edi
dec esi
shl eax, cl
movzx ecx, byte [ebp - 0x40]
add edx, eax
mov eax, dword [ebp - 0x44]
and eax, edx
shr eax, cl
mov ecx, dword [ebp - 0x38]
add eax, dword [ebp - 0x48]
lea eax, [ecx + eax*4]
movzx ecx, byte [eax]
mov byte [ebp - 0x34], cl
movzx ecx, word [eax + 2]
movzx eax, byte [eax + 1]
mov word [ebp - 0x20], cx
mov ecx, dword [ebp - 0x40]
add ecx, eax
cmp ecx, ebx
ja 0x100374e8
mov dword [ebp - 0x18], esi
movzx esi, word [ebp - 0x20]
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], edi
mov edi, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x40]
sub ebx, dword [ebp - 0x3c]
mov ecx, edx
shr dword [ebp - 0x20], cl
mov ecx, dword [ebp - 0x14]
add edx, dword [ecx + 0x1bc8]
jmp 0x10036703
mov eax, dword [ebp - 0x14]
mov esi, edi
sub esi, ecx
mov eax, dword [eax + 0x44]
mov ecx, eax
jmp 0x10037331
mov edx, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x14]
movzx eax, si
and edx, 0xf
mov dword [ecx + 0x48], eax
mov dword [ecx + 0x4c], edx
mov dword [ecx + 4], 0x3f4b
jmp 0x10036486
mov dword [ebp - 0x18], edi
mov ebx, ecx
mov edi, dword [ebp - 0x34]
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], edx
jmp 0x100364f0
cmp ebx, edx
jae 0x10037604
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x100364f0
mov dword [ebp - 0x34], edi
mov ecx, ebx
mov esi, dword [ebp - 0x1c]
mov ebx, edx
mov edi, dword [ebp - 0x18]
mov edx, dword [ebp - 0x20]
jmp 0x100375e4
test edi, edi
je 0x100375a0
movzx eax, byte [esi]
inc esi
dec edi
shl eax, cl
add ecx, 8
add edx, eax
cmp ecx, ebx
jb 0x100375e0
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], edi
mov edi, dword [ebp - 0x34]
mov dword [ebp - 0x20], edx
mov edx, ebx
mov ebx, ecx
mov ecx, edx
mov eax, 0xffffffff
mov esi, dword [ebp - 0x14]
sub ebx, edx
shl eax, cl
mov ecx, dword [ebp - 0x20]
not eax
add dword [esi + 0x1bc8], edx
and eax, ecx
add dword [esi + 0x48], eax
mov eax, ecx
mov ecx, edx
shr eax, cl
mov dword [ebp - 0x20], eax
jmp 0x1003648e
mov dword [ebp - 0x1c], ebx
mov ebx, ecx
mov dword [ebp - 0x20], edi
mov edi, dword [ebp - 0x40]
mov dword [ebp - 0x18], edx
jmp 0x100364f0
cmp ebx, 0xf
jbe 0x10036d1c
jmp 0x10036d65
cmp ebx, 0xf
ja 0x1003769f
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x100364f0
mov dword [ebp - 0x34], edx
mov ecx, ebx
mov esi, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
jmp 0x10037680
test esi, esi
je 0x10037018
movzx eax, byte [edx]
inc edx
dec esi
shl eax, cl
add ecx, 8
add ebx, eax
cmp ecx, 0xf
jbe 0x10037678
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], edx
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x20], ebx
mov ebx, ecx
test dl, 2
je 0x100376b1
cmp dword [ebp - 0x20], 0x8b1f
je 0x10037cf7
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx + 0x24]
test eax, eax
je 0x100376c5
mov dword [eax + 0x30], 0xffffffff
mov edx, dword [ecx + 0xc]
and edx, 1
je 0x10037a21
mov eax, dword [ebp - 0x20]
mov ecx, eax
shr eax, 8
shl ecx, 8
movzx ecx, cx
add ecx, eax
mov eax, 0x84210843
imul ecx
lea eax, [ecx + edx]
sar eax, 4
mov edx, eax
shl edx, 5
sub edx, eax
cmp ecx, edx
jne 0x10037a21
mov eax, dword [ebp - 0x20]
and eax, 0xf
cmp eax, 8
je 0x10037ddc
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.unknown_compression_method
mov eax, dword [ebp - 0x14]
mov dword [eax + 4], 0x3f51
jmp case.0x100360f3.16209
mov eax, dword [ebp - 0x14]
xor ebx, ebx
cmp dword [ebp + 0xc], 6
mov dword [ebp - 0x20], 0
mov dword [eax + 0x44], edx
mov dword [eax + 4], 0x3f42
jne 0x100368a6
jmp 0x100364f0
test dword [ebp - 0x20], 0xe000
je 0x10037c1d
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.unknown_header_flags_set
mov eax, dword [ebp - 0x14]
mov dword [eax + 4], 0x3f51
jmp case.0x100360f3.16209
mov dword [ebp - 0x28], 0xfffffffb
jmp 0x10036610
mov ecx, dword [esi + 0x1c]
mov esi, dword [esi + 0x14]
mov dword [esp + 8], eax
mov edx, dword [ebp - 0x2c]
sub edx, dword [ebp - 0x24]
add edx, edi
test esi, esi
mov dword [esp], ecx
mov dword [esp + 4], edx
je 0x10037c93
call sym._crc32
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
mov dword [edx + 0x1c], eax
mov dword [ecx + 0x30], eax
mov edx, dword [edx + 0xc]
mov ecx, edx
and ecx, 4
test ecx, ecx
je 0x10036276
mov ecx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x20]
mov ecx, dword [ecx + 0x14]
mov eax, esi
test ecx, ecx
jne 0x100377f7
mov ecx, esi
shr eax, 0x18
shl ecx, 0x18
add eax, ecx
mov ecx, esi
shr ecx, 8
and ecx, 0xff00
add eax, ecx
mov ecx, esi
shl ecx, 8
and ecx, 0xff0000
add eax, ecx
mov ecx, dword [ebp - 0x14]
cmp dword [ecx + 0x1c], eax
je 0x10036276
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.incorrect_data_check
mov eax, dword [ebp - 0x2c]
mov dword [ecx + 4], 0x3f51
mov dword [ebp - 0x24], eax
jmp case.0x100360f3.16209
lea edi, [esi + 3]
mov dword [ebp - 0x38], edi
cmp ebx, edi
jae 0x1003786b
test eax, eax
je 0x10037973
mov ecx, ebx
mov edx, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x38]
mov dword [ebp - 0x38], esi
mov edi, dword [ebp - 0x20]
jmp 0x10037850
test eax, eax
je 0x100371d0
movzx esi, byte [edx]
inc edx
dec eax
shl esi, cl
add ecx, 8
add edi, esi
cmp ecx, ebx
jb 0x10037848
mov dword [ebp - 0x1c], edx
mov esi, dword [ebp - 0x38]
mov ebx, ecx
mov dword [ebp - 0x20], edi
mov edi, dword [ebp - 0x20]
mov ecx, esi
shr edi, cl
mov ecx, edi
shr edi, 3
and ecx, 7
mov dword [ebp - 0x20], edi
xor edi, edi
lea edx, [ecx + 3]
mov ecx, 0xfffffffd
sub ecx, esi
mov dword [ebp - 0x38], edx
add ebx, ecx
jmp 0x10036b72
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], edx
sub ebx, 3
shr dword [ebp - 0x20], 3
mov dword [eax + 0x18], str.invalid_block_type
mov eax, dword [ebp - 0x14]
mov dword [eax + 4], 0x3f51
jmp case.0x100360f3.16209
mov dword [ebp - 0x18], esi
mov edi, dword [ebp - 0x3c]
mov esi, dword [ebp - 0x34]
mov dword [ebp - 0x20], ebx
mov ebx, ecx
cmp esi, 0x12
ja 0x100378fb
lea eax, [esi + esi + 0x10052d80]
mov esi, dword [ebp - 0x14]
mov ecx, 0x10052da6
lea esi, cs:[esi]
movzx edx, word [eax]
add eax, 2
mov word [esi + edx*2 + 0x74], 0
cmp ecx, eax
jne 0x100378e0
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x6c], 0x13
mov esi, dword [ebp - 0x14]
lea eax, [esi + 0x534]
mov dword [esi + 0x58], 7
mov dword [esi + 0x70], eax
mov dword [esi + 0x50], eax
lea eax, [esi + 0x2f4]
mov dword [esp + 0x14], eax
lea eax, [esi + 0x58]
mov dword [esp + 0x10], eax
lea eax, [esi + 0x70]
mov dword [esp + 0xc], eax
lea eax, [esi + 0x74]
mov dword [esp + 8], 0x13
mov dword [esp + 4], eax
mov dword [esp], 0
call sym._inflate_table
test eax, eax
je 0x10037c9d
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.invalid_code_lengths_set
mov dword [esi + 4], 0x3f51
jmp case.0x100360f3.16209
mov dword [ebp - 0x1c], edi
mov edi, dword [ebp - 0x4c]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x20], edx
jmp 0x100364f0
mov dword [ebp - 0x18], eax
mov edi, dword [ebp - 0x40]
jmp 0x100364f0
mov eax, dword [ebp - 0x34]
mov esi, dword [ebp - 0x14]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp + 4], eax
mov eax, dword [esi + 0x1c]
mov dword [esp], eax
call sym._crc32
mov dword [esi + 0x1c], eax
jmp 0x10036e4b
test dl, 0x40
je 0x10037be0
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], 0x1004f313
mov eax, dword [ebp - 0x14]
mov dword [eax + 4], 0x3f51
jmp case.0x100360f3.16209
mov dword [ebp - 0x20], ebx
mov edi, dword [ebp - 0x3c]
mov ebx, ecx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], esi
jmp 0x100364f0
mov dword [ebp - 0x20], 0
xor ebx, ebx
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x28], 1
mov dword [eax + 4], 0x3f50
jmp 0x100364f0
mov eax, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x14]
mov dword [esp + 8], 4
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x1c]
mov dword [esp], eax
call sym._crc32
mov dword [ebx + 0x1c], eax
jmp 0x10036c45
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.incorrect_header_check
mov eax, dword [ebp - 0x14]
mov dword [eax + 4], 0x3f51
jmp case.0x100360f3.16209
mov eax, dword [ebp - 0x14]
xor esi, esi
mov dword [eax + 0x6c], 0
mov dword [eax + 4], 0x3f45
jmp 0x100369bc
lea edi, [esi + 2]
mov dword [ebp - 0x38], edi
cmp ebx, edi
jae 0x10037a9b
test eax, eax
je 0x10037973
mov ecx, ebx
mov edx, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x38]
mov dword [ebp - 0x38], esi
mov edi, dword [ebp - 0x20]
jmp 0x10037a80
test eax, eax
je 0x100371d0
movzx esi, byte [edx]
inc edx
dec eax
shl esi, cl
add ecx, 8
add edi, esi
cmp ecx, ebx
jb 0x10037a78
mov dword [ebp - 0x1c], edx
mov esi, dword [ebp - 0x38]
mov ebx, ecx
mov dword [ebp - 0x20], edi
mov ecx, esi
sub ebx, esi
mov esi, dword [ebp - 0x3c]
shr dword [ebp - 0x20], cl
test esi, esi
je 0x10037e46
mov edx, dword [ebp - 0x3c]
mov edi, dword [ebp - 0x14]
sub ebx, 2
movzx edi, word [edi + edx*2 + 0x72]
mov edx, dword [ebp - 0x20]
mov ecx, edx
shr edx, 2
and ecx, 3
mov dword [ebp - 0x20], edx
add ecx, 3
mov dword [ebp - 0x38], ecx
jmp 0x10036b72
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x28], 0xfffffffc
mov dword [eax + 4], 0x3f52
jmp 0x10036610
movzx ecx, si
add edx, eax
mov esi, 0xffffffff
mov dword [ebp - 0x40], ecx
mov ecx, edx
shl esi, cl
mov ecx, eax
mov edx, esi
mov esi, dword [ebp - 0x20]
not edx
and esi, edx
mov dword [ebp - 0x44], edx
mov edx, esi
shr edx, cl
mov ecx, dword [ebp - 0x34]
add edx, dword [ebp - 0x40]
lea ecx, [ecx + edx*4]
movzx esi, word [ecx + 2]
movzx edx, byte [ecx]
movzx ecx, byte [ecx + 1]
mov word [ebp - 0x3c], si
mov dword [ebp - 0x38], ecx
add ecx, eax
mov dword [ebp - 0x48], ecx
cmp ebx, ecx
jae 0x10037ba6
mov edx, dword [ebp - 0x18]
test edx, edx
je 0x100364f0
mov dword [ebp - 0x48], edi
mov edi, dword [ebp - 0x1c]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x18]
jmp 0x10037b58
test eax, eax
je 0x10037ce9
movzx edx, byte [edi]
mov ecx, ebx
mov esi, dword [ebp - 0x34]
add ebx, 8
inc edi
dec eax
shl edx, cl
movzx ecx, byte [ebp - 0x38]
add dword [ebp - 0x20], edx
mov edx, dword [ebp - 0x20]
and edx, dword [ebp - 0x44]
shr edx, cl
add edx, dword [ebp - 0x40]
lea ecx, [esi + edx*4]
movzx esi, word [ecx + 2]
movzx edx, byte [ecx]
mov word [ebp - 0x3c], si
movzx esi, byte [ecx + 1]
mov ecx, dword [ebp - 0x38]
add ecx, esi
cmp ecx, ebx
ja 0x10037b50
mov dword [ebp - 0x1c], edi
mov edi, dword [ebp - 0x48]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x38], esi
mov esi, dword [ebp - 0x20]
mov ecx, eax
sub ebx, eax
shr esi, cl
mov eax, esi
mov esi, dword [ebp - 0x38]
mov ecx, esi
sub ebx, esi
shr eax, cl
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x48]
mov dword [ecx + 0x1bc8], eax
movzx eax, word [ebp - 0x3c]
mov dword [ecx + 0x44], eax
test dl, dl
jne 0x100372b6
jmp 0x10036fe2
mov eax, dword [ebp - 0x14]
and edx, 0xf
mov dword [eax + 0x4c], edx
mov dword [eax + 4], 0x3f49
jmp 0x10036626
mov edx, dword [ebp - 0x1c]
jmp 0x100363c2
mov eax, dword [ebp - 0x14]
cmp dword [ebp + 0xc], 6
mov dword [eax + 4], 0x3f47
jne case.0x100360f3.16199
mov dword [ebp - 0x28], 0
jmp 0x100364f0
mov eax, dword [ebp - 0x14]
mov edx, dword [eax + 0x24]
test edx, edx
je 0x10037c32
mov eax, dword [ebp - 0x20]
shr eax, 8
and eax, 1
mov dword [edx], eax
mov eax, dword [ebp - 0x14]
test byte [eax + 0x15], 2
je 0x10037c45
test byte [eax + 0xc], 4
jne 0x10037e19
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x20], 0
xor ebx, ebx
mov dword [eax + 4], 0x3f36
jmp 0x10036be5
movzx eax, word [ebp - 0x20]
mov dword [esp + 8], 2
mov word [ebp - 0x10], ax
lea eax, [ebp - 0x10]
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x1c]
mov dword [esp], eax
call sym._crc32
mov dword [ebp - 0x20], 0
mov dword [ebx + 0x1c], eax
mov eax, dword [ebx + 0x14]
xor ebx, ebx
jmp 0x10036dc3
call sym._adler32
jmp 0x100377a8
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x3c], 0
mov dword [eax + 0x6c], 0
mov dword [eax + 4], 0x3f46
jmp 0x10036a41
mov eax, dword [ebp + 8]
mov dword [ebp - 0x28], 2
mov dword [eax + 0xc], edi
mov edi, dword [ebp - 0x2c]
mov dword [eax + 0x10], edi
mov edi, dword [ebp - 0x1c]
mov dword [eax], edi
mov edi, dword [ebp - 0x18]
mov dword [eax + 4], edi
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x20]
mov dword [eax + 0x40], ebx
mov dword [eax + 0x3c], edi
jmp 0x10036610
mov dword [ebp - 0x1c], edi
mov edi, dword [ebp - 0x48]
mov dword [ebp - 0x18], eax
jmp 0x100364f0
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x28]
test ecx, ecx
jne 0x10037d08
mov dword [eax + 0x28], 0xf
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
call sym._crc32
mov ebx, dword [ebp - 0x14]
mov edx, 0xffff8b1f
mov word [ebp - 0x10], dx
lea edx, [ebp - 0x10]
mov dword [ebx + 0x1c], eax
mov dword [esp + 8], 2
mov dword [esp + 4], edx
mov dword [esp], eax
call sym._crc32
mov dword [ebx + 4], 0x3f35
mov dword [ebx + 0x1c], eax
xor ebx, ebx
mov dword [ebp - 0x20], 0
jmp 0x10036ea5
mov edx, dword [ebp - 0x14]
mov eax, edx
lea ecx, [edx + 0x70]
mov dword [edx + 0x58], 9
lea esi, [edx + 0x2f4]
add eax, 0x534
mov dword [ebp - 0x3c], ecx
mov dword [edx + 0x70], eax
mov dword [edx + 0x50], eax
mov eax, edx
lea edx, [edx + 0x74]
mov dword [esp + 0xc], ecx
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x34], esi
mov dword [esp + 0x14], esi
mov esi, eax
add eax, 0x58
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov dword [esp + 0x10], eax
mov dword [esp], 1
mov dword [ebp - 0x38], edx
call sym._inflate_table
mov edx, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x3c]
test eax, eax
je 0x10037ed8
mov edx, dword [ebp + 8]
mov dword [edx + 0x18], str.invalid_literal_lengths_set
mov dword [esi + 4], 0x3f51
jmp case.0x100360f3.16209
shr dword [ebp - 0x20], 4
mov eax, dword [ebp - 0x20]
sub ebx, 4
mov edx, dword [ebp - 0x14]
and eax, 0xf
mov ecx, eax
mov eax, dword [edx + 0x28]
add ecx, 8
test eax, eax
jne 0x10037e65
mov dword [edx + 0x28], ecx
cmp ecx, 0xf
jbe 0x10037e6e
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.invalid_window_size
mov eax, dword [ebp - 0x14]
mov dword [eax + 4], 0x3f51
jmp case.0x100360f3.16209
movzx eax, word [ebp - 0x20]
mov ebx, dword [ebp - 0x14]
mov dword [esp + 8], 2
mov word [ebp - 0x10], ax
lea eax, [ebp - 0x10]
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x1c]
mov dword [esp], eax
call sym._crc32
mov dword [ebx + 0x1c], eax
jmp 0x10037c45
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 8]
mov edi, dword [ebp - 0x40]
mov dword [eax + 0x18], str.invalid_bit_length_repeat
mov eax, dword [ebp - 0x14]
mov dword [eax + 4], 0x3f51
jmp case.0x100360f3.16209
cmp ecx, 0xf
ja 0x10037e00
cmp eax, ecx
jb 0x10037e00
mov ebx, dword [ebp - 0x14]
mov eax, 1
shl eax, cl
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x14], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
call sym._adler32
and dword [ebp - 0x20], 0x200
mov edx, dword [ebp + 8]
mov dword [ebx + 0x1c], eax
mov dword [edx + 0x30], eax
jne 0x10037f39
mov dword [ebx + 4], 0x3f3f
xor ebx, ebx
jmp case.0x100360f3.16191
mov dword [ebp - 0x28], 0
sub ebx, 3
mov dword [ebp - 0x1c], edx
shr dword [ebp - 0x20], 3
jmp 0x100364f0
mov esi, dword [ebp - 0x14]
mov eax, dword [esi + 0x70]
mov dword [esi + 0x5c], 6
mov dword [esi + 0x54], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x14], eax
lea eax, [esi + 0x5c]
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x68]
mov dword [esp + 8], eax
mov eax, dword [esi + 0x64]
mov dword [esp], 2
mov dword [ebp - 0x34], eax
add eax, eax
add eax, edx
mov dword [esp + 4], eax
call sym._inflate_table
test eax, eax
je 0x10037bfd
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.invalid_distances_set
mov dword [esi + 4], 0x3f51
jmp case.0x100360f3.16209
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x20], 0
xor ebx, ebx
mov dword [eax + 4], 0x3f3d
jmp 0x10036105