Function at 0x1400139e0
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.1400136e8
xor edx, edx
test eax, eax
jne case.default.0x140013a9c
cmp qword [rcx + 0x10], rdx
je case.default.0x140013a9c
cmp qword [rcx], rdx
jne 0x140013a25
cmp dword [rcx + 8], edx
jne case.default.0x140013a9c
mov rdi, qword [rcx + 0x28]
cmp dword [rdi + 8], 0x3f3f
jne 0x140013a39
mov dword [rdi + 8], 0x3f40
mov r9d, dword [rcx + 0x18]
mov r8d, r9d
mov eax, dword [rdi + 8]
mov r10, qword [rcx + 0x10]
sub eax, 0x3f34
mov r12, qword [rcx]
mov r13d, dword [rcx + 8]
mov r14d, dword [rdi + 0x48]
mov esi, dword [rdi + 0x4c]
mov qword [rbp - 8], r10
mov dword [rbp - 0x20], r9d
mov qword [rbp - 0x10], r12
mov dword [rbp - 0x14], r13d
mov dword [rbp + 0x50], r9d
mov dword [rbp + 0x58], edx
cmp eax, 0x1e
ja case.default.0x140013a9c
cdqe
lea rcx, [0x140000000]
lea rbx, [rdi + 0x74]
lea r11, [rdi + 0x70]
mov ecx, dword [rcx + rax*4 + 0x14f58]
lea rax, [0x140000000]
add rcx, rax
jmp rcx
cmp dword [rdi + 0x10], edx
jne 0x140013aaf
mov dword [rdi + 8], 0x3f40
jmp 0x1400142d2
mov r8d, reloc.WS2_32.dll_recv
jmp 0x140013ad9
test r13d, r13d
je 0x140014e03
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 0x140013ab7
test byte [rdi + 0x10], 2
je 0x140013b31
cmp r14d, 0x8b1f
jne 0x140013b31
cmp dword [rdi + 0x30], edx
jne 0x140013af9
mov dword [rdi + 0x30], reloc.WS2_32.dll_ntohs
mov dword [rdi + 0x20], edx
mov r8d, 2
lea rdx, [rbp - 0x1c]
mov word [rbp - 0x1c], 0x8b1f
xor ecx, ecx
call fcn.1400a5a74
mov dword [rdi + 0x20], eax
mov dword [rdi + 8], 0x3f35
xor edx, edx
mov esi, edx
mov r14d, edx
mov r9d, dword [rbp - 0x20]
mov r10, qword [rbp - 8]
jmp 0x1400142d2
mov rax, qword [rdi + 0x28]
mov dword [rdi + 0x18], edx
test rax, rax
je 0x140013b41
or dword [rax + 0x40], 0xffffffff
test byte [rdi + 0x10], 1
je 0x140013be8
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
xor edx, edx
shr eax, 4
imul eax, eax, 0x1f
cmp ecx, eax
jne 0x140013be8
mov eax, r14d
and al, 0xf
cmp al, 8
je 0x140013b87
lea rax, str.unknown_compression_method
jmp 0x140013bef
shr r14d, 4
add esi, 0xfffffffc
mov ecx, r14d
and ecx, 0xf
add ecx, 8
cmp dword [rdi + 0x30], edx
jne 0x140013b9f
mov dword [rdi + 0x30], ecx
cmp ecx, 0xf
ja 0x140013bdf
cmp ecx, dword [rdi + 0x30]
ja 0x140013bdf
mov eax, 1
xor r8d, r8d
shl eax, cl
xor ecx, ecx
mov dword [rdi + 0x1c], eax
call fcn.140010b6c
shr r14d, 8
not r14d
mov dword [rdi + 0x20], eax
and r14d, 2
mov dword [r15 + 0x4c], eax
or r14d, 0x3f3d
mov dword [rdi + 8], r14d
jmp 0x140013b1d
lea rax, str.invalid_window_size
jmp 0x140013bef
lea rax, str.incorrect_header_check
mov qword [r15 + 0x20], rax
mov dword [rdi + 8], 0x3f51
jmp 0x1400142d2
mov r8d, reloc.WS2_32.dll_recv
jmp 0x140013c29
test r13d, r13d
je 0x140014e03
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 0x140013c07
mov dword [rdi + 0x18], r14d
cmp r14b, 8
jne 0x140013b7e
test r14d, 0xe000
je 0x140013c4e
lea rax, str.unknown_header_flags_set
jmp 0x140013bef
mov rcx, qword [rdi + 0x28]
test rcx, rcx
je 0x140013c62
mov eax, r14d
shr eax, 8
and eax, 1
mov dword [rcx], eax
test dword [rdi + 0x18], 0x200
je 0x140013c94
test byte [rdi + 0x10], 4
je 0x140013c94
mov ecx, dword [rdi + 0x20]
lea rdx, [rbp - 0x1c]
mov byte [rbp - 0x1c], r14b
mov r8d, 2
shr r14d, 8
mov byte [rbp - 0x1b], r14b
call fcn.1400a5a74
mov dword [rdi + 0x20], eax
xor edx, edx
mov r14d, edx
mov dword [rdi + 8], 0x3f36
mov esi, edx
jmp case.0x140013a9c.16182
test r13d, r13d
je 0x140014e03
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 0x140013ca2
mov rax, qword [rdi + 0x28]
test rax, rax
je 0x140013cd6
mov dword [rax + 4], r14d
test dword [rdi + 0x18], 0x200
je 0x140013d1a
test byte [rdi + 0x10], 4
je 0x140013d1a
mov ecx, dword [rdi + 0x20]
lea rdx, [rbp - 0x1c]
mov eax, r14d
mov byte [rbp - 0x1c], r14b
shr eax, 8
mov r8d, 4
mov byte [rbp - 0x1b], al
mov eax, r14d
shr eax, 0x10
shr r14d, 0x18
mov byte [rbp - 0x1a], al
mov byte [rbp - 0x19], r14b
call fcn.1400a5a74
mov dword [rdi + 0x20], eax
xor edx, edx
mov r14d, edx
mov dword [rdi + 8], 0x3f37
mov esi, edx
mov ebx, reloc.WS2_32.dll_recv
jmp 0x140013d4f
test r13d, r13d
je 0x140014e03
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 0x140013d2d
mov rcx, qword [rdi + 0x28]
test rcx, rcx
je 0x140013d70
movzx eax, r14b
mov dword [rcx + 8], eax
mov ecx, r14d
mov rax, qword [rdi + 0x28]
shr ecx, 8
mov dword [rax + 0xc], ecx
test dword [rdi + 0x18], 0x200
je 0x140013da2
test byte [rdi + 0x10], 4
je 0x140013da2
mov ecx, dword [rdi + 0x20]
lea rdx, [rbp - 0x1c]
mov byte [rbp - 0x1c], r14b
mov r8d, 2
shr r14d, 8
mov byte [rbp - 0x1b], r14b
call fcn.1400a5a74
mov dword [rdi + 0x20], eax
xor edx, edx
mov r14d, edx
mov dword [rdi + 8], 0x3f38
mov esi, edx
jmp 0x140013db5
mov ebx, reloc.WS2_32.dll_recv
test dword [rdi + 0x18], 0x400
jne 0x140013e45
mov rax, qword [rdi + 0x28]
test rax, rax
je 0x140013dcf
mov qword [rax + 0x10], rdx
mov dword [rdi + 8], 0x3f39
test dword [rdi + 0x18], 0x400
je 0x140013ee2
mov ebx, dword [rdi + 0x50]
cmp ebx, r13d
cmova ebx, r13d
test ebx, ebx
je 0x140013ed9
mov rax, qword [rdi + 0x28]
test rax, rax
je 0x140013ea8
mov r9, qword [rax + 0x10]
test r9, r9
je 0x140013ea8
mov edx, dword [rax + 0x18]
sub edx, dword [rdi + 0x50]
mov ecx, dword [rax + 0x1c]
lea eax, [rbx + rdx]
cmp eax, ecx
jbe 0x140013e96
sub ecx, edx
jmp 0x140013e98
test r13d, r13d
je 0x140014e03
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 0x140013e23
mov rax, qword [rdi + 0x28]
mov dword [rdi + 0x50], r14d
test rax, rax
je 0x140013e5a
mov dword [rax + 0x18], r14d
test dword [rdi + 0x18], 0x200
je 0x140013e8c
test byte [rdi + 0x10], 4
je 0x140013e8c
mov ecx, dword [rdi + 0x20]
lea rdx, [rbp - 0x1c]
mov byte [rbp - 0x1c], r14b
mov r8d, 2
shr r14d, 8
mov byte [rbp - 0x1b], r14b
call fcn.1400a5a74
mov dword [rdi + 0x20], eax
xor edx, edx
mov r14d, edx
mov esi, edx
jmp 0x140013dcf
mov ecx, ebx
mov r8d, ecx
mov ecx, edx
mov rdx, r12
add rcx, r9
call fcn.1401ba720
test dword [rdi + 0x18], 0x200
je 0x140013ec8
test byte [rdi + 0x10], 4
je 0x140013ec8
mov ecx, dword [rdi + 0x20]
mov r8d, ebx
mov rdx, r12
call fcn.1400a5a74
mov dword [rdi + 0x20], eax
sub dword [rdi + 0x50], ebx
sub r13d, ebx
mov eax, ebx
add r12, rax
mov qword [rbp - 0x10], r12
xor edx, edx
cmp dword [rdi + 0x50], edx
jne 0x140014e03
mov dword [rdi + 0x50], edx
mov dword [rdi + 8], 0x3f3a
test dword [rdi + 0x18], 0x800
je 0x140013f73
test r13d, r13d
je 0x140014e03
mov ebx, edx
jmp 0x140013f06
mov r12, qword [rbp - 0x10]
mov eax, ebx
inc ebx
movzx r12d, byte [rax + r12]
mov rax, qword [rdi + 0x28]
test rax, rax
je 0x140013f32
mov rdx, qword [rax + 0x20]
test rdx, rdx
je 0x140013f30
mov ecx, dword [rdi + 0x50]
cmp ecx, dword [rax + 0x28]
jae 0x140013f30
mov byte [rcx + rdx], r12b
inc dword [rdi + 0x50]
xor edx, edx
test r12d, r12d
je 0x140013f3c
cmp ebx, r13d
jb 0x140013f02
test dword [rdi + 0x18], 0x200
je 0x140013f5f
test byte [rdi + 0x10], 4
je 0x140013f5f
mov rdx, qword [rbp - 0x10]
mov r8d, ebx
mov ecx, dword [rdi + 0x20]
call fcn.1400a5a74
mov dword [rdi + 0x20], eax
xor edx, edx
mov eax, ebx
sub r13d, ebx
add qword [rbp - 0x10], rax
test r12d, r12d
jne 0x140014e03
jmp 0x140013f80
mov rax, qword [rdi + 0x28]
test rax, rax
je 0x140013f80
mov qword [rax + 0x20], rdx
mov dword [rdi + 0x50], edx
mov dword [rdi + 8], 0x3f3b
test dword [rdi + 0x18], 0x1000
je 0x140014012
test r13d, r13d
je 0x140014e03
mov rcx, qword [rbp - 0x10]
mov ebx, edx
mov eax, ebx
inc ebx
movzx r12d, byte [rax + rcx]
mov rax, qword [rdi + 0x28]
test rax, rax
je 0x140013fd2
mov rdx, qword [rax + 0x30]
test rdx, rdx
je 0x140013fd0
mov ecx, dword [rdi + 0x50]
cmp ecx, dword [rax + 0x38]
jae 0x140013fcc
mov byte [rcx + rdx], r12b
inc dword [rdi + 0x50]
mov rcx, qword [rbp - 0x10]
xor edx, edx
test r12d, r12d
je 0x140013fdc
cmp ebx, r13d
jb 0x140013fa2
test dword [rdi + 0x18], 0x200
je 0x140013ffe
test byte [rdi + 0x10], 4
je 0x140013ffe
mov rdx, rcx
mov r8d, ebx
mov ecx, dword [rdi + 0x20]
call fcn.1400a5a74
mov dword [rdi + 0x20], eax
xor edx, edx
mov eax, ebx
sub r13d, ebx
add qword [rbp - 0x10], rax
test r12d, r12d
jne 0x140014e03
jmp 0x14001401f
mov rax, qword [rdi + 0x28]
test rax, rax
je 0x14001401f
mov qword [rax + 0x30], rdx
mov r12, qword [rbp - 0x10]
mov r9d, dword [rbp - 0x20]
mov r10, qword [rbp - 8]
mov dword [rdi + 8], 0x3f3c
test dword [rdi + 0x18], 0x200
je 0x14001408a
mov r8d, reloc.WS2_32.dll_recv
jmp 0x140014065
test r13d, r13d
je 0x140014e03
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 0x140014043
test byte [rdi + 0x10], 4
je 0x140014085
movzx eax, word [rdi + 0x20]
cmp r14d, eax
je 0x140014085
lea rax, str.header_crc_mismatch
jmp 0x140013bef
mov r14d, edx
mov esi, edx
mov rcx, qword [rdi + 0x28]
test rcx, rcx
je 0x1400140aa
mov eax, dword [rdi + 0x18]
sar eax, 9
and eax, 1
mov dword [rcx + 0x3c], eax
mov rax, qword [rdi + 0x28]
mov dword [rax + 0x40], 1
mov dword [rdi + 0x20], edx
mov dword [r15 + 0x4c], edx
mov dword [rdi + 8], 0x3f3f
jmp 0x1400142d2
test r13d, r13d
je 0x140014e03
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 0x1400140bd
mov ecx, r14d
mov eax, r14d
shl eax, 0x10
mov r8d, 0xff00
and ecx, r8d
mov esi, edx
add ecx, eax
mov eax, r14d
shr eax, 8
and eax, r8d
shl ecx, 8
shr r14d, 0x18
add eax, ecx
add eax, r14d
mov r14d, edx
mov dword [rdi + 0x20], eax
mov dword [r15 + 0x4c], eax
mov dword [rdi + 8], 0x3f3e
cmp dword [rdi + 0x14], edx
je 0x140014dbd
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.140010b6c
mov r9d, dword [rbp - 0x20]
lea r11, [rdi + 0x70]
mov r10, qword [rbp - 8]
xor edx, edx
mov dword [rdi + 0x20], eax
mov dword [r15 + 0x4c], eax
mov dword [rdi + 8], 0x3f3f
cmp dword [rdi + 0xc], edx
je 0x14001418e
mov ecx, esi
mov dword [rdi + 8], 0x3f4e
and ecx, 7
shr r14d, cl
sub esi, ecx
jmp 0x1400142d2
test r13d, r13d
je 0x140014e03
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 0x14001416c
mov eax, r14d
dec esi
and eax, 1
shr r14d, 1
mov dword [rdi + 0xc], eax
mov eax, r14d
and eax, 3
je 0x140014201
sub eax, 1
je 0x1400141d5
sub eax, 1
je 0x1400141cc
cmp eax, 1
jne 0x140014208
lea rax, str.invalid_block_type
mov qword [r15 + 0x20], rax
mov dword [rdi + 8], 0x3f51
jmp 0x140014208
mov dword [rdi + 8], 0x3f44
jmp 0x140014208
lea rax, [0x140246ee0]
mov dword [r11], 9
mov qword [rdi + 0x60], rax
lea rax, [0x1402476e0]
mov qword [rdi + 0x68], rax
mov dword [rbx], 5
mov dword [rdi + 8], 0x3f47
jmp 0x140014208
mov dword [rdi + 8], 0x3f41
shr r14d, 2
add esi, 0xfffffffe
jmp 0x1400142d2
mov ecx, esi
and ecx, 7
shr r14d, cl
sub esi, ecx
jmp 0x140014242
test r13d, r13d
je 0x140014e03
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 0x140014220
mov eax, r14d
movzx ecx, r14w
not eax
shr eax, 0x10
cmp ecx, eax
je 0x140014263
lea rax, str.invalid_stored_block_lengths
jmp 0x140013bef
mov dword [rdi + 0x50], ecx
mov r14d, edx
mov esi, edx
mov dword [rdi + 8], 0x3f42
mov dword [rdi + 8], 0x3f43
mov r12d, dword [rdi + 0x50]
test r12d, r12d
je 0x1400142ec
cmp r12d, r13d
cmova r12d, r13d
cmp r12d, r9d
cmova r12d, r9d
test r12d, r12d
je 0x140014e03
mov rdx, qword [rbp - 0x10]
mov rcx, r10
mov r8d, r12d
mov ebx, r12d
call fcn.1401ba720
mov r9d, dword [rbp - 0x20]
sub r13d, r12d
mov r10, qword [rbp - 8]
sub r9d, r12d
add qword [rbp - 0x10], rbx
add r10, rbx
sub dword [rdi + 0x50], r12d
mov r12, qword [rbp - 0x10]
mov dword [rbp - 0x20], r9d
mov qword [rbp - 8], r10
xor edx, edx
mov eax, dword [rdi + 8]
sub eax, 0x3f34
cmp eax, 0x1e
ja case.default.0x140013a9c
mov r8d, dword [rbp + 0x50]
jmp 0x140013a7a
mov r12, qword [rbp - 0x10]
mov dword [rdi + 8], 0x3f3f
jmp 0x1400142d2
test r13d, r13d
je 0x140014e03
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 0x1400142f9
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 0x140014392
cmp edx, 0x1e
ja 0x140014392
xor edx, edx
mov dword [rdi + 8], 0x3f45
mov dword [rdi + 0x84], edx
mov eax, dword [rdi + 0x78]
lea r9, [0x140000000]
mov r8d, 7
cmp dword [rdi + 0x84], eax
jae 0x140014426
jmp 0x1400143cb
lea rax, str.too_many_length_or_distance_symbols
mov qword [r15 + 0x20], rax
mov dword [rdi + 8], 0x3f51
jmp 0x1400142d0
test r13d, r13d
je 0x140014e03
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 0x1400143a9
mov eax, dword [rdi + 0x84]
movzx ecx, r14w
and cx, r8w
shr r14d, 3
add esi, 0xfffffffd
movzx eax, word [r9 + rax*2 + 0x247760]
mov word [rdi + rax*2 + 0x90], cx
inc dword [rdi + 0x84]
mov eax, dword [rdi + 0x84]
cmp eax, dword [rdi + 0x78]
jb 0x1400143cb
jmp 0x140014426
mov eax, dword [rdi + 0x84]
movzx eax, word [r9 + rax*2 + 0x247760]
mov word [rdi + rax*2 + 0x90], dx
inc dword [rdi + 0x84]
cmp dword [rdi + 0x84], 0x13
jb 0x140014409
lea rax, [rdi + 0x550]
mov dword [r11], r8d
lea r9, [rdi + 0x88]
mov qword [rdi + 0x60], rax
xor ecx, ecx
mov qword [r9], rax
lea rax, [rdi + 0x310]
mov qword [rsp + 0x28], rax
lea rdx, [rdi + 0x90]
mov qword [rsp + 0x20], r11
lea r8d, [rcx + 0x13]
call fcn.14001501c
xor edx, edx
mov dword [rbp + 0x58], eax
test eax, eax
je 0x14001448a
lea rax, str.invalid_code_lengths_set
mov qword [r15 + 0x20], rax
mov dword [rdi + 8], 0x3f51
jmp 0x140013b24
mov dword [rdi + 0x84], edx
lea r11, [rdi + 0x70]
mov dword [rdi + 8], 0x3f46
mov eax, dword [rdi + 0x80]
add eax, dword [rdi + 0x7c]
mov r10d, dword [rdi + 0x84]
cmp r10d, eax
jae 0x1400146c8
mov ecx, dword [r11]
mov eax, 1
shl eax, cl
lea ecx, [rax - 1]
mov eax, r14d
and rcx, rax
mov rax, qword [rdi + 0x60]
mov eax, dword [rax + rcx*4]
mov ecx, eax
shr ecx, 8
or r9d, 0xffffffff
movzx ecx, cl
mov dword [rbp - 0x18], eax
cmp ecx, esi
jbe 0x140014524
test r13d, r13d
je 0x140014e03
movzx eax, byte [r12]
mov ecx, esi
shl eax, cl
inc r12
mov ecx, dword [r11]
add r14d, eax
mov eax, 1
mov qword [rbp - 0x10], r12
shl eax, cl
add r13d, r9d
add esi, 8
lea ecx, [rax - 1]
mov eax, r14d
and rcx, rax
mov rax, qword [rdi + 0x60]
mov eax, dword [rax + rcx*4]
mov ecx, eax
shr ecx, 8
jmp 0x1400144d7
mov edx, eax
mov r8d, reloc.WS2_32.dll_recv
shr edx, 0x10
cmp dx, r8w
jae 0x140014556
shr eax, 8
movzx ecx, al
mov eax, r10d
sub esi, ecx
shr r14d, cl
mov word [rdi + rax*2 + 0x90], dx
inc dword [rdi + 0x84]
jmp 0x14001468e
jne 0x1400145bf
shr eax, 8
movzx edx, al
add edx, 2
jmp 0x140014585
test r13d, r13d
je 0x140014e01
movzx eax, byte [r12]
mov ecx, esi
shl eax, cl
inc r12
add r14d, eax
mov qword [rbp - 0x10], r12
add r13d, r9d
add esi, 8
cmp esi, edx
jb 0x140014563
movzx ecx, byte [rbp - 0x17]
xor edx, edx
shr r14d, cl
sub esi, ecx
test r10d, r10d
je 0x1400146aa
mov edx, r14d
lea eax, [r10 - 1]
movzx r9d, word [rdi + rax*2 + 0x90]
and edx, 3
add edx, 3
shr r14d, 2
add esi, 0xfffffffe
jmp 0x14001465f
movzx r8d, byte [rbp - 0x17]
xor ebx, ebx
cmp word [rbp - 0x16], 0x11
jne 0x140014613
lea edx, [r8 + 3]
cmp esi, edx
jae 0x1400145f9
test r13d, r13d
je 0x140014e01
movzx eax, byte [r12]
mov ecx, esi
shl eax, cl
inc r12
add r14d, eax
mov qword [rbp - 0x10], r12
add r13d, r9d
add esi, 8
jmp 0x1400145d1
mov ecx, r8d
mov eax, 0xfffffffd
shr r14d, cl
mov edx, r14d
and edx, 7
add edx, 3
shr r14d, 3
jmp 0x140014657
lea edx, [r8 + 7]
cmp esi, edx
jae 0x14001463f
test r13d, r13d
je 0x140014e01
movzx eax, byte [r12]
mov ecx, esi
shl eax, cl
inc r12
add r14d, eax
mov qword [rbp - 0x10], r12
add r13d, r9d
add esi, 8
jmp 0x140014617
mov ecx, r8d
mov eax, 0xfffffff9
shr r14d, cl
mov edx, r14d
and edx, 0x7f
add edx, 0xb
shr r14d, 7
sub eax, r8d
mov r9d, ebx
add esi, eax
mov eax, dword [rdi + 0x80]
lea ecx, [r10 + rdx]
add eax, dword [rdi + 0x7c]
cmp ecx, eax
ja 0x1400146b6
test edx, edx
je 0x14001468e
mov eax, dword [rdi + 0x84]
mov word [rdi + rax*2 + 0x90], r9w
inc dword [rdi + 0x84]
add edx, 0xffffffff
jne 0x140014674
mov eax, dword [rdi + 0x80]
add eax, dword [rdi + 0x7c]
mov r10d, dword [rdi + 0x84]
cmp r10d, eax
jae 0x1400146c8
xor edx, edx
jmp 0x1400144b4
lea rax, str.invalid_bit_length_repeat
jmp 0x14001447a
lea rax, str.invalid_bit_length_repeat
mov qword [r15 + 0x20], rax
mov dword [rdi + 8], 0x3f51
xor edx, edx
cmp dword [rdi + 8], 0x3f51
je 0x140013b24
cmp word [rdi + 0x290], dx
jne 0x1400146ec
lea rax, str.invalid_code____missing_end_of_block
jmp 0x14001447a
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], r11
mov ecx, 1
mov dword [r11], 9
call fcn.14001501c
xor edx, edx
mov dword [rbp + 0x58], eax
test eax, eax
je 0x140014755
mov r12, qword [rbp - 0x10]
lea rax, str.invalid_literal_lengths_set
mov qword [r15 + 0x20], rax
mov dword [rdi + 8], 0x3f51
jmp 0x140013b24
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.14001501c
mov r12, qword [rbp - 0x10]
xor edx, edx
mov r9d, dword [rbp - 0x20]
mov r10, qword [rbp - 8]
mov dword [rbp + 0x58], eax
test eax, eax
je 0x1400147b0
lea rax, str.invalid_distances_set
jmp 0x140013bef
mov r8d, dword [rbp + 0x50]
lea rbx, [rdi + 0x74]
mov dword [rdi + 8], 0x3f47
mov dword [rdi + 8], 0x3f48
cmp r13d, 6
jb 0x140014831
cmp r9d, 0x102
jb 0x140014831
mov qword [r15 + 0x10], r10
mov edx, r8d
mov dword [r15 + 0x18], r9d
mov rcx, r15
mov qword [r15], r12
mov dword [r15 + 8], r13d
mov dword [rdi + 0x48], r14d
mov dword [rdi + 0x4c], esi
call fcn.1400132a8
cmp dword [rdi + 8], 0x3f3f
mov r10, qword [r15 + 0x10]
mov r12, qword [r15]
mov r9d, dword [r15 + 0x18]
mov r13d, dword [r15 + 8]
mov r14d, dword [rdi + 0x48]
mov esi, dword [rdi + 0x4c]
mov qword [rbp - 8], r10
mov dword [rbp - 0x20], r9d
mov qword [rbp - 0x10], r12
jne 0x1400142d0
or dword [rdi + 0x1be4], 0xffffffff
jmp 0x1400142d0
mov ecx, dword [rdi + 0x70]
mov eax, 1
mov r11, qword [rdi + 0x60]
shl eax, cl
mov dword [rdi + 0x1be4], edx
lea ecx, [rax - 1]
mov eax, r14d
and rcx, rax
mov eax, dword [r11 + rcx*4]
jmp 0x140014890
test r13d, r13d
je 0x140014e03
movzx eax, byte [r12]
mov ecx, esi
shl eax, cl
inc r12
mov ecx, dword [rdi + 0x70]
add r14d, eax
mov eax, 1
mov qword [rbp - 0x10], r12
shl eax, cl
dec r13d
add esi, 8
lea ecx, [rax - 1]
mov eax, r14d
and rcx, rax
mov rax, qword [rdi + 0x60]
mov eax, dword [rax + rcx*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, esi
ja 0x140014854
test al, al
je 0x140014966
test al, 0xf0
jne 0x140014966
mov r10d, eax
movzx ecx, al
shr r10d, 8
mov r9d, 1
movzx r8d, r10b
mov edx, eax
add ecx, r8d
mov dword [rbp - 0x18], eax
shl r9d, cl
mov ecx, r8d
dec r9d
shr eax, 0x10
and r9d, r14d
shr r9d, cl
add r9d, eax
mov eax, dword [r11 + r9*4]
mov ecx, eax
shr ecx, 8
movzx r8d, cl
movzx ecx, r10b
add r8d, ecx
jmp 0x140014950
test r13d, r13d
je 0x140014e01
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 0x1400148f3
movzx ecx, byte [rbp - 0x17]
shr r14d, cl
sub esi, ecx
xor edx, edx
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 0x140014991
mov dword [rdi + 8], 0x3f4d
jmp 0x140013b24
test al, 0x20
je 0x1400149a8
or dword [rdi + 0x1be4], 0xffffffff
mov dword [rdi + 8], 0x3f3f
jmp 0x140013b24
test al, 0x40
je 0x1400149b8
lea rax, str.invalid_literal_length_code
jmp 0x14001447a
movzx ecx, al
and ecx, 0xf
mov dword [rdi + 8], 0x3f49
mov dword [rdi + 0x58], ecx
mov edx, dword [rdi + 0x58]
test edx, edx
je 0x140014a13
jmp 0x1400149f3
test r13d, r13d
je 0x140014e01
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 0x1400149d1
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]
xor edx, edx
mov dword [rdi + 0x1be8], eax
mov dword [rdi + 8], 0x3f4a
mov ecx, dword [rbx]
mov eax, 1
mov r11, qword [rdi + 0x68]
shl eax, cl
lea ecx, [rax - 1]
mov eax, r14d
and rcx, rax
mov eax, dword [r11 + rcx*4]
jmp 0x140014a7c
test r13d, r13d
je 0x140014e03
movzx eax, byte [r12]
mov ecx, esi
shl eax, cl
inc r12
mov ecx, dword [rbx]
add r14d, eax
mov eax, 1
mov qword [rbp - 0x10], r12
shl eax, cl
dec r13d
add esi, 8
lea ecx, [rax - 1]
mov eax, r14d
and rcx, rax
mov rax, qword [rdi + 0x68]
mov eax, dword [rax + rcx*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, esi
ja 0x140014a41
test al, 0xf0
jne 0x140014b48
mov r10d, eax
movzx ecx, al
shr r10d, 8
mov r9d, 1
movzx r8d, r10b
mov edx, eax
add ecx, r8d
mov dword [rbp - 0x18], eax
shl r9d, cl
mov ecx, r8d
dec r9d
shr eax, 0x10
and r9d, r14d
shr r9d, cl
add r9d, eax
mov eax, dword [r11 + r9*4]
mov ecx, eax
shr ecx, 8
movzx r8d, cl
movzx ecx, r10b
add r8d, ecx
jmp 0x140014b34
test r13d, r13d
je 0x140014e01
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 0x140014ad7
movzx ecx, byte [rbp - 0x17]
shr r14d, cl
sub esi, ecx
add dword [rdi + 0x1be4], ecx
mov r9d, dword [rbp - 0x20]
mov ecx, eax
mov r10, qword [rbp - 8]
shr ecx, 8
movzx ecx, cl
add dword [rdi + 0x1be4], ecx
sub esi, ecx
shr r14d, cl
test al, 0x40
je 0x140014b73
lea rax, str.invalid_distance_code
jmp 0x140014399
mov r8d, 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
mov edx, dword [rdi + 0x58]
test edx, edx
je 0x140014bda
jmp 0x140014bba
test r13d, r13d
je 0x140014e01
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 0x140014b98
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
xor edx, edx
test r9d, r9d
je 0x140014e03
mov ecx, dword [rdi + 0x54]
mov eax, r8d
sub eax, r9d
cmp ecx, eax
jbe 0x140014c35
sub ecx, eax
cmp ecx, dword [rdi + 0x38]
jbe 0x140014c14
cmp dword [rdi + 0x1be0], edx
je 0x140014c14
lea rax, [0x14024ca10]
jmp 0x140013bef
mov eax, dword [rdi + 0x3c]
cmp ecx, eax
jbe 0x140014c24
mov edx, dword [rdi + 0x34]
sub ecx, eax
sub edx, ecx
jmp 0x140014c28
sub eax, ecx
mov edx, eax
add rdx, qword [rdi + 0x40]
mov eax, dword [rdi + 0x50]
cmp ecx, eax
jbe 0x140014c40
jmp 0x140014c3e
mov eax, dword [rdi + 0x50]
mov rdx, r10
sub rdx, rcx
mov ecx, eax
cmp ecx, r9d
cmova ecx, r9d
sub r9d, ecx
sub eax, ecx
mov dword [rbp - 0x20], r9d
sub rdx, r10
mov dword [rdi + 0x50], eax
mov al, byte [rdx + r10]
mov byte [r10], al
inc r10
add ecx, 0xffffffff
jne 0x140014c56
xor edx, edx
mov qword [rbp - 8], r10
cmp dword [rdi + 0x50], edx
jne 0x1400142d2
mov dword [rdi + 8], 0x3f48
jmp 0x1400142d2
test r9d, r9d
je 0x140014e03
mov al, byte [rdi + 0x50]
mov byte [r10], al
inc r10
dec r9d
mov qword [rbp - 8], r10
mov dword [rbp - 0x20], r9d
jmp 0x140014c74
cmp dword [rdi + 0x10], edx
jne 0x140014cd5
mov ebx, dword [rbp + 0x50]
mov dword [rdi + 8], 0x3f4f
jmp 0x140014d7c
test r13d, r13d
je 0x140014e03
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 0x140014cb3
sub r8d, r9d
add dword [r15 + 0x1c], r8d
add dword [rdi + 0x24], r8d
test byte [rdi + 0x10], 4
je 0x140014d21
test r8d, r8d
je 0x140014d21
cmp dword [rdi + 0x18], edx
mov rdx, r10
mov ecx, dword [rdi + 0x20]
je 0x140014d08
mov eax, r8d
sub rdx, rax
call fcn.1400a5a74
jmp 0x140014d10
sub rdx, r8
call fcn.140010b6c
mov r9d, dword [rbp - 0x20]
xor edx, edx
mov r10, qword [rbp - 8]
mov dword [rdi + 0x20], eax
mov dword [r15 + 0x4c], eax
test byte [rdi + 0x10], 4
mov ebx, r9d
mov dword [rbp + 0x50], ebx
je 0x140014d6f
mov r8d, 0xff00
mov ecx, r14d
and ecx, r8d
mov eax, r14d
shl eax, 0x10
add ecx, eax
mov eax, r14d
shr eax, 8
and eax, r8d
shl ecx, 8
add ecx, eax
mov eax, r14d
shr eax, 0x18
add ecx, eax
cmp dword [rdi + 0x18], edx
cmovne ecx, r14d
cmp ecx, dword [rdi + 0x20]
je 0x140014d6f
lea rax, str.incorrect_data_check
jmp 0x140013bef
mov r14d, edx
mov esi, edx
jmp 0x140014ca7
mov ebx, dword [rbp + 0x50]
cmp dword [rdi + 0x10], edx
je 0x140014de2
cmp dword [rdi + 0x18], edx
je 0x140014de2
jmp 0x140014da6
test r13d, r13d
je 0x140014e06
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 0x140014d88
cmp r14d, dword [rdi + 0x24]
je 0x140014ddd
lea rax, str.incorrect_length_check
jmp 0x140013bef
mov qword [r15 + 0x10], r10
mov eax, 2
mov dword [r15 + 0x18], r9d
mov qword [r15], r12
mov dword [r15 + 8], r13d
mov dword [rdi + 0x48], r14d
mov dword [rdi + 0x4c], esi
jmp 0x140014f3f
mov r14d, edx
mov esi, edx
mov dword [rdi + 8], 0x3f50
jmp 0x140014dee
mov ebx, dword [rbp + 0x50]
mov r12d, 1
jmp 0x140014e0a
mov ebx, dword [rbp + 0x50]
mov r12d, 0xfffffffd
jmp 0x140014e0a
xor edx, edx
mov ebx, dword [rbp + 0x50]
mov r12d, dword [rbp + 0x58]
mov rax, qword [rbp - 8]
mov qword [r15 + 0x10], rax
mov eax, dword [rbp - 0x20]
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], edx
jne 0x140014e50
cmp ebx, dword [r15 + 0x18]
je 0x140014e7a
cmp dword [rdi + 8], 0x3f51
jge 0x140014e7a
cmp dword [rdi + 8], 0x3f4e
jl 0x140014e50
cmp esi, 4
je 0x140014e7a
mov rdx, qword [r15 + 0x10]
mov r8d, ebx
sub r8d, dword [r15 + 0x18]
mov rcx, r15
call fcn.1400138e4
xor edx, edx
test eax, eax
je 0x140014e7a
mov dword [rdi + 8], 0x3f52
mov eax, 0xfffffffc
jmp 0x140014f3f
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 0x140014ed0
test ebx, ebx
je 0x140014ed0
cmp dword [rdi + 0x18], edx
mov rdx, qword [r15 + 0x10]
mov ecx, dword [rdi + 0x20]
je 0x140014eba
mov eax, ebx
mov r8d, ebx
sub rdx, rax
call fcn.1400a5a74
jmp 0x140014ec5
mov r8d, ebx
sub rdx, r8
call fcn.140010b6c
mov r8d, dword [rbp - 0x14]
mov dword [rdi + 0x20], eax
mov dword [r15 + 0x4c], eax
cmp dword [rdi + 8], 0x3f47
je 0x140014eea
cmp dword [rdi + 8], 0x3f42
je 0x140014eea
xor r10d, r10d
mov edx, r10d
jmp 0x140014ef2
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 0x140014f24
test ebx, ebx
je 0x140014f29
cmp esi, 4
jne 0x140014f35
test r12d, r12d
mov eax, 0xfffffffb
cmove r12d, eax
mov eax, r12d
jmp 0x140014f3f
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