Function at 0x14000aa64
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x7d0]
sub rsp, 0x8d0
mov rax, qword [0x140056038]
xor rax, rsp
mov qword [rbp + 0x7c0], rax
mov rax, qword [rbp + 0x830]
mov r13, rcx
mov esi, dword [rbp + 0x840]
mov r12, qword [rbp + 0x838]
mov r15, qword [rbp + 0x848]
mov r14, qword [rbp + 0x850]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x58], r9
mov qword [rsp + 0x50], r8
mov byte [rsp + 0x40], dl
cmp esi, 0x18
jbe 0x14000ab00
test r15, r15
je 0x14000aae4
xor edx, edx
mov rcx, r15
lea r8d, [rdx + 0x20]
call fcn.14002b900
test r14, r14
je 0x14000ad0f
xor edx, edx
mov rcx, r14
lea r8d, [rdx + 8]
call fcn.14002b900
jmp 0x14000ad0f
xor edi, edi
lea rbx, [rcx + 0x148]
mov rdx, r8
mov rcx, rbx
call fcn.1400185a8
test al, al
je 0x14000ab35
lea rcx, [rbx + 0x20]
cmp dword [rcx + 0x30], esi
jne 0x14000ab35
mov rdx, qword [rsp + 0x48]
mov r8d, 0x10
call fcn.14002bca0
test eax, eax
je 0x14000ab4a
inc edi
add rbx, 0x98
cmp edi, 4
jae 0x14000ab97
mov r8, qword [rsp + 0x50]
jmp 0x14000ab09
mov esi, 0x20
lea rdx, [rbx + 0x30]
mov r8d, esi
lea rcx, [rsp + 0x60]
call fcn.14002b250
xor r9d, r9d
lea rcx, [rsp + 0x60]
xor r8d, r8d
mov edx, esi
call fcn.140018630
lea rdx, [rbx + 0x54]
mov r8d, esi
lea rcx, [rbp - 0x80]
call fcn.14002b250
lea rdx, [rbx + 0x74]
mov r8d, esi
lea rcx, [rbp - 0x60]
call fcn.14002b250
jmp 0x14000ac88
mov rcx, qword [rsp + 0x58]
lea rdx, [rbp - 0x40]
call fcn.14001c494
mov ecx, esi
mov ebx, 1
shl ebx, cl
lea rcx, [rbp - 0x40]
call fcn.14002ffc0
mov r8, qword [rsp + 0x48]
lea rcx, [rbp - 0x40]
mov rdx, rax
mov dword [rsp + 0x38], ebx
lea rax, [rbp - 0x80]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
call fcn.14000a858
mov edx, 0x800
lea rcx, [rbp - 0x40]
call fcn.140018488
mov ecx, dword [r13 + 0x3a8]
mov eax, ecx
mov rdx, qword [rsp + 0x50]
and eax, 3
imul rdi, rax, 0x98
lea eax, [rcx + 1]
mov dword [r13 + 0x3a8], eax
add rdi, 0x148
add rdi, r13
mov rcx, rdi
mov dword [rdi + 0x50], esi
call fcn.14000b320
mov rdx, qword [rsp + 0x48]
lea rcx, [rdi + 0x20]
mov r8d, 0x10
call fcn.14002b250
mov esi, 0x20
lea rdx, [rsp + 0x60]
mov r8d, esi
lea rcx, [rdi + 0x30]
call fcn.14002b250
lea rcx, [rdi + 0x54]
mov r8d, esi
lea rdx, [rbp - 0x80]
call fcn.14002b250
lea rcx, [rdi + 0x74]
mov r8d, esi
lea rdx, [rbp - 0x60]
call fcn.14002b250
xor r9d, r9d
lea rcx, [rdi + 0x30]
mov r8b, 1
mov edx, esi
call fcn.140018630
test r15, r15
je 0x14000ac9c
mov r8, rsi
lea rdx, [rbp - 0x60]
mov rcx, r15
call fcn.14002b250
test r14, r14
je 0x14000acdd
xor edx, edx
mov rcx, r14
lea r8d, [rdx + 8]
call fcn.14002b900
lea rdx, [rbp - 0x80]
xor r8d, r8d
mov r9, rsi
mov al, byte [rdx]
mov rcx, r8
and ecx, 7
inc r8
inc rdx
xor byte [rcx + r14], al
sub r9, 1
jne 0x14000acb9
mov rdx, rsi
lea rcx, [rbp - 0x80]
call fcn.140018488
test r12, r12
je 0x14000ad02
mov dl, byte [rsp + 0x40]
lea rcx, [r13 + 0x3b0]
mov r9d, 0x100
mov qword [rsp + 0x20], r12
lea r8, [rsp + 0x60]
call fcn.140017710
mov rdx, rsi
lea rcx, [rsp + 0x60]
call fcn.140018488
mov rcx, qword [rbp + 0x7c0]
xor rcx, rsp
call fcn.140029070
mov rbx, qword [rsp + 0x918]
add rsp, 0x8d0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret