Function at 0x14004d880
Capabilities:
Encode data using xor

Disassembly:
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]
movsxd rax, dword [rcx]
mov rsi, rcx
mov r12, r8
mov ecx, eax
mov r9, rdx
mov edx, eax
sar ecx, 3
mov r8d, eax
sar edx, 1
mov dword [rbp + 0x50], ecx
lea rcx, [rax*4]
sar r8d, 2
lea rax, [rcx + 0xf]
mov dword [rbp + 0x60], edx
mov qword [rbp + 0x68], rcx
cmp rax, rcx
ja 0x14004d8db
movabs rax, 0xffffffffffffff0
and rax, 0xfffffffffffffff0
call fcn.140025380
movsxd r11, dword [rbp + 0x50]
movsxd r14, edx
sub rsp, rax
xor edi, edi
movsxd r15, r8d
lea rax, [r15 + r14]
lea rbx, [rsp + 0x20]
mov r13d, edi
lea rdx, [r9 + rax*4]
mov rax, qword [rsi + 8]
mov r8d, edi
lea r10, [rbx + r14*4]
lea rcx, [rax + r14*4]
lea r9, [rdx + 4]
test r11, r11
jle 0x14004d988
lea rax, [r11 - 1]
shr rax, 1
lea r13d, [rax*2 + 2]
nop word [rax + rax]
movss xmm2, dword [r9 + 8]
movss xmm3, dword [rdx - 8]
sub rcx, 8
sub rdx, 0x10
add r8, 2
add r9, 0x10
addss xmm3, dword [r9 - 0x10]
addss xmm2, dword [rdx]
movaps xmm0, xmm2
movaps xmm1, xmm3
mulss xmm1, dword [rcx]
mulss xmm0, dword [rcx + 4]
addss xmm1, xmm0
movss dword [r10 + r8*4 - 8], xmm1
mulss xmm2, dword [rcx]
mulss xmm3, dword [rcx + 4]
subss xmm2, xmm3
movss dword [r10 + r8*4 - 4], xmm2
cmp r8, r11
jl 0x14004d930
mov eax, dword [rbp + 0x60]
mov r9, qword [rbp + 0x58]
movsxd r8, r13d
sub eax, dword [rbp + 0x50]
add r9, 4
movsxd r11, eax
cmp r8, r11
jge 0x14004da19
mov rax, r11
sub rax, r8
dec rax
shr rax, 1
lea r13d, [r13 + rax*2]
add r13d, 2
nop word [rax + rax]
movss xmm3, dword [rdx - 8]
movss xmm2, dword [rdx - 0x10]
sub rcx, 8
sub rdx, 0x10
add r8, 2
add r9, 0x10
subss xmm2, dword [r9 - 8]
subss xmm3, dword [r9 - 0x10]
movaps xmm0, xmm2
movaps xmm1, xmm3
mulss xmm1, dword [rcx]
mulss xmm0, dword [rcx + 4]
addss xmm1, xmm0
movss dword [r10 + r8*4 - 8], xmm1
mulss xmm2, dword [rcx]
mulss xmm3, dword [rcx + 4]
subss xmm2, xmm3
movss dword [r10 + r8*4 - 4], xmm2
cmp r8, r11
jl 0x14004d9c0
mov rdx, qword [rbp + 0x58]
movsxd rax, r13d
add rdx, qword [rbp + 0x68]
cmp rax, r14
jge 0x14004da90
movss xmm4, dword [0x1400de890]
movss xmm3, dword [rdx - 8]
movss xmm2, dword [rdx - 0x10]
sub rcx, 8
sub rdx, 0x10
add rax, 2
add r9, 0x10
xorps xmm2, xmm4
subss xmm2, dword [r9 - 8]
xorps xmm3, xmm4
subss xmm3, dword [r9 - 0x10]
movaps xmm0, xmm2
mulss xmm0, dword [rcx + 4]
movaps xmm1, xmm3
mulss xmm1, dword [rcx]
addss xmm1, xmm0
movss dword [r10 + rax*4 - 8], xmm1
mulss xmm2, dword [rcx]
mulss xmm3, dword [rcx + 4]
subss xmm2, xmm3
movss dword [r10 + rax*4 - 4], xmm2
cmp rax, r14
jl 0x14004da31
mov r8d, dword [rbp + 0x60]
mov rdx, r10
mov rcx, rsi
call fcn.14004ce50
mov rdx, rbx
mov rcx, rsi
call fcn.14004cc80
mov rax, qword [rsi + 8]
lea rcx, [rax + r14*4]
lea rax, [r12 + r14*4]
cmp r15, 4
jl 0x14004dc0b
lea rdx, [r15 - 4]
lea r8, [r12 + 8]
shr rdx, 2
inc rdx
lea rdi, [rdx*4]
nop dword [rax + rax]
movss xmm1, dword [rcx]
movss xmm0, dword [rcx + 4]
add rax, 0xfffffffffffffff0
add rcx, 0x20
add rbx, 0x20
add r8, 0x10
mulss xmm0, dword [rbx - 0x1c]
mulss xmm1, dword [rbx - 0x20]
addss xmm1, xmm0
mulss xmm1, dword [rsi + 0x18]
movss dword [r8 - 0x18], xmm1
movss xmm2, dword [rcx - 0x1c]
movss xmm0, dword [rcx - 0x20]
mulss xmm2, dword [rbx - 0x20]
mulss xmm0, dword [rbx - 0x1c]
subss xmm2, xmm0
mulss xmm2, dword [rsi + 0x18]
movss dword [rax + 0xc], xmm2
movss xmm1, dword [rcx - 0x18]
movss xmm0, dword [rcx - 0x14]
mulss xmm0, dword [rbx - 0x14]
mulss xmm1, dword [rbx - 0x18]
addss xmm1, xmm0
mulss xmm1, dword [rsi + 0x18]
movss dword [r8 - 0x14], xmm1
movss xmm2, dword [rcx - 0x14]
movss xmm0, dword [rcx - 0x18]
mulss xmm2, dword [rbx - 0x18]
mulss xmm0, dword [rbx - 0x14]
subss xmm2, xmm0
mulss xmm2, dword [rsi + 0x18]
movss dword [rax + 8], xmm2
movss xmm1, dword [rcx - 0x10]
movss xmm0, dword [rcx - 0xc]
mulss xmm0, dword [rbx - 0xc]
mulss xmm1, dword [rbx - 0x10]
addss xmm1, xmm0
mulss xmm1, dword [rsi + 0x18]
movss dword [r8 - 0x10], xmm1
movss xmm2, dword [rcx - 0xc]
movss xmm0, dword [rcx - 0x10]
mulss xmm2, dword [rbx - 0x10]
mulss xmm0, dword [rbx - 0xc]
subss xmm2, xmm0
mulss xmm2, dword [rsi + 0x18]
movss dword [rax + 4], xmm2
movss xmm0, dword [rcx - 8]
movss xmm1, dword [rcx - 4]
mulss xmm0, dword [rbx - 8]
mulss xmm1, dword [rbx - 4]
addss xmm1, xmm0
mulss xmm1, dword [rsi + 0x18]
movss dword [r8 - 0xc], xmm1
movss xmm2, dword [rcx - 4]
movss xmm0, dword [rcx - 8]
mulss xmm2, dword [rbx - 8]
mulss xmm0, dword [rbx - 4]
subss xmm2, xmm0
mulss xmm2, dword [rsi + 0x18]
movss dword [rax], xmm2
dec rdx
jne 0x14004dae0
cmp rdi, r15
jge 0x14004dc6b
sub rcx, rbx
movss xmm0, dword [rcx + rbx + 4]
movss xmm1, dword [rcx + rbx]
sub rax, 4
inc rdi
add rbx, 8
mulss xmm0, dword [rbx - 4]
mulss xmm1, dword [rbx - 8]
addss xmm1, xmm0
mulss xmm1, dword [rsi + 0x18]
movss dword [r12 + rdi*4 - 4], xmm1
movss xmm2, dword [rcx + rbx - 4]
movss xmm0, dword [rcx + rbx - 8]
mulss xmm2, dword [rbx - 8]
mulss xmm0, dword [rbx - 4]
subss xmm2, xmm0
mulss xmm2, dword [rsi + 0x18]
movss dword [rax], xmm2
cmp rdi, r15
jl 0x14004dc13
lea rsp, [rbp + 8]
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret