Function at 0x180053260
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0xa0
movups xmm3, xmmword [str.vWYNXItW_4A]
xor edi, edi
mov esi, dword [0x18010b088]
movsd xmm0, qword [0x1800ea4f0]
mov r8d, edi
movaps xmmword [rax - 0x18], xmm6
movsd qword [rax - 0x28], xmm0
mov qword [rax + 0x18], rbx
movups xmmword [rax - 0x38], xmm3
movzx eax, word [0x1800ea4f8]
mov word [rsp + 0x88], ax
cmp esi, 2
jl 0x180053394
movdqa xmm2, xmmword [0x1800f9b20]
mov r8d, 8
movdqa xmm4, xmmword [0x1800f9d80]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1800f9b90]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movq xmm1, xmm3
movdqa xmm3, xmmword [0x1800f9b40]
paddw xmm2, xmmword [0x1800f9c90]
movdqa xmm0, xmm3
xorps xmm2, xmm1
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movq qword [rsp + 0x70], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1800f9b90]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rsp + 0x78]
pshufd xmm2, xmm1, 0xd8
paddw xmm2, xmmword [0x1800f9c90]
xorps xmm2, xmm0
movq qword [rsp + 0x78], xmm2
movsxd rax, r8d
lea r9, [rsp + 0x70]
lea r9, [r9 + rax*2]
mov eax, 0x4d4873ed
lea r9, [r9 + 2]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub ax, dx
movzx eax, ax
imul ecx, eax, 0x35
add cx, r8w
inc r8d
xor word [r9 - 2], cx
cmp r8d, 0xd
jl 0x1800533a0
movzx eax, word [0x1800eaa58]
lea rbx, [rsp + 0xb0]
mov word [rsp + 0xb0], ax
mov ecx, 8
movzx eax, byte [0x1800eaa5a]
xor byte [rsp + 0xb1], 0x36
xor al, 0x37
mov byte [rsp + 0xb2], al
mov byte [rsp + 0xb0], 0x45
call fcn.1800b31c4
cmp byte [0x1800ea3f9], dil
movups xmm0, xmmword [0x1800ea3e8]
mov qword [rsp + 0x58], rax
lea rcx, [rax + 8]
mov qword [rax], rbx
movzx eax, word [0x1800ea3f8]
mov rbx, qword [rsp + 0xc0]
mov word [rsp + 0x50], ax
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x60], rcx
movups xmmword [rsp + 0x40], xmm0
je 0x1800535e0
cmp esi, 2
jl 0x1800535a2
movdqa xmm0, xmmword [0x1800f9ce0]
lea rcx, [rsp + 0x44]
movdqa xmm5, xmmword [0x1800f9b20]
movdqa xmm4, xmmword [0x1800f9d80]
movdqa xmm6, xmmword [0x1800f9b90]
movdqa xmmword [rsp + 0x30], xmm0
mov edx, dword [rsp + 0x30]
nop dword [rax]
nop word [rax + rax]
movd xmm2, edi
lea eax, [rdi + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add edi, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
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
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1800f9ca0]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1800f9ca0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp edi, 0x10
jl 0x1800534a0
cmp edi, 0x12
jge 0x1800535e0
movsxd rax, edi
lea r8, [rsp + 0x40]
add r8, rax
nop dword [rax]
mov eax, 0x4d4873ed
lea r8, [r8 + 1]
imul edi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub al, dl
movsx eax, al
imul ecx, eax, 0x35
add cl, dil
inc edi
xor byte [r8 - 1], cl
cmp edi, 0x12
jl 0x1800535b0
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x40]
call fcn.18004eb60
mov rsi, qword [rsp + 0xc8]
movaps xmm6, xmmword [rsp + 0x90]
add rsp, 0xa0
pop rdi
ret