Function at 0x1800010bc
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 0x1800013f0
test rdi, rdi
je 0x1800013f0
or rbp, 0xffffffffffffffff
cld
xor rdx, rdx
sub r10, 1
jb 0x1800013f0
mov al, byte [rsi]
add rsi, 1
sub r11, 1
jb 0x1800013f0
mov byte [rdi], al
add rdi, 1
mov rbx, 2
add dl, dl
jne 0x180001133
sub r10, 1
jb 0x1800013f0
mov dl, byte [rsi]
add rsi, 1
add dl, dl
inc dl
jae 0x1800010f4
add dl, dl
jne 0x18000114d
sub r10, 1
jb 0x1800013f0
mov dl, byte [rsi]
add rsi, 1
add dl, dl
inc dl
jae 0x180001218
xor rax, rax
add dl, dl
jne 0x18000116e
sub r10, 1
jb 0x1800013f0
mov dl, byte [rsi]
add rsi, 1
add dl, dl
inc dl
jae 0x18000139e
add dl, dl
jne 0x18000118c
sub r10, 1
jb 0x1800013f0
mov dl, byte [rsi]
add rsi, 1
add dl, dl
inc dl
adc rax, rax
add dl, dl
jne 0x1800011a7
sub r10, 1
jb 0x1800013f0
mov dl, byte [rsi]
add rsi, 1
add dl, dl
inc dl
adc rax, rax
add dl, dl
jne 0x1800011c2
sub r10, 1
jb 0x1800013f0
mov dl, byte [rsi]
add rsi, 1
add dl, dl
inc dl
adc rax, rax
add dl, dl
jne 0x1800011dd
sub r10, 1
jb 0x1800013f0
mov dl, byte [rsi]
add rsi, 1
add dl, dl
inc dl
adc rax, rax
je 0x1800011fc
mov r8, qword [rsp + 0x20]
sub r8, r11
cmp rax, r8
ja 0x1800013f0
mov r8, rdi
sub r8, rax
mov al, byte [r8]
sub r11, 1
jb 0x1800013f0
mov byte [rdi], al
add rdi, 1
mov rbx, 2
jmp 0x18000111b
mov rax, 1
add dl, dl
jne 0x180001237
sub r10, 1
jb 0x1800013f0
mov dl, byte [rsi]
add rsi, 1
add dl, dl
inc dl
adc rax, rax
jb 0x1800013f0
add dl, dl
jne 0x180001258
sub r10, 1
jb 0x1800013f0
mov dl, byte [rsi]
add rsi, 1
add dl, dl
inc dl
jb 0x18000121f
sub rax, rbx
mov rbx, 1
jne 0x1800012e0
mov rcx, 1
add dl, dl
jne 0x180001285
sub r10, 1
jb 0x1800013f0
mov dl, byte [rsi]
add rsi, 1
add dl, dl
inc dl
adc rcx, rcx
jb 0x1800013f0
add dl, dl
jne 0x1800012a6
sub r10, 1
jb 0x1800013f0
mov dl, byte [rsi]
add rsi, 1
add dl, dl
inc dl
jb 0x18000126d
mov r8, qword [rsp + 0x20]
sub r8, r11
cmp rbp, r8
ja 0x1800013f0
sub r11, rcx
jb 0x1800013f0
mov r8, rdi
sub r8, rbp
mov al, byte [r8]
add r8, 1
mov byte [rdi], al
add rdi, 1
sub rcx, 1
jne 0x1800012c8
jmp 0x18000111b
add rax, 0xffffffffffffffff
cmp rax, 0xfffffe
ja 0x1800013f0
shl rax, 8
sub r10, 1
jb 0x1800013f0
mov al, byte [rsi]
add rsi, 1
mov rbp, rax
mov ecx, 1
add dl, dl
jne 0x180001324
sub r10, 1
jb 0x1800013f0
mov dl, byte [rsi]
add rsi, 1
add dl, dl
inc dl
adc ecx, ecx
jb 0x1800013f0
add dl, dl
jne 0x180001344
sub r10, 1
jb 0x1800013f0
mov dl, byte [rsi]
add rsi, 1
add dl, dl
inc dl
jb 0x18000130c
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 0x1800013f0
sub r11, rcx
jb 0x1800013f0
mov r8, rdi
sub r8, rax
mov al, byte [r8]
add r8, 1
mov byte [rdi], al
add rdi, 1
sub rcx, 1
jne 0x180001386
jmp 0x18000111b
sub r10, 1
jb 0x1800013f0
mov al, byte [rsi]
add rsi, 1
xor rcx, rcx
shr al, 1
je 0x1800013f6
adc rcx, 2
mov rbp, rax
mov r8, qword [rsp + 0x20]
sub r8, r11
cmp rax, r8
ja 0x1800013f0
sub r11, rcx
jb 0x1800013f0
mov r8, rdi
sub r8, rax
mov al, byte [r8]
add r8, 1
mov byte [rdi], al
add rdi, 1
sub rcx, 1
jne 0x1800013d1
mov rbx, 1
jmp 0x18000111b
or rax, 0xffffffffffffffff
jmp 0x1800013fe
mov rax, rdi
sub rax, qword [rsp + 0x28]
mov rbp, qword [rsp + 0x30]
pop rdi
pop rsi
pop rbx
ret