Function at 0x1400c0160
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov dword [rax + 0x20], r9d
mov dword [rax + 0x18], r8d
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbp
push rbx
push rdi
lea rbp, [rax - 0x27]
sub rsp, 0xb0
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
movaps xmmword [rax - 0x48], xmm8
movaps xmmword [rax - 0x58], xmm9
movaps xmmword [rax - 0x68], xmm10
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x71], xmm0
xor edi, edi
mov qword [rbp - 0x61], rdi
movd xmm10, dword [rbp + 0x3f]
cvtdq2ps xmm10, xmm10
movss dword [rsp + 0x20], xmm10
movd xmm9, dword [rbp + 0x47]
cvtdq2ps xmm9, xmm9
movss dword [rbp - 0x7d], xmm9
movss xmm6, dword [rbp + 0x5f]
movss dword [rbp - 0x79], xmm6
lea r8, [rsp + 0x20]
mov rdx, qword [rbp - 0x69]
lea rcx, [rbp - 0x71]
call fcn.1400c77c0
movd xmm8, dword [rbp + 0x4f]
cvtdq2ps xmm8, xmm8
addss xmm8, xmm10
movss dword [rsp + 0x20], xmm8
movss dword [rbp - 0x7d], xmm9
movss dword [rbp - 0x79], xmm6
mov rdx, qword [rbp - 0x69]
cmp rdx, qword [rbp - 0x61]
je 0x1400c022c
movss dword [rdx], xmm8
movss dword [rdx + 4], xmm9
movss dword [rdx + 8], xmm6
mov rdx, qword [rbp - 0x69]
add rdx, 0xc
mov qword [rbp - 0x69], rdx
jmp 0x1400c023e
lea r8, [rsp + 0x20]
lea rcx, [rbp - 0x71]
call fcn.1400c77c0
mov rdx, qword [rbp - 0x69]
movss dword [rsp + 0x20], xmm10
movd xmm7, dword [rbp + 0x57]
cvtdq2ps xmm7, xmm7
addss xmm7, xmm9
movss dword [rbp - 0x7d], xmm7
movss dword [rbp - 0x79], xmm6
cmp rdx, qword [rbp - 0x61]
je 0x1400c027f
movss dword [rdx], xmm10
movss dword [rdx + 4], xmm7
movss dword [rdx + 8], xmm6
mov rdx, qword [rbp - 0x69]
add rdx, 0xc
mov qword [rbp - 0x69], rdx
jmp 0x1400c0291
lea r8, [rsp + 0x20]
lea rcx, [rbp - 0x71]
call fcn.1400c77c0
mov rdx, qword [rbp - 0x69]
movss dword [rsp + 0x20], xmm8
movss dword [rbp - 0x7d], xmm7
movss dword [rbp - 0x79], xmm6
cmp rdx, qword [rbp - 0x61]
je 0x1400c02c5
movss dword [rdx], xmm8
movss dword [rdx + 4], xmm7
movss dword [rdx + 8], xmm6
mov rcx, qword [rbp - 0x69]
add rcx, 0xc
mov qword [rbp - 0x69], rcx
jmp 0x1400c02d7
lea r8, [rsp + 0x20]
lea rcx, [rbp - 0x71]
call fcn.1400c77c0
mov rcx, qword [rbp - 0x69]
mov r10, rdi
mov r9, qword [rbp - 0x71]
sub rcx, r9
movabs r11, 0x2aaaaaaaaaaaaaab
mov rax, r11
imul rcx
sar rdx, 1
mov rax, rdx
shr rax, 0x3f
add rdx, rax
je 0x1400c038e
mov r8, rdi
movss xmm2, dword [0x140145ce4]
movss xmm3, dword [0x140145ce8]
movss xmm4, dword [0x14014abb0]
movss xmm5, dword [0x14014a7f4]
nop word [rax + rax]
movss xmm0, dword [r9 + r8]
subss xmm0, xmm2
movss dword [r9 + r8], xmm0
movss xmm1, dword [r9 + r8 + 4]
subss xmm1, xmm3
xorps xmm1, xmm4
movss dword [r9 + r8 + 4], xmm1
movss xmm0, dword [r9 + r8 + 8]
addss xmm0, xmm5
movss dword [r9 + r8 + 8], xmm0
inc r10
add r8, 0xc
mov rcx, qword [rbp - 0x69]
sub rcx, qword [rbp - 0x71]
mov rax, r11
imul rcx
sar rdx, 1
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp r10, rdx
jb 0x1400c0330
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x59], xmm0
mov qword [rbp - 0x49], rdi
lea r8, [rbp - 0x59]
lea rdx, [rbp - 0x71]
mov rbx, qword [rbp + 0x2f]
mov rcx, rbx
call fcn.1400c0550
movss xmm1, dword [0x14014a868]
movaps xmm4, xmm1
xorps xmm2, xmm2
xorps xmm3, xmm3
mov rax, rdi
mov rdx, qword [rbp - 0x51]
mov rcx, qword [rbp - 0x59]
sub rdx, rcx
sar rdx, 3
test rdx, rdx
je 0x1400c0409
movss xmm0, dword [rcx + rax*8]
comiss xmm0, xmm1
ja 0x1400c03e3
movaps xmm1, xmm0
comiss xmm2, xmm0
ja 0x1400c03eb
movaps xmm2, xmm0
movss xmm0, dword [rcx + rax*8 + 4]
comiss xmm0, xmm4
ja 0x1400c03f9
movaps xmm4, xmm0
comiss xmm3, xmm0
ja 0x1400c0401
movaps xmm3, xmm0
inc rax
cmp rax, rdx
jb 0x1400c03d6
cvttss2si eax, xmm1
mov r9, qword [rbp + 0x67]
mov dword [r9], eax
cvttss2si eax, xmm2
mov r8, qword [rbp + 0x6f]
mov dword [r8], eax
cvttss2si eax, xmm4
mov r10, qword [rbp + 0x77]
mov dword [r10], eax
cvttss2si eax, xmm3
mov r11, qword [rbp + 0x7f]
mov dword [r11], eax
mov eax, dword [r9]
test eax, eax
cmovle eax, edi
mov dword [r9], eax
mov eax, dword [r10]
test eax, eax
cmovle eax, edi
mov dword [r10], eax
mov eax, dword [r8]
test eax, eax
cmovle eax, edi
mov dword [r8], eax
mov eax, dword [r11]
test eax, eax
cmovle eax, edi
mov dword [r11], eax
add dword [r8], 8
mov rdx, qword [rbp + 0x37]
mov eax, dword [r9]
test dword [rbx + 0x40], 0xfffffffd
je 0x1400c048f
mov ecx, dword [rdx + 0xc]
dec ecx
cmp eax, ecx
cmovge eax, ecx
mov dword [r9], eax
mov eax, dword [r8]
cmp eax, ecx
cmovge eax, ecx
mov ecx, dword [rdx + 8]
jmp 0x1400c04a7
mov ecx, dword [rdx + 8]
dec ecx
cmp eax, ecx
cmovge eax, ecx
mov dword [r9], eax
mov eax, dword [r8]
cmp eax, ecx
cmovge eax, ecx
mov ecx, dword [rdx + 0xc]
mov dword [r8], eax
dec ecx
mov eax, dword [r10]
cmp eax, ecx
cmovge eax, ecx
mov dword [r10], eax
mov eax, dword [r11]
cmp eax, ecx
cmovge eax, ecx
mov dword [r11], eax
mov rcx, qword [rbp - 0x59]
test rcx, rcx
je 0x1400c0517
mov rax, qword [rbp - 0x49]
sub rax, rcx
sar rax, 3
lea rdx, [rax*8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c0506
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400c0506
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400f0480
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x59], xmm0
mov qword [rbp - 0x49], rdi
lea rcx, [rbp - 0x71]
call fcn.1400c7670
lea r11, [rsp + 0xb0]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
mov rsp, r11
pop rdi
pop rbx
pop rbp
ret