Function at 0x180053f70
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
movups xmm3, xmmword [str.qRZCWDw_P_I_]
xor edi, edi
mov esi, dword [0x180111088]
movsd xmm0, qword [0x1800ee250]
mov r8d, edi
movaps xmmword [rax - 0x28], xmm6
mov qword [rax + 0x18], rbx
movzx eax, word [0x1800ee258]
mov word [rbp + 0x2f], ax
movsd qword [rbp + 0x27], xmm0
movups xmmword [rbp + 0x17], xmm3
cmp esi, 2
jl 0x1800540a7
movdqa xmm2, xmmword [0x1800fdbc0]
mov r8d, 8
movdqa xmm4, xmmword [0x1800fde60]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1800fdc20]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movq xmm1, xmm3
movdqa xmm3, xmmword [0x1800fdbe0]
paddw xmm2, xmmword [0x1800fdd20]
movdqa xmm0, xmm3
xorps xmm2, xmm1
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movq qword [rbp + 0x17], xmm2
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1800fdc20]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rbp + 0x1f]
pshufd xmm2, xmm1, 0xd8
paddw xmm2, xmmword [0x1800fdd20]
xorps xmm2, xmm0
movq qword [rbp + 0x1f], xmm2
movsxd rax, r8d
lea r9, [rbp + 0x17]
lea r9, [r9 + rax*2]
nop dword [rax]
nop word [rax + rax]
mov eax, 0xa0a0a0a1
lea r9, [r9 + 2]
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x33
movzx eax, r8w
inc r8d
sub ax, cx
add ax, 0x32
xor word [r9 - 2], ax
cmp r8d, 0xd
jl 0x1800540c0
movzx eax, word [0x1800ee558]
lea rbx, [rbp + 0x67]
mov word [rbp + 0x67], ax
xorps xmm0, xmm0
movzx eax, byte [0x1800ee55a]
mov ecx, 8
xor byte [rbp + 0x68], 0x33
xor al, 0x34
mov byte [rbp + 0x69], al
mov byte [rbp + 0x67], 0x45
movdqu xmmword [rbp - 1], xmm0
mov qword [rbp + 0xf], rdi
call fcn.1800b5540
cmp byte [0x1800ee1d9], dil
movups xmm0, xmmword [str.tUXS]
mov qword [rbp - 1], rax
lea rcx, [rax + 8]
mov qword [rbp + 0xf], rcx
mov qword [rax], rbx
movzx eax, word [0x1800ee1d8]
mov rbx, qword [rsp + 0xd0]
mov word [rbp - 9], ax
mov qword [rbp + 7], rcx
movups xmmword [rbp - 0x19], xmm0
je 0x180054300
cmp esi, 2
jl 0x1800542bc
movdqa xmm0, xmmword [0x1800fdd60]
lea rcx, [rbp - 0x15]
movdqa xmm5, xmmword [0x1800fdbc0]
movdqa xmm4, xmmword [0x1800fde60]
movdqa xmm6, xmmword [0x1800fdc20]
movdqa xmmword [rbp - 0x29], xmm0
mov edx, dword [rbp - 0x29]
nop dword [rax]
nop dword [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
mov eax, edi
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
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1800fdd30]
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
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
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1800fdd30]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp edi, 0x10
jl 0x1800541b0
cmp eax, 0x12
jge 0x180054300
movsxd rax, edi
lea r8, [rbp - 0x19]
add r8, rax
nop word [rax + rax]
mov eax, 0xa0a0a0a1
lea r8, [r8 + 1]
imul edi
add edx, edi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x33
movzx eax, dil
inc edi
sub al, cl
add al, 0x32
xor byte [r8 - 1], al
cmp edi, 0x12
jl 0x1800542d0
lea r8, [rbp + 0x17]
lea rdx, [rbp - 1]
lea rcx, [rbp - 0x19]
call fcn.18004f240
movaps xmm6, xmmword [rsp + 0x90]
add rsp, 0xa0
pop rdi
pop rsi
pop rbp
ret