Function at 0x1800ae920
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0xf0
movaps xmmword [r11 - 0x18], xmm6
xor ecx, ecx
cmp dword [0x18011cd58], 0x11
jl 0x1800aeb1b
movups xmm0, xmmword [0x180101b50]
movups xmmword [r11 - 0x68], xmm0
movups xmm1, xmmword [str.3__]
movups xmmword [r11 - 0x58], xmm1
movups xmm0, xmmword [0x180101b70]
movups xmmword [r11 - 0x48], xmm0
movups xmm1, xmmword [0x180101b80]
movups xmmword [r11 - 0x38], xmm1
movzx eax, word [0x180101b90]
mov word [r11 - 0x28], ax
movzx eax, byte [0x180101b92]
mov byte [r11 - 0x26], al
cmp dword [0x18011b018], 2
jl 0x1800aeacc
movdqa xmm5, xmmword [0x180104740]
movdqa xmm4, xmmword [0x180104940]
movdqa xmm6, xmmword [0x180104770]
movdqa xmm0, xmmword [0x180104850]
movdqa xmmword [rsp + 0x20], xmm0
lea rdx, [r11 - 0x64]
mov r8d, dword [rsp + 0x20]
movd xmm2, ecx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x180104820]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 4]
xorps xmm2, xmm0
movd dword [rdx - 4], xmm2
lea eax, [rcx + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x180104820]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx]
xorps xmm2, xmm0
movd dword [rdx], xmm2
add ecx, 8
lea rdx, [rdx + 8]
cmp ecx, 0x40
jl 0x1800ae9c2
cmp ecx, 0x43
jge 0x1800aeb0e
movsxd rax, ecx
lea r8, [rsp + 0x90]
add r8, rax
nop word [rax + rax]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x38
movzx eax, cl
sub al, dl
add al, 0x35
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x43
jl 0x1800aeae0
lea rdx, [rsp + 0x90]
jmp 0x1800aece3
movups xmm0, xmmword [0x180101b10]
movups xmmword [rsp + 0x50], xmm0
movups xmm1, xmmword [0x180101b20]
movups xmmword [rsp + 0x60], xmm1
movups xmm0, xmmword [str.__6_6_]
movups xmmword [rsp + 0x70], xmm0
mov eax, dword [0x180101b40]
mov dword [rsp + 0x80], eax
cmp dword [0x18011b018], 2
jl 0x1800aec9a
movdqa xmm5, xmmword [0x180104740]
movdqa xmm4, xmmword [0x180104940]
movdqa xmm6, xmmword [0x180104770]
movdqa xmm0, xmmword [0x180104850]
movdqa xmmword [rsp + 0x20], xmm0
lea rdx, [rsp + 0x54]
mov r8d, dword [rsp + 0x20]
nop dword [rax]
movd xmm2, ecx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x180104820]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 4]
xorps xmm2, xmm0
movd dword [rdx - 4], xmm2
lea eax, [rcx + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x180104820]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx]
xorps xmm2, xmm0
movd dword [rdx], xmm2
add ecx, 8
lea rdx, [rdx + 8]
cmp ecx, 0x30
jl 0x1800aeb90
cmp ecx, 0x34
jge 0x1800aecde
movsxd rax, ecx
lea r8, [rsp + 0x50]
add r8, rax
nop word [rax + rax]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x38
movzx eax, cl
sub al, dl
add al, 0x35
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x34
jl 0x1800aecb0
lea rdx, [rsp + 0x50]
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x1800aed00
lea rcx, [rsp + 0x30]
call fcn.18001d5d0
nop
lea rcx, [rsp + 0x30]
call fcn.1800ae820
mov rbx, rax
lea rcx, [rsp + 0x30]
call fcn.18001faf0
mov rax, rbx
movaps xmm6, xmmword [rsp + 0xe0]
add rsp, 0xf0
pop rbx
ret