Function at 0x18004fdf0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rax - 0x5f]
sub rsp, 0xb0
movups xmm0, xmmword [str.dlxnd]
mov r14d, dword [0x18010b090]
xor ebx, ebx
movdqa xmm5, xmmword [0x1800f7f40]
mov r8d, ebx
movaps xmmword [rax - 0x28], xmm6
movdqa xmm6, xmmword [0x1800f7ad0]
movaps xmmword [rax - 0x38], xmm7
mov eax, dword [0x1800e8970]
movdqa xmm7, xmmword [0x1800f7b60]
mov dword [rbp + 0x1f], eax
movzx eax, word [0x1800e8974]
mov word [rbp + 0x23], ax
movups xmm1, xmmword [0x1800e8960]
movups xmmword [rbp - 1], xmm0
movups xmmword [rbp + 0xf], xmm1
cmp r14d, 2
jl 0x18004ff71
movdqa xmm4, xmmword [0x1800f7c50]
lea rcx, [rbp - 1]
nop word [rax + rax]
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 0x10]
paddd xmm2, xmm6
add r8d, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm5
pmuldq xmm1, xmm5
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshufhw xmm0, xmm2, 0xd8
movq xmm2, xmm4
pshuflw xmm1, xmm0, 0xd8
movq xmm0, qword [rcx - 0x10]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
xorps xmm3, xmm0
movq qword [rcx - 0x10], xmm3
paddd xmm2, xmm6
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm5
punpckldq xmm1, xmm2
pmuldq xmm1, xmm5
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshufhw xmm0, xmm2, 0xd8
movq xmm2, xmm4
pshuflw xmm1, xmm0, 0xd8
movq xmm0, qword [rcx - 8]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
xorps xmm3, xmm0
movq qword [rcx - 8], xmm3
cmp r8d, 0x10
jl 0x18004fe80
cmp r8d, 0x13
jge 0x18004ffb5
movsxd rax, r8d
lea r9, [rbp - 1]
lea r9, [r9 + rax*2]
nop dword [rax]
mov eax, 0x4bda12f7
lea r9, [r9 + 2]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x36
movzx eax, r8w
inc r8d
sub ax, cx
add ax, 0x37
xor word [r9 - 2], ax
cmp r8d, 0x13
jl 0x18004ff80
cmp byte [0x1800e877d], bl
mov eax, dword [0x1800e8778]
movsd xmm0, qword [0x1800e8770]
mov dword [rbp - 0x21], eax
movzx eax, word [0x1800e877c]
mov word [rbp - 0x1d], ax
movsd qword [rbp - 0x29], xmm0
je 0x180050101
mov r8d, ebx
cmp r14d, 2
jl 0x1800500ba
movdqa xmm2, xmmword [0x1800f7af0]
movdqa xmm1, xmm6
punpckldq xmm1, xmm6
movdqa xmm0, xmm6
punpckhdq xmm0, xmm6
mov r8d, 8
pmuldq xmm0, xmm5
pmuldq xmm1, xmm5
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movdqa xmm1, xmm2
pmulld xmm0, xmm7
psubd xmm6, xmm0
punpckldq xmm1, xmm2
andps xmm6, xmmword [0x1800f7c10]
movd xmm0, dword [0x1800e8770]
packuswb xmm6, xmm6
packuswb xmm6, xmm6
paddb xmm6, xmmword [0x1800f7c70]
xorps xmm6, xmm0
pmuldq xmm1, xmm5
movdqa xmm0, xmm2
movd dword [rbp - 0x29], xmm6
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm5
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
movd xmm0, dword [rbp - 0x25]
andps xmm2, xmmword [0x1800f7c10]
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1800f7c70]
xorps xmm2, xmm0
movd dword [rbp - 0x25], xmm2
movsxd rax, r8d
lea r9, [rbp - 0x29]
add r9, rax
nop dword [rax]
nop dword [rax + rax]
mov eax, 0x4bda12f7
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x36
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x37
xor byte [r9 - 1], al
cmp r8d, 0xe
jl 0x1800500d0
xorps xmm0, xmm0
mov qword [rbp - 9], rbx
lea rax, [rbp - 0x29]
mov ecx, 8
movdqu xmmword [rbp - 0x19], xmm0
mov qword [rbp + 0x67], rax
lea rsi, [rbp + 0x67]
call fcn.1800b0bd0
mov r8d, 8
mov qword [rbp - 0x19], rax
mov rdx, rsi
mov qword [rbp - 0x11], rax
mov rdi, rax
lea rcx, [rax + 8]
mov qword [rbp - 9], rcx
mov rcx, rax
call fcn.1800d76f0
movsd xmm0, qword [str.p_MlRYJNP__6C]
lea rax, [rdi + 8]
mov qword [rbp - 0x11], rax
mov eax, dword [0x1800e87a0]
mov dword [rbp - 0x31], eax
movzx eax, byte [0x1800e87a4]
mov byte [rbp - 0x2d], al
movsd qword [rbp - 0x39], xmm0
cmp r14d, 2
jl 0x180050261
movdqa xmm3, xmmword [0x1800f7ad0]
mov ebx, 8
movdqa xmm2, xmmword [0x1800f7af0]
movdqa xmm1, xmm3
movdqa xmm5, xmmword [0x1800f7f40]
movdqa xmm0, xmm3
mov eax, dword [0x1800f7c70]
punpckhdq xmm0, xmm3
punpckldq xmm1, xmm3
pmuldq xmm0, xmm5
pmuldq xmm1, xmm5
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movdqa xmm1, xmm2
pmulld xmm0, xmmword [0x1800f7b60]
psubd xmm3, xmm0
punpckldq xmm1, xmm2
andps xmm3, xmmword [0x1800f7c10]
packuswb xmm3, xmm3
pmuldq xmm1, xmm5
packuswb xmm3, xmm3
movd xmm0, eax
paddb xmm3, xmm0
movd xmm0, dword [str.p_MlRYJNP__6C]
xorps xmm3, xmm0
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm5
movd dword [rbp - 0x39], xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movd xmm1, dword [rbp - 0x35]
pmulld xmm0, xmmword [0x1800f7b60]
psubd xmm2, xmm0
movd xmm0, eax
andps xmm2, xmmword [0x1800f7c10]
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
xorps xmm2, xmm1
movd dword [rbp - 0x35], xmm2
movsxd rax, ebx
lea r8, [rbp - 0x39]
add r8, rax
nop dword [rax + rax]
mov eax, 0x4bda12f7
lea r8, [r8 + 1]
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x36
movzx eax, bl
inc ebx
sub al, cl
add al, 0x37
xor byte [r8 - 1], al
cmp ebx, 0xd
jl 0x180050270
lea r8, [rbp - 1]
lea rdx, [rbp - 0x19]
lea rcx, [rbp - 0x39]
call fcn.18004c280
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret