Function at 0x14000a520
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov dword [rax + 8], ecx
push rbx
push rbp
push rsi
push rdi
push r13
push r14
sub rsp, 0xe8
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
movsxd rbp, edx
xor r9d, r9d
mov rbx, r8
mov r14d, ecx
lea esi, [rbp*4]
mov dword [rsp + 0x138], esi
movaps xmmword [rax - 0x68], xmm8
movaps xmmword [rax - 0x78], xmm9
test edx, edx
jle 0x14000a64e
lea rax, [rbp + rbp*2]
lea r10, [r8 + rbp*4]
lea r11, [r8 + rbp*8]
lea rax, [r8 + rax*4]
nop word [rax + rax]
movss xmm1, dword [rax]
movss xmm9, dword [r8 + r9*4]
movss xmm6, dword [r11]
add rax, 8
add r10, 8
movaps xmm3, xmm1
movaps xmm7, xmm9
movss xmm4, dword [r11 + 4]
movss xmm8, dword [r8 + r9*4 + 4]
addss xmm7, dword [r10 - 8]
add r9, 2
add r11, 8
cmp r9, rbp
movaps xmm2, xmm4
movaps xmm5, xmm8
addss xmm2, dword [rax - 4]
addss xmm5, dword [r10 - 4]
subss xmm9, dword [r10 - 8]
subss xmm8, dword [r10 - 4]
subss xmm4, dword [rax - 4]
addss xmm3, xmm6
movaps xmm0, xmm3
subss xmm6, xmm1
addss xmm0, xmm7
subss xmm7, xmm3
movaps xmm1, xmm2
movss dword [r8 + r9*4 - 8], xmm0
addss xmm1, xmm5
subss xmm5, xmm2
movaps xmm0, xmm9
movss dword [r8 + r9*4 - 4], xmm1
movss dword [r11 - 8], xmm7
movss dword [r11 - 4], xmm5
movaps xmm1, xmm6
addss xmm1, xmm8
subss xmm0, xmm4
addss xmm4, xmm9
movss dword [r10 - 4], xmm1
movss dword [r10 - 8], xmm0
subss xmm8, xmm6
movss dword [rax - 8], xmm4
movss dword [rax - 4], xmm8
jl 0x14000a580
lea r10d, [rsi + rbp]
movaps xmmword [rsp + 0x90], xmm10
movsxd r11, esi
cmp esi, r10d
jge 0x14000a798
movss xmm10, dword [0x140050748]
lea rax, [r11 + rbp]
sub r10d, esi
lea rdx, [r8 + r11*4]
lea r8, [r8 + rax*4]
lea rax, [r11 + rbp*2]
lea rcx, [r11 + rbp*2]
lea r9, [rbx + rax*4]
add rcx, rbp
lea rax, [rbx + rcx*4]
lea ecx, [r10 - 1]
shr ecx, 1
inc ecx
nop word [rax + rax]
movss xmm1, dword [r8]
movss xmm8, dword [r9]
movss xmm9, dword [rdx]
add rax, 8
add r8, 8
movaps xmm5, xmm1
movss xmm6, dword [r9 + 4]
movss xmm7, dword [rdx + 4]
addss xmm5, xmm9
add r9, 8
add rdx, 8
sub rcx, 1
movaps xmm2, xmm6
movaps xmm4, xmm7
addss xmm2, dword [rax - 4]
addss xmm4, dword [r8 - 4]
subss xmm6, dword [rax - 4]
subss xmm7, dword [r8 - 4]
subss xmm9, xmm1
movss xmm1, dword [rax - 8]
movaps xmm3, xmm1
addss xmm3, xmm8
subss xmm8, xmm1
movaps xmm1, xmm2
movaps xmm0, xmm3
addss xmm0, xmm5
subss xmm2, xmm4
addss xmm1, xmm4
movss dword [rdx - 8], xmm0
movss dword [rdx - 4], xmm1
movss dword [r9 - 8], xmm2
movaps xmm2, xmm8
movaps xmm1, xmm9
subss xmm1, xmm6
addss xmm2, xmm7
subss xmm8, xmm7
movaps xmm0, xmm1
subss xmm0, xmm2
addss xmm6, xmm9
subss xmm5, xmm3
mulss xmm0, xmm10
movss dword [r9 - 4], xmm5
movss dword [r8 - 8], xmm0
addss xmm2, xmm1
movaps xmm0, xmm8
mulss xmm2, xmm10
movss dword [r8 - 4], xmm2
subss xmm0, xmm6
addss xmm8, xmm6
mulss xmm0, xmm10
mulss xmm8, xmm10
movss dword [rax - 8], xmm0
movss dword [rax - 4], xmm8
jne 0x14000a6a0
lea r13d, [rsi + rsi]
cmp r13d, r14d
jge 0x14000ac57
movss xmm1, dword [0x14003d3cc]
movsxd r8, r13d
mov qword [rsp + 0x130], r12
mov qword [rsp + 0xe0], r15
lea rdx, [r8 + rbp*2]
lea rax, [r8 + r11]
movaps xmmword [rsp + 0x80], xmm11
movaps xmmword [rsp + 0x70], xmm12
movaps xmmword [rsp + 0x60], xmm13
lea rax, [rbx + rax*4]
lea r15, [rbx + r8*4]
lea r9, [r8*4]
movaps xmmword [rsp + 0x50], xmm14
movaps xmmword [rsp + 0x40], xmm15
mov qword [rsp + 8], rax
lea rax, [r8 + rbp*2]
add r8, rbp
lea rcx, [rbp + rax]
lea r10, [0x140050740]
lea esi, [r13 + rbp]
lea rax, [rbx + rcx*4]
mov r12d, r13d
mov r14, r10
mov qword [rsp + 0x28], rax
lea rax, [rbx + rdx*4]
mov rdi, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
lea rax, [rbx + r8*4]
mov qword [rsp], rax
lea rax, [r11 + rcx]
lea rax, [rbx + rax*4]
mov qword [rsp + 0x20], rax
lea rax, [r11 + rdx]
lea rax, [rbx + rax*4]
mov qword [rsp + 0x18], rax
lea rax, [r11 + r8]
lea r11d, [rbp*4]
lea rax, [rbx + rax*4]
lea rbx, [0x140050748]
mov qword [rsp + 0x10], rax
mov eax, r11d
sub eax, ebp
mov rbp, qword [rsp + 0x30]
mov dword [rsp + 0x128], eax
movss xmm13, dword [r10 + 0x10]
movss xmm14, dword [rbx + 0xc]
movss xmm12, dword [r14 + 0xc]
mov rcx, qword [rsp]
add r10, 0x10
add r14, 8
add rbx, 0x10
mov qword [rsp + 0x30], r10
mov rax, r15
movaps xmm0, xmm14
movaps xmm10, xmm12
movaps xmm15, xmm13
mulss xmm10, xmm13
mulss xmm0, xmm12
movss xmm11, dword [r14]
mov rdx, rbp
mov r8, rdi
mov r10d, r12d
mulss xmm0, xmm1
mulss xmm10, xmm1
subss xmm15, xmm0
subss xmm10, xmm14
movss xmm1, dword [rcx]
movss xmm8, dword [rax]
movss xmm6, dword [rdx]
add r10d, 2
add r8, 8
add rcx, 8
movaps xmm5, xmm1
movss xmm7, dword [rdx + 4]
movss xmm9, dword [rax + 4]
addss xmm5, xmm8
add rdx, 8
add rax, 8
cmp r10d, esi
movaps xmm2, xmm7
movaps xmm4, xmm9
addss xmm2, dword [r8 - 4]
addss xmm4, dword [rcx - 4]
subss xmm9, dword [rcx - 4]
subss xmm7, dword [r8 - 4]
subss xmm8, xmm1
movss xmm1, dword [r8 - 8]
movaps xmm3, xmm1
addss xmm3, xmm6
subss xmm6, xmm1
movaps xmm1, xmm2
movaps xmm0, xmm3
addss xmm0, xmm5
addss xmm1, xmm4
subss xmm4, xmm2
movaps xmm2, xmm11
mulss xmm2, xmm4
movss dword [rax - 8], xmm0
movss dword [rax - 4], xmm1
subss xmm5, xmm3
movaps xmm0, xmm12
movaps xmm1, xmm11
movaps xmm3, xmm6
mulss xmm0, xmm4
mulss xmm1, xmm5
movaps xmm4, xmm8
addss xmm3, xmm9
subss xmm9, xmm6
subss xmm1, xmm0
subss xmm4, xmm7
addss xmm7, xmm8
movaps xmm0, xmm12
mulss xmm0, xmm5
addss xmm2, xmm0
movss dword [rdx - 8], xmm1
movaps xmm0, xmm14
movaps xmm1, xmm13
mulss xmm0, xmm3
mulss xmm1, xmm4
movss dword [rdx - 4], xmm2
subss xmm1, xmm0
movaps xmm0, xmm13
movaps xmm2, xmm14
mulss xmm0, xmm3
mulss xmm2, xmm4
movss dword [rcx - 8], xmm1
addss xmm2, xmm0
movaps xmm1, xmm15
movaps xmm0, xmm10
mulss xmm0, xmm9
mulss xmm1, xmm7
movss dword [rcx - 4], xmm2
movaps xmm2, xmm15
subss xmm1, xmm0
movaps xmm0, xmm10
mulss xmm0, xmm7
mulss xmm2, xmm9
movss dword [r8 - 8], xmm1
addss xmm2, xmm0
movss dword [r8 - 4], xmm2
jl 0x14000a8e3
movss xmm14, dword [rbx + 4]
movss xmm13, dword [rbx]
movss xmm1, dword [0x14003d3cc]
mov r10d, dword [rsp + 0x128]
mov rax, qword [rsp + 8]
mov rcx, qword [rsp + 0x10]
movaps xmm10, xmm11
movaps xmm0, xmm14
movaps xmm15, xmm13
mulss xmm10, xmm13
mulss xmm0, xmm11
mulss xmm10, xmm1
mov rdx, qword [rsp + 0x18]
mov r8, qword [rsp + 0x20]
add r10d, esi
subss xmm10, xmm14
mulss xmm0, xmm1
add r11d, esi
subss xmm15, xmm0
nop word [rax + rax]
movss xmm1, dword [rcx]
movss xmm8, dword [rax]
movss xmm6, dword [rdx]
add r10d, 2
add r8, 8
add rcx, 8
movaps xmm5, xmm1
movss xmm7, dword [rdx + 4]
movss xmm9, dword [rax + 4]
addss xmm5, xmm8
add rdx, 8
add rax, 8
cmp r10d, r11d
movaps xmm2, xmm7
movaps xmm4, xmm9
addss xmm2, dword [r8 - 4]
addss xmm4, dword [rcx - 4]
subss xmm9, dword [rcx - 4]
subss xmm7, dword [r8 - 4]
subss xmm8, xmm1
movss xmm1, dword [r8 - 8]
movaps xmm3, xmm1
addss xmm3, xmm6
subss xmm6, xmm1
movaps xmm1, xmm2
movaps xmm0, xmm3
addss xmm1, xmm4
addss xmm0, xmm5
subss xmm4, xmm2
movaps xmm2, xmm14
movss dword [rax - 4], xmm1
movss dword [rax - 8], xmm0
subss xmm5, xmm3
movaps xmm1, xmm12
movaps xmm0, xmm11
movaps xmm3, xmm6
mulss xmm0, xmm4
mulss xmm1, xmm5
addss xmm3, xmm9
subss xmm9, xmm6
xorps xmm1, xmmword [0x14003d340]
subss xmm1, xmm0
movaps xmm0, xmm12
movss dword [rdx - 8], xmm1
mulss xmm0, xmm4
movaps xmm4, xmm8
subss xmm4, xmm7
movaps xmm1, xmm11
addss xmm7, xmm8
mulss xmm1, xmm5
mulss xmm2, xmm4
subss xmm1, xmm0
movaps xmm0, xmm14
movss dword [rdx - 4], xmm1
mulss xmm0, xmm3
movaps xmm1, xmm13
mulss xmm1, xmm4
subss xmm1, xmm0
movaps xmm0, xmm13
movss dword [rcx - 8], xmm1
mulss xmm0, xmm3
addss xmm2, xmm0
movaps xmm1, xmm15
mulss xmm1, xmm7
movaps xmm0, xmm10
movss dword [rcx - 4], xmm2
mulss xmm0, xmm9
movaps xmm2, xmm15
mulss xmm2, xmm9
subss xmm1, xmm0
movaps xmm0, xmm10
mulss xmm0, xmm7
movss dword [r8 - 8], xmm1
addss xmm2, xmm0
movss dword [r8 - 4], xmm2
jl 0x14000aa90
add qword [rsp], r9
add qword [rsp + 8], r9
add qword [rsp + 0x10], r9
movss xmm1, dword [0x14003d3cc]
add qword [rsp + 0x18], r9
add qword [rsp + 0x20], r9
mov r10, qword [rsp + 0x30]
mov r11d, dword [rsp + 0x138]
add r12d, r13d
add esi, r13d
add r15, r9
add rbp, r9
add rdi, r9
cmp r12d, dword [rsp + 0x120]
jl 0x14000a882
movaps xmm15, xmmword [rsp + 0x40]
movaps xmm14, xmmword [rsp + 0x50]
movaps xmm13, xmmword [rsp + 0x60]
mov r15, qword [rsp + 0xe0]
mov r12, qword [rsp + 0x130]
movaps xmm12, xmmword [rsp + 0x70]
movaps xmm11, xmmword [rsp + 0x80]
movaps xmm10, xmmword [rsp + 0x90]
lea r11, [rsp + 0xe8]
movaps xmm6, xmmword [r11 - 0x18]
movaps xmm7, xmmword [r11 - 0x28]
movaps xmm8, xmmword [r11 - 0x38]
movaps xmm9, xmmword [r11 - 0x48]
mov rsp, r11
pop r14
pop r13
pop rdi
pop rsi
pop rbp
pop rbx
ret