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

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
sub esp, 0x30
push ebx
push esi
push edi
mov eax, edx
call fcn.00436f42
test eax, eax
jne case.default.0x437200
xor ecx, ecx
cmp dword [edx + 0xc], ecx
je case.default.0x437200
cmp dword [edx], ecx
jne 0x4371bc
cmp dword [edx + 4], ecx
jne case.default.0x437200
mov edi, dword [edx + 0x1c]
cmp dword [edi + 4], 0x3f3f
jne 0x4371cf
mov dword [edi + 4], 0x3f40
mov eax, dword [edx + 0xc]
mov esi, dword [edi + 0x40]
mov ebx, dword [edi + 0x3c]
mov dword [ebp - 0x1c], eax
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [edx]
mov dword [ebp - 4], eax
mov eax, dword [edx + 4]
mov dword [ebp - 8], eax
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x28], ecx
jmp 0x437282
jmp dword [eax*4 + 0x438479]
cmp dword [edi + 0xc], 0
jne 0x437238
mov dword [edi + 4], 0x3f40
jmp 0x437282
cmp dword [ebp - 8], 0
je 0x438369
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
dec dword [ebp - 8]
mov ecx, esi
shl eax, cl
add ebx, eax
inc dword [ebp - 4]
add esi, 8
mov dword [ebp - 0xc], esi
cmp esi, 0x10
jb 0x437216
test byte [edi + 0xc], 2
je 0x43729b
cmp ebx, 0x8b1f
jne 0x43729b
cmp dword [edi + 0x28], 0
jne 0x437258
mov dword [edi + 0x28], 0xf
xor esi, esi
push 2
lea edx, [ebp - 0x18]
xor eax, eax
mov dword [edi + 0x1c], esi
mov word [ebp - 0x18], 0x8b1f
call fcn.00438b1c
pop ecx
mov dword [edi + 0x1c], eax
xor ebx, ebx
mov dword [ebp - 0xc], esi
mov dword [edi + 4], 0x3f35
mov edx, dword [ebp + 8]
mov eax, dword [edi + 4]
sub eax, 0x3f34
cmp eax, 0x1e
jbe switch.0x00437200
push 0xfffffffffffffffe
pop eax
pop edi
pop esi
pop ebx
leave
ret
mov eax, dword [edi + 0x24]
and dword [edi + 0x14], 0
test eax, eax
je 0x4372aa
or dword [eax + 0x30], 0xffffffff
test byte [edi + 0xc], 1
je 0x43734b
movzx eax, bl
shl eax, 8
mov ecx, ebx
shr ecx, 8
add eax, ecx
push 0x1f
xor edx, edx
pop ecx
div ecx
test edx, edx
jne 0x43734b
mov eax, ebx
and al, 0xf
cmp al, 8
je 0x4372e9
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.unknown_compression_method
mov dword [edi + 4], 0x3f51
mov edx, eax
jmp 0x437282
shr ebx, 4
mov ecx, ebx
and ecx, 0xf
sub esi, 4
add ecx, 8
cmp dword [edi + 0x28], 0
mov dword [ebp - 0xc], esi
jne 0x437303
mov dword [edi + 0x28], ecx
cmp ecx, 0xf
ja 0x43733f
cmp ecx, dword [edi + 0x28]
ja 0x43733f
xor eax, eax
inc eax
shr ebx, 8
mov edx, eax
shl edx, cl
mov ecx, dword [ebp + 8]
not ebx
and ebx, 2
or ebx, 0x3f3d
mov dword [edi + 0x18], edx
mov dword [edi + 0x1c], eax
mov dword [ecx + 0x30], eax
mov dword [edi + 4], ebx
xor ebx, ebx
xor esi, esi
mov dword [ebp - 0xc], esi
mov edx, ecx
jmp 0x437282
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.invalid_window_size
jmp 0x4372de
mov edx, dword [ebp + 8]
mov dword [edx + 0x18], str.incorrect_header_check
mov dword [edi + 4], 0x3f51
jmp 0x437282
cmp dword [ebp - 8], 0
je 0x438369
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
dec dword [ebp - 8]
mov ecx, esi
shl eax, cl
add ebx, eax
inc dword [ebp - 4]
add esi, 8
mov dword [ebp - 0xc], esi
cmp esi, 0x10
jb 0x437361
mov dword [edi + 0x14], ebx
cmp bl, 8
je 0x437399
mov dword [edx + 0x18], str.unknown_compression_method
jmp 0x437355
test ebx, 0xe000
je 0x4373aa
mov dword [edx + 0x18], str.unknown_header_flags_set
jmp 0x437355
mov eax, dword [edi + 0x24]
test eax, eax
je 0x4373bb
mov ecx, ebx
shr ecx, 8
and ecx, 1
mov dword [eax], ecx
test dword [edi + 0x14], 0x200
je 0x4373e7
test byte [edi + 0xc], 4
je 0x4373e7
mov eax, dword [edi + 0x1c]
mov byte [ebp - 0x18], bl
shr ebx, 8
push 2
lea edx, [ebp - 0x18]
mov byte [ebp - 0x17], bl
call fcn.00438b1c
mov edx, dword [ebp + 8]
pop ecx
mov dword [edi + 0x1c], eax
xor ebx, ebx
xor esi, esi
mov dword [edi + 4], 0x3f36
jmp case.0x437200.16182
cmp dword [ebp - 8], 0
je 0x438369
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
dec dword [ebp - 8]
mov ecx, esi
shl eax, cl
add ebx, eax
inc dword [ebp - 4]
add esi, 8
cmp esi, 0x20
jb 0x4373f4
mov eax, dword [edi + 0x24]
test eax, eax
je 0x437422
mov dword [eax + 4], ebx
test dword [edi + 0x14], 0x200
je 0x43745e
test byte [edi + 0xc], 4
je 0x43745e
mov eax, ebx
shr eax, 8
mov byte [ebp - 0x17], al
mov eax, ebx
shr eax, 0x10
mov byte [ebp - 0x18], bl
mov byte [ebp - 0x16], al
mov eax, dword [edi + 0x1c]
shr ebx, 0x18
push 4
lea edx, [ebp - 0x18]
mov byte [ebp - 0x15], bl
call fcn.00438b1c
mov edx, dword [ebp + 8]
pop ecx
mov dword [edi + 0x1c], eax
xor ebx, ebx
xor esi, esi
mov dword [edi + 4], 0x3f37
jmp case.0x437200.16183
cmp dword [ebp - 8], 0
je 0x438369
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
dec dword [ebp - 8]
mov ecx, esi
shl eax, cl
add ebx, eax
inc dword [ebp - 4]
add esi, 8
cmp esi, 0x10
jb 0x43746b
mov eax, dword [edi + 0x24]
test eax, eax
je 0x4374ac
mov ecx, ebx
and ecx, 0xff
mov dword [eax + 8], ecx
mov ecx, dword [edi + 0x24]
mov eax, ebx
shr eax, 8
mov dword [ecx + 0xc], eax
test dword [edi + 0x14], 0x200
je 0x4374d8
test byte [edi + 0xc], 4
je 0x4374d8
mov eax, dword [edi + 0x1c]
mov byte [ebp - 0x18], bl
shr ebx, 8
push 2
lea edx, [ebp - 0x18]
mov byte [ebp - 0x17], bl
call fcn.00438b1c
mov edx, dword [ebp + 8]
pop ecx
mov dword [edi + 0x1c], eax
xor ebx, ebx
xor esi, esi
mov dword [ebp - 0xc], esi
mov dword [edi + 4], 0x3f38
test dword [edi + 0x14], 0x400
jne 0x43757a
mov eax, dword [edi + 0x24]
test eax, eax
je 0x4374fe
and dword [eax + 0x10], 0
mov dword [edi + 4], 0x3f39
test dword [edi + 0x14], 0x400
je 0x437617
mov eax, dword [edi + 0x44]
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x10], eax
cmp eax, ecx
jbe 0x437522
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 0
je 0x43760d
mov ecx, dword [edi + 0x24]
test ecx, ecx
je 0x4375dc
mov eax, dword [ecx + 0x10]
mov dword [ebp - 0x24], eax
test eax, eax
je 0x4375dc
mov eax, dword [ecx + 0x14]
sub eax, dword [edi + 0x44]
mov edx, dword [ebp - 0x10]
mov ecx, dword [ecx + 0x18]
add edx, eax
cmp edx, ecx
jbe 0x4375c4
sub ecx, eax
jmp 0x4375c7
cmp dword [ebp - 8], 0
je 0x438369
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
dec dword [ebp - 8]
mov ecx, esi
shl eax, cl
add ebx, eax
inc dword [ebp - 4]
add esi, 8
cmp esi, 0x10
jb 0x43755b
mov eax, dword [edi + 0x24]
mov dword [edi + 0x44], ebx
test eax, eax
je 0x43758c
mov dword [eax + 0x14], ebx
test dword [edi + 0x14], 0x200
je 0x4375b8
test byte [edi + 0xc], 4
je 0x4375b8
mov eax, dword [edi + 0x1c]
mov byte [ebp - 0x18], bl
shr ebx, 8
push 2
lea edx, [ebp - 0x18]
mov byte [ebp - 0x17], bl
call fcn.00438b1c
mov edx, dword [ebp + 8]
pop ecx
mov dword [edi + 0x1c], eax
xor ebx, ebx
xor esi, esi
mov dword [ebp - 0xc], esi
jmp 0x4374fe
mov ecx, dword [ebp - 0x10]
push ecx
mov ecx, dword [ebp - 0x24]
push dword [ebp - 4]
add ecx, eax
push ecx
call fcn.0043a3f0
mov edx, dword [ebp + 8]
add esp, 0xc
test dword [edi + 0x14], 0x200
je 0x437601
test byte [edi + 0xc], 4
je 0x437601
push dword [ebp - 0x10]
mov edx, dword [ebp - 4]
push dword [edi + 0x1c]
call fcn.00438b06
mov edx, dword [ebp + 8]
pop ecx
pop ecx
mov dword [edi + 0x1c], eax
mov eax, dword [ebp - 0x10]
sub dword [ebp - 8], eax
add dword [ebp - 4], eax
sub dword [edi + 0x44], eax
cmp dword [edi + 0x44], 0
jne 0x438369
and dword [edi + 0x44], 0
mov dword [edi + 4], 0x3f3a
test dword [edi + 0x14], 0x800
je 0x4376bd
cmp dword [ebp - 8], 0
je 0x438369
and dword [ebp - 0x10], 0
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
movzx eax, byte [ecx + eax]
inc dword [ebp - 0x10]
mov dword [ebp - 0x24], eax
mov eax, dword [edi + 0x24]
test eax, eax
je 0x437675
mov ecx, dword [eax + 0x1c]
mov dword [ebp - 0x30], ecx
test ecx, ecx
je 0x437675
mov ecx, dword [edi + 0x44]
cmp ecx, dword [eax + 0x20]
jae 0x437675
mov dl, byte [ebp - 0x24]
mov eax, dword [ebp - 0x30]
mov byte [eax + ecx], dl
inc dword [edi + 0x44]
mov edx, dword [ebp + 8]
cmp dword [ebp - 0x24], 0
je 0x437683
mov eax, dword [ebp - 8]
cmp dword [ebp - 0x10], eax
jb 0x43763d
test dword [edi + 0x14], 0x200
je 0x4376a8
test byte [edi + 0xc], 4
je 0x4376a8
push dword [ebp - 0x10]
mov edx, dword [ebp - 4]
push dword [edi + 0x1c]
call fcn.00438b06
mov edx, dword [ebp + 8]
pop ecx
pop ecx
mov dword [edi + 0x1c], eax
mov eax, dword [ebp - 0x10]
sub dword [ebp - 8], eax
add dword [ebp - 4], eax
cmp dword [ebp - 0x24], 0
jne 0x438369
jmp 0x4376c8
mov eax, dword [edi + 0x24]
test eax, eax
je 0x4376c8
and dword [eax + 0x1c], 0
and dword [edi + 0x44], 0
mov dword [edi + 4], 0x3f3b
test dword [edi + 0x14], 0x1000
je 0x43776e
cmp dword [ebp - 8], 0
je 0x438369
and dword [ebp - 0x10], 0
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
movzx eax, byte [ecx + eax]
inc dword [ebp - 0x10]
mov dword [ebp - 0x24], eax
mov eax, dword [edi + 0x24]
test eax, eax
je 0x437726
mov ecx, dword [eax + 0x24]
mov dword [ebp - 0x30], ecx
test ecx, ecx
je 0x437726
mov ecx, dword [edi + 0x44]
cmp ecx, dword [eax + 0x28]
jae 0x437726
mov dl, byte [ebp - 0x24]
mov eax, dword [ebp - 0x30]
mov byte [eax + ecx], dl
inc dword [edi + 0x44]
mov edx, dword [ebp + 8]
cmp dword [ebp - 0x24], 0
je 0x437734
mov eax, dword [ebp - 8]
cmp dword [ebp - 0x10], eax
jb 0x4376ee
test dword [edi + 0x14], 0x200
je 0x437759
test byte [edi + 0xc], 4
je 0x437759
push dword [ebp - 0x10]
mov edx, dword [ebp - 4]
push dword [edi + 0x1c]
call fcn.00438b06
mov edx, dword [ebp + 8]
pop ecx
pop ecx
mov dword [edi + 0x1c], eax
mov eax, dword [ebp - 0x10]
sub dword [ebp - 8], eax
add dword [ebp - 4], eax
cmp dword [ebp - 0x24], 0
jne 0x438369
jmp 0x437779
mov eax, dword [edi + 0x24]
test eax, eax
je 0x437779
and dword [eax + 0x24], 0
mov dword [edi + 4], 0x3f3c
test dword [edi + 0x14], 0x200
je 0x4377d3
jmp 0x4377ad
cmp dword [ebp - 8], 0
je 0x438369
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
dec dword [ebp - 8]
mov ecx, esi
shl eax, cl
add ebx, eax
inc dword [ebp - 4]
add esi, 8
mov dword [ebp - 0xc], esi
cmp esi, 0x10
jb 0x43778b
test byte [edi + 0xc], 4
je 0x4377cc
movzx eax, word [edi + 0x1c]
cmp ebx, eax
je 0x4377cc
mov dword [edx + 0x18], str.header_crc_mismatch
jmp 0x437355
xor ebx, ebx
xor esi, esi
mov dword [ebp - 0xc], esi
mov eax, dword [edi + 0x24]
test eax, eax
je 0x4377f0
mov ecx, dword [edi + 0x14]
sar ecx, 9
and ecx, 1
mov dword [eax + 0x2c], ecx
mov eax, dword [edi + 0x24]
mov dword [eax + 0x30], 1
and dword [edi + 0x1c], 0
and dword [edx + 0x30], 0
mov dword [edi + 4], 0x3f3f
jmp 0x437282
cmp dword [ebp - 8], 0
je 0x438369
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
dec dword [ebp - 8]
mov ecx, esi
shl eax, cl
add ebx, eax
inc dword [ebp - 4]
add esi, 8
cmp esi, 0x20
jb 0x437804
mov ecx, ebx
mov esi, ebx
mov eax, 0xff00
and ecx, eax
shl esi, 0x10
add ecx, esi
mov esi, ebx
shr esi, 8
and eax, esi
shl ecx, 8
shr ebx, 0x18
add eax, ecx
add eax, ebx
mov dword [edi + 0x1c], eax
mov dword [edx + 0x30], eax
xor ebx, ebx
xor esi, esi
mov dword [edi + 4], 0x3f3e
cmp dword [edi + 0x10], 0
je 0x438325
xor eax, eax
inc eax
mov dword [edi + 0x1c], eax
mov dword [edx + 0x30], eax
mov dword [edi + 4], 0x3f3f
cmp dword [edi + 8], 0
je 0x4378b1
mov ecx, esi
and ecx, 7
shr ebx, cl
sub esi, ecx
mov dword [ebp - 0xc], esi
mov dword [edi + 4], 0x3f4e
jmp 0x437282
cmp dword [ebp - 8], 0
je 0x438369
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
dec dword [ebp - 8]
mov ecx, esi
shl eax, cl
add ebx, eax
inc dword [ebp - 4]
add esi, 8
cmp esi, 3
jb 0x437892
mov eax, ebx
and eax, 1
mov dword [edi + 8], eax
shr ebx, 1
mov eax, ebx
and eax, 3
sub eax, 0
je 0x437911
dec eax
je 0x4378ec
dec eax
je 0x4378e3
dec eax
jne 0x437918
mov dword [edx + 0x18], str.invalid_block_type
mov dword [edi + 4], 0x3f51
jmp 0x437918
mov dword [edi + 4], 0x3f44
jmp 0x437918
mov dword [edi + 0x50], 0x4629f0
mov dword [edi + 0x58], 9
mov dword [edi + 0x54], 0x4631f0
mov dword [edi + 0x5c], 5
mov dword [edi + 4], 0x3f47
jmp 0x437918
mov dword [edi + 4], 0x3f41
shr ebx, 2
sub esi, 3
mov dword [ebp - 0xc], esi
jmp 0x437282
mov ecx, esi
and ecx, 7
shr ebx, cl
sub esi, ecx
jmp 0x437950
cmp dword [ebp - 8], 0
je 0x438369
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
dec dword [ebp - 8]
mov ecx, esi
shl eax, cl
add ebx, eax
inc dword [ebp - 4]
add esi, 8
mov dword [ebp - 0xc], esi
cmp esi, 0x20
jb 0x437931
mov ecx, ebx
mov eax, ebx
not ecx
and eax, 0xffff
shr ecx, 0x10
cmp eax, ecx
je 0x437976
mov dword [edx + 0x18], str.invalid_stored_block_lengths
jmp 0x437355
xor ebx, ebx
xor esi, esi
mov dword [edi + 0x44], eax
mov dword [ebp - 0xc], esi
mov dword [edi + 4], 0x3f42
mov dword [edi + 4], 0x3f43
mov eax, dword [edi + 0x44]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x4377f8
mov eax, dword [ebp - 8]
cmp dword [ebp - 0x10], eax
jbe 0x4379a7
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x10], eax
jbe 0x4379b2
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x438369
push dword [ebp - 0x10]
push dword [ebp - 4]
push dword [ebp - 0x1c]
call fcn.0043a3f0
mov eax, dword [ebp - 0x10]
sub dword [ebp - 8], eax
add dword [ebp - 4], eax
sub dword [ebp - 0x14], eax
add dword [ebp - 0x1c], eax
add esp, 0xc
sub dword [edi + 0x44], eax
jmp 0x43727f
cmp dword [ebp - 8], 0
je 0x438369
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
dec dword [ebp - 8]
mov ecx, esi
shl eax, cl
add ebx, eax
inc dword [ebp - 4]
add esi, 8
cmp esi, 0xe
jb 0x4379e4
mov eax, ebx
and eax, 0x1f
add eax, 0x101
mov dword [edi + 0x64], eax
shr ebx, 5
mov eax, ebx
and eax, 0x1f
inc eax
shr ebx, 5
mov dword [edi + 0x68], eax
mov eax, ebx
and eax, 0xf
add eax, 4
sub esi, 0xe
shr ebx, 4
cmp dword [edi + 0x64], 0x11e
mov dword [edi + 0x60], eax
mov dword [ebp - 0xc], esi
ja 0x437a54
cmp dword [edi + 0x68], 0x1e
ja 0x437a54
and dword [edi + 0x6c], 0
mov dword [edi + 4], 0x3f45
jmp case.0x437200.16197
mov dword [edx + 0x18], str.too_many_length_or_distance_symbols
jmp 0x437355
cmp dword [ebp - 8], 0
je 0x438369
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
dec dword [ebp - 8]
mov ecx, esi
shl eax, cl
add ebx, eax
inc dword [ebp - 4]
add esi, 8
cmp esi, 3
jb 0x437a60
mov ecx, dword [edi + 0x6c]
movzx ecx, word [ecx*2 + 0x463270]
mov eax, ebx
and eax, 7
mov word [edi + ecx*2 + 0x74], ax
inc dword [edi + 0x6c]
shr ebx, 3
sub esi, 3
mov dword [ebp - 0xc], esi
mov eax, dword [edi + 0x6c]
cmp eax, dword [edi + 0x60]
jb 0x437a7f
jmp 0x437ac4
mov eax, dword [edi + 0x6c]
movzx eax, word [eax*2 + 0x463270]
xor ecx, ecx
mov word [edi + eax*2 + 0x74], cx
inc dword [edi + 0x6c]
cmp dword [edi + 0x6c], 0x13
jb 0x437aaf
lea eax, [edi + 0x534]
lea esi, [edi + 0x70]
mov dword [esi], eax
mov dword [edi + 0x50], eax
lea eax, [edi + 0x2f4]
push eax
push 0x13
lea eax, [edi + 0x74]
push eax
lea ecx, [edi + 0x58]
push 0
mov dword [ecx], 7
call fcn.00438da6
mov esi, dword [ebp - 0xc]
add esp, 0x10
mov dword [ebp - 0x28], eax
test eax, eax
je 0x437b11
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.invalid_code_lengths_set
jmp 0x4372de
and dword [edi + 0x6c], 0
mov dword [edi + 4], 0x3f46
jmp 0x437caf
cmp dword [ebp - 8], 0
je 0x438369
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
dec dword [ebp - 8]
mov ecx, esi
shl eax, cl
add ebx, eax
inc dword [ebp - 4]
add esi, 8
mov ecx, dword [edi + 0x58]
xor eax, eax
inc eax
shl eax, cl
mov ecx, dword [edi + 0x50]
dec eax
and eax, ebx
mov ecx, dword [ecx + eax*4]
mov eax, ecx
shr eax, 8
movzx eax, al
mov dword [ebp - 0x24], ecx
cmp eax, esi
ja 0x437b21
mov eax, ecx
shr eax, 0x10
mov dword [ebp - 0x30], eax
cmp ax, 0x10
jae 0x437b8f
mov eax, dword [edi + 0x6c]
shr ecx, 8
movzx ecx, cl
sub esi, ecx
shr ebx, cl
mov cx, word [ebp - 0x30]
mov word [edi + eax*2 + 0x74], cx
inc dword [edi + 0x6c]
mov dword [ebp - 0xc], esi
jmp case.0x437200.16198
jne 0x437bf7
mov eax, ecx
shr eax, 8
movzx eax, al
jmp 0x437bc0
cmp dword [ebp - 8], 0
je 0x438369
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
dec dword [ebp - 8]
mov ecx, esi
shl eax, cl
mov ecx, dword [ebp - 0x24]
add ebx, eax
inc dword [ebp - 4]
add esi, 8
movzx eax, ch
add eax, 2
cmp esi, eax
jb 0x437b9b
mov eax, dword [edi + 0x6c]
movzx ecx, ch
sub esi, ecx
shr ebx, cl
mov dword [ebp - 0xc], esi
test eax, eax
je 0x437cc3
movzx eax, word [edi + eax*2 + 0x72]
mov dword [ebp - 0x24], eax
mov eax, ebx
and eax, 3
add eax, 3
shr ebx, 2
sub esi, 2
jmp 0x437c87
cmp word [ebp - 0x22], 0x11
movzx eax, ch
mov dword [ebp - 0x24], eax
jne 0x437c65
jmp 0x437c28
cmp dword [ebp - 8], 0
je 0x438369
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
dec dword [ebp - 8]
mov ecx, esi
shl eax, cl
add ebx, eax
inc dword [ebp - 4]
mov eax, dword [ebp - 0x24]
add esi, 8
add eax, 3
cmp esi, eax
jb 0x437c06
mov ecx, dword [ebp - 0x24]
shr ebx, cl
push 0xfffffffffffffffd
mov eax, ebx
and eax, 7
add eax, 3
shr ebx, 3
jmp 0x437c7e
cmp dword [ebp - 8], 0
je 0x438369
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
dec dword [ebp - 8]
mov ecx, esi
shl eax, cl
add ebx, eax
inc dword [ebp - 4]
mov eax, dword [ebp - 0x24]
add esi, 8
add eax, 7
cmp esi, eax
jb 0x437c43
mov ecx, dword [ebp - 0x24]
shr ebx, cl
push 0xfffffffffffffff9
mov eax, ebx
and eax, 0x7f
add eax, 0xb
shr ebx, 7
and dword [ebp - 0x24], 0
pop edx
sub edx, ecx
add esi, edx
mov ecx, dword [edi + 0x68]
mov edx, dword [edi + 0x6c]
add ecx, dword [edi + 0x64]
add edx, eax
mov dword [ebp - 0xc], esi
cmp edx, ecx
ja 0x437ccf
test eax, eax
je 0x437caf
mov ecx, dword [edi + 0x6c]
mov dx, word [ebp - 0x24]
mov word [edi + ecx*2 + 0x74], dx
inc dword [edi + 0x6c]
dec eax
jne 0x437c9d
mov edx, dword [ebp + 8]
mov eax, dword [edi + 0x68]
add eax, dword [edi + 0x64]
cmp dword [edi + 0x6c], eax
jb 0x437b40
jmp 0x437ce0
mov dword [edx + 0x18], str.invalid_bit_length_repeat
jmp 0x437355
mov edx, dword [ebp + 8]
mov dword [edx + 0x18], str.invalid_bit_length_repeat
mov dword [edi + 4], 0x3f51
cmp dword [edi + 4], 0x3f51
je 0x437282
cmp word [edi + 0x274], 0
jne 0x437d03
mov dword [edx + 0x18], str.invalid_code____missing_end_of_block
jmp 0x437355
lea eax, [edi + 0x534]
lea esi, [edi + 0x70]
mov dword [esi], eax
mov dword [edi + 0x50], eax
lea eax, [edi + 0x2f4]
push eax
push dword [edi + 0x64]
lea eax, [edi + 0x74]
push eax
lea ecx, [edi + 0x58]
push 1
mov dword [ecx], 9
call fcn.00438da6
add esp, 0x10
mov dword [ebp - 0x28], eax
test eax, eax
je 0x437d4b
mov eax, dword [ebp + 8]
mov esi, dword [ebp - 0xc]
mov dword [eax + 0x18], str.invalid_literal_lengths_set
jmp 0x4372de
mov eax, dword [esi]
mov dword [edi + 0x54], eax
lea eax, [edi + 0x2f4]
push eax
push dword [edi + 0x68]
mov eax, dword [edi + 0x64]
lea eax, [edi + eax*2 + 0x74]
push eax
lea ecx, [edi + 0x5c]
push 2
mov dword [ecx], 6
call fcn.00438da6
mov esi, dword [ebp - 0xc]
add esp, 0x10
mov dword [ebp - 0x28], eax
test eax, eax
je 0x437d8e
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.invalid_distances_set
jmp 0x4372de
mov edx, dword [ebp + 8]
mov dword [edi + 4], 0x3f47
mov dword [edi + 4], 0x3f48
cmp dword [ebp - 8], 6
jb 0x437e18
cmp dword [ebp - 0x14], 0x102
jb 0x437e18
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x1c]
push dword [ebp - 0x20]
mov dword [eax + 0xc], ecx
mov ecx, dword [ebp - 0x14]
mov dword [eax + 0x10], ecx
mov ecx, dword [ebp - 4]
mov dword [eax], ecx
mov ecx, dword [ebp - 8]
mov dword [eax + 4], ecx
push eax
mov dword [edi + 0x3c], ebx
mov dword [edi + 0x40], esi
call fcn.00438744
cmp dword [edi + 4], 0x3f3f
mov eax, dword [ebp + 8]
mov esi, dword [edi + 0x40]
mov ebx, dword [edi + 0x3c]
mov edx, dword [ebp + 8]
pop ecx
pop ecx
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x14], ecx
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 4], ecx
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esi
jne 0x437282
or dword [edi + 0x1bc8], 0xffffffff
jmp 0x437282
mov ecx, dword [edi + 0x58]
and dword [edi + 0x1bc8], 0
xor eax, eax
inc eax
shl eax, cl
dec eax
and eax, ebx
mov ecx, eax
mov eax, dword [edi + 0x50]
mov eax, dword [eax + ecx*4]
jmp 0x437e64
cmp dword [ebp - 8], 0
je 0x438369
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
dec dword [ebp - 8]
mov ecx, esi
shl eax, cl
mov ecx, dword [edi + 0x58]
add esi, 8
add ebx, eax
inc dword [ebp - 4]
xor eax, eax
inc eax
shl eax, cl
mov ecx, dword [edi + 0x50]
dec eax
and eax, ebx
mov eax, dword [ecx + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, esi
ja 0x437e34
test al, al
je 0x437f14
test al, 0xf0
jne 0x437f14
mov dword [ebp - 0x24], eax
shr dword [ebp - 0x24], 8
movzx edx, byte [ebp - 0x24]
mov dword [ebp - 0xc], edx
movzx ecx, al
add ecx, edx
xor edx, edx
inc edx
shl edx, cl
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
shr eax, 0x10
dec edx
and edx, ebx
shr edx, cl
add edx, eax
mov eax, dword [edi + 0x50]
mov eax, dword [eax + edx*4]
movzx edx, byte [ebp - 0x24]
jmp 0x437ef5
cmp dword [ebp - 8], 0
je 0x438366
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
movzx edx, byte [ebp - 0xf]
dec dword [ebp - 8]
mov ecx, esi
shl eax, cl
movzx ecx, byte [ebp - 0x10]
add ebx, eax
inc dword [ebp - 4]
xor eax, eax
add ecx, edx
inc eax
shl eax, cl
add esi, 8
mov ecx, edx
dec eax
and eax, ebx
shr eax, cl
movzx ecx, word [ebp - 0xe]
add eax, ecx
mov ecx, dword [edi + 0x50]
mov eax, dword [ecx + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add ecx, edx
cmp ecx, esi
ja 0x437eb4
movzx ecx, byte [ebp - 0xf]
mov edx, dword [ebp + 8]
shr ebx, cl
sub esi, ecx
mov dword [edi + 0x1bc8], ecx
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add dword [edi + 0x1bc8], ecx
sub esi, ecx
mov dword [ebp - 0xc], ecx
shr ebx, cl
mov ecx, eax
shr ecx, 0x10
mov dword [ebp - 0xc], esi
mov dword [edi + 0x44], ecx
test al, al
jne 0x437f44
mov dword [edi + 4], 0x3f4d
jmp 0x437282
test al, 0x20
je 0x437f54
or dword [edi + 0x1bc8], 0xffffffff
jmp 0x4377f8
test al, 0x40
je 0x437f64
mov dword [edx + 0x18], str.invalid_literal_length_code
jmp 0x437355
movzx eax, al
and eax, 0xf
mov dword [edi + 0x4c], eax
mov dword [edi + 4], 0x3f49
mov eax, dword [edi + 0x4c]
test eax, eax
je 0x437fbb
cmp esi, eax
jae 0x437fa3
cmp dword [ebp - 8], 0
je 0x438369
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
dec dword [ebp - 8]
mov ecx, esi
shl eax, cl
add esi, 8
add ebx, eax
inc dword [ebp - 4]
cmp esi, dword [edi + 0x4c]
jb 0x437f7f
mov ecx, dword [edi + 0x4c]
xor eax, eax
inc eax
shl eax, cl
sub esi, ecx
dec eax
and eax, ebx
add dword [edi + 0x44], eax
shr ebx, cl
add dword [edi + 0x1bc8], ecx
mov eax, dword [edi + 0x44]
mov dword [edi + 0x1bcc], eax
mov dword [edi + 4], 0x3f4a
mov ecx, dword [edi + 0x5c]
xor eax, eax
inc eax
shl eax, cl
dec eax
and eax, ebx
mov ecx, eax
mov eax, dword [edi + 0x54]
mov eax, dword [eax + ecx*4]
jmp 0x438010
cmp dword [ebp - 8], 0
je 0x438369
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
dec dword [ebp - 8]
mov ecx, esi
shl eax, cl
mov ecx, dword [edi + 0x5c]
add esi, 8
add ebx, eax
inc dword [ebp - 4]
xor eax, eax
inc eax
shl eax, cl
mov ecx, dword [edi + 0x54]
dec eax
and eax, ebx
mov eax, dword [ecx + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, esi
ja 0x437fe0
test al, 0xf0
jne 0x4380b8
mov dword [ebp - 0x24], eax
shr dword [ebp - 0x24], 8
movzx edx, byte [ebp - 0x24]
mov dword [ebp - 0xc], edx
movzx ecx, al
add ecx, edx
xor edx, edx
inc edx
shl edx, cl
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
shr eax, 0x10
dec edx
and edx, ebx
shr edx, cl
add edx, eax
mov eax, dword [edi + 0x54]
mov eax, dword [eax + edx*4]
movzx edx, byte [ebp - 0x24]
jmp 0x438099
cmp dword [ebp - 8], 0
je 0x438366
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
movzx edx, byte [ebp - 0xf]
dec dword [ebp - 8]
mov ecx, esi
shl eax, cl
movzx ecx, byte [ebp - 0x10]
add ebx, eax
inc dword [ebp - 4]
xor eax, eax
add ecx, edx
inc eax
shl eax, cl
add esi, 8
mov ecx, edx
dec eax
and eax, ebx
shr eax, cl
movzx ecx, word [ebp - 0xe]
add eax, ecx
mov ecx, dword [edi + 0x54]
mov eax, dword [ecx + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add ecx, edx
cmp ecx, esi
ja 0x438058
movzx ecx, byte [ebp - 0xf]
mov edx, dword [ebp + 8]
shr ebx, cl
sub esi, ecx
add dword [edi + 0x1bc8], ecx
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add dword [edi + 0x1bc8], ecx
sub esi, ecx
shr ebx, cl
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0xc], esi
test al, 0x40
je 0x4380e0
mov dword [edx + 0x18], str.invalid_distance_code
jmp 0x437355
mov ecx, eax
movzx eax, al
shr ecx, 0x10
and eax, 0xf
mov dword [edi + 0x48], ecx
mov dword [edi + 0x4c], eax
mov dword [edi + 4], 0x3f4b
mov eax, dword [edi + 0x4c]
test eax, eax
je 0x438142
cmp esi, eax
jae 0x438127
cmp dword [ebp - 8], 0
je 0x438369
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
dec dword [ebp - 8]
mov ecx, esi
shl eax, cl
add esi, 8
add ebx, eax
inc dword [ebp - 4]
cmp esi, dword [edi + 0x4c]
jb 0x438103
mov ecx, dword [edi + 0x4c]
xor eax, eax
inc eax
shl eax, cl
sub esi, ecx
mov dword [ebp - 0xc], esi
dec eax
and eax, ebx
add dword [edi + 0x48], eax
shr ebx, cl
add dword [edi + 0x1bc8], ecx
mov dword [edi + 4], 0x3f4c
cmp dword [ebp - 0x14], 0
je 0x438369
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x14]
mov ecx, dword [edi + 0x48]
cmp ecx, eax
jbe 0x4381a1
sub ecx, eax
cmp ecx, dword [edi + 0x30]
jbe 0x43817c
cmp dword [edi + 0x1bc4], 0
je 0x43817c
mov dword [edx + 0x18], str.invalid_distance_too_far_back
jmp 0x437355
mov edx, dword [edi + 0x34]
mov eax, dword [edi + 0x38]
cmp ecx, edx
jbe 0x43818f
add eax, dword [edi + 0x2c]
sub ecx, edx
sub eax, ecx
jmp 0x438193
sub eax, ecx
add eax, edx
mov edx, dword [edi + 0x44]
mov dword [ebp - 0x24], edx
cmp ecx, edx
jbe 0x4381ac
mov ecx, edx
jmp 0x4381ac
mov eax, dword [ebp - 0x1c]
sub eax, ecx
mov ecx, dword [edi + 0x44]
mov dword [ebp - 0x24], ecx
cmp ecx, dword [ebp - 0x14]
jbe 0x4381b4
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
sub dword [ebp - 0x14], ecx
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x1c]
sub edx, ecx
sub dword [ebp - 0x24], eax
mov dword [edi + 0x44], edx
mov edx, dword [ebp - 0x24]
mov dl, byte [edx + eax]
mov byte [eax], dl
inc eax
dec ecx
jne 0x4381c8
mov dword [ebp - 0x1c], eax
cmp dword [edi + 0x44], ecx
jne 0x43727f
mov dword [edi + 4], 0x3f48
jmp 0x43727f
cmp dword [ebp - 0x14], 0
je 0x438369
mov ecx, dword [ebp - 0x1c]
mov al, byte [edi + 0x44]
inc dword [ebp - 0x1c]
dec dword [ebp - 0x14]
mov byte [ecx], al
mov dword [edi + 4], 0x3f48
jmp 0x437282
cmp dword [edi + 0xc], 0
je 0x4382dc
jmp 0x43823e
cmp dword [ebp - 8], 0
je 0x438369
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
dec dword [ebp - 8]
mov ecx, esi
shl eax, cl
add ebx, eax
inc dword [ebp - 4]
add esi, 8
mov dword [ebp - 0xc], esi
cmp esi, 0x20
jb 0x43821c
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x14]
add dword [edx + 0x14], eax
add dword [edi + 0x20], eax
test byte [edi + 0xc], 4
mov dword [ebp - 0x20], eax
je 0x43828d
test eax, eax
je 0x43828d
cmp dword [edi + 0x14], 0
push eax
je 0x438273
mov edx, dword [ebp - 0x1c]
push dword [edi + 0x1c]
sub edx, eax
call fcn.00438b06
pop ecx
jmp 0x438281
mov ecx, dword [ebp - 0x1c]
sub ecx, dword [ebp - 0x20]
mov eax, dword [edi + 0x1c]
call fcn.00438529
pop ecx
mov ecx, dword [ebp + 8]
mov dword [edi + 0x1c], eax
mov dword [ecx + 0x30], eax
mov edx, ecx
test byte [edi + 0xc], 4
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
je 0x4382d5
cmp dword [edi + 0x14], 0
mov eax, ebx
jne 0x4382c4
and eax, 0xff00
mov ecx, ebx
shl ecx, 0x10
add eax, ecx
mov ecx, ebx
shr ecx, 8
and ecx, 0xff00
shl eax, 8
add eax, ecx
mov ecx, ebx
shr ecx, 0x18
add eax, ecx
cmp eax, dword [edi + 0x1c]
je 0x4382d5
mov dword [edx + 0x18], str.incorrect_data_check
jmp 0x437355
xor ebx, ebx
xor esi, esi
mov dword [ebp - 0xc], esi
mov dword [edi + 4], 0x3f4f
cmp dword [edi + 0xc], 0
je 0x43834d
cmp dword [edi + 0x14], 0
je 0x43834d
jmp 0x43830f
cmp dword [ebp - 8], 0
je 0x438369
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
dec dword [ebp - 8]
mov ecx, esi
shl eax, cl
add ebx, eax
inc dword [ebp - 4]
add esi, 8
mov dword [ebp - 0xc], esi
cmp esi, 0x20
jb 0x4382f1
cmp ebx, dword [edi + 0x20]
je 0x438349
mov dword [edx + 0x18], str.incorrect_length_check
jmp 0x437355
mov eax, dword [ebp - 0x1c]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 0x14]
mov dword [edx + 0x10], eax
mov eax, dword [ebp - 4]
mov dword [edx], eax
mov eax, dword [ebp - 8]
mov dword [edx + 4], eax
mov dword [edi + 0x3c], ebx
mov dword [edi + 0x40], esi
push 2
jmp 0x437295
xor ebx, ebx
xor esi, esi
mov dword [edi + 4], 0x3f50
mov dword [ebp - 0x28], 1
jmp 0x438369
mov dword [ebp - 0x28], 0xfffffffd
jmp 0x438369
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x1c]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 0x14]
mov dword [edx + 0x10], eax
mov eax, dword [ebp - 4]
mov dword [edx], eax
mov eax, dword [ebp - 8]
mov dword [edx + 4], eax
cmp dword [edi + 0x2c], 0
mov dword [edi + 0x3c], ebx
mov dword [edi + 0x40], esi
jne 0x43839d
mov eax, dword [ebp - 0x20]
cmp eax, dword [edx + 0x10]
je 0x4383c2
cmp dword [edi + 4], 0x3f51
jge 0x4383c2
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x20]
sub ecx, dword [eax + 0x10]
push ecx
mov ecx, dword [eax + 0xc]
call fcn.004370bf
pop ecx
test eax, eax
je 0x4383c2
mov dword [edi + 4], 0x3f52
push 0xfffffffffffffffc
jmp 0x437295
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 0x2c]
sub eax, dword [esi + 4]
mov ebx, dword [ebp - 0x20]
sub ebx, dword [esi + 0x10]
add dword [esi + 8], eax
add dword [esi + 0x14], ebx
add dword [edi + 0x20], ebx
test byte [edi + 0xc], 4
mov dword [ebp - 0x2c], eax
je 0x438415
test ebx, ebx
je 0x438415
cmp dword [edi + 0x14], 0
push ebx
je 0x4383fe
mov edx, dword [esi + 0xc]
push dword [edi + 0x1c]
sub edx, ebx
call fcn.00438b06
pop ecx
jmp 0x43840b
mov ecx, dword [esi + 0xc]
mov eax, dword [edi + 0x1c]
sub ecx, ebx
call fcn.00438529
mov dword [edi + 0x1c], eax
mov dword [esi + 0x30], eax
mov eax, dword [ebp - 0x2c]
pop ecx
mov ecx, dword [edi + 4]
cmp ecx, 0x3f3f
jne 0x438429
mov dword [ebp - 0x2c], 0x80
jmp 0x43842d
and dword [ebp - 0x2c], 0
cmp ecx, 0x3f47
je 0x438441
cmp ecx, 0x3f42
je 0x438441
xor ecx, ecx
jmp 0x438446
mov ecx, 0x100
mov edx, dword [edi + 8]
neg edx
sbb edx, edx
and edx, 0x40
add edx, ecx
add edx, dword [ebp - 0x2c]
add edx, dword [edi + 0x40]
mov dword [esi + 0x2c], edx
test eax, eax
jne 0x43846f
test ebx, ebx
jne 0x43846f
cmp dword [ebp - 0x28], ebx
jne 0x43846f
mov dword [ebp - 0x28], 0xfffffffb
mov eax, dword [ebp - 0x28]
jmp 0x437296