Function at 0x140001380
Capabilities:
Decompress data using lzo

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
mov qword [r9], 0
lea rbx, [rcx + rdx]
movzx eax, byte [rcx]
mov rdi, r8
mov r11, rcx
mov r10, r8
cmp al, 0x11
jbe 0x1400013d8
lea rcx, [rax - 0x11]
inc r11
cmp rcx, 4
jb 0x1400016b7
nop word [rax + rax]
movzx eax, byte [r11]
inc r11
mov byte [r10], al
inc r10
sub rcx, 1
jne 0x1400013c0
jmp 0x140001498
movzx eax, al
inc r11
cmp rax, 0x10
jae 0x1400014e6
test rax, rax
jne 0x14000141f
movzx ecx, byte [r11]
test cl, cl
jne 0x140001412
nop word [rax + rax]
movzx ecx, byte [r11 + 1]
inc r11
add rax, 0xff
test cl, cl
je 0x140001400
inc r11
movzx ecx, cl
add rax, 0xf
add rax, rcx
add rax, 3
cmp rax, 8
jb 0x140001448
nop dword [rax]
mov rcx, qword [r11]
sub rax, 8
mov qword [r10], rcx
add r11, 8
add r10, 8
cmp rax, 8
jae 0x140001430
cmp rax, 4
jb 0x140001460
mov ecx, dword [r11]
add r11, 4
mov dword [r10], ecx
add r10, 4
sub rax, 4
test rax, rax
je 0x140001498
movzx ecx, byte [r11]
inc r11
mov byte [r10], cl
inc r10
cmp rax, 1
jbe 0x140001498
movzx ecx, byte [r11]
inc r11
mov byte [r10], cl
inc r10
cmp rax, 2
jbe 0x140001498
movzx eax, byte [r11]
inc r11
mov byte [r10], al
inc r10
movzx eax, byte [r11]
inc r11
cmp rax, 0x10
jae 0x1400014e6
movzx ecx, byte [r11]
mov rdx, r10
shr rax, 2
inc r11
shl rcx, 2
sub rdx, rcx
sub rdx, rax
movzx eax, byte [rdx - 0x801]
mov byte [r10], al
movzx eax, byte [rdx - 0x800]
mov byte [r10 + 1], al
movzx eax, byte [rdx - 0x7ff]
mov byte [r10 + 2], al
add r10, 3
jmp 0x1400016ad
cmp rax, 0x40
jb 0x140001549
movzx edx, byte [r11]
mov rcx, rax
shr rcx, 2
mov r8, r10
and ecx, 7
shl rdx, 3
sub r8, rcx
shr rax, 5
sub r8, rdx
inc r11
dec r8
dec rax
movzx ecx, byte [r8]
mov byte [r10], cl
movzx ecx, byte [r8 + 1]
add r8, 2
mov byte [r10 + 1], cl
add r10, 2
nop dword [rax]
movzx ecx, byte [r8]
lea r8, [r8 + 1]
mov byte [r10], cl
inc r10
sub rax, 1
jne 0x140001530
jmp 0x1400016ad
cmp rax, 0x20
jb 0x140001594
and eax, 0x1f
jne 0x14000157f
movzx ecx, byte [r11]
test cl, cl
jne 0x140001572
nop dword [rax]
movzx ecx, byte [r11 + 1]
inc r11
add rax, 0xff
test cl, cl
je 0x140001560
inc r11
movzx ecx, cl
add rax, 0x1f
add rax, rcx
movzx edx, word [r11]
lea r8, [r10 - 1]
shr rdx, 2
sub r8, rdx
add r11, 2
jmp 0x1400015fe
cmp rax, 0x10
jb 0x140001683
mov rcx, rax
mov r8, r10
and ecx, 8
shl rcx, 0xb
sub r8, rcx
and eax, 7
jne 0x1400015df
movzx ecx, byte [r11]
test cl, cl
jne 0x1400015d2
nop dword [rax + rax]
movzx ecx, byte [r11 + 1]
inc r11
add rax, 0xff
test cl, cl
je 0x1400015c0
inc r11
movzx ecx, cl
add rax, 7
add rax, rcx
movzx edx, word [r11]
add r11, 2
shr rdx, 2
sub r8, rdx
cmp r8, r10
je 0x1400016ff
sub r8, 0x4000
mov rcx, r10
sub rcx, r8
cmp rcx, 8
jl 0x140001514
add rax, 2
cmp rax, 8
jb 0x140001638
nop dword [rax + rax]
mov rcx, qword [r8]
sub rax, 8
mov qword [r10], rcx
add r8, 8
add r10, 8
cmp rax, 8
jae 0x140001620
cmp rax, 4
jb 0x140001650
mov ecx, dword [r8]
add r8, 4
mov dword [r10], ecx
add r10, 4
sub rax, 4
test rax, rax
je 0x1400016ad
movzx ecx, byte [r8]
mov byte [r10], cl
inc r10
cmp rax, 1
jbe 0x1400016ad
movzx ecx, byte [r8 + 1]
mov byte [r10], cl
inc r10
cmp rax, 2
jbe 0x1400016ad
movzx eax, byte [r8 + 2]
mov byte [r10], al
inc r10
jmp 0x1400016ad
movzx ecx, byte [r11]
mov rdx, r10
shr rax, 2
inc r11
shl rcx, 2
sub rdx, rcx
sub rdx, rax
movzx eax, byte [rdx - 1]
mov byte [r10], al
movzx eax, byte [rdx]
mov byte [r10 + 1], al
add r10, 2
movzx ecx, byte [r11 - 2]
and ecx, 3
je 0x1400016f6
movzx eax, byte [r11]
inc r11
mov byte [r10], al
inc r10
cmp rcx, 1
jbe 0x1400016ea
movzx eax, byte [r11]
inc r11
mov byte [r10], al
inc r10
cmp rcx, 2
jbe 0x1400016ea
movzx eax, byte [r11]
inc r11
mov byte [r10], al
inc r10
movzx eax, byte [r11]
inc r11
jmp 0x1400014e6
movzx eax, byte [r11]
jmp 0x1400013d8
sub r10, rdi
mov qword [r9], r10
cmp r11, rbx
jne 0x140001717
xor eax, eax
mov rbx, qword [rsp + 8]
mov rdi, qword [rsp + 0x10]
ret
mov rbx, qword [rsp + 8]
mov eax, 0xfffffffc
mov rdi, qword [rsp + 0x10]
mov ecx, 0xfffffff8
cmovb eax, ecx
ret