Function at 0x14004f0e0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x28
lea rbp, [rsp + 0x20]
mov r8d, dword [rcx]
mov rdi, rcx
mov ecx, dword [rcx]
sar r8d, 1
sar ecx, 3
movsxd r14, dword [rdi]
lea r12, [r14*4]
lea rax, [r12 + 0xf]
cmp rax, r12
ja 0x14004f12c
movabs rax, 0xffffffffffffff0
and rax, 0xfffffffffffffff0
call fcn.1400d6380
sub rsp, rax
sar r14, 2
movsxd r15, r8d
xor esi, esi
mov qword [rbp + 0x68], r14
mov r10d, esi
movsxd r9, ecx
lea rbx, [rsp + 0x20]
lea rax, [r14 + r15]
lea r13, [rdx + rax*4]
lea rax, [r13 + 4]
mov qword [rbp + 0x50], rax
mov rax, qword [rdi + 8]
lea rdx, [rax + r15*4]
test ecx, ecx
jle 0x14004f1e3
mov r14, qword [rbp + 0x50]
lea rax, [r9 - 1]
shr rax, 1
mov r11d, esi
lea r10d, [rax*2 + 2]
lea rax, [rbx + r15*4]
movss xmm2, dword [r14 + 8]
sub rdx, 8
movss xmm3, dword [r13 - 8]
sub r13, 0x10
addss xmm3, dword [r14]
add r14, 0x10
addss xmm2, dword [r13]
movaps xmm0, xmm3
mulss xmm0, dword [rdx]
movaps xmm1, xmm2
mulss xmm1, dword [rdx + 4]
addss xmm1, xmm0
movss dword [rax + r11*4], xmm1
mulss xmm2, dword [rdx]
mulss xmm3, dword [rdx + 4]
subss xmm2, xmm3
movss dword [rax + r11*4 + 4], xmm2
add r11, 2
cmp r11, r9
jl 0x14004f186
mov r14, qword [rbp + 0x68]
mov r11, qword [rbp + 0x58]
mov eax, r8d
sub eax, ecx
movsxd r9, r10d
movsxd rcx, eax
add r11, 4
cmp r9, rcx
jge 0x14004f26c
mov rax, rcx
sub rax, r9
dec rax
shr rax, 1
lea r10d, [r10 + rax*2]
add r10d, 2
lea rax, [rbx + r15*4]
movss xmm3, dword [r13 - 8]
sub rdx, 8
subss xmm3, dword [r11]
sub r13, 0x10
movss xmm2, dword [r13]
movaps xmm0, xmm3
subss xmm2, dword [r11 + 8]
mulss xmm0, dword [rdx]
add r11, 0x10
movaps xmm1, xmm2
mulss xmm1, dword [rdx + 4]
addss xmm1, xmm0
movss dword [rax + r9*4], xmm1
mulss xmm2, dword [rdx]
mulss xmm3, dword [rdx + 4]
subss xmm2, xmm3
movss dword [rax + r9*4 + 4], xmm2
add r9, 2
cmp r9, rcx
jl 0x14004f213
mov rcx, qword [rbp + 0x58]
lea r9, [rbx + r15*4]
add rcx, r12
movsxd rax, r10d
cmp rax, r15
jge 0x14004f2e3
movss xmm4, dword [0x1401354c0]
movss xmm3, dword [rcx - 8]
sub rdx, 8
sub rcx, 0x10
xorps xmm3, xmm4
subss xmm3, dword [r11]
movss xmm2, dword [rcx]
xorps xmm2, xmm4
subss xmm2, dword [r11 + 8]
movaps xmm0, xmm3
add r11, 0x10
mulss xmm0, dword [rdx]
movaps xmm1, xmm2
mulss xmm1, dword [rdx + 4]
addss xmm1, xmm0
movss dword [r9 + rax*4], xmm1
mulss xmm2, dword [rdx]
mulss xmm3, dword [rdx + 4]
subss xmm2, xmm3
movss dword [r9 + rax*4 + 4], xmm2
add rax, 2
cmp rax, r15
jl 0x14004f287
mov rdx, r9
mov rcx, rdi
call fcn.14004e4bc
mov rdx, rbx
mov rcx, rdi
call fcn.14004e324
mov rax, qword [rdi + 8]
mov rdx, qword [rbp + 0x60]
lea rcx, [rax + r15*4]
lea rax, [rdx + r15*4]
test r14, r14
jle 0x14004f361
movss xmm0, dword [rcx]
sub rax, 4
mulss xmm0, dword [rbx]
movss xmm1, dword [rcx + 4]
mulss xmm1, dword [rbx + 4]
addss xmm1, xmm0
mulss xmm1, dword [rdi + 0x18]
movss dword [rdx + rsi*4], xmm1
inc rsi
movss xmm2, dword [rcx + 4]
mulss xmm2, dword [rbx]
movss xmm0, dword [rbx + 4]
add rbx, 8
mulss xmm0, dword [rcx]
add rcx, 8
subss xmm2, xmm0
mulss xmm2, dword [rdi + 0x18]
movss dword [rax], xmm2
cmp rsi, r14
jl 0x14004f30e
lea rsp, [rbp + 8]
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret