Function at 0x14000aa1c
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 [0x140055038]
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 0x14000aab8
test r15, r15
je 0x14000aa9c
xor edx, edx
mov rcx, r15
lea r8d, [rdx + 0x20]
call fcn.14002b210
test r14, r14
je 0x14000acc7
xor edx, edx
mov rcx, r14
lea r8d, [rdx + 8]
call fcn.14002b210
jmp 0x14000acc7
xor edi, edi
lea rbx, [rcx + 0x148]
mov rdx, r8
mov rcx, rbx
call fcn.140018558
test al, al
je 0x14000aaed
lea rcx, [rbx + 0x20]
cmp dword [rcx + 0x30], esi
jne 0x14000aaed
mov rdx, qword [rsp + 0x48]
mov r8d, 0x10
call fcn.14002b5b0
test eax, eax
je 0x14000ab02
inc edi
add rbx, 0x98
cmp edi, 4
jae 0x14000ab4f
mov r8, qword [rsp + 0x50]
jmp 0x14000aac1
mov esi, 0x20
lea rdx, [rbx + 0x30]
mov r8d, esi
lea rcx, [rsp + 0x60]
call fcn.14002ab60
xor r9d, r9d
lea rcx, [rsp + 0x60]
xor r8d, r8d
mov edx, esi
call fcn.1400185e0
lea rdx, [rbx + 0x54]
mov r8d, esi
lea rcx, [rbp - 0x80]
call fcn.14002ab60
lea rdx, [rbx + 0x74]
mov r8d, esi
lea rcx, [rbp - 0x60]
call fcn.14002ab60
jmp 0x14000ac40
mov rcx, qword [rsp + 0x58]
lea rdx, [rbp - 0x40]
call fcn.14001c3a4
mov ecx, esi
mov ebx, 1
shl ebx, cl
lea rcx, [rbp - 0x40]
call fcn.14002f8d0
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.14000a810
mov edx, 0x800
lea rcx, [rbp - 0x40]
call fcn.140018438
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.14000b2d0
mov rdx, qword [rsp + 0x48]
lea rcx, [rdi + 0x20]
mov r8d, 0x10
call fcn.14002ab60
mov esi, 0x20
lea rdx, [rsp + 0x60]
mov r8d, esi
lea rcx, [rdi + 0x30]
call fcn.14002ab60
lea rcx, [rdi + 0x54]
mov r8d, esi
lea rdx, [rbp - 0x80]
call fcn.14002ab60
lea rcx, [rdi + 0x74]
mov r8d, esi
lea rdx, [rbp - 0x60]
call fcn.14002ab60
xor r9d, r9d
lea rcx, [rdi + 0x30]
mov r8b, 1
mov edx, esi
call fcn.1400185e0
test r15, r15
je 0x14000ac54
mov r8, rsi
lea rdx, [rbp - 0x60]
mov rcx, r15
call fcn.14002ab60
test r14, r14
je 0x14000ac95
xor edx, edx
mov rcx, r14
lea r8d, [rdx + 8]
call fcn.14002b210
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 0x14000ac71
mov rdx, rsi
lea rcx, [rbp - 0x80]
call fcn.140018438
test r12, r12
je 0x14000acba
mov dl, byte [rsp + 0x40]
lea rcx, [r13 + 0x3b0]
mov r9d, 0x100
mov qword [rsp + 0x20], r12
lea r8, [rsp + 0x60]
call fcn.1400176c0
mov rdx, rsi
lea rcx, [rsp + 0x60]
call fcn.140018438
mov rcx, qword [rbp + 0x7c0]
xor rcx, rsp
call fcn.140028980
mov rbx, qword [rsp + 0x918]
add rsp, 0x8d0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret