Function at 0x14001c9f0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov dword [rax + 0x18], r8d
push rbp
push r13
push r15
lea rbp, [rsp - 0x70]
sub rsp, 0x170
mov r13, qword [0x14011d300]
xor r15d, r15d
movaps xmmword [rax - 0xa8], xmm12
movaps xmm12, xmm1
mov qword [rsp + 0x78], rcx
cmp dword [r13 + 0x40a8], r15d
jle 0x14001cf5b
mov qword [rax + 0x10], rbx
mov qword [rax - 0x20], rsi
mov qword [rax - 0x28], rdi
mov qword [rax - 0x30], r12
xor r12d, r12d
mov qword [rax - 0x38], r14
movaps xmmword [rax - 0xb8], xmm13
xorps xmm13, xmm13
movaps xmmword [rax - 0xc8], xmm14
movss xmm14, dword [0x1400ba314]
movaps xmmword [rax - 0xd8], xmm15
movss xmm15, dword [0x1400ba340]
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
movaps xmmword [rax - 0x68], xmm8
movaps xmmword [rax - 0x78], xmm9
movaps xmmword [rax - 0x88], xmm10
movaps xmmword [rax - 0x98], xmm11
nop word [rax + rax]
mov rax, qword [r13 + 0x40b0]
mov dword [rsp + 0x40], 0xa781e5e6
mov dword [rsp + 0x44], 0xbeacafbb
mov dword [rsp + 0x48], 0xb4a1bba2
mov rcx, qword [r12 + rax]
xor eax, eax
mov byte [rsp + 0x4c], al
xor r8d, r8d
nop dword [rax]
movsxd rdx, r8d
lea eax, [r8 - 0x3b]
inc r8d
xor byte [rsp + rdx + 0x40], al
cmp r8d, 0xc
jb 0x14001cad0
lea r8, [rsp + 0x40]
mov byte [rsp + 0x4c], 0
mov edx, 1
call fcn.14001db40
mov rbx, rax
lea rdi, [rsp + 0x50]
mov esi, 4
mov rcx, qword [rax + 0x38]
mov rdx, qword [rcx + 8]
mov r14, qword [rdx + 0x40]
mov rcx, rdi
call fcn.140019800
add rdi, 8
sub rsi, 1
jne 0x14001cb11
movsxd rdx, dword [rbp + 0xa0]
cmp edx, 8
ja 0x14001ced0
test byte [r14], 2
jne 0x14001ced0
movsxd rcx, dword [r14 + 0x484]
lea r8, [0x1400b8570]
movss xmm10, dword [rsp + 0x78]
lea rdx, [rdx + rdx*2]
movss xmm8, dword [r8 + rdx*8 + 8]
movss xmm9, dword [r8 + rdx*8 + 0xc]
subss xmm10, dword [r8 + rdx*8 + 0x10]
movss xmm11, dword [rsp + 0x7c]
subss xmm11, dword [r8 + rdx*8 + 0x14]
shl rcx, 5
add rcx, qword [r14 + 0x60]
movss dword [rsp + 0x70], xmm10
movss dword [rsp + 0x74], xmm11
movzx eax, word [rcx + 4]
movd xmm4, eax
movzx eax, word [rcx + 6]
cvtdq2ps xmm4, xmm4
movd xmm3, eax
addss xmm4, dword [r8 + rdx*8]
cvtdq2ps xmm3, xmm3
movaps xmm1, xmm4
mulss xmm1, dword [r14 + 0x38]
addss xmm3, dword [r8 + rdx*8 + 4]
movaps xmm0, xmm3
movaps xmm2, xmm3
mulss xmm0, dword [r14 + 0x3c]
addss xmm2, xmm9
movss dword [rsp + 0x50], xmm1
movaps xmm1, xmm4
addss xmm4, dword [0x1400ba3d8]
movss dword [rsp + 0x54], xmm0
addss xmm1, xmm8
movaps xmm0, xmm2
mulss xmm0, dword [r14 + 0x3c]
mulss xmm1, dword [r14 + 0x38]
movss dword [rsp + 0x5c], xmm0
movaps xmm0, xmm4
movss dword [rsp + 0x58], xmm1
mulss xmm0, dword [r14 + 0x38]
mulss xmm3, dword [r14 + 0x3c]
movss dword [rsp + 0x60], xmm0
movaps xmm0, xmm8
addss xmm0, xmm4
movss dword [rsp + 0x64], xmm3
mulss xmm2, dword [r14 + 0x3c]
mulss xmm0, dword [r14 + 0x38]
movss dword [rsp + 0x6c], xmm2
movss dword [rsp + 0x68], xmm0
mov eax, dword [rbx + 0x68]
mov r8d, dword [rbx + 0x6c]
mov rsi, qword [r14 + 8]
cmp eax, r8d
jne 0x14001cc7b
lea ecx, [rax + 1]
test r8d, r8d
je 0x14001cc63
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x14001cc68
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
lea rcx, [rbx + 0x68]
call fcn.140030290
mov eax, dword [rbx + 0x68]
movsxd rcx, eax
mov rax, qword [rbx + 0x70]
mov qword [rax + rcx*8], rsi
mov rcx, rbx
inc dword [rbx + 0x68]
mov qword [rbx + 0x98], rsi
call fcn.140038ef0
movaps xmm0, xmm8
mov dword [rsp + 0x30], 0x30000000
addss xmm0, xmm14
movaps xmm7, xmm9
addss xmm7, xmm13
movaps xmm6, xmm12
lea rax, [rsp + 0x68]
mulss xmm6, xmm13
mov qword [rsp + 0x28], rax
lea r9, [rbp - 0x80]
lea rax, [rsp + 0x60]
mov rdx, rsi
mulss xmm0, xmm12
lea r8, [rbp - 0x78]
mov rcx, rbx
mov qword [rsp + 0x20], rax
mulss xmm7, xmm12
addss xmm6, xmm11
addss xmm0, xmm10
addss xmm7, xmm11
movss dword [rbp - 0x74], xmm6
movss dword [rbp - 0x80], xmm0
movaps xmm0, xmm10
addss xmm0, xmm12
movss dword [rbp - 0x7c], xmm7
movss dword [rbp - 0x78], xmm0
call fcn.14003c090
movaps xmm0, xmm8
mov dword [rsp + 0x30], 0x30000000
addss xmm0, xmm15
movss dword [rbp - 0x6c], xmm7
lea rax, [rsp + 0x68]
movss dword [rbp - 0x64], xmm6
mov qword [rsp + 0x28], rax
lea r9, [rbp - 0x70]
lea rax, [rsp + 0x60]
mov rdx, rsi
lea r8, [rbp - 0x68]
mov qword [rsp + 0x20], rax
mulss xmm0, xmm12
mov rcx, rbx
addss xmm0, xmm10
movss dword [rbp - 0x70], xmm0
movaps xmm0, xmm12
addss xmm0, xmm12
addss xmm0, xmm10
movss dword [rbp - 0x68], xmm0
call fcn.14003c090
mov r14, qword [rbx + 0x98]
mulss xmm8, xmm12
mulss xmm9, xmm12
addss xmm8, xmm10
addss xmm9, xmm11
movss dword [rbp - 0x60], xmm8
movss dword [rbp - 0x5c], xmm9
cmp rsi, r14
je 0x14001cdb3
mov rdx, rsi
mov rcx, rbx
call fcn.140039140
mov edx, 6
mov rcx, rbx
lea r8d, [rdx - 2]
call fcn.1400391c0
lea rax, [rsp + 0x68]
mov dword [rsp + 0x28], 0xff000000
lea r9, [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea r8, [rbp - 0x60]
mov rcx, rbx
lea rdx, [rsp + 0x70]
call fcn.1400392e0
cmp rsi, r14
je 0x14001ce1b
movsxd rcx, dword [rbx + 0x68]
lea eax, [rcx - 1]
mov dword [rbx + 0x68], eax
test eax, eax
jne 0x14001ce03
xor eax, eax
jmp 0x14001ce0c
mov rax, qword [rbx + 0x70]
mov rax, qword [rax + rcx*8 - 0x10]
mov rcx, rbx
mov qword [rbx + 0x98], rax
call fcn.140038ef0
mov r14, qword [rbx + 0x98]
movss dword [rbp - 0x58], xmm8
movss dword [rbp - 0x54], xmm9
cmp rsi, r14
je 0x14001ce3e
mov rdx, rsi
mov rcx, rbx
call fcn.140039140
mov edx, 6
mov rcx, rbx
lea r8d, [rdx - 2]
call fcn.1400391c0
lea rax, [rsp + 0x58]
mov dword [rsp + 0x28], 0xffffffff
lea r9, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea r8, [rbp - 0x58]
mov rcx, rbx
lea rdx, [rsp + 0x70]
call fcn.1400392e0
cmp rsi, r14
je 0x14001cea6
movsxd rcx, dword [rbx + 0x68]
lea eax, [rcx - 1]
mov dword [rbx + 0x68], eax
test eax, eax
jne 0x14001ce8e
xor eax, eax
jmp 0x14001ce97
mov rax, qword [rbx + 0x70]
mov rax, qword [rax + rcx*8 - 0x10]
mov rcx, rbx
mov qword [rbx + 0x98], rax
call fcn.140038ef0
movsxd rcx, dword [rbx + 0x68]
lea eax, [rcx - 1]
mov dword [rbx + 0x68], eax
test eax, eax
jne 0x14001ceb8
xor eax, eax
jmp 0x14001cec1
mov rax, qword [rbx + 0x70]
mov rax, qword [rax + rcx*8 - 0x10]
mov rcx, rbx
mov qword [rbx + 0x98], rax
call fcn.140038ef0
inc r15d
add r12, 8
cmp r15d, dword [r13 + 0x40a8]
jl 0x14001caa0
movaps xmm15, xmmword [rsp + 0xb0]
movaps xmm14, xmmword [rsp + 0xc0]
movaps xmm13, xmmword [rsp + 0xd0]
movaps xmm11, xmmword [rsp + 0xf0]
movaps xmm10, xmmword [rsp + 0x100]
movaps xmm9, xmmword [rsp + 0x110]
movaps xmm8, xmmword [rsp + 0x120]
movaps xmm7, xmmword [rsp + 0x130]
movaps xmm6, xmmword [rsp + 0x140]
mov r14, qword [rsp + 0x150]
mov r12, qword [rsp + 0x158]
mov rdi, qword [rsp + 0x160]
mov rsi, qword [rsp + 0x168]
mov rbx, qword [rsp + 0x198]
movaps xmm12, xmmword [rsp + 0xe0]
add rsp, 0x170
pop r15
pop r13
pop rbp
ret