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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
push esi
mov esi, dword [ebp + 8]
xor eax, eax
push edi
cmp esi, eax
je case.default.0x426e22
mov ebx, dword [esi + 0x1c]
cmp ebx, eax
je case.default.0x426e22
cmp dword [esi + 0xc], eax
je case.default.0x426e22
cmp dword [esi], eax
jne 0x426de3
cmp dword [esi + 4], eax
jne case.default.0x426e22
cmp dword [ebx], 0xb
jne 0x426dee
mov dword [ebx], 0xc
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
mov edx, dword [ebx + 0x38]
mov edi, dword [ebx + 0x3c]
and dword [ebp - 0x28], 0
mov dword [ebp - 0x1c], eax
mov eax, dword [esi]
mov dword [ebp - 8], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], edx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x20], ecx
jmp 0x427e64
mov eax, 0xff00
jmp dword [ecx*4 + 0x427fac]
mov eax, dword [ebx + 8]
test eax, eax
jne 0x426e5b
mov dword [ebx], 0xc
jmp 0x427e64
cmp dword [ebp - 0xc], 0
je 0x427eb6
mov ecx, dword [ebp - 8]
movzx edx, byte [ecx]
dec dword [ebp - 0xc]
mov ecx, edi
shl edx, cl
add dword [ebp - 4], edx
inc dword [ebp - 8]
add edi, 8
cmp edi, 0x10
jb 0x426e3b
test al, 2
je 0x426e98
cmp dword [ebp - 4], 0x8b1f
jne 0x426e98
xor edi, edi
push 2
push edi
lea edx, [ebp - 0x18]
mov dword [ebx + 0x18], edi
mov byte [ebp - 0x18], 0x1f
mov byte [ebp - 0x17], 0x8b
call fcn.0042691b
pop ecx
pop ecx
mov dword [ebx + 0x18], eax
mov dword [ebp - 4], edi
mov dword [ebx], 1
jmp 0x427e64
mov eax, dword [ebx + 0x20]
and dword [ebx + 0x10], 0
test eax, eax
je 0x426ea7
or dword [eax + 0x30], 0xffffffff
test byte [ebx + 8], 1
je 0x426f34
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 0x426f34
mov eax, dword [ebp - 4]
and al, 0xf
cmp al, 8
je 0x426ee0
mov dword [esi + 0x18], str.unknown_compression_method
jmp 0x427e5e
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 0x426f24
mov dword [ebx + 0x24], ecx
xor eax, eax
inc eax
mov edx, eax
shl edx, cl
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x14], edx
mov dword [esi + 0x30], eax
mov eax, dword [ebp - 4]
shr eax, 8
not eax
and eax, 2
or eax, 9
xor edi, edi
mov dword [ebx], eax
mov dword [ebp - 4], edi
jmp 0x427e64
cmp ecx, eax
jbe 0x426efa
mov dword [esi + 0x18], str.invalid_window_size
jmp 0x427e5e
mov dword [esi + 0x18], str.incorrect_header_check
jmp 0x427e5e
mov edx, dword [ebp - 4]
cmp edi, 0x10
jae 0x426f6c
cmp dword [ebp - 0xc], 0
je 0x427eb6
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
dec dword [ebp - 0xc]
mov ecx, edi
shl eax, cl
add edx, eax
inc dword [ebp - 8]
mov dword [ebp - 4], edx
add edi, 8
jmp 0x426f43
mov dword [ebx + 0x10], edx
cmp dl, 8
jne 0x426ed4
test edx, 0xe000
je 0x426f8c
mov dword [esi + 0x18], str.unknown_header_flags_set
jmp 0x427e5e
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x426f9d
mov ecx, edx
shr ecx, 8
and ecx, 1
mov dword [eax], ecx
test dword [ebx + 0x10], 0x200
je 0x426fa9
mov byte [ebp - 0x18], dl
mov eax, dword [ebp - 4]
push 2
push dword [ebx + 0x18]
shr eax, 8
lea edx, [ebp - 0x18]
mov byte [ebp - 0x17], al
call fcn.0042691b
pop ecx
xor edi, edi
pop ecx
mov dword [ebx + 0x18], eax
mov dword [ebp - 4], edi
mov dword [ebx], 2
jmp case.0x426e22.2
cmp dword [ebp - 0xc], 0
je 0x427eb6
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
dec dword [ebp - 0xc]
mov ecx, edi
shl eax, cl
add dword [ebp - 4], eax
inc dword [ebp - 8]
add edi, 8
cmp edi, 0x20
jb 0x426fd1
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x427003
mov ecx, dword [ebp - 4]
mov dword [eax + 4], ecx
test dword [ebx + 0x10], 0x200
je 0x427012
mov al, byte [ebp - 4]
mov byte [ebp - 0x18], al
mov eax, dword [ebp - 4]
shr eax, 8
mov byte [ebp - 0x17], al
mov eax, dword [ebp - 4]
shr eax, 0x10
mov byte [ebp - 0x16], al
mov eax, dword [ebp - 4]
push 4
push dword [ebx + 0x18]
shr eax, 0x18
lea edx, [ebp - 0x18]
mov byte [ebp - 0x15], al
call fcn.0042691b
pop ecx
xor edi, edi
pop ecx
mov dword [ebx + 0x18], eax
mov dword [ebp - 4], edi
mov dword [ebx], 3
jmp case.0x426e22.3
cmp dword [ebp - 0xc], 0
je 0x427eb6
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
dec dword [ebp - 0xc]
mov ecx, edi
shl eax, cl
add dword [ebp - 4], eax
inc dword [ebp - 8]
add edi, 8
cmp edi, 0x10
jb 0x42704c
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x427090
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 dword [ebx + 0x10], 0x200
je 0x42709f
mov al, byte [ebp - 4]
mov byte [ebp - 0x18], al
mov eax, dword [ebp - 4]
push 2
push dword [ebx + 0x18]
shr eax, 8
lea edx, [ebp - 0x18]
mov byte [ebp - 0x17], al
call fcn.0042691b
pop ecx
xor edi, edi
pop ecx
mov dword [ebx + 0x18], eax
mov dword [ebp - 4], edi
mov dword [ebx], 4
test dword [ebx + 0x10], 0x400
je 0x427135
mov edx, dword [ebp - 4]
cmp edi, 0x10
jae 0x4270fa
cmp dword [ebp - 0xc], 0
je 0x427eb6
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
dec dword [ebp - 0xc]
mov ecx, edi
shl eax, cl
add edx, eax
inc dword [ebp - 8]
mov dword [ebp - 4], edx
add edi, 8
jmp 0x4270d1
mov eax, dword [ebx + 0x20]
mov dword [ebx + 0x40], edx
test eax, eax
je 0x427107
mov dword [eax + 0x14], edx
test dword [ebx + 0x10], 0x200
je 0x427113
mov byte [ebp - 0x18], dl
mov eax, dword [ebp - 4]
push 2
push dword [ebx + 0x18]
shr eax, 8
lea edx, [ebp - 0x18]
mov byte [ebp - 0x17], al
call fcn.0042691b
pop ecx
xor edi, edi
pop ecx
mov dword [ebx + 0x18], eax
mov dword [ebp - 4], edi
jmp 0x427140
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x427140
and dword [eax + 0x10], 0
mov dword [ebx], 5
test dword [ebx + 0x10], 0x400
je 0x4271d6
mov edx, dword [ebx + 0x40]
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], edx
cmp edx, eax
jbe 0x427163
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x4271cc
mov ecx, dword [ebx + 0x20]
test ecx, ecx
je 0x4271a4
mov eax, dword [ecx + 0x10]
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x4271a4
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 0x42718f
sub ecx, eax
jmp 0x427192
mov ecx, dword [ebp - 0x10]
push ecx
mov ecx, dword [ebp - 0x2c]
push dword [ebp - 8]
add ecx, eax
push ecx
call fcn.00438970
add esp, 0xc
test dword [ebx + 0x10], 0x200
je 0x4271c0
push dword [ebp - 0x10]
mov edx, dword [ebp - 8]
push dword [ebx + 0x18]
call fcn.0042691b
pop ecx
pop ecx
mov dword [ebx + 0x18], eax
mov eax, dword [ebp - 0x10]
sub dword [ebp - 0xc], eax
add dword [ebp - 8], eax
sub dword [ebx + 0x40], eax
cmp dword [ebx + 0x40], 0
jne 0x427eb6
and dword [ebx + 0x40], 0
mov dword [ebx], 6
test dword [ebx + 0x10], 0x800
je 0x427267
cmp dword [ebp - 0xc], 0
je 0x427eb6
and dword [ebp - 0x10], 0
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
movzx edx, byte [ecx + eax]
mov eax, dword [ebx + 0x20]
inc dword [ebp - 0x10]
mov dword [ebp - 0x24], edx
test eax, eax
je 0x427229
mov ecx, dword [eax + 0x1c]
mov dword [ebp - 0x2c], ecx
test ecx, ecx
je 0x427229
mov ecx, dword [ebx + 0x40]
cmp ecx, dword [eax + 0x20]
jae 0x427229
mov eax, dword [ebp - 0x2c]
mov byte [eax + ecx], dl
inc dword [ebx + 0x40]
test edx, edx
je 0x427235
mov eax, dword [ebp - 0xc]
cmp dword [ebp - 0x10], eax
jb 0x4271f7
test dword [ebx + 0x10], 0x200
je 0x427254
push dword [ebp - 0x10]
mov edx, dword [ebp - 8]
push dword [ebx + 0x18]
call fcn.0042691b
mov edx, dword [ebp - 0x24]
pop ecx
pop ecx
mov dword [ebx + 0x18], eax
mov eax, dword [ebp - 0x10]
sub dword [ebp - 0xc], eax
add dword [ebp - 8], eax
test edx, edx
jne 0x427eb6
jmp 0x427272
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x427272
and dword [eax + 0x1c], 0
and dword [ebx + 0x40], 0
mov dword [ebx], 7
test dword [ebx + 0x10], 0x1000
je 0x427303
cmp dword [ebp - 0xc], 0
je 0x427eb6
and dword [ebp - 0x10], 0
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
movzx edx, byte [ecx + eax]
mov eax, dword [ebx + 0x20]
inc dword [ebp - 0x10]
mov dword [ebp - 0x24], edx
test eax, eax
je 0x4272c5
mov ecx, dword [eax + 0x24]
mov dword [ebp - 0x2c], ecx
test ecx, ecx
je 0x4272c5
mov ecx, dword [ebx + 0x40]
cmp ecx, dword [eax + 0x28]
jae 0x4272c5
mov eax, dword [ebp - 0x2c]
mov byte [eax + ecx], dl
inc dword [ebx + 0x40]
test edx, edx
je 0x4272d1
mov eax, dword [ebp - 0xc]
cmp dword [ebp - 0x10], eax
jb 0x427293
test dword [ebx + 0x10], 0x200
je 0x4272f0
push dword [ebp - 0x10]
mov edx, dword [ebp - 8]
push dword [ebx + 0x18]
call fcn.0042691b
mov edx, dword [ebp - 0x24]
pop ecx
pop ecx
mov dword [ebx + 0x18], eax
mov eax, dword [ebp - 0x10]
sub dword [ebp - 0xc], eax
add dword [ebp - 8], eax
test edx, edx
jne 0x427eb6
jmp 0x42730e
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x42730e
and dword [eax + 0x24], 0
mov dword [ebx], 8
test dword [ebx + 0x10], 0x200
je 0x42735e
jmp 0x42733f
cmp dword [ebp - 0xc], 0
je 0x427eb6
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
dec dword [ebp - 0xc]
mov ecx, edi
shl eax, cl
add dword [ebp - 4], eax
inc dword [ebp - 8]
add edi, 8
cmp edi, 0x10
jb 0x42731f
movzx eax, word [ebx + 0x18]
cmp dword [ebp - 4], eax
je 0x427359
mov dword [esi + 0x18], str.header_crc_mismatch
jmp 0x427e5e
xor edi, edi
mov dword [ebp - 4], edi
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x427379
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
and dword [ebx + 0x18], 0
and dword [esi + 0x30], 0
jmp 0x427aa2
cmp dword [ebp - 0xc], 0
je 0x427eb6
mov ecx, dword [ebp - 8]
movzx edx, byte [ecx]
dec dword [ebp - 0xc]
mov ecx, edi
shl edx, cl
add dword [ebp - 4], edx
inc dword [ebp - 8]
add edi, 8
cmp edi, 0x20
jb 0x427386
mov ecx, dword [ebp - 4]
mov edx, ecx
and edx, eax
mov edi, ecx
shl edi, 0x10
add edx, edi
mov edi, ecx
shr edi, 8
and edi, eax
shl edx, 8
add edx, edi
shr ecx, 0x18
lea eax, [edx + ecx]
mov dword [ebx + 0x18], eax
xor edi, edi
mov dword [esi + 0x30], eax
mov dword [ebp - 4], edi
mov dword [ebx], 0xa
cmp dword [ebx + 0xc], 0
je 0x427e77
xor eax, eax
inc eax
mov dword [ebx + 0x18], eax
mov dword [esi + 0x30], eax
mov dword [ebx], 0xb
cmp dword [ebx + 4], 0
je 0x427430
mov ecx, edi
and ecx, 7
shr dword [ebp - 4], cl
sub edi, ecx
mov dword [ebx], 0x1a
jmp 0x427e64
cmp dword [ebp - 0xc], 0
je 0x427eb6
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
dec dword [ebp - 0xc]
mov ecx, edi
shl eax, cl
add dword [ebp - 4], eax
inc dword [ebp - 8]
add edi, 8
cmp edi, 3
jb 0x427410
mov eax, dword [ebp - 4]
shr dword [ebp - 4], 1
and eax, 1
mov dword [ebx + 4], eax
mov eax, dword [ebp - 4]
and eax, 3
dec edi
sub eax, 0
je 0x427491
dec eax
je 0x42746d
dec eax
je 0x427465
dec eax
jne 0x427497
mov dword [esi + 0x18], str.invalid_block_type
mov dword [ebx], 0x1d
jmp 0x427497
mov dword [ebx], 0x10
jmp 0x427497
mov dword [ebx + 0x4c], 0x45ad10
mov dword [ebx + 0x54], 9
mov dword [ebx + 0x50], 0x45b510
mov dword [ebx + 0x58], 5
mov dword [ebx], 0x13
jmp 0x427497
mov dword [ebx], 0xd
shr dword [ebp - 4], 2
dec edi
dec edi
jmp 0x427e64
mov ecx, edi
and ecx, 7
shr dword [ebp - 4], cl
sub edi, ecx
jmp 0x4274ce
cmp dword [ebp - 0xc], 0
je 0x427eb6
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
dec dword [ebp - 0xc]
mov ecx, edi
shl eax, cl
add dword [ebp - 4], eax
inc dword [ebp - 8]
add edi, 8
cmp edi, 0x20
jb 0x4274ae
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 4]
not ecx
and eax, 0xffff
shr ecx, 0x10
cmp eax, ecx
je 0x4274f3
mov dword [esi + 0x18], str.invalid_stored_block_lengths
jmp 0x427e5e
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]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x427aa2
mov eax, dword [ebp - 0xc]
cmp dword [ebp - 0x10], eax
jbe 0x427520
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x10], eax
jbe 0x42752b
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x427eb6
push dword [ebp - 0x10]
push dword [ebp - 8]
push dword [ebp - 0x1c]
call fcn.00438970
mov eax, dword [ebp - 0x10]
sub dword [ebp - 0xc], eax
add dword [ebp - 8], eax
sub dword [ebp - 0x14], eax
add dword [ebp - 0x1c], eax
add esp, 0xc
sub dword [ebx + 0x40], eax
jmp 0x427e64
cmp dword [ebp - 0xc], 0
je 0x427eb6
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
dec dword [ebp - 0xc]
mov ecx, edi
shl eax, cl
add dword [ebp - 4], eax
inc dword [ebp - 8]
add edi, 8
cmp edi, 0xe
jb 0x42755d
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 0x4275d0
cmp dword [ebx + 0x64], 0x1e
ja 0x4275d0
and dword [ebx + 0x68], 0
mov dword [ebx], 0x11
jmp case.0x426e22.17
mov dword [esi + 0x18], str.too_many_length_or_distance_symbols
jmp 0x427e5e
cmp dword [ebp - 0xc], 0
je 0x427eb6
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
dec dword [ebp - 0xc]
mov ecx, edi
shl eax, cl
add dword [ebp - 4], eax
inc dword [ebp - 8]
add edi, 8
cmp edi, 3
jb 0x4275dc
mov ecx, dword [ebx + 0x68]
mov eax, dword [ebp - 4]
movzx ecx, word [ecx*2 + 0x45b590]
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 0x4275fc
jmp 0x427640
mov eax, dword [ebx + 0x68]
movzx eax, word [eax*2 + 0x45b590]
xor ecx, ecx
mov word [ebx + eax*2 + 0x70], cx
inc dword [ebx + 0x68]
cmp dword [ebx + 0x68], 0x13
jb 0x42762b
lea eax, [ebx + 0x530]
lea esi, [ebx + 0x6c]
mov dword [esi], eax
mov dword [ebx + 0x4c], eax
lea eax, [ebx + 0x2f0]
push eax
push 0x13
lea eax, [ebx + 0x70]
push eax
lea ecx, [ebx + 0x54]
push 0
mov dword [ecx], 7
call fcn.00428644
add esp, 0x10
mov dword [ebp - 0x28], eax
test eax, eax
je 0x42768c
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.invalid_code_lengths_set
mov esi, eax
jmp 0x427e5e
and dword [ebx + 0x68], 0
mov esi, dword [ebp + 8]
mov dword [ebx], 0x12
jmp case.0x426e22.18
cmp dword [ebp - 0xc], 0
je 0x427eb6
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
dec dword [ebp - 0xc]
mov ecx, edi
shl eax, cl
add dword [ebp - 4], eax
inc dword [ebp - 8]
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
mov dword [ebp - 0x2c], eax
cmp ecx, edi
ja 0x42769e
mov ecx, eax
shr ecx, 0x10
mov dword [ebp - 0x24], ecx
cmp cx, 0x10
jae 0x42770c
shr eax, 8
movzx ecx, al
shr dword [ebp - 4], cl
mov eax, dword [ebx + 0x68]
sub edi, ecx
mov cx, word [ebp - 0x24]
mov word [ebx + eax*2 + 0x70], cx
inc dword [ebx + 0x68]
jmp case.0x426e22.18
jne 0x427770
mov ecx, eax
shr ecx, 8
movzx ecx, cl
jmp 0x42773b
cmp dword [ebp - 0xc], 0
je 0x427eb6
mov ecx, dword [ebp - 8]
movzx edx, byte [ecx]
dec dword [ebp - 0xc]
mov ecx, edi
shl edx, cl
movzx ecx, ah
add dword [ebp - 4], edx
inc dword [ebp - 8]
add edi, 8
inc ecx
inc ecx
cmp edi, ecx
jb 0x427718
movzx ecx, ah
mov eax, dword [ebx + 0x68]
shr dword [ebp - 4], cl
sub edi, ecx
test eax, eax
je 0x42785d
movzx eax, word [ebx + eax*2 + 0x6e]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 4]
shr dword [ebp - 4], 2
and eax, 3
add eax, 3
dec edi
dec edi
jmp 0x4277fd
cmp word [ebp - 0x2a], 0x11
movzx edx, ah
jne 0x4277d9
jmp 0x42779c
cmp dword [ebp - 0xc], 0
je 0x427eb6
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
dec dword [ebp - 0xc]
mov ecx, edi
shl eax, cl
add dword [ebp - 4], eax
inc dword [ebp - 8]
add edi, 8
lea eax, [edx + 3]
cmp edi, eax
jb 0x42777c
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 0x4277f4
cmp dword [ebp - 0xc], 0
je 0x427eb6
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
dec dword [ebp - 0xc]
mov ecx, edi
shl eax, cl
add dword [ebp - 4], eax
inc dword [ebp - 8]
add edi, 8
lea eax, [edx + 7]
cmp edi, eax
jb 0x4277b9
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 - 0x24], 0
pop ecx
sub ecx, edx
add edi, ecx
mov ecx, dword [ebx + 0x64]
mov edx, dword [ebx + 0x68]
add ecx, dword [ebx + 0x60]
add edx, eax
cmp edx, ecx
jbe 0x427848
mov dword [esi + 0x18], str.invalid_bit_length_repeat
mov dword [ebx], 0x1d
cmp dword [ebx], 0x1d
je 0x427e64
cmp word [ebx + 0x270], 0
jne 0x427869
mov dword [esi + 0x18], str.invalid_code____missing_end_of_block
jmp 0x427e5e
mov ecx, dword [ebx + 0x68]
mov dx, word [ebp - 0x24]
dec eax
mov word [ebx + ecx*2 + 0x70], dx
inc dword [ebx + 0x68]
test eax, eax
jne 0x427838
mov eax, dword [ebx + 0x64]
add eax, dword [ebx + 0x60]
cmp dword [ebx + 0x68], eax
jb 0x4276be
jmp 0x427819
mov dword [esi + 0x18], str.invalid_bit_length_repeat
jmp 0x427e5e
lea eax, [ebx + 0x530]
lea esi, [ebx + 0x6c]
mov dword [esi], eax
mov dword [ebx + 0x4c], eax
lea eax, [ebx + 0x2f0]
push eax
push dword [ebx + 0x60]
lea eax, [ebx + 0x70]
push eax
lea ecx, [ebx + 0x54]
push 1
mov dword [ecx], 9
call fcn.00428644
add esp, 0x10
mov dword [ebp - 0x28], eax
test eax, eax
je 0x4278ae
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.invalid_literal_lengths_set
jmp 0x427685
mov eax, dword [esi]
mov dword [ebx + 0x50], eax
lea eax, [ebx + 0x2f0]
push eax
push dword [ebx + 0x64]
mov eax, dword [ebx + 0x60]
lea eax, [ebx + eax*2 + 0x70]
push eax
lea ecx, [ebx + 0x58]
push 2
mov dword [ecx], 6
call fcn.00428644
add esp, 0x10
mov dword [ebp - 0x28], eax
test eax, eax
je 0x4278ee
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.invalid_distances_set
jmp 0x427685
mov esi, dword [ebp + 8]
mov dword [ebx], 0x13
mov dword [ebx], 0x14
cmp dword [ebp - 0xc], 6
jb 0x42796c
cmp dword [ebp - 0x14], 0x102
jb 0x42796c
mov eax, dword [ebp - 0x1c]
push dword [ebp - 0x20]
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0x14]
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 8]
mov dword [esi], eax
mov eax, dword [ebp - 0xc]
mov dword [esi + 4], eax
mov eax, dword [ebp - 4]
push esi
mov dword [ebx + 0x38], eax
mov dword [ebx + 0x3c], edi
call fcn.00428242
cmp dword [ebx], 0xb
mov eax, dword [esi + 0xc]
mov edi, dword [ebx + 0x3c]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [esi]
mov dword [ebp - 8], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0xc], eax
mov eax, dword [ebx + 0x38]
pop ecx
pop ecx
mov dword [ebp - 4], eax
jne 0x427e64
or dword [ebx + 0x1bc4], 0xffffffff
jmp 0x427e64
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 0x4279b9
cmp dword [ebp - 0xc], 0
je 0x427eb6
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
dec dword [ebp - 0xc]
mov ecx, edi
shl eax, cl
mov ecx, dword [ebx + 0x54]
add edi, 8
add dword [ebp - 4], eax
inc dword [ebp - 8]
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
ja 0x427987
test al, al
je 0x427a6a
test al, 0xf0
jne 0x427a6a
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 - 0x24], 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 0x427a4d
cmp dword [ebp - 0xc], 0
je 0x427eb6
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
movzx edx, byte [ebp - 0x23]
dec dword [ebp - 0xc]
mov ecx, edi
shl eax, cl
movzx ecx, byte [ebp - 0x24]
add dword [ebp - 4], eax
inc dword [ebp - 8]
xor eax, eax
add ecx, edx
inc eax
shl eax, cl
add edi, 8
mov ecx, edx
dec eax
and eax, dword [ebp - 4]
shr eax, cl
movzx ecx, word [ebp - 0x22]
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 0x427a0a
movzx ecx, byte [ebp - 0x23]
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
mov dword [ebx + 0x40], ecx
test al, al
jne 0x427a97
mov dword [ebx], 0x19
jmp 0x427e64
test al, 0x20
je 0x427aad
or dword [ebx + 0x1bc4], 0xffffffff
mov dword [ebx], 0xb
jmp 0x427e64
test al, 0x40
je 0x427abd
mov dword [esi + 0x18], str.invalid_literal_length_code
jmp 0x427e5e
movzx eax, al
and eax, 0xf
mov dword [ebx + 0x48], eax
mov dword [ebx], 0x15
mov eax, dword [ebx + 0x48]
test eax, eax
je 0x427b15
cmp edi, eax
jae 0x427afc
cmp dword [ebp - 0xc], 0
je 0x427eb6
mov ecx, dword [ebp - 8]
movzx edx, byte [ecx]
dec dword [ebp - 0xc]
mov ecx, edi
shl edx, cl
add edi, 8
add dword [ebp - 4], edx
inc dword [ebp - 8]
cmp edi, dword [ebx + 0x48]
jb 0x427ad7
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 0x427b6a
cmp dword [ebp - 0xc], 0
je 0x427eb6
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
dec dword [ebp - 0xc]
mov ecx, edi
shl eax, cl
mov ecx, dword [ebx + 0x58]
add edi, 8
add dword [ebp - 4], eax
inc dword [ebp - 8]
xor eax, eax
inc eax
shl eax, cl
mov ecx, dword [ebx + 0x50]
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 0x427b38
test al, 0xf0
jne 0x427c13
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 - 0x24], 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 0x427bf6
cmp dword [ebp - 0xc], 0
je 0x427eb6
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
movzx edx, byte [ebp - 0x23]
dec dword [ebp - 0xc]
mov ecx, edi
shl eax, cl
movzx ecx, byte [ebp - 0x24]
add dword [ebp - 4], eax
inc dword [ebp - 8]
xor eax, eax
add ecx, edx
inc eax
shl eax, cl
add edi, 8
mov ecx, edx
dec eax
and eax, dword [ebp - 4]
shr eax, cl
movzx ecx, word [ebp - 0x22]
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 0x427bb3
movzx ecx, byte [ebp - 0x23]
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
mov dword [ebp - 0x2c], ecx
test al, 0x40
je 0x427c39
mov dword [esi + 0x18], str.invalid_distance_code
jmp 0x427e5e
mov ecx, eax
movzx eax, al
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 0x427c99
cmp edi, eax
jae 0x427c80
cmp dword [ebp - 0xc], 0
je 0x427eb6
mov ecx, dword [ebp - 8]
movzx edx, byte [ecx]
dec dword [ebp - 0xc]
mov ecx, edi
shl edx, cl
add edi, 8
add dword [ebp - 4], edx
inc dword [ebp - 8]
cmp edi, dword [ebx + 0x48]
jb 0x427c5b
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 0x427eb6
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x14]
mov ecx, dword [ebx + 0x44]
cmp ecx, eax
jbe 0x427cfd
sub ecx, eax
mov dword [ebp - 0x10], ecx
cmp ecx, dword [ebx + 0x2c]
jbe 0x427cd5
cmp dword [ebx + 0x1bc0], 0
je 0x427cd5
mov dword [esi + 0x18], str.invalid_distance_too_far_back
jmp 0x427e5e
mov edx, dword [ebx + 0x30]
mov eax, dword [ebx + 0x34]
cmp ecx, edx
jbe 0x427ceb
add eax, dword [ebx + 0x28]
sub ecx, edx
mov dword [ebp - 0x10], ecx
sub eax, ecx
jmp 0x427cef
sub eax, ecx
add eax, edx
mov edx, dword [ebx + 0x40]
mov dword [ebp - 0x2c], edx
cmp ecx, edx
jbe 0x427d0b
mov ecx, edx
jmp 0x427d08
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 0x427d16
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 0x427d21
cmp dword [ebx + 0x40], 0
jne 0x427e64
jmp 0x427d55
cmp dword [ebp - 0x14], 0
je 0x427eb6
mov ecx, dword [ebp - 0x1c]
mov al, byte [ebx + 0x40]
inc dword [ebp - 0x1c]
dec dword [ebp - 0x14]
mov byte [ecx], al
mov dword [ebx], 0x14
jmp 0x427e64
cmp dword [ebx + 8], 0
je 0x427e16
jmp 0x427d8c
cmp dword [ebp - 0xc], 0
je 0x427eb6
mov ecx, dword [ebp - 8]
movzx edx, byte [ecx]
dec dword [ebp - 0xc]
mov ecx, edi
shl edx, cl
add dword [ebp - 4], edx
inc dword [ebp - 8]
add edi, 8
cmp edi, 0x20
jb 0x427d6c
mov ecx, dword [ebp - 0x20]
sub ecx, dword [ebp - 0x14]
add dword [esi + 0x14], ecx
add dword [ebx + 0x1c], ecx
mov dword [ebp - 0x20], ecx
test ecx, ecx
je 0x427dd5
cmp dword [ebx + 0x10], 0
push ecx
je 0x427dbb
mov edx, dword [ebp - 0x1c]
push dword [ebx + 0x18]
sub edx, ecx
call fcn.0042691b
pop ecx
jmp 0x427dc9
mov ecx, dword [ebp - 0x1c]
sub ecx, dword [ebp - 0x20]
mov eax, dword [ebx + 0x18]
call fcn.00428028
mov dword [ebx + 0x18], eax
mov dword [esi + 0x30], eax
pop ecx
mov eax, 0xff00
cmp dword [ebx + 0x10], 0
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebp - 4]
jne 0x427e03
mov edx, dword [ebp - 4]
and ecx, eax
shl edx, 0x10
add ecx, edx
mov edx, dword [ebp - 4]
shr edx, 8
and edx, eax
mov eax, dword [ebp - 4]
shl ecx, 8
add ecx, edx
shr eax, 0x18
add ecx, eax
cmp ecx, dword [ebx + 0x18]
je 0x427e11
mov dword [esi + 0x18], str.incorrect_data_check
jmp 0x427e5e
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebx], 0x1b
cmp dword [ebx + 8], 0
je 0x427ea0
cmp dword [ebx + 0x10], 0
je 0x427ea0
jmp 0x427e4a
cmp dword [ebp - 0xc], 0
je 0x427eb6
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
dec dword [ebp - 0xc]
mov ecx, edi
shl eax, cl
add dword [ebp - 4], eax
inc dword [ebp - 8]
add edi, 8
cmp edi, 0x20
jb 0x427e2a
mov eax, dword [ebp - 4]
cmp eax, dword [ebx + 0x1c]
je 0x427e9b
mov dword [esi + 0x18], str.incorrect_length_check
mov dword [ebx], 0x1d
mov ecx, dword [ebx]
cmp ecx, 0x1e
jbe 0x426e1d
push 0xfffffffffffffffe
pop eax
pop edi
pop esi
pop ebx
leave
ret
mov eax, dword [ebp - 0x1c]
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0x14]
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 8]
mov dword [esi], eax
mov eax, dword [ebp - 0xc]
mov dword [esi + 4], eax
mov eax, dword [ebp - 4]
mov dword [ebx + 0x38], eax
mov dword [ebx + 0x3c], edi
push 2
jmp 0x427e71
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebx], 0x1c
mov dword [ebp - 0x28], 1
jmp 0x427eb6
mov dword [ebp - 0x28], 0xfffffffd
mov eax, dword [ebp - 0x1c]
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0x14]
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 8]
mov dword [esi], eax
mov eax, dword [ebp - 0xc]
mov dword [esi + 4], eax
cmp dword [ebx + 0x28], 0
mov eax, dword [ebp - 4]
mov dword [ebx + 0x38], eax
mov dword [ebx + 0x3c], edi
jne 0x427ee9
mov eax, dword [ebp - 0x20]
cmp eax, dword [esi + 0x10]
je 0x427f04
cmp dword [ebx], 0x1d
jge 0x427f04
mov eax, dword [ebp - 0x20]
mov edi, esi
call fcn.00426cd2
test eax, eax
je 0x427f04
mov dword [ebx], 0x1e
push 0xfffffffffffffffc
jmp 0x427e71
mov eax, dword [ebp - 0x30]
sub eax, dword [esi + 4]
mov edi, dword [ebp - 0x20]
sub edi, dword [esi + 0x10]
add dword [esi + 8], eax
add dword [esi + 0x14], edi
add dword [ebx + 0x1c], edi
cmp dword [ebx + 8], 0
mov dword [ebp - 0x30], eax
je 0x427f54
test edi, edi
je 0x427f54
cmp dword [ebx + 0x10], 0
push edi
je 0x427f3d
mov edx, dword [esi + 0xc]
push dword [ebx + 0x18]
sub edx, edi
call fcn.0042691b
pop ecx
jmp 0x427f4a
mov ecx, dword [esi + 0xc]
mov eax, dword [ebx + 0x18]
sub ecx, edi
call fcn.00428028
mov dword [ebx + 0x18], eax
mov dword [esi + 0x30], eax
mov eax, dword [ebp - 0x30]
pop ecx
mov ecx, dword [ebx]
cmp ecx, 0xb
jne 0x427f64
mov dword [ebp + 8], 0x80
jmp 0x427f68
and dword [ebp + 8], 0
cmp ecx, 0x13
je 0x427f76
cmp ecx, 0xe
je 0x427f76
xor ecx, ecx
jmp 0x427f7b
mov ecx, 0x100
mov edx, dword [ebx + 4]
neg edx
sbb edx, edx
and edx, 0x40
add edx, dword [ebx + 0x3c]
add edx, ecx
add edx, dword [ebp + 8]
mov dword [esi + 0x2c], edx
test eax, eax
jne 0x427fa4
test edi, edi
jne 0x427fa4
cmp dword [ebp - 0x28], edi
jne 0x427fa4
mov dword [ebp - 0x28], 0xfffffffb
mov eax, dword [ebp - 0x28]
jmp 0x427e72