Function at 0x1400e3540
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x78
movss xmm2, dword [rcx]
movaps xmmword [rsp + 0x40], xmm8
movaps xmmword [rsp + 0x30], xmm9
movss xmm9, dword [rdx]
comiss xmm9, xmm2
jb 0x1400e357f
movss xmm1, dword [rdx + 4]
comiss xmm1, dword [rcx + 4]
jb 0x1400e357f
movss xmm0, dword [rcx + 8]
comiss xmm0, xmm9
jbe 0x1400e357f
movss xmm0, dword [rcx + 0xc]
comiss xmm0, xmm1
ja 0x1400e35ab
movss xmm8, dword [r8]
comiss xmm8, xmm2
jb 0x1400e35be
movss xmm1, dword [r8 + 4]
comiss xmm1, dword [rcx + 4]
jb 0x1400e35be
movss xmm0, dword [rcx + 8]
comiss xmm0, xmm8
jbe 0x1400e35be
movss xmm0, dword [rcx + 0xc]
comiss xmm0, xmm1
jbe 0x1400e35be
mov al, 1
movaps xmm8, xmmword [rsp + 0x40]
movaps xmm9, xmmword [rsp + 0x30]
add rsp, 0x78
ret
movups xmm1, xmmword [rcx]
movaps xmmword [rsp + 0x60], xmm6
movaps xmm6, xmm1
movaps xmmword [rsp + 0x50], xmm7
shufps xmm6, xmm1, 0xaa
comiss xmm1, xmm6
movups xmmword [rsp + 0x10], xmm1
jbe 0x1400e35e5
movaps xmm0, xmm1
movaps xmm1, xmm6
movaps xmm6, xmm0
movss xmm3, dword [rsp + 0x14]
movss xmm7, dword [rsp + 0x1c]
comiss xmm3, xmm7
jbe 0x1400e35ff
movaps xmm0, xmm3
movaps xmm3, xmm7
movaps xmm7, xmm0
comiss xmm1, xmm9
movaps xmmword [rsp + 0x20], xmm10
jbe 0x1400e3611
comiss xmm1, xmm8
ja 0x1400e3641
comiss xmm9, xmm6
jbe 0x1400e361d
comiss xmm8, xmm6
ja 0x1400e3641
movss xmm10, dword [rdx + 4]
comiss xmm3, xmm10
jbe 0x1400e3630
comiss xmm3, dword [r8 + 4]
ja 0x1400e3641
comiss xmm10, xmm7
jbe 0x1400e3648
movss xmm0, dword [r8 + 4]
comiss xmm0, xmm7
jbe 0x1400e3648
xor al, al
jmp 0x1400e37a5
movss xmm0, dword [r8 + 4]
movaps xmm5, xmm9
xor r8d, r8d
subss xmm5, xmm8
movaps xmm4, xmm0
mulss xmm8, xmm10
mov eax, r8d
mov ecx, r8d
mulss xmm0, xmm9
subss xmm4, xmm10
mov r9d, r8d
subss xmm8, xmm0
movaps xmm2, xmm4
mulss xmm4, xmm6
mulss xmm2, xmm1
movaps xmm1, xmm5
mulss xmm1, xmm3
xorps xmm3, xmm3
mulss xmm5, xmm7
movaps xmm0, xmm1
addss xmm0, xmm2
addss xmm0, xmm8
comiss xmm0, xmm3
seta cl
comiss xmm3, xmm0
movaps xmm0, xmm4
addss xmm0, xmm1
seta al
sub ecx, eax
mov eax, r8d
mov dword [rsp], ecx
mov ecx, r8d
addss xmm0, xmm8
comiss xmm0, xmm3
seta cl
comiss xmm3, xmm0
movaps xmm0, xmm5
addss xmm5, xmm4
addss xmm0, xmm2
seta al
sub ecx, eax
mov eax, r8d
mov dword [rsp + 4], ecx
mov ecx, r8d
addss xmm5, xmm8
addss xmm0, xmm8
comiss xmm0, xmm3
seta cl
comiss xmm3, xmm0
seta al
sub ecx, eax
mov eax, r8d
comiss xmm5, xmm3
mov dword [rsp + 8], ecx
mov ecx, r8d
seta cl
comiss xmm3, xmm5
seta al
sub ecx, eax
cmp dword [0x14012a018], 2
mov dword [rsp + 0xc], ecx
jl 0x1400e376f
movdqu xmm0, xmmword [rsp]
pabsd xmm2, xmm0
movups xmm3, xmm0
movdqa xmm1, xmm2
psrldq xmm1, 8
paddd xmm2, xmm1
movdqa xmm0, xmm2
psrldq xmm0, 4
paddd xmm2, xmm0
movdqa xmm0, xmm3
psrldq xmm0, 8
paddd xmm3, xmm0
movd r9d, xmm2
movdqa xmm0, xmm3
psrldq xmm0, 4
paddd xmm3, xmm0
movd r8d, xmm3
jmp 0x1400e3797
lea rcx, [rsp]
mov r10d, 4
nop dword [rax]
mov eax, dword [rcx]
lea rcx, [rcx + 4]
add r8d, eax
cdq
xor eax, edx
sub eax, edx
add r9d, eax
sub r10, 1
jne 0x1400e3780
mov eax, r8d
cdq
xor eax, edx
sub eax, edx
cmp eax, r9d
setne al
movaps xmm10, xmmword [rsp + 0x20]
movaps xmm6, xmmword [rsp + 0x60]
movaps xmm7, xmmword [rsp + 0x50]
movaps xmm8, xmmword [rsp + 0x40]
movaps xmm9, xmmword [rsp + 0x30]
add rsp, 0x78
ret