Function at 0x412060
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.0x4120ec.29
mov ebx, dword [edi + 0x1c]
test ebx, ebx
je case.0x4120ec.29
lea ecx, [edi + 0xc]
mov eax, dword [ecx]
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x24], eax
test eax, eax
je case.0x4120ec.29
mov eax, dword [edi]
mov dword [ebp - 8], eax
test eax, eax
jne 0x4120a9
cmp dword [edi + 4], eax
jne case.0x4120ec.29
lea ecx, [edi + 0xc]
mov eax, dword [ebx]
push 0xc
pop edx
cmp eax, 0xb
jne 0x4120ba
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 0x4128a8
mov ecx, esi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x3c], ecx
jmp dword [eax*4 + 0x413360]
xor eax, eax
cmp dword [ebx + 8], eax
jne 0x412105
mov dword [ebx], 0xc
jmp 0x4128a6
push 0x10
pop ecx
cmp esi, ecx
jae 0x41213c
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x413297
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 0x41210c
xor eax, eax
test byte [ebx + 8], 2
je 0x41217d
cmp edx, 0x8b1f
jne 0x41217d
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.00411c46
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 0x4128a6
mov dword [ebx + 0x10], eax
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x41218b
or dword [eax + 0x30], 0xffffffff
test byte [ebx + 8], 1
je 0x41220d
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 0x41220d
mov eax, edx
and al, 0xf
cmp al, 8
je 0x4121bd
mov dword [edi + 0x18], str.unknown_compression_method
jmp 0x412214
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 0x4121df
mov dword [edi + 0x18], str.invalid_window_size
jmp 0x412214
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 0x4128a6
mov dword [edi + 0x18], str.incorrect_header_check
mov dword [ebx], 0x1b
jmp 0x4128a6
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x413297
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 0x41221f
mov dword [ebx + 0x10], edx
cmp dl, 8
jne 0x4121b4
test edx, 0xe000
je 0x41226a
mov dword [edi + 0x18], str.unknown_header_flags_set
jmp 0x412214
mov ecx, dword [ebx + 0x20]
test ecx, ecx
je 0x41227b
mov eax, edx
shr eax, 8
and eax, 1
mov dword [ecx], eax
test dword [ebx + 0x10], 0x200
je 0x41229e
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.00411c46
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 0x41329a
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 0x4122b0
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x4122df
mov dword [eax + 4], edx
test dword [ebx + 0x10], 0x200
je 0x412312
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.00411c46
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 0x41329a
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 0x412324
mov esi, dword [ebx + 0x20]
mov ecx, edx
shr ecx, 8
test esi, esi
je 0x412363
movzx eax, dl
mov dword [esi + 8], eax
mov eax, dword [ebx + 0x20]
mov dword [eax + 0xc], ecx
test dword [ebx + 0x10], 0x200
je 0x412383
mov byte [ebp - 0x20], dl
lea edx, [ebp - 0x20]
mov byte [ebp - 0x1f], cl
mov ecx, dword [ebx + 0x18]
push 2
call fcn.00411c46
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 0x4123c2
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 0x4122cd
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 0x412343
xor ecx, ecx
test dword [ebx + 0x10], 0x400
jne 0x412452
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x4123d9
mov dword [eax + 0x10], ecx
mov dword [ebx], 5
test dword [ebx + 0x10], 0x400
je 0x4124e4
mov eax, dword [ebx + 0x40]
mov edi, dword [ebp - 0x10]
cmp eax, edi
cmovbe edi, eax
test edi, edi
je 0x4124d9
mov ecx, dword [ebx + 0x20]
test ecx, ecx
je 0x4124ac
mov edx, dword [ecx + 0x10]
mov dword [ebp - 0x3c], edx
test edx, edx
je 0x4124ac
mov edx, dword [ecx + 0x14]
mov ecx, dword [ecx + 0x18]
sub edx, eax
lea eax, [edi + edx]
cmp eax, ecx
jbe 0x412498
sub ecx, edx
jmp 0x41249a
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x413297
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 0x41242b
mov eax, dword [ebx + 0x20]
mov dword [ebx + 0x40], edx
test eax, eax
je 0x412466
mov dword [eax + 0x14], edx
test dword [ebx + 0x10], 0x200
je 0x412489
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.00411c46
pop ecx
mov dword [ebx + 0x18], eax
xor eax, eax
mov esi, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xc], esi
jmp 0x4123d9
mov ecx, edi
mov eax, dword [ebp - 0x3c]
push ecx
push dword [ebp - 8]
add eax, edx
push eax
call fcn.0041cfd0
add esp, 0xc
test dword [ebx + 0x10], 0x200
je 0x4124cb
mov eax, dword [ebp - 8]
test eax, eax
je 0x4124c8
mov ecx, dword [ebx + 0x18]
mov edx, eax
push edi
call fcn.00411c46
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 0x413294
mov edi, dword [ebp - 0x1c]
xor ecx, ecx
mov dword [ebx], 6
mov dword [ebx + 0x40], ecx
jmp 0x4124f3
xor ecx, ecx
test dword [ebx + 0x10], 0x800
je 0x412589
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x413297
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 0x412541
cmp dword [ecx + 0x1c], 0
je 0x412541
mov edx, dword [ebx + 0x40]
cmp edx, dword [ecx + 0x20]
jae 0x412541
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 0x41254c
cmp eax, edi
jb 0x412513
test dword [ebx + 0x10], 0x200
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 0x1c]
je 0x412579
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x412576
mov edx, ecx
mov ecx, dword [ebx + 0x18]
push eax
call fcn.00411c46
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 0x413294
jmp 0x412593
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x412593
mov dword [eax + 0x1c], ecx
xor ecx, ecx
mov dword [ebx], 7
mov dword [ebx + 0x40], ecx
jmp 0x4125a2
xor ecx, ecx
test dword [ebx + 0x10], 0x1000
je 0x412638
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x413297
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 0x4125f0
cmp dword [ecx + 0x24], 0
je 0x4125f0
mov edx, dword [ebx + 0x40]
cmp edx, dword [ecx + 0x28]
jae 0x4125f0
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 0x4125fb
cmp eax, edi
jb 0x4125c2
test dword [ebx + 0x10], 0x200
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 0x1c]
je 0x412628
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x412625
mov edx, ecx
mov ecx, dword [ebx + 0x18]
push eax
call fcn.00411c46
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 0x413294
jmp 0x412642
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x412642
mov dword [eax + 0x24], ecx
mov edx, dword [ebp - 0x14]
mov dword [ebx], 8
test dword [ebx + 0x10], 0x200
je 0x4126a4
jmp 0x41267d
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x413297
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 0x412656
movzx eax, word [ebx + 0x18]
cmp edx, eax
je 0x412698
mov dword [edi + 0x18], str.header_crc_mismatch
jmp 0x412214
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 0x4126c1
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 0x4128a6
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x413297
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 0x4126d4
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 0x41271e
xor ecx, ecx
cmp dword [ebx + 0xc], ecx
je 0x41324a
xor eax, eax
mov dword [ebx], 0xb
inc eax
mov dword [ebx + 0x18], eax
mov dword [edi + 0x30], eax
jmp 0x41273a
xor ecx, ecx
cmp dword [ebx + 4], ecx
je 0x412759
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 0x4128a6
cmp esi, 3
jae 0x41278c
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x413297
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 0x41275e
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 0x4127e9
sub eax, 1
je 0x4127c5
sub eax, 1
je 0x4127bd
sub eax, 1
jne 0x4127ef
mov dword [edi + 0x18], str.invalid_block_type
mov dword [ebx], 0x1b
jmp 0x4127ef
mov dword [ebx], 0xf
jmp 0x4127ef
mov dword [ebx + 0x4c], 0x463fc0
mov dword [ebx + 0x54], 9
mov dword [ebx + 0x50], 0x4647e8
mov dword [ebx + 0x58], 5
mov dword [ebx], 0x12
jmp 0x4127ef
mov dword [ebx], 0xd
shr edx, 2
sub esi, 3
jmp 0x412202
mov ecx, esi
and ecx, 7
shr edx, cl
sub esi, ecx
jmp 0x412826
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x413297
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 0x412805
mov eax, edx
movzx ecx, dx
not eax
shr eax, 0x10
cmp ecx, eax
je 0x41284b
mov dword [edi + 0x18], str.invalid_stored_block_lengths
jmp 0x412214
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 0x4126c9
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 0x413294
push edi
push dword [ebp - 8]
push dword [ebp - 0x24]
call fcn.0041cfd0
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 0x4120e4
push 0xfffffffffffffffe
pop eax
pop edi
pop esi
pop ebx
leave
ret
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x413297
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 0x4128b9
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 0x41293a
cmp dword [ebp - 0x3c], 0x1e
ja 0x41293a
and dword [ebx + 0x68], 0
push 0x10
pop eax
mov dword [ebx], eax
mov eax, dword [ebx + 0x68]
jmp 0x41299a
mov dword [edi + 0x18], str.too_many_length_or_distance_symbols
jmp 0x412214
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x413297
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 0x412946
mov eax, dword [ebx + 0x68]
mov ecx, edx
and ecx, 7
shr edx, 3
mov dword [ebp - 0x14], edx
movzx eax, word [eax*2 + 0x4647c0]
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 0x41296d
jmp 0x4129b7
movzx eax, word [eax*2 + 0x4647c0]
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 0x4129a1
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.00414cfd
mov edx, dword [ebp - 0x14]
mov ecx, eax
add esp, 0x10
mov dword [ebp - 0x2c], ecx
test ecx, ecx
je 0x412a03
mov dword [edi + 0x18], str.invalid_code_lengths_set
jmp 0x412214
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 0x412c49
mov edi, dword [ebx + 0x4c]
jmp 0x412a49
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x413297
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 0x412a22
mov ecx, eax
push 0x10
shr ecx, 0x10
pop edi
cmp cx, di
jae 0x412acf
mov ecx, eax
shr ecx, 8
movzx edi, cl
cmp esi, edi
jae 0x412aab
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x413294
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 0x412a7f
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 0x412c12
cmp word [ebp - 0x2e], di
movzx edi, ah
jne 0x412b40
add edi, 2
cmp esi, edi
jae 0x412b0b
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x413294
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 0x412adf
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 0x412c27
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 0x412bdf
push 0x11
pop ecx
cmp word [ebp - 0x2e], cx
jne 0x412b8f
add edi, 3
cmp esi, edi
jae 0x412b7c
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x413294
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 0x412b50
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 0x412bd3
add edi, 7
cmp esi, edi
jae 0x412bc2
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x413294
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 0x412b96
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 0x412c36
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 0x412bfd
mov edi, eax
mov eax, dword [ebx + 0x64]
mov ecx, dword [ebx + 0x60]
add eax, ecx
cmp edi, eax
jb 0x412a1d
mov edi, dword [ebp - 0x1c]
jmp 0x412c49
mov edi, dword [ebp - 0x1c]
mov dword [edi + 0x18], str.invalid_bit_length_repeat
jmp 0x412214
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 0x4128a6
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.00414cfd
mov edi, dword [ebp - 0x1c]
mov ecx, eax
add esp, 0x10
mov dword [ebp - 0x2c], ecx
test ecx, ecx
je 0x412ca2
mov edx, dword [ebp - 0x14]
mov dword [edi + 0x18], str.invalid_literal_lengths_set
mov dword [ebx], 0x1b
jmp 0x4128a6
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.00414cfd
mov edx, dword [ebp - 0x14]
add esp, 0x10
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x412ce9
mov dword [edi + 0x18], str.invalid_distances_set
jmp 0x412214
mov dword [ebx], 0x12
cmp dword [ebp - 0x10], 6
jb 0x412d4d
mov ecx, dword [ebp - 0x18]
cmp ecx, 0x102
jb 0x412d4d
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.0041510f
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 0x412202
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 0x412db1
mov dword [ebp - 0x34], edi
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x413297
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 0x412d70
test al, al
je 0x412e4f
test al, 0xf0
jne 0x412e4f
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 0x412e34
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x413297
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 0x412ded
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 0x412e78
mov dword [ebx], 0x17
jmp 0x4128a3
test al, 0x20
je 0x412e87
mov dword [ebx], 0xb
jmp 0x4128a3
test al, 0x40
je 0x412e9a
mov edi, dword [ebp - 0x1c]
mov dword [edi + 0x18], str.invalid_literal_length_code
jmp 0x412214
movzx eax, al
and eax, 0xf
mov dword [ebx], 0x13
mov dword [ebx + 0x48], eax
mov edi, dword [ebx + 0x48]
test edi, edi
je 0x412ef4
jmp 0x412ed9
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x413297
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 0x412eb2
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 0x412f5e
mov dword [ebp - 0x34], edi
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x413297
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 0x412f1d
test al, 0xf0
jne 0x412ff4
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 0x412fd9
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x413297
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 0x412f92
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 0x413019
mov edi, dword [ebp - 0x1c]
mov dword [edi + 0x18], str.invalid_distance_code
jmp 0x412214
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 0x41307b
jmp 0x413060
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x413297
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 0x413039
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 0x41309a
mov edi, dword [ebp - 0x1c]
mov dword [edi + 0x18], str.invalid_distance_too_far_back
jmp 0x412214
mov dword [ebx], 0x16
jmp 0x4130a5
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x413294
sub ecx, eax
mov eax, dword [ebx + 0x44]
cmp eax, ecx
jbe 0x4130df
sub eax, ecx
mov ecx, dword [ebx + 0x30]
cmp eax, ecx
jbe 0x4130c7
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 0x4130eb
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 0x4130fc
mov dword [ebp - 0x24], edx
mov edx, dword [ebp - 0x14]
cmp dword [ebx + 0x40], edi
jne 0x4128a3
mov dword [ebx], 0x12
jmp 0x4128a3
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x413294
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 0x413116
xor ecx, ecx
cmp dword [ebx + 8], ecx
je 0x4131ee
cmp esi, 0x20
jae 0x41317b
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x413297
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 0x41314d
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 0x4131c3
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x28]
cmp dword [ebx + 0x10], 0
mov ecx, dword [ebx + 0x18]
je 0x4131ad
test eax, eax
je 0x4131bb
push dword [ebp - 0x28]
mov edx, eax
call fcn.00411c46
jmp 0x4131b7
push dword [ebp - 0x28]
mov edx, eax
call fcn.00414abf
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 0x4131e4
mov dword [edi + 0x18], str.incorrect_data_check
jmp 0x412214
mov edx, ecx
mov esi, ecx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0xc], esi
mov dword [ebx], 0x19
jmp 0x4131f8
xor ecx, ecx
cmp dword [ebx + 8], ecx
je 0x413273
cmp dword [ebx + 0x10], ecx
je 0x413273
cmp esi, 0x20
jae 0x413239
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x413297
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 0x41320a
xor ecx, ecx
cmp edx, dword [ebx + 0x1c]
je 0x41326e
mov dword [edi + 0x18], str.incorrect_length_check
jmp 0x412214
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 0x4128b3
mov dword [ebp - 0x14], ecx
jmp 0x413276
mov ecx, dword [ebp - 0xc]
mov dword [ebx], 0x1a
jmp 0x413281
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x2c], 1
jmp 0x41329a
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 0x4132ce
cmp dword [ebx], 0x18
jge 0x4132eb
cmp eax, dword [ebp - 0x18]
je 0x4132eb
mov edx, eax
mov ecx, esi
call fcn.00411f81
test eax, eax
je 0x4132e8
mov dword [ebx], 0x1c
push 0xfffffffffffffffc
jmp 0x4128b3
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 0x41332e
test eax, eax
je 0x41332e
mov edx, dword [esi + 0xc]
mov ecx, dword [ebx + 0x18]
sub edx, eax
cmp dword [ebx + 0x10], edi
je 0x41331f
test edx, edx
je 0x413328
push eax
call fcn.00411c46
jmp 0x413325
push eax
call fcn.00414abf
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 0x4128b4