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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x1c], edi
test edi, edi
je case.0x411a7c.29
mov ebx, dword [edi + 0x1c]
test ebx, ebx
je case.0x411a7c.29
lea ecx, [edi + 0xc]
mov eax, dword [ecx]
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x24], eax
test eax, eax
je case.0x411a7c.29
mov eax, dword [edi]
mov dword [ebp - 8], eax
test eax, eax
jne 0x411a39
cmp dword [edi + 4], eax
jne case.0x411a7c.29
lea ecx, [edi + 0xc]
mov eax, dword [ebx]
push 0xc
pop edx
cmp eax, 0xb
jne 0x411a4a
mov dword [ebx], edx
mov eax, edx
mov dword [ebp - 0x38], ecx
mov ecx, dword [edi + 0x10]
mov edx, dword [ebx + 0x38]
mov esi, dword [ebx + 0x3c]
and dword [ebp - 0x2c], 0
mov dword [ebp - 0x18], ecx
mov ecx, dword [edi + 4]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x40], ecx
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x14], edx
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x28], ecx
jmp 0x412238
mov ecx, esi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x3c], ecx
jmp dword [eax*4 + 0x412cf0]
xor eax, eax
cmp dword [ebx + 8], eax
jne 0x411a95
mov dword [ebx], 0xc
jmp 0x412236
push 0x10
pop ecx
cmp esi, ecx
jae 0x411acc
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x412c27
dec eax
mov ecx, esi
mov dword [ebp - 0x10], eax
add esi, 8
mov eax, dword [ebp - 8]
push 0x10
mov dword [ebp - 0xc], esi
movzx eax, byte [eax]
shl eax, cl
add edx, eax
inc dword [ebp - 8]
pop eax
mov dword [ebp - 0x14], edx
cmp esi, eax
jb 0x411a9c
xor eax, eax
test byte [ebx + 8], 2
je 0x411b0d
cmp edx, 0x8b1f
jne 0x411b0d
mov byte [ebp - 0x20], dl
xor ecx, ecx
shr edx, 8
mov byte [ebp - 0x1f], dl
lea edx, [ebp - 0x20]
push 2
mov dword [ebx + 0x18], eax
call fcn.004115d6
pop ecx
xor ecx, ecx
mov dword [ebx + 0x18], eax
mov edx, ecx
mov dword [ebx], 1
mov esi, ecx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0xc], esi
jmp 0x412236
mov dword [ebx + 0x10], eax
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x411b1b
or dword [eax + 0x30], 0xffffffff
test byte [ebx + 8], 1
je 0x411b9d
movzx eax, dl
mov ecx, edx
shl eax, 8
xor edx, edx
shr ecx, 8
add eax, ecx
push 0x1f
pop ecx
div ecx
test edx, edx
mov edx, dword [ebp - 0x14]
jne 0x411b9d
mov eax, edx
and al, 0xf
cmp al, 8
je 0x411b4d
mov dword [edi + 0x18], str.unknown_compression_method
jmp 0x411ba4
shr edx, 4
sub esi, 4
mov ecx, edx
mov dword [ebp - 0x14], edx
and ecx, 0xf
mov dword [ebp - 0xc], esi
add ecx, 8
cmp ecx, dword [ebx + 0x24]
jbe 0x411b6f
mov dword [edi + 0x18], str.invalid_window_size
jmp 0x411ba4
shr edx, 8
xor esi, esi
inc esi
not edx
and edx, 2
mov dword [ebx + 0x18], esi
mov eax, esi
mov dword [edi + 0x30], esi
or edx, 9
shl eax, cl
xor ecx, ecx
mov dword [ebx], edx
mov dword [ebx + 0x14], eax
mov edx, ecx
mov esi, ecx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0xc], esi
jmp 0x412236
mov dword [edi + 0x18], str.incorrect_header_check
mov dword [ebx], 0x1b
jmp 0x412236
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x412c27
dec eax
mov ecx, esi
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
shl eax, cl
add edx, eax
inc dword [ebp - 8]
add esi, 8
mov dword [ebp - 0x14], edx
mov dword [ebp - 0xc], esi
push 0x10
pop eax
cmp esi, eax
jb 0x411baf
mov dword [ebx + 0x10], edx
cmp dl, 8
jne 0x411b44
test edx, 0xe000
je 0x411bfa
mov dword [edi + 0x18], str.unknown_header_flags_set
jmp 0x411ba4
mov ecx, dword [ebx + 0x20]
test ecx, ecx
je 0x411c0b
mov eax, edx
shr eax, 8
and eax, 1
mov dword [ecx], eax
test dword [ebx + 0x10], 0x200
je 0x411c2e
mov ecx, dword [ebx + 0x18]
mov byte [ebp - 0x20], dl
shr edx, 8
mov byte [ebp - 0x1f], dl
lea edx, [ebp - 0x20]
push 2
call fcn.004115d6
pop ecx
mov dword [ebx + 0x18], eax
mov esi, dword [ebp - 8]
xor eax, eax
mov edx, eax
mov dword [ebx], 2
mov dword [ebp - 0x14], edx
mov ecx, eax
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x412c2a
dec eax
mov dword [ebp - 0x10], eax
movzx eax, byte [esi]
shl eax, cl
add ecx, 8
add edx, eax
inc esi
cmp ecx, 0x20
mov dword [ebp - 0x14], edx
mov dword [ebp - 8], esi
jb 0x411c40
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x411c6f
mov dword [eax + 4], edx
test dword [ebx + 0x10], 0x200
je 0x411ca2
mov ecx, dword [ebx + 0x18]
mov eax, edx
shr eax, 8
mov byte [ebp - 0x1f], al
mov eax, edx
mov byte [ebp - 0x20], dl
shr edx, 0x18
shr eax, 0x10
mov byte [ebp - 0x1d], dl
lea edx, [ebp - 0x20]
push 4
mov byte [ebp - 0x1e], al
call fcn.004115d6
pop ecx
mov dword [ebx + 0x18], eax
xor eax, eax
mov dword [ebx], 3
mov edx, eax
mov ecx, eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], edx
test eax, eax
je 0x412c2a
dec eax
mov dword [ebp - 0x10], eax
movzx eax, byte [esi]
shl eax, cl
add ecx, 8
add edx, eax
inc esi
push 0x10
pop eax
cmp ecx, eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], edx
mov dword [ebp - 8], esi
jb 0x411cb4
mov esi, dword [ebx + 0x20]
mov ecx, edx
shr ecx, 8
test esi, esi
je 0x411cf3
movzx eax, dl
mov dword [esi + 8], eax
mov eax, dword [ebx + 0x20]
mov dword [eax + 0xc], ecx
test dword [ebx + 0x10], 0x200
je 0x411d13
mov byte [ebp - 0x20], dl
lea edx, [ebp - 0x20]
mov byte [ebp - 0x1f], cl
mov ecx, dword [ebx + 0x18]
push 2
call fcn.004115d6
pop ecx
mov dword [ebx + 0x18], eax
xor ecx, ecx
mov dword [ebx], 4
mov edx, ecx
mov esi, ecx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0xc], esi
jmp 0x411d52
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x34]
cmp ecx, 0x20
mov esi, dword [ebp - 8]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x30], edx
jmp 0x411c5d
mov eax, dword [ebp - 0x10]
mov esi, dword [ebp - 8]
cmp dword [ebp - 0x3c], 0x10
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x30], edx
jmp 0x411cd3
xor ecx, ecx
test dword [ebx + 0x10], 0x400
jne 0x411de2
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x411d69
mov dword [eax + 0x10], ecx
mov dword [ebx], 5
test dword [ebx + 0x10], 0x400
je 0x411e74
mov eax, dword [ebx + 0x40]
mov edi, dword [ebp - 0x10]
cmp eax, edi
cmovbe edi, eax
test edi, edi
je 0x411e69
mov ecx, dword [ebx + 0x20]
test ecx, ecx
je 0x411e3c
mov edx, dword [ecx + 0x10]
mov dword [ebp - 0x3c], edx
test edx, edx
je 0x411e3c
mov edx, dword [ecx + 0x14]
mov ecx, dword [ecx + 0x18]
sub edx, eax
lea eax, [edi + edx]
cmp eax, ecx
jbe 0x411e28
sub ecx, edx
jmp 0x411e2a
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x412c27
dec eax
mov ecx, esi
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
shl eax, cl
add edx, eax
inc dword [ebp - 8]
add esi, 8
mov dword [ebp - 0x14], edx
mov dword [ebp - 0xc], esi
push 0x10
pop eax
cmp esi, eax
jb 0x411dbb
mov eax, dword [ebx + 0x20]
mov dword [ebx + 0x40], edx
test eax, eax
je 0x411df6
mov dword [eax + 0x14], edx
test dword [ebx + 0x10], 0x200
je 0x411e19
mov ecx, dword [ebx + 0x18]
mov byte [ebp - 0x20], dl
shr edx, 8
mov byte [ebp - 0x1f], dl
lea edx, [ebp - 0x20]
push 2
call fcn.004115d6
pop ecx
mov dword [ebx + 0x18], eax
xor eax, eax
mov esi, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xc], esi
jmp 0x411d69
mov ecx, edi
mov eax, dword [ebp - 0x3c]
push ecx
push dword [ebp - 8]
add eax, edx
push eax
call fcn.0041ca40
add esp, 0xc
test dword [ebx + 0x10], 0x200
je 0x411e5b
mov eax, dword [ebp - 8]
test eax, eax
je 0x411e58
mov ecx, dword [ebx + 0x18]
mov edx, eax
push edi
call fcn.004115d6
pop ecx
mov dword [ebx + 0x18], eax
mov eax, dword [ebx + 0x40]
sub dword [ebp - 0x10], edi
add dword [ebp - 8], edi
sub eax, edi
mov dword [ebx + 0x40], eax
test eax, eax
jne 0x412c24
mov edi, dword [ebp - 0x1c]
xor ecx, ecx
mov dword [ebx], 6
mov dword [ebx + 0x40], ecx
jmp 0x411e83
xor ecx, ecx
test dword [ebx + 0x10], 0x800
je 0x411f19
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x412c27
mov edi, dword [ebp - 0x10]
mov eax, ecx
mov esi, dword [ebp - 8]
mov cl, byte [eax + esi]
inc eax
mov byte [ebp - 1], cl
mov ecx, dword [ebx + 0x20]
mov dword [ebp - 0x34], eax
test ecx, ecx
je 0x411ed1
cmp dword [ecx + 0x1c], 0
je 0x411ed1
mov edx, dword [ebx + 0x40]
cmp edx, dword [ecx + 0x20]
jae 0x411ed1
mov ecx, dword [ecx + 0x1c]
mov al, byte [ebp - 1]
mov byte [edx + ecx], al
inc dword [ebx + 0x40]
mov eax, dword [ebp - 0x34]
mov dl, byte [ebp - 1]
test dl, dl
je 0x411edc
cmp eax, edi
jb 0x411ea3
test dword [ebx + 0x10], 0x200
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 0x1c]
je 0x411f09
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x411f06
mov edx, ecx
mov ecx, dword [ebx + 0x18]
push eax
call fcn.004115d6
mov dl, byte [ebp - 1]
pop ecx
mov ecx, eax
mov eax, dword [ebp - 0x34]
mov dword [ebx + 0x18], ecx
sub dword [ebp - 0x10], eax
add dword [ebp - 8], eax
test dl, dl
jne 0x412c24
jmp 0x411f23
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x411f23
mov dword [eax + 0x1c], ecx
xor ecx, ecx
mov dword [ebx], 7
mov dword [ebx + 0x40], ecx
jmp 0x411f32
xor ecx, ecx
test dword [ebx + 0x10], 0x1000
je 0x411fc8
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x412c27
mov edi, dword [ebp - 0x10]
mov eax, ecx
mov esi, dword [ebp - 8]
mov cl, byte [eax + esi]
inc eax
mov byte [ebp - 1], cl
mov ecx, dword [ebx + 0x20]
mov dword [ebp - 0x34], eax
test ecx, ecx
je 0x411f80
cmp dword [ecx + 0x24], 0
je 0x411f80
mov edx, dword [ebx + 0x40]
cmp edx, dword [ecx + 0x28]
jae 0x411f80
mov ecx, dword [ecx + 0x24]
mov al, byte [ebp - 1]
mov byte [edx + ecx], al
inc dword [ebx + 0x40]
mov eax, dword [ebp - 0x34]
mov dl, byte [ebp - 1]
test dl, dl
je 0x411f8b
cmp eax, edi
jb 0x411f52
test dword [ebx + 0x10], 0x200
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 0x1c]
je 0x411fb8
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x411fb5
mov edx, ecx
mov ecx, dword [ebx + 0x18]
push eax
call fcn.004115d6
mov dl, byte [ebp - 1]
pop ecx
mov ecx, eax
mov eax, dword [ebp - 0x34]
mov dword [ebx + 0x18], ecx
sub dword [ebp - 0x10], eax
add dword [ebp - 8], eax
test dl, dl
jne 0x412c24
jmp 0x411fd2
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x411fd2
mov dword [eax + 0x24], ecx
mov edx, dword [ebp - 0x14]
mov dword [ebx], 8
test dword [ebx + 0x10], 0x200
je 0x412034
jmp 0x41200d
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x412c27
dec eax
mov ecx, esi
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
shl eax, cl
add edx, eax
inc dword [ebp - 8]
add esi, 8
mov dword [ebp - 0x14], edx
mov dword [ebp - 0xc], esi
push 0x10
pop eax
cmp esi, eax
jb 0x411fe6
movzx eax, word [ebx + 0x18]
cmp edx, eax
je 0x412028
mov dword [edi + 0x18], str.header_crc_mismatch
jmp 0x411ba4
xor eax, eax
mov edx, eax
mov esi, eax
mov dword [ebp - 0x14], edx
mov dword [ebp - 0xc], esi
mov ecx, dword [ebx + 0x20]
test ecx, ecx
je 0x412051
mov eax, dword [ebx + 0x10]
sar eax, 9
and eax, 1
mov dword [ecx + 0x2c], eax
mov eax, dword [ebx + 0x20]
mov dword [eax + 0x30], 1
xor ecx, ecx
mov dword [ebx + 0x18], ecx
mov dword [edi + 0x30], ecx
mov dword [ebx], 0xb
jmp 0x412236
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x412c27
dec eax
mov ecx, esi
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
shl eax, cl
add edx, eax
inc dword [ebp - 8]
add esi, 8
mov dword [ebp - 0x14], edx
mov dword [ebp - 0xc], esi
cmp esi, 0x20
jb 0x412064
bswap edx
xor ecx, ecx
mov dword [ebx + 0x18], edx
mov dword [edi + 0x30], edx
mov esi, ecx
mov edx, ecx
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x14], edx
mov dword [ebx], 0xa
jmp 0x4120ae
xor ecx, ecx
cmp dword [ebx + 0xc], ecx
je 0x412bda
xor eax, eax
mov dword [ebx], 0xb
inc eax
mov dword [ebx + 0x18], eax
mov dword [edi + 0x30], eax
jmp 0x4120ca
xor ecx, ecx
cmp dword [ebx + 4], ecx
je 0x4120e9
mov ecx, esi
mov dword [ebx], 0x18
and ecx, 7
shr edx, cl
sub esi, ecx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0xc], esi
jmp 0x412236
cmp esi, 3
jae 0x41211c
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x412c27
dec eax
mov ecx, esi
mov dword [ebp - 0x10], eax
add esi, 8
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], esi
movzx eax, byte [eax]
shl eax, cl
add edx, eax
inc dword [ebp - 8]
mov dword [ebp - 0x14], edx
cmp esi, 3
jb 0x4120ee
xor ecx, ecx
mov eax, edx
shr edx, 1
and eax, 1
mov dword [ebx + 4], eax
mov eax, edx
and eax, 3
sub eax, ecx
je 0x412179
sub eax, 1
je 0x412155
sub eax, 1
je 0x41214d
sub eax, 1
jne 0x41217f
mov dword [edi + 0x18], str.invalid_block_type
mov dword [ebx], 0x1b
jmp 0x41217f
mov dword [ebx], 0xf
jmp 0x41217f
mov dword [ebx + 0x4c], 0x45a2f0
mov dword [ebx + 0x54], 9
mov dword [ebx + 0x50], 0x45aaf0
mov dword [ebx + 0x58], 5
mov dword [ebx], 0x12
jmp 0x41217f
mov dword [ebx], 0xd
shr edx, 2
sub esi, 3
jmp 0x411b92
mov ecx, esi
and ecx, 7
shr edx, cl
sub esi, ecx
jmp 0x4121b6
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x412c27
dec eax
mov ecx, esi
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
shl eax, cl
add edx, eax
inc dword [ebp - 8]
add esi, 8
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x14], edx
cmp esi, 0x20
jb 0x412195
mov eax, edx
movzx ecx, dx
not eax
shr eax, 0x10
cmp ecx, eax
je 0x4121db
mov dword [edi + 0x18], str.invalid_stored_block_lengths
jmp 0x411ba4
xor eax, eax
mov dword [ebx + 0x40], ecx
mov edx, eax
mov dword [ebx], 0xe
mov esi, eax
mov dword [ebp - 0x14], edx
mov dword [ebp - 0xc], esi
mov eax, dword [ebx + 0x40]
test eax, eax
je 0x412059
mov edi, dword [ebp - 0x10]
cmp eax, edi
cmovbe edi, eax
cmp edi, dword [ebp - 0x18]
cmova edi, dword [ebp - 0x18]
test edi, edi
je 0x412c24
push edi
push dword [ebp - 8]
push dword [ebp - 0x24]
call fcn.0041ca40
sub dword [ebp - 0x10], edi
add esp, 0xc
add dword [ebp - 8], edi
sub dword [ebp - 0x18], edi
add dword [ebp - 0x24], edi
sub dword [ebx + 0x40], edi
mov edx, dword [ebp - 0x14]
mov edi, dword [ebp - 0x1c]
mov eax, dword [ebx]
cmp eax, 0x1d
jbe 0x411a74
push 0xfffffffffffffffe
pop eax
pop edi
pop esi
pop ebx
leave
ret
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x412c27
dec eax
mov ecx, esi
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
shl eax, cl
add edx, eax
inc dword [ebp - 8]
add esi, 8
mov dword [ebp - 0x14], edx
mov dword [ebp - 0xc], esi
cmp esi, 0xe
jb 0x412249
mov eax, edx
sub esi, 0xe
shr edx, 5
push 0x1f
pop ecx
and ecx, eax
mov dword [ebp - 0xc], esi
mov eax, edx
add ecx, 0x101
and eax, 0x1f
shr edx, 5
inc eax
mov dword [ebx + 0x60], ecx
mov dword [ebp - 0x3c], eax
mov dword [ebx + 0x64], eax
mov eax, edx
and eax, 0xf
shr edx, 4
add eax, 4
mov dword [ebp - 0x14], edx
mov dword [ebx + 0x5c], eax
cmp ecx, 0x11e
ja 0x4122ca
cmp dword [ebp - 0x3c], 0x1e
ja 0x4122ca
and dword [ebx + 0x68], 0
push 0x10
pop eax
mov dword [ebx], eax
mov eax, dword [ebx + 0x68]
jmp 0x41232a
mov dword [edi + 0x18], str.too_many_length_or_distance_symbols
jmp 0x411ba4
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x412c27
dec eax
mov ecx, esi
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
shl eax, cl
add edx, eax
inc dword [ebp - 8]
add esi, 8
mov dword [ebp - 0x14], edx
mov dword [ebp - 0xc], esi
cmp esi, 3
jb 0x4122d6
mov eax, dword [ebx + 0x68]
mov ecx, edx
and ecx, 7
shr edx, 3
mov dword [ebp - 0x14], edx
movzx eax, word [eax*2 + 0x45ab70]
mov word [ebx + eax*2 + 0x70], cx
mov eax, dword [ebx + 0x68]
inc eax
sub esi, 3
mov dword [ebx + 0x68], eax
mov dword [ebp - 0xc], esi
cmp eax, dword [ebx + 0x5c]
jb 0x4122fd
jmp 0x412347
movzx eax, word [eax*2 + 0x45ab70]
xor ecx, ecx
mov word [ebx + eax*2 + 0x70], cx
mov eax, dword [ebx + 0x68]
inc eax
mov dword [ebx + 0x68], eax
cmp eax, 0x13
jb 0x412331
lea eax, [ebx + 0x530]
lea edx, [ebx + 0x6c]
mov dword [ebx + 0x4c], eax
mov dword [edx], eax
lea ecx, [ebx + 0x54]
lea eax, [ebx + 0x2f0]
mov dword [ecx], 7
push eax
push ecx
push edx
push 0x13
lea edx, [ebx + 0x70]
xor ecx, ecx
call fcn.0041468f
mov edx, dword [ebp - 0x14]
mov ecx, eax
add esp, 0x10
mov dword [ebp - 0x2c], ecx
test ecx, ecx
je 0x412393
mov dword [edi + 0x18], str.invalid_code_lengths_set
jmp 0x411ba4
and dword [ebx + 0x68], 0
push 0x11
pop eax
mov dword [ebx], eax
mov eax, dword [ebx + 0x64]
mov ecx, dword [ebx + 0x60]
add eax, ecx
cmp dword [ebx + 0x68], eax
jae 0x4125d9
mov edi, dword [ebx + 0x4c]
jmp 0x4123d9
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x412c27
dec eax
mov ecx, esi
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
shl eax, cl
add edx, eax
inc dword [ebp - 8]
add esi, 8
mov dword [ebp - 0x14], edx
mov dword [ebp - 0xc], esi
mov ecx, dword [ebx + 0x54]
xor eax, eax
inc eax
shl eax, cl
dec eax
and eax, edx
mov eax, dword [edi + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
mov dword [ebp - 0x30], eax
cmp ecx, esi
ja 0x4123b2
mov ecx, eax
push 0x10
shr ecx, 0x10
pop edi
cmp cx, di
jae 0x41245f
mov ecx, eax
shr ecx, 8
movzx edi, cl
cmp esi, edi
jae 0x41243b
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x412c24
dec ecx
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 8]
movzx edx, byte [ecx]
mov ecx, esi
shl edx, cl
add esi, 8
add dword [ebp - 0x14], edx
inc dword [ebp - 8]
mov dword [ebp - 0xc], esi
cmp esi, edi
jb 0x41240f
mov edx, dword [ebp - 0x14]
movzx ecx, ah
mov ax, word [ebp - 0x2e]
sub esi, ecx
shr edx, cl
mov ecx, dword [ebx + 0x68]
mov dword [ebp - 0x14], edx
mov dword [ebp - 0xc], esi
mov word [ebx + ecx*2 + 0x70], ax
inc dword [ebx + 0x68]
mov edi, dword [ebx + 0x68]
jmp 0x4125a2
cmp word [ebp - 0x2e], di
movzx edi, ah
jne 0x4124d0
add edi, 2
cmp esi, edi
jae 0x41249b
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x412c24
dec ecx
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 8]
movzx edx, byte [ecx]
mov ecx, esi
shl edx, cl
add esi, 8
add dword [ebp - 0x14], edx
inc dword [ebp - 8]
mov dword [ebp - 0xc], esi
cmp esi, edi
jb 0x41246f
mov edx, dword [ebp - 0x14]
mov cl, ah
movzx eax, ah
sub esi, eax
shr edx, cl
mov eax, dword [ebx + 0x68]
mov dword [ebp - 0x14], edx
mov dword [ebp - 0xc], esi
test eax, eax
je 0x4125b7
movzx eax, word [ebx + eax*2 + 0x6e]
mov edi, edx
and edi, 3
shr edx, 2
add edi, 3
mov dword [ebp - 0x30], eax
sub esi, 2
jmp 0x41256f
push 0x11
pop ecx
cmp word [ebp - 0x2e], cx
jne 0x41251f
add edi, 3
cmp esi, edi
jae 0x41250c
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x412c24
dec ecx
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 8]
movzx edx, byte [ecx]
mov ecx, esi
shl edx, cl
add esi, 8
add dword [ebp - 0x14], edx
inc dword [ebp - 8]
mov dword [ebp - 0xc], esi
cmp esi, edi
jb 0x4124e0
mov edx, dword [ebp - 0x14]
mov cl, ah
shr edx, cl
mov edi, edx
and edi, 7
add edi, 3
shr edx, 3
push 0xfffffffffffffffd
jmp 0x412563
add edi, 7
cmp esi, edi
jae 0x412552
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x412c24
dec ecx
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 8]
movzx edx, byte [ecx]
mov ecx, esi
shl edx, cl
add esi, 8
add dword [ebp - 0x14], edx
inc dword [ebp - 8]
mov dword [ebp - 0xc], esi
cmp esi, edi
jb 0x412526
mov edx, dword [ebp - 0x14]
mov cl, ah
shr edx, cl
mov edi, edx
and edi, 0x7f
add edi, 0xb
shr edx, 7
push 0xfffffffffffffff9
movzx eax, ah
pop ecx
sub ecx, eax
add esi, ecx
and dword [ebp - 0x30], 0
mov eax, dword [ebx + 0x68]
mov ecx, dword [ebx + 0x64]
add ecx, dword [ebx + 0x60]
mov dword [ebp - 0x34], eax
add eax, edi
mov dword [ebp - 0x14], edx
mov dword [ebp - 0xc], esi
cmp eax, ecx
ja 0x4125c6
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x30]
mov word [ebx + eax*2 + 0x70], cx
mov eax, dword [ebx + 0x68]
lea eax, [eax + 1]
mov dword [ebx + 0x68], eax
sub edi, 1
jne 0x41258d
mov edi, eax
mov eax, dword [ebx + 0x64]
mov ecx, dword [ebx + 0x60]
add eax, ecx
cmp edi, eax
jb 0x4123ad
mov edi, dword [ebp - 0x1c]
jmp 0x4125d9
mov edi, dword [ebp - 0x1c]
mov dword [edi + 0x18], str.invalid_bit_length_repeat
jmp 0x411ba4
mov edi, dword [ebp - 0x1c]
mov ecx, dword [ebx + 0x60]
mov dword [ebx], 0x1b
mov dword [edi + 0x18], str.invalid_bit_length_repeat
cmp dword [ebx], 0x1b
je 0x412236
lea eax, [ebx + 0x530]
lea edx, [ebx + 0x6c]
mov dword [ebx + 0x4c], eax
mov dword [edx], eax
lea edi, [ebx + 0x2f0]
lea eax, [ebx + 0x54]
push edi
push eax
push edx
push ecx
xor ecx, ecx
mov dword [eax], 9
lea edx, [ebx + 0x70]
inc ecx
call fcn.0041468f
mov edi, dword [ebp - 0x1c]
mov ecx, eax
add esp, 0x10
mov dword [ebp - 0x2c], ecx
test ecx, ecx
je 0x412632
mov edx, dword [ebp - 0x14]
mov dword [edi + 0x18], str.invalid_literal_lengths_set
mov dword [ebx], 0x1b
jmp 0x412236
lea ecx, [ebx + 0x6c]
mov eax, dword [ecx]
lea edx, [ebx + 0x2f0]
push edx
mov dword [ebx + 0x50], eax
lea eax, [ebx + 0x58]
push eax
mov dword [eax], 6
mov eax, dword [ebx + 0x60]
push ecx
push dword [ebx + 0x64]
add eax, 0x38
push 2
pop ecx
lea edx, [ebx + eax*2]
call fcn.0041468f
mov edx, dword [ebp - 0x14]
add esp, 0x10
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x412679
mov dword [edi + 0x18], str.invalid_distances_set
jmp 0x411ba4
mov dword [ebx], 0x12
cmp dword [ebp - 0x10], 6
jb 0x4126dd
mov ecx, dword [ebp - 0x18]
cmp ecx, 0x102
jb 0x4126dd
mov eax, dword [ebp - 0x38]
mov edi, dword [ebp - 0x24]
mov dword [ebx + 0x38], edx
mov edx, dword [ebp - 0x28]
mov dword [eax], edi
mov edi, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x10]
mov dword [ebx + 0x3c], esi
mov dword [edi + 0x10], ecx
mov ecx, dword [ebp - 8]
mov dword [edi], ecx
mov ecx, edi
mov dword [edi + 4], eax
call fcn.00414aaa
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebx + 0x38]
mov esi, dword [ebx + 0x3c]
mov eax, dword [ecx]
mov dword [ebp - 0x24], eax
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [edi]
mov dword [ebp - 8], eax
mov eax, dword [edi + 4]
mov dword [ebp - 0x10], eax
jmp 0x411b92
mov ecx, dword [ebx + 0x54]
xor eax, eax
mov edi, dword [ebx + 0x4c]
inc eax
shl eax, cl
dec eax
mov dword [ebp - 0x34], edi
and eax, edx
mov eax, dword [edi + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, esi
jbe 0x412741
mov dword [ebp - 0x34], edi
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x412c27
dec eax
mov ecx, esi
mov dword [ebp - 0x10], eax
add esi, 8
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], esi
movzx eax, byte [eax]
shl eax, cl
mov ecx, dword [ebx + 0x54]
add edx, eax
inc dword [ebp - 8]
xor eax, eax
inc eax
mov dword [ebp - 0x14], edx
shl eax, cl
dec eax
and eax, edx
mov eax, dword [edi + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, esi
ja 0x412700
test al, al
je 0x4127df
test al, 0xf0
jne 0x4127df
mov ecx, eax
xor esi, esi
shr ecx, 8
inc esi
movzx edi, cl
mov edx, eax
movzx ecx, al
add ecx, edi
shr eax, 0x10
shl esi, cl
mov ecx, edi
dec esi
mov dword [ebp - 0x30], edx
and esi, dword [ebp - 0x14]
shr esi, cl
mov ecx, dword [ebp - 0x34]
add esi, eax
mov eax, dword [ecx + esi*4]
jmp 0x4127c4
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x412c27
mov edi, dword [ebp - 8]
dec eax
mov ecx, esi
mov dword [ebp - 0x10], eax
add esi, 8
mov dword [ebp - 0xc], esi
xor esi, esi
movzx eax, byte [edi]
inc esi
shl eax, cl
add dword [ebp - 0x14], eax
inc edi
movzx eax, word [ebp - 0x2e]
mov dword [ebp - 8], edi
movzx edi, dh
movzx ecx, dl
add ecx, edi
shl esi, cl
mov ecx, edi
dec esi
and esi, dword [ebp - 0x14]
shr esi, cl
add esi, eax
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + esi*4]
mov esi, dword [ebp - 0xc]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add ecx, edi
cmp ecx, esi
ja 0x41277d
movzx ecx, dh
mov edx, dword [ebp - 0x14]
shr edx, cl
sub esi, ecx
mov ecx, eax
shr ecx, 8
movzx ecx, cl
shr edx, cl
sub esi, ecx
mov ecx, eax
mov dword [ebp - 0x14], edx
shr ecx, 0x10
mov dword [ebp - 0xc], esi
mov dword [ebx + 0x40], ecx
test al, al
jne 0x412808
mov dword [ebx], 0x17
jmp 0x412233
test al, 0x20
je 0x412817
mov dword [ebx], 0xb
jmp 0x412233
test al, 0x40
je 0x41282a
mov edi, dword [ebp - 0x1c]
mov dword [edi + 0x18], str.invalid_literal_length_code
jmp 0x411ba4
movzx eax, al
and eax, 0xf
mov dword [ebx], 0x13
mov dword [ebx + 0x48], eax
mov edi, dword [ebx + 0x48]
test edi, edi
je 0x412884
jmp 0x412869
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x412c27
dec eax
mov ecx, esi
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
shl eax, cl
add edx, eax
inc dword [ebp - 8]
add esi, 8
mov dword [ebp - 0x14], edx
mov dword [ebp - 0xc], esi
cmp esi, edi
jb 0x412842
xor eax, eax
mov ecx, edi
inc eax
shl eax, cl
dec eax
and eax, edx
shr edx, cl
add dword [ebx + 0x40], eax
sub esi, edi
mov dword [ebp - 0x14], edx
mov dword [ebp - 0xc], esi
mov dword [ebx], 0x14
mov ecx, dword [ebx + 0x58]
xor eax, eax
mov edi, dword [ebx + 0x50]
inc eax
shl eax, cl
dec eax
mov dword [ebp - 0x34], edi
and eax, edx
mov eax, dword [edi + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, esi
jbe 0x4128ee
mov dword [ebp - 0x34], edi
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x412c27
dec eax
mov ecx, esi
mov dword [ebp - 0x10], eax
add esi, 8
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], esi
movzx eax, byte [eax]
shl eax, cl
mov ecx, dword [ebx + 0x58]
add edx, eax
inc dword [ebp - 8]
xor eax, eax
inc eax
mov dword [ebp - 0x14], edx
shl eax, cl
dec eax
and eax, edx
mov eax, dword [edi + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, esi
ja 0x4128ad
test al, 0xf0
jne 0x412984
mov ecx, eax
xor esi, esi
shr ecx, 8
inc esi
movzx edi, cl
mov edx, eax
movzx ecx, al
add ecx, edi
shr eax, 0x10
shl esi, cl
mov ecx, edi
dec esi
mov dword [ebp - 0x30], edx
and esi, dword [ebp - 0x14]
shr esi, cl
mov ecx, dword [ebp - 0x34]
add esi, eax
mov eax, dword [ecx + esi*4]
jmp 0x412969
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x412c27
mov edi, dword [ebp - 8]
dec eax
mov ecx, esi
mov dword [ebp - 0x10], eax
add esi, 8
mov dword [ebp - 0xc], esi
xor esi, esi
movzx eax, byte [edi]
inc esi
shl eax, cl
add dword [ebp - 0x14], eax
inc edi
movzx eax, word [ebp - 0x2e]
mov dword [ebp - 8], edi
movzx edi, dh
movzx ecx, dl
add ecx, edi
shl esi, cl
mov ecx, edi
dec esi
and esi, dword [ebp - 0x14]
shr esi, cl
add esi, eax
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + esi*4]
mov esi, dword [ebp - 0xc]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add ecx, edi
cmp ecx, esi
ja 0x412922
movzx ecx, dh
mov edx, dword [ebp - 0x14]
shr edx, cl
sub esi, ecx
mov ecx, eax
shr ecx, 8
movzx ecx, cl
shr edx, cl
sub esi, ecx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0xc], esi
test al, 0x40
je 0x4129a9
mov edi, dword [ebp - 0x1c]
mov dword [edi + 0x18], str.invalid_distance_code
jmp 0x411ba4
mov ecx, eax
mov dword [ebx], 0x15
shr ecx, 0x10
movzx eax, al
and eax, 0xf
mov dword [ebx + 0x44], ecx
mov dword [ebx + 0x48], eax
mov edi, dword [ebx + 0x48]
test edi, edi
je 0x412a0b
jmp 0x4129f0
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x412c27
dec eax
mov ecx, esi
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
shl eax, cl
add edx, eax
inc dword [ebp - 8]
add esi, 8
mov dword [ebp - 0x14], edx
mov dword [ebp - 0xc], esi
cmp esi, edi
jb 0x4129c9
xor eax, eax
mov ecx, edi
inc eax
shl eax, cl
dec eax
and eax, edx
shr edx, cl
add dword [ebx + 0x44], eax
sub esi, edi
mov dword [ebp - 0x14], edx
mov dword [ebp - 0xc], esi
mov eax, dword [ebx + 0x2c]
sub eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x28]
add eax, ecx
cmp dword [ebx + 0x44], eax
jbe 0x412a2a
mov edi, dword [ebp - 0x1c]
mov dword [edi + 0x18], str.invalid_distance_too_far_back
jmp 0x411ba4
mov dword [ebx], 0x16
jmp 0x412a35
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x412c24
sub ecx, eax
mov eax, dword [ebx + 0x44]
cmp eax, ecx
jbe 0x412a6f
sub eax, ecx
mov ecx, dword [ebx + 0x30]
cmp eax, ecx
jbe 0x412a57
sub eax, ecx
mov ecx, dword [ebx + 0x28]
mov edi, dword [ebx + 0x40]
sub ecx, eax
add ecx, dword [ebx + 0x34]
cmp eax, edi
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x34], edi
cmovbe edi, eax
mov eax, dword [ebp - 0x34]
jmp 0x412a7b
mov edx, dword [ebp - 0x24]
mov ecx, edx
sub ecx, eax
mov eax, dword [ebx + 0x40]
mov edi, eax
cmp edi, dword [ebp - 0x18]
cmova edi, dword [ebp - 0x18]
sub dword [ebp - 0x18], edi
sub eax, edi
mov dword [ebx + 0x40], eax
sub ecx, edx
mov al, byte [ecx + edx]
mov byte [edx], al
inc edx
sub edi, 1
jne 0x412a8c
mov dword [ebp - 0x24], edx
mov edx, dword [ebp - 0x14]
cmp dword [ebx + 0x40], edi
jne 0x412233
mov dword [ebx], 0x12
jmp 0x412233
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x412c24
mov edi, dword [ebp - 0x24]
inc dword [ebp - 0x24]
dec ecx
mov al, byte [ebx + 0x40]
mov dword [ebp - 0x18], ecx
mov byte [edi], al
jmp 0x412aa6
xor ecx, ecx
cmp dword [ebx + 8], ecx
je 0x412b7e
cmp esi, 0x20
jae 0x412b0b
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x412c27
dec eax
mov ecx, esi
mov dword [ebp - 0x10], eax
add esi, 8
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], esi
movzx eax, byte [eax]
shl eax, cl
add edx, eax
inc dword [ebp - 8]
mov dword [ebp - 0x14], edx
cmp esi, 0x20
jb 0x412add
xor ecx, ecx
mov eax, dword [ebp - 0x28]
sub eax, dword [ebp - 0x18]
add dword [edi + 0x14], eax
add dword [ebx + 0x1c], eax
mov dword [ebp - 0x28], eax
test eax, eax
je 0x412b53
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x28]
cmp dword [ebx + 0x10], 0
mov ecx, dword [ebx + 0x18]
je 0x412b3d
test eax, eax
je 0x412b4b
push dword [ebp - 0x28]
mov edx, eax
call fcn.004115d6
jmp 0x412b47
push dword [ebp - 0x28]
mov edx, eax
call fcn.0041444f
mov edx, dword [ebp - 0x14]
pop ecx
mov dword [ebx + 0x18], eax
xor ecx, ecx
mov dword [edi + 0x30], eax
mov eax, dword [ebp - 0x18]
cmp dword [ebx + 0x10], ecx
mov dword [ebp - 0x28], eax
mov eax, edx
bswap eax
cmovne eax, edx
cmp eax, dword [ebx + 0x18]
je 0x412b74
mov dword [edi + 0x18], str.incorrect_data_check
jmp 0x411ba4
mov edx, ecx
mov esi, ecx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0xc], esi
mov dword [ebx], 0x19
jmp 0x412b88
xor ecx, ecx
cmp dword [ebx + 8], ecx
je 0x412c03
cmp dword [ebx + 0x10], ecx
je 0x412c03
cmp esi, 0x20
jae 0x412bc9
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x412c27
dec eax
mov dword [ebp - 0x10], eax
movzx eax, byte [ecx]
mov ecx, esi
shl eax, cl
add esi, 8
mov ecx, dword [ebp - 8]
add edx, eax
inc ecx
mov dword [ebp - 0x14], edx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], esi
cmp esi, 0x20
jb 0x412b9a
xor ecx, ecx
cmp edx, dword [ebx + 0x1c]
je 0x412bfe
mov dword [edi + 0x18], str.incorrect_length_check
jmp 0x411ba4
mov eax, dword [ebp - 0x24]
mov dword [edi + 0xc], eax
mov eax, dword [ebp - 0x18]
mov dword [edi + 0x10], eax
mov eax, dword [ebp - 8]
mov dword [edi], eax
mov eax, dword [ebp - 0x10]
mov dword [edi + 4], eax
mov dword [ebx + 0x38], edx
mov dword [ebx + 0x3c], esi
push 2
jmp 0x412243
mov dword [ebp - 0x14], ecx
jmp 0x412c06
mov ecx, dword [ebp - 0xc]
mov dword [ebx], 0x1a
jmp 0x412c11
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x2c], 1
jmp 0x412c2a
mov dword [ebp - 0x2c], 0xfffffffd
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov esi, dword [ebp - 0x1c]
xor edi, edi
mov edx, dword [ebp - 0x24]
mov dword [ebx + 0x3c], ecx
mov dword [esi + 0xc], edx
mov edx, dword [ebp - 0x18]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x14]
mov dword [esi + 0x10], edx
mov edx, dword [ebp - 8]
mov dword [ebx + 0x38], eax
mov eax, dword [ebp - 0x28]
mov dword [esi], edx
cmp dword [ebx + 0x28], edi
jne 0x412c5e
cmp dword [ebx], 0x18
jge 0x412c7b
cmp eax, dword [ebp - 0x18]
je 0x412c7b
mov edx, eax
mov ecx, esi
call fcn.00411911
test eax, eax
je 0x412c78
mov dword [ebx], 0x1c
push 0xfffffffffffffffc
jmp 0x412243
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x40]
sub eax, dword [esi + 0x10]
sub ecx, dword [esi + 4]
add dword [esi + 8], ecx
add dword [esi + 0x14], eax
add dword [ebx + 0x1c], eax
cmp dword [ebx + 8], edi
je 0x412cbe
test eax, eax
je 0x412cbe
mov edx, dword [esi + 0xc]
mov ecx, dword [ebx + 0x18]
sub edx, eax
cmp dword [ebx + 0x10], edi
je 0x412caf
test edx, edx
je 0x412cb8
push eax
call fcn.004115d6
jmp 0x412cb5
push eax
call fcn.0041444f
mov edi, eax
pop ecx
mov dword [ebx + 0x18], edi
mov dword [esi + 0x30], edi
mov edx, dword [ebx + 4]
mov eax, 0x80
neg edx
push 0xfffffffffffffffb
sbb edx, edx
xor ecx, ecx
and edx, 0x40
cmp dword [ebx], 0xb
cmove ecx, eax
mov eax, dword [ebp - 0x2c]
add edx, ecx
add edx, dword [ebx + 0x3c]
test eax, eax
pop ecx
mov dword [esi + 0x2c], edx
cmove eax, ecx
jmp 0x412244