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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push esi
call fcn.006b8a79
pop ecx
test eax, eax
jne case.default.0x6b72c0
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x20], eax
test eax, eax
je case.default.0x6b72c0
mov eax, dword [esi]
mov dword [ebp - 8], eax
test eax, eax
jne 0x6b725e
cmp dword [esi + 4], eax
jne case.default.0x6b72c0
mov ebx, dword [esi + 0x1c]
mov edx, 0x3f40
mov dword [ebp - 0x2c], ebx
mov ecx, dword [ebx + 4]
cmp ecx, 0x3f3f
jne 0x6b7284
mov dword [ebx + 4], edx
mov ecx, edx
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x20], eax
mov eax, dword [esi]
mov dword [ebp - 8], eax
mov eax, dword [esi + 0x10]
mov edx, dword [ebx + 0x3c]
mov edi, dword [ebx + 0x40]
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
xor eax, eax
mov dword [ebp - 0x28], eax
lea eax, [ecx - 0x3f34]
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x14], edi
cmp eax, 0x1e
ja case.default.0x6b72c0
mov dword [ebp - 0x3c], 0x10
jmp dword [eax*4 + 0x6b87d7]
mov ecx, dword [ebx + 0xc]
test ecx, ecx
jne 0x6b72da
mov dword [ebx + 4], 0x3f40
jmp 0x6b86bd
push 0x10
pop eax
cmp edi, eax
jae 0x6b7316
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x6b7b16
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 0x10], ecx
mov ecx, edi
shl eax, cl
add edi, 8
add edx, eax
mov dword [ebp - 0x14], edi
mov eax, dword [ebp - 8]
push 0x10
inc eax
mov dword [ebp - 0xc], edx
pop ecx
mov dword [ebp - 8], eax
cmp edi, ecx
jb 0x6b72e4
mov ecx, dword [ebx + 0xc]
test cl, 2
je 0x6b7374
cmp edx, 0x8b1f
jne 0x6b7374
xor edi, edi
cmp dword [ebx + 0x28], edi
jne 0x6b7331
mov dword [ebx + 0x28], 0xf
test byte [esi + 0x34], 1
jne 0x6b7360
push edi
push edi
push edi
call fcn.006bae98
mov dword [ebx + 0x1c], eax
push 0x1f
pop eax
mov byte [ebp - 0x1c], al
lea eax, [ebp - 0x1c]
push 2
push eax
mov byte [ebp - 0x1b], 0x8b
push dword [ebx + 0x1c]
call fcn.006bae98
add esp, 0x18
mov dword [ebx + 0x1c], eax
mov edx, edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0xc], edx
mov dword [ebx + 4], 0x3f35
jmp 0x6b86bd
mov eax, dword [ebx + 0x24]
test eax, eax
je 0x6b7382
or dword [eax + 0x30], 0xffffffff
mov ecx, dword [ebx + 0xc]
test cl, 1
je 0x6b7438
movzx ecx, dl
mov eax, edx
shl ecx, 8
xor edx, edx
shr eax, 8
add eax, ecx
push 0x1f
pop ecx
div ecx
test edx, edx
mov edx, dword [ebp - 0xc]
jne 0x6b7438
mov eax, edx
and al, 0xf
cmp al, 8
je 0x6b73be
mov dword [esi + 0x18], str.unknown_compression_method
jmp 0x6b86b6
mov eax, dword [ebx + 0x28]
sub edi, 4
shr edx, 4
mov ecx, edx
mov dword [ebp - 0xc], edx
and ecx, 0xf
mov dword [ebp - 0x14], edi
add ecx, 8
test eax, eax
jne 0x6b73de
mov dword [ebx + 0x28], ecx
mov eax, ecx
cmp ecx, 0xf
ja 0x6b742c
cmp ecx, eax
ja 0x6b742c
xor eax, eax
xor edi, edi
inc eax
mov dword [ebx + 0x14], edi
shl eax, cl
mov dword [ebx + 0x18], eax
test byte [esi + 0x34], 1
jne 0x6b740e
push edi
push edi
push edi
call fcn.006bac4e
mov edx, dword [ebp - 0xc]
add esp, 0xc
mov dword [ebx + 0x1c], eax
mov dword [esi + 0x30], eax
shr edx, 8
not edx
and edx, 2
or edx, 0x3f3d
mov dword [ebx + 4], edx
mov edx, edi
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x14], edi
jmp 0x6b86bd
mov dword [esi + 0x18], str.invalid_window_size
jmp 0x6b86b6
mov dword [esi + 0x18], str.incorrect_header_check
jmp 0x6b86b6
push 0x10
pop eax
cmp edi, eax
jae 0x6b747d
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x6b7b16
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 0x10], ecx
mov ecx, edi
shl eax, cl
add edi, 8
add edx, eax
mov dword [ebp - 0x14], edi
mov eax, dword [ebp - 8]
push 0x10
inc eax
mov dword [ebp - 0xc], edx
pop ecx
mov dword [ebp - 8], eax
cmp edi, ecx
jb 0x6b744e
mov dword [ebx + 0x14], edx
cmp dl, 8
jne 0x6b73b2
test edx, 0xe000
je 0x6b749d
mov dword [esi + 0x18], str.unknown_header_flags_set
jmp 0x6b86b6
mov edi, dword [ebx + 0x24]
mov ecx, edx
shr ecx, 8
test edi, edi
je 0x6b74b0
mov eax, ecx
and eax, 1
mov dword [edi], eax
test byte [esi + 0x34], 1
jne 0x6b74df
test dword [ebx + 0x14], 0x200
je 0x6b74df
test byte [ebx + 0xc], 4
je 0x6b74df
push 2
lea eax, [ebp - 0x1c]
mov byte [ebp - 0x1c], dl
push eax
mov byte [ebp - 0x1b], cl
push dword [ebx + 0x1c]
call fcn.006bae98
add esp, 0xc
mov dword [ebx + 0x1c], eax
xor eax, eax
mov dword [ebx + 4], 0x3f36
mov edx, eax
mov edi, eax
mov dword [ebp - 0xc], edx
cmp edi, 0x20
jae 0x6b7521
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x6b7b16
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 0x10], ecx
mov ecx, edi
shl eax, cl
add edi, 8
add edx, eax
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
cmp edi, 0x20
jb 0x6b74f7
mov eax, dword [ebx + 0x24]
test eax, eax
je 0x6b752b
mov dword [eax + 4], edx
test byte [esi + 0x34], 1
jne 0x6b756d
test dword [ebx + 0x14], 0x200
je 0x6b756d
test byte [ebx + 0xc], 4
je 0x6b756d
mov eax, edx
mov byte [ebp - 0x1c], dl
shr eax, 8
mov byte [ebp - 0x1b], al
mov eax, edx
shr eax, 0x10
mov byte [ebp - 0x1a], al
lea eax, [ebp - 0x1c]
push 4
shr edx, 0x18
push eax
mov byte [ebp - 0x19], dl
push dword [ebx + 0x1c]
call fcn.006bae98
add esp, 0xc
mov dword [ebx + 0x1c], eax
xor eax, eax
mov dword [ebx + 4], 0x3f37
mov edx, eax
mov edi, eax
mov dword [ebp - 0xc], edx
push 0x10
pop eax
cmp edi, eax
jae 0x6b75b3
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x6b7b16
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 0x10], ecx
mov ecx, edi
shl eax, cl
add edi, 8
add edx, eax
mov eax, dword [ebp - 8]
push 0x10
inc eax
mov dword [ebp - 0xc], edx
pop ecx
mov dword [ebp - 8], eax
cmp edi, ecx
jb 0x6b7587
mov edi, dword [ebx + 0x24]
mov ecx, edx
shr ecx, 8
test edi, edi
je 0x6b75cb
movzx eax, dl
mov dword [edi + 8], eax
mov eax, dword [ebx + 0x24]
mov dword [eax + 0xc], ecx
test byte [esi + 0x34], 1
jne 0x6b75fa
test dword [ebx + 0x14], 0x200
je 0x6b75fa
test byte [ebx + 0xc], 4
je 0x6b75fa
push 2
lea eax, [ebp - 0x1c]
mov byte [ebp - 0x1c], dl
push eax
mov byte [ebp - 0x1b], cl
push dword [ebx + 0x1c]
call fcn.006bae98
add esp, 0xc
mov dword [ebx + 0x1c], eax
xor ecx, ecx
mov dword [ebx + 4], 0x3f38
mov edx, ecx
mov edi, ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x14], edi
jmp 0x6b7611
xor ecx, ecx
test dword [ebx + 0x14], 0x400
je 0x6b769f
push 0x10
pop eax
cmp edi, eax
jae 0x6b7654
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x6b7b16
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 0x10], ecx
mov ecx, edi
shl eax, cl
add edi, 8
add edx, eax
mov eax, dword [ebp - 8]
push 0x10
inc eax
mov dword [ebp - 0xc], edx
pop ecx
mov dword [ebp - 8], eax
cmp edi, ecx
jb 0x6b7628
mov eax, dword [ebx + 0x24]
mov dword [ebx + 0x44], edx
test eax, eax
je 0x6b7661
mov dword [eax + 0x14], edx
test byte [esi + 0x34], 1
jne 0x6b7693
test dword [ebx + 0x14], 0x200
je 0x6b7693
test byte [ebx + 0xc], 4
je 0x6b7693
mov byte [ebp - 0x1c], dl
lea eax, [ebp - 0x1c]
push 2
shr edx, 8
push eax
mov byte [ebp - 0x1b], dl
push dword [ebx + 0x1c]
call fcn.006bae98
add esp, 0xc
mov dword [ebx + 0x1c], eax
xor eax, eax
mov edi, eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x14], edi
jmp 0x6b76a9
mov eax, dword [ebx + 0x24]
test eax, eax
je 0x6b76a9
mov dword [eax + 0x10], ecx
mov dword [ebx + 4], 0x3f39
test dword [ebx + 0x14], 0x400
je 0x6b7764
mov eax, dword [ebx + 0x44]
mov ecx, dword [ebp - 0x10]
cmp eax, ecx
mov edx, ecx
cmovbe edx, eax
mov dword [ebp - 0x34], edx
test edx, edx
je 0x6b775c
mov ecx, dword [ebx + 0x24]
test ecx, ecx
je 0x6b7721
mov esi, dword [ecx + 0x10]
test esi, esi
mov dword [ebp - 0x40], esi
mov esi, dword [ebp + 8]
je 0x6b7721
mov ecx, dword [ecx + 0x14]
sub ecx, eax
mov dword [ebp - 0x30], ecx
mov ecx, dword [ebx + 0x24]
mov eax, dword [ebp - 0x30]
mov ecx, dword [ecx + 0x18]
cmp eax, ecx
jae 0x6b7721
add eax, edx
cmp eax, ecx
mov eax, dword [ebp - 0x30]
jbe 0x6b770b
sub ecx, eax
jmp 0x6b770d
mov ecx, edx
add eax, dword [ebp - 0x40]
push ecx
mov ecx, dword [ebp - 8]
push ecx
push eax
call fcn.007390e0
mov edx, dword [ebp - 0x34]
add esp, 0xc
test byte [esi + 0x34], 1
jne 0x6b7748
test dword [ebx + 0x14], 0x200
je 0x6b7748
test byte [ebx + 0xc], 4
je 0x6b7748
push edx
push dword [ebp - 8]
push dword [ebx + 0x1c]
call fcn.006bae98
add esp, 0xc
mov dword [ebx + 0x1c], eax
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x10]
add dword [ebp - 8], eax
sub ecx, eax
sub dword [ebx + 0x44], eax
mov eax, dword [ebx + 0x44]
mov dword [ebp - 0x10], ecx
test eax, eax
jne 0x6b7b16
xor edx, edx
mov dword [ebx + 4], 0x3f3a
mov dword [ebx + 0x44], edx
jmp 0x6b7774
xor edx, edx
test dword [ebx + 0x14], 0x800
je 0x6b7810
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x6b7b16
mov eax, edx
mov esi, ecx
mov edx, dword [ebp - 8]
mov cl, byte [eax + edx]
inc eax
mov byte [ebp - 1], cl
mov ecx, dword [ebx + 0x24]
mov dword [ebp - 0x34], eax
test ecx, ecx
je 0x6b77c4
cmp dword [ecx + 0x1c], 0
je 0x6b77c1
mov edx, dword [ebx + 0x44]
cmp edx, dword [ecx + 0x20]
jae 0x6b77c1
mov ecx, dword [ecx + 0x1c]
mov al, byte [ebp - 1]
mov byte [edx + ecx], al
inc dword [ebx + 0x44]
mov eax, dword [ebp - 0x34]
mov edx, dword [ebp - 8]
cmp byte [ebp - 1], 0
je 0x6b77ce
cmp eax, esi
jb 0x6b7793
mov esi, dword [ebp + 8]
test byte [esi + 0x34], 1
jne 0x6b77f9
test dword [ebx + 0x14], 0x200
je 0x6b77f9
test byte [ebx + 0xc], 4
je 0x6b77f9
push eax
push edx
push dword [ebx + 0x1c]
call fcn.006bae98
mov dword [ebx + 0x1c], eax
add esp, 0xc
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x10]
add dword [ebp - 8], eax
sub ecx, eax
cmp byte [ebp - 1], 0
mov dword [ebp - 0x10], ecx
jne 0x6b7b16
jmp 0x6b781a
mov eax, dword [ebx + 0x24]
test eax, eax
je 0x6b781a
mov dword [eax + 0x1c], edx
xor edx, edx
mov dword [ebx + 4], 0x3f3b
mov dword [ebx + 0x44], edx
jmp 0x6b782a
xor edx, edx
test dword [ebx + 0x14], 0x1000
je 0x6b78c6
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x6b7b16
mov eax, edx
mov esi, ecx
mov edx, dword [ebp - 8]
mov cl, byte [eax + edx]
inc eax
mov byte [ebp - 1], cl
mov ecx, dword [ebx + 0x24]
mov dword [ebp - 0x34], eax
test ecx, ecx
je 0x6b787a
cmp dword [ecx + 0x24], 0
je 0x6b7877
mov edx, dword [ebx + 0x44]
cmp edx, dword [ecx + 0x28]
jae 0x6b7877
mov ecx, dword [ecx + 0x24]
mov al, byte [ebp - 1]
mov byte [edx + ecx], al
inc dword [ebx + 0x44]
mov eax, dword [ebp - 0x34]
mov edx, dword [ebp - 8]
cmp byte [ebp - 1], 0
je 0x6b7884
cmp eax, esi
jb 0x6b7849
mov esi, dword [ebp + 8]
test byte [esi + 0x34], 1
jne 0x6b78af
test dword [ebx + 0x14], 0x200
je 0x6b78af
test byte [ebx + 0xc], 4
je 0x6b78af
push eax
push edx
push dword [ebx + 0x1c]
call fcn.006bae98
mov dword [ebx + 0x1c], eax
add esp, 0xc
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x10]
add dword [ebp - 8], eax
sub ecx, eax
cmp byte [ebp - 1], 0
mov dword [ebp - 0x10], ecx
jne 0x6b7b16
jmp 0x6b78d0
mov eax, dword [ebx + 0x24]
test eax, eax
je 0x6b78d0
mov dword [eax + 0x24], edx
mov edx, dword [ebp - 0xc]
mov dword [ebx + 4], 0x3f3c
mov ecx, dword [ebx + 0x14]
test ecx, 0x200
je 0x6b794d
push 0x10
pop eax
cmp edi, eax
jae 0x6b7921
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x6b7b16
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 0x10], ecx
mov ecx, edi
shl eax, cl
add edi, 8
add edx, eax
mov dword [ebp - 0x14], edi
mov eax, dword [ebp - 8]
push 0x10
inc eax
mov dword [ebp - 0xc], edx
pop ecx
mov dword [ebp - 8], eax
cmp edi, ecx
jb 0x6b78ef
mov ecx, dword [ebx + 0x14]
test byte [esi + 0x34], 1
jne 0x6b7941
test byte [ebx + 0xc], 4
je 0x6b7941
movzx eax, word [ebx + 0x1c]
cmp edx, eax
je 0x6b7941
mov dword [esi + 0x18], str.header_crc_mismatch
jmp 0x6b86b6
xor eax, eax
mov edx, eax
mov edi, eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x14], edi
mov eax, dword [ebx + 0x24]
test eax, eax
je 0x6b7967
sar ecx, 9
and ecx, 1
mov dword [eax + 0x2c], ecx
mov eax, dword [ebx + 0x24]
mov dword [eax + 0x30], 1
test byte [esi + 0x34], 1
jne 0x6b7983
xor eax, eax
push eax
push eax
push eax
call fcn.006bae98
mov edx, dword [ebp - 0xc]
add esp, 0xc
mov dword [ebx + 0x1c], eax
mov dword [esi + 0x30], eax
mov dword [ebx + 4], 0x3f3f
jmp 0x6b86bd
cmp edi, 0x20
jae 0x6b79c1
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x6b7b16
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 0x10], ecx
mov ecx, edi
shl eax, cl
add edi, 8
add edx, eax
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
cmp edi, 0x20
jb 0x6b7997
test byte [esi + 0x34], 1
jne 0x6b79ee
mov ecx, edx
mov edi, 0xff00
mov eax, edx
and ecx, edi
shl eax, 0x10
add ecx, eax
mov eax, edx
shr eax, 8
shl ecx, 8
and eax, edi
add eax, ecx
shr edx, 0x18
add eax, edx
mov dword [ebx + 0x1c], eax
mov dword [esi + 0x30], eax
xor eax, eax
mov dword [ebx + 4], 0x3f3e
mov edx, eax
mov edi, eax
mov dword [ebp - 0xc], edx
jmp 0x6b7a02
xor eax, eax
cmp dword [ebx + 0x10], eax
je 0x6b86d7
test byte [esi + 0x34], 1
jne 0x6b7a22
push eax
push eax
push eax
call fcn.006bac4e
mov dword [ebx + 0x1c], eax
add esp, 0xc
mov dword [esi + 0x30], eax
mov edx, dword [ebp - 0xc]
mov dword [ebx + 4], 0x3f3f
cmp dword [ebp + 0xc], 5
je 0x6b7b13
cmp dword [ebp + 0xc], 6
je 0x6b7b13
cmp dword [ebx + 8], 0
je 0x6b7a61
mov ecx, edi
mov dword [ebx + 4], 0x3f4e
and ecx, 7
shr edx, cl
sub edi, ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x14], edi
jmp 0x6b86bd
cmp edi, 3
jae 0x6b7a93
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x6b7b16
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 0x10], ecx
mov ecx, edi
shl eax, cl
add edi, 8
add edx, eax
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
cmp edi, 3
jb 0x6b7a69
mov eax, edx
shr edx, 1
and eax, 1
mov dword [ebx + 8], eax
mov eax, edx
and eax, 3
sub eax, 0
je 0x6b7b8f
sub eax, 1
je 0x6b7add
sub eax, 1
je 0x6b7ad1
sub eax, 1
jne 0x6b7b96
mov dword [esi + 0x18], str.invalid_block_type
mov dword [ebx + 4], 0x3f51
jmp 0x6b7b96
mov dword [ebx + 4], 0x3f44
jmp 0x6b7b96
cmp dword [ebp + 0xc], 6
mov dword [ebx + 0x50], 0x879018
mov dword [ebx + 0x58], 9
mov dword [ebx + 0x54], 0x879818
mov dword [ebx + 0x5c], 5
mov dword [ebx + 4], 0x3f47
jne 0x6b7b96
shr edx, 2
sub edi, 3
mov dword [ebp - 0xc], edx
mov ecx, dword [ebp - 0x10]
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x24]
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0x18]
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 8]
mov dword [esi + 4], ecx
mov ecx, dword [ebp - 0xc]
mov dword [esi], eax
mov dword [ebx + 0x40], edi
xor edi, edi
mov dword [ebx + 0x3c], ecx
cmp dword [ebx + 0x2c], edi
jne 0x6b7b69
cmp edx, dword [esi + 0x10]
je 0x6b871f
cmp dword [ebx + 4], 0x3f51
jge 0x6b871f
cmp dword [ebx + 4], 0x3f4e
jl 0x6b7b69
cmp dword [ebp + 0xc], 4
je 0x6b871f
sub edx, dword [esi + 0x10]
push edx
push dword [esi + 0xc]
push esi
call fcn.006b8ab0
add esp, 0xc
test eax, eax
je 0x6b871c
mov dword [ebx + 4], 0x3f52
push 0xfffffffffffffffc
jmp 0x6b86d1
mov dword [ebx + 4], 0x3f41
shr edx, 2
sub edi, 3
jmp 0x6b7421
mov ecx, edi
and ecx, 7
sub edi, ecx
shr edx, cl
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x14], edi
cmp edi, 0x20
jae 0x6b7be5
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x6b7b16
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 0x10], ecx
mov ecx, edi
shl eax, cl
add edi, 8
add edx, eax
mov dword [ebp - 0x14], edi
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
cmp edi, 0x20
jb 0x6b7bb8
mov eax, edx
movzx ecx, dx
not eax
shr eax, 0x10
cmp ecx, eax
je 0x6b7bff
mov dword [esi + 0x18], str.invalid_stored_block_lengths
jmp 0x6b86b6
xor eax, eax
mov dword [ebx + 0x44], ecx
cmp dword [ebp + 0xc], 6
mov edx, eax
mov edi, eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x14], edi
mov dword [ebx + 4], 0x3f42
je 0x6b7b13
mov dword [ebx + 4], 0x3f43
mov ecx, dword [ebx + 0x44]
test ecx, ecx
je 0x6b7983
mov eax, dword [ebp - 0x10]
cmp ecx, eax
cmovbe eax, ecx
mov ecx, dword [ebp - 0x18]
cmp eax, ecx
cmovbe ecx, eax
mov dword [ebp - 0x40], ecx
test ecx, ecx
je 0x6b7b13
push ecx
push dword [ebp - 8]
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.007390e0
mov eax, dword [ebp - 0x40]
add esp, 0xc
sub dword [ebp - 0x10], eax
add dword [ebp - 8], eax
sub dword [ebp - 0x18], eax
add dword [ebp - 0x20], eax
sub dword [ebx + 0x44], eax
mov edx, dword [ebp - 0xc]
jmp 0x6b86bd
cmp edi, 0xe
jae 0x6b7ca8
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x6b7b16
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 0x10], ecx
mov ecx, edi
shl eax, cl
add edi, 8
add edx, eax
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
cmp edi, 0xe
jb 0x6b7c7e
mov eax, edx
sub edi, 0xe
shr edx, 5
push 0x1f
pop ecx
and ecx, eax
mov dword [ebp - 0x14], edi
mov eax, edx
add ecx, 0x101
and eax, 0x1f
shr edx, 5
inc eax
mov dword [ebx + 0x64], ecx
mov dword [ebp - 0x40], eax
mov dword [ebx + 0x68], eax
mov eax, edx
and eax, 0xf
shr edx, 4
add eax, 4
mov dword [ebp - 0xc], edx
mov dword [ebx + 0x60], eax
cmp ecx, 0x11e
ja 0x6b7cfc
cmp dword [ebp - 0x40], 0x1e
ja 0x6b7cfc
and dword [ebx + 0x6c], 0
mov dword [ebx + 4], 0x3f45
jmp case.0x6b72c0.16197
mov dword [esi + 0x18], str.too_many_length_or_distance_symbols
jmp 0x6b86b6
cmp edi, 3
jae 0x6b7d3a
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x6b7b16
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 0x10], ecx
mov ecx, edi
shl eax, cl
add edi, 8
add edx, eax
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
cmp edi, 3
jb 0x6b7d10
mov eax, dword [ebx + 0x6c]
mov ecx, edx
and ecx, 7
shr edx, 3
mov dword [ebp - 0xc], edx
movzx eax, word [eax*2 + 0x879898]
mov word [ebx + eax*2 + 0x74], cx
inc dword [ebx + 0x6c]
sub edi, 3
mov dword [ebp - 0x14], edi
mov eax, dword [ebx + 0x6c]
cmp eax, dword [ebx + 0x60]
jb 0x6b7d08
cmp eax, 0x13
jae 0x6b7d86
mov eax, dword [ebx + 0x6c]
xor ecx, ecx
movzx eax, word [eax*2 + 0x879898]
mov word [ebx + eax*2 + 0x74], cx
inc dword [ebx + 0x6c]
cmp dword [ebx + 0x6c], 0x13
jb 0x6b7d6b
lea eax, [ebx + 0x534]
lea edx, [ebx + 0x70]
mov dword [ebx + 0x50], eax
mov dword [edx], eax
lea ecx, [ebx + 0x58]
lea eax, [ebx + 0x2f4]
mov dword [ecx], 7
push eax
push ecx
push edx
push 0x13
lea eax, [ebx + 0x74]
push eax
push 0
call fcn.006bb196
mov edx, dword [ebp - 0xc]
add esp, 0x18
mov dword [ebp - 0x28], eax
test eax, eax
je 0x6b7dcc
mov dword [esi + 0x18], str.invalid_code_lengths_set
jmp 0x6b86b6
and dword [ebx + 0x6c], 0
mov eax, 0x3f46
mov dword [ebx + 4], eax
mov ecx, eax
mov eax, dword [ebx + 0x68]
add eax, dword [ebx + 0x64]
cmp dword [ebx + 0x6c], eax
jae 0x6b7fdf
mov ecx, dword [ebx + 0x58]
xor eax, eax
inc eax
shl eax, cl
dec eax
mov dword [ebp - 0x40], eax
jmp 0x6b7e1e
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x6b7b16
mov eax, dword [ebp - 8]
dec ecx
mov dword [ebp - 0x10], ecx
mov ecx, edi
movzx eax, byte [eax]
shl eax, cl
add edx, eax
inc dword [ebp - 8]
mov eax, dword [ebp - 0x40]
add edi, 8
mov dword [ebp - 0xc], edx
mov ecx, dword [ebx + 0x50]
and eax, edx
mov eax, dword [ecx + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
mov dword [ebp - 0x34], eax
cmp ecx, edi
ja 0x6b7df7
mov ecx, eax
shr ecx, 0x10
mov dword [ebp - 0x40], ecx
cmp cx, word [ebp - 0x3c]
jae 0x6b7e69
shr eax, 8
movzx ecx, al
mov eax, dword [ebx + 0x6c]
sub edi, ecx
shr edx, cl
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0xc], edx
mov word [ebx + eax*2 + 0x74], cx
inc dword [ebx + 0x6c]
mov ecx, dword [ebx + 0x6c]
mov dword [ebp - 0x14], edi
jmp 0x6b7fb1
jne 0x6b7edd
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add ecx, 2
mov dword [ebp - 0x40], ecx
cmp edi, ecx
jae 0x6b7ea7
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x6b7b16
dec ecx
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 8]
movzx edx, byte [ecx]
mov ecx, edi
shl edx, cl
add edi, 8
add dword [ebp - 0xc], edx
inc dword [ebp - 8]
cmp edi, dword [ebp - 0x40]
jb 0x6b7e7d
mov edx, dword [ebp - 0xc]
movzx ecx, ah
mov eax, dword [ebx + 0x6c]
sub edi, ecx
shr edx, cl
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x14], edi
test eax, eax
je 0x6b7fc4
movzx eax, word [ebx + eax*2 + 0x72]
mov ecx, edx
and ecx, 3
shr edx, 2
add ecx, 3
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], ecx
sub edi, 2
jmp 0x6b7f79
cmp word [ebp - 0x32], 0x11
movzx ecx, ah
jne 0x6b7f2b
mov dword [ebp - 0x40], ecx
jmp 0x6b7f13
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x6b7b16
mov eax, dword [ebp - 8]
dec ecx
mov dword [ebp - 0x10], ecx
mov ecx, edi
movzx eax, byte [eax]
shl eax, cl
mov ecx, dword [ebp - 0x40]
add edx, eax
inc dword [ebp - 8]
add edi, 8
mov dword [ebp - 0xc], edx
lea eax, [ecx + 3]
cmp edi, eax
jb 0x6b7eec
shr edx, cl
mov eax, edx
and eax, 7
add eax, 3
shr edx, 3
push 0xfffffffffffffffd
jmp 0x6b7f6d
mov dword [ebp - 0x40], ecx
jmp 0x6b7f57
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x6b7b16
mov eax, dword [ebp - 8]
dec ecx
mov dword [ebp - 0x10], ecx
mov ecx, edi
movzx eax, byte [eax]
shl eax, cl
mov ecx, dword [ebp - 0x40]
add edx, eax
inc dword [ebp - 8]
add edi, 8
mov dword [ebp - 0xc], edx
lea eax, [ecx + 7]
cmp edi, eax
jb 0x6b7f30
shr edx, cl
mov eax, edx
and eax, 0x7f
add eax, 0xb
shr edx, 7
push 0xfffffffffffffff9
mov dword [ebp - 0x30], eax
pop eax
sub eax, ecx
add edi, eax
and dword [ebp - 0x34], 0
mov ecx, dword [ebx + 0x6c]
mov eax, dword [ebx + 0x68]
add ecx, dword [ebp - 0x30]
add eax, dword [ebx + 0x64]
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x14], edi
cmp ecx, eax
ja 0x6b7fd0
mov esi, dword [ebp - 0x30]
mov edx, dword [ebp - 0x34]
mov eax, dword [ebx + 0x6c]
mov word [ebx + eax*2 + 0x74], dx
mov ecx, dword [ebx + 0x6c]
lea ecx, [ecx + 1]
mov dword [ebx + 0x6c], ecx
sub esi, 1
jne 0x6b7f95
mov edx, dword [ebp - 0xc]
mov esi, dword [ebp + 8]
mov eax, dword [ebx + 0x68]
add eax, dword [ebx + 0x64]
cmp ecx, eax
jb 0x6b7de9
mov ecx, dword [ebx + 4]
jmp 0x6b7fdf
mov dword [esi + 0x18], str.invalid_bit_length_repeat
jmp 0x6b86b6
mov ecx, 0x3f51
mov dword [esi + 0x18], str.invalid_bit_length_repeat
mov dword [ebx + 4], ecx
cmp ecx, 0x3f51
je 0x6b86bd
xor eax, eax
cmp word [ebx + 0x274], ax
jne 0x6b8002
mov dword [esi + 0x18], str.invalid_code____missing_end_of_block
jmp 0x6b86b6
lea eax, [ebx + 0x534]
lea ecx, [ebx + 0x70]
mov dword [ebx + 0x50], eax
mov dword [ecx], eax
lea edx, [ebx + 0x2f4]
push edx
lea eax, [ebx + 0x58]
push eax
push ecx
push dword [ebx + 0x64]
mov dword [eax], 9
lea eax, [ebx + 0x74]
push eax
push 1
call fcn.006bb196
add esp, 0x18
mov dword [ebp - 0x28], eax
test eax, eax
je 0x6b8049
mov dword [esi + 0x18], str.invalid_literal_lengths_set
mov edx, dword [ebp - 0xc]
jmp 0x6b86b6
lea ecx, [ebx + 0x70]
mov eax, dword [ecx]
lea edx, [ebx + 0x2f4]
mov dword [ebx + 0x54], eax
lea eax, [ebx + 0x5c]
push edx
push eax
mov dword [eax], 6
mov eax, dword [ebx + 0x64]
push ecx
push dword [ebx + 0x68]
add eax, 0x3a
lea eax, [ebx + eax*2]
push eax
push 2
call fcn.006bb196
add esp, 0x18
mov dword [ebp - 0x28], eax
test eax, eax
je 0x6b808a
mov dword [esi + 0x18], str.invalid_distances_set
jmp 0x6b8041
cmp dword [ebp + 0xc], 6
mov dword [ebx + 4], 0x3f47
je 0x6b7b13
mov edx, dword [ebp - 0xc]
mov dword [ebx + 4], 0x3f48
mov eax, dword [ebp - 0x10]
cmp eax, 6
jb 0x6b8117
cmp dword [ebp - 0x18], 0x102
jb 0x6b8117
mov ecx, dword [ebp - 0x20]
push dword [ebp - 0x24]
mov dword [esi + 0xc], ecx
mov ecx, dword [ebp - 0x18]
mov dword [esi + 0x10], ecx
mov ecx, dword [ebp - 8]
mov dword [esi], ecx
mov dword [esi + 4], eax
push esi
mov dword [ebx + 0x3c], edx
mov dword [ebx + 0x40], edi
call fcn.006bb570
cmp dword [ebx + 4], 0x3f3f
mov eax, dword [esi + 0xc]
mov edx, dword [ebx + 0x3c]
mov edi, dword [ebx + 0x40]
mov dword [ebp - 0x20], eax
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [esi]
pop ecx
mov dword [ebp - 8], eax
mov eax, dword [esi + 4]
pop ecx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x14], edi
jne 0x6b86bd
or dword [ebx + 0x1bc8], 0xffffffff
jmp 0x6b86bd
mov ecx, dword [ebx + 0x58]
xor eax, eax
and dword [ebx + 0x1bc8], 0
inc eax
shl eax, cl
mov ecx, dword [ebx + 0x50]
dec eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x30], ecx
jmp 0x6b815f
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x6b7b16
mov eax, dword [ebp - 8]
dec ecx
mov dword [ebp - 0x10], ecx
mov ecx, edi
movzx eax, byte [eax]
shl eax, cl
mov ecx, dword [ebx + 0x50]
add edx, eax
inc dword [ebp - 8]
add edi, 8
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x14], edi
and eax, edx
mov eax, dword [ecx + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, edi
ja 0x6b8132
test al, al
je 0x6b8230
test al, 0xf0
jne 0x6b8230
xor edi, edi
movzx ecx, al
mov ebx, eax
inc edi
shr ebx, 8
mov edx, eax
movzx esi, bl
add ecx, esi
shr eax, 0x10
shl edi, cl
mov ecx, esi
dec edi
mov dword [ebp - 0x34], edx
and edi, dword [ebp - 0xc]
shr edi, cl
mov ecx, dword [ebp - 0x30]
add edi, eax
mov eax, dword [ecx + edi*4]
mov ecx, eax
mov edi, dword [ebp - 0x14]
shr ecx, 8
movzx esi, cl
movzx ecx, bl
add esi, ecx
cmp esi, edi
jbe 0x6b821a
mov ebx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x6b8714
mov esi, dword [ebp - 8]
dec ecx
mov dword [ebp - 0x10], ecx
mov ecx, edi
add edi, 8
mov dword [ebp - 0x14], edi
movzx eax, byte [esi]
shl eax, cl
add ebx, eax
movzx edi, dh
movzx eax, word [ebp - 0x32]
inc esi
mov dword [ebp - 8], esi
xor esi, esi
inc esi
movzx ecx, dl
add ecx, edi
mov dword [ebp - 0xc], ebx
shl esi, cl
mov ecx, edi
dec esi
and esi, ebx
shr esi, cl
add esi, eax
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + esi*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add ecx, edi
mov edi, dword [ebp - 0x14]
cmp ecx, edi
ja 0x6b81c1
mov ebx, dword [ebp - 0x2c]
mov esi, dword [ebp + 8]
movzx ecx, dh
mov edx, dword [ebp - 0xc]
shr edx, cl
sub edi, ecx
mov dword [ebx + 0x1bc8], ecx
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add dword [ebx + 0x1bc8], ecx
sub edi, ecx
shr edx, cl
mov ecx, eax
shr ecx, 0x10
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x14], edi
mov dword [ebx + 0x44], ecx
test al, al
jne 0x6b8260
mov dword [ebx + 4], 0x3f4d
jmp 0x6b86bd
test al, 0x20
je 0x6b8270
or dword [ebx + 0x1bc8], 0xffffffff
jmp 0x6b7983
test al, 0x40
je 0x6b8280
mov dword [esi + 0x18], str.invalid_literal_length_code
jmp 0x6b86b6
movzx eax, al
and eax, 0xf
mov dword [ebx + 4], 0x3f49
mov dword [ebx + 0x4c], eax
mov esi, dword [ebx + 0x4c]
test esi, esi
je 0x6b82e4
cmp edi, esi
jae 0x6b82c7
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x6b7b16
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 0x10], ecx
mov ecx, edi
shl eax, cl
add edi, 8
add edx, eax
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
cmp edi, esi
jb 0x6b829e
xor eax, eax
mov ecx, esi
inc eax
sub edi, esi
shl eax, cl
dec eax
mov dword [ebp - 0x14], edi
and eax, edx
shr edx, cl
add dword [ebx + 0x44], eax
add dword [ebx + 0x1bc8], esi
mov dword [ebp - 0xc], edx
mov eax, dword [ebx + 0x44]
mov dword [ebx + 0x1bcc], eax
mov dword [ebx + 4], 0x3f4a
mov ecx, dword [ebx + 0x5c]
xor eax, eax
lea esi, [eax + 1]
shl esi, cl
mov ecx, dword [ebx + 0x54]
mov dword [ebp - 0x30], ecx
jmp 0x6b8330
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x6b7b16
mov eax, dword [ebp - 8]
dec ecx
mov dword [ebp - 0x10], ecx
mov ecx, edi
movzx eax, byte [eax]
shl eax, cl
mov ecx, dword [ebx + 0x54]
add edx, eax
inc dword [ebp - 8]
add edi, 8
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x14], edi
lea eax, [esi - 1]
and eax, edx
mov eax, dword [ecx + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, edi
ja 0x6b8306
test al, 0xf0
jne 0x6b83f9
xor edi, edi
movzx ecx, al
mov ebx, eax
inc edi
shr ebx, 8
mov edx, eax
movzx esi, bl
add ecx, esi
shr eax, 0x10
shl edi, cl
mov ecx, esi
dec edi
mov dword [ebp - 0x34], edx
and edi, dword [ebp - 0xc]
shr edi, cl
mov ecx, dword [ebp - 0x30]
add edi, eax
mov eax, dword [ecx + edi*4]
mov ecx, eax
mov edi, dword [ebp - 0x14]
shr ecx, 8
movzx esi, cl
movzx ecx, bl
add esi, ecx
cmp esi, edi
jbe 0x6b83e6
mov ebx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x6b8714
mov esi, dword [ebp - 8]
dec ecx
mov dword [ebp - 0x10], ecx
mov ecx, edi
add edi, 8
mov dword [ebp - 0x14], edi
movzx eax, byte [esi]
shl eax, cl
add ebx, eax
movzx edi, dh
movzx eax, word [ebp - 0x32]
inc esi
mov dword [ebp - 8], esi
xor esi, esi
inc esi
movzx ecx, dl
add ecx, edi
mov dword [ebp - 0xc], ebx
shl esi, cl
mov ecx, edi
dec esi
and esi, ebx
shr esi, cl
add esi, eax
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + esi*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add ecx, edi
mov edi, dword [ebp - 0x14]
cmp ecx, edi
ja 0x6b838d
mov ebx, dword [ebp - 0x2c]
movzx ecx, dh
mov edx, dword [ebp - 0xc]
sub edi, ecx
shr edx, cl
add dword [ebx + 0x1bc8], ecx
mov esi, dword [ebp + 8]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add dword [ebx + 0x1bc8], ecx
sub edi, ecx
shr edx, cl
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x14], edi
test al, 0x40
je 0x6b8424
mov dword [esi + 0x18], str.invalid_distance_code
jmp 0x6b86b6
mov ecx, eax
mov dword [ebx + 4], 0x3f4b
shr ecx, 0x10
movzx eax, al
and eax, 0xf
mov dword [ebx + 0x48], ecx
mov dword [ebx + 0x4c], eax
mov ecx, dword [ebx + 0x4c]
test ecx, ecx
je 0x6b8491
cmp edi, ecx
jae 0x6b8476
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x6b7b16
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 0x10], ecx
mov ecx, edi
shl eax, cl
add edi, 8
mov ecx, dword [ebx + 0x4c]
add edx, eax
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
cmp edi, ecx
jb 0x6b844a
xor eax, eax
sub edi, ecx
inc eax
mov dword [ebp - 0x14], edi
shl eax, cl
dec eax
and eax, edx
shr edx, cl
add dword [ebx + 0x48], eax
add dword [ebx + 0x1bc8], ecx
mov dword [ebp - 0xc], edx
mov dword [ebx + 4], 0x3f4c
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x6b7b13
mov ecx, dword [ebp - 0x24]
sub ecx, eax
mov eax, dword [ebx + 0x48]
cmp eax, ecx
jbe 0x6b84fb
sub eax, ecx
cmp eax, dword [ebx + 0x30]
jbe 0x6b84cb
cmp dword [ebx + 0x1bc4], 0
je 0x6b84cb
mov dword [esi + 0x18], str.invalid_distance_too_far_back
jmp 0x6b86b6
cmp eax, dword [ebx + 0x34]
jbe 0x6b84dd
sub eax, dword [ebx + 0x34]
mov ecx, dword [ebx + 0x2c]
sub ecx, eax
add ecx, dword [ebx + 0x38]
jmp 0x6b84e5
mov ecx, dword [ebx + 0x38]
sub ecx, eax
add ecx, dword [ebx + 0x34]
mov esi, dword [ebx + 0x44]
cmp eax, esi
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x30], esi
cmovbe esi, eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x30], esi
jmp 0x6b8506
mov ecx, dword [ebp - 0x20]
sub ecx, eax
mov eax, dword [ebx + 0x44]
mov dword [ebp - 0x30], eax
mov esi, dword [ebp - 0x18]
mov ebx, esi
cmp dword [ebp - 0x30], ebx
cmovbe esi, dword [ebp - 0x30]
sub ebx, esi
sub eax, esi
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x2c]
mov dword [ebx + 0x44], eax
mov ebx, dword [ebp - 0x20]
sub ecx, ebx
mov al, byte [ecx + ebx]
mov byte [ebx], al
inc ebx
sub esi, 1
jne 0x6b8524
mov esi, dword [ebp + 8]
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x2c]
cmp dword [ebx + 0x44], 0
jne 0x6b86bd
mov dword [ebx + 4], 0x3f48
jmp 0x6b86bd
cmp dword [ebp - 0x18], 0
je 0x6b7b13
mov ecx, dword [ebp - 0x20]
mov al, byte [ebx + 0x44]
mov byte [ecx], al
inc ecx
dec dword [ebp - 0x18]
mov dword [ebp - 0x20], ecx
jmp 0x6b8542
cmp dword [ebx + 0xc], 0
je 0x6b8651
cmp edi, 0x20
jae 0x6b85a8
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x6b7b16
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 0x10], ecx
mov ecx, edi
shl eax, cl
add edi, 8
add edx, eax
mov dword [ebp - 0x14], edi
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
cmp edi, 0x20
jb 0x6b857b
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x18]
add dword [esi + 0x14], eax
add dword [ebx + 0x20], eax
mov ecx, dword [ebx + 0xc]
mov dword [ebp - 0x24], eax
mov eax, ecx
test cl, 4
je 0x6b85fb
cmp dword [ebp - 0x24], 0
je 0x6b85fb
test byte [esi + 0x34], 1
jne 0x6b85fb
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
sub eax, ecx
cmp dword [ebx + 0x14], 0
push ecx
push eax
push dword [ebx + 0x1c]
je 0x6b85e7
call fcn.006bae98
jmp 0x6b85ec
call fcn.006bac4e
mov edx, dword [ebp - 0xc]
add esp, 0xc
mov dword [ebx + 0x1c], eax
mov dword [esi + 0x30], eax
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x24], ecx
test al, 4
je 0x6b8645
test byte [esi + 0x34], 1
jne 0x6b8645
mov ecx, edx
mov eax, edx
shl eax, 0x10
and ecx, 0xff00
add ecx, eax
mov eax, edx
shr eax, 8
shl ecx, 8
and eax, 0xff00
add ecx, eax
mov eax, edx
shr eax, 0x18
add ecx, eax
cmp dword [ebx + 0x14], 0
cmovne ecx, edx
cmp ecx, dword [ebx + 0x1c]
je 0x6b8645
mov dword [esi + 0x18], str.incorrect_data_check
jmp 0x6b86b6
xor ecx, ecx
mov edx, ecx
mov edi, ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x14], edi
mov dword [ebx + 4], 0x3f4f
cmp dword [ebx + 0xc], 0
je 0x6b86fd
xor eax, eax
cmp dword [ebx + 0x14], eax
je 0x6b86fd
cmp edi, 0x20
jae 0x6b86a4
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x6b7b16
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 0x10], ecx
mov ecx, edi
shl eax, cl
add edi, 8
add edx, eax
mov dword [ebp - 0x14], edi
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
cmp edi, 0x20
jb 0x6b8675
xor eax, eax
test byte [ebx + 0xc], 4
je 0x6b86f8
cmp edx, dword [ebx + 0x20]
je 0x6b86f8
mov dword [esi + 0x18], str.incorrect_length_check
mov dword [ebx + 4], 0x3f51
mov ecx, dword [ebx + 4]
lea eax, [ecx - 0x3f34]
cmp eax, 0x1e
jbe switch.0x006b72c0
push 0xfffffffffffffffe
pop eax
pop edi
pop esi
pop ebx
leave
ret
mov eax, dword [ebp - 0x20]
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0x18]
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 8]
mov dword [esi], eax
mov eax, dword [ebp - 0x10]
mov dword [esi + 4], eax
mov dword [ebx + 0x3c], edx
mov dword [ebx + 0x40], edi
push 2
jmp 0x6b86d1
mov dword [ebp - 0xc], eax
mov edi, eax
mov dword [ebx + 4], 0x3f50
xor eax, eax
inc eax
mov dword [ebp - 0x28], eax
jmp 0x6b7b13
push 0xfffffffffffffffd
pop eax
jmp 0x6b8707
mov ebx, dword [ebp - 0x2c]
jmp 0x6b7b16
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x38]
sub eax, dword [esi + 4]
sub edx, dword [esi + 0x10]
add dword [esi + 8], eax
add dword [esi + 0x14], edx
add dword [ebx + 0x20], edx
test byte [ebx + 0xc], 4
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x24], edx
je 0x6b876e
test edx, edx
je 0x6b876e
test byte [esi + 0x34], 1
jne 0x6b876e
mov eax, dword [esi + 0xc]
sub eax, edx
push edx
push eax
push dword [ebx + 0x1c]
cmp dword [ebx + 0x14], edi
je 0x6b875d
call fcn.006bae98
jmp 0x6b8762
call fcn.006bac4e
mov edx, dword [ebp - 0x24]
add esp, 0xc
mov dword [ebx + 0x1c], eax
mov dword [esi + 0x30], eax
cmp dword [ebx + 4], 0x3f47
je 0x6b8780
cmp dword [ebx + 4], 0x3f42
jne 0x6b8785
mov edi, 0x100
mov ecx, dword [ebx + 8]
neg ecx
mov dword [ebp - 0x40], 0x80
sbb ecx, ecx
xor eax, eax
and ecx, 0x40
cmp dword [ebx + 4], 0x3f3f
cmove eax, dword [ebp - 0x40]
add ecx, eax
add ecx, dword [ebx + 0x40]
add ecx, edi
cmp dword [ebp - 0x38], 0
mov dword [esi + 0x2c], ecx
jne 0x6b87b7
test edx, edx
je 0x6b87bd
cmp dword [ebp + 0xc], 4
jne 0x6b87cd
mov eax, dword [ebp - 0x28]
test eax, eax
push 0xfffffffffffffffb
pop ecx
cmove eax, ecx
jmp 0x6b86d2
mov eax, dword [ebp - 0x28]
jmp 0x6b86d2