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

Disassembly:
sub esp, 0x34
push ebx
push ebp
mov eax, ecx
mov dword [esp + 0x14], eax
push esi
push edi
test eax, eax
je case.0x100a1635.16181
cmp dword [eax + 0x20], 0
je case.0x100a1635.16181
cmp dword [eax + 0x24], 0
je case.0x100a1635.16181
mov ecx, dword [eax + 0x1c]
mov dword [esp + 0x14], ecx
test ecx, ecx
je case.0x100a1635.16181
cmp dword [ecx], eax
jne case.0x100a1635.16181
mov edi, dword [ecx + 4]
cmp edi, 0x3f34
jl case.0x100a1635.16181
cmp edi, 0x3f53
jg case.0x100a1635.16181
mov edx, dword [eax + 0xc]
mov dword [esp + 0x24], edx
test edx, edx
je case.0x100a1635.16181
mov ebx, dword [eax]
mov dword [esp + 0x18], ebx
test ebx, ebx
jne 0x100a15cd
cmp dword [eax + 4], ebx
jne case.0x100a1635.16181
cmp edi, 0x3f3f
jne 0x100a15ee
mov dword [ecx + 4], 0x3f40
mov edi, 0x3f40
mov edx, dword [eax + 0xc]
mov ebx, dword [eax]
mov dword [esp + 0x24], edx
mov dword [esp + 0x18], ebx
mov edx, dword [eax + 0x10]
mov ebp, dword [eax + 4]
mov esi, dword [ecx + 0x40]
mov dword [esp + 0x20], edx
mov eax, dword [esp + 0x20]
mov edx, dword [ecx + 0x3c]
mov dword [esp + 0x30], eax
xor eax, eax
mov dword [esp + 0x28], eax
lea eax, [edi - 0x3f34]
mov dword [esp + 0x10], edx
mov dword [esp + 0x40], ebp
cmp eax, 0x1f
ja case.0x100a1635.16181
lea ebx, [ecx + 0x58]
mov dword [esp + 0x34], ebx
lea ebx, [ecx + 0x5c]
mov dword [esp + 0x3c], ebx
mov ebx, dword [esp + 0x18]
jmp dword [eax*4 + 0x100a2660]
cmp dword [ecx + 0xc], 0
jne 0x100a164e
mov dword [ecx + 4], 0x3f40
jmp 0x100a1b10
cmp esi, 0x10
jae 0x100a1676
test ebp, ebp
je 0x100a2541
movzx eax, byte [ebx]
mov ecx, esi
shl eax, cl
inc ebx
add edx, eax
mov dword [esp + 0x18], ebx
add esi, 8
mov dword [esp + 0x10], edx
dec ebp
cmp esi, 0x10
jb 0x100a1653
movzx ecx, dl
mov eax, edx
shl ecx, 8
xor edx, edx
shr eax, 8
add eax, ecx
mov ecx, 0x1f
div ecx
mov ecx, dword [esp + 0x14]
test edx, edx
mov edx, dword [esp + 0x10]
je 0x100a16af
mov eax, dword [esp + 0x1c]
mov dword [eax + 0x18], str.incorrect_header_check
mov dword [ecx + 4], 0x3f51
jmp 0x100a1b10
mov eax, edx
and al, 0xf
cmp al, 8
je 0x100a16ce
mov eax, dword [esp + 0x1c]
mov dword [eax + 0x18], str.unknown_compression_method
mov dword [ecx + 4], 0x3f51
jmp 0x100a1b10
mov eax, dword [ecx + 0x28]
sub esi, 4
shr edx, 4
mov edi, edx
mov dword [esp + 0x10], edx
and edi, 0xf
add edi, 8
test eax, eax
jne 0x100a16ec
mov eax, edi
mov dword [ecx + 0x28], eax
cmp edi, 0xf
ja 0x100a1743
cmp edi, eax
ja 0x100a1743
mov ecx, edi
mov eax, 1
shl eax, cl
xor edx, edx
mov ecx, dword [esp + 0x14]
push 0
mov dword [ecx + 0x18], eax
xor ecx, ecx
call fcn.100de2d0
mov ecx, dword [esp + 0x18]
add esp, 4
mov edx, dword [esp + 0x1c]
mov dword [ecx + 0x1c], eax
mov dword [edx + 0x30], eax
mov edx, dword [esp + 0x10]
shr edx, 8
not edx
and edx, 2
or edx, 0x3f3d
mov dword [ecx + 4], edx
xor edx, edx
mov dword [esp + 0x10], edx
xor esi, esi
jmp 0x100a1b10
mov eax, dword [esp + 0x1c]
mov dword [eax + 0x18], str.invalid_window_size
mov dword [ecx + 4], 0x3f51
jmp 0x100a1b10
cmp esi, 0x20
jae 0x100a1783
nop
test ebp, ebp
je 0x100a2541
movzx eax, byte [ebx]
mov ecx, esi
shl eax, cl
inc ebx
add edx, eax
mov dword [esp + 0x18], ebx
add esi, 8
mov dword [esp + 0x10], edx
dec ebp
cmp esi, 0x20
jb 0x100a1760
mov edi, dword [esp + 0x1c]
mov ecx, edx
mov eax, edx
and ecx, 0xff00
shl eax, 0x10
add ecx, eax
mov eax, edx
shr eax, 8
shl ecx, 8
and eax, 0xff00
add eax, ecx
shr edx, 0x18
mov ecx, dword [esp + 0x14]
add eax, edx
xor edx, edx
xor esi, esi
mov dword [esp + 0x10], edx
mov dword [ecx + 0x1c], eax
mov dword [edi + 0x30], eax
mov dword [ecx + 4], 0x3f3e
jmp 0x100a17c9
mov edi, dword [esp + 0x1c]
cmp dword [ecx + 0x10], 0
je 0x100a24ec
push 0
xor edx, edx
xor ecx, ecx
call fcn.100de2d0
mov ecx, dword [esp + 0x18]
add esp, 4
mov edx, dword [esp + 0x10]
mov dword [ecx + 0x1c], eax
mov dword [edi + 0x30], eax
mov dword [ecx + 4], 0x3f3f
jmp 0x100a17fc
mov edi, dword [esp + 0x1c]
cmp dword [ecx + 8], 0
je 0x100a181f
mov ecx, esi
and ecx, 7
shr edx, cl
sub esi, ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x10], edx
mov dword [ecx + 4], 0x3f4e
jmp 0x100a1b10
cmp esi, 3
jae 0x100a184b
test ebp, ebp
je 0x100a2541
movzx eax, byte [ebx]
mov ecx, esi
shl eax, cl
inc ebx
add edx, eax
mov dword [esp + 0x18], ebx
add esi, 8
mov dword [esp + 0x10], edx
dec ebp
cmp esi, 3
jb case.default.0x100a185a
mov ecx, dword [esp + 0x14]
mov eax, edx
shr edx, 1
and eax, 1
mov dword [ecx + 8], eax
mov eax, edx
and eax, 3
jmp dword [eax*4 + 0x100a26e0]
shr edx, 2
add esi, 0xfffffffd
mov dword [ecx + 4], 0x3f41
mov dword [esp + 0x10], edx
jmp 0x100a1b10
shr edx, 2
add esi, 0xfffffffd
mov dword [ecx + 0x50], 0x101d63a0
mov dword [ecx + 0x58], 9
mov dword [ecx + 0x54], 0x101d6320
mov dword [ecx + 0x5c], 5
mov dword [ecx + 4], 0x3f47
mov dword [esp + 0x10], edx
jmp 0x100a1b10
shr edx, 2
add esi, 0xfffffffd
mov dword [ecx + 4], 0x3f44
mov dword [esp + 0x10], edx
jmp 0x100a1b10
mov dword [edi + 0x18], str.invalid_block_type
mov dword [ecx + 4], 0x3f51
shr edx, 2
add esi, 0xfffffffd
mov dword [esp + 0x10], edx
jmp 0x100a1b10
mov ecx, esi
and ecx, 7
shr edx, cl
sub esi, ecx
mov dword [esp + 0x10], edx
cmp esi, 0x20
jae 0x100a1913
nop
test ebp, ebp
je 0x100a2541
movzx eax, byte [ebx]
mov ecx, esi
shl eax, cl
inc ebx
add edx, eax
mov dword [esp + 0x18], ebx
add esi, 8
mov dword [esp + 0x10], edx
dec ebp
cmp esi, 0x20
jb 0x100a18f0
mov ecx, dword [esp + 0x14]
mov eax, edx
not eax
movzx edi, dx
shr eax, 0x10
cmp edi, eax
je 0x100a193c
mov eax, dword [esp + 0x1c]
mov dword [eax + 0x18], str.invalid_stored_block_lengths
mov dword [ecx + 4], 0x3f51
jmp 0x100a1b10
xor edx, edx
mov dword [ecx + 0x44], edi
mov dword [esp + 0x10], edx
xor esi, esi
mov dword [ecx + 4], 0x3f43
mov edi, dword [ecx + 0x44]
test edi, edi
je 0x100a1997
cmp edi, ebp
mov eax, ebp
cmovbe eax, edi
mov edi, dword [esp + 0x20]
cmp eax, edi
cmovbe edi, eax
test edi, edi
je 0x100a252d
push edi
push ebx
push dword [esp + 0x2c]
call fcn.10146160
mov ecx, dword [esp + 0x20]
add ebx, edi
sub dword [esp + 0x2c], edi
add esp, 0xc
add dword [esp + 0x24], edi
sub ebp, edi
mov dword [esp + 0x18], ebx
sub dword [ecx + 0x44], edi
jmp 0x100a1b0c
mov dword [ecx + 4], 0x3f3f
jmp 0x100a1b10
cmp esi, 0xe
jae 0x100a19cb
test ebp, ebp
je 0x100a2541
movzx eax, byte [ebx]
mov ecx, esi
shl eax, cl
inc ebx
add edx, eax
mov dword [esp + 0x18], ebx
add esi, 8
mov dword [esp + 0x10], edx
dec ebp
cmp esi, 0xe
jb 0x100a19a8
mov edi, dword [esp + 0x14]
mov ecx, edx
shr edx, 5
and ecx, 0x1f
mov eax, edx
add ecx, 0x101
and eax, 0x1f
shr edx, 5
inc eax
mov dword [edi + 0x64], ecx
mov dword [esp + 0x38], eax
sub esi, 0xe
mov dword [edi + 0x68], eax
mov eax, edx
and eax, 0xf
shr edx, 4
add eax, 4
mov dword [esp + 0x10], edx
mov dword [edi + 0x60], eax
cmp ecx, 0x11e
ja 0x100a1b2f
cmp dword [esp + 0x38], 0x1e
ja 0x100a1b2f
mov ecx, edi
mov dword [ecx + 0x6c], 0
mov dword [ecx + 4], 0x3f45
mov eax, dword [ecx + 0x6c]
cmp eax, dword [ecx + 0x60]
jae 0x100a1a93
cmp esi, 3
jae 0x100a1a63
nop dword [eax]
test ebp, ebp
je 0x100a2541
movzx eax, byte [ebx]
mov ecx, esi
shl eax, cl
inc ebx
add edx, eax
mov dword [esp + 0x18], ebx
add esi, 8
mov dword [esp + 0x10], edx
dec ebp
cmp esi, 3
jb 0x100a1a40
mov edi, dword [esp + 0x14]
mov ecx, edx
and ecx, 7
shr edx, 3
sub esi, 3
mov dword [esp + 0x10], edx
mov eax, dword [edi + 0x6c]
movzx eax, word [eax*2 + 0x101d62f8]
mov word [edi + eax*2 + 0x74], cx
mov ecx, edi
inc dword [ecx + 0x6c]
mov eax, dword [ecx + 0x6c]
cmp eax, dword [ecx + 0x60]
jb 0x100a1a34
cmp eax, 0x13
jae 0x100a1abb
nop dword [eax + eax]
mov eax, dword [ecx + 0x6c]
xor edx, edx
movzx eax, word [eax*2 + 0x101d62f8]
mov word [ecx + eax*2 + 0x74], dx
inc dword [ecx + 0x6c]
cmp dword [ecx + 0x6c], 0x13
jb 0x100a1aa0
mov edx, dword [esp + 0x14]
lea eax, [ecx + 0x534]
add ecx, 0x70
lea edi, [edx + 0x58]
mov dword [edi], 7
mov dword [edx + 0x50], eax
mov dword [ecx], eax
lea eax, [edx + 0x2f4]
push eax
push edi
push ecx
push 0x13
add edx, 0x74
xor ecx, ecx
call fcn.100e6830
mov ecx, dword [esp + 0x24]
add esp, 0x10
mov dword [esp + 0x28], eax
test eax, eax
je 0x100a1b45
mov eax, dword [esp + 0x1c]
mov dword [eax + 0x18], str.invalid_code_lengths_set
mov dword [ecx + 4], 0x3f51
mov edx, dword [esp + 0x10]
mov edi, dword [ecx + 4]
lea eax, [edi - 0x3f34]
cmp eax, 0x1f
jbe switch.0x100a1635
mov eax, 0xfffffffe
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret
mov eax, dword [esp + 0x1c]
mov ecx, edi
mov dword [eax + 0x18], str.too_many_length_or_distance_symbols
mov dword [ecx + 4], 0x3f51
jmp 0x100a1b10
mov dword [ecx + 0x6c], 0
mov edi, 0x3f46
mov dword [ecx + 4], 0x3f46
mov eax, dword [ecx + 0x6c]
mov edx, dword [ecx + 0x64]
mov dword [esp + 0x2c], eax
mov eax, dword [ecx + 0x68]
add eax, edx
cmp dword [esp + 0x2c], eax
jae 0x100a1d90
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x34]
mov edx, 1
mov ecx, dword [eax]
shl edx, cl
mov ecx, dword [esp + 0x14]
dec edx
and edx, edi
mov eax, dword [ecx + 0x50]
mov eax, dword [eax + edx*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
mov dword [esp + 0x38], eax
cmp ecx, esi
jbe 0x100a1be8
nop
test ebp, ebp
je 0x100a2545
movzx eax, byte [ebx]
mov ecx, esi
shl eax, cl
mov edx, 1
add edi, eax
inc ebx
mov eax, dword [esp + 0x34]
add esi, 8
dec ebp
mov dword [esp + 0x10], edi
mov dword [esp + 0x18], ebx
mov ecx, dword [eax]
mov eax, dword [esp + 0x14]
shl edx, cl
dec edx
and edx, edi
mov eax, dword [eax + 0x50]
mov eax, dword [eax + edx*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
mov dword [esp + 0x38], eax
cmp ecx, esi
ja 0x100a1ba0
mov ecx, eax
shr ecx, 0x10
mov edx, ecx
cmp cx, 0x10
jae 0x100a1c18
shr eax, 8
movzx ecx, al
mov eax, dword [esp + 0x2c]
sub esi, ecx
shr edi, cl
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x10], edi
mov word [ecx + eax*2 + 0x74], dx
inc dword [ecx + 0x6c]
jmp 0x100a1d74
cmp edx, 0x10
jne 0x100a1c8f
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add ecx, 2
mov dword [esp + 0x38], ecx
cmp esi, ecx
jae 0x100a1c58
test ebp, ebp
je 0x100a2545
movzx edx, byte [ebx]
mov ecx, esi
shl edx, cl
inc ebx
add edi, edx
mov dword [esp + 0x18], ebx
add esi, 8
mov dword [esp + 0x10], edi
dec ebp
cmp esi, dword [esp + 0x38]
jb 0x100a1c34
mov edx, dword [esp + 0x10]
movzx ecx, ah
shr edx, cl
sub esi, ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x10], edx
test ecx, ecx
je 0x100a1db6
mov eax, dword [esp + 0x14]
mov edi, edx
and edi, 3
shr edx, 2
add edi, 3
sub esi, 2
movzx ecx, word [eax + ecx*2 + 0x72]
jmp 0x100a1d37
cmp word [esp + 0x3a], 0x11
mov edx, dword [esp + 0x10]
movzx ecx, ah
jne 0x100a1cea
lea edi, [ecx + 3]
mov dword [esp + 0x38], ecx
cmp esi, edi
jae 0x100a1cd6
nop dword [eax]
test ebp, ebp
je 0x100a2541
movzx eax, byte [ebx]
mov ecx, esi
shl eax, cl
inc ebx
add edx, eax
mov dword [esp + 0x18], ebx
add esi, 8
mov dword [esp + 0x10], edx
dec ebp
cmp esi, edi
jb 0x100a1cb0
mov ecx, dword [esp + 0x38]
shr edx, cl
mov eax, 0xfffffffd
mov edi, edx
and edi, 7
add edi, 3
shr edx, 3
jmp 0x100a1d2d
lea edi, [ecx + 7]
mov dword [esp + 0x38], ecx
cmp esi, edi
jae 0x100a1d1b
test ebp, ebp
je 0x100a2541
movzx eax, byte [ebx]
mov ecx, esi
shl eax, cl
inc ebx
add edx, eax
mov dword [esp + 0x18], ebx
add esi, 8
mov dword [esp + 0x10], edx
dec ebp
cmp esi, edi
jb 0x100a1cf5
mov ecx, dword [esp + 0x38]
shr edx, cl
mov eax, 0xfffffff9
mov edi, edx
and edi, 0x7f
add edi, 0xb
shr edx, 7
sub eax, ecx
add esi, eax
mov eax, dword [esp + 0x14]
xor ecx, ecx
movzx ecx, cx
mov dword [esp + 0x38], ecx
mov ecx, dword [eax + 0x68]
add ecx, dword [eax + 0x64]
mov eax, dword [esp + 0x2c]
add eax, edi
mov dword [esp + 0x10], edx
cmp eax, ecx
mov ecx, dword [esp + 0x14]
ja 0x100a1dd1
mov edx, dword [esp + 0x38]
nop
mov eax, dword [ecx + 0x6c]
mov word [ecx + eax*2 + 0x74], dx
inc dword [ecx + 0x6c]
sub edi, 1
jne 0x100a1d60
mov edi, dword [esp + 0x10]
mov eax, dword [ecx + 0x6c]
mov edx, dword [ecx + 0x64]
mov dword [esp + 0x2c], eax
mov eax, dword [ecx + 0x68]
add eax, edx
cmp dword [esp + 0x2c], eax
jb 0x100a1b75
mov edi, dword [ecx + 4]
cmp edi, 0x3f51
je 0x100a1b0c
cmp word [ecx + 0x274], 0
jne 0x100a1de8
mov eax, dword [esp + 0x1c]
mov dword [eax + 0x18], str.invalid_code____missing_end_of_block
jmp 0x100a1b05
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov dword [eax + 0x18], str.invalid_bit_length_repeat
mov dword [ecx + 4], 0x3f51
jmp 0x100a1b10
mov eax, dword [esp + 0x1c]
mov dword [eax + 0x18], str.invalid_bit_length_repeat
mov dword [ecx + 4], 0x3f51
jmp 0x100a1b10
lea eax, [ecx + 0x534]
mov dword [ecx + 0x58], 9
lea edi, [ecx + 0x70]
mov dword [ecx + 0x50], eax
mov dword [edi], eax
lea eax, [ecx + 0x2f4]
push eax
lea eax, [ecx + 0x58]
push eax
push edi
push edx
lea edx, [ecx + 0x74]
mov ecx, 1
call fcn.100e6830
mov ecx, dword [esp + 0x24]
add esp, 0x10
mov dword [esp + 0x28], eax
test eax, eax
je 0x100a1e36
mov eax, dword [esp + 0x1c]
mov dword [eax + 0x18], str.invalid_literal_lengths_set
jmp 0x100a1b05
mov eax, dword [edi]
lea edx, [ecx + 0x5c]
mov dword [ecx + 0x54], eax
lea eax, [ecx + 0x2f4]
push eax
mov eax, dword [ecx + 0x64]
push edx
push edi
push dword [ecx + 0x68]
add ecx, 0x74
mov dword [edx], 6
lea edx, [ecx + eax*2]
mov ecx, 2
call fcn.100e6830
mov ecx, dword [esp + 0x24]
add esp, 0x10
mov edx, dword [esp + 0x10]
mov dword [esp + 0x28], eax
test eax, eax
je case.0x100a1635.16199
mov eax, dword [esp + 0x1c]
mov dword [eax + 0x18], str.invalid_distances_set
mov dword [ecx + 4], 0x3f51
jmp 0x100a1b10
mov dword [ecx + 4], 0x3f48
cmp ebp, 6
jb 0x100a1f14
cmp dword [esp + 0x20], 0x102
jb 0x100a1f14
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
mov dword [edi + 0xc], eax
mov eax, dword [esp + 0x20]
mov dword [edi + 0x10], eax
mov dword [edi], ebx
mov dword [edi + 4], ebp
mov dword [ecx + 0x3c], edx
mov edx, dword [esp + 0x30]
mov dword [ecx + 0x40], esi
mov ecx, edi
call fcn.100e6da0
mov ecx, dword [esp + 0x14]
mov eax, dword [edi + 0xc]
mov ebx, dword [edi]
mov ebp, dword [edi + 4]
cmp dword [ecx + 4], 0x3f3f
mov edx, dword [ecx + 0x3c]
mov esi, dword [ecx + 0x40]
mov dword [esp + 0x24], eax
mov eax, dword [edi + 0x10]
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x10], edx
jne 0x100a1b10
mov dword [ecx + 0x1bc8], 0xffffffff
jmp 0x100a1b10
mov edi, dword [ecx + 0x50]
mov eax, 1
mov dword [ecx + 0x1bc8], 0
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x38], edi
mov ecx, dword [ecx]
shl eax, cl
dec eax
and eax, edx
mov eax, dword [edi + eax*4]
mov ecx, eax
mov edi, dword [esp + 0x14]
shr ecx, 8
movzx ecx, cl
cmp ecx, esi
jbe 0x100a1f8b
test ebp, ebp
je 0x100a2541
movzx eax, byte [ebx]
mov ecx, esi
shl eax, cl
inc ebx
mov ecx, dword [edi + 0x58]
add edx, eax
mov eax, dword [edi + 0x50]
add esi, 8
mov dword [esp + 0x10], edx
dec ebp
mov edx, 1
mov dword [esp + 0x18], ebx
shl edx, cl
dec edx
and edx, dword [esp + 0x10]
mov eax, dword [eax + edx*4]
mov ecx, eax
mov edx, dword [esp + 0x10]
shr ecx, 8
movzx ecx, cl
cmp ecx, esi
ja 0x100a1f48
test al, al
je 0x100a2044
test al, 0xf0
jne 0x100a2044
mov ecx, eax
mov edi, 1
shr ecx, 8
mov edx, eax
movzx ebx, cl
movzx ecx, al
add ecx, ebx
shr eax, 0x10
shl edi, cl
mov ecx, ebx
dec edi
mov dword [esp + 0x2c], edx
and edi, dword [esp + 0x10]
shr edi, cl
mov ecx, dword [esp + 0x38]
add edi, eax
mov eax, dword [ecx + edi*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add ecx, ebx
cmp ecx, esi
jbe 0x100a202f
test ebp, ebp
je 0x100a2541
mov ebx, dword [esp + 0x18]
mov ecx, esi
mov edi, 1
add esi, 8
dec ebp
movzx eax, byte [ebx]
inc ebx
shl eax, cl
add dword [esp + 0x10], eax
movzx eax, word [esp + 0x2e]
mov dword [esp + 0x18], ebx
movzx ebx, dh
movzx ecx, dl
add ecx, ebx
shl edi, cl
mov ecx, ebx
dec edi
and edi, dword [esp + 0x10]
shr edi, cl
add edi, eax
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x50]
mov eax, dword [eax + edi*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add ecx, ebx
cmp ecx, esi
ja 0x100a1fd8
mov edi, dword [esp + 0x14]
movzx ecx, dh
mov edx, dword [esp + 0x10]
shr edx, cl
sub esi, ecx
mov dword [edi + 0x1bc8], ecx
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add dword [edi + 0x1bc8], ecx
sub esi, ecx
shr edx, cl
mov ecx, eax
shr ecx, 0x10
mov dword [edi + 0x44], ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x10], edx
test al, al
jne 0x100a207a
mov ebx, dword [esp + 0x18]
mov dword [ecx + 4], 0x3f4d
jmp 0x100a1b10
test al, 0x20
je 0x100a2098
mov ebx, dword [esp + 0x18]
mov dword [ecx + 0x1bc8], 0xffffffff
mov dword [ecx + 4], 0x3f3f
jmp 0x100a1b10
test al, 0x40
je 0x100a20b7
mov eax, dword [esp + 0x1c]
mov ebx, dword [esp + 0x18]
mov dword [eax + 0x18], str.invalid_literal_length_code
mov dword [ecx + 4], 0x3f51
jmp 0x100a1b10
movzx eax, al
and eax, 0xf
mov dword [ecx + 4], 0x3f49
mov dword [ecx + 0x4c], eax
mov ebx, dword [ecx + 0x4c]
test ebx, ebx
je 0x100a212b
cmp esi, ebx
jae 0x100a2104
mov edx, dword [esp + 0x18]
mov edi, dword [esp + 0x10]
nop word [eax + eax]
test ebp, ebp
je 0x100a2545
movzx eax, byte [edx]
mov ecx, esi
shl eax, cl
inc edx
add edi, eax
mov dword [esp + 0x18], edx
add esi, 8
mov dword [esp + 0x10], edi
dec ebp
cmp esi, ebx
jb 0x100a20e0
mov edx, edi
mov ecx, ebx
mov eax, 1
shl eax, cl
sub esi, ebx
mov ecx, dword [esp + 0x14]
dec eax
and eax, edx
add dword [ecx + 0x44], eax
mov ecx, ebx
shr edx, cl
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x10], edx
add dword [ecx + 0x1bc8], ebx
mov eax, dword [ecx + 0x44]
mov dword [ecx + 0x1bcc], eax
mov dword [ecx + 4], 0x3f4a
mov ebx, dword [ecx + 0x54]
mov eax, 1
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x38], ebx
mov ecx, dword [ecx]
shl eax, cl
dec eax
and eax, edx
mov eax, dword [ebx + eax*4]
mov ecx, eax
mov ebx, dword [esp + 0x14]
shr ecx, 8
movzx ecx, cl
cmp ecx, esi
jbe 0x100a21b3
mov edi, dword [esp + 0x10]
nop dword [eax]
test ebp, ebp
je 0x100a25b1
mov edx, dword [esp + 0x18]
mov ecx, esi
add esi, 8
dec ebp
movzx eax, byte [edx]
inc edx
shl eax, cl
mov ecx, dword [ebx + 0x5c]
add edi, eax
mov eax, dword [ebx + 0x54]
mov dword [esp + 0x18], edx
mov edx, 1
shl edx, cl
dec edx
mov dword [esp + 0x10], edi
and edx, edi
mov eax, dword [eax + edx*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, esi
ja 0x100a2170
mov edx, edi
test al, 0xf0
jne 0x100a2264
mov ecx, eax
mov edi, 1
shr ecx, 8
mov edx, eax
movzx ebx, cl
movzx ecx, al
add ecx, ebx
shr eax, 0x10
shl edi, cl
mov ecx, ebx
dec edi
mov dword [esp + 0x2c], edx
and edi, dword [esp + 0x10]
shr edi, cl
mov ecx, dword [esp + 0x38]
add edi, eax
mov eax, dword [ecx + edi*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add ecx, ebx
cmp ecx, esi
jbe 0x100a224f
test ebp, ebp
je 0x100a2541
mov ebx, dword [esp + 0x18]
mov ecx, esi
mov edi, 1
add esi, 8
dec ebp
movzx eax, byte [ebx]
inc ebx
shl eax, cl
add dword [esp + 0x10], eax
movzx eax, word [esp + 0x2e]
mov dword [esp + 0x18], ebx
movzx ebx, dh
movzx ecx, dl
add ecx, ebx
shl edi, cl
mov ecx, ebx
dec edi
and edi, dword [esp + 0x10]
shr edi, cl
add edi, eax
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x54]
mov eax, dword [eax + edi*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add ecx, ebx
cmp ecx, esi
ja 0x100a21f8
mov ebx, dword [esp + 0x14]
movzx ecx, dh
mov edx, dword [esp + 0x10]
sub esi, ecx
shr edx, cl
add dword [ebx + 0x1bc8], ecx
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add dword [ebx + 0x1bc8], ecx
sub esi, ecx
shr edx, cl
mov dword [esp + 0x10], edx
test al, 0x40
je 0x100a229d
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov dword [eax + 0x18], str.invalid_distance_code
mov dword [ecx + 4], 0x3f51
jmp 0x100a1b10
mov ecx, eax
movzx eax, al
shr ecx, 0x10
and eax, 0xf
mov dword [ebx + 0x48], ecx
mov ecx, dword [esp + 0x14]
mov dword [ecx + 0x4c], eax
mov dword [ecx + 4], 0x3f4b
mov ebx, dword [ecx + 0x4c]
test ebx, ebx
je 0x100a231b
cmp esi, ebx
jae 0x100a22f4
mov edx, dword [esp + 0x18]
mov edi, dword [esp + 0x10]
nop dword [eax]
test ebp, ebp
je 0x100a2545
movzx eax, byte [edx]
mov ecx, esi
shl eax, cl
inc edx
add edi, eax
mov dword [esp + 0x18], edx
add esi, 8
mov dword [esp + 0x10], edi
dec ebp
cmp esi, ebx
jb 0x100a22d0
mov edx, edi
mov ecx, ebx
mov eax, 1
shl eax, cl
sub esi, ebx
mov ecx, dword [esp + 0x14]
dec eax
and eax, edx
add dword [ecx + 0x48], eax
mov ecx, ebx
shr edx, cl
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x10], edx
add dword [ecx + 0x1bc8], ebx
mov dword [ecx + 4], 0x3f4c
mov eax, dword [esp + 0x20]
test eax, eax
je 0x100a252d
mov edi, dword [esp + 0x30]
sub edi, eax
mov eax, dword [ecx + 0x48]
cmp eax, edi
jbe 0x100a2395
sub eax, edi
cmp eax, dword [ecx + 0x30]
jbe 0x100a2366
cmp dword [ecx + 0x1bc4], 0
je 0x100a2366
mov eax, dword [esp + 0x1c]
mov ebx, dword [esp + 0x18]
mov dword [eax + 0x18], str.invalid_distance_too_far_back
mov dword [ecx + 4], 0x3f51
jmp 0x100a1b10
mov edi, dword [ecx + 0x34]
cmp eax, edi
jbe 0x100a2379
mov ebx, dword [ecx + 0x2c]
sub eax, edi
sub ebx, eax
add ebx, dword [ecx + 0x38]
jmp 0x100a2380
mov ebx, dword [ecx + 0x38]
sub ebx, eax
add ebx, edi
mov edi, dword [ecx + 0x44]
cmp eax, edi
mov dword [esp + 0x2c], edi
cmovbe edi, eax
mov eax, dword [ecx + 0x44]
mov dword [esp + 0x2c], edi
jmp 0x100a23a2
mov ebx, dword [esp + 0x24]
sub ebx, eax
mov eax, dword [ecx + 0x44]
mov dword [esp + 0x2c], eax
mov edx, dword [esp + 0x20]
mov edi, edx
cmp dword [esp + 0x2c], edx
cmovbe edi, dword [esp + 0x2c]
sub edx, edi
sub eax, edi
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x24]
sub ebx, edx
mov dword [ecx + 0x44], eax
mov al, byte [ebx + edx]
mov byte [edx], al
inc edx
sub edi, 1
jne 0x100a23c2
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x10]
cmp dword [ecx + 0x44], edi
jne 0x100a1b10
mov dword [ecx + 4], 0x3f48
jmp 0x100a1b10
cmp dword [esp + 0x20], 0
je 0x100a252d
mov edi, dword [esp + 0x24]
mov al, byte [ecx + 0x44]
mov byte [edi], al
inc edi
dec dword [esp + 0x20]
mov dword [esp + 0x24], edi
mov dword [ecx + 4], 0x3f48
jmp 0x100a1b10
cmp dword [ecx + 0xc], 0
je 0x100a251e
cmp esi, 0x20
jae 0x100a244d
test ebp, ebp
je 0x100a2541
movzx eax, byte [ebx]
mov ecx, esi
shl eax, cl
inc ebx
add edx, eax
mov dword [esp + 0x18], ebx
add esi, 8
mov dword [esp + 0x10], edx
dec ebp
cmp esi, 0x20
jb 0x100a2426
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x30]
sub edi, dword [esp + 0x20]
add dword [eax + 0x14], edi
add dword [ecx + 0x20], edi
mov eax, dword [ecx + 0xc]
test al, 4
je 0x100a2493
test edi, edi
je 0x100a2493
mov edx, dword [esp + 0x24]
mov ecx, dword [ecx + 0x1c]
sub edx, edi
push edi
call fcn.100de2d0
mov edi, dword [esp + 0x18]
add esp, 4
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
mov dword [edi + 0x1c], eax
mov dword [ecx + 0x30], eax
mov eax, dword [edi + 0xc]
jmp 0x100a2497
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x30], ecx
test al, 4
je 0x100a2512
mov ecx, edx
mov eax, edx
shl eax, 0x10
and ecx, 0xff00
add ecx, eax
mov eax, edx
shr eax, 8
and eax, 0xff00
shl ecx, 8
add ecx, eax
mov eax, edx
shr eax, 0x18
add ecx, eax
cmp ecx, dword [edi + 0x1c]
je 0x100a2512
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov dword [eax + 0x18], str.incorrect_data_check
mov dword [ecx + 4], 0x3f51
jmp 0x100a1b10
mov eax, dword [esp + 0x24]
mov dword [edi + 0xc], eax
mov eax, dword [esp + 0x20]
mov dword [edi + 0x10], eax
mov eax, 2
mov dword [edi], ebx
mov dword [edi + 4], ebp
pop edi
mov dword [ecx + 0x40], esi
pop esi
pop ebp
mov dword [ecx + 0x3c], edx
pop ebx
add esp, 0x34
ret
xor ecx, ecx
xor esi, esi
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x14]
mov dword [ecx + 4], 0x3f50
mov dword [esp + 0x28], 1
mov edi, dword [esp + 0x10]
jmp 0x100a2549
mov edi, dword [esp + 0x10]
mov dword [esp + 0x28], 0xfffffffd
jmp 0x100a2549
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
mov dword [ebx + 0xc], eax
mov eax, dword [esp + 0x20]
mov dword [ebx + 0x10], eax
mov eax, dword [esp + 0x18]
mov dword [ebx + 4], ebp
mov ebp, dword [esp + 0x30]
mov dword [ebx], eax
cmp dword [ecx + 0x2c], 0
mov dword [ecx + 0x3c], edi
mov dword [ecx + 0x40], esi
jne 0x100a2582
cmp ebp, dword [ebx + 0x10]
je 0x100a25b9
cmp dword [ecx + 4], 0x3f51
jge 0x100a25b9
mov edx, dword [ebx + 0xc]
mov eax, ebp
sub eax, dword [ebx + 0x10]
mov ecx, ebx
push eax
call fcn.100a1460
add esp, 4
test eax, eax
je 0x100a25b5
mov eax, dword [esp + 0x14]
mov dword [eax + 4], 0x3f52
pop edi
pop esi
pop ebp
mov eax, 0xfffffffc
pop ebx
add esp, 0x34
ret
mov ecx, ebx
jmp 0x100a2549
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x40]
sub edi, dword [ebx + 4]
sub ebp, dword [ebx + 0x10]
add dword [ebx + 8], edi
add dword [ebx + 0x14], ebp
add dword [ecx + 0x20], ebp
test byte [ecx + 0xc], 4
je 0x100a25f1
test ebp, ebp
je 0x100a25f1
mov edx, dword [ebx + 0xc]
mov ecx, dword [ecx + 0x1c]
sub edx, ebp
push ebp
call fcn.100de2d0
mov ecx, dword [esp + 0x18]
add esp, 4
mov dword [ecx + 0x1c], eax
mov dword [ebx + 0x30], eax
mov edx, dword [ecx + 4]
cmp edx, 0x3f47
je 0x100a2608
cmp edx, 0x3f42
je 0x100a2608
xor esi, esi
jmp 0x100a260d
mov esi, 0x100
mov ecx, dword [ecx + 8]
neg ecx
mov dword [esp + 0x40], 0x80
sbb ecx, ecx
xor eax, eax
and ecx, 0x40
cmp edx, 0x3f3f
cmove eax, dword [esp + 0x40]
add ecx, esi
add eax, ecx
mov ecx, dword [esp + 0x14]
add eax, dword [ecx + 0x40]
mov dword [ebx + 0x2c], eax
mov eax, dword [esp + 0x28]
test edi, edi
jne 0x100a1b27
test ebp, ebp
jne 0x100a1b27
pop edi
pop esi
test eax, eax
mov ecx, 0xfffffffb
pop ebp
cmove eax, ecx
pop ebx
add esp, 0x34
ret