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

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x18
push esi
xor esi, esi
push edi
cmp edx, esi
je 0x67072cfe
mov edi, dword [edx + 0x1c]
cmp edi, esi
je 0x67072cfe
mov dword [edx + 0x18], esi
mov dword [edi], 0xb
mov dword [edi + 4], esi
mov dword [edi + 0x2c], esi
mov eax, dword [edx]
push ebx
push ebp
mov dword [esp + 0x10], eax
cmp eax, esi
je 0x67071ffe
mov ebp, dword [edx + 4]
jmp 0x67072000
xor ebp, ebp
mov eax, dword [edi + 0x34]
mov ecx, dword [edi + 0x28]
mov dword [esp + 0x18], eax
mov eax, dword [edi]
sub eax, 0xb
xor ebx, ebx
mov dword [esp + 0x14], ecx
cmp eax, 0x12
jbe 0x67072044
mov esi, 0xfffffffe
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x10]
mov dword [eax + 4], ebp
pop ebp
pop ebx
mov dword [eax], edx
pop edi
mov eax, esi
pop esi
add esp, 0x18
ret
mov edx, dword [esp + 0x2c]
movzx eax, byte [eax + 0x67072d28]
jmp dword [eax*4 + 0x67072d0c]
cmp dword [edi + 4], 0
je 0x6707206c
mov ecx, esi
and ecx, 7
shr ebx, cl
sub esi, ecx
mov dword [edi], 0x1c
jmp 0x67072c96
cmp esi, 3
jae 0x670720af
test ebp, ebp
jne 0x67072090
mov edx, dword [esp + 0x34]
lea ecx, [esp + 0x10]
push ecx
push edx
call dword [esp + 0x38]
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x67072ca9
mov eax, dword [esp + 0x10]
movzx edx, byte [eax]
mov ecx, esi
shl edx, cl
inc eax
add esi, 8
dec ebp
add ebx, edx
mov dword [esp + 0x10], eax
cmp esi, 3
jb 0x67072071
mov edx, dword [esp + 0x2c]
mov eax, ebx
and eax, 1
shr ebx, 1
mov dword [edi + 4], eax
mov eax, ebx
and eax, 3
dec esi
cmp eax, 3
ja case.default.0x670720c4
jmp dword [eax*4 + 0x67072d3c]
shr ebx, 2
mov dword [edi], 0xd
sub esi, 2
jmp 0x67072c96
shr ebx, 2
mov dword [edi + 0x4c], 0x671bce60
mov dword [edi + 0x54], 9
mov dword [edi + 0x50], 0x671bd660
mov dword [edi + 0x58], 5
mov dword [edi], 0x14
sub esi, 2
jmp 0x67072c96
shr ebx, 2
mov dword [edi], 0x10
sub esi, 2
jmp 0x67072c96
mov dword [edx + 0x18], str.invalid_block_type
mov dword [edi], 0x1d
shr ebx, 2
sub esi, 2
jmp 0x67072c96
mov ecx, esi
and ecx, 7
sub esi, ecx
shr ebx, cl
cmp esi, 0x20
jae 0x6707217e
test ebp, ebp
jne 0x6707215f
mov edx, dword [esp + 0x34]
lea ecx, [esp + 0x10]
push ecx
push edx
call dword [esp + 0x38]
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x67072ca9
mov eax, dword [esp + 0x10]
movzx edx, byte [eax]
mov ecx, esi
shl edx, cl
inc eax
add esi, 8
dec ebp
add ebx, edx
mov dword [esp + 0x10], eax
cmp esi, 0x20
jb 0x67072140
mov edx, dword [esp + 0x2c]
mov ecx, ebx
mov eax, ebx
not ecx
and eax, 0xffff
shr ecx, 0x10
cmp eax, ecx
je 0x670721a2
mov dword [edx + 0x18], str.invalid_stored_block_lengths
mov dword [edi], 0x1d
jmp 0x67072c96
xor ebx, ebx
xor esi, esi
mov dword [edi + 0x40], eax
test eax, eax
je 0x67072255
mov edx, dword [edi + 0x40]
mov dword [esp + 0x1c], edx
test ebp, ebp
jne 0x670721d7
mov ecx, dword [esp + 0x34]
lea eax, [esp + 0x10]
push eax
push ecx
call dword [esp + 0x38]
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x67072ca9
cmp dword [esp + 0x14], 0
jne 0x67072205
mov eax, dword [edi + 0x28]
mov ecx, dword [edi + 0x34]
mov edx, dword [esp + 0x3c]
push eax
push ecx
push edx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], eax
mov dword [edi + 0x2c], eax
call dword [esp + 0x44]
add esp, 0xc
test eax, eax
jne 0x67072cb1
mov eax, dword [esp + 0x1c]
cmp eax, ebp
jbe 0x67072213
mov eax, ebp
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x14]
cmp eax, ecx
jbe 0x6707221f
mov dword [esp + 0x1c], ecx
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
push eax
push ecx
push edx
call sub.MSVCR90.dll_memcpy
mov eax, dword [esp + 0x28]
add dword [esp + 0x1c], eax
sub dword [esp + 0x20], eax
add dword [esp + 0x24], eax
sub dword [edi + 0x40], eax
add esp, 0xc
sub ebp, eax
cmp dword [edi + 0x40], 0
jne 0x670721b1
mov dword [edi], 0xb
jmp 0x67072c96
cmp esi, 0xe
jae 0x670722a3
test ebp, ebp
jne 0x67072284
mov ecx, dword [esp + 0x34]
lea eax, [esp + 0x10]
push eax
push ecx
call dword [esp + 0x38]
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x67072ca9
mov eax, dword [esp + 0x10]
movzx edx, byte [eax]
mov ecx, esi
shl edx, cl
inc eax
add esi, 8
dec ebp
add ebx, edx
mov dword [esp + 0x10], eax
cmp esi, 0xe
jb 0x67072265
mov edx, dword [esp + 0x2c]
mov eax, ebx
and eax, 0x1f
shr ebx, 5
add eax, 0x101
mov ecx, ebx
and ecx, 0x1f
mov dword [edi + 0x60], eax
mov eax, 1
add ecx, eax
shr ebx, 5
mov dword [edi + 0x64], ecx
mov ecx, ebx
and ecx, 0xf
add ecx, 4
shr ebx, 4
sub esi, 0xe
cmp dword [edi + 0x60], 0x11e
mov dword [edi + 0x5c], ecx
ja 0x670727e0
cmp dword [edi + 0x64], 0x1e
ja 0x670727e0
mov dword [edi + 0x68], 0
test ecx, ecx
jbe 0x67072365
cmp esi, 3
jae 0x6707233f
lea ecx, [ecx]
test ebp, ebp
jne 0x6707231f
mov eax, dword [esp + 0x34]
lea edx, [esp + 0x10]
push edx
push eax
call dword [esp + 0x38]
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x67072ca9
mov eax, dword [esp + 0x10]
movzx edx, byte [eax]
mov ecx, esi
shl edx, cl
inc eax
add esi, 8
dec ebp
add ebx, edx
mov dword [esp + 0x10], eax
cmp esi, 3
jb 0x67072300
mov eax, 1
mov edx, dword [edi + 0x68]
movzx edx, word [edx*2 + 0x671bd6e0]
mov ecx, ebx
and ecx, 7
mov word [edi + edx*2 + 0x70], cx
add dword [edi + 0x68], eax
mov ecx, dword [edi + 0x68]
shr ebx, 3
sub esi, 3
cmp ecx, dword [edi + 0x5c]
jb 0x670722f8
cmp dword [edi + 0x68], 0x13
jae 0x6707238b
jmp 0x67072370
mov edx, dword [edi + 0x68]
movzx ecx, word [edx*2 + 0x671bd6e0]
xor edx, edx
mov word [edi + ecx*2 + 0x70], dx
add dword [edi + 0x68], eax
cmp dword [edi + 0x68], 0x13
jb 0x67072370
lea eax, [edi + 0x530]
lea ecx, [edi + 0x6c]
mov dword [ecx], eax
mov dword [edi + 0x4c], eax
lea edx, [edi + 0x2f0]
push edx
lea eax, [edi + 0x54]
push eax
push ecx
mov dword [eax], 7
push 0x13
lea eax, [edi + 0x70]
push eax
push 0
call fcn.67074f80
add esp, 0x18
test eax, eax
je 0x670723d5
mov eax, dword [esp + 0x2c]
mov dword [eax + 0x18], str.invalid_code_lengths_set
mov dword [edi], 0x1d
jmp 0x67072c96
mov ecx, dword [edi + 0x64]
add ecx, dword [edi + 0x60]
mov dword [edi + 0x68], 0
je 0x6707267f
jmp 0x670723f0
mov ecx, dword [edi + 0x54]
mov eax, dword [edi + 0x4c]
mov edx, 1
shl edx, cl
dec edx
and edx, ebx
mov eax, dword [eax + edx*4]
mov ecx, eax
shr ecx, 8
movzx edx, cl
mov dword [esp + 0x1c], eax
cmp edx, esi
jbe 0x6707246d
test ebp, ebp
jne 0x67072432
mov ecx, dword [esp + 0x34]
lea eax, [esp + 0x10]
push eax
push ecx
call dword [esp + 0x38]
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x67072ca9
mov eax, dword [esp + 0x10]
movzx edx, byte [eax]
inc eax
mov dword [esp + 0x10], eax
mov ecx, esi
shl edx, cl
mov ecx, dword [edi + 0x54]
mov eax, 1
shl eax, cl
mov ecx, dword [edi + 0x4c]
add ebx, edx
add esi, 8
dec eax
and eax, ebx
mov eax, dword [ecx + eax*4]
mov dword [esp + 0x1c], eax
shr eax, 8
movzx edx, al
dec ebp
cmp edx, esi
ja 0x67072413
mov eax, dword [esp + 0x1c]
mov ecx, eax
shr ecx, 0x10
cmp ecx, 0x10
jae 0x670724e1
mov edx, eax
shr edx, 8
movzx ecx, dl
cmp esi, ecx
jae 0x670724c5
test ebp, ebp
jne 0x670724a2
mov eax, dword [esp + 0x34]
lea edx, [esp + 0x10]
push edx
push eax
call dword [esp + 0x38]
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x67072ca9
mov eax, dword [esp + 0x10]
movzx edx, byte [eax]
mov ecx, esi
inc eax
shl edx, cl
mov dword [esp + 0x10], eax
movzx eax, byte [esp + 0x1d]
add esi, 8
dec ebp
add ebx, edx
cmp esi, eax
jb 0x67072483
mov eax, dword [esp + 0x1c]
mov dx, word [esp + 0x1e]
movzx ecx, ah
shr ebx, cl
sub esi, ecx
mov ecx, dword [edi + 0x68]
mov word [edi + ecx*2 + 0x70], dx
inc dword [edi + 0x68]
jmp 0x67072670
mov cx, word [esp + 0x1e]
cmp cx, 0x10
jne 0x6707256f
movzx ecx, ah
lea eax, [ecx + 2]
mov dword [esp + 0x1c], ecx
cmp esi, eax
jae 0x67072544
mov edi, edi
test ebp, ebp
jne 0x6707251f
mov ecx, dword [esp + 0x34]
lea eax, [esp + 0x10]
push eax
push ecx
call dword [esp + 0x38]
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x67072ca9
mov eax, dword [esp + 0x10]
movzx edx, byte [eax]
inc eax
mov ecx, esi
shl edx, cl
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x1c]
add esi, 8
add eax, 2
dec ebp
add ebx, edx
cmp esi, eax
jb 0x67072500
mov ecx, dword [esp + 0x1c]
mov eax, dword [edi + 0x68]
shr ebx, cl
sub esi, ecx
test eax, eax
je 0x670726a8
movzx eax, word [edi + eax*2 + 0x6e]
mov dword [esp + 0x1c], eax
mov eax, ebx
and eax, 3
add eax, 3
shr ebx, 2
sub esi, 2
jmp 0x67072644
cmp cx, 0x11
movzx ecx, ah
mov dword [esp + 0x1c], ecx
jne 0x670725db
lea eax, [ecx + 3]
cmp esi, eax
jae 0x670725c7
test ebp, ebp
jne 0x670725a2
mov edx, dword [esp + 0x34]
lea ecx, [esp + 0x10]
push ecx
push edx
call dword [esp + 0x38]
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x67072ca9
mov eax, dword [esp + 0x10]
movzx edx, byte [eax]
inc eax
mov ecx, esi
shl edx, cl
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x1c]
add esi, 8
add eax, 3
dec ebp
add ebx, edx
cmp esi, eax
jb 0x67072583
mov ecx, dword [esp + 0x1c]
shr ebx, cl
mov edx, 0xfffffffd
mov eax, ebx
and eax, 7
add eax, 3
shr ebx, 3
jmp 0x67072638
lea eax, [ecx + 7]
cmp esi, eax
jae 0x67072626
test ebp, ebp
jne 0x67072601
mov ecx, dword [esp + 0x34]
lea eax, [esp + 0x10]
push eax
push ecx
call dword [esp + 0x38]
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x67072ca9
mov eax, dword [esp + 0x10]
movzx edx, byte [eax]
inc eax
mov ecx, esi
shl edx, cl
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x1c]
add esi, 8
add eax, 7
dec ebp
add ebx, edx
cmp esi, eax
jb 0x670725e2
mov ecx, dword [esp + 0x1c]
shr ebx, cl
mov edx, 0xfffffff9
mov eax, ebx
and eax, 0x7f
add eax, 0xb
shr ebx, 7
sub edx, ecx
add esi, edx
mov dword [esp + 0x1c], 0
mov ecx, dword [edi + 0x64]
mov edx, dword [edi + 0x68]
add ecx, dword [edi + 0x60]
add edx, eax
cmp edx, ecx
ja 0x670726be
test eax, eax
je 0x67072670
mov ecx, dword [esp + 0x1c]
jmp 0x67072660
mov edx, dword [edi + 0x68]
dec eax
mov word [edi + edx*2 + 0x70], cx
inc dword [edi + 0x68]
test eax, eax
jne 0x67072660
mov eax, dword [edi + 0x64]
add eax, dword [edi + 0x60]
cmp dword [edi + 0x68], eax
jb 0x670723f0
cmp dword [edi], 0x1d
je 0x67072c96
cmp word [edi + 0x270], 0
jne 0x670726d4
mov eax, dword [esp + 0x2c]
mov dword [eax + 0x18], str.invalid_code____missing_end_of_block
mov dword [edi], 0x1d
jmp 0x67072c96
mov ecx, dword [esp + 0x2c]
mov dword [ecx + 0x18], str.invalid_bit_length_repeat
mov dword [edi], 0x1d
jmp 0x67072c96
mov edx, dword [esp + 0x2c]
mov dword [edx + 0x18], str.invalid_bit_length_repeat
mov dword [edi], 0x1d
jmp 0x67072c96
lea eax, [edi + 0x530]
lea ecx, [edi + 0x6c]
mov dword [ecx], eax
mov dword [edi + 0x4c], eax
lea edx, [edi + 0x2f0]
push edx
lea eax, [edi + 0x54]
push eax
push ecx
mov ecx, dword [edi + 0x60]
mov dword [eax], 9
push ecx
lea eax, [edi + 0x70]
push eax
push 1
call fcn.67074f80
add esp, 0x18
test eax, eax
je 0x67072720
mov edx, dword [esp + 0x2c]
mov dword [edx + 0x18], str.invalid_literal_lengths_set
mov dword [edi], 0x1d
jmp 0x67072c96
mov eax, dword [edi + 0x6c]
lea ecx, [edi + 0x6c]
mov dword [edi + 0x50], eax
lea edx, [edi + 0x2f0]
push edx
mov edx, dword [edi + 0x60]
lea eax, [edi + 0x58]
push eax
push ecx
mov ecx, dword [edi + 0x64]
mov dword [eax], 6
push ecx
lea eax, [edi + edx*2 + 0x70]
push eax
push 2
call fcn.67074f80
add esp, 0x18
test eax, eax
je 0x6707276b
mov ecx, dword [esp + 0x2c]
mov dword [ecx + 0x18], str.invalid_distances_set
mov dword [edi], 0x1d
jmp 0x67072c96
mov edx, dword [esp + 0x2c]
mov dword [edi], 0x14
cmp ebp, 6
jb 0x670727f2
cmp dword [esp + 0x14], 0x102
jb 0x670727f2
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x10]
mov dword [edx + 0x10], ecx
mov dword [edx], eax
mov dword [edx + 4], ebp
mov eax, dword [edi + 0x28]
mov dword [edi + 0x38], ebx
mov dword [edi + 0x3c], esi
cmp dword [edi + 0x2c], eax
jae 0x670727b0
mov edx, eax
sub edx, ecx
mov dword [edi + 0x2c], edx
mov esi, dword [esp + 0x2c]
push eax
push esi
call fcn.67072d90
mov edx, dword [esi]
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
mov ebp, dword [esi + 4]
mov dword [esp + 0x18], edx
mov ebx, dword [edi + 0x38]
mov esi, dword [edi + 0x3c]
add esp, 8
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
jmp 0x67072c96
mov dword [edx + 0x18], str.too_many_length_or_distance_symbols
mov dword [edi], 0x1d
jmp 0x67072c96
mov ecx, dword [edi + 0x54]
mov eax, 1
shl eax, cl
mov ecx, dword [edi + 0x4c]
dec eax
and eax, ebx
mov eax, dword [ecx + eax*4]
mov edx, eax
shr edx, 8
movzx ecx, dl
cmp ecx, esi
jbe 0x67072865
test ebp, ebp
jne 0x67072830
mov eax, dword [esp + 0x34]
lea edx, [esp + 0x10]
push edx
push eax
call dword [esp + 0x38]
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x67072ca9
mov eax, dword [esp + 0x10]
movzx edx, byte [eax]
inc eax
mov dword [esp + 0x10], eax
mov ecx, esi
shl edx, cl
mov ecx, dword [edi + 0x54]
mov eax, 1
shl eax, cl
mov ecx, dword [edi + 0x4c]
add ebx, edx
add esi, 8
dec eax
and eax, ebx
mov eax, dword [ecx + eax*4]
mov edx, eax
shr edx, 8
movzx ecx, dl
dec ebp
cmp ecx, esi
ja 0x67072811
test al, al
je 0x67072933
test al, 0xf0
jne 0x67072933
mov ecx, eax
shr ecx, 8
movzx edx, cl
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], edx
movzx ecx, al
add ecx, edx
mov edx, 1
shl edx, cl
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x1c], eax
shr eax, 0x10
dec edx
and edx, ebx
shr edx, cl
add edx, eax
mov eax, dword [edi + 0x4c]
mov eax, dword [eax + edx*4]
mov ecx, eax
shr ecx, 8
movzx edx, cl
movzx ecx, byte [esp + 0x24]
add edx, ecx
cmp edx, esi
jbe 0x6707292a
lea esp, [esp]
test ebp, ebp
jne 0x670728df
mov eax, dword [esp + 0x34]
lea edx, [esp + 0x10]
push edx
push eax
call dword [esp + 0x38]
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x67072ca9
mov eax, dword [esp + 0x10]
movzx edx, byte [eax]
inc eax
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x1c]
mov ecx, esi
shl edx, cl
movzx ecx, al
add ebx, edx
movzx edx, ah
add ecx, edx
mov eax, 1
shl eax, cl
mov ecx, edx
add esi, 8
dec ebp
dec eax
and eax, ebx
shr eax, cl
movzx ecx, word [esp + 0x1e]
add eax, ecx
mov ecx, dword [edi + 0x4c]
mov eax, dword [ecx + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add ecx, edx
cmp ecx, esi
ja 0x670728c0
movzx ecx, byte [esp + 0x1d]
shr ebx, cl
sub esi, ecx
mov edx, eax
shr edx, 8
movzx ecx, dl
shr ebx, cl
sub esi, ecx
mov ecx, eax
shr ecx, 0x10
mov dword [edi + 0x40], ecx
test al, al
jne 0x67072996
cmp dword [esp + 0x14], 0
jne 0x67072979
mov eax, dword [edi + 0x28]
mov ecx, dword [edi + 0x34]
mov edx, dword [esp + 0x3c]
push eax
push ecx
push edx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], eax
mov dword [edi + 0x2c], eax
call dword [esp + 0x44]
add esp, 0xc
test eax, eax
jne 0x67072cb1
mov eax, dword [esp + 0x18]
mov cl, byte [edi + 0x40]
mov byte [eax], cl
inc eax
dec dword [esp + 0x14]
mov dword [esp + 0x18], eax
mov dword [edi], 0x14
jmp 0x67072c96
test al, 0x20
je 0x670729a5
mov dword [edi], 0xb
jmp 0x67072c96
test al, 0x40
je 0x670729bf
mov edx, dword [esp + 0x2c]
mov dword [edx + 0x18], str.invalid_literal_length_code
mov dword [edi], 0x1d
jmp 0x67072c96
movzx eax, al
and eax, 0xf
mov dword [edi + 0x48], eax
je 0x67072a1e
cmp esi, eax
jae 0x67072a0a
mov edi, edi
test ebp, ebp
jne 0x670729ef
mov ecx, dword [esp + 0x34]
lea eax, [esp + 0x10]
push eax
push ecx
call dword [esp + 0x38]
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x67072ca9
mov eax, dword [esp + 0x10]
movzx edx, byte [eax]
mov ecx, esi
shl edx, cl
inc eax
add esi, 8
dec ebp
add ebx, edx
mov dword [esp + 0x10], eax
cmp esi, dword [edi + 0x48]
jb 0x670729d0
mov ecx, dword [edi + 0x48]
mov eax, 1
shl eax, cl
dec eax
and eax, ebx
add dword [edi + 0x40], eax
shr ebx, cl
sub esi, ecx
mov ecx, dword [edi + 0x58]
mov eax, dword [edi + 0x50]
mov edx, 1
shl edx, cl
dec edx
and edx, ebx
mov eax, dword [eax + edx*4]
mov ecx, eax
shr ecx, 8
movzx edx, cl
cmp edx, esi
jbe 0x67072a94
lea ecx, [ecx]
test ebp, ebp
jne 0x67072a5f
mov ecx, dword [esp + 0x34]
lea eax, [esp + 0x10]
push eax
push ecx
call dword [esp + 0x38]
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x67072ca9
mov eax, dword [esp + 0x10]
movzx edx, byte [eax]
inc eax
mov dword [esp + 0x10], eax
mov ecx, esi
shl edx, cl
mov ecx, dword [edi + 0x58]
mov eax, 1
shl eax, cl
mov ecx, dword [edi + 0x50]
add ebx, edx
add esi, 8
dec eax
and eax, ebx
mov eax, dword [ecx + eax*4]
mov edx, eax
shr edx, 8
movzx ecx, dl
dec ebp
cmp ecx, esi
ja 0x67072a40
test al, 0xf0
jne 0x67072b56
mov ecx, eax
shr ecx, 8
movzx edx, cl
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], edx
movzx ecx, al
add ecx, edx
mov edx, 1
shl edx, cl
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x1c], 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]
mov ecx, eax
shr ecx, 8
movzx edx, cl
movzx ecx, byte [esp + 0x24]
add edx, ecx
cmp edx, esi
jbe 0x67072b4d
test ebp, ebp
jne 0x67072b02
mov eax, dword [esp + 0x34]
lea edx, [esp + 0x10]
push edx
push eax
call dword [esp + 0x38]
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x67072ca9
mov eax, dword [esp + 0x10]
movzx edx, byte [eax]
inc eax
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x1c]
mov ecx, esi
shl edx, cl
movzx ecx, al
add ebx, edx
movzx edx, ah
add ecx, edx
mov eax, 1
shl eax, cl
mov ecx, edx
add esi, 8
dec ebp
dec eax
and eax, ebx
shr eax, cl
movzx ecx, word [esp + 0x1e]
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 0x67072ae3
movzx ecx, byte [esp + 0x1d]
shr ebx, cl
sub esi, ecx
mov edx, eax
shr edx, 8
movzx ecx, dl
shr ebx, cl
sub esi, ecx
test al, 0x40
je 0x67072b7c
mov eax, dword [esp + 0x2c]
mov dword [eax + 0x18], str.invalid_distance_code
mov dword [edi], 0x1d
jmp 0x67072c96
mov ecx, eax
movzx eax, al
shr ecx, 0x10
and eax, 0xf
mov dword [edi + 0x44], ecx
mov dword [edi + 0x48], eax
je 0x67072be1
cmp esi, eax
jae 0x67072bcd
test ebp, ebp
jne 0x67072bb2
mov eax, dword [esp + 0x34]
lea edx, [esp + 0x10]
push edx
push eax
call dword [esp + 0x38]
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x67072ca9
mov eax, dword [esp + 0x10]
movzx edx, byte [eax]
mov ecx, esi
shl edx, cl
inc eax
add esi, 8
dec ebp
add ebx, edx
mov dword [esp + 0x10], eax
cmp esi, dword [edi + 0x48]
jb 0x67072b93
mov ecx, dword [edi + 0x48]
mov eax, 1
shl eax, cl
dec eax
and eax, ebx
add dword [edi + 0x44], eax
shr ebx, cl
sub esi, ecx
mov eax, dword [edi + 0x28]
cmp dword [edi + 0x2c], eax
sbb ecx, ecx
and ecx, dword [esp + 0x14]
sub eax, ecx
cmp dword [edi + 0x44], eax
jbe 0x67072c10
mov edx, dword [esp + 0x2c]
mov dword [edx + 0x18], str.invalid_distance_too_far_back
mov dword [edi], 0x1d
jmp 0x67072c96
cmp dword [esp + 0x14], 0
jne 0x67072c3a
mov eax, dword [edi + 0x28]
mov ecx, dword [edi + 0x34]
push eax
mov dword [esp + 0x18], eax
mov dword [edi + 0x2c], eax
mov eax, dword [esp + 0x40]
push ecx
push eax
mov dword [esp + 0x24], ecx
call dword [esp + 0x44]
add esp, 0xc
test eax, eax
jne 0x67072cb1
mov eax, dword [edi + 0x44]
mov edx, dword [edi + 0x28]
mov ecx, dword [esp + 0x18]
sub edx, eax
cmp edx, dword [esp + 0x14]
jae 0x67072c56
mov eax, dword [esp + 0x14]
add ecx, edx
sub eax, edx
jmp 0x67072c5c
sub ecx, eax
mov eax, dword [esp + 0x14]
mov edx, dword [edi + 0x40]
mov dword [esp + 0x24], ecx
cmp eax, edx
jbe 0x67072c69
mov eax, edx
sub edx, eax
sub dword [esp + 0x14], eax
mov dword [edi + 0x40], edx
mov dl, byte [ecx]
mov ecx, dword [esp + 0x18]
mov byte [ecx], dl
inc ecx
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x24]
inc ecx
sub eax, 1
mov dword [esp + 0x24], ecx
jne 0x67072c72
cmp dword [edi + 0x40], eax
jne 0x67072c10
mov eax, dword [edi]
sub eax, 0xb
cmp eax, 0x12
jbe 0x67072040
jmp case.0x6707204b.12
mov dword [esp + 0x10], 0
mov esi, 0xfffffffb
jmp 0x6707201f
mov eax, dword [edi + 0x28]
mov esi, 1
cmp dword [esp + 0x14], eax
jae 0x6707201f
sub eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x3c]
push eax
mov eax, dword [edi + 0x34]
push eax
push ecx
call dword [esp + 0x44]
add esp, 0xc
test eax, eax
je 0x6707201f
mov esi, 0xfffffffb
jmp 0x6707201f
mov esi, 0xfffffffd
jmp 0x6707201f
pop edi
mov eax, 0xfffffffe
pop esi
add esp, 0x18
ret