Function at 0x14000f5b4
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 [0x14006d358]
xor rax, rsp
mov qword [rbp + 0x7c0], rax
mov r12d, dword [rbp + 0x850]
mov rax, rcx
mov r13, qword [rbp + 0x840]
mov r15, r8
mov rdi, 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 r12d, 0x18
jbe 0x14000f645
test rdi, rdi
je 0x14000f632
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
movups xmmword [rdi + 0x10], xmm0
test rsi, rsi
je 0x14000f824
xor eax, eax
mov qword [rsi], rax
jmp 0x14000f824
xor r14d, r14d
lea rbx, [rax + 0x148]
mov rdx, r15
mov rcx, rbx
call fcn.14002f208
test al, al
je 0x14000f67c
cmp dword [rbx + 0x50], r12d
jne 0x14000f67c
mov rax, qword [rbx + 0x20]
cmp rax, qword [r13]
jne 0x14000f67c
mov rax, qword [rbx + 0x28]
cmp rax, qword [r13 + 8]
je 0x14000f847
inc r14d
add rbx, 0x98
cmp r14d, 4
jb 0x14000f64f
mov rcx, qword [rsp + 0x50]
lea rdx, [rbp - 0x40]
mov ebx, 0x800
mov r8d, ebx
call fcn.140035020
mov ecx, r12d
mov eax, 1
shl eax, cl
lea rcx, [rbp - 0x40]
or rdx, 0xffffffffffffffff
inc rdx
cmp byte [rcx + rdx], 0
jne 0x14000f6b4
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.14000fd34
mov rdx, rbx
lea rcx, [rbp - 0x40]
call fcn.14002f530
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], r12d
cmp rbx, r15
je 0x14000f742
mov r9b, byte [rsp + 0x40]
mov rcx, rbx
mov r8, qword [r15 + 8]
mov rdx, qword [r15]
call fcn.14000e620
mov al, byte [r15 + 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 r14d, [r9 + 0x20]
movups xmm0, xmmword [rsp + 0x60]
mov edx, r14d
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.14002f384
movups xmm1, xmmword [rbp - 0x70]
movups xmm0, xmmword [rbp - 0x80]
test rdi, rdi
je 0x14000f7b1
movups xmmword [rdi], xmm0
movups xmmword [rdi + 0x10], xmm1
test rsi, rsi
je 0x14000f7e8
xor eax, eax
lea rdx, [rbp - 0x60]
mov qword [rsi], rax
xor r8d, r8d
mov r9, r14
mov al, byte [rdx]
mov rcx, r8
and ecx, 7
inc r8
inc rdx
xor byte [rcx + rsi], al
sub r9, 1
jne 0x14000f7c5
mov rdx, r14
lea rcx, [rbp - 0x60]
call fcn.14002f530
mov rax, qword [rsp + 0x58]
test rax, rax
je 0x14000f817
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.14002b5a0
mov rdx, r14
lea rcx, [rsp + 0x60]
call fcn.14002f530
mov rcx, qword [rbp + 0x7c0]
xor rcx, rsp
call fcn.140040e70
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 r14d, [r9 + 0x20]
mov edx, r14d
movups xmmword [rsp + 0x70], xmm1
call fcn.14002f384
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 0x14000f7a5