Function at 0x180055f70
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xc0
movups xmm0, xmmword [str.wTXAYJuYVX_K_]
mov esi, dword [0x180112028]
xor edi, edi
movaps xmmword [rax - 0x38], xmm6
mov r8d, edi
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
mov qword [rax + 0x18], rbx
lea r14d, [rdi + 4]
movzx eax, word [0x1800ef468]
lea r15d, [rdi + 0x1f]
mov word [rbp - 1], ax
movups xmmword [rbp - 0x19], xmm0
movsd xmm0, qword [0x1800ef460]
movsd qword [rbp - 9], xmm0
cmp esi, 2
jl 0x1800560c0
movdqa xmm2, xmmword [0x1800feda0]
mov r8d, 8
movdqa xmm3, xmmword [0x1800fedc0]
movdqa xmm1, xmm2
movdqa xmm4, xmmword [0x1800ff230]
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movd xmm6, r14d
movd xmm5, r15d
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1800fedf0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [str.wTXAYJuYVX_K_]
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
paddw xmm2, xmmword [str.44444444]
pxor xmm2, xmm0
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movq qword [rbp - 0x19], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1800fedf0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rbp - 0x11]
pshufd xmm2, xmm1, 0xd8
paddw xmm2, xmmword [str.44444444]
pxor xmm2, xmm0
movq qword [rbp - 0x11], xmm2
movsxd rax, r8d
lea r9, [rbp - 0x19]
lea r9, [r9 + rax*2]
nop dword [rax + rax]
mov eax, 0x51eb851f
lea r9, [r9 + 2]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x32
movzx eax, r8w
inc r8d
sub ax, cx
add ax, 0x34
xor word [r9 - 2], ax
cmp r8d, 0xd
jl 0x1800560d0
movzx eax, word [0x1800ef518]
lea rbx, [rbp + 0x67]
mov word [rbp + 0x67], ax
xorps xmm0, xmm0
movzx eax, byte [0x1800ef51a]
mov ecx, 8
xor byte [rbp + 0x68], 0x35
xor al, 0x36
mov byte [rbp + 0x69], al
mov byte [rbp + 0x67], 0x45
movdqu xmmword [rbp - 0x31], xmm0
mov qword [rbp - 0x21], rdi
call fcn.1800b7bb0
cmp byte [0x1800ef911], dil
movups xmm0, xmmword [str.rWZ_]
mov qword [rbp - 0x31], rax
lea rcx, [rax + 8]
mov qword [rbp - 0x21], rcx
mov qword [rax], rbx
movzx eax, word [0x1800ef910]
mov rbx, qword [rsp + 0x100]
mov word [rbp - 0x39], ax
mov qword [rbp - 0x29], rcx
movups xmmword [rbp - 0x49], xmm0
je 0x1800562fe
cmp esi, 2
jl 0x1800562c6
movdqa xmm0, xmmword [0x1800fef30]
lea rcx, [rbp - 0x45]
movdqa xmm5, xmmword [0x1800feda0]
movdqa xmm4, xmmword [0x1800ff230]
movdqa xmm7, xmmword [0x1800fedf0]
movdqa xmmword [rbp - 0x59], xmm0
mov edx, dword [rbp - 0x59]
movd xmm6, r14d
movd xmm8, r15d
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
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
pand xmm2, xmmword [0x1800fef10]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
pxor xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1800fef10]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
pxor xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp edi, 0x10
jl 0x1800561c0
cmp eax, 0x12
jge 0x1800562fe
movsxd rax, edi
lea r8, [rbp - 0x49]
add r8, rax
mov eax, 0x51eb851f
lea r8, [r8 + 1]
imul edi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x32
movzx eax, dil
inc edi
sub al, cl
add al, 0x34
xor byte [r8 - 1], al
cmp edi, 0x12
jl 0x1800562d0
lea r8, [rbp - 0x19]
lea rdx, [rbp - 0x31]
lea rcx, [rbp - 0x49]
call fcn.1800510d0
lea r11, [rsp + 0xc0]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret