Function at 0x10009a7f
Capabilities:
Decompress data using lzo

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
mov rbx, r9
xor ebp, ebp
mov r9d, edx
or r12d, 0xffffffff
add r9, rcx
mov dword [rbx], ebp
cmp byte [rcx], 0x11
mov rdi, r8
mov r10, rcx
mov r11, r8
lea esi, [rbp + 1]
jbe 0x10009adb
movzx ecx, byte [rcx]
sub ecx, 0x11
inc r10
cmp ecx, 4
jb 0x10009cd6
mov al, byte [r10]
add r10, rsi
mov byte [r11], al
add r11, rsi
add ecx, r12d
jne 0x10009ac8
jmp 0x10009b43
movzx r8d, byte [r10]
add r10, rsi
cmp r8d, 0x10
jae 0x10009b8c
test r8d, r8d
jne 0x10009b0e
jmp 0x10009afd
add r8d, 0xff
add r10, rsi
cmp byte [r10], bpl
je 0x10009af3
movzx eax, byte [r10]
add r10, rsi
lea r8d, [r8 + rax + 0xf]
mov al, byte [r10]
add r10, rsi
mov byte [r11], al
mov al, byte [r10]
add r11, rsi
mov byte [r11], al
add r11, rsi
add r10, rsi
mov al, byte [r10]
mov byte [r11], al
add r11, rsi
add r10, rsi
mov al, byte [r10]
add r10, rsi
mov byte [r11], al
add r11, rsi
add r8d, r12d
jne 0x10009b32
movzx r8d, byte [r10]
add r10, rsi
cmp r8d, 0x10
jae 0x10009b8c
movzx eax, byte [r10]
mov rdx, r11
shl eax, 2
movsxd rcx, eax
mov eax, r8d
shr rax, 2
sub rdx, rcx
sub rdx, rax
mov al, byte [rdx - 0x801]
mov byte [r11], al
mov al, byte [rdx + rsi - 0x801]
add r11, rsi
mov byte [r11], al
mov al, byte [rdx + rsi - 0x800]
jmp 0x10009cbc
cmp r8d, 0x40
jb 0x10009bc1
mov eax, r8d
mov rdx, r11
shr r8d, 5
shr rax, 2
and eax, 7
sub rdx, rax
movzx eax, byte [r10]
add r10, rsi
shl eax, 3
movsxd rcx, eax
sub rdx, rcx
sub rdx, rsi
sub r8d, esi
jmp 0x10009c72
cmp r8d, 0x20
jb 0x10009c0c
and r8d, 0x1f
jne 0x10009bea
jmp 0x10009bd9
add r8d, 0xff
add r10, rsi
cmp byte [r10], bpl
je 0x10009bcf
movzx eax, byte [r10]
add r10, rsi
lea r8d, [r8 + rax + 0x1f]
movzx eax, byte [r10]
movzx ecx, byte [r10 + 1]
mov rdx, r11
shr eax, 2
shl ecx, 6
add eax, ecx
cdqe
sub rdx, rax
sub rdx, rsi
add r10, 2
jmp 0x10009c72
mov rdx, r11
cmp r8d, 0x10
jb 0x10009c9a
mov eax, r8d
and eax, 8
shl eax, 0xb
sub rdx, rax
and r8d, 7
jne 0x10009c48
jmp 0x10009c37
add r8d, 0xff
add r10, rsi
cmp byte [r10], bpl
je 0x10009c2d
movzx eax, byte [r10]
add r10, rsi
lea r8d, [r8 + rax + 7]
movzx eax, byte [r10]
movzx ecx, byte [r10 + 1]
add r10, 2
shr eax, 2
shl ecx, 6
add eax, ecx
cdqe
sub rdx, rax
cmp rdx, r11
je 0x10009cf3
sub rdx, 0x4000
mov al, byte [rdx]
add rdx, rsi
mov byte [r11], al
mov al, byte [rdx]
add r11, rsi
mov byte [r11], al
add r11, rsi
add rdx, rsi
mov al, byte [rdx]
add rdx, rsi
mov byte [r11], al
add r11, rsi
add r8d, r12d
jne 0x10009c88
jmp 0x10009cc8
movzx eax, byte [r10]
shl eax, 2
movsxd rcx, eax
mov eax, r8d
shr rax, 2
sub rdx, rcx
sub rdx, rax
sub rdx, rsi
mov al, byte [rdx]
mov byte [r11], al
mov al, byte [rdx + 1]
add r11, rsi
add r10, rsi
mov byte [r11], al
add r11, rsi
movzx ecx, byte [r10 - 2]
and ecx, 3
je 0x10009adb
mov al, byte [r10]
add r10, rsi
mov byte [r11], al
add r11, rsi
add ecx, r12d
jne 0x10009cd6
movzx r8d, byte [r10]
add r10, rsi
jmp 0x10009b8c
mov rsi, qword [rsp + 0x20]
sub r11d, edi
mov rdi, qword [rsp + 0x28]
cmp r10, r9
mov dword [rbx], r11d
mov rbx, qword [rsp + 0x10]
sbb eax, eax
and eax, 0xfffffffc
add eax, 0xfffffffc
cmp r10, r9
cmove eax, ebp
mov rbp, qword [rsp + 0x18]
pop r12
ret