Function at 0x18000acf0
Capabilities:
Encode data using xor

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x60
xor r10d, r10d
mov r9, rcx
test rdx, rdx
je 0x18000ad10
mov rcx, qword [0x1800a79d0]
add rcx, rdx
jmp 0x18000ad13
mov rcx, r10
mov rdx, qword [rcx]
movaps xmmword [rsp + 0x50], xmm6
movaps xmmword [rsp + 0x40], xmm7
movaps xmmword [rsp + 0x30], xmm8
test rdx, rdx
jne 0x18000aec1
cmp dword [0x1800a5018], 2
mov ecx, r10d
movups xmm0, xmmword [0x180093cd8]
movzx eax, word [0x180093cf0]
movsd xmm1, qword [str.qM_V_]
movups xmmword [rbp - 0x50], xmm0
mov word [rbp - 0x38], ax
movsd qword [rbp - 0x40], xmm1
jl 0x18000ae54
movdqa xmm2, xmmword [0x18009d8f0]
mov eax, 4
movdqa xmm3, xmmword [0x18009d910]
movdqa xmm1, xmm2
movdqa xmm4, xmmword [0x18009dd00]
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
mov ecx, 8
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movd xmm6, eax
mov eax, 0x1f
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movd xmm5, eax
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x18009d930]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [0x180093cd8]
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
paddw xmm2, xmmword [0x18009d9d0]
pxor xmm2, xmm0
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movq qword [rbp - 0x50], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x18009d930]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rbp - 0x48]
pshufd xmm2, xmm1, 0xd8
paddw xmm2, xmmword [0x18009d9d0]
pxor xmm2, xmm0
movq qword [rbp - 0x48], xmm2
mov eax, ecx
lea r8, [rbp - 0x50]
lea r8, [r8 + rax*2]
nop
mov eax, 0x51eb851f
lea r8, [r8 + 2]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul edx, eax, 0x32
movzx eax, cx
inc ecx
sub ax, dx
add ax, 0x30
xor word [r8 - 2], ax
cmp ecx, 0xd
jl 0x18000ae60
mov qword [rbp - 0x60], r10
cmp word [rbp - 0x50], r10w
je 0x18000b236
lea rax, [rbp - 0x50]
mov ecx, r10d
nop word [rax + rax]
inc ecx
lea rax, [rax + 2]
cmp word [rax], r10w
jne 0x18000aeb0
jmp 0x18000b21f
mov rax, qword [0x1800a7a28]
mov rcx, qword [rax + rdx]
test rcx, rcx
jne 0x18000b071
cmp dword [0x1800a5018], 2
mov ecx, r10d
movups xmm0, xmmword [0x180093cd8]
movzx eax, word [0x180093cf0]
movsd xmm1, qword [str.qM_V_]
movups xmmword [rbp - 0x50], xmm0
mov word [rbp - 0x38], ax
movsd qword [rbp - 0x40], xmm1
jl 0x18000b005
movdqa xmm2, xmmword [0x18009d8f0]
mov eax, 4
movdqa xmm4, xmmword [0x18009dd00]
movdqa xmm1, xmm2
movdqa xmm8, xmmword [0x18009d9d0]
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
mov ecx, 8
pmuldq xmm0, xmm4
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movd xmm6, eax
mov eax, 0x1f
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movd xmm5, eax
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x18009d930]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movq xmm2, xmm8
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [0x180093cd8]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
movdqa xmm2, xmmword [0x18009d910]
pxor xmm3, xmm0
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movq qword [rbp - 0x50], xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x18009d930]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movq xmm2, xmm8
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rbp - 0x48]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
pxor xmm3, xmm0
movq qword [rbp - 0x48], xmm3
mov eax, ecx
lea r8, [rbp - 0x50]
lea r8, [r8 + rax*2]
nop
mov eax, 0x51eb851f
lea r8, [r8 + 2]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul edx, eax, 0x32
movzx eax, cx
inc ecx
sub ax, dx
add ax, 0x30
xor word [r8 - 2], ax
cmp ecx, 0xd
jl 0x18000b010
mov qword [rbp - 0x60], r10
cmp word [rbp - 0x50], r10w
je 0x18000b236
lea rax, [rbp - 0x50]
mov ecx, r10d
nop word [rax + rax]
inc ecx
lea rax, [rax + 2]
cmp word [rax], r10w
jne 0x18000b060
jmp 0x18000b21f
mov rax, qword [0x1800a7a50]
movups xmm0, xmmword [rax + rcx]
movq rax, xmm0
test rax, rax
jne 0x18000b23e
cmp dword [0x1800a5018], 2
mov ecx, r10d
movups xmm0, xmmword [0x180093cd8]
movzx eax, word [0x180093cf0]
movsd xmm1, qword [str.qM_V_]
movups xmmword [rbp - 0x50], xmm0
mov word [rbp - 0x38], ax
movsd qword [rbp - 0x40], xmm1
jl 0x18000b1ba
movdqa xmm2, xmmword [0x18009d8f0]
mov eax, 4
movdqa xmm4, xmmword [0x18009dd00]
movdqa xmm1, xmm2
movdqa xmm8, xmmword [0x18009d9d0]
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
mov ecx, 8
pmuldq xmm0, xmm4
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movd xmm6, eax
mov eax, 0x1f
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movd xmm5, eax
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x18009d930]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movq xmm2, xmm8
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [0x180093cd8]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
movdqa xmm2, xmmword [0x18009d910]
pxor xmm3, xmm0
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movq qword [rbp - 0x50], xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x18009d930]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movq xmm2, xmm8
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rbp - 0x48]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
pxor xmm3, xmm0
movq qword [rbp - 0x48], xmm3
mov eax, ecx
lea r8, [rbp - 0x50]
lea r8, [r8 + rax*2]
nop dword [rax]
nop dword [rax + rax]
mov eax, 0x51eb851f
lea r8, [r8 + 2]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul edx, eax, 0x32
movzx eax, cx
inc ecx
sub ax, dx
add ax, 0x30
xor word [r8 - 2], ax
cmp ecx, 0xd
jl 0x18000b1d0
mov qword [rbp - 0x60], r10
cmp word [rbp - 0x50], r10w
je 0x18000b236
lea rax, [rbp - 0x50]
mov ecx, r10d
inc ecx
lea rax, [rax + 2]
cmp word [rax], r10w
jne 0x18000b213
add ecx, 1
lea rax, [rbp - 0x50]
mov dword [rbp - 0x58], ecx
cmove rax, r10
mov dword [rbp - 0x54], ecx
mov qword [rbp - 0x60], rax
jmp 0x18000b23a
mov qword [rbp - 0x58], r10
movups xmm0, xmmword [rbp - 0x60]
movaps xmm8, xmmword [rsp + 0x30]
mov rax, r9
movaps xmm7, xmmword [rsp + 0x40]
movaps xmm6, xmmword [rsp + 0x50]
movups xmmword [r9], xmm0
add rsp, 0x60
pop rbp
ret