Function at 0x14001f690
Capabilities:
Compress data via zlib inflate or deflate
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x10], edx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x50
mov r15d, edx
mov r14, rcx
call fcn.140021394
xor r11d, r11d
test eax, eax
jne case.default.0x14001f75a
mov r9, qword [rcx + 0x10]
mov qword [rbp - 8], r9
test r9, r9
je case.default.0x14001f75a
mov r13, qword [rcx]
mov qword [rbp - 0x10], r13
test r13, r13
jne 0x14001f6e8
cmp dword [rcx + 8], r11d
jne case.default.0x14001f75a
mov rbx, qword [rcx + 0x28]
mov eax, 0x3f40
mov edx, dword [rbx + 8]
cmp edx, 0x3f3f
jne 0x14001f710
mov dword [rbx + 8], eax
mov edx, eax
mov r9, qword [rcx + 0x10]
mov r13, qword [rcx]
mov qword [rbp - 8], r9
mov qword [rbp - 0x10], r13
mov r10d, dword [rcx + 0x18]
lea eax, [rdx - 0x3f34]
mov r12d, dword [rcx + 8]
mov r8d, r10d
mov esi, dword [rbx + 0x48]
mov edi, dword [rbx + 0x4c]
mov dword [rbp - 0x20], r10d
mov dword [rbp - 0x14], r12d
mov dword [rbp + 0x50], r10d
mov dword [rbp + 0x58], r11d
cmp eax, 0x1e
ja case.default.0x14001f75a
cdqe
lea rcx, [0x140000000]
mov ecx, dword [rcx + rax*4 + 0x20be8]
lea rax, [0x140000000]
add rcx, rax
jmp rcx
mov edx, dword [rbx + 0x10]
test edx, edx
jne 0x14001f773
mov dword [rbx + 8], 0x3f40
jmp 0x14002004e
mov r8d, 0x10
jmp 0x14001f79c
test r12d, r12d
je 0x14001fc42
movzx eax, byte [r13]
mov ecx, edi
shl eax, cl
inc r13
add esi, eax
mov qword [rbp - 0x10], r13
dec r12d
add edi, 8
cmp edi, r8d
jb 0x14001f77b
test dl, 2
je 0x14001f7f6
cmp esi, 0x8b1f
jne 0x14001f7f6
cmp dword [rbx + 0x30], r11d
jne 0x14001f7bb
mov dword [rbx + 0x30], 0xf
mov r8d, 2
mov dword [rbx + 0x20], r11d
lea rdx, [rbp - 0x1c]
mov word [rbp - 0x1c], 0x8b1f
xor ecx, ecx
call fcn.140025490
mov dword [rbx + 0x20], eax
mov dword [rbx + 8], 0x3f35
xor r11d, r11d
mov edi, r11d
mov esi, r11d
mov r9, qword [rbp - 8]
mov r10d, dword [rbp - 0x20]
jmp 0x14002004e
mov rax, qword [rbx + 0x28]
mov dword [rbx + 0x18], r11d
test rax, rax
je 0x14001f80a
or dword [rax + 0x40], 0xffffffff
mov edx, dword [rbx + 0x10]
test dl, 1
je 0x14001f8aa
movzx ecx, sil
mov eax, esi
shr eax, 8
shl ecx, 8
add ecx, eax
mov eax, 0x8421085
mul ecx
mov eax, ecx
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 4
imul eax, eax, 0x1f
cmp ecx, eax
jne 0x14001f8aa
mov eax, esi
and al, 0xf
cmp al, 8
je 0x14001f84b
lea rax, str.unknown_compression_method
jmp 0x14001f8b1
mov eax, dword [rbx + 0x30]
add edi, 0xfffffffc
shr esi, 4
mov ecx, esi
and ecx, 0xf
add ecx, 8
test eax, eax
jne 0x14001f865
mov dword [rbx + 0x30], ecx
mov eax, ecx
cmp ecx, 0xf
ja 0x14001f8a1
cmp ecx, eax
ja 0x14001f8a1
mov eax, 1
xor r8d, r8d
shl eax, cl
xor edx, edx
xor ecx, ecx
mov dword [rbx + 0x1c], eax
call sym.MsSense.exe_adler32_z
shr esi, 8
not esi
mov dword [rbx + 0x20], eax
and esi, 2
mov dword [r14 + 0x4c], eax
or esi, 0x3f3d
mov dword [rbx + 8], esi
jmp 0x14001f7e0
lea rax, str.invalid_window_size
jmp 0x14001f8b1
lea rax, str.incorrect_header_check
mov qword [r14 + 0x20], rax
mov dword [rbx + 8], 0x3f51
jmp 0x14002004e
mov r8d, 0x10
jmp 0x14001f8ea
test r12d, r12d
je 0x14001fc42
movzx eax, byte [r13]
mov ecx, edi
shl eax, cl
inc r13
add esi, eax
mov qword [rbp - 0x10], r13
dec r12d
add edi, 8
cmp edi, r8d
jb 0x14001f8c9
mov dword [rbx + 0x18], esi
cmp sil, 8
jne 0x14001f842
test esi, 0xe000
je 0x14001f90d
lea rax, str.unknown_header_flags_set
jmp 0x14001f8b1
mov rdx, qword [rbx + 0x28]
mov ecx, esi
shr ecx, 8
mov eax, esi
test rdx, rdx
je 0x14001f927
mov eax, ecx
and eax, 1
mov dword [rdx], eax
mov eax, dword [rbx + 0x18]
bt eax, 9
jae 0x14001f952
test byte [rbx + 0x10], 4
je 0x14001f952
mov byte [rbp - 0x1b], cl
lea rdx, [rbp - 0x1c]
mov ecx, dword [rbx + 0x20]
mov r8d, 2
mov byte [rbp - 0x1c], sil
call fcn.140025490
mov dword [rbx + 0x20], eax
xor r11d, r11d
mov esi, r11d
mov dword [rbx + 8], 0x3f36
mov edi, r11d
jmp case.0x14001f75a.16182
test r12d, r12d
je 0x14001fc42
movzx eax, byte [r13]
mov ecx, edi
shl eax, cl
inc r13
add esi, eax
mov qword [rbp - 0x10], r13
dec r12d
add edi, 8
cmp edi, 0x20
jb 0x14001f961
mov rax, qword [rbx + 0x28]
test rax, rax
je 0x14001f993
mov dword [rax + 4], esi
test dword [rbx + 0x18], 0x200
je 0x14001f9d5
test byte [rbx + 0x10], 4
je 0x14001f9d5
mov ecx, dword [rbx + 0x20]
lea rdx, [rbp - 0x1c]
mov eax, esi
mov byte [rbp - 0x1c], sil
shr eax, 8
mov r8d, 4
mov byte [rbp - 0x1b], al
mov eax, esi
shr eax, 0x10
shr esi, 0x18
mov byte [rbp - 0x1a], al
mov byte [rbp - 0x19], sil
call fcn.140025490
mov dword [rbx + 0x20], eax
xor r11d, r11d
mov esi, r11d
mov dword [rbx + 8], 0x3f37
mov edi, r11d
mov r15d, 0x10
jmp 0x14001fa0b
test r12d, r12d
je 0x14001fc42
movzx eax, byte [r13]
mov ecx, edi
shl eax, cl
inc r13
add esi, eax
mov qword [rbp - 0x10], r13
dec r12d
add edi, 8
cmp edi, r15d
jb 0x14001f9ea
mov rdx, qword [rbx + 0x28]
mov ecx, esi
shr ecx, 8
test rdx, rdx
je 0x14001fa2c
movzx eax, sil
mov dword [rdx + 8], eax
mov rax, qword [rbx + 0x28]
mov dword [rax + 0xc], ecx
test dword [rbx + 0x18], 0x200
je 0x14001fa5a
test byte [rbx + 0x10], 4
je 0x14001fa5a
mov byte [rbp - 0x1b], cl
lea rdx, [rbp - 0x1c]
mov ecx, dword [rbx + 0x20]
mov r8d, 2
mov byte [rbp - 0x1c], sil
call fcn.140025490
mov dword [rbx + 0x20], eax
xor r11d, r11d
mov esi, r11d
mov dword [rbx + 8], 0x3f38
mov edi, r11d
jmp 0x14001fa6f
mov r15d, 0x10
test dword [rbx + 0x18], 0x400
jne 0x14001fb07
mov rax, qword [rbx + 0x28]
test rax, rax
je 0x14001fa89
mov qword [rax + 0x10], r11
mov dword [rbx + 8], 0x3f39
mov ecx, dword [rbx + 0x18]
bt ecx, 0xa
jae 0x14001fbaf
mov eax, dword [rbx + 0x50]
mov r15d, r12d
cmp eax, r12d
cmovbe r15d, eax
test r15d, r15d
je 0x14001fba7
mov r8, qword [rbx + 0x28]
mov r13d, eax
test r8, r8
je 0x14001fb73
mov r9, qword [r8 + 0x10]
test r9, r9
je 0x14001fb73
mov edx, dword [r8 + 0x18]
mov ecx, dword [r8 + 0x1c]
sub edx, eax
lea eax, [r15 + rdx]
cmp eax, ecx
jbe 0x14001fb58
sub ecx, edx
jmp 0x14001fb5b
test r12d, r12d
je 0x14001fc42
movzx eax, byte [r13]
mov ecx, edi
shl eax, cl
inc r13
add esi, eax
mov qword [rbp - 0x10], r13
dec r12d
add edi, 8
cmp edi, r15d
jb 0x14001fae6
mov rax, qword [rbx + 0x28]
mov dword [rbx + 0x50], esi
test rax, rax
je 0x14001fb1b
mov dword [rax + 0x18], esi
test dword [rbx + 0x18], 0x200
je 0x14001fb4d
test byte [rbx + 0x10], 4
je 0x14001fb4d
mov ecx, dword [rbx + 0x20]
lea rdx, [rbp - 0x1c]
mov byte [rbp - 0x1c], sil
mov r8d, 2
shr esi, 8
mov byte [rbp - 0x1b], sil
call fcn.140025490
mov dword [rbx + 0x20], eax
xor r11d, r11d
mov esi, r11d
mov edi, r11d
jmp 0x14001fa89
mov ecx, r15d
mov r8d, ecx
mov ecx, edx
mov rdx, qword [rbp - 0x10]
add rcx, r9
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
mov ecx, dword [rbx + 0x18]
mov r13d, dword [rbx + 0x50]
bt ecx, 9
jae 0x14001fb91
test byte [rbx + 0x10], 4
je 0x14001fb91
mov rdx, qword [rbp - 0x10]
mov ecx, dword [rbx + 0x20]
mov r8d, r15d
call sym.MsSense.exe_crc32_z
mov dword [rbx + 0x20], eax
mov eax, r15d
sub r12d, r15d
add qword [rbp - 0x10], rax
mov eax, r13d
sub eax, r15d
mov dword [rbx + 0x50], eax
xor r11d, r11d
test eax, eax
jne 0x14001fc42
mov dword [rbx + 0x50], r11d
mov dword [rbx + 8], 0x3f3a
test dword [rbx + 0x18], 0x800
je 0x14001fccb
test r12d, r12d
je 0x14001fc42
mov rcx, qword [rbp - 0x10]
mov r15d, r11d
mov eax, r15d
inc r15d
mov r13b, byte [rax + rcx]
mov rax, qword [rbx + 0x28]
test rax, rax
je 0x14001fc02
mov rdx, qword [rax + 0x20]
test rdx, rdx
je 0x14001fc02
mov ecx, dword [rbx + 0x50]
cmp ecx, dword [rax + 0x28]
jae 0x14001fbfe
mov byte [rcx + rdx], r13b
inc dword [rbx + 0x50]
mov rcx, qword [rbp - 0x10]
test r13b, r13b
je 0x14001fc0c
cmp r15d, r12d
jb 0x14001fbd3
test dword [rbx + 0x18], 0x200
je 0x14001fc2f
test byte [rbx + 0x10], 4
je 0x14001fc2f
mov rdx, rcx
mov r8d, r15d
mov ecx, dword [rbx + 0x20]
call sym.MsSense.exe_crc32_z
mov dword [rbx + 0x20], eax
xor r11d, r11d
mov eax, r15d
sub r12d, r15d
add qword [rbp - 0x10], rax
test r13b, r13b
je 0x14001fcd8
mov r15d, dword [rbp + 0x50]
mov r13d, dword [rbp + 0x58]
mov edx, dword [rbp + 0x48]
mov eax, dword [rbp - 0x20]
mov rcx, qword [rbp - 8]
mov dword [r14 + 0x18], eax
mov rax, qword [rbp - 0x10]
mov qword [r14], rax
mov qword [r14 + 0x10], rcx
mov dword [r14 + 8], r12d
mov dword [rbx + 0x48], esi
mov dword [rbx + 0x4c], edi
cmp dword [rbx + 0x34], r11d
jne 0x14001fc9c
cmp r15d, dword [r14 + 0x18]
je 0x140020b10
cmp dword [rbx + 8], 0x3f51
jge 0x140020b10
cmp dword [rbx + 8], 0x3f4e
jl 0x14001fc9c
cmp edx, 4
je 0x140020b10
mov rdx, qword [r14 + 0x10]
mov r8d, r15d
sub r8d, dword [r14 + 0x18]
mov rcx, r14
call fcn.140021618
xor r11d, r11d
test eax, eax
je 0x140020b10
mov dword [rbx + 8], 0x3f52
mov eax, 0xfffffffc
jmp 0x140020bce
mov rax, qword [rbx + 0x28]
test rax, rax
je 0x14001fcd8
mov qword [rax + 0x20], r11
mov dword [rbx + 0x50], r11d
mov dword [rbx + 8], 0x3f3b
test dword [rbx + 0x18], 0x1000
je 0x14001fd71
test r12d, r12d
je 0x14001fc42
mov rcx, qword [rbp - 0x10]
mov r15d, r11d
mov eax, r15d
inc r15d
mov r13b, byte [rax + rcx]
mov rax, qword [rbx + 0x28]
test rax, rax
je 0x14001fd2f
mov rdx, qword [rax + 0x30]
test rdx, rdx
je 0x14001fd2f
mov ecx, dword [rbx + 0x50]
cmp ecx, dword [rax + 0x38]
jae 0x14001fd2b
mov byte [rcx + rdx], r13b
inc dword [rbx + 0x50]
mov rcx, qword [rbp - 0x10]
test r13b, r13b
je 0x14001fd39
cmp r15d, r12d
jb 0x14001fd00
test dword [rbx + 0x18], 0x200
je 0x14001fd5c
test byte [rbx + 0x10], 4
je 0x14001fd5c
mov rdx, rcx
mov r8d, r15d
mov ecx, dword [rbx + 0x20]
call sym.MsSense.exe_crc32_z
mov dword [rbx + 0x20], eax
xor r11d, r11d
mov eax, r15d
sub r12d, r15d
add qword [rbp - 0x10], rax
test r13b, r13b
jne 0x14001fc42
jmp 0x14001fd7e
mov rax, qword [rbx + 0x28]
test rax, rax
je 0x14001fd7e
mov qword [rax + 0x30], r11
mov r10d, dword [rbp - 0x20]
mov dword [rbx + 8], 0x3f3c
mov edx, dword [rbx + 0x18]
bt edx, 9
jae 0x14001fdfa
mov r8d, 0x10
cmp edi, r8d
jae 0x14001fdc7
mov r13, qword [rbp - 0x10]
test r12d, r12d
je 0x14001fc42
movzx eax, byte [r13]
mov ecx, edi
shl eax, cl
inc r13
add esi, eax
mov qword [rbp - 0x10], r13
dec r12d
add edi, 8
cmp edi, r8d
jb 0x14001fda1
test byte [rbx + 0x10], 4
je 0x14001fdf4
movzx eax, word [rbx + 0x20]
cmp esi, eax
je 0x14001fdf4
lea rax, str.header_crc_mismatch
mov qword [r14 + 0x20], rax
mov dword [rbx + 8], 0x3f51
mov r13, qword [rbp - 0x10]
mov r9, qword [rbp - 8]
jmp 0x14002004e
mov esi, r11d
mov edi, r11d
mov rax, qword [rbx + 0x28]
test rax, rax
je 0x14001fe17
sar edx, 9
and edx, 1
mov dword [rax + 0x3c], edx
mov rax, qword [rbx + 0x28]
mov dword [rax + 0x40], 1
mov dword [rbx + 0x20], r11d
mov dword [r14 + 0x4c], r11d
mov dword [rbx + 8], 0x3f3f
jmp 0x14001fde7
test r12d, r12d
je 0x14001fc42
movzx eax, byte [r13]
mov ecx, edi
shl eax, cl
inc r13
add esi, eax
mov qword [rbp - 0x10], r13
dec r12d
add edi, 8
cmp edi, 0x20
jb 0x14001fe28
mov ecx, esi
mov eax, esi
shl eax, 0x10
mov edx, 0xff00
and ecx, edx
mov edi, r11d
add ecx, eax
mov eax, esi
shr eax, 8
and eax, edx
shl ecx, 8
shr esi, 0x18
add eax, ecx
add eax, esi
mov esi, r11d
mov dword [rbx + 0x20], eax
mov dword [r14 + 0x4c], eax
mov dword [rbx + 8], 0x3f3e
cmp dword [rbx + 0x14], r11d
je 0x140020abb
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call sym.MsSense.exe_adler32_z
mov r10d, dword [rbp - 0x20]
xor r11d, r11d
mov dword [rbx + 0x20], eax
mov dword [r14 + 0x4c], eax
mov dword [rbx + 8], 0x3f3f
lea eax, [r15 - 5]
cmp eax, 1
jbe 0x14001fc42
cmp dword [rbx + 0xc], r11d
je 0x14001fef7
mov ecx, edi
mov dword [rbx + 8], 0x3f4e
and ecx, 7
shr esi, cl
sub edi, ecx
jmp 0x14001fdeb
test r12d, r12d
je 0x14001fc42
movzx eax, byte [r13]
mov ecx, edi
shl eax, cl
inc r13
add esi, eax
mov qword [rbp - 0x10], r13
dec r12d
add edi, 8
cmp edi, 3
jb 0x14001fed6
mov eax, esi
shr esi, 1
and eax, 1
mov dword [rbx + 0xc], eax
mov eax, esi
and eax, 3
je 0x14001ff75
sub eax, 1
je 0x14001ff39
sub eax, 1
je 0x14001ff30
cmp eax, 1
jne 0x14001ff7c
lea rax, str.invalid_block_type
mov qword [r14 + 0x20], rax
mov dword [rbx + 8], 0x3f51
jmp 0x14001ff7c
mov dword [rbx + 8], 0x3f44
jmp 0x14001ff7c
mov dword [rbx + 0x70], 9
lea rax, [0x140033480]
mov qword [rbx + 0x60], rax
lea rax, [0x140033cb0]
mov qword [rbx + 0x68], rax
mov dword [rbx + 0x74], 5
mov dword [rbx + 8], 0x3f47
cmp r15d, 6
jne 0x14001ff7c
shr esi, 2
add edi, 0xfffffffd
jmp 0x14001fc42
mov dword [rbx + 8], 0x3f41
shr esi, 2
add edi, 0xfffffffd
jmp 0x14001fdeb
mov ecx, edi
and ecx, 7
shr esi, cl
sub edi, ecx
jmp 0x14001ffb3
test r12d, r12d
je 0x14001fc42
movzx eax, byte [r13]
mov ecx, edi
shl eax, cl
inc r13
add esi, eax
mov qword [rbp - 0x10], r13
dec r12d
add edi, 8
cmp edi, 0x20
jb 0x14001ff92
mov eax, esi
movzx ecx, si
not eax
shr eax, 0x10
cmp ecx, eax
je 0x14001ffd2
lea rax, str.invalid_stored_block_lengths
jmp 0x14001f8b1
mov dword [rbx + 0x50], ecx
mov esi, r11d
mov dword [rbx + 8], 0x3f42
mov edi, r11d
cmp r15d, 6
je 0x14001fc42
mov dword [rbx + 8], 0x3f43
mov ecx, dword [rbx + 0x50]
test ecx, ecx
je 0x14002006d
cmp ecx, r12d
mov eax, r12d
mov r15d, r10d
cmovbe eax, ecx
cmp eax, r10d
cmovbe r15d, eax
test r15d, r15d
je 0x14001fc42
mov r8d, r15d
mov rdx, r13
mov rcx, r9
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
mov r10d, dword [rbp - 0x20]
sub r12d, r15d
mov r9, qword [rbp - 8]
sub r10d, r15d
mov eax, r15d
add r13, rax
mov dword [rbp - 0x20], r10d
add r9, rax
mov qword [rbp - 0x10], r13
sub dword [rbx + 0x50], r15d
mov qword [rbp - 8], r9
xor r11d, r11d
mov edx, dword [rbx + 8]
lea eax, [rdx - 0x3f34]
cmp eax, 0x1e
ja case.default.0x14001f75a
mov r8d, dword [rbp + 0x50]
mov r15d, dword [rbp + 0x48]
jmp 0x14001f740
mov dword [rbx + 8], 0x3f3f
jmp 0x14002004e
test r12d, r12d
je 0x14001fc42
movzx eax, byte [r13]
mov ecx, edi
shl eax, cl
inc r13
add esi, eax
mov qword [rbp - 0x10], r13
dec r12d
add edi, 8
cmp edi, 0xe
jb 0x140020076
mov ecx, esi
add edi, 0xfffffff2
shr esi, 5
and ecx, 0x1f
mov edx, esi
add ecx, 0x101
shr esi, 5
and edx, 0x1f
mov eax, esi
mov dword [rbx + 0x7c], ecx
and eax, 0xf
shr esi, 4
add eax, 4
inc edx
mov dword [rbx + 0x80], edx
mov dword [rbx + 0x78], eax
cmp ecx, 0x11e
ja 0x14002019b
cmp edx, 0x1e
ja 0x14002019b
mov dword [rbx + 0x84], r11d
mov dword [rbx + 8], 0x3f45
mov edx, 7
lea r8, [0x140000000]
mov eax, dword [rbx + 0x84]
cmp eax, dword [rbx + 0x78]
jb 0x1400201c8
cmp eax, 0x13
jae 0x140020138
mov eax, dword [rbx + 0x84]
movzx eax, word [r8 + rax*2 + 0x33c80]
mov word [rbx + rax*2 + 0x90], r11w
inc dword [rbx + 0x84]
cmp dword [rbx + 0x84], 0x13
jb 0x140020111
lea rcx, [rbx + 0x70]
lea rax, [rbx + 0x550]
mov dword [rcx], edx
lea r9, [rbx + 0x88]
mov qword [rbx + 0x60], rax
mov qword [r9], rax
lea rdx, [rbx + 0x90]
lea rax, [rbx + 0x310]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
xor ecx, ecx
lea r8d, [rcx + 0x13]
call fcn.140024ab0
mov r10d, dword [rbp - 0x20]
xor r11d, r11d
mov dword [rbp + 0x58], eax
test eax, eax
je 0x1400201fb
lea rax, str.invalid_code_lengths_set
mov qword [r14 + 0x20], rax
mov dword [rbx + 8], 0x3f51
jmp 0x14001fdeb
lea rax, str.too_many_length_or_distance_symbols
jmp 0x14001f8b1
test r12d, r12d
je 0x14001fc42
movzx eax, byte [r13]
mov ecx, edi
shl eax, cl
inc r13
add esi, eax
mov qword [rbp - 0x10], r13
dec r12d
add edi, 8
cmp edi, 3
jb 0x1400201a7
mov eax, dword [rbx + 0x84]
movzx ecx, si
and cx, dx
shr esi, 3
movzx eax, word [r8 + rax*2 + 0x33c80]
mov word [rbx + rax*2 + 0x90], cx
inc dword [rbx + 0x84]
add edi, 0xfffffffd
jmp 0x1400200fd
mov eax, 0x3f46
mov dword [rbx + 0x84], r11d
mov dword [rbx + 8], eax
mov edx, eax
mov eax, dword [rbx + 0x80]
add eax, dword [rbx + 0x7c]
cmp dword [rbx + 0x84], eax
jae 0x140020435
mov ecx, dword [rbx + 0x70]
mov edx, 1
mov r8, qword [rbx + 0x60]
shl edx, cl
dec edx
mov eax, esi
mov ecx, edx
and rcx, rax
mov eax, dword [r8 + rcx*4]
mov ecx, eax
shr ecx, 8
or r15d, 0xffffffff
movzx ecx, cl
mov dword [rbp - 0x18], eax
cmp ecx, edi
jbe 0x140020282
test r12d, r12d
je 0x14001fc42
movzx eax, byte [r13]
mov ecx, edi
shl eax, cl
inc r13
add esi, eax
mov qword [rbp - 0x10], r13
mov eax, edx
add r12d, r15d
mov ecx, esi
add edi, 8
and rcx, rax
mov eax, dword [r8 + rcx*4]
mov ecx, eax
shr ecx, 8
jmp 0x140020245
mov edx, eax
mov r8d, 0x10
shr edx, 0x10
cmp dx, r8w
jae 0x1400202bc
shr eax, 8
movzx ecx, al
mov eax, dword [rbx + 0x84]
sub edi, ecx
shr esi, cl
mov word [rbx + rax*2 + 0x90], dx
inc dword [rbx + 0x84]
mov ecx, dword [rbx + 0x84]
jmp 0x1400203fc
jne 0x140020325
shr eax, 8
movzx edx, al
add edx, 2
jmp 0x1400202ea
test r12d, r12d
je 0x14001fc42
movzx eax, byte [r13]
mov ecx, edi
shl eax, cl
inc r13
add esi, eax
mov qword [rbp - 0x10], r13
add r12d, r15d
add edi, 8
cmp edi, edx
jb 0x1400202c9
movzx ecx, byte [rbp - 0x17]
mov eax, dword [rbx + 0x84]
sub edi, ecx
shr esi, cl
test eax, eax
je 0x140020412
mov r8d, esi
add edi, 0xfffffffe
and r8d, 3
shr esi, 2
add r8d, 3
dec eax
movzx r9d, word [rbx + rax*2 + 0x90]
jmp 0x1400203c3
cmp word [rbp - 0x16], 0x11
movzx edx, byte [rbp - 0x17]
jne 0x140020378
lea r8d, [rdx + 3]
jmp 0x140020357
test r12d, r12d
je 0x14001fc42
movzx eax, byte [r13]
mov ecx, edi
shl eax, cl
inc r13
add esi, eax
mov qword [rbp - 0x10], r13
add r12d, r15d
add edi, 8
cmp edi, r8d
jb 0x140020336
mov ecx, edx
mov eax, 0xfffffffd
shr esi, cl
mov r9d, r11d
mov r8d, esi
and r8d, 7
add r8d, 3
shr esi, 3
jmp 0x1400203bf
lea r8d, [rdx + 7]
jmp 0x14002039f
test r12d, r12d
je 0x14001fc42
movzx eax, byte [r13]
mov ecx, edi
shl eax, cl
inc r13
add esi, eax
mov qword [rbp - 0x10], r13
add r12d, r15d
add edi, 8
cmp edi, r8d
jb 0x14002037e
mov ecx, edx
mov eax, 0xfffffff9
shr esi, cl
movzx r9d, r11w
mov r8d, esi
and r8d, 0x7f
add r8d, 0xb
shr esi, 7
sub eax, edx
add edi, eax
mov edx, dword [rbx + 0x80]
mov ecx, dword [rbx + 0x84]
add edx, dword [rbx + 0x7c]
add ecx, r8d
cmp ecx, edx
ja 0x14002041e
mov eax, dword [rbx + 0x84]
mov word [rbx + rax*2 + 0x90], r9w
mov ecx, dword [rbx + 0x84]
lea ecx, [rcx + 1]
mov dword [rbx + 0x84], ecx
add r8d, r15d
jne 0x1400203d9
mov eax, dword [rbx + 0x80]
add eax, dword [rbx + 0x7c]
cmp ecx, eax
jb 0x140020221
mov edx, dword [rbx + 8]
jmp 0x140020435
lea rax, str.invalid_bit_length_repeat
jmp 0x14002018b
lea rax, str.invalid_bit_length_repeat
mov edx, 0x3f51
mov qword [r14 + 0x20], rax
mov dword [rbx + 8], 0x3f51
cmp edx, 0x3f51
je 0x14001fdeb
cmp word [rbx + 0x290], r11w
jne 0x140020457
lea rax, str.invalid_code____missing_end_of_block
jmp 0x14002018b
mov r8d, dword [rbx + 0x7c]
lea rax, [rbx + 0x550]
lea r15, [rbx + 0x88]
mov qword [rbx + 0x60], rax
mov qword [r15], rax
lea r13, [rbx + 0x310]
lea rax, [rbx + 0x70]
mov qword [rsp + 0x28], r13
lea rdx, [rbx + 0x90]
mov dword [rax], 9
mov r9, r15
mov qword [rsp + 0x20], rax
mov ecx, 1
call fcn.140024ab0
xor r11d, r11d
mov dword [rbp + 0x58], eax
test eax, eax
je 0x1400204c4
lea rax, str.invalid_literal_lengths_set
mov r13, qword [rbp - 0x10]
mov qword [r14 + 0x20], rax
mov dword [rbx + 8], 0x3f51
jmp 0x14001f7e9
mov rax, qword [r15]
lea rcx, [rbx + 0x74]
mov r8d, dword [rbx + 0x80]
mov r9, r15
mov qword [rbx + 0x68], rax
mov eax, dword [rbx + 0x7c]
add rax, 0x48
mov dword [rcx], 6
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], rcx
mov ecx, 2
lea rdx, [rbx + rax*2]
call fcn.140024ab0
xor r11d, r11d
mov dword [rbp + 0x58], eax
mov r13d, eax
test eax, eax
je 0x140020514
lea rax, str.invalid_distances_set
jmp 0x1400204b0
mov edx, dword [rbp + 0x48]
mov dword [rbx + 8], 0x3f47
cmp edx, 6
je 0x140020b07
mov r8d, dword [rbp + 0x50]
mov r10d, dword [rbp - 0x20]
mov dword [rbx + 8], 0x3f48
cmp r12d, 6
jb 0x1400205a7
cmp r10d, 0x102
jb 0x1400205a7
mov rcx, qword [rbp - 8]
mov edx, r8d
mov rax, qword [rbp - 0x10]
mov qword [r14 + 0x10], rcx
mov rcx, r14
mov dword [r14 + 0x18], r10d
mov qword [r14], rax
mov dword [r14 + 8], r12d
mov dword [rbx + 0x48], esi
mov dword [rbx + 0x4c], edi
call fcn.140024f38
cmp dword [rbx + 8], 0x3f3f
mov r9, qword [r14 + 0x10]
mov r13, qword [r14]
mov r10d, dword [r14 + 0x18]
mov r12d, dword [r14 + 8]
mov esi, dword [rbx + 0x48]
mov edi, dword [rbx + 0x4c]
mov qword [rbp - 8], r9
mov dword [rbp - 0x20], r10d
mov qword [rbp - 0x10], r13
jne 0x14002004b
or dword [rbx + 0x1be4], 0xffffffff
jmp 0x14002004b
mov ecx, dword [rbx + 0x70]
mov edx, 1
mov r10, qword [rbx + 0x60]
mov r13, qword [rbp - 0x10]
shl edx, cl
dec edx
mov dword [rbx + 0x1be4], r11d
mov ecx, edx
mov eax, esi
and rcx, rax
mov eax, dword [r10 + rcx*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, edi
jbe 0x140020600
test r12d, r12d
je 0x14001fc42
movzx eax, byte [r13]
mov ecx, edi
shl eax, cl
inc r13
add esi, eax
mov qword [rbp - 0x10], r13
dec r12d
mov ecx, esi
add edi, 8
mov eax, edx
jmp 0x1400205c6
test al, al
je 0x140020691
test al, 0xf0
jne 0x140020691
mov ecx, eax
mov dword [rbp - 0x18], eax
shr ecx, 8
mov edx, eax
movzx r9d, cl
movzx ecx, al
shr eax, 0x10
jmp 0x140020653
test r12d, r12d
je 0x14001fc42
movzx eax, byte [r13]
mov ecx, edi
movzx r9d, byte [rbp - 0x17]
inc r13
shl eax, cl
dec r12d
add esi, eax
mov qword [rbp - 0x10], r13
movzx eax, word [rbp - 0x16]
add edi, 8
movzx ecx, dl
add ecx, r9d
mov r8d, 1
shl r8d, cl
mov ecx, r9d
dec r8d
and r8d, esi
shr r8d, cl
add r8d, eax
mov eax, dword [r10 + r8*4]
mov ecx, eax
shr ecx, 8
movzx r8d, cl
add r8d, r9d
cmp r8d, edi
ja 0x140020626
movzx ecx, byte [rbp - 0x17]
shr esi, cl
sub edi, ecx
mov dword [rbx + 0x1be4], ecx
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add dword [rbx + 0x1be4], ecx
sub edi, ecx
shr esi, cl
mov ecx, eax
shr ecx, 0x10
mov dword [rbx + 0x50], ecx
test al, al
jne 0x1400206bb
mov dword [rbx + 8], 0x3f4d
jmp 0x14001f7e9
test al, 0x20
je 0x1400206d2
or dword [rbx + 0x1be4], 0xffffffff
mov dword [rbx + 8], 0x3f3f
jmp 0x14001f7e9
test al, 0x40
je 0x1400206ed
lea rax, str.invalid_literal_length_code
mov qword [r14 + 0x20], rax
mov dword [rbx + 8], 0x3f51
jmp 0x14001f7e9
movzx ecx, al
and ecx, 0xf
mov dword [rbx + 8], 0x3f49
mov dword [rbx + 0x58], ecx
mov edx, dword [rbx + 0x58]
test edx, edx
je 0x14002074b
cmp edi, edx
jae 0x140020731
mov r13, qword [rbp - 0x10]
test r12d, r12d
je 0x14001fc42
movzx eax, byte [r13]
mov ecx, edi
shl eax, cl
inc r13
add esi, eax
mov qword [rbp - 0x10], r13
dec r12d
add edi, 8
cmp edi, edx
jb 0x14002070c
mov ecx, edx
mov eax, 1
shl eax, cl
sub edi, edx
dec eax
and eax, esi
shr esi, cl
add dword [rbx + 0x50], eax
add dword [rbx + 0x1be4], edx
mov eax, dword [rbx + 0x50]
mov dword [rbx + 0x1be8], eax
mov dword [rbx + 8], 0x3f4a
mov ecx, dword [rbx + 0x74]
mov edx, 1
mov r10, qword [rbx + 0x68]
mov r13, qword [rbp - 0x10]
shl edx, cl
dec edx
mov eax, esi
mov ecx, edx
and rcx, rax
mov eax, dword [r10 + rcx*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, edi
jbe 0x1400207b4
test r12d, r12d
je 0x14001fc42
movzx eax, byte [r13]
mov ecx, edi
shl eax, cl
inc r13
add esi, eax
mov qword [rbp - 0x10], r13
mov ecx, esi
dec r12d
add edi, 8
mov eax, edx
and rax, rcx
mov eax, dword [r10 + rax*4]
jmp 0x14002077a
test al, 0xf0
jne 0x14002083d
mov ecx, eax
mov dword [rbp - 0x18], eax
shr ecx, 8
mov edx, eax
movzx r9d, cl
movzx ecx, al
shr eax, 0x10
jmp 0x1400207ff
test r12d, r12d
je 0x14001fc42
movzx eax, byte [r13]
mov ecx, edi
movzx r9d, byte [rbp - 0x17]
inc r13
shl eax, cl
dec r12d
add esi, eax
mov qword [rbp - 0x10], r13
movzx eax, word [rbp - 0x16]
add edi, 8
movzx ecx, dl
add ecx, r9d
mov r8d, 1
shl r8d, cl
mov ecx, r9d
dec r8d
and r8d, esi
shr r8d, cl
add r8d, eax
mov eax, dword [r10 + r8*4]
mov ecx, eax
shr ecx, 8
movzx r8d, cl
add r8d, r9d
cmp r8d, edi
ja 0x1400207d2
movzx ecx, byte [rbp - 0x17]
shr esi, cl
sub edi, ecx
add dword [rbx + 0x1be4], ecx
mov r10d, dword [rbp - 0x20]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add dword [rbx + 0x1be4], ecx
sub edi, ecx
shr esi, cl
test al, 0x40
je 0x140020863
lea rax, str.invalid_distance_code
jmp 0x14002018b
mov r8d, dword [rbp + 0x50]
mov ecx, eax
shr ecx, 0x10
mov dword [rbx + 0x54], ecx
movzx ecx, al
and ecx, 0xf
mov dword [rbx + 8], 0x3f4b
mov dword [rbx + 0x58], ecx
mov edx, dword [rbx + 0x58]
test edx, edx
je 0x1400208cd
cmp edi, edx
jae 0x1400208b3
mov r13, qword [rbp - 0x10]
test r12d, r12d
je 0x14001fc42
movzx eax, byte [r13]
mov ecx, edi
shl eax, cl
inc r13
add esi, eax
mov qword [rbp - 0x10], r13
dec r12d
add edi, 8
cmp edi, edx
jb 0x14002088e
mov ecx, edx
mov eax, 1
shl eax, cl
sub edi, edx
dec eax
and eax, esi
shr esi, cl
add dword [rbx + 0x54], eax
add dword [rbx + 0x1be4], edx
mov dword [rbx + 8], 0x3f4c
test r10d, r10d
je 0x14001fc42
mov eax, dword [rbx + 0x54]
mov ecx, r8d
sub ecx, r10d
cmp eax, ecx
jbe 0x14002092a
sub eax, ecx
cmp eax, dword [rbx + 0x38]
jbe 0x140020906
cmp dword [rbx + 0x1be0], r11d
je 0x140020906
lea rax, str.invalid_distance_too_far_back
jmp 0x14001fddc
mov ecx, dword [rbx + 0x3c]
cmp eax, ecx
jbe 0x140020912
sub eax, ecx
mov ecx, dword [rbx + 0x34]
mov r8d, dword [rbx + 0x50]
sub ecx, eax
mov edx, ecx
mov r9d, r8d
add rdx, qword [rbx + 0x40]
cmp eax, r8d
cmovbe r9d, eax
jmp 0x140020938
mov rdx, qword [rbp - 8]
mov r8d, dword [rbx + 0x50]
sub rdx, rax
mov r9d, r8d
cmp r9d, r10d
mov ecx, r10d
cmovbe ecx, r9d
mov r9, qword [rbp - 8]
sub r10d, ecx
sub r8d, ecx
mov dword [rbp - 0x20], r10d
sub rdx, r9
mov dword [rbx + 0x50], r8d
mov al, byte [rdx + r9]
mov byte [r9], al
inc r9
add ecx, 0xffffffff
jne 0x140020957
mov r13, qword [rbp - 0x10]
mov qword [rbp - 8], r9
cmp dword [rbx + 0x50], r11d
jne 0x14002004e
mov dword [rbx + 8], 0x3f48
jmp 0x14002004e
test r10d, r10d
je 0x14001fc42
mov al, byte [rbx + 0x50]
mov byte [r9], al
inc r9
dec r10d
mov qword [rbp - 8], r9
mov dword [rbp - 0x20], r10d
jmp 0x140020978
cmp dword [rbx + 0x10], r11d
jne 0x1400209da
mov r15d, dword [rbp + 0x50]
mov dword [rbx + 8], 0x3f4f
jmp 0x140020a76
test r12d, r12d
je 0x14001fc42
movzx eax, byte [r13]
mov ecx, edi
shl eax, cl
inc r13
add esi, eax
mov qword [rbp - 0x10], r13
dec r12d
add edi, 8
cmp edi, 0x20
jb 0x1400209b9
sub r8d, r10d
add dword [r14 + 0x1c], r8d
add dword [rbx + 0x24], r8d
mov eax, dword [rbx + 0x10]
test al, 4
je 0x140020a22
test r8d, r8d
je 0x140020a22
mov ecx, dword [rbx + 0x20]
mov rdx, r9
sub rdx, r8
cmp dword [rbx + 0x18], r11d
je 0x140020a0c
call sym.MsSense.exe_crc32_z
jmp 0x140020a11
call sym.MsSense.exe_adler32_z
mov r10d, dword [rbp - 0x20]
xor r11d, r11d
mov dword [rbx + 0x20], eax
mov dword [r14 + 0x4c], eax
mov eax, dword [rbx + 0x10]
mov dword [rbp + 0x50], r10d
mov r15d, r10d
test al, 4
je 0x140020a67
mov ecx, esi
cmp dword [rbx + 0x18], r11d
jne 0x140020a56
mov edx, 0xff00
mov eax, esi
shl eax, 0x10
and ecx, edx
add ecx, eax
mov eax, esi
shr eax, 8
and eax, edx
shl ecx, 8
add ecx, eax
mov eax, esi
shr eax, 0x18
add ecx, eax
cmp ecx, dword [rbx + 0x20]
je 0x140020a67
lea rax, str.incorrect_data_check
jmp 0x14002018b
mov esi, r11d
mov edi, r11d
jmp 0x1400209ad
mov r15d, dword [rbp + 0x50]
cmp dword [rbx + 0x10], r11d
je 0x140020ae0
cmp dword [rbx + 0x18], r11d
je 0x140020ae0
jmp 0x140020aa5
test r12d, r12d
je 0x14001fc46
movzx eax, byte [r13]
mov ecx, edi
shl eax, cl
inc r13
add esi, eax
mov qword [rbp - 0x10], r13
dec r12d
add edi, 8
cmp edi, 0x20
jb 0x140020a84
cmp esi, dword [rbx + 0x24]
je 0x140020ada
lea rax, str.incorrect_length_check
jmp 0x14002018b
mov qword [r14 + 0x10], r9
mov eax, 2
mov dword [r14 + 0x18], r10d
mov qword [r14], r13
mov dword [r14 + 8], r12d
mov dword [rbx + 0x48], esi
mov dword [rbx + 0x4c], edi
jmp 0x140020bce
mov esi, r11d
mov edi, r11d
mov dword [rbx + 8], 0x3f50
jmp 0x140020aed
mov r15d, dword [rbp + 0x50]
mov r13d, 1
jmp 0x14001fc4a
mov r15d, dword [rbp + 0x50]
mov r13d, 0xfffffffd
jmp 0x14001fc4a
mov r15d, dword [rbp + 0x50]
jmp 0x14001fc4d
sub r15d, dword [r14 + 0x18]
mov r9d, dword [rbp - 0x14]
sub r9d, dword [r14 + 8]
add dword [r14 + 0xc], r9d
add dword [r14 + 0x1c], r15d
add dword [rbx + 0x24], r15d
test byte [rbx + 0x10], 4
mov dword [rbp - 0x14], r9d
je 0x140020b61
test r15d, r15d
je 0x140020b61
mov rdx, qword [r14 + 0x10]
mov ecx, dword [rbx + 0x20]
mov r8d, r15d
sub rdx, r8
cmp dword [rbx + 0x18], r11d
je 0x140020b51
call sym.MsSense.exe_crc32_z
jmp 0x140020b56
call sym.MsSense.exe_adler32_z
mov r9d, dword [rbp - 0x14]
mov dword [rbx + 0x20], eax
mov dword [r14 + 0x4c], eax
mov eax, dword [rbx + 0xc]
mov edx, 0x80
neg eax
sbb ecx, ecx
and ecx, 0x40
lea r10d, [rdx - 0x80]
cmp dword [rbx + 8], 0x3f3f
cmovne edx, r10d
cmp dword [rbx + 8], 0x3f47
je 0x140020b94
cmp dword [rbx + 8], 0x3f42
mov r8d, r10d
jne 0x140020b9a
mov r8d, 0x100
mov eax, dword [rbx + 0x4c]
add eax, r8d
add eax, edx
add eax, ecx
mov dword [r14 + 0x48], eax
test r9d, r9d
jne 0x140020bb2
test r15d, r15d
je 0x140020bb8
cmp dword [rbp + 0x48], 4
jne 0x140020bc4
test r13d, r13d
mov eax, 0xfffffffb
cmove r13d, eax
mov eax, r13d
jmp 0x140020bce
mov eax, 0xfffffffe
mov rbx, qword [rsp + 0x90]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret