Function at 0x14000bf28
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 [0x14005c318]
xor rax, rsp
mov qword [rbp + 0x7c0], rax
mov r15d, dword [rbp + 0x850]
mov rax, rcx
mov r13, qword [rbp + 0x840]
mov r14, r8
mov r12, qword [rbp + 0x858]
mov rsi, qword [rbp + 0x860]
mov qword [rsp + 0x48], rcx
mov rcx, qword [rbp + 0x848]
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x50], r9
mov byte [rsp + 0x40], dl
cmp r15d, 0x18
ja 0x14000c17a
xor edi, edi
lea rbx, [rax + 0x148]
mov rdx, r14
mov rcx, rbx
call fcn.1400216bc
test al, al
je 0x14000bfd1
cmp dword [rbx + 0x50], r15d
jne 0x14000bfd1
mov rax, qword [rbx + 0x20]
cmp rax, qword [r13]
jne 0x14000bfd1
mov rax, qword [rbx + 0x28]
cmp rax, qword [r13 + 8]
je 0x14000c19d
inc edi
add rbx, 0x98
cmp edi, 4
jb 0x14000bfa4
mov rcx, qword [rsp + 0x50]
lea rdx, [rbp - 0x40]
mov ebx, 0x800
mov r8d, ebx
call fcn.140025da4
mov ecx, r15d
mov eax, 1
shl eax, cl
lea rcx, [rbp - 0x40]
or rdx, 0xffffffffffffffff
inc rdx
cmp byte [rcx + rdx], 0
jne 0x14000c007
mov dword [rsp + 0x38], eax
lea rcx, [rbp - 0x40]
lea rax, [rbp - 0x60]
mov r9d, 0x10
mov qword [rsp + 0x30], rax
mov r8, r13
lea rax, [rbp - 0x80]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
call fcn.14000c68c
mov rdx, rbx
lea rcx, [rbp - 0x40]
call fcn.1400219dc
mov rdx, qword [rsp + 0x48]
mov ecx, dword [rdx + 0x3a8]
lea rbx, [rdx + 0x148]
mov eax, ecx
and eax, 3
imul rax, rax, 0x98
add rbx, rax
lea eax, [rcx + 1]
mov dword [rdx + 0x3a8], eax
mov dword [rbx + 0x50], r15d
cmp rbx, r14
je 0x14000c095
mov r9b, byte [rsp + 0x40]
mov rcx, rbx
mov r8, qword [r14 + 8]
mov rdx, qword [r14]
call fcn.14000af90
mov al, byte [r14 + 0x18]
lea rcx, [rbx + 0x30]
mov byte [rbx + 0x18], al
xor r9d, r9d
movups xmm0, xmmword [r13]
mov r8b, 1
movdqu xmmword [rbx + 0x20], xmm0
lea edi, [r9 + 0x20]
movups xmm0, xmmword [rsp + 0x60]
mov edx, edi
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rsp + 0x70]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rbp - 0x60]
movups xmmword [rbx + 0x54], xmm0
movups xmm1, xmmword [rbp - 0x50]
movups xmmword [rbx + 0x64], xmm1
movups xmm0, xmmword [rbp - 0x80]
movups xmmword [rbx + 0x74], xmm0
movups xmm1, xmmword [rbp - 0x70]
movups xmmword [rbx + 0x84], xmm1
call fcn.140021830
movups xmm1, xmmword [rbp - 0x70]
movups xmm0, xmmword [rbp - 0x80]
test r12, r12
je 0x14000c107
movups xmmword [r12], xmm0
movups xmmword [r12 + 0x10], xmm1
test rsi, rsi
je 0x14000c13e
xor eax, eax
lea rdx, [rbp - 0x60]
mov qword [rsi], rax
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 0x14000c11b
mov rdx, rdi
lea rcx, [rbp - 0x60]
call fcn.1400219dc
mov rax, qword [rsp + 0x58]
test rax, rax
je 0x14000c16d
mov rcx, qword [rsp + 0x48]
lea r8, [rsp + 0x60]
mov dl, byte [rsp + 0x40]
add rcx, 0x3b0
mov r9d, 0x100
mov qword [rsp + 0x20], rax
call fcn.14001ec30
mov rdx, rdi
lea rcx, [rsp + 0x60]
call fcn.1400219dc
mov rcx, qword [rbp + 0x7c0]
xor rcx, rsp
call fcn.140030ce0
add rsp, 0x8d8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
movups xmm0, xmmword [rbx + 0x30]
xor r9d, r9d
xor r8d, r8d
movups xmm1, xmmword [rbx + 0x40]
lea rcx, [rsp + 0x60]
movups xmmword [rsp + 0x60], xmm0
lea edi, [r9 + 0x20]
mov edx, edi
movups xmmword [rsp + 0x70], xmm1
call fcn.140021830
movups xmm0, xmmword [rbx + 0x54]
movups xmm1, xmmword [rbx + 0x64]
movups xmmword [rbp - 0x60], xmm0
movups xmm0, xmmword [rbx + 0x74]
movups xmmword [rbp - 0x50], xmm1
movups xmm1, xmmword [rbx + 0x84]
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm1
jmp 0x14000c0f7