Function at 0x437223
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.00436fdc
test eax, eax
jne case.default.0x43729a
xor ecx, ecx
cmp dword [edx + 0xc], ecx
je case.default.0x43729a
cmp dword [edx], ecx
jne 0x437256
cmp dword [edx + 4], ecx
jne case.default.0x43729a
mov edi, dword [edx + 0x1c]
cmp dword [edi + 4], 0x3f3f
jne 0x437269
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 0x43731c
jmp dword [eax*4 + 0x438513]
cmp dword [edi + 0xc], 0
jne 0x4372d2
mov dword [edi + 4], 0x3f40
jmp 0x43731c
cmp dword [ebp - 8], 0
je 0x438403
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 0x4372b0
test byte [edi + 0xc], 2
je 0x437335
cmp ebx, 0x8b1f
jne 0x437335
cmp dword [edi + 0x28], 0
jne 0x4372f2
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.00438bb6
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.0x0043729a
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 0x437344
or dword [eax + 0x30], 0xffffffff
test byte [edi + 0xc], 1
je 0x4373e5
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 0x4373e5
mov eax, ebx
and al, 0xf
cmp al, 8
je 0x437383
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.unknown_compression_method
mov dword [edi + 4], 0x3f51
mov edx, eax
jmp 0x43731c
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 0x43739d
mov dword [edi + 0x28], ecx
cmp ecx, 0xf
ja 0x4373d9
cmp ecx, dword [edi + 0x28]
ja 0x4373d9
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 0x43731c
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.invalid_window_size
jmp 0x437378
mov edx, dword [ebp + 8]
mov dword [edx + 0x18], str.incorrect_header_check
mov dword [edi + 4], 0x3f51
jmp 0x43731c
cmp dword [ebp - 8], 0
je 0x438403
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 0x4373fb
mov dword [edi + 0x14], ebx
cmp bl, 8
je 0x437433
mov dword [edx + 0x18], str.unknown_compression_method
jmp 0x4373ef
test ebx, 0xe000
je 0x437444
mov dword [edx + 0x18], str.unknown_header_flags_set
jmp 0x4373ef
mov eax, dword [edi + 0x24]
test eax, eax
je 0x437455
mov ecx, ebx
shr ecx, 8
and ecx, 1
mov dword [eax], ecx
test dword [edi + 0x14], 0x200
je 0x437481
test byte [edi + 0xc], 4
je 0x437481
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.00438bb6
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.0x43729a.16182
cmp dword [ebp - 8], 0
je 0x438403
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 0x43748e
mov eax, dword [edi + 0x24]
test eax, eax
je 0x4374bc
mov dword [eax + 4], ebx
test dword [edi + 0x14], 0x200
je 0x4374f8
test byte [edi + 0xc], 4
je 0x4374f8
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.00438bb6
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.0x43729a.16183
cmp dword [ebp - 8], 0
je 0x438403
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 0x437505
mov eax, dword [edi + 0x24]
test eax, eax
je 0x437546
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 0x437572
test byte [edi + 0xc], 4
je 0x437572
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.00438bb6
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 0x437614
mov eax, dword [edi + 0x24]
test eax, eax
je 0x437598
and dword [eax + 0x10], 0
mov dword [edi + 4], 0x3f39
test dword [edi + 0x14], 0x400
je 0x4376b1
mov eax, dword [edi + 0x44]
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x10], eax
cmp eax, ecx
jbe 0x4375bc
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 0
je 0x4376a7
mov ecx, dword [edi + 0x24]
test ecx, ecx
je 0x437676
mov eax, dword [ecx + 0x10]
mov dword [ebp - 0x24], eax
test eax, eax
je 0x437676
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 0x43765e
sub ecx, eax
jmp 0x437661
cmp dword [ebp - 8], 0
je 0x438403
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 0x4375f5
mov eax, dword [edi + 0x24]
mov dword [edi + 0x44], ebx
test eax, eax
je 0x437626
mov dword [eax + 0x14], ebx
test dword [edi + 0x14], 0x200
je 0x437652
test byte [edi + 0xc], 4
je 0x437652
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.00438bb6
mov edx, dword [ebp + 8]
pop ecx
mov dword [edi + 0x1c], eax
xor ebx, ebx
xor esi, esi
mov dword [ebp - 0xc], esi
jmp 0x437598
mov ecx, dword [ebp - 0x10]
push ecx
mov ecx, dword [ebp - 0x24]
push dword [ebp - 4]
add ecx, eax
push ecx
call fcn.0043a490
mov edx, dword [ebp + 8]
add esp, 0xc
test dword [edi + 0x14], 0x200
je 0x43769b
test byte [edi + 0xc], 4
je 0x43769b
push dword [ebp - 0x10]
mov edx, dword [ebp - 4]
push dword [edi + 0x1c]
call fcn.00438ba0
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 0x438403
and dword [edi + 0x44], 0
mov dword [edi + 4], 0x3f3a
test dword [edi + 0x14], 0x800
je 0x437757
cmp dword [ebp - 8], 0
je 0x438403
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 0x43770f
mov ecx, dword [eax + 0x1c]
mov dword [ebp - 0x30], ecx
test ecx, ecx
je 0x43770f
mov ecx, dword [edi + 0x44]
cmp ecx, dword [eax + 0x20]
jae 0x43770f
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 0x43771d
mov eax, dword [ebp - 8]
cmp dword [ebp - 0x10], eax
jb 0x4376d7
test dword [edi + 0x14], 0x200
je 0x437742
test byte [edi + 0xc], 4
je 0x437742
push dword [ebp - 0x10]
mov edx, dword [ebp - 4]
push dword [edi + 0x1c]
call fcn.00438ba0
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 0x438403
jmp 0x437762
mov eax, dword [edi + 0x24]
test eax, eax
je 0x437762
and dword [eax + 0x1c], 0
and dword [edi + 0x44], 0
mov dword [edi + 4], 0x3f3b
test dword [edi + 0x14], 0x1000
je 0x437808
cmp dword [ebp - 8], 0
je 0x438403
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 0x4377c0
mov ecx, dword [eax + 0x24]
mov dword [ebp - 0x30], ecx
test ecx, ecx
je 0x4377c0
mov ecx, dword [edi + 0x44]
cmp ecx, dword [eax + 0x28]
jae 0x4377c0
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 0x4377ce
mov eax, dword [ebp - 8]
cmp dword [ebp - 0x10], eax
jb 0x437788
test dword [edi + 0x14], 0x200
je 0x4377f3
test byte [edi + 0xc], 4
je 0x4377f3
push dword [ebp - 0x10]
mov edx, dword [ebp - 4]
push dword [edi + 0x1c]
call fcn.00438ba0
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 0x438403
jmp 0x437813
mov eax, dword [edi + 0x24]
test eax, eax
je 0x437813
and dword [eax + 0x24], 0
mov dword [edi + 4], 0x3f3c
test dword [edi + 0x14], 0x200
je 0x43786d
jmp 0x437847
cmp dword [ebp - 8], 0
je 0x438403
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 0x437825
test byte [edi + 0xc], 4
je 0x437866
movzx eax, word [edi + 0x1c]
cmp ebx, eax
je 0x437866
mov dword [edx + 0x18], str.header_crc_mismatch
jmp 0x4373ef
xor ebx, ebx
xor esi, esi
mov dword [ebp - 0xc], esi
mov eax, dword [edi + 0x24]
test eax, eax
je 0x43788a
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 0x43731c
cmp dword [ebp - 8], 0
je 0x438403
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 0x43789e
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 0x4383bf
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 0x43794b
mov ecx, esi
and ecx, 7
shr ebx, cl
sub esi, ecx
mov dword [ebp - 0xc], esi
mov dword [edi + 4], 0x3f4e
jmp 0x43731c
cmp dword [ebp - 8], 0
je 0x438403
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 0x43792c
mov eax, ebx
and eax, 1
mov dword [edi + 8], eax
shr ebx, 1
mov eax, ebx
and eax, 3
sub eax, 0
je 0x4379ab
dec eax
je 0x437986
dec eax
je 0x43797d
dec eax
jne 0x4379b2
mov dword [edx + 0x18], str.invalid_block_type
mov dword [edi + 4], 0x3f51
jmp 0x4379b2
mov dword [edi + 4], 0x3f44
jmp 0x4379b2
mov dword [edi + 0x50], 0x4639f0
mov dword [edi + 0x58], 9
mov dword [edi + 0x54], 0x4641f0
mov dword [edi + 0x5c], 5
mov dword [edi + 4], 0x3f47
jmp 0x4379b2
mov dword [edi + 4], 0x3f41
shr ebx, 2
sub esi, 3
mov dword [ebp - 0xc], esi
jmp 0x43731c
mov ecx, esi
and ecx, 7
shr ebx, cl
sub esi, ecx
jmp 0x4379ea
cmp dword [ebp - 8], 0
je 0x438403
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 0x4379cb
mov ecx, ebx
mov eax, ebx
not ecx
and eax, 0xffff
shr ecx, 0x10
cmp eax, ecx
je 0x437a10
mov dword [edx + 0x18], str.invalid_stored_block_lengths
jmp 0x4373ef
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 0x437892
mov eax, dword [ebp - 8]
cmp dword [ebp - 0x10], eax
jbe 0x437a41
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x10], eax
jbe 0x437a4c
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x438403
push dword [ebp - 0x10]
push dword [ebp - 4]
push dword [ebp - 0x1c]
call fcn.0043a490
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 0x437319
cmp dword [ebp - 8], 0
je 0x438403
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 0x437a7e
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 0x437aee
cmp dword [edi + 0x68], 0x1e
ja 0x437aee
and dword [edi + 0x6c], 0
mov dword [edi + 4], 0x3f45
jmp case.0x43729a.16197
mov dword [edx + 0x18], str.too_many_length_or_distance_symbols
jmp 0x4373ef
cmp dword [ebp - 8], 0
je 0x438403
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 0x437afa
mov ecx, dword [edi + 0x6c]
movzx ecx, word [ecx*2 + 0x464270]
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 0x437b19
jmp 0x437b5e
mov eax, dword [edi + 0x6c]
movzx eax, word [eax*2 + 0x464270]
xor ecx, ecx
mov word [edi + eax*2 + 0x74], cx
inc dword [edi + 0x6c]
cmp dword [edi + 0x6c], 0x13
jb 0x437b49
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.00438e40
mov esi, dword [ebp - 0xc]
add esp, 0x10
mov dword [ebp - 0x28], eax
test eax, eax
je 0x437bab
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.invalid_code_lengths_set
jmp 0x437378
and dword [edi + 0x6c], 0
mov dword [edi + 4], 0x3f46
jmp 0x437d49
cmp dword [ebp - 8], 0
je 0x438403
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 0x437bbb
mov eax, ecx
shr eax, 0x10
mov dword [ebp - 0x30], eax
cmp ax, 0x10
jae 0x437c29
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.0x43729a.16198
jne 0x437c91
mov eax, ecx
shr eax, 8
movzx eax, al
jmp 0x437c5a
cmp dword [ebp - 8], 0
je 0x438403
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 0x437c35
mov eax, dword [edi + 0x6c]
movzx ecx, ch
sub esi, ecx
shr ebx, cl
mov dword [ebp - 0xc], esi
test eax, eax
je 0x437d5d
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 0x437d21
cmp word [ebp - 0x22], 0x11
movzx eax, ch
mov dword [ebp - 0x24], eax
jne 0x437cff
jmp 0x437cc2
cmp dword [ebp - 8], 0
je 0x438403
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 0x437ca0
mov ecx, dword [ebp - 0x24]
shr ebx, cl
push 0xfffffffffffffffd
mov eax, ebx
and eax, 7
add eax, 3
shr ebx, 3
jmp 0x437d18
cmp dword [ebp - 8], 0
je 0x438403
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 0x437cdd
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 0x437d69
test eax, eax
je 0x437d49
mov ecx, dword [edi + 0x6c]
mov dx, word [ebp - 0x24]
mov word [edi + ecx*2 + 0x74], dx
inc dword [edi + 0x6c]
dec eax
jne 0x437d37
mov edx, dword [ebp + 8]
mov eax, dword [edi + 0x68]
add eax, dword [edi + 0x64]
cmp dword [edi + 0x6c], eax
jb 0x437bda
jmp 0x437d7a
mov dword [edx + 0x18], str.invalid_bit_length_repeat
jmp 0x4373ef
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 0x43731c
cmp word [edi + 0x274], 0
jne 0x437d9d
mov dword [edx + 0x18], str.invalid_code____missing_end_of_block
jmp 0x4373ef
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.00438e40
add esp, 0x10
mov dword [ebp - 0x28], eax
test eax, eax
je 0x437de5
mov eax, dword [ebp + 8]
mov esi, dword [ebp - 0xc]
mov dword [eax + 0x18], str.invalid_literal_lengths_set
jmp 0x437378
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.00438e40
mov esi, dword [ebp - 0xc]
add esp, 0x10
mov dword [ebp - 0x28], eax
test eax, eax
je 0x437e28
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.invalid_distances_set
jmp 0x437378
mov edx, dword [ebp + 8]
mov dword [edi + 4], 0x3f47
mov dword [edi + 4], 0x3f48
cmp dword [ebp - 8], 6
jb 0x437eb2
cmp dword [ebp - 0x14], 0x102
jb 0x437eb2
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.004387de
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 0x43731c
or dword [edi + 0x1bc8], 0xffffffff
jmp 0x43731c
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 0x437efe
cmp dword [ebp - 8], 0
je 0x438403
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 0x437ece
test al, al
je 0x437fae
test al, 0xf0
jne 0x437fae
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 0x437f8f
cmp dword [ebp - 8], 0
je 0x438400
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 0x437f4e
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 0x437fde
mov dword [edi + 4], 0x3f4d
jmp 0x43731c
test al, 0x20
je 0x437fee
or dword [edi + 0x1bc8], 0xffffffff
jmp 0x437892
test al, 0x40
je 0x437ffe
mov dword [edx + 0x18], str.invalid_literal_length_code
jmp 0x4373ef
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 0x438055
cmp esi, eax
jae 0x43803d
cmp dword [ebp - 8], 0
je 0x438403
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 0x438019
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 0x4380aa
cmp dword [ebp - 8], 0
je 0x438403
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 0x43807a
test al, 0xf0
jne 0x438152
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 0x438133
cmp dword [ebp - 8], 0
je 0x438400
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 0x4380f2
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 0x43817a
mov dword [edx + 0x18], str.invalid_distance_code
jmp 0x4373ef
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 0x4381dc
cmp esi, eax
jae 0x4381c1
cmp dword [ebp - 8], 0
je 0x438403
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 0x43819d
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 0x438403
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x14]
mov ecx, dword [edi + 0x48]
cmp ecx, eax
jbe 0x43823b
sub ecx, eax
cmp ecx, dword [edi + 0x30]
jbe 0x438216
cmp dword [edi + 0x1bc4], 0
je 0x438216
mov dword [edx + 0x18], str.invalid_distance_too_far_back
jmp 0x4373ef
mov edx, dword [edi + 0x34]
mov eax, dword [edi + 0x38]
cmp ecx, edx
jbe 0x438229
add eax, dword [edi + 0x2c]
sub ecx, edx
sub eax, ecx
jmp 0x43822d
sub eax, ecx
add eax, edx
mov edx, dword [edi + 0x44]
mov dword [ebp - 0x24], edx
cmp ecx, edx
jbe 0x438246
mov ecx, edx
jmp 0x438246
mov eax, dword [ebp - 0x1c]
sub eax, ecx
mov ecx, dword [edi + 0x44]
mov dword [ebp - 0x24], ecx
cmp ecx, dword [ebp - 0x14]
jbe 0x43824e
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 0x438262
mov dword [ebp - 0x1c], eax
cmp dword [edi + 0x44], ecx
jne 0x437319
mov dword [edi + 4], 0x3f48
jmp 0x437319
cmp dword [ebp - 0x14], 0
je 0x438403
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 0x43731c
cmp dword [edi + 0xc], 0
je 0x438376
jmp 0x4382d8
cmp dword [ebp - 8], 0
je 0x438403
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 0x4382b6
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 0x438327
test eax, eax
je 0x438327
cmp dword [edi + 0x14], 0
push eax
je 0x43830d
mov edx, dword [ebp - 0x1c]
push dword [edi + 0x1c]
sub edx, eax
call fcn.00438ba0
pop ecx
jmp 0x43831b
mov ecx, dword [ebp - 0x1c]
sub ecx, dword [ebp - 0x20]
mov eax, dword [edi + 0x1c]
call fcn.004385c3
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 0x43836f
cmp dword [edi + 0x14], 0
mov eax, ebx
jne 0x43835e
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 0x43836f
mov dword [edx + 0x18], str.incorrect_data_check
jmp 0x4373ef
xor ebx, ebx
xor esi, esi
mov dword [ebp - 0xc], esi
mov dword [edi + 4], 0x3f4f
cmp dword [edi + 0xc], 0
je 0x4383e7
cmp dword [edi + 0x14], 0
je 0x4383e7
jmp 0x4383a9
cmp dword [ebp - 8], 0
je 0x438403
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 0x43838b
cmp ebx, dword [edi + 0x20]
je 0x4383e3
mov dword [edx + 0x18], str.incorrect_length_check
jmp 0x4373ef
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 0x43732f
xor ebx, ebx
xor esi, esi
mov dword [edi + 4], 0x3f50
mov dword [ebp - 0x28], 1
jmp 0x438403
mov dword [ebp - 0x28], 0xfffffffd
jmp 0x438403
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 0x438437
mov eax, dword [ebp - 0x20]
cmp eax, dword [edx + 0x10]
je 0x43845c
cmp dword [edi + 4], 0x3f51
jge 0x43845c
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x20]
sub ecx, dword [eax + 0x10]
push ecx
mov ecx, dword [eax + 0xc]
call fcn.00437159
pop ecx
test eax, eax
je 0x43845c
mov dword [edi + 4], 0x3f52
push 0xfffffffffffffffc
jmp 0x43732f
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 0x4384af
test ebx, ebx
je 0x4384af
cmp dword [edi + 0x14], 0
push ebx
je 0x438498
mov edx, dword [esi + 0xc]
push dword [edi + 0x1c]
sub edx, ebx
call fcn.00438ba0
pop ecx
jmp 0x4384a5
mov ecx, dword [esi + 0xc]
mov eax, dword [edi + 0x1c]
sub ecx, ebx
call fcn.004385c3
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 0x4384c3
mov dword [ebp - 0x2c], 0x80
jmp 0x4384c7
and dword [ebp - 0x2c], 0
cmp ecx, 0x3f47
je 0x4384db
cmp ecx, 0x3f42
je 0x4384db
xor ecx, ecx
jmp 0x4384e0
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 0x438509
test ebx, ebx
jne 0x438509
cmp dword [ebp - 0x28], ebx
jne 0x438509
mov dword [ebp - 0x28], 0xfffffffb
mov eax, dword [ebp - 0x28]
jmp 0x437330