Function at 0x14004df90
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x30
movsxd r14, dword [rcx]
lea r9, [rdx - 0x1c]
mov rdi, r8
sar r14, 2
mov r8d, dword [rcx]
mov rsi, rcx
mov rcx, qword [rcx + 8]
mov r10, rdx
sar r8d, 1
movsxd rbp, r8d
lea r15, [r14*4]
movaps xmmword [rax - 0x28], xmm6
add rcx, r15
movss xmm6, dword [0x1401354c0]
lea rax, [r14 + rbp]
lea rbx, [rdi + rax*4]
mov rdx, rbx
lea r9, [r9 + rbp*4]
movss xmm1, dword [r9 + 8]
sub rdx, 0x10
movss xmm0, dword [r9]
xorps xmm1, xmm6
mulss xmm1, dword [rcx + 0xc]
mulss xmm0, dword [rcx + 8]
subss xmm1, xmm0
movss dword [rdx], xmm1
movss xmm1, dword [r9]
mulss xmm1, dword [rcx + 0xc]
movss xmm0, dword [rcx + 8]
mulss xmm0, dword [r9 + 8]
subss xmm1, xmm0
movss dword [rdx + 4], xmm1
movss xmm1, dword [r9 + 0x18]
movss xmm0, dword [r9 + 0x10]
xorps xmm1, xmm6
mulss xmm1, dword [rcx + 4]
mulss xmm0, dword [rcx]
subss xmm1, xmm0
movss dword [rdx + 8], xmm1
movss xmm1, dword [rcx + 4]
movss xmm0, dword [r9 + 0x18]
mulss xmm1, dword [r9 + 0x10]
sub r9, 0x20
mulss xmm0, dword [rcx]
add rcx, 0x10
subss xmm1, xmm0
movss dword [rdx + 0xc], xmm1
cmp r9, r10
jae 0x14004dff4
mov rdx, qword [rsi + 8]
lea rcx, [r10 - 0x20]
lea rcx, [rcx + rbp*4]
add rdx, r15
mov r9, rbx
movss xmm1, dword [rdx - 4]
sub rdx, 0x10
mulss xmm1, dword [rcx + 0x10]
movss xmm0, dword [rdx + 8]
mulss xmm0, dword [rcx + 0x18]
addss xmm1, xmm0
movss dword [r9], xmm1
movss xmm2, dword [rdx + 8]
mulss xmm2, dword [rcx + 0x10]
movss xmm0, dword [rdx + 0xc]
mulss xmm0, dword [rcx + 0x18]
subss xmm2, xmm0
movss dword [r9 + 4], xmm2
movss xmm0, dword [rcx]
mulss xmm0, dword [rdx + 4]
movss xmm1, dword [rcx + 8]
mulss xmm1, dword [rdx]
addss xmm1, xmm0
movss dword [r9 + 8], xmm1
movss xmm2, dword [rcx]
movss xmm0, dword [rcx + 8]
sub rcx, 0x20
mulss xmm2, dword [rdx]
mulss xmm0, dword [rdx + 4]
subss xmm2, xmm0
movss dword [r9 + 0xc], xmm2
add r9, 0x10
cmp rcx, r10
jae 0x14004e098
lea r12, [rdi + rbp*4]
mov rcx, rsi
mov rdx, r12
call fcn.14004e4bc
mov rdx, rdi
mov rcx, rsi
call fcn.14004e324
mov rax, qword [rsi + 8]
lea rcx, [rdi + 0xc]
mov r8, rbx
mov r9, rbx
lea rdx, [rax + rbp*4]
movss xmm1, dword [rdx + 4]
sub r8, 0x10
mulss xmm1, dword [rcx - 0xc]
movss xmm0, dword [rcx - 8]
mulss xmm0, dword [rdx]
subss xmm1, xmm0
movss dword [r8 + 0xc], xmm1
movss xmm2, dword [rcx - 8]
mulss xmm2, dword [rdx + 4]
movss xmm0, dword [rdx]
mulss xmm0, dword [rcx - 0xc]
addss xmm2, xmm0
xorps xmm2, xmm6
movss dword [r9], xmm2
movss xmm1, dword [rdx + 0xc]
mulss xmm1, dword [rcx - 4]
movss xmm0, dword [rdx + 8]
mulss xmm0, dword [rcx]
subss xmm1, xmm0
movss dword [r8 + 8], xmm1
movss xmm2, dword [rdx + 8]
mulss xmm2, dword [rcx - 4]
movss xmm0, dword [rdx + 0xc]
mulss xmm0, dword [rcx]
addss xmm2, xmm0
xorps xmm2, xmm6
movss dword [r9 + 4], xmm2
movss xmm1, dword [rdx + 0x14]
mulss xmm1, dword [rcx + 4]
movss xmm0, dword [rdx + 0x10]
mulss xmm0, dword [rcx + 8]
subss xmm1, xmm0
movss dword [r8 + 4], xmm1
movss xmm2, dword [rdx + 0x14]
mulss xmm2, dword [rcx + 8]
movss xmm0, dword [rdx + 0x10]
mulss xmm0, dword [rcx + 4]
addss xmm2, xmm0
xorps xmm2, xmm6
movss dword [r9 + 8], xmm2
movss xmm0, dword [rdx + 0x18]
mulss xmm0, dword [rcx + 0x10]
movss xmm1, dword [rdx + 0x1c]
mulss xmm1, dword [rcx + 0xc]
subss xmm1, xmm0
movss dword [r8], xmm1
movss xmm2, dword [rdx + 0x1c]
mulss xmm2, dword [rcx + 0x10]
movss xmm0, dword [rdx + 0x18]
add rdx, 0x20
mulss xmm0, dword [rcx + 0xc]
add rcx, 0x20
addss xmm2, xmm0
lea rax, [rcx - 0xc]
xorps xmm2, xmm6
movss dword [r9 + 0xc], xmm2
add r9, 0x10
cmp rax, r8
jb 0x14004e14c
lea rdx, [rdi + 8]
mov r8, rbx
add rdx, r15
lea rcx, [rdi + 8]
sub r8, r15
lea rcx, [rcx + r14*4]
sub r8, rdi
mov r9, rbx
lea rcx, [rcx - 0x10]
sub r9, 0x10
movss xmm0, dword [r8 + rcx + 4]
movss dword [rcx + 4], xmm0
xorps xmm0, xmm6
movss dword [rdx - 8], xmm0
movss xmm1, dword [r8 + rcx]
movss dword [rcx], xmm1
xorps xmm1, xmm6
movss dword [rdx - 4], xmm1
movss xmm0, dword [r8 + rcx - 4]
movss dword [rcx - 4], xmm0
xorps xmm0, xmm6
movss dword [rdx], xmm0
lea rdx, [rdx + 0x10]
movss xmm1, dword [r9]
lea rax, [rdx - 8]
movss dword [rcx - 8], xmm1
xorps xmm1, xmm6
movss dword [rdx - 0xc], xmm1
cmp rax, r9
jb 0x14004e27a
mov rcx, rbx
mov eax, dword [rbx + 0xc]
sub rcx, 0x10
mov dword [rcx], eax
mov eax, dword [rbx + 8]
mov dword [rcx + 4], eax
mov eax, dword [rbx + 4]
mov dword [rcx + 8], eax
mov eax, dword [rbx]
lea rbx, [rbx + 0x10]
mov dword [rcx + 0xc], eax
cmp rcx, r12
ja 0x14004e2dd
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
movaps xmm6, xmmword [rsp + 0x20]
add rsp, 0x30
pop r15
pop r14
pop r12
ret