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

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x30
test eax, eax
push ebx
push esi
push edi
je case.default.0x1002b4aa
mov ebx, dword [eax + 0x1c]
test ebx, ebx
je case.default.0x1002b4aa
mov edx, dword [eax + 0xc]
test edx, edx
je case.default.0x1002b4aa
mov ecx, dword [eax]
test ecx, ecx
jne 0x1002b46c
cmp dword [eax + 4], ecx
jne case.default.0x1002b4aa
cmp dword [ebx], 0xb
jne 0x1002b477
mov dword [ebx], 0xc
mov esi, dword [eax + 0x10]
mov eax, dword [eax + 4]
and dword [ebp - 0x24], 0
mov edi, dword [ebx + 0x3c]
mov dword [ebp - 8], eax
mov dword [ebp - 0x30], eax
mov eax, dword [ebx]
cmp eax, 0x1e
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebx + 0x38]
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], ecx
mov dword [ebp - 0x20], esi
ja case.default.0x1002b4aa
mov esi, dword [ebp - 0xc]
jmp dword [eax*4 + 0x1002c60f]
mov eax, dword [ebx + 8]
test eax, eax
jne 0x1002b4e1
mov dword [ebx], 0xc
jmp 0x1002c4d6
cmp dword [ebp - 8], 0
je 0x1002c528
movzx edx, byte [esi]
dec dword [ebp - 8]
mov ecx, edi
shl edx, cl
add dword [ebp - 4], edx
inc esi
mov dword [ebp - 0xc], esi
add edi, 8
cmp edi, 0x10
jb 0x1002b4c3
test al, 2
je 0x1002b51e
cmp dword [ebp - 4], 0x8b1f
jne 0x1002b51e
xor edi, edi
push 2
pop eax
lea ecx, [ebp - 0x18]
xor edx, edx
mov dword [ebx + 0x18], edi
mov byte [ebp - 0x18], 0x1f
mov byte [ebp - 0x17], 0x8b
call fcn.1002e623
mov dword [ebx + 0x18], eax
mov dword [ebp - 4], edi
mov dword [ebx], 1
jmp 0x1002c4d6
mov eax, dword [ebx + 0x20]
and dword [ebx + 0x10], 0
test eax, eax
je 0x1002b52d
or dword [eax + 0x30], 0xffffffff
test byte [ebx + 8], 1
je 0x1002b5c4
movzx eax, byte [ebp - 4]
mov ecx, dword [ebp - 4]
shl eax, 8
shr ecx, 8
add eax, ecx
push 0x1f
xor edx, edx
pop ecx
div ecx
test edx, edx
jne 0x1002b5c4
mov eax, dword [ebp - 4]
and al, 0xf
cmp al, 8
je 0x1002b569
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.unknown_compression_method
jmp 0x1002c4d0
shr dword [ebp - 4], 4
mov ecx, dword [ebp - 4]
mov eax, dword [ebx + 0x24]
and ecx, 0xf
sub edi, 4
add ecx, 8
test eax, eax
jne 0x1002b5b1
mov dword [ebx + 0x24], ecx
xor eax, eax
inc eax
mov edx, eax
shl edx, cl
mov ecx, dword [ebp + 8]
mov dword [ebx + 0x18], eax
mov dword [ecx + 0x30], eax
mov eax, dword [ebp - 4]
and dword [ebp - 4], 0
shr eax, 8
not eax
and eax, 2
or eax, 9
mov dword [ebx + 0x14], edx
mov dword [ebx], eax
xor edi, edi
jmp 0x1002c4d6
cmp ecx, eax
jbe 0x1002b583
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.invalid_window_size
jmp 0x1002c4d0
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.incorrect_header_check
jmp 0x1002c4d0
cmp dword [ebp - 8], 0
je 0x1002c528
movzx eax, byte [esi]
dec dword [ebp - 8]
mov ecx, edi
shl eax, cl
add dword [ebp - 4], eax
inc esi
mov dword [ebp - 0xc], esi
add edi, 8
cmp edi, 0x10
jb 0x1002b5d3
mov ecx, dword [ebp - 4]
cmp cl, 8
mov dword [ebx + 0x10], ecx
jne 0x1002b55a
test cx, 0xe000
je 0x1002b61b
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.unknown_header_flags_set
jmp 0x1002c4d0
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x1002b62a
shr ecx, 8
and ecx, 1
mov dword [eax], ecx
test word [ebx + 0x10], 0x200
je 0x1002b64f
mov eax, dword [ebp - 4]
mov edx, dword [ebx + 0x18]
mov byte [ebp - 0x18], al
shr eax, 8
mov byte [ebp - 0x17], al
push 2
pop eax
lea ecx, [ebp - 0x18]
call fcn.1002e623
mov dword [ebx + 0x18], eax
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebx], 2
jmp case.0x1002b4aa.2
cmp dword [ebp - 8], 0
je 0x1002c528
movzx eax, byte [esi]
dec dword [ebp - 8]
mov ecx, edi
shl eax, cl
add dword [ebp - 4], eax
inc esi
mov dword [ebp - 0xc], esi
add edi, 8
cmp edi, 0x20
jb 0x1002b65c
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x1002b68c
mov ecx, dword [ebp - 4]
mov dword [eax + 4], ecx
test word [ebx + 0x10], 0x200
je 0x1002b6c1
mov eax, dword [ebp - 4]
mov edx, dword [ebx + 0x18]
mov ecx, eax
shr ecx, 8
mov byte [ebp - 0x17], cl
mov ecx, eax
mov byte [ebp - 0x18], al
shr ecx, 0x10
shr eax, 0x18
mov byte [ebp - 0x16], cl
mov byte [ebp - 0x15], al
push 4
pop eax
lea ecx, [ebp - 0x18]
call fcn.1002e623
mov dword [ebx + 0x18], eax
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebx], 3
jmp case.0x1002b4aa.3
cmp dword [ebp - 8], 0
je 0x1002c528
movzx eax, byte [esi]
dec dword [ebp - 8]
mov ecx, edi
shl eax, cl
add dword [ebp - 4], eax
inc esi
mov dword [ebp - 0xc], esi
add edi, 8
cmp edi, 0x10
jb 0x1002b6ce
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x1002b710
mov ecx, dword [ebp - 4]
and ecx, 0xff
mov dword [eax + 8], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [ebx + 0x20]
shr eax, 8
mov dword [ecx + 0xc], eax
test word [ebx + 0x10], 0x200
je 0x1002b735
mov eax, dword [ebp - 4]
mov edx, dword [ebx + 0x18]
mov byte [ebp - 0x18], al
shr eax, 8
mov byte [ebp - 0x17], al
push 2
pop eax
lea ecx, [ebp - 0x18]
call fcn.1002e623
mov dword [ebx + 0x18], eax
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebx], 4
test word [ebx + 0x10], 0x400
jne 0x1002b7cf
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x1002b757
and dword [eax + 0x10], 0
mov dword [ebx], 5
test word [ebx + 0x10], 0x400
je 0x1002b854
mov edx, dword [ebx + 0x40]
mov eax, dword [ebp - 8]
cmp edx, eax
mov dword [ebp - 0x10], edx
jbe 0x1002b779
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x1002b84a
mov ecx, dword [ebx + 0x20]
test ecx, ecx
je 0x1002b824
mov eax, dword [ecx + 0x10]
test eax, eax
mov dword [ebp - 0x2c], eax
je 0x1002b824
mov eax, dword [ecx + 0x14]
mov ecx, dword [ecx + 0x18]
sub eax, edx
mov edx, dword [ebp - 0x10]
add edx, eax
cmp edx, ecx
jbe 0x1002b813
sub ecx, eax
jmp 0x1002b816
cmp dword [ebp - 8], 0
je 0x1002c528
movzx eax, byte [esi]
dec dword [ebp - 8]
mov ecx, edi
shl eax, cl
add dword [ebp - 4], eax
inc esi
mov dword [ebp - 0xc], esi
add edi, 8
cmp edi, 0x10
jb 0x1002b7b1
mov eax, dword [ebx + 0x20]
test eax, eax
mov ecx, dword [ebp - 4]
mov dword [ebx + 0x40], ecx
je 0x1002b7e4
mov dword [eax + 0x14], ecx
test word [ebx + 0x10], 0x200
je 0x1002b809
mov eax, dword [ebp - 4]
mov edx, dword [ebx + 0x18]
mov byte [ebp - 0x18], al
shr eax, 8
mov byte [ebp - 0x17], al
push 2
pop eax
lea ecx, [ebp - 0x18]
call fcn.1002e623
mov dword [ebx + 0x18], eax
xor edi, edi
mov dword [ebp - 4], edi
jmp 0x1002b757
mov ecx, dword [ebp - 0x10]
push ecx
mov ecx, dword [ebp - 0x2c]
add eax, ecx
mov ecx, esi
call fcn.1002e5fd
pop ecx
test word [ebx + 0x10], 0x200
je 0x1002b83c
mov eax, dword [ebp - 0x10]
mov edx, dword [ebx + 0x18]
mov ecx, esi
call fcn.1002e623
mov dword [ebx + 0x18], eax
mov eax, dword [ebp - 0x10]
sub dword [ebp - 8], eax
add esi, eax
sub dword [ebx + 0x40], eax
mov dword [ebp - 0xc], esi
cmp dword [ebx + 0x40], 0
jne 0x1002c528
and dword [ebx + 0x40], 0
mov dword [ebx], 6
test word [ebx + 0x10], 0x800
je 0x1002b8db
cmp dword [ebp - 8], 0
je 0x1002c528
xor eax, eax
movzx edx, byte [eax + esi]
inc eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x20]
test eax, eax
mov dword [ebp - 0x28], edx
je 0x1002b89f
mov ecx, dword [eax + 0x1c]
test ecx, ecx
mov dword [ebp - 0x2c], ecx
je 0x1002b89f
mov ecx, dword [ebx + 0x40]
cmp ecx, dword [eax + 0x20]
jae 0x1002b89f
mov eax, dword [ebp - 0x2c]
mov byte [eax + ecx], dl
inc dword [ebx + 0x40]
test edx, edx
je 0x1002b8ab
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 8]
jb 0x1002b872
test word [ebx + 0x10], 0x200
je 0x1002b8c6
mov eax, dword [ebp - 0x10]
mov edx, dword [ebx + 0x18]
mov ecx, esi
call fcn.1002e623
mov edx, dword [ebp - 0x28]
mov dword [ebx + 0x18], eax
mov eax, dword [ebp - 0x10]
sub dword [ebp - 8], eax
add esi, eax
test edx, edx
mov dword [ebp - 0xc], esi
jne 0x1002c528
jmp 0x1002b8e6
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x1002b8e6
and dword [eax + 0x1c], 0
and dword [ebx + 0x40], 0
mov dword [ebx], 7
test word [ebx + 0x10], 0x1000
je 0x1002b96d
cmp dword [ebp - 8], 0
je 0x1002c528
xor eax, eax
movzx edx, byte [eax + esi]
inc eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x20]
test eax, eax
mov dword [ebp - 0x28], edx
je 0x1002b931
mov ecx, dword [eax + 0x24]
test ecx, ecx
mov dword [ebp - 0x2c], ecx
je 0x1002b931
mov ecx, dword [ebx + 0x40]
cmp ecx, dword [eax + 0x28]
jae 0x1002b931
mov eax, dword [ebp - 0x2c]
mov byte [eax + ecx], dl
inc dword [ebx + 0x40]
test edx, edx
je 0x1002b93d
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 8]
jb 0x1002b904
test word [ebx + 0x10], 0x200
je 0x1002b958
mov eax, dword [ebp - 0x10]
mov edx, dword [ebx + 0x18]
mov ecx, esi
call fcn.1002e623
mov edx, dword [ebp - 0x28]
mov dword [ebx + 0x18], eax
mov eax, dword [ebp - 0x10]
sub dword [ebp - 8], eax
add esi, eax
test edx, edx
mov dword [ebp - 0xc], esi
jne 0x1002c528
jmp 0x1002b978
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x1002b978
and dword [eax + 0x24], 0
mov dword [ebx], 8
test word [ebx + 0x10], 0x200
je 0x1002b9c8
jmp 0x1002b9a6
cmp dword [ebp - 8], 0
je 0x1002c528
movzx eax, byte [esi]
dec dword [ebp - 8]
mov ecx, edi
shl eax, cl
add dword [ebp - 4], eax
inc esi
mov dword [ebp - 0xc], esi
add edi, 8
cmp edi, 0x10
jb 0x1002b988
movzx eax, word [ebx + 0x18]
cmp dword [ebp - 4], eax
je 0x1002b9c3
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.header_crc_mismatch
jmp 0x1002c4d0
xor edi, edi
mov dword [ebp - 4], edi
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x1002b9e3
mov edx, dword [ebx + 0x10]
xor ecx, ecx
inc ecx
sar edx, 9
and edx, ecx
mov dword [eax + 0x2c], edx
mov eax, dword [ebx + 0x20]
mov dword [eax + 0x30], ecx
mov eax, dword [ebp + 8]
and dword [ebx + 0x18], 0
and dword [eax + 0x30], 0
mov dword [ebx], 0xb
jmp 0x1002c4d6
cmp dword [ebp - 8], 0
je 0x1002c528
movzx eax, byte [esi]
dec dword [ebp - 8]
mov ecx, edi
shl eax, cl
add dword [ebp - 4], eax
inc esi
mov dword [ebp - 0xc], esi
add edi, 8
cmp edi, 0x20
jb 0x1002b9f9
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
shl ecx, 0x10
and eax, 0xff00
add eax, ecx
xor ecx, ecx
mov ch, byte [ebp - 2]
shl eax, 8
mov dword [ebx], 0xa
add eax, ecx
mov ecx, dword [ebp - 4]
shr ecx, 0x18
add eax, ecx
mov ecx, dword [ebp + 8]
xor edi, edi
mov dword [ebx + 0x18], eax
mov dword [ecx + 0x30], eax
mov dword [ebp - 4], edi
cmp dword [ebx + 0xc], 0
je 0x1002c4e9
mov ecx, dword [ebp + 8]
xor eax, eax
inc eax
mov dword [ebx + 0x18], eax
mov dword [ecx + 0x30], eax
mov dword [ebx], 0xb
jmp 0x1002ba73
xor eax, eax
inc eax
cmp dword [ebx + 4], 0
je 0x1002baac
mov ecx, edi
and ecx, 7
shr dword [ebp - 4], cl
sub edi, ecx
mov dword [ebx], 0x1a
jmp 0x1002c4d6
cmp dword [ebp - 8], 0
je 0x1002c528
movzx edx, byte [esi]
dec dword [ebp - 8]
mov ecx, edi
shl edx, cl
add dword [ebp - 4], edx
inc esi
mov dword [ebp - 0xc], esi
add edi, 8
cmp edi, 3
jb 0x1002ba8e
mov ecx, dword [ebp - 4]
shr dword [ebp - 4], 1
and ecx, eax
mov eax, dword [ebp - 4]
and eax, 3
dec edi
sub eax, 0
mov dword [ebx + 4], ecx
je 0x1002bb0f
dec eax
je 0x1002baeb
dec eax
je 0x1002bae3
dec eax
jne 0x1002bb15
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.invalid_block_type
mov dword [ebx], 0x1d
jmp 0x1002bb15
mov dword [ebx], 0x10
jmp 0x1002bb15
mov dword [ebx + 0x4c], 0x1004a978
mov dword [ebx + 0x54], 9
mov dword [ebx + 0x50], 0x1004b178
mov dword [ebx + 0x58], 5
mov dword [ebx], 0x13
jmp 0x1002bb15
mov dword [ebx], 0xd
shr dword [ebp - 4], 2
dec edi
dec edi
jmp 0x1002c4d6
mov ecx, edi
and ecx, 7
shr dword [ebp - 4], cl
sub edi, ecx
jmp 0x1002bb4a
cmp dword [ebp - 8], 0
je 0x1002c528
movzx eax, byte [esi]
dec dword [ebp - 8]
mov ecx, edi
shl eax, cl
add dword [ebp - 4], eax
inc esi
mov dword [ebp - 0xc], esi
add edi, 8
cmp edi, 0x20
jb 0x1002bb2c
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 4]
not ecx
and eax, 0xffff
shr ecx, 0x10
cmp eax, ecx
je 0x1002bb72
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.invalid_stored_block_lengths
jmp 0x1002c4d0
xor edi, edi
mov dword [ebx + 0x40], eax
mov dword [ebp - 4], edi
mov dword [ebx], 0xe
mov dword [ebx], 0xf
mov eax, dword [ebx + 0x40]
test eax, eax
mov dword [ebp - 0x10], eax
je 0x1002b9ee
mov eax, dword [ebp - 8]
cmp dword [ebp - 0x10], eax
jbe 0x1002bb9f
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x10], eax
jbe 0x1002bbaa
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x1002c528
push dword [ebp - 0x10]
mov eax, dword [ebp - 0x1c]
mov ecx, esi
call fcn.1002e5fd
mov eax, dword [ebp - 0x10]
sub dword [ebp - 8], eax
sub dword [ebp - 0x14], eax
add dword [ebp - 0x1c], eax
add esi, eax
sub dword [ebx + 0x40], eax
pop ecx
mov dword [ebp - 0xc], esi
jmp 0x1002c4d6
cmp dword [ebp - 8], 0
je 0x1002c528
movzx eax, byte [esi]
dec dword [ebp - 8]
mov ecx, edi
shl eax, cl
add dword [ebp - 4], eax
inc esi
mov dword [ebp - 0xc], esi
add edi, 8
cmp edi, 0xe
jb 0x1002bbdb
mov eax, dword [ebp - 4]
shr dword [ebp - 4], 5
and eax, 0x1f
add eax, 0x101
mov dword [ebx + 0x60], eax
mov eax, dword [ebp - 4]
shr dword [ebp - 4], 5
and eax, 0x1f
inc eax
mov dword [ebx + 0x64], eax
mov eax, dword [ebp - 4]
shr dword [ebp - 4], 4
and eax, 0xf
add eax, 4
sub edi, 0xe
cmp dword [ebx + 0x60], 0x11e
mov dword [ebx + 0x5c], eax
ja 0x1002bc4c
cmp dword [ebx + 0x64], 0x1e
ja 0x1002bc4c
and dword [ebx + 0x68], 0
mov dword [ebx], 0x11
jmp case.0x1002b4aa.17
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.too_many_length_or_distance_symbols
jmp 0x1002c4d0
cmp dword [ebp - 8], 0
je 0x1002c528
movzx eax, byte [esi]
dec dword [ebp - 8]
mov ecx, edi
shl eax, cl
add dword [ebp - 4], eax
inc esi
mov dword [ebp - 0xc], esi
add edi, 8
cmp edi, 3
jb 0x1002bc5b
mov ecx, dword [ebx + 0x68]
movzx eax, byte [ebp - 4]
movzx ecx, word [ecx*2 + 0x1004b1f8]
shr dword [ebp - 4], 3
and eax, 7
mov word [ebx + ecx*2 + 0x70], ax
inc dword [ebx + 0x68]
sub edi, 3
mov eax, dword [ebx + 0x68]
cmp eax, dword [ebx + 0x5c]
jb 0x1002bc79
jmp 0x1002bcbd
mov eax, dword [ebx + 0x68]
movzx eax, word [eax*2 + 0x1004b1f8]
and word [ebx + eax*2 + 0x70], 0
inc dword [ebx + 0x68]
cmp dword [ebx + 0x68], 0x13
jb 0x1002bca9
lea eax, [ebx + 0x530]
lea esi, [ebx + 0x6c]
mov dword [esi], eax
mov dword [ebx + 0x4c], eax
lea ecx, [ebx + 0x2f0]
push ecx
lea eax, [ebx + 0x54]
push eax
mov dword [eax], 7
push 0x13
lea eax, [ebx + 0x70]
push eax
push 0
call fcn.1002e700
mov esi, dword [ebp - 0xc]
add esp, 0x14
test eax, eax
mov dword [ebp - 0x24], eax
je 0x1002bd0b
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.invalid_code_lengths_set
jmp 0x1002c4d0
and dword [ebx + 0x68], 0
mov dword [ebx], 0x12
jmp case.0x1002b4aa.18
cmp dword [ebp - 8], 0
je 0x1002c528
movzx eax, byte [esi]
dec dword [ebp - 8]
mov ecx, edi
shl eax, cl
add dword [ebp - 4], eax
inc esi
mov dword [ebp - 0xc], esi
add edi, 8
mov ecx, dword [ebx + 0x54]
xor eax, eax
inc eax
shl eax, cl
mov ecx, dword [ebx + 0x4c]
dec eax
and eax, dword [ebp - 4]
mov eax, dword [ecx + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, edi
mov dword [ebp - 0x2c], eax
ja 0x1002bd1a
mov ecx, eax
shr ecx, 0x10
cmp cx, 0x10
mov dword [ebp - 0x28], ecx
jae 0x1002bd86
shr eax, 8
movzx ecx, al
shr dword [ebp - 4], cl
mov eax, dword [ebx + 0x68]
sub edi, ecx
mov cx, word [ebp - 0x28]
mov word [ebx + eax*2 + 0x70], cx
inc dword [ebx + 0x68]
jmp case.0x1002b4aa.18
jne 0x1002bde8
mov ecx, eax
shr ecx, 8
movzx ecx, cl
jmp 0x1002bdb3
cmp dword [ebp - 8], 0
je 0x1002c528
movzx edx, byte [esi]
dec dword [ebp - 8]
mov ecx, edi
shl edx, cl
movzx ecx, ah
add dword [ebp - 4], edx
inc esi
mov dword [ebp - 0xc], esi
add edi, 8
inc ecx
inc ecx
cmp edi, ecx
jb 0x1002bd92
movzx ecx, ah
mov eax, dword [ebx + 0x68]
shr dword [ebp - 4], cl
sub edi, ecx
test eax, eax
je 0x1002bed7
movzx eax, word [ebx + eax*2 + 0x6e]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 4]
shr dword [ebp - 4], 2
and eax, 3
add eax, 3
dec edi
dec edi
jmp 0x1002be71
cmp word [ebp - 0x2a], 0x11
movzx edx, ah
jne 0x1002be4d
jmp 0x1002be12
cmp dword [ebp - 8], 0
je 0x1002c528
movzx eax, byte [esi]
dec dword [ebp - 8]
mov ecx, edi
shl eax, cl
add dword [ebp - 4], eax
inc esi
mov dword [ebp - 0xc], esi
add edi, 8
lea eax, [edx + 3]
cmp edi, eax
jb 0x1002bdf4
mov ecx, edx
shr dword [ebp - 4], cl
mov eax, dword [ebp - 4]
and eax, 7
add eax, 3
shr dword [ebp - 4], 3
push 0xfffffffffffffffd
jmp 0x1002be68
cmp dword [ebp - 8], 0
je 0x1002c528
movzx eax, byte [esi]
dec dword [ebp - 8]
mov ecx, edi
shl eax, cl
add dword [ebp - 4], eax
inc esi
mov dword [ebp - 0xc], esi
add edi, 8
lea eax, [edx + 7]
cmp edi, eax
jb 0x1002be2f
mov ecx, edx
shr dword [ebp - 4], cl
mov eax, dword [ebp - 4]
and eax, 0x7f
add eax, 0xb
shr dword [ebp - 4], 7
push 0xfffffffffffffff9
and dword [ebp - 0x28], 0
pop ecx
sub ecx, edx
add edi, ecx
mov edx, dword [ebx + 0x64]
mov ecx, dword [ebx + 0x68]
add edx, dword [ebx + 0x60]
add ecx, eax
cmp ecx, edx
jbe 0x1002bec2
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.invalid_bit_length_repeat
mov dword [ebx], 0x1d
cmp dword [ebx], 0x1d
je 0x1002c4d6
cmp word [ebx + 0x270], 0
jne 0x1002bee6
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.invalid_code____missing_end_of_block
jmp 0x1002c4d0
mov ecx, dword [ebx + 0x68]
mov dx, word [ebp - 0x28]
dec eax
mov word [ebx + ecx*2 + 0x70], dx
inc dword [ebx + 0x68]
test eax, eax
jne 0x1002beb2
mov eax, dword [ebx + 0x64]
add eax, dword [ebx + 0x60]
cmp dword [ebx + 0x68], eax
jb 0x1002bd38
jmp 0x1002be90
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.invalid_bit_length_repeat
jmp 0x1002c4d0
lea eax, [ebx + 0x530]
lea esi, [ebx + 0x6c]
mov dword [esi], eax
mov dword [ebx + 0x4c], eax
lea ecx, [ebx + 0x2f0]
push ecx
lea eax, [ebx + 0x54]
push eax
push dword [ebx + 0x60]
mov dword [eax], 9
lea eax, [ebx + 0x70]
push eax
push 1
call fcn.1002e700
add esp, 0x14
test eax, eax
mov dword [ebp - 0x24], eax
je 0x1002bf2f
mov eax, dword [ebp + 8]
mov esi, dword [ebp - 0xc]
mov dword [eax + 0x18], str.invalid_literal_lengths_set
jmp 0x1002c4d0
mov eax, dword [esi]
mov dword [ebx + 0x50], eax
lea ecx, [ebx + 0x2f0]
push ecx
lea eax, [ebx + 0x58]
push eax
push dword [ebx + 0x64]
mov dword [eax], 6
mov eax, dword [ebx + 0x60]
lea eax, [ebx + eax*2 + 0x70]
push eax
push 2
call fcn.1002e700
mov esi, dword [ebp - 0xc]
add esp, 0x14
test eax, eax
mov dword [ebp - 0x24], eax
je 0x1002bf73
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.invalid_distances_set
jmp 0x1002c4d0
mov dword [ebx], 0x13
mov dword [ebx], 0x14
cmp dword [ebp - 8], 6
jb 0x1002bff1
cmp dword [ebp - 0x14], 0x102
jb 0x1002bff1
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 - 8]
mov dword [eax + 4], ecx
mov ecx, dword [ebp - 4]
push eax
mov dword [eax], esi
mov dword [ebx + 0x38], ecx
mov dword [ebx + 0x3c], edi
call fcn.1002e217
cmp dword [ebx], 0xb
mov eax, dword [ebp + 8]
mov esi, dword [eax]
mov edi, dword [ebx + 0x3c]
pop ecx
pop ecx
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [eax + 0x10]
mov eax, dword [eax + 4]
mov dword [ebp - 8], eax
mov eax, dword [ebx + 0x38]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0xc], esi
mov dword [ebp - 4], eax
jne 0x1002c4d6
or dword [ebx + 0x1bc4], 0xffffffff
jmp 0x1002c4d6
mov ecx, dword [ebx + 0x54]
and dword [ebx + 0x1bc4], 0
mov eax, dword [ebx + 0x4c]
xor edx, edx
inc edx
shl edx, cl
dec edx
and edx, dword [ebp - 4]
mov eax, dword [eax + edx*4]
jmp 0x1002c03c
cmp dword [ebp - 8], 0
je 0x1002c528
movzx eax, byte [esi]
dec dword [ebp - 8]
mov ecx, edi
shl eax, cl
mov ecx, dword [ebx + 0x54]
add edi, 8
add dword [ebp - 4], eax
xor eax, eax
inc eax
shl eax, cl
mov ecx, dword [ebx + 0x4c]
inc esi
mov dword [ebp - 0xc], esi
dec eax
and eax, dword [ebp - 4]
mov eax, dword [ecx + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, edi
ja 0x1002c00c
test al, al
je 0x1002c0e9
test al, 0xf0
jne 0x1002c0e9
mov dword [ebp - 0x10], eax
shr dword [ebp - 0x10], 8
movzx edx, byte [ebp - 0x10]
mov dword [ebp - 0x2c], edx
movzx ecx, al
add ecx, edx
xor edx, edx
inc edx
shl edx, cl
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x28], eax
shr eax, 0x10
dec edx
and edx, dword [ebp - 4]
shr edx, cl
add edx, eax
mov eax, dword [ebx + 0x4c]
mov eax, dword [eax + edx*4]
movzx edx, byte [ebp - 0x10]
jmp 0x1002c0cc
cmp dword [ebp - 8], 0
je 0x1002c528
movzx eax, byte [esi]
dec dword [ebp - 8]
mov ecx, edi
shl eax, cl
mov ecx, dword [ebp - 0x28]
movzx edx, ch
add dword [ebp - 4], eax
xor eax, eax
add ecx, edx
inc eax
shl eax, cl
inc esi
add edi, 8
mov ecx, edx
dec eax
and eax, dword [ebp - 4]
mov dword [ebp - 0xc], esi
shr eax, cl
movzx ecx, word [ebp - 0x26]
add eax, ecx
mov ecx, dword [ebx + 0x4c]
mov eax, dword [ecx + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add ecx, edx
cmp ecx, edi
ja 0x1002c08d
movzx ecx, byte [ebp - 0x27]
shr dword [ebp - 4], cl
sub edi, ecx
mov dword [ebx + 0x1bc4], ecx
mov ecx, eax
shr ecx, 8
movzx ecx, cl
shr dword [ebp - 4], cl
add dword [ebx + 0x1bc4], ecx
sub edi, ecx
mov dword [ebp - 0x2c], ecx
mov ecx, eax
shr ecx, 0x10
test al, al
mov dword [ebx + 0x40], ecx
jne 0x1002c116
mov dword [ebx], 0x19
jmp 0x1002c4d6
test al, 0x20
je 0x1002c126
or dword [ebx + 0x1bc4], 0xffffffff
jmp 0x1002b9ee
test al, 0x40
je 0x1002c139
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.invalid_literal_length_code
jmp 0x1002c4d0
and eax, 0xf
mov dword [ebx + 0x48], eax
mov dword [ebx], 0x15
mov eax, dword [ebx + 0x48]
test eax, eax
je 0x1002c18c
cmp edi, eax
jae 0x1002c173
cmp dword [ebp - 8], 0
je 0x1002c528
movzx edx, byte [esi]
dec dword [ebp - 8]
mov ecx, edi
shl edx, cl
add edi, 8
add dword [ebp - 4], edx
inc esi
cmp edi, dword [ebx + 0x48]
mov dword [ebp - 0xc], esi
jb 0x1002c150
xor edx, edx
inc edx
mov ecx, eax
shl edx, cl
sub edi, eax
dec edx
and edx, dword [ebp - 4]
shr dword [ebp - 4], cl
add dword [ebx + 0x40], edx
add dword [ebx + 0x1bc4], eax
mov eax, dword [ebx + 0x40]
mov dword [ebx + 0x1bc8], eax
mov dword [ebx], 0x16
mov ecx, dword [ebx + 0x58]
mov eax, dword [ebx + 0x50]
xor edx, edx
inc edx
shl edx, cl
dec edx
and edx, dword [ebp - 4]
mov eax, dword [eax + edx*4]
jmp 0x1002c1df
cmp dword [ebp - 8], 0
je 0x1002c528
movzx eax, byte [esi]
dec dword [ebp - 8]
mov ecx, edi
shl eax, cl
mov ecx, dword [ebx + 0x58]
add edi, 8
add dword [ebp - 4], eax
xor eax, eax
inc eax
shl eax, cl
mov ecx, dword [ebx + 0x50]
inc esi
mov dword [ebp - 0xc], esi
dec eax
and eax, dword [ebp - 4]
mov eax, dword [ecx + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, edi
ja 0x1002c1af
test al, 0xf0
jne 0x1002c284
mov dword [ebp - 0x10], eax
shr dword [ebp - 0x10], 8
movzx edx, byte [ebp - 0x10]
mov dword [ebp - 0x2c], edx
movzx ecx, al
add ecx, edx
xor edx, edx
inc edx
shl edx, cl
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x28], eax
shr eax, 0x10
dec edx
and edx, dword [ebp - 4]
shr edx, cl
add edx, eax
mov eax, dword [ebx + 0x50]
mov eax, dword [eax + edx*4]
movzx edx, byte [ebp - 0x10]
jmp 0x1002c267
cmp dword [ebp - 8], 0
je 0x1002c528
movzx eax, byte [esi]
dec dword [ebp - 8]
mov ecx, edi
shl eax, cl
mov ecx, dword [ebp - 0x28]
movzx edx, ch
add dword [ebp - 4], eax
xor eax, eax
add ecx, edx
inc eax
shl eax, cl
inc esi
add edi, 8
mov ecx, edx
dec eax
and eax, dword [ebp - 4]
mov dword [ebp - 0xc], esi
shr eax, cl
movzx ecx, word [ebp - 0x26]
add eax, ecx
mov ecx, dword [ebx + 0x50]
mov eax, dword [ecx + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add ecx, edx
cmp ecx, edi
ja 0x1002c228
movzx ecx, byte [ebp - 0x27]
shr dword [ebp - 4], cl
sub edi, ecx
add dword [ebx + 0x1bc4], ecx
mov ecx, eax
shr ecx, 8
movzx ecx, cl
shr dword [ebp - 4], cl
add dword [ebx + 0x1bc4], ecx
sub edi, ecx
test al, 0x40
mov dword [ebp - 0x2c], ecx
je 0x1002c2ad
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.invalid_distance_code
jmp 0x1002c4d0
mov ecx, eax
shr ecx, 0x10
and eax, 0xf
mov dword [ebx + 0x44], ecx
mov dword [ebx + 0x48], eax
mov dword [ebx], 0x17
mov eax, dword [ebx + 0x48]
test eax, eax
je 0x1002c308
cmp edi, eax
jae 0x1002c2ef
cmp dword [ebp - 8], 0
je 0x1002c528
movzx edx, byte [esi]
dec dword [ebp - 8]
mov ecx, edi
shl edx, cl
add edi, 8
add dword [ebp - 4], edx
inc esi
cmp edi, dword [ebx + 0x48]
mov dword [ebp - 0xc], esi
jb 0x1002c2cc
xor edx, edx
inc edx
mov ecx, eax
shl edx, cl
sub edi, eax
dec edx
and edx, dword [ebp - 4]
shr dword [ebp - 4], cl
add dword [ebx + 0x44], edx
add dword [ebx + 0x1bc4], eax
mov dword [ebx], 0x18
cmp dword [ebp - 0x14], 0
je 0x1002c528
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x14]
mov ecx, dword [ebx + 0x44]
cmp ecx, eax
jbe 0x1002c36f
sub ecx, eax
cmp ecx, dword [ebx + 0x2c]
mov dword [ebp - 0x10], ecx
jbe 0x1002c347
cmp dword [ebx + 0x1bc0], 0
je 0x1002c347
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.invalid_distance_too_far_back
jmp 0x1002c4d0
mov edx, dword [ebx + 0x30]
cmp ecx, edx
mov eax, dword [ebx + 0x34]
jbe 0x1002c35d
add eax, dword [ebx + 0x28]
sub ecx, edx
mov dword [ebp - 0x10], ecx
sub eax, ecx
jmp 0x1002c361
sub eax, ecx
add eax, edx
mov edx, dword [ebx + 0x40]
cmp ecx, edx
mov dword [ebp - 0x2c], edx
jbe 0x1002c37d
mov ecx, edx
jmp 0x1002c37a
mov eax, dword [ebp - 0x1c]
sub eax, ecx
mov ecx, dword [ebx + 0x40]
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x10], ecx
cmp ecx, dword [ebp - 0x14]
jbe 0x1002c388
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x2c]
sub dword [ebp - 0x14], ecx
sub edx, ecx
mov dword [ebx + 0x40], edx
mov edx, dword [ebp - 0x1c]
mov cl, byte [eax]
inc dword [ebp - 0x1c]
inc eax
dec dword [ebp - 0x10]
mov byte [edx], cl
jne 0x1002c393
cmp dword [ebx + 0x40], 0
jne 0x1002c4d6
mov dword [ebx], 0x14
jmp 0x1002c4d6
cmp dword [ebp - 0x14], 0
je 0x1002c528
mov ecx, dword [ebp - 0x1c]
mov al, byte [ebx + 0x40]
inc dword [ebp - 0x1c]
dec dword [ebp - 0x14]
mov byte [ecx], al
jmp 0x1002c3ad
xor edx, edx
cmp dword [ebx + 8], edx
je 0x1002c487
jmp 0x1002c3fc
cmp dword [ebp - 8], edx
je 0x1002c528
movzx eax, byte [esi]
dec dword [ebp - 8]
mov ecx, edi
shl eax, cl
add dword [ebp - 4], eax
inc esi
mov dword [ebp - 0xc], esi
add edi, 8
cmp edi, 0x20
jb 0x1002c3df
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
add dword [ecx + 0x14], eax
add dword [ebx + 0x1c], eax
cmp eax, edx
mov dword [ebp - 0x20], eax
je 0x1002c443
cmp dword [ebx + 0x10], edx
mov ecx, dword [ebp - 0x1c]
je 0x1002c42b
mov edx, dword [ebx + 0x18]
sub ecx, eax
call fcn.1002e623
jmp 0x1002c43a
push dword [ebp - 0x20]
sub ecx, dword [ebp - 0x20]
mov eax, dword [ebx + 0x18]
call fcn.1002dffd
pop ecx
mov ecx, dword [ebp + 8]
mov dword [ebx + 0x18], eax
mov dword [ecx + 0x30], eax
cmp dword [ebx + 0x10], 0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 4]
jne 0x1002c471
mov ecx, dword [ebp - 4]
shl ecx, 0x10
and eax, 0xff00
add eax, ecx
xor ecx, ecx
mov ch, byte [ebp - 2]
shl eax, 8
add eax, ecx
mov ecx, dword [ebp - 4]
shr ecx, 0x18
add eax, ecx
cmp eax, dword [ebx + 0x18]
je 0x1002c482
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.incorrect_data_check
jmp 0x1002c4d0
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebx], 0x1b
cmp dword [ebx + 8], 0
je 0x1002c512
cmp dword [ebx + 0x10], 0
je 0x1002c512
jmp 0x1002c4b9
cmp dword [ebp - 8], 0
je 0x1002c528
movzx eax, byte [esi]
dec dword [ebp - 8]
mov ecx, edi
shl eax, cl
add dword [ebp - 4], eax
inc esi
mov dword [ebp - 0xc], esi
add edi, 8
cmp edi, 0x20
jb 0x1002c49b
mov eax, dword [ebp - 4]
cmp eax, dword [ebx + 0x1c]
je 0x1002c50d
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.incorrect_length_check
mov dword [ebx], 0x1d
mov eax, dword [ebx]
cmp eax, 0x1e
jbe switch.0x1002b4aa
push 0xfffffffffffffffe
pop eax
pop edi
pop esi
pop ebx
leave
ret
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x1c]
mov dword [eax + 0xc], ecx
mov ecx, dword [ebp - 0x14]
mov dword [eax + 0x10], ecx
mov ecx, dword [ebp - 8]
mov dword [eax], esi
mov dword [eax + 4], ecx
mov eax, dword [ebp - 4]
mov dword [ebx + 0x38], eax
mov dword [ebx + 0x3c], edi
push 2
jmp 0x1002c4e3
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebx], 0x1c
mov dword [ebp - 0x24], 1
jmp 0x1002c528
mov dword [ebp - 0x24], 0xfffffffd
cmp dword [ebx + 0x28], 0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 8]
mov dword [eax + 0xc], ecx
mov ecx, dword [ebp - 0x14]
mov dword [eax + 0x10], ecx
mov dword [eax], esi
mov dword [eax + 4], edx
mov eax, dword [ebp - 4]
mov dword [ebx + 0x38], eax
mov dword [ebx + 0x3c], edi
jne 0x1002c55f
cmp dword [ebp - 0x20], ecx
je 0x1002c57b
mov eax, dword [ebx]
cmp eax, 0x1d
jge 0x1002c57b
cmp eax, 0x1a
jge 0x1002c57b
mov eax, dword [ebp - 0x20]
mov edi, dword [ebp + 8]
call fcn.1002b366
test eax, eax
je 0x1002c57b
mov dword [ebx], 0x1e
push 0xfffffffffffffffc
jmp 0x1002c4e3
mov esi, dword [ebp + 8]
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x20]
sub eax, dword [esi + 0x10]
sub ecx, dword [esi + 4]
add dword [esi + 0x14], eax
add dword [esi + 8], ecx
add dword [ebx + 0x1c], eax
xor edi, edi
cmp dword [ebx + 8], edi
je 0x1002c5c2
cmp eax, edi
je 0x1002c5c2
mov ecx, dword [esi + 0xc]
sub ecx, eax
cmp dword [ebx + 0x10], edi
je 0x1002c5b2
mov edx, dword [ebx + 0x18]
call fcn.1002e623
jmp 0x1002c5bc
push eax
mov eax, dword [ebx + 0x18]
call fcn.1002dffd
pop ecx
mov dword [ebx + 0x18], eax
mov dword [esi + 0x30], eax
mov eax, dword [ebx]
cmp eax, 0xb
jne 0x1002c5d0
mov ecx, 0x80
jmp 0x1002c5d2
xor ecx, ecx
cmp eax, 0x13
je 0x1002c5e0
cmp eax, 0xe
je 0x1002c5e0
xor eax, eax
jmp 0x1002c5e5
mov eax, 0x100
mov edx, dword [ebx + 4]
neg edx
sbb edx, edx
and edx, 0x40
add edx, eax
add edx, ecx
add edx, dword [ebx + 0x3c]
cmp dword [ebp - 0x24], edi
mov dword [esi + 0x2c], edx
jne 0x1002c605
mov dword [ebp - 0x24], 0xfffffffb
mov eax, dword [ebp - 0x24]
jmp 0x1002c4e4