Function at 0x14000aa0c
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 0x14000aaa8
test r15, r15
je 0x14000aa8c
xor edx, edx
mov rcx, r15
lea r8d, [rdx + 0x20]
call fcn.14002b2c0
test r14, r14
je 0x14000acb7
xor edx, edx
mov rcx, r14
lea r8d, [rdx + 8]
call fcn.14002b2c0
jmp 0x14000acb7
xor edi, edi
lea rbx, [rcx + 0x148]
mov rdx, r8
mov rcx, rbx
call fcn.140018548
test al, al
je 0x14000aadd
lea rcx, [rbx + 0x20]
cmp dword [rcx + 0x30], esi
jne 0x14000aadd
mov rdx, qword [rsp + 0x48]
mov r8d, 0x10
call fcn.14002b660
test eax, eax
je 0x14000aaf2
inc edi
add rbx, 0x98
cmp edi, 4
jae 0x14000ab3f
mov r8, qword [rsp + 0x50]
jmp 0x14000aab1
mov esi, 0x20
lea rdx, [rbx + 0x30]
mov r8d, esi
lea rcx, [rsp + 0x60]
call fcn.14002ac10
xor r9d, r9d
lea rcx, [rsp + 0x60]
xor r8d, r8d
mov edx, esi
call fcn.1400185d0
lea rdx, [rbx + 0x54]
mov r8d, esi
lea rcx, [rbp - 0x80]
call fcn.14002ac10
lea rdx, [rbx + 0x74]
mov r8d, esi
lea rcx, [rbp - 0x60]
call fcn.14002ac10
jmp 0x14000ac30
mov rcx, qword [rsp + 0x58]
lea rdx, [rbp - 0x40]
call fcn.14001c360
mov ecx, esi
mov ebx, 1
shl ebx, cl
lea rcx, [rbp - 0x40]
call fcn.14002f980
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.14000a800
mov edx, 0x800
lea rcx, [rbp - 0x40]
call fcn.140018428
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.14000b2c0
mov rdx, qword [rsp + 0x48]
lea rcx, [rdi + 0x20]
mov r8d, 0x10
call fcn.14002ac10
mov esi, 0x20
lea rdx, [rsp + 0x60]
mov r8d, esi
lea rcx, [rdi + 0x30]
call fcn.14002ac10
lea rcx, [rdi + 0x54]
mov r8d, esi
lea rdx, [rbp - 0x80]
call fcn.14002ac10
lea rcx, [rdi + 0x74]
mov r8d, esi
lea rdx, [rbp - 0x60]
call fcn.14002ac10
xor r9d, r9d
lea rcx, [rdi + 0x30]
mov r8b, 1
mov edx, esi
call fcn.1400185d0
test r15, r15
je 0x14000ac44
mov r8, rsi
lea rdx, [rbp - 0x60]
mov rcx, r15
call fcn.14002ac10
test r14, r14
je 0x14000ac85
xor edx, edx
mov rcx, r14
lea r8d, [rdx + 8]
call fcn.14002b2c0
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 0x14000ac61
mov rdx, rsi
lea rcx, [rbp - 0x80]
call fcn.140018428
test r12, r12
je 0x14000acaa
mov dl, byte [rsp + 0x40]
lea rcx, [r13 + 0x3b0]
mov r9d, 0x100
mov qword [rsp + 0x20], r12
lea r8, [rsp + 0x60]
call fcn.1400176b0
mov rdx, rsi
lea rcx, [rsp + 0x60]
call fcn.140018428
mov rcx, qword [rbp + 0x7c0]
xor rcx, rsp
call fcn.140028a30
mov rbx, qword [rsp + 0x918]
add rsp, 0x8d0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret