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

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
sub esp, 0x38
test ecx, ecx
je 0x10007a4b
mov edx, dword [ecx + 0x1c]
mov dword [ebp - 0xc], edx
test edx, edx
je 0x10007a4b
mov dword [ecx + 0x18], 0
push ebx
mov dword [edx], 0xb
mov dword [edx + 4], 0
mov dword [edx + 0x2c], 0
mov eax, dword [ecx]
mov dword [ebp - 4], eax
push esi
push edi
test eax, eax
je 0x10006cab
mov esi, dword [ecx + 4]
jmp 0x10006cad
xor esi, esi
mov eax, dword [edx + 0x34]
xor edi, edi
mov dword [ebp - 0x18], eax
xor ebx, ebx
mov eax, dword [edx + 0x28]
mov dword [ebp - 0x14], eax
mov eax, dword [edx]
sub eax, 0xb
mov dword [ebp - 8], edi
mov dword [ebp - 0x10], ebx
cmp eax, 0x12
ja case.0x10006cdb.12
mov ecx, dword [ebp + 0x10]
movzx eax, byte [eax + 0x10007a70]
jmp dword [eax*4 + 0x10007a54]
cmp dword [edx + 4], 0
je 0x10006d02
mov ecx, ebx
mov dword [edx], 0x1c
and ecx, 7
shr edi, cl
sub ebx, ecx
mov dword [ebp - 8], edi
mov dword [ebp - 0x10], ebx
jmp 0x10007995
cmp ebx, 3
jae 0x10006d3e
test esi, esi
jne 0x10006d20
lea eax, [ebp - 4]
push eax
push ecx
call dword [ebp + 0xc]
mov esi, eax
add esp, 8
test esi, esi
je 0x100079bc
mov eax, dword [ebp - 4]
mov ecx, ebx
add ebx, 8
dec esi
movzx eax, byte [eax]
inc dword [ebp - 4]
shl eax, cl
mov ecx, dword [ebp + 0x10]
add edi, eax
cmp ebx, 3
jb case.default.0x10006d4d
mov edx, dword [ebp - 0xc]
mov eax, edi
shr edi, 1
and eax, 1
mov dword [edx + 4], eax
mov eax, edi
and eax, 3
jmp dword [eax*4 + 0x10007a84]
shr edi, 2
sub ebx, 3
mov dword [edx], 0xd
mov dword [ebp - 8], edi
mov dword [ebp - 0x10], ebx
jmp 0x10007995
shr edi, 2
sub ebx, 3
mov dword [edx + 0x4c], 0x100565f8
mov dword [edx + 0x54], 9
mov dword [edx + 0x50], 0x10056df8
mov dword [edx + 0x58], 5
mov dword [edx], 0x14
mov dword [ebp - 8], edi
mov dword [ebp - 0x10], ebx
jmp 0x10007995
shr edi, 2
sub ebx, 3
mov dword [edx], 0x10
mov dword [ebp - 8], edi
mov dword [ebp - 0x10], ebx
jmp 0x10007995
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.invalid_block_type
mov dword [edx], 0x1d
shr edi, 2
sub ebx, 3
mov dword [ebp - 8], edi
mov dword [ebp - 0x10], ebx
jmp 0x10007995
mov ecx, ebx
and ecx, 7
sub ebx, ecx
shr edi, cl
mov dword [ebp - 8], edi
mov dword [ebp - 0x10], ebx
cmp ebx, 0x20
jae 0x10006e2c
nop word [eax + eax]
test esi, esi
jne 0x10006e0b
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x10]
call dword [ebp + 0xc]
mov esi, eax
add esp, 8
test esi, esi
je 0x100079bc
mov eax, dword [ebp - 4]
mov ecx, ebx
add ebx, 8
dec esi
mov dword [ebp - 0x10], ebx
movzx eax, byte [eax]
inc dword [ebp - 4]
shl eax, cl
add edi, eax
mov dword [ebp - 8], edi
cmp ebx, 0x20
jb 0x10006df0
mov edx, dword [ebp - 0xc]
mov eax, edi
movzx ecx, di
not eax
mov dword [ebp - 0x24], ecx
shr eax, 0x10
cmp ecx, eax
je 0x10006e52
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.invalid_stored_block_lengths
mov dword [edx], 0x1d
jmp 0x10007995
xor edi, edi
mov dword [edx + 0x40], ecx
xor ebx, ebx
mov dword [ebp - 8], edi
mov dword [ebp - 0x10], ebx
test ecx, ecx
je 0x10006eff
mov eax, dword [ebp - 0x14]
nop word [eax + eax]
test esi, esi
jne 0x10006e91
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x10]
call dword [ebp + 0xc]
mov esi, eax
add esp, 8
test esi, esi
je 0x100079dc
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x10006eb7
mov ecx, dword [edx + 0x28]
mov eax, dword [edx + 0x34]
push ecx
push eax
push dword [ebp + 0x18]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], ecx
mov dword [edx + 0x2c], ecx
call dword [ebp + 0x14]
add esp, 0xc
test eax, eax
jne 0x100079c3
cmp dword [ebp - 0x24], esi
mov eax, esi
mov edi, dword [ebp - 0x14]
cmovbe eax, dword [ebp - 0x24]
cmp eax, edi
cmovbe edi, eax
mov eax, dword [ebp - 0x18]
push edi
push dword [ebp - 4]
push eax
call fcn.100143c0
mov edx, dword [ebp - 0xc]
add esp, 0xc
add dword [ebp - 4], edi
sub esi, edi
mov eax, dword [ebp - 0x14]
add dword [ebp - 0x18], edi
sub eax, edi
mov ecx, dword [edx + 0x40]
sub ecx, edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x24], ecx
mov dword [edx + 0x40], ecx
jne 0x10006e70
mov edi, dword [ebp - 8]
mov dword [edx], 0xb
jmp 0x10007995
cmp ebx, 0xe
jae 0x10006f47
nop
test esi, esi
jne 0x10006f29
lea eax, [ebp - 4]
push eax
push ecx
call dword [ebp + 0xc]
mov esi, eax
add esp, 8
test esi, esi
je 0x100079bc
mov eax, dword [ebp - 4]
mov ecx, ebx
add ebx, 8
dec esi
movzx eax, byte [eax]
inc dword [ebp - 4]
shl eax, cl
mov ecx, dword [ebp + 0x10]
add edi, eax
cmp ebx, 0xe
jb 0x10006f10
mov edx, dword [ebp - 0xc]
mov ecx, edi
sub ebx, 0xe
shr edi, 5
and ecx, 0x1f
mov eax, edi
mov dword [ebp - 0x10], ebx
and eax, 0x1f
shr edi, 5
inc eax
add ecx, 0x101
mov dword [ebp - 0x34], eax
mov dword [edx + 0x64], eax
mov eax, edi
and eax, 0xf
shr edi, 4
add eax, 4
mov dword [edx + 0x60], ecx
mov dword [ebp - 0x30], eax
mov dword [edx + 0x5c], eax
mov dword [ebp - 8], edi
cmp ecx, 0x11e
ja 0x10007492
cmp dword [ebp - 0x34], 0x1e
ja 0x10007492
xor eax, eax
mov dword [edx + 0x68], 0
cmp dword [ebp - 0x30], eax
jbe 0x10007013
cmp ebx, 3
jae 0x10006fe7
mov edx, dword [ebp - 4]
nop dword [eax]
test esi, esi
jne 0x10006fce
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x10]
call dword [ebp + 0xc]
mov esi, eax
add esp, 8
test esi, esi
je 0x100079bc
mov edx, dword [ebp - 4]
movzx eax, byte [edx]
mov ecx, ebx
shl eax, cl
inc edx
add ebx, 8
mov dword [ebp - 4], edx
dec esi
add edi, eax
cmp ebx, 3
jb 0x10006fb0
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x68]
mov ecx, edi
and ecx, 7
shr edi, 3
sub ebx, 3
mov dword [ebp - 8], edi
mov dword [ebp - 0x10], ebx
movzx eax, word [eax*2 + 0x10056e78]
mov word [edx + eax*2 + 0x70], cx
inc dword [edx + 0x68]
mov eax, dword [edx + 0x68]
cmp eax, dword [edx + 0x5c]
jb 0x10006fa5
cmp eax, 0x13
jae 0x1000703b
nop dword [eax + eax]
mov eax, dword [edx + 0x68]
xor ecx, ecx
movzx eax, word [eax*2 + 0x10056e78]
mov word [edx + eax*2 + 0x70], cx
inc dword [edx + 0x68]
cmp dword [edx + 0x68], 0x13
jb 0x10007020
lea eax, [edx + 0x530]
mov dword [edx + 0x54], 7
lea ecx, [edx + 0x6c]
mov dword [edx + 0x4c], eax
mov dword [ecx], eax
lea eax, [edx + 0x54]
mov dword [ebp - 0x34], ecx
lea ecx, [edx + 0x2f0]
push ecx
mov dword [ebp - 0x24], ecx
add edx, 0x70
mov ecx, dword [ebp - 0x34]
push eax
push ecx
push 0x13
xor ecx, ecx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x38], edx
call fcn.10009fd0
mov edx, dword [ebp - 0xc]
add esp, 0x10
test eax, eax
je 0x10007096
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.invalid_code_lengths_set
mov dword [edx], 0x1d
jmp 0x10007995
mov eax, dword [edx + 0x64]
mov dword [edx + 0x68], 0
add eax, dword [edx + 0x60]
je 0x1000733a
nop dword [eax]
mov eax, dword [ebp - 0x28]
mov edx, 1
mov ecx, dword [eax]
mov eax, dword [ebp - 0xc]
shl edx, cl
dec edx
and edx, edi
mov eax, dword [eax + 0x4c]
mov eax, dword [eax + edx*4]
mov edx, eax
shr edx, 8
mov edi, eax
shr edi, 0x10
movzx ecx, dl
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], edi
cmp ecx, ebx
jbe 0x1000714a
mov edi, dword [ebp - 4]
test esi, esi
jne 0x10007100
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x10]
call dword [ebp + 0xc]
mov esi, eax
add esp, 8
test esi, esi
je 0x100079bc
mov edi, dword [ebp - 4]
movzx eax, byte [edi]
mov ecx, ebx
shl eax, cl
inc edi
add dword [ebp - 8], eax
mov edx, 1
mov eax, dword [ebp - 0x28]
add ebx, 8
mov dword [ebp - 4], edi
dec esi
mov ecx, dword [eax]
mov eax, dword [ebp - 0xc]
shl edx, cl
dec edx
and edx, dword [ebp - 8]
mov eax, dword [eax + 0x4c]
mov eax, dword [eax + edx*4]
mov ecx, eax
shr ecx, 0x10
mov edx, eax
shr edx, 8
mov dword [ebp - 0x10], ecx
movzx ecx, dl
mov dword [ebp - 0x1c], eax
cmp ecx, ebx
ja 0x100070e2
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x20], ecx
jmp 0x10007153
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x20], edi
mov edi, dword [ebp - 4]
movzx ecx, cx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], edx
cmp ecx, 0x10
jae 0x1000718c
mov edi, dword [ebp - 8]
mov cl, dl
movzx edx, dl
sub ebx, edx
shr edi, cl
mov edx, dword [ebp - 0xc]
shr eax, 0x10
mov dword [ebp - 8], edi
mov dword [ebp - 0x10], ebx
mov ecx, dword [edx + 0x68]
mov word [edx + ecx*2 + 0x70], ax
inc dword [edx + 0x68]
mov ecx, dword [edx + 0x68]
jmp 0x1000732c
cmp word [ebp - 0x20], 0x10
jne 0x1000721b
mov eax, dword [ebp - 0x2c]
movzx eax, al
add eax, 2
mov dword [ebp - 0x30], eax
cmp ebx, eax
jae 0x100071dc
test esi, esi
jne 0x100071c5
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x10]
call dword [ebp + 0xc]
mov esi, eax
add esp, 8
test esi, esi
je 0x100079bc
mov edi, dword [ebp - 4]
movzx eax, byte [edi]
mov ecx, ebx
shl eax, cl
inc edi
add dword [ebp - 8], eax
add ebx, 8
dec esi
mov dword [ebp - 4], edi
cmp ebx, dword [ebp - 0x30]
jb 0x100071a7
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x1c]
mov edi, dword [ebp - 8]
movzx ecx, ah
mov eax, dword [edx + 0x68]
sub ebx, ecx
shr edi, cl
mov dword [ebp - 8], edi
mov dword [ebp - 0x10], ebx
test eax, eax
je 0x10007362
movzx eax, word [edx + eax*2 + 0x6e]
mov ecx, edi
and ecx, 3
shr edi, 2
add ecx, 3
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], ecx
sub ebx, 2
jmp 0x100072f1
mov eax, dword [ebp - 0x30]
movzx eax, al
cmp ecx, 0x11
jne 0x10007285
add eax, 3
mov dword [ebp - 0x30], eax
cmp ebx, eax
jae 0x10007265
test esi, esi
jne 0x1000724e
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x10]
call dword [ebp + 0xc]
mov esi, eax
add esp, 8
test esi, esi
je 0x100079bc
mov edi, dword [ebp - 4]
movzx eax, byte [edi]
mov ecx, ebx
shl eax, cl
inc edi
add dword [ebp - 8], eax
add ebx, 8
dec esi
mov dword [ebp - 4], edi
cmp ebx, dword [ebp - 0x30]
jb 0x10007230
mov eax, dword [ebp - 0x1c]
mov edi, dword [ebp - 8]
movzx ecx, ah
shr edi, cl
mov eax, edi
and eax, 7
add eax, 3
shr edi, 3
mov dword [ebp - 0x1c], eax
mov eax, 0xfffffffd
jmp 0x100072e3
add eax, 7
mov dword [ebp - 0x30], eax
cmp ebx, eax
jae 0x100072c5
nop
test esi, esi
jne 0x100072ae
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x10]
call dword [ebp + 0xc]
mov esi, eax
add esp, 8
test esi, esi
je 0x100079bc
mov edi, dword [ebp - 4]
movzx eax, byte [edi]
mov ecx, ebx
shl eax, cl
inc edi
add dword [ebp - 8], eax
add ebx, 8
dec esi
mov dword [ebp - 4], edi
cmp ebx, dword [ebp - 0x30]
jb 0x10007290
mov eax, dword [ebp - 0x1c]
mov edi, dword [ebp - 8]
movzx ecx, ah
shr edi, cl
mov eax, edi
and eax, 0x7f
add eax, 0xb
shr edi, 7
mov dword [ebp - 0x1c], eax
mov eax, 0xfffffff9
mov edx, dword [ebp - 0xc]
sub eax, ecx
mov dword [ebp - 0x20], 0
add ebx, eax
mov ecx, dword [edx + 0x68]
mov eax, dword [edx + 0x64]
add ecx, dword [ebp - 0x1c]
add eax, dword [edx + 0x60]
mov dword [ebp - 8], edi
mov dword [ebp - 0x10], ebx
cmp ecx, eax
ja 0x10007362
mov edi, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x20]
nop dword [eax]
mov eax, dword [edx + 0x68]
mov word [edx + eax*2 + 0x70], bx
mov ecx, dword [edx + 0x68]
lea ecx, [ecx + 1]
mov dword [edx + 0x68], ecx
sub edi, 1
jne 0x10007310
mov ebx, dword [ebp - 0x10]
mov edi, dword [ebp - 8]
mov eax, dword [edx + 0x64]
add eax, dword [edx + 0x60]
cmp ecx, eax
jb 0x100070b0
cmp dword [edx], 0x1d
je 0x10007995
cmp word [edx + 0x270], 0
jne 0x10007377
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.invalid_code____missing_end_of_block
mov dword [edx], 0x1d
jmp 0x10007995
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.invalid_bit_length_repeat
mov dword [edx], 0x1d
jmp 0x10007995
push dword [ebp - 0x24]
lea ecx, [edx + 0x6c]
mov dword [edx + 0x54], 9
lea eax, [edx + 0x530]
mov dword [ecx], eax
mov dword [edx + 0x4c], eax
lea eax, [edx + 0x54]
push eax
push ecx
push dword [edx + 0x60]
mov edx, dword [ebp - 0x38]
mov ecx, 1
call fcn.10009fd0
add esp, 0x10
test eax, eax
je 0x100073c3
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0xc]
mov dword [eax + 0x18], str.invalid_literal_lengths_set
mov dword [edx], 0x1d
jmp 0x10007995
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x34]
push dword [ebp - 0x24]
mov dword [ecx + 0x58], 6
mov eax, dword [edx]
mov dword [ecx + 0x50], eax
lea eax, [ecx + 0x58]
push eax
mov eax, dword [ecx + 0x60]
push edx
push dword [ecx + 0x64]
add ecx, 0x70
lea edx, [ecx + eax*2]
mov ecx, 2
call fcn.10009fd0
mov edx, dword [ebp - 0xc]
add esp, 0x10
test eax, eax
je 0x10007412
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.invalid_distances_set
mov dword [edx], 0x1d
jmp 0x10007995
mov dword [edx], 0x14
cmp esi, 6
jb 0x100074a7
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x102
jb 0x100074a7
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x18]
mov dword [edx + 0xc], eax
mov eax, edx
mov dword [eax + 0x10], ecx
mov ecx, edx
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov dword [ecx], eax
mov dword [ecx + 4], esi
mov ecx, dword [edx + 0x28]
mov dword [edx + 0x38], edi
mov dword [edx + 0x3c], ebx
cmp dword [edx + 0x2c], ecx
jae 0x1000745d
mov eax, ecx
sub eax, dword [ebp - 0x14]
mov dword [edx + 0x2c], eax
mov edx, ecx
mov ecx, dword [ebp + 8]
call fcn.10007ae0
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0xc]
mov eax, dword [ecx + 0xc]
mov esi, dword [ecx + 4]
mov dword [ebp - 0x18], eax
mov eax, dword [ecx + 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ecx]
mov dword [ebp - 4], eax
mov edi, dword [edx + 0x38]
mov ebx, dword [edx + 0x3c]
mov dword [ebp - 8], edi
mov dword [ebp - 0x10], ebx
jmp 0x10007995
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.too_many_length_or_distance_symbols
mov dword [edx], 0x1d
jmp 0x10007995
mov eax, dword [edx + 0x4c]
mov ecx, dword [edx + 0x54]
mov dword [ebp - 0x34], eax
mov eax, 1
shl eax, cl
mov ecx, dword [edx + 0x4c]
dec eax
and eax, edi
mov eax, dword [ecx + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, ebx
jbe 0x1000752c
nop dword [eax]
test esi, esi
jne 0x100074ee
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x10]
call dword [ebp + 0xc]
mov esi, eax
add esp, 8
test esi, esi
je 0x100079bc
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov ecx, ebx
add ebx, 8
dec esi
mov dword [ebp - 0x10], ebx
movzx eax, byte [eax]
inc dword [ebp - 4]
shl eax, cl
mov ecx, dword [edx + 0x54]
add edi, eax
mov eax, dword [edx + 0x4c]
mov dword [ebp - 0x34], eax
mov eax, 1
shl eax, cl
mov ecx, dword [edx + 0x4c]
dec eax
and eax, edi
mov dword [ebp - 8], edi
mov eax, dword [ecx + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, ebx
ja 0x100074d0
test al, al
je 0x100075fb
test al, 0xf0
jne 0x100075fb
mov ecx, eax
mov ebx, 1
shr ecx, 8
mov edx, eax
movzx edi, cl
mov dword [ebp - 0x38], ecx
movzx ecx, al
add ecx, edi
shr eax, 0x10
shl ebx, cl
mov ecx, edi
dec ebx
mov dword [ebp - 0x1c], edx
and ebx, dword [ebp - 8]
shr ebx, cl
mov ecx, dword [ebp - 0x34]
add ebx, eax
mov eax, dword [ecx + ebx*4]
mov ecx, eax
mov ebx, dword [ebp - 0x10]
shr ecx, 8
movzx edi, cl
mov ecx, dword [ebp - 0x38]
movzx ecx, cl
add edi, ecx
cmp edi, ebx
jbe 0x100075ee
test esi, esi
jne 0x100075a0
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x10]
call dword [ebp + 0xc]
mov esi, eax
add esp, 8
test esi, esi
je 0x100079bc
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
mov ecx, ebx
add ebx, 8
mov edi, 1
mov dword [ebp - 0x10], ebx
dec esi
movzx ebx, dh
movzx eax, byte [eax]
inc dword [ebp - 4]
shl eax, cl
add dword [ebp - 8], eax
movzx eax, word [ebp - 0x1a]
movzx ecx, dl
add ecx, ebx
shl edi, cl
mov ecx, ebx
dec edi
and edi, dword [ebp - 8]
shr edi, cl
add edi, eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x4c]
mov eax, dword [eax + edi*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add ecx, ebx
mov ebx, dword [ebp - 0x10]
cmp ecx, ebx
ja 0x10007582
mov edi, dword [ebp - 8]
movzx ecx, dh
mov edx, dword [ebp - 0xc]
shr edi, cl
sub ebx, ecx
mov ecx, eax
shr ecx, 8
movzx ecx, cl
shr edi, cl
sub ebx, ecx
mov ecx, eax
mov dword [ebp - 8], edi
shr ecx, 0x10
mov dword [ebp - 0x10], ebx
mov dword [edx + 0x40], ecx
test al, al
jne 0x1000765e
cmp dword [ebp - 0x14], 0
jne 0x10007644
mov ecx, dword [edx + 0x28]
mov eax, dword [edx + 0x34]
push ecx
push eax
push dword [ebp + 0x18]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], ecx
mov dword [edx + 0x2c], ecx
call dword [ebp + 0x14]
add esp, 0xc
test eax, eax
jne 0x100079c3
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
mov al, byte [edx + 0x40]
mov byte [ecx], al
inc ecx
dec dword [ebp - 0x14]
mov dword [ebp - 0x18], ecx
mov dword [edx], 0x14
jmp 0x10007995
test al, 0x20
je 0x1000766d
mov dword [edx], 0xb
jmp 0x10007995
test al, 0x40
je 0x10007686
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.invalid_literal_length_code
mov dword [edx], 0x1d
jmp 0x10007995
movzx ecx, al
and ecx, 0xf
mov dword [edx + 0x48], ecx
je 0x100076eb
cmp ebx, ecx
jae 0x100076d4
mov eax, dword [ebp - 4]
test esi, esi
jne 0x100076b9
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x10]
call dword [ebp + 0xc]
mov esi, eax
add esp, 8
test esi, esi
je 0x100079bc
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
mov ecx, ebx
shl eax, cl
add ebx, 8
add edi, eax
dec esi
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
mov ecx, dword [edx + 0x48]
cmp ebx, ecx
jb 0x10007698
mov eax, 1
shl eax, cl
dec eax
and eax, edi
shr edi, cl
add dword [edx + 0x40], eax
sub ebx, ecx
mov dword [ebp - 8], edi
mov dword [ebp - 0x10], ebx
mov eax, dword [edx + 0x50]
mov ecx, dword [edx + 0x58]
mov dword [ebp - 0x34], eax
mov eax, 1
shl eax, cl
mov ecx, dword [edx + 0x50]
dec eax
and eax, edi
mov eax, dword [ecx + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, ebx
jbe 0x1000776c
test esi, esi
jne 0x1000772e
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x10]
call dword [ebp + 0xc]
mov esi, eax
add esp, 8
test esi, esi
je 0x100079bc
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov ecx, ebx
add ebx, 8
dec esi
mov dword [ebp - 0x10], ebx
movzx eax, byte [eax]
inc dword [ebp - 4]
shl eax, cl
mov ecx, dword [edx + 0x58]
add edi, eax
mov eax, dword [edx + 0x50]
mov dword [ebp - 0x34], eax
mov eax, 1
shl eax, cl
mov ecx, dword [edx + 0x50]
dec eax
and eax, edi
mov dword [ebp - 8], edi
mov eax, dword [ecx + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, ebx
ja 0x10007710
test al, 0xf0
jne 0x1000783a
mov ecx, eax
mov ebx, 1
shr ecx, 8
mov edx, eax
movzx edi, cl
mov dword [ebp - 0x38], ecx
movzx ecx, al
add ecx, edi
shr eax, 0x10
shl ebx, cl
mov ecx, edi
dec ebx
mov dword [ebp - 0x1c], edx
and ebx, dword [ebp - 8]
shr ebx, cl
mov ecx, dword [ebp - 0x34]
add ebx, eax
mov eax, dword [ecx + ebx*4]
mov ecx, eax
mov ebx, dword [ebp - 0x10]
shr ecx, 8
movzx edi, cl
mov ecx, dword [ebp - 0x38]
movzx ecx, cl
add edi, ecx
cmp edi, ebx
jbe 0x1000782d
nop word [eax + eax]
test esi, esi
jne 0x100077de
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x10]
call dword [ebp + 0xc]
mov esi, eax
add esp, 8
test esi, esi
je 0x100079bc
mov edx, dword [ebp - 0x1c]
mov edi, dword [ebp - 4]
mov ecx, ebx
add ebx, 8
dec esi
mov dword [ebp - 0x10], ebx
movzx ebx, dh
movzx eax, byte [edi]
inc edi
shl eax, cl
add dword [ebp - 8], eax
movzx eax, word [ebp - 0x1a]
mov dword [ebp - 4], edi
mov edi, 1
movzx ecx, dl
add ecx, ebx
shl edi, cl
mov ecx, ebx
dec edi
and edi, dword [ebp - 8]
shr edi, cl
add edi, eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x50]
mov eax, dword [eax + edi*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add ecx, ebx
mov ebx, dword [ebp - 0x10]
cmp ecx, ebx
ja 0x100077c0
mov edi, dword [ebp - 8]
movzx ecx, dh
mov edx, dword [ebp - 0xc]
shr edi, cl
sub ebx, ecx
mov ecx, eax
shr ecx, 8
movzx ecx, cl
shr edi, cl
sub ebx, ecx
mov dword [ebp - 8], edi
mov dword [ebp - 0x10], ebx
test al, 0x40
je 0x10007865
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.invalid_distance_code
mov dword [edx], 0x1d
jmp 0x10007995
mov ecx, eax
shr ecx, 0x10
mov dword [ebp - 0x34], ecx
mov dword [edx + 0x44], ecx
movzx ecx, al
and ecx, 0xf
mov dword [edx + 0x48], ecx
je 0x100078db
cmp ebx, ecx
jae 0x100078be
mov eax, dword [ebp - 4]
test esi, esi
jne 0x100078a3
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x10]
call dword [ebp + 0xc]
mov esi, eax
add esp, 8
test esi, esi
je 0x100079bc
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
mov ecx, ebx
shl eax, cl
add ebx, 8
add edi, eax
dec esi
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
mov ecx, dword [edx + 0x48]
cmp ebx, ecx
jb 0x10007882
mov eax, 1
shl eax, cl
dec eax
and eax, edi
shr edi, cl
add dword [edx + 0x44], eax
sub ebx, ecx
mov eax, dword [edx + 0x44]
mov dword [ebp - 0x34], eax
mov dword [ebp - 8], edi
mov dword [ebp - 0x10], ebx
mov ecx, dword [edx + 0x28]
cmp dword [edx + 0x2c], ecx
sbb eax, eax
and eax, dword [ebp - 0x14]
sub ecx, eax
cmp dword [ebp - 0x34], ecx
jbe 0x10007902
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.invalid_distance_too_far_back
mov dword [edx], 0x1d
jmp 0x10007995
cmp dword [ebp - 0x14], 0
jne 0x1000792d
mov ecx, dword [edx + 0x28]
mov eax, dword [edx + 0x34]
push ecx
push eax
push dword [ebp + 0x18]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], ecx
mov dword [edx + 0x2c], ecx
call dword [ebp + 0x14]
add esp, 0xc
test eax, eax
jne 0x100079c3
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x44]
mov edx, dword [edx + 0x28]
mov edi, dword [ebp - 0x18]
sub edx, eax
mov ecx, edi
sub ecx, eax
cmp edx, dword [ebp - 0x14]
lea eax, [edx + edi]
cmovae eax, ecx
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x14]
mov ecx, eax
sub ecx, edx
cmp edx, eax
mov edx, dword [ebp - 0xc]
cmovae ecx, eax
mov eax, dword [edx + 0x40]
cmp ecx, eax
mov edx, eax
cmovbe edx, ecx
mov ecx, dword [ebp - 0x38]
sub eax, edx
mov dword [ebp - 0x34], edx
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x40], eax
mov edx, dword [ebp - 0x34]
sub dword [ebp - 0x14], edx
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edi], al
inc edi
sub edx, 1
jne 0x10007975
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x18], edi
mov edi, dword [ebp - 8]
cmp dword [edx + 0x40], 0
jne 0x10007902
mov eax, dword [edx]
sub eax, 0xb
cmp eax, 0x12
jbe 0x10006cd1
mov edi, 0xfffffffe
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
mov dword [eax + 4], esi
mov dword [eax], ecx
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov edi, 0xfffffffb
mov ecx, dword [ebp - 4]
mov dword [eax + 4], esi
mov dword [eax], ecx
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
mov ecx, ebx
mov edi, 0xfffffffb
mov dword [ebp - 4], ebx
mov dword [eax + 4], esi
mov dword [eax], ecx
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [edx + 0x28]
mov edi, 1
mov ecx, dword [ebp - 0x14]
cmp ecx, eax
jae 0x100079a8
sub eax, ecx
push eax
push dword [edx + 0x34]
push dword [ebp + 0x18]
call dword [ebp + 0x14]
add esp, 0xc
test eax, eax
je 0x100079a8
mov eax, dword [ebp + 8]
mov edi, 0xfffffffb
mov ecx, dword [ebp - 4]
mov dword [eax + 4], esi
mov dword [eax], ecx
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
mov edi, 0xfffffffd
mov ecx, dword [ebp - 4]
mov dword [eax + 4], esi
mov dword [eax], ecx
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 0xfffffffe
mov esp, ebp
pop ebp
ret