Function at 0x140014d54
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 r15, rcx
call fcn.140014a50
xor ecx, ecx
test eax, eax
jne case.default.0x140014e18
mov r11, qword [r15 + 0x10]
mov qword [rbp - 8], r11
test r11, r11
je case.default.0x140014e18
mov r12, qword [r15]
mov qword [rbp - 0x10], r12
test r12, r12
jne 0x140014da8
cmp dword [r15 + 8], ecx
jne case.default.0x140014e18
mov rdi, qword [r15 + 0x28]
mov eax, 0x3f40
mov edx, dword [rdi + 8]
cmp edx, 0x3f3f
jne 0x140014dd0
mov dword [rdi + 8], eax
mov edx, eax
mov r11, qword [r15 + 0x10]
mov r12, qword [r15]
mov qword [rbp - 8], r11
mov qword [rbp - 0x10], r12
mov ebx, dword [r15 + 0x18]
lea eax, [rdx - 0x3f34]
mov r13d, dword [r15 + 8]
mov r10d, ebx
mov r14d, dword [rdi + 0x48]
mov esi, dword [rdi + 0x4c]
mov dword [rbp - 0x1c], ebx
mov dword [rbp - 0x14], r13d
mov dword [rbp + 0x50], ebx
mov dword [rbp + 0x58], ecx
cmp eax, 0x1e
ja case.default.0x140014e18
cdqe
lea rcx, [0x140000000]
mov ecx, dword [rcx + rax*4 + 0x162e4]
lea rax, [0x140000000]
add rcx, rax
jmp rcx
xor r9d, r9d
cmp dword [rdi + 0x10], r9d
jne 0x140014e2f
mov dword [rdi + 8], 0x3f40
jmp 0x140016126
mov r8d, reloc.WS2_32.dll_recv
jmp 0x140014e59
test r13d, r13d
je 0x14001618c
movzx eax, byte [r12]
mov ecx, esi
shl eax, cl
inc r12
add r14d, eax
mov qword [rbp - 0x10], r12
dec r13d
add esi, 8
cmp esi, r8d
jb 0x140014e37
test byte [rdi + 0x10], 2
je 0x140014ead
cmp r14d, 0x8b1f
jne 0x140014ead
cmp dword [rdi + 0x30], r9d
jne 0x140014e7a
mov dword [rdi + 0x30], reloc.WS2_32.dll_ntohs
mov r8d, 2
mov dword [rdi + 0x20], r9d
lea rdx, [rbp - 0x20]
mov word [rbp - 0x20], 0x8b1f
xor ecx, ecx
call fcn.1400a9144
xor r9d, r9d
mov dword [rdi + 0x20], eax
mov r14d, r9d
mov dword [rdi + 8], 0x3f35
mov esi, r9d
jmp 0x140016122
mov rax, qword [rdi + 0x28]
mov dword [rdi + 0x18], r9d
test rax, rax
je 0x140014ebe
or dword [rax + 0x40], 0xffffffff
test byte [rdi + 0x10], 1
je 0x140014f6f
movzx ecx, r14b
mov eax, r14d
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 0x140014f6f
mov eax, r14d
and al, 0xf
cmp al, 8
je 0x140014f02
lea rax, str.unknown_compression_method
jmp 0x140014f76
mov eax, dword [rdi + 0x30]
add esi, 0xfffffffc
shr r14d, 4
mov ecx, r14d
and ecx, 0xf
add ecx, 8
test eax, eax
jne 0x140014f1e
mov eax, ecx
mov dword [rdi + 0x30], ecx
cmp ecx, 0xf
ja 0x140014f66
cmp ecx, eax
ja 0x140014f66
mov eax, 1
xor r8d, r8d
shl eax, cl
xor edx, edx
xor ecx, ecx
mov dword [rdi + 0x1c], eax
call fcn.140011e88
shr r14d, 8
not r14d
mov dword [rdi + 0x20], eax
and r14d, 2
mov dword [r15 + 0x4c], eax
or r14d, 0x3f3d
xor eax, eax
mov dword [rdi + 8], r14d
mov r14d, eax
mov esi, eax
jmp 0x140016122
lea rax, str.invalid_window_size
jmp 0x140014f76
lea rax, str.incorrect_header_check
mov qword [r15 + 0x20], rax
mov dword [rdi + 8], 0x3f51
jmp 0x140016126
mov r8d, reloc.WS2_32.dll_recv
jmp 0x140014fb0
test r13d, r13d
je 0x14001618c
movzx eax, byte [r12]
mov ecx, esi
shl eax, cl
inc r12
add r14d, eax
mov qword [rbp - 0x10], r12
dec r13d
add esi, 8
cmp esi, r8d
jb 0x140014f8e
mov dword [rdi + 0x18], r14d
cmp r14b, 8
jne 0x140014ef9
test r14d, 0xe000
je 0x140014fd5
lea rax, str.unknown_header_flags_set
jmp 0x140014f76
mov rdx, qword [rdi + 0x28]
mov ecx, r14d
shr ecx, 8
xor r11d, r11d
mov eax, r14d
test rdx, rdx
je 0x140014ff4
mov eax, ecx
and eax, 1
mov dword [rdx], eax
mov eax, dword [rdi + 0x18]
bt eax, 9
jae 0x14001501f
test byte [rdi + 0x10], 4
je 0x14001501f
mov byte [rbp - 0x1f], cl
lea rdx, [rbp - 0x20]
mov ecx, dword [rdi + 0x20]
mov r8d, 2
mov byte [rbp - 0x20], r14b
call fcn.1400a9144
mov dword [rdi + 0x20], eax
xor r11d, r11d
mov r14d, r11d
mov dword [rdi + 8], 0x3f36
mov esi, r11d
jmp 0x14001503a
xor r11d, r11d
mov qword [rbp - 0x10], r12
cmp esi, 0x20
jae 0x14001505a
test r13d, r13d
je 0x14001618f
movzx eax, byte [r12]
mov ecx, esi
shl eax, cl
dec r13d
add r14d, eax
inc r12
add esi, 8
jmp 0x140015031
mov rax, qword [rdi + 0x28]
test rax, rax
je 0x140015067
mov dword [rax + 4], r14d
test dword [rdi + 0x18], 0x200
je 0x1400150ac
test byte [rdi + 0x10], 4
je 0x1400150ac
mov ecx, dword [rdi + 0x20]
lea rdx, [rbp - 0x20]
mov eax, r14d
mov byte [rbp - 0x20], r14b
shr eax, 8
mov r8d, 4
mov byte [rbp - 0x1f], al
mov eax, r14d
shr eax, 0x10
shr r14d, 0x18
mov byte [rbp - 0x1e], al
mov byte [rbp - 0x1d], r14b
call fcn.1400a9144
mov dword [rdi + 0x20], eax
xor r11d, r11d
mov r14d, r11d
mov dword [rdi + 8], 0x3f37
mov esi, r11d
mov ebx, reloc.WS2_32.dll_recv
jmp 0x1400150d0
mov ebx, reloc.WS2_32.dll_recv
xor r11d, r11d
mov qword [rbp - 0x10], r12
cmp esi, ebx
jae 0x1400150f0
test r13d, r13d
je 0x14001618f
movzx eax, byte [r12]
mov ecx, esi
shl eax, cl
dec r13d
add r14d, eax
inc r12
add esi, 8
jmp 0x1400150c8
mov rdx, qword [rdi + 0x28]
mov ecx, r14d
shr ecx, 8
test rdx, rdx
je 0x14001510d
movzx eax, r14b
mov dword [rdx + 8], eax
mov rax, qword [rdi + 0x28]
mov dword [rax + 0xc], ecx
test dword [rdi + 0x18], 0x200
je 0x14001513b
test byte [rdi + 0x10], 4
je 0x14001513b
mov byte [rbp - 0x1f], cl
lea rdx, [rbp - 0x20]
mov ecx, dword [rdi + 0x20]
mov r8d, 2
mov byte [rbp - 0x20], r14b
call fcn.1400a9144
mov dword [rdi + 0x20], eax
xor r11d, r11d
mov r14d, r11d
mov dword [rdi + 8], 0x3f38
mov esi, r11d
jmp 0x140015151
xor r11d, r11d
lea ebx, [r11 + 0x10]
test dword [rdi + 0x18], 0x400
jne 0x140015192
mov rax, qword [rdi + 0x28]
test rax, rax
je 0x140015167
mov qword [rax + 0x10], r11
mov dword [rdi + 8], 0x3f39
jmp 0x1400151e5
test r13d, r13d
je 0x14001618f
movzx eax, byte [r12]
mov ecx, esi
shl eax, cl
inc r12
add r14d, eax
mov qword [rbp - 0x10], r12
dec r13d
add esi, 8
cmp esi, ebx
jb 0x140015170
mov rax, qword [rdi + 0x28]
mov dword [rdi + 0x50], r14d
test rax, rax
je 0x1400151a7
mov dword [rax + 0x18], r14d
test dword [rdi + 0x18], 0x200
je 0x1400151da
test byte [rdi + 0x10], 4
je 0x1400151da
mov ecx, dword [rdi + 0x20]
lea rdx, [rbp - 0x20]
mov byte [rbp - 0x20], r14b
mov r8d, 2
shr r14d, 8
mov byte [rbp - 0x1f], r14b
call fcn.1400a9144
mov dword [rdi + 0x20], eax
xor r11d, r11d
mov r14d, r11d
mov esi, r11d
jmp 0x140015167
xor r11d, r11d
mov eax, dword [rdi + 0x18]
bt eax, 0xa
jae 0x140015281
mov ebx, dword [rdi + 0x50]
mov r12d, r13d
cmp ebx, r13d
cmovbe r12d, ebx
test r12d, r12d
je 0x140015279
mov rcx, qword [rdi + 0x28]
mov edx, ebx
test rcx, rcx
je 0x140015246
mov r9, qword [rcx + 0x10]
test r9, r9
je 0x140015246
mov edx, dword [rcx + 0x18]
mov ecx, dword [rcx + 0x1c]
sub edx, ebx
lea eax, [r12 + rdx]
cmp eax, ecx
jbe 0x14001522c
sub ecx, edx
jmp 0x14001522f
mov ecx, r12d
mov r8d, ecx
mov ecx, edx
mov rdx, qword [rbp - 0x10]
add rcx, r9
call fcn.1401c2db0
mov eax, dword [rdi + 0x18]
mov edx, dword [rdi + 0x50]
mov ebx, edx
bt eax, 9
jae 0x140015266
test byte [rdi + 0x10], 4
je 0x140015266
mov rdx, qword [rbp - 0x10]
mov r8d, r12d
mov ecx, dword [rdi + 0x20]
call fcn.1400a9144
mov dword [rdi + 0x20], eax
sub ebx, r12d
mov eax, r12d
add qword [rbp - 0x10], rax
sub r13d, r12d
xor r11d, r11d
mov dword [rdi + 0x50], ebx
test ebx, ebx
jne 0x14001618f
mov dword [rdi + 0x50], r11d
mov dword [rdi + 8], 0x3f3a
jmp 0x140015291
xor r11d, r11d
test dword [rdi + 0x18], 0x800
je 0x140015318
test r13d, r13d
je 0x14001618f
mov rcx, qword [rbp - 0x10]
mov ebx, r11d
mov eax, ebx
inc ebx
mov r12b, byte [rax + rcx]
mov rax, qword [rdi + 0x28]
test rax, rax
je 0x1400152d7
mov rdx, qword [rax + 0x20]
test rdx, rdx
je 0x1400152d7
mov ecx, dword [rdi + 0x50]
cmp ecx, dword [rax + 0x28]
jae 0x1400152d3
mov byte [rcx + rdx], r12b
inc dword [rdi + 0x50]
mov rcx, qword [rbp - 0x10]
test r12b, r12b
je 0x1400152e1
cmp ebx, r13d
jb 0x1400152aa
test dword [rdi + 0x18], 0x200
je 0x140015304
test byte [rdi + 0x10], 4
je 0x140015304
mov rdx, rcx
mov r8d, ebx
mov ecx, dword [rdi + 0x20]
call fcn.1400a9144
mov dword [rdi + 0x20], eax
xor r11d, r11d
mov eax, ebx
sub r13d, ebx
add qword [rbp - 0x10], rax
test r12b, r12b
jne 0x14001618f
jmp 0x140015325
mov rax, qword [rdi + 0x28]
test rax, rax
je 0x140015325
mov qword [rax + 0x20], r11
mov dword [rdi + 0x50], r11d
mov dword [rdi + 8], 0x3f3b
jmp 0x140015335
xor r11d, r11d
test dword [rdi + 0x18], 0x1000
je 0x1400153bc
test r13d, r13d
je 0x14001618f
mov rcx, qword [rbp - 0x10]
mov ebx, r11d
mov eax, ebx
inc ebx
mov r12b, byte [rax + rcx]
mov rax, qword [rdi + 0x28]
test rax, rax
je 0x14001537b
mov rdx, qword [rax + 0x30]
test rdx, rdx
je 0x14001537b
mov ecx, dword [rdi + 0x50]
cmp ecx, dword [rax + 0x38]
jae 0x140015377
mov byte [rcx + rdx], r12b
inc dword [rdi + 0x50]
mov rcx, qword [rbp - 0x10]
test r12b, r12b
je 0x140015385
cmp ebx, r13d
jb 0x14001534e
test dword [rdi + 0x18], 0x200
je 0x1400153a8
test byte [rdi + 0x10], 4
je 0x1400153a8
mov rdx, rcx
mov r8d, ebx
mov ecx, dword [rdi + 0x20]
call fcn.1400a9144
mov dword [rdi + 0x20], eax
xor r11d, r11d
mov eax, ebx
sub r13d, ebx
add qword [rbp - 0x10], rax
test r12b, r12b
jne 0x14001618f
jmp 0x1400153c9
mov rax, qword [rdi + 0x28]
test rax, rax
je 0x1400153c9
mov qword [rax + 0x30], r11
mov ebx, dword [rbp - 0x1c]
mov dword [rdi + 8], 0x3f3c
jmp 0x1400153d8
xor r11d, r11d
mov edx, dword [rdi + 0x18]
bt edx, 9
jae 0x140015447
mov r8d, reloc.WS2_32.dll_recv
cmp esi, r8d
jae 0x140015417
mov r12, qword [rbp - 0x10]
test r13d, r13d
je 0x14001618f
movzx eax, byte [r12]
mov ecx, esi
shl eax, cl
inc r12
add r14d, eax
mov qword [rbp - 0x10], r12
dec r13d
add esi, 8
cmp esi, r8d
jb 0x1400153f0
test byte [rdi + 0x10], 4
je 0x140015441
movzx eax, word [rdi + 0x20]
cmp r14d, eax
je 0x140015441
lea rax, str.header_crc_mismatch
mov qword [r15 + 0x20], rax
mov dword [rdi + 8], 0x3f51
mov r12, qword [rbp - 0x10]
jmp 0x140016122
mov r14d, r11d
mov esi, r11d
mov rax, qword [rdi + 0x28]
test rax, rax
je 0x140015464
sar edx, 9
and edx, 1
mov dword [rax + 0x3c], edx
mov rax, qword [rdi + 0x28]
mov dword [rax + 0x40], 1
mov dword [rdi + 0x20], r11d
mov dword [r15 + 0x4c], r11d
mov dword [rdi + 8], 0x3f3f
jmp 0x140015438
test r13d, r13d
je 0x14001618c
movzx eax, byte [r12]
mov ecx, esi
shl eax, cl
inc r12
add r14d, eax
mov qword [rbp - 0x10], r12
dec r13d
add esi, 8
cmp esi, 0x20
jb 0x140015475
mov eax, r14d
mov ecx, r14d
shl eax, 0x10
mov edx, 0xff00
and ecx, edx
add ecx, eax
mov eax, r14d
shr eax, 8
and eax, edx
shr r14d, 0x18
shl ecx, 8
add eax, ecx
add eax, r14d
mov dword [rdi + 0x20], eax
mov dword [r15 + 0x4c], eax
xor eax, eax
mov r14d, eax
mov dword [rdi + 8], 0x3f3e
mov esi, eax
jmp 0x1400154db
xor eax, eax
cmp dword [rdi + 0x14], eax
je 0x140016141
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.140011e88
mov dword [rdi + 0x20], eax
mov dword [r15 + 0x4c], eax
mov dword [rdi + 8], 0x3f3f
xor r11d, r11d
cmp dword [rdi + 0xc], r11d
je 0x14001553f
mov ecx, esi
mov dword [rdi + 8], 0x3f4e
and ecx, 7
shr r14d, cl
sub esi, ecx
jmp 0x140016122
test r13d, r13d
je 0x14001618f
movzx eax, byte [r12]
mov ecx, esi
shl eax, cl
inc r12
add r14d, eax
mov qword [rbp - 0x10], r12
dec r13d
add esi, 8
cmp esi, 3
jb 0x14001551d
mov eax, r14d
shr r14d, 1
and eax, 1
mov dword [rdi + 0xc], eax
mov eax, r14d
and eax, 3
je 0x1400155b1
sub eax, 1
je 0x140015584
sub eax, 1
je 0x14001557b
cmp eax, 1
jne 0x1400155b8
lea rax, str.invalid_block_type
mov qword [r15 + 0x20], rax
mov dword [rdi + 8], 0x3f51
jmp 0x1400155b8
mov dword [rdi + 8], 0x3f44
jmp 0x1400155b8
lea rax, [0x140256ae0]
mov dword [rdi + 0x70], 9
mov qword [rdi + 0x60], rax
lea rax, [0x1402572e0]
mov qword [rdi + 0x68], rax
mov dword [rdi + 0x74], 5
mov dword [rdi + 8], 0x3f47
jmp 0x1400155b8
mov dword [rdi + 8], 0x3f41
shr r14d, 2
add esi, 0xfffffffd
jmp 0x140016122
mov ecx, esi
and ecx, 7
shr r14d, cl
sub esi, ecx
xor r9d, r9d
cmp esi, 0x20
jae 0x1400155fa
test r13d, r13d
je 0x14001618c
movzx eax, byte [r12]
mov ecx, esi
shl eax, cl
inc r12
add r14d, eax
mov qword [rbp - 0x10], r12
dec r13d
add esi, 8
jmp 0x1400155d1
mov eax, r14d
movzx ecx, r14w
not eax
shr eax, 0x10
cmp ecx, eax
je 0x140015616
lea rax, str.invalid_stored_block_lengths
jmp 0x140014f76
mov dword [rdi + 0x50], ecx
mov r14d, r9d
mov esi, r9d
mov dword [rdi + 8], 0x3f43
mov eax, dword [rdi + 0x50]
test eax, eax
je 0x14001567f
cmp eax, r13d
mov r12d, r13d
cmovbe r12d, eax
cmp r12d, ebx
cmova r12d, ebx
test r12d, r12d
je 0x14001618c
mov rdx, qword [rbp - 0x10]
mov rcx, r11
mov r8d, r12d
mov ebx, r12d
call fcn.1401c2db0
add qword [rbp - 0x10], rbx
sub r13d, r12d
sub dword [rbp - 0x1c], r12d
mov r11, qword [rbp - 8]
add r11, rbx
mov ebx, dword [rbp - 0x1c]
sub dword [rdi + 0x50], r12d
mov r12, qword [rbp - 0x10]
mov qword [rbp - 8], r11
jmp 0x140016126
mov dword [rdi + 8], 0x3f3f
jmp 0x140016126
test r13d, r13d
je 0x14001618c
movzx eax, byte [r12]
mov ecx, esi
shl eax, cl
inc r12
add r14d, eax
mov qword [rbp - 0x10], r12
dec r13d
add esi, 8
cmp esi, 0xe
jb 0x14001568b
mov ecx, r14d
add esi, 0xfffffff2
shr r14d, 5
and ecx, 0x1f
mov edx, r14d
add ecx, 0x101
shr r14d, 5
and edx, 0x1f
mov eax, r14d
mov dword [rdi + 0x7c], ecx
and eax, 0xf
shr r14d, 4
add eax, 4
inc edx
mov dword [rdi + 0x80], edx
mov dword [rdi + 0x78], eax
cmp ecx, 0x11e
ja 0x14001570a
cmp edx, 0x1e
ja 0x14001570a
xor r11d, r11d
mov dword [rdi + 8], 0x3f45
mov dword [rdi + 0x84], r11d
jmp 0x140015719
lea rax, str.too_many_length_or_distance_symbols
jmp 0x140014f76
xor r11d, r11d
mov edx, 7
lea r8, [0x140000000]
mov eax, dword [rdi + 0x84]
cmp eax, dword [rdi + 0x78]
jb 0x1400157d6
cmp eax, 0x13
jae 0x140015760
mov eax, dword [rdi + 0x84]
movzx eax, word [r8 + rax*2 + 0x257360]
mov word [rdi + rax*2 + 0x90], r11w
inc dword [rdi + 0x84]
cmp dword [rdi + 0x84], 0x13
jb 0x140015739
lea rcx, [rdi + 0x70]
lea rax, [rdi + 0x550]
mov dword [rcx], edx
lea r9, [rdi + 0x88]
mov qword [rdi + 0x60], rax
mov qword [r9], rax
lea rdx, [rdi + 0x90]
lea rax, [rdi + 0x310]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
xor ecx, ecx
lea r8d, [rcx + 0x13]
call fcn.1400163a8
xor r11d, r11d
mov dword [rbp + 0x58], eax
test eax, eax
je 0x14001580b
lea rax, str.invalid_code_lengths_set
jmp 0x140016117
test r13d, r13d
je 0x14001618f
movzx eax, byte [r12]
mov ecx, esi
shl eax, cl
inc r12
add r14d, eax
mov qword [rbp - 0x10], r12
dec r13d
add esi, 8
cmp esi, 3
jb 0x1400157b4
mov eax, dword [rdi + 0x84]
movzx ecx, r14w
and cx, dx
shr r14d, 3
movzx eax, word [r8 + rax*2 + 0x257360]
mov word [rdi + rax*2 + 0x90], cx
inc dword [rdi + 0x84]
add esi, 0xfffffffd
jmp 0x140015725
mov eax, 0x3f46
mov dword [rdi + 0x84], r11d
mov dword [rdi + 8], eax
mov edx, eax
jmp 0x140015821
xor r11d, r11d
mov eax, dword [rdi + 0x80]
lea r10, [rdi + 0x70]
add eax, dword [rdi + 0x7c]
mov r9d, dword [rdi + 0x84]
cmp r9d, eax
jae 0x140015a23
mov ecx, dword [r10]
mov eax, 1
shl eax, cl
lea ecx, [rax - 1]
mov eax, r14d
and rcx, rax
jmp 0x140015888
test r13d, r13d
je 0x14001618f
movzx eax, byte [r12]
mov ecx, esi
shl eax, cl
inc r12
mov ecx, dword [r10]
add r14d, eax
mov eax, 1
mov edx, r14d
shl eax, cl
dec r13d
add esi, 8
mov qword [rbp - 0x10], r12
lea ecx, [rax - 1]
and rcx, rdx
mov rax, qword [rdi + 0x60]
mov eax, dword [rax + rcx*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
mov dword [rbp - 0x18], eax
cmp ecx, esi
ja 0x140015853
mov edx, eax
mov r8d, reloc.WS2_32.dll_recv
shr edx, 0x10
cmp dx, r8w
jae 0x1400158d0
shr eax, 8
movzx ecx, al
mov eax, r9d
sub esi, ecx
shr r14d, cl
mov word [rdi + rax*2 + 0x90], dx
inc dword [rdi + 0x84]
jmp 0x140015a07
jne 0x140015937
shr eax, 8
movzx edx, al
add edx, 2
jmp 0x1400158ff
test r13d, r13d
je 0x14001618f
movzx eax, byte [r12]
mov ecx, esi
shl eax, cl
inc r12
add r14d, eax
mov qword [rbp - 0x10], r12
dec r13d
add esi, 8
cmp esi, edx
jb 0x1400158dd
movzx ecx, byte [rbp - 0x17]
shr r14d, cl
sub esi, ecx
test r9d, r9d
je 0x140015a45
mov edx, r14d
lea eax, [r9 - 1]
movzx r8d, word [rdi + rax*2 + 0x90]
and edx, 3
add edx, 3
shr r14d, 2
add esi, 0xfffffffe
jmp 0x1400159dc
cmp word [rbp - 0x16], 0x11
movzx r8d, byte [rbp - 0x17]
jne 0x14001598f
lea edx, [r8 + 3]
jmp 0x14001596b
test r13d, r13d
je 0x14001618f
movzx eax, byte [r12]
mov ecx, esi
shl eax, cl
inc r12
add r14d, eax
mov qword [rbp - 0x10], r12
dec r13d
add esi, 8
cmp esi, edx
jb 0x140015949
mov ecx, r8d
mov eax, 0xfffffffd
shr r14d, cl
mov edx, r14d
shr r14d, 3
and edx, 7
add edx, 3
sub eax, r8d
mov r8d, r11d
jmp 0x1400159da
lea edx, [r8 + 7]
jmp 0x1400159b7
test r13d, r13d
je 0x14001618f
movzx eax, byte [r12]
mov ecx, esi
shl eax, cl
inc r12
add r14d, eax
mov qword [rbp - 0x10], r12
dec r13d
add esi, 8
cmp esi, edx
jb 0x140015995
mov ecx, r8d
mov eax, 0xfffffff9
shr r14d, cl
mov edx, r14d
shr r14d, 7
and edx, 0x7f
add edx, 0xb
sub eax, r8d
movzx r8d, r11w
add esi, eax
mov eax, dword [rdi + 0x80]
lea ecx, [r9 + rdx]
add eax, dword [rdi + 0x7c]
cmp ecx, eax
ja 0x140015a45
mov eax, dword [rdi + 0x84]
mov word [rdi + rax*2 + 0x90], r8w
inc dword [rdi + 0x84]
add edx, 0xffffffff
jne 0x1400159ed
mov eax, dword [rdi + 0x80]
add eax, dword [rdi + 0x7c]
mov r9d, dword [rdi + 0x84]
cmp r9d, eax
jb 0x14001583e
mov edx, dword [rdi + 8]
cmp edx, 0x3f51
je 0x140016122
cmp word [rdi + 0x290], r11w
jne 0x140015a51
lea rax, str.invalid_code____missing_end_of_block
jmp 0x140016117
lea rax, str.invalid_bit_length_repeat
jmp 0x140016117
mov r8d, dword [rdi + 0x7c]
lea rax, [rdi + 0x550]
lea rbx, [rdi + 0x88]
mov qword [rdi + 0x60], rax
lea r12, [rdi + 0x310]
mov qword [rbx], rax
mov qword [rsp + 0x28], r12
lea rdx, [rdi + 0x90]
mov r9, rbx
mov qword [rsp + 0x20], r10
mov ecx, 1
mov dword [r10], 9
call fcn.1400163a8
mov dword [rbp + 0x58], eax
test eax, eax
je 0x140015aad
mov r12, qword [rbp - 0x10]
lea rax, str.invalid_literal_lengths_set
jmp 0x140016114
mov rax, qword [rbx]
lea rcx, [rdi + 0x74]
mov r8d, dword [rdi + 0x80]
mov r9, rbx
mov qword [rdi + 0x68], rax
mov eax, dword [rdi + 0x7c]
add rax, 0x48
mov dword [rcx], 6
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], rcx
mov ecx, 2
lea rdx, [rdi + rax*2]
call fcn.1400163a8
mov ebx, dword [rbp - 0x1c]
mov dword [rbp + 0x58], eax
test eax, eax
je 0x140015afd
lea rax, str.invalid_distances_set
jmp 0x14001542d
mov r10d, dword [rbp + 0x50]
mov dword [rdi + 8], 0x3f48
cmp r13d, 6
jb 0x140015b79
cmp ebx, 0x102
jb 0x140015b79
mov rax, qword [rbp - 8]
mov edx, r10d
mov qword [r15 + 0x10], rax
mov rcx, r15
mov rax, qword [rbp - 0x10]
mov qword [r15], rax
mov dword [r15 + 0x18], ebx
mov dword [r15 + 8], r13d
mov dword [rdi + 0x48], r14d
mov dword [rdi + 0x4c], esi
call fcn.140014608
cmp dword [rdi + 8], 0x3f3f
mov r11, qword [r15 + 0x10]
mov r12, qword [r15]
mov ebx, dword [r15 + 0x18]
mov r13d, dword [r15 + 8]
mov r14d, dword [rdi + 0x48]
mov esi, dword [rdi + 0x4c]
mov qword [rbp - 8], r11
mov dword [rbp - 0x1c], ebx
mov qword [rbp - 0x10], r12
jne 0x140016126
or dword [rdi + 0x1be4], 0xffffffff
jmp 0x140016126
mov ecx, dword [rdi + 0x70]
xor r11d, r11d
mov r10, qword [rdi + 0x60]
mov r12, qword [rbp - 0x10]
mov dword [rdi + 0x1be4], r11d
lea eax, [r11 + 1]
shl eax, cl
lea ecx, [rax - 1]
mov eax, r14d
and rcx, rax
mov eax, dword [r10 + rcx*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, esi
jbe 0x140015beb
test r13d, r13d
je 0x14001618f
movzx eax, byte [r12]
mov ecx, esi
shl eax, cl
inc r12
mov ecx, dword [rdi + 0x70]
add r14d, eax
mov eax, 1
mov edx, r14d
shl eax, cl
dec r13d
add esi, 8
mov qword [rbp - 0x10], r12
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x60]
and rcx, rdx
mov eax, dword [rax + rcx*4]
jmp 0x140015ba1
test al, al
je 0x140015ca1
test al, 0xf0
jne 0x140015ca1
mov ecx, eax
mov dword [rbp - 0x18], eax
shr ecx, 8
mov r8d, 1
movzx r9d, cl
mov edx, eax
movzx ecx, al
add ecx, r9d
shr eax, 0x10
shl r8d, cl
mov ecx, r9d
dec r8d
and r8d, r14d
shr r8d, cl
add r8d, eax
mov eax, dword [r10 + r8*4]
jmp 0x140015c81
test r13d, r13d
je 0x14001618f
movzx eax, byte [r12]
mov ecx, esi
movzx r9d, byte [rbp - 0x17]
mov r8d, 1
shl eax, cl
inc r12
add r14d, eax
movzx ecx, dl
movzx eax, word [rbp - 0x16]
add ecx, r9d
shl r8d, cl
dec r13d
dec r8d
mov qword [rbp - 0x10], r12
and r8d, r14d
mov ecx, r9d
shr r8d, cl
add esi, 8
add r8d, eax
mov rax, qword [rdi + 0x60]
mov eax, dword [rax + r8*4]
mov ecx, eax
shr ecx, 8
movzx r8d, cl
add r8d, r9d
cmp r8d, esi
ja 0x140015c30
movzx ecx, byte [rbp - 0x17]
shr r14d, cl
sub esi, ecx
mov dword [rdi + 0x1be4], ecx
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add dword [rdi + 0x1be4], ecx
sub esi, ecx
shr r14d, cl
mov ecx, eax
shr ecx, 0x10
mov dword [rdi + 0x50], ecx
test al, al
jne 0x140015ccc
mov dword [rdi + 8], 0x3f4d
jmp 0x140016122
test al, 0x20
je 0x140015ce3
or dword [rdi + 0x1be4], 0xffffffff
mov dword [rdi + 8], 0x3f3f
jmp 0x140016122
test al, 0x40
je 0x140015cf3
lea rax, str.invalid_literal_length_code
jmp 0x140016117
movzx ecx, al
and ecx, 0xf
mov dword [rdi + 8], 0x3f49
mov dword [rdi + 0x58], ecx
jmp 0x140015d08
xor r11d, r11d
mov edx, dword [rdi + 0x58]
test edx, edx
je 0x140015d59
cmp esi, edx
jae 0x140015d3d
mov r12, qword [rbp - 0x10]
test r13d, r13d
je 0x14001618f
movzx eax, byte [r12]
mov ecx, esi
shl eax, cl
inc r12
add r14d, eax
mov qword [rbp - 0x10], r12
dec r13d
add esi, 8
cmp esi, edx
jb 0x140015d17
mov ecx, edx
mov eax, 1
shl eax, cl
sub esi, edx
dec eax
and eax, r14d
shr r14d, cl
add dword [rdi + 0x50], eax
add dword [rdi + 0x1be4], edx
mov eax, dword [rdi + 0x50]
mov dword [rdi + 0x1be8], eax
mov dword [rdi + 8], 0x3f4a
jmp 0x140015d6e
xor r11d, r11d
mov ecx, dword [rdi + 0x74]
mov eax, 1
mov r10, qword [rdi + 0x68]
mov r12, qword [rbp - 0x10]
shl eax, cl
lea ecx, [rax - 1]
mov eax, r14d
and rcx, rax
mov eax, dword [r10 + rcx*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, esi
jbe 0x140015dd7
test r13d, r13d
je 0x14001618f
movzx eax, byte [r12]
mov ecx, esi
shl eax, cl
inc r12
mov ecx, dword [rdi + 0x74]
add r14d, eax
mov eax, 1
mov edx, r14d
shl eax, cl
dec r13d
add esi, 8
mov qword [rbp - 0x10], r12
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x68]
and rcx, rdx
mov eax, dword [rax + rcx*4]
jmp 0x140015d8d
test al, 0xf0
jne 0x140015e85
mov ecx, eax
mov dword [rbp - 0x18], eax
shr ecx, 8
mov r8d, 1
movzx r9d, cl
mov edx, eax
movzx ecx, al
add ecx, r9d
shr eax, 0x10
shl r8d, cl
mov ecx, r9d
dec r8d
and r8d, r14d
shr r8d, cl
add r8d, eax
mov eax, dword [r10 + r8*4]
jmp 0x140015e65
test r13d, r13d
je 0x14001618f
movzx eax, byte [r12]
mov ecx, esi
movzx r9d, byte [rbp - 0x17]
mov r8d, 1
shl eax, cl
inc r12
add r14d, eax
movzx ecx, dl
movzx eax, word [rbp - 0x16]
add ecx, r9d
shl r8d, cl
dec r13d
dec r8d
mov qword [rbp - 0x10], r12
and r8d, r14d
mov ecx, r9d
shr r8d, cl
add esi, 8
add r8d, eax
mov rax, qword [rdi + 0x68]
mov eax, dword [rax + r8*4]
mov ecx, eax
shr ecx, 8
movzx r8d, cl
add r8d, r9d
cmp r8d, esi
ja 0x140015e14
movzx ecx, byte [rbp - 0x17]
shr r14d, cl
sub esi, ecx
add dword [rdi + 0x1be4], ecx
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add dword [rdi + 0x1be4], ecx
sub esi, ecx
shr r14d, cl
test al, 0x40
je 0x140015ea8
lea rax, str.invalid_distance_code
jmp 0x140016117
mov r10d, dword [rbp + 0x50]
mov ecx, eax
shr ecx, 0x10
mov dword [rdi + 0x54], ecx
movzx ecx, al
and ecx, 0xf
mov dword [rdi + 8], 0x3f4b
mov dword [rdi + 0x58], ecx
jmp 0x140015ec9
xor r11d, r11d
mov edx, dword [rdi + 0x58]
test edx, edx
je 0x140015f1a
cmp esi, edx
jae 0x140015efe
mov r12, qword [rbp - 0x10]
test r13d, r13d
je 0x14001618f
movzx eax, byte [r12]
mov ecx, esi
shl eax, cl
inc r12
add r14d, eax
mov qword [rbp - 0x10], r12
dec r13d
add esi, 8
cmp esi, edx
jb 0x140015ed8
mov ecx, edx
mov eax, 1
shl eax, cl
sub esi, edx
dec eax
and eax, r14d
shr r14d, cl
add dword [rdi + 0x54], eax
add dword [rdi + 0x1be4], edx
mov dword [rdi + 8], 0x3f4c
jmp 0x140015f26
xor r11d, r11d
test ebx, ebx
je 0x14001618f
mov ecx, dword [rdi + 0x54]
mov eax, r10d
sub eax, ebx
cmp ecx, eax
jbe 0x140015f80
sub ecx, eax
cmp ecx, dword [rdi + 0x38]
jbe 0x140015f56
cmp dword [rdi + 0x1be0], r11d
je 0x140015f56
lea rax, [0x14025c610]
jmp 0x14001542d
mov eax, dword [rdi + 0x3c]
cmp ecx, eax
jbe 0x140015f66
mov edx, dword [rdi + 0x34]
sub ecx, eax
sub edx, ecx
jmp 0x140015f6a
sub eax, ecx
mov edx, eax
mov eax, dword [rdi + 0x50]
mov r8d, eax
add rdx, qword [rdi + 0x40]
mov r11, qword [rbp - 8]
cmp ecx, eax
cmovbe r8d, ecx
jmp 0x140015f90
mov r11, qword [rbp - 8]
mov eax, dword [rdi + 0x50]
mov rdx, r11
sub rdx, rcx
mov r8d, eax
cmp r8d, ebx
cmova r8d, ebx
sub ebx, r8d
sub eax, r8d
mov dword [rbp - 0x1c], ebx
sub rdx, r11
mov dword [rdi + 0x50], eax
mov al, byte [rdx + r11]
mov byte [r11], al
inc r11
add r8d, 0xffffffff
jne 0x140015fa6
mov r12, qword [rbp - 0x10]
xor eax, eax
mov qword [rbp - 8], r11
cmp dword [rdi + 0x50], eax
jne 0x140016126
mov dword [rdi + 8], 0x3f48
jmp 0x140016126
test ebx, ebx
je 0x14001618c
mov al, byte [rdi + 0x50]
mov byte [r11], al
inc r11
dec ebx
mov qword [rbp - 8], r11
mov dword [rbp - 0x1c], ebx
jmp 0x140015fc9
xor r9d, r9d
cmp dword [rdi + 0x10], r9d
jne 0x14001602b
mov ebx, dword [rbp + 0x50]
mov dword [rdi + 8], 0x3f4f
jmp 0x1400160c7
test r13d, r13d
je 0x14001618c
movzx eax, byte [r12]
mov ecx, esi
shl eax, cl
inc r12
add r14d, eax
mov qword [rbp - 0x10], r12
dec r13d
add esi, 8
cmp esi, 0x20
jb 0x140016009
sub r10d, ebx
add dword [r15 + 0x1c], r10d
add dword [rdi + 0x24], r10d
mov eax, dword [rdi + 0x10]
test al, 4
je 0x140016075
test r10d, r10d
je 0x140016075
mov ecx, dword [rdi + 0x20]
mov rdx, r11
mov r8d, r10d
sub rdx, r8
cmp dword [rdi + 0x18], r9d
je 0x140016063
mov r8d, r10d
call fcn.1400a9144
jmp 0x140016068
call fcn.140011e88
mov dword [rdi + 0x20], eax
xor r9d, r9d
mov dword [r15 + 0x4c], eax
mov eax, dword [rdi + 0x10]
mov dword [rbp + 0x50], ebx
test al, 4
je 0x1400160b9
mov edx, 0xff00
mov ecx, r14d
and ecx, edx
mov eax, r14d
shl eax, 0x10
add ecx, eax
mov eax, r14d
shr eax, 8
and eax, edx
shl ecx, 8
add ecx, eax
mov eax, r14d
shr eax, 0x18
add ecx, eax
cmp dword [rdi + 0x18], r9d
cmovne ecx, r14d
cmp ecx, dword [rdi + 0x20]
je 0x1400160b9
lea rax, str.incorrect_data_check
jmp 0x140016114
mov r14d, r9d
mov esi, r9d
jmp 0x140015ffd
mov ebx, dword [rbp + 0x50]
xor r11d, r11d
cmp dword [rdi + 0x10], r11d
je 0x140016167
cmp dword [rdi + 0x18], r11d
je 0x140016167
jmp 0x140016102
test r13d, r13d
je 0x140016192
movzx eax, byte [r12]
mov ecx, esi
shl eax, cl
inc r12
add r14d, eax
mov qword [rbp - 0x10], r12
dec r13d
add esi, 8
cmp esi, 0x20
jb 0x1400160e0
cmp r14d, dword [rdi + 0x24]
je 0x140016161
lea rax, str.incorrect_length_check
mov ebx, dword [rbp - 0x1c]
mov qword [r15 + 0x20], rax
mov dword [rdi + 8], 0x3f51
mov r11, qword [rbp - 8]
mov edx, dword [rdi + 8]
lea eax, [rdx - 0x3f34]
cmp eax, 0x1e
ja case.default.0x140014e18
mov r10d, dword [rbp + 0x50]
jmp 0x140014dfe
mov qword [r15 + 0x10], r11
mov eax, 2
mov dword [r15 + 0x18], ebx
mov qword [r15], r12
mov dword [r15 + 8], r13d
mov dword [rdi + 0x48], r14d
mov dword [rdi + 0x4c], esi
jmp 0x1400162c9
mov r14d, r11d
mov esi, r11d
mov dword [rdi + 8], 0x3f50
jmp 0x140016176
mov ebx, dword [rbp + 0x50]
xor r11d, r11d
mov r12d, 1
jmp 0x140016196
mov ebx, dword [rbp + 0x50]
mov r12d, 0xfffffffd
xor r11d, r11d
jmp 0x140016196
xor r11d, r11d
mov ebx, dword [rbp + 0x50]
mov r12d, dword [rbp + 0x58]
mov rax, qword [rbp - 8]
mov qword [r15 + 0x10], rax
mov eax, dword [rbp - 0x1c]
mov dword [r15 + 0x18], eax
mov rax, qword [rbp - 0x10]
mov qword [r15], rax
mov dword [r15 + 8], r13d
mov dword [rdi + 0x4c], esi
mov esi, dword [rbp + 0x48]
mov dword [rdi + 0x48], r14d
cmp dword [rdi + 0x34], r11d
jne 0x1400161dd
cmp ebx, dword [r15 + 0x18]
je 0x140016208
cmp dword [rdi + 8], 0x3f51
jge 0x140016208
cmp dword [rdi + 8], 0x3f4e
jl 0x1400161dd
cmp esi, 4
je 0x140016208
mov rdx, qword [r15 + 0x10]
mov r8d, ebx
sub r8d, dword [r15 + 0x18]
mov rcx, r15
call fcn.140014c50
xor r11d, r11d
test eax, eax
je 0x140016208
mov dword [rdi + 8], 0x3f52
mov eax, 0xfffffffc
jmp 0x1400162c9
sub ebx, dword [r15 + 0x18]
mov r8d, dword [rbp - 0x14]
sub r8d, dword [r15 + 8]
add dword [r15 + 0xc], r8d
add dword [r15 + 0x1c], ebx
add dword [rdi + 0x24], ebx
test byte [rdi + 0x10], 4
mov dword [rbp - 0x14], r8d
je 0x14001625a
test ebx, ebx
je 0x14001625a
mov rdx, qword [r15 + 0x10]
mov ecx, dword [rdi + 0x20]
mov r8d, ebx
sub rdx, r8
cmp dword [rdi + 0x18], r11d
je 0x14001624a
mov r8d, ebx
call fcn.1400a9144
jmp 0x14001624f
call fcn.140011e88
mov r8d, dword [rbp - 0x14]
mov dword [rdi + 0x20], eax
mov dword [r15 + 0x4c], eax
cmp dword [rdi + 8], 0x3f47
je 0x140016274
cmp dword [rdi + 8], 0x3f42
je 0x140016274
xor r10d, r10d
mov edx, r10d
jmp 0x14001627c
mov edx, 0x100
xor r10d, r10d
mov eax, dword [rdi + 0xc]
mov r9d, 0x80
neg eax
mov eax, r10d
sbb ecx, ecx
and ecx, 0x40
cmp dword [rdi + 8], 0x3f3f
cmove eax, r9d
add ecx, eax
add ecx, dword [rdi + 0x4c]
add ecx, edx
mov dword [r15 + 0x48], ecx
test r8d, r8d
jne 0x1400162ae
test ebx, ebx
je 0x1400162b3
cmp esi, 4
jne 0x1400162bf
test r12d, r12d
mov eax, 0xfffffffb
cmove r12d, eax
mov eax, r12d
jmp 0x1400162c9
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