Function at 0x14000aa18
Capabilities:
Decompress data using aplib

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x48
lea rdi, [rsp + 0x28]
mov dword [rdi + 0x14], 0
lea rax, [rcx + 1]
mov qword [rdi], rax
mov al, byte [rcx]
lea rcx, [rdx + 1]
mov qword [rdi + 8], rcx
mov rcx, rdx
mov qword [rsp + 0x40], rdx
mov byte [rdx], al
mov eax, 0xc78df5d7
xor r13d, r13d
mov ebp, 0xffffffff
xor r12d, r12d
cmp eax, 0xf889901
jle 0x14000aaae
cmp eax, 0x6057b0a3
jle 0x14000ab00
cmp eax, 0x6e1e5e42
jg 0x14000abb7
cmp eax, 0x6855f91a
jg 0x14000acaf
cmp eax, 0x6057b0a4
je 0x14000ae4a
cmp eax, 0x622d1e95
je 0x14000ae54
cmp eax, 0x6555e2a6
jne 0x14000aa5f
mov eax, 0xb61637a1
mov ebp, r14d
jmp 0x14000aa5f
cmp eax, 0xb39af2b5
jle 0x14000ab41
cmp eax, 0xc94e4978
jg 0x14000abf5
cmp eax, 0xba745576
jg 0x14000acda
cmp eax, 0xb39af2b6
je 0x14000ae68
cmp eax, 0xb4dce7d2
je 0x14000ae7c
cmp eax, 0xb61637a1
jne 0x14000aa5f
mov eax, 0xfc2150c8
mov r13d, 1
jmp 0x14000aa5f
cmp eax, 0x3b8c72f4
jle 0x14000ac45
cmp eax, 0x4d38c839
jg 0x14000ad10
cmp eax, 0x3b8c72f5
je 0x14000ae90
cmp eax, 0x40b91df3
je 0x14000ae9c
cmp eax, 0x4990fa62
jne 0x14000aa5f
mov eax, 0x60b415
jmp 0x14000aa5f
cmp eax, 0x9207f112
jle 0x14000ac76
cmp eax, 0xa590053b
jg 0x14000ad4d
cmp eax, 0x9207f113
je 0x14000aea9
cmp eax, 0x937075c1
je 0x14000aeb7
cmp eax, 0x9e4f3ed1
jne 0x14000aa5f
shl r14d, 8
mov rax, qword [rsp + 0x28]
lea rcx, [rax + 1]
mov qword [rsp + 0x28], rcx
movzx r15d, byte [rax]
or r15d, r14d
mov rcx, rdi
call fcn.14000b158
mov ebx, eax
cmp r15d, 0x7d00
mov eax, 0xad788915
mov ecx, 0x86209936
cmovae eax, ecx
mov r14d, r15d
jmp 0x14000aa5f
cmp eax, 0x78b61113
jg 0x14000ad92
cmp eax, 0x6e1e5e43
je 0x14000aec3
cmp eax, 0x6eacdd26
je 0x14000aed9
cmp eax, 0x6ed9ab2c
jne 0x14000aa5f
mov eax, 0xb39af2b6
mov esi, 4
xor r14d, r14d
jmp 0x14000aa5f
cmp eax, 0xfc2150c7
jg 0x14000adb8
cmp eax, 0xc94e4979
je 0x14000aef0
cmp eax, 0xe8f98baf
je 0x14000af24
cmp eax, 0xfabc31a1
jne 0x14000aa5f
mov rax, qword [rsp + 0x30]
mov ecx, r14d
mov rdx, rax
sub rdx, rcx
mov cl, byte [rdx]
mov byte [rax], cl
inc rax
mov qword [rsp + 0x30], rax
mov eax, 0x937075c1
jmp 0x14000aa5f
cmp eax, 0x1aa3b30e
jg 0x14000adee
cmp eax, 0xf889902
je 0x14000af30
cmp eax, 0x11c72f9a
je 0x14000af4b
cmp eax, 0x16a6b971
je 0x14000af9c
jmp 0x14000aa5f
cmp eax, 0x86dd9662
jle 0x14000ae28
cmp eax, 0x86dd9663
je 0x14000af57
cmp eax, 0x8fab7cc8
je 0x14000af84
cmp eax, 0x8fee478d
jne 0x14000aa5f
mov eax, 0x78b61114
xor r13d, r13d
jmp 0x14000aa5f
cmp eax, 0x6855f91b
je 0x14000af9a
cmp eax, 0x690814d6
je 0x14000afa6
cmp eax, 0x6beb3bc7
jne 0x14000aa5f
mov eax, 0xb61637a1
jmp 0x14000aa5f
cmp eax, 0xba745577
je 0x14000afc6
cmp eax, 0xbfb04179
je 0x14000afda
cmp eax, 0xc78df5d7
jne 0x14000aa5f
test r12d, r12d
mov eax, 0x2ae422b9
mov ecx, 0x5ec39e12
cmove eax, ecx
jmp 0x14000aa5f
cmp eax, 0x4d38c83a
je 0x14000afea
cmp eax, 0x5326e7d9
je 0x14000b006
cmp eax, 0x5ec39e12
jne 0x14000aa5f
mov rcx, rdi
call fcn.14000b0e6
test eax, eax
mov eax, 0x1aa3b30f
mov ecx, 0x86dd9663
cmove eax, ecx
jmp 0x14000aa5f
cmp eax, 0xa590053c
je 0x14000b014
cmp eax, 0xad788915
je 0x14000b038
cmp eax, 0xb25915fa
jne 0x14000aa5f
mov rax, qword [rsp + 0x30]
mov ecx, r14d
mov rdx, rax
sub rdx, rcx
mov cl, byte [rdx]
mov byte [rax], cl
inc rax
mov qword [rsp + 0x30], rax
mov eax, 0xe8f98baf
jmp 0x14000aa5f
cmp eax, 0x78b61114
je 0x14000b051
cmp eax, 0x7b3d2f0e
je 0x14000b05b
cmp eax, 0x7fdd1c8c
je 0x14000af26
jmp 0x14000aa5f
cmp eax, 0xfc2150c8
je 0x14000b070
cmp eax, 0x60b415
je 0x14000b07a
cmp eax, 0xd40dd76
jne 0x14000aa5f
test r13d, r13d
mov eax, 0x5326e7d9
mov ecx, 0x9207f113
cmove eax, ecx
jmp 0x14000aa5f
cmp eax, 0x1aa3b30f
je 0x14000b08d
cmp eax, 0x39b72fb8
jne 0x14000b0c2
mov rax, qword [rsp + 0x30]
mov ecx, r14d
mov rdx, rax
sub rdx, rcx
mov cl, byte [rdx]
mov byte [rax], cl
inc rax
mov qword [rsp + 0x30], rax
mov eax, 0x8fee478d
jmp 0x14000aa5f
cmp eax, 0x803603b4
je 0x14000b0a9
cmp eax, 0x86209936
jne 0x14000aa5f
inc ebx
mov eax, 0xad788915
jmp 0x14000aa5f
mov eax, 0xc78df5d7
jmp 0x14000aa5f
test ebx, ebx
mov eax, 0xa590053c
mov ecx, 0x4990fa62
cmove eax, ecx
jmp 0x14000aa5f
test esi, esi
mov eax, 0x8fab7cc8
mov ecx, 0x7b3d2f0e
cmove eax, ecx
jmp 0x14000aa5f
test ebx, ebx
mov eax, 0xb25915fa
mov ecx, 0x6555e2a6
cmove eax, ecx
jmp 0x14000aa5f
inc ebx
mov eax, 0x803603b4
jmp 0x14000aa5f
add ebx, 2
mov eax, 0x7fdd1c8c
jmp 0x14000aa5f
add r14d, 0xfffffffd
mov eax, 0x9e4f3ed1
jmp 0x14000aa5f
dec ebx
mov eax, 0xba745577
jmp 0x14000aa5f
cmp r14d, 2
mov eax, 0xd40dd76
mov ecx, 0x6eacdd26
cmove eax, ecx
jmp 0x14000aa5f
mov rcx, rdi
call fcn.14000b158
mov ebx, eax
mov eax, 0xba745577
mov r14d, ebp
jmp 0x14000aa5f
mov rax, qword [rsp + 0x28]
lea rcx, [rax + 1]
mov qword [rsp + 0x28], rcx
movzx eax, byte [rax]
mov ebx, eax
and ebx, 1
or ebx, 2
mov r14d, eax
shr r14d, 1
cmp eax, 2
mov eax, 0x16a6b971
mov ecx, 0xbfb04179
cmovb eax, ecx
jmp 0x14000aa5f
dec ebx
mov eax, 0xb4dce7d2
jmp 0x14000aa5f
mov rax, qword [rsp + 0x30]
lea rcx, [rax + 1]
mov qword [rsp + 0x30], rcx
mov byte [rax], 0
mov eax, 0x8fee478d
jmp 0x14000aa5f
dec esi
mov eax, 0xb39af2b6
jmp 0x14000aa5f
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
lea rdx, [rax + 1]
mov qword [rsp + 0x28], rdx
mov al, byte [rax]
lea rdx, [rcx + 1]
mov qword [rsp + 0x30], rdx
mov byte [rcx], al
mov eax, 0x6057b0a4
xor r13d, r13d
jmp 0x14000aa5f
mov rcx, rdi
call fcn.14000b0e6
lea r14d, [rax + r14*2]
mov eax, 0x11c72f9a
jmp 0x14000aa5f
dec ebx
mov eax, 0x622d1e95
jmp 0x14000aa5f
mov rcx, rdi
call fcn.14000b158
mov r14d, eax
test r13d, r13d
mov eax, 0xd40dd76
mov ecx, 0x6e1e5e43
cmove eax, ecx
jmp 0x14000aa5f
test ebx, ebx
mov eax, 0xfabc31a1
mov ecx, 0x6beb3bc7
cmove eax, ecx
jmp 0x14000aa5f
mov eax, 0x60b415
mov r12d, 1
jmp 0x14000aa5f
mov rcx, rdi
call fcn.14000b0e6
test eax, eax
mov eax, 0x6ed9ab2c
mov ecx, 0xc94e4979
cmove eax, ecx
jmp 0x14000aa5f
add r14d, 0xfffffffe
mov eax, 0x9e4f3ed1
jmp 0x14000aa5f
mov rax, qword [rsp + 0x30]
mov ecx, r14d
mov rdx, rax
sub rdx, rcx
mov cl, byte [rdx]
mov byte [rax], cl
inc rax
mov qword [rsp + 0x30], rax
mov eax, 0x6855f91b
jmp 0x14000aa5f
cmp r14d, 0x500
mov eax, 0x803603b4
mov ecx, 0x3b8c72f5
cmovae eax, ecx
jmp 0x14000aa5f
mov eax, 0xfc2150c8
jmp 0x14000aa5f
test r14d, r14d
mov eax, 0x39b72fb8
mov ecx, 0xf889902
cmove eax, ecx
jmp 0x14000aa5f
mov eax, 0x6057b0a4
jmp 0x14000aa5f
mov eax, 0x78b61114
mov r13d, 1
mov ebp, r14d
jmp 0x14000aa5f
mov rcx, rdi
call fcn.14000b0e6
test eax, eax
mov eax, 0x4d38c83a
mov ecx, 0x690814d6
cmove eax, ecx
jmp 0x14000aa5f
cmp r14d, 0x80
mov eax, 0x7fdd1c8c
mov ecx, 0x40b91df3
cmovb eax, ecx
jmp 0x14000aa5f
cmp eax, 0x2ae422b9
jne 0x14000aa5f
mov eax, dword [rsp + 0x30]
sub eax, dword [rsp + 0x40]
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret