Function at 0x1400010bc
Capabilities:
Decompress data using aplib

Disassembly:
mov qword [rsp + 8], r9
mov qword [rsp + 0x10], r8
mov qword [rsp + 0x18], rbp
push rbx
push rsi
push rdi
mov rsi, rcx
mov r10, rdx
mov rdi, r8
mov r11, r9
test rsi, rsi
je 0x1400013f0
test rdi, rdi
je 0x1400013f0
or rbp, 0xffffffffffffffff
cld
xor rdx, rdx
sub r10, 1
jb 0x1400013f0
mov al, byte [rsi]
add rsi, 1
sub r11, 1
jb 0x1400013f0
mov byte [rdi], al
add rdi, 1
mov rbx, 2
add dl, dl
jne 0x140001133
sub r10, 1
jb 0x1400013f0
mov dl, byte [rsi]
add rsi, 1
add dl, dl
inc dl
jae 0x1400010f4
add dl, dl
jne 0x14000114d
sub r10, 1
jb 0x1400013f0
mov dl, byte [rsi]
add rsi, 1
add dl, dl
inc dl
jae 0x140001218
xor rax, rax
add dl, dl
jne 0x14000116e
sub r10, 1
jb 0x1400013f0
mov dl, byte [rsi]
add rsi, 1
add dl, dl
inc dl
jae 0x14000139e
add dl, dl
jne 0x14000118c
sub r10, 1
jb 0x1400013f0
mov dl, byte [rsi]
add rsi, 1
add dl, dl
inc dl
adc rax, rax
add dl, dl
jne 0x1400011a7
sub r10, 1
jb 0x1400013f0
mov dl, byte [rsi]
add rsi, 1
add dl, dl
inc dl
adc rax, rax
add dl, dl
jne 0x1400011c2
sub r10, 1
jb 0x1400013f0
mov dl, byte [rsi]
add rsi, 1
add dl, dl
inc dl
adc rax, rax
add dl, dl
jne 0x1400011dd
sub r10, 1
jb 0x1400013f0
mov dl, byte [rsi]
add rsi, 1
add dl, dl
inc dl
adc rax, rax
je 0x1400011fc
mov r8, qword [rsp + 0x20]
sub r8, r11
cmp rax, r8
ja 0x1400013f0
mov r8, rdi
sub r8, rax
mov al, byte [r8]
sub r11, 1
jb 0x1400013f0
mov byte [rdi], al
add rdi, 1
mov rbx, 2
jmp 0x14000111b
mov rax, 1
add dl, dl
jne 0x140001237
sub r10, 1
jb 0x1400013f0
mov dl, byte [rsi]
add rsi, 1
add dl, dl
inc dl
adc rax, rax
jb 0x1400013f0
add dl, dl
jne 0x140001258
sub r10, 1
jb 0x1400013f0
mov dl, byte [rsi]
add rsi, 1
add dl, dl
inc dl
jb 0x14000121f
sub rax, rbx
mov rbx, 1
jne 0x1400012e0
mov rcx, 1
add dl, dl
jne 0x140001285
sub r10, 1
jb 0x1400013f0
mov dl, byte [rsi]
add rsi, 1
add dl, dl
inc dl
adc rcx, rcx
jb 0x1400013f0
add dl, dl
jne 0x1400012a6
sub r10, 1
jb 0x1400013f0
mov dl, byte [rsi]
add rsi, 1
add dl, dl
inc dl
jb 0x14000126d
mov r8, qword [rsp + 0x20]
sub r8, r11
cmp rbp, r8
ja 0x1400013f0
sub r11, rcx
jb 0x1400013f0
mov r8, rdi
sub r8, rbp
mov al, byte [r8]
add r8, 1
mov byte [rdi], al
add rdi, 1
sub rcx, 1
jne 0x1400012c8
jmp 0x14000111b
add rax, 0xffffffffffffffff
cmp rax, 0xfffffe
ja 0x1400013f0
shl rax, 8
sub r10, 1
jb 0x1400013f0
mov al, byte [rsi]
add rsi, 1
mov rbp, rax
mov ecx, 1
add dl, dl
jne 0x140001324
sub r10, 1
jb 0x1400013f0
mov dl, byte [rsi]
add rsi, 1
add dl, dl
inc dl
adc ecx, ecx
jb 0x1400013f0
add dl, dl
jne 0x140001344
sub r10, 1
jb 0x1400013f0
mov dl, byte [rsi]
add rsi, 1
add dl, dl
inc dl
jb 0x14000130c
cmp rax, 0x7d00
sbb rcx, 0xffffffffffffffff
cmp rax, 0x500
sbb rcx, 0xffffffffffffffff
cmp rax, 0x80
adc rcx, 0
cmp rax, 0x80
adc rcx, 0
mov r8, qword [rsp + 0x20]
sub r8, r11
cmp rax, r8
ja 0x1400013f0
sub r11, rcx
jb 0x1400013f0
mov r8, rdi
sub r8, rax
mov al, byte [r8]
add r8, 1
mov byte [rdi], al
add rdi, 1
sub rcx, 1
jne 0x140001386
jmp 0x14000111b
sub r10, 1
jb 0x1400013f0
mov al, byte [rsi]
add rsi, 1
xor rcx, rcx
shr al, 1
je 0x1400013f6
adc rcx, 2
mov rbp, rax
mov r8, qword [rsp + 0x20]
sub r8, r11
cmp rax, r8
ja 0x1400013f0
sub r11, rcx
jb 0x1400013f0
mov r8, rdi
sub r8, rax
mov al, byte [r8]
add r8, 1
mov byte [rdi], al
add rdi, 1
sub rcx, 1
jne 0x1400013d1
mov rbx, 1
jmp 0x14000111b
or rax, 0xffffffffffffffff
jmp 0x1400013fe
mov rax, rdi
sub rax, qword [rsp + 0x28]
mov rbp, qword [rsp + 0x30]
pop rdi
pop rsi
pop rbx
ret