Function at 0x140042e40
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r12
push r13
push r14
push r15
sub rsp, 0x40
lea rbp, [rsp + 0x20]
mov qword [rbp + 0x50], rbx
mov qword [rbp + 0x58], rsi
mov qword [rbp + 0x60], rdi
mov rax, qword [0x1400c9040]
xor rax, rbp
mov qword [rbp + 0x18], rax
movsxd rax, dword [rcx]
mov rsi, rcx
mov ecx, eax
mov qword [rbp + 8], rdx
mov r13d, eax
sar ecx, 1
mov r12, r8
sar r13d, 3
mov r8, rdx
mov dword [rbp + 4], ecx
lea rdx, [rax*4]
mov r14, rax
lea rax, [rdx + 0xf]
mov qword [rbp + 0x10], rdx
cmp rax, rdx
ja 0x140042ead
movabs rax, 0xffffffffffffff0
and rax, 0xfffffffffffffff0
call fcn.140074770
sub rsp, rax
movsxd r15, ecx
sar r14, 2
xor edi, edi
movsxd r11, r13d
lea rbx, [rsp + 0x20]
lea rax, [r14 + r15]
lea rdx, [r8 + rax*4]
mov rax, qword [rsi + 8]
lea r10, [rbx + r15*4]
lea r9, [rdx + 4]
lea rcx, [rax + r15*4]
mov eax, edi
mov dword [rbp], eax
test r13d, r13d
jle 0x140042f5b
lea rax, [r11 - 1]
mov r8d, edi
shr rax, 1
lea eax, [rax*2 + 2]
mov dword [rbp], eax
movss xmm2, dword [r9 + 8]
sub rcx, 8
addss xmm2, dword [rdx - 0x10]
movss xmm3, dword [rdx - 8]
sub rdx, 0x10
addss xmm3, dword [r9]
add r9, 0x10
movaps xmm0, xmm2
mulss xmm0, dword [rcx + 4]
movaps xmm1, xmm3
mulss xmm1, dword [rcx]
addss xmm1, xmm0
movss dword [r10 + r8*4], xmm1
mulss xmm2, dword [rcx]
mulss xmm3, dword [rcx + 4]
subss xmm2, xmm3
movss dword [r10 + r8*4 + 4], xmm2
add r8, 2
cmp r8, r11
jl 0x140042f00
mov r8, qword [rbp + 8]
lea r9, [r8 + 4]
movsxd r8, eax
mov eax, dword [rbp + 4]
sub eax, r13d
mov r13d, dword [rbp]
movsxd r11, eax
cmp r8, r11
jge 0x140042fe7
mov rax, r11
sub rax, r8
dec rax
shr rax, 1
lea r13d, [r13 + rax*2]
add r13d, 2
nop dword [rax]
movss xmm3, dword [rdx - 8]
sub rcx, 8
subss xmm3, dword [r9]
movss xmm2, dword [rdx - 0x10]
sub rdx, 0x10
subss xmm2, dword [r9 + 8]
add r9, 0x10
movaps xmm1, xmm3
mulss xmm1, dword [rcx]
movaps xmm0, xmm2
mulss xmm0, dword [rcx + 4]
addss xmm1, xmm0
movss dword [r10 + r8*4], xmm1
mulss xmm2, dword [rcx]
mulss xmm3, dword [rcx + 4]
subss xmm2, xmm3
movss dword [r10 + r8*4 + 4], xmm2
add r8, 2
cmp r8, r11
jl 0x140042f90
mov rdx, qword [rbp + 8]
add rdx, qword [rbp + 0x10]
movsxd rax, r13d
cmp rax, r15
jge 0x14004305d
movss xmm4, dword [0x1400b4130]
nop
movss xmm3, dword [rdx - 8]
sub rcx, 8
movss xmm2, dword [rdx - 0x10]
sub rdx, 0x10
xorps xmm2, xmm4
xorps xmm3, xmm4
subss xmm2, dword [r9 + 8]
subss xmm3, dword [r9]
add 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], xmm1
mulss xmm2, dword [rcx]
mulss xmm3, dword [rcx + 4]
subss xmm2, xmm3
movss dword [r10 + rax*4 + 4], xmm2
add rax, 2
cmp rax, r15
jl 0x140043000
mov r8d, dword [rbp + 4]
mov rdx, r10
mov rcx, rsi
call fcn.1400425f0
mov rdx, rbx
mov rcx, rsi
call fcn.1400428a0
mov rax, qword [rsi + 8]
lea rcx, [rax + r15*4]
lea rax, [r12 + r15*4]
cmp r14, 4
jl 0x1400431d8
lea rdx, [r14 - 4]
shr rdx, 2
lea r8, [r12 + 8]
inc rdx
lea rdi, [rdx*4]
nop word [rax + rax]
movss xmm1, dword [rcx]
mulss xmm1, dword [rbx]
movss xmm0, dword [rbx + 4]
mulss xmm0, dword [rcx + 4]
addss xmm1, xmm0
mulss xmm1, dword [rsi + 0x18]
movss dword [r8 - 8], xmm1
movss xmm2, dword [rcx + 4]
mulss xmm2, dword [rbx]
movss xmm0, dword [rcx]
mulss xmm0, dword [rbx + 4]
subss xmm2, xmm0
mulss xmm2, dword [rsi + 0x18]
movss dword [rax - 4], xmm2
movss xmm1, dword [rcx + 0xc]
mulss xmm1, dword [rbx + 0xc]
movss xmm0, dword [rbx + 8]
mulss xmm0, dword [rcx + 8]
addss xmm1, xmm0
mulss xmm1, dword [rsi + 0x18]
movss dword [r8 - 4], xmm1
movss xmm2, dword [rcx + 0xc]
mulss xmm2, dword [rbx + 8]
movss xmm0, dword [rcx + 8]
mulss xmm0, dword [rbx + 0xc]
subss xmm2, xmm0
mulss xmm2, dword [rsi + 0x18]
movss dword [rax - 8], xmm2
movss xmm1, dword [rcx + 0x10]
mulss xmm1, dword [rbx + 0x10]
movss xmm0, dword [rbx + 0x14]
mulss xmm0, dword [rcx + 0x14]
addss xmm1, xmm0
mulss xmm1, dword [rsi + 0x18]
movss dword [r8], xmm1
movss xmm2, dword [rcx + 0x14]
mulss xmm2, dword [rbx + 0x10]
movss xmm0, dword [rcx + 0x10]
mulss xmm0, dword [rbx + 0x14]
subss xmm2, xmm0
mulss xmm2, dword [rsi + 0x18]
movss dword [rax - 0xc], xmm2
add rax, 0xfffffffffffffff0
movss xmm0, dword [rbx + 0x18]
mulss xmm0, dword [rcx + 0x18]
movss xmm1, dword [rbx + 0x1c]
mulss xmm1, dword [rcx + 0x1c]
addss xmm1, xmm0
mulss xmm1, dword [rsi + 0x18]
movss dword [r8 + 4], xmm1
add r8, 0x10
movss xmm2, dword [rcx + 0x1c]
mulss xmm2, dword [rbx + 0x18]
movss xmm0, dword [rbx + 0x1c]
add rbx, 0x20
mulss xmm0, dword [rcx + 0x18]
add rcx, 0x20
subss xmm2, xmm0
mulss xmm2, dword [rsi + 0x18]
movss dword [rax], xmm2
sub rdx, 1
jne 0x1400430b0
cmp rdi, r14
jge 0x140043234
sub rcx, rbx
movss xmm0, dword [rbx + 4]
sub rax, 4
mulss xmm0, dword [rbx + rcx + 4]
movss xmm1, dword [rbx + rcx]
mulss xmm1, dword [rbx]
addss xmm1, xmm0
mulss xmm1, dword [rsi + 0x18]
movss dword [r12 + rdi*4], xmm1
inc rdi
movss xmm2, dword [rbx + rcx + 4]
mulss xmm2, dword [rbx]
movss xmm0, dword [rbx + rcx]
mulss xmm0, dword [rbx + 4]
add rbx, 8
subss xmm2, xmm0
mulss xmm2, dword [rsi + 0x18]
movss dword [rax], xmm2
cmp rdi, r14
jl 0x1400431e0
mov rcx, qword [rbp + 0x18]
xor rcx, rbp
call fcn.14004dcc0
mov rbx, qword [rbp + 0x50]
mov rsi, qword [rbp + 0x58]
mov rdi, qword [rbp + 0x60]
lea rsp, [rbp + 0x20]
pop r15
pop r14
pop r13
pop r12
pop rbp
ret