Function at 0x14000a66c
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x7d8]
sub rsp, 0x8d8
mov rax, qword [0x14005be78]
xor rax, rsp
mov qword [rbp + 0x7c0], rax
mov rax, qword [rbp + 0x840]
mov rdi, r8
mov r12d, dword [rbp + 0x850]
mov r13, rcx
mov r14, qword [rbp + 0x858]
mov rsi, qword [rbp + 0x860]
mov qword [rsp + 0x48], rax
mov rax, qword [rbp + 0x848]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x50], r9
mov byte [rsp + 0x40], dl
cmp r12d, 0x18
jbe 0x14000a70a
test r14, r14
je 0x14000a6ee
xor edx, edx
mov rcx, r14
lea r8d, [rdx + 0x20]
call fcn.140033950
test rsi, rsi
je 0x14000a8f4
xor edx, edx
mov rcx, rsi
lea r8d, [rdx + 8]
call fcn.140033950
jmp 0x14000a8f4
xor r15d, r15d
lea rbx, [rcx + 0x148]
mov rdx, rdi
mov rcx, rbx
call fcn.14001b564
test al, al
je 0x14000a745
lea rcx, [rbx + 0x20]
cmp dword [rcx + 0x30], r12d
jne 0x14000a745
mov rdx, qword [rsp + 0x48]
mov r8d, 0x10
call fcn.1400346d0
test eax, eax
je 0x14000a917
inc r15d
add rbx, 0x98
cmp r15d, 4
jb 0x14000a714
mov rcx, qword [rsp + 0x50]
lea rdx, [rbp - 0x40]
mov r15d, 0x800
mov r8d, r15d
call fcn.140020e88
mov ecx, r12d
mov ebx, 1
shl ebx, cl
lea rcx, [rbp - 0x40]
call fcn.140037610
mov rdx, rax
mov dword [rsp + 0x38], ebx
mov rbx, qword [rsp + 0x48]
lea rax, [rbp - 0x80]
mov qword [rsp + 0x30], rax
lea rcx, [rbp - 0x40]
lea rax, [rbp - 0x60]
mov r9d, 0x10
mov qword [rsp + 0x28], rax
mov r8, rbx
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
call fcn.14000ad78
mov edx, r15d
lea rcx, [rbp - 0x40]
call fcn.14001b88c
mov ecx, dword [r13 + 0x3a8]
mov eax, ecx
and eax, 3
imul r15, rax, 0x98
lea eax, [rcx + 1]
add r15, 0x148
mov dword [r13 + 0x3a8], eax
add r15, r13
mov dword [r15 + 0x50], r12d
cmp r15, rdi
je 0x14000a809
mov r9b, byte [rsp + 0x40]
mov rcx, r15
mov r8, qword [rdi + 8]
mov rdx, qword [rdi]
call fcn.140009e64
mov al, byte [rdi + 0x18]
lea rcx, [r15 + 0x20]
mov r8d, 0x10
mov byte [r15 + 0x18], al
mov rdx, rbx
call fcn.1400332a0
mov edi, 0x20
lea rdx, [rsp + 0x60]
mov r8d, edi
lea rcx, [r15 + 0x30]
call fcn.1400332a0
lea rcx, [r15 + 0x54]
mov r8d, edi
lea rdx, [rbp - 0x80]
call fcn.1400332a0
lea rcx, [r15 + 0x74]
mov r8d, edi
lea rdx, [rbp - 0x60]
call fcn.1400332a0
xor r9d, r9d
lea rcx, [r15 + 0x30]
mov r8b, 1
mov edx, edi
call fcn.14001b6d0
test r14, r14
je 0x14000a87d
mov r8, rdi
lea rdx, [rbp - 0x60]
mov rcx, r14
call fcn.1400332a0
test rsi, rsi
je 0x14000a8bd
xor edx, edx
mov rcx, rsi
lea r8d, [rdx + 8]
call fcn.140033950
lea rdx, [rbp - 0x80]
xor r8d, r8d
mov r9, rdi
mov al, byte [rdx]
mov rcx, r8
and ecx, 7
inc r8
inc rdx
xor byte [rcx + rsi], al
sub r9, 1
jne 0x14000a89a
mov rdx, rdi
lea rcx, [rbp - 0x80]
call fcn.14001b88c
mov rax, qword [rsp + 0x58]
test rax, rax
je 0x14000a8e7
mov dl, byte [rsp + 0x40]
lea rcx, [r13 + 0x3b0]
mov r9d, 0x100
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x60]
call fcn.14001ab00
mov rdx, rdi
lea rcx, [rsp + 0x60]
call fcn.14001b88c
mov rcx, qword [rbp + 0x7c0]
xor rcx, rsp
call fcn.140031f80
add rsp, 0x8d8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov edi, 0x20
lea rdx, [rbx + 0x30]
mov r8d, edi
lea rcx, [rsp + 0x60]
call fcn.1400332a0
xor r9d, r9d
lea rcx, [rsp + 0x60]
xor r8d, r8d
mov edx, edi
call fcn.14001b6d0
lea rdx, [rbx + 0x54]
mov r8d, edi
lea rcx, [rbp - 0x80]
call fcn.1400332a0
lea rdx, [rbx + 0x74]
mov r8d, edi
lea rcx, [rbp - 0x60]
call fcn.1400332a0
jmp 0x14000a869