Function at 0x1800d0380
Capabilities:
Encode data using xor

Disassembly:
push rbp
lea rbp, [rsp - 0x170]
sub rsp, 0x270
mov rax, qword [0x18016b440]
xor rax, rsp
mov qword [rbp + 0x160], rax
cmp byte [0x1801a3ffa], 0
je 0x1800d0659
movsd xmm0, qword [str.yYkNxPRJW___C]
movsd qword [rsp + 0x20], xmm0
mov eax, dword [0x18014e1b0]
mov dword [rsp + 0x28], eax
movzx eax, word [0x18014e1b4]
mov word [rsp + 0x2c], ax
cmp byte [0x18014e1b5], 0
je 0x1800d0520
xor r8d, r8d
cmp dword [0x18016b410], 2
jl 0x1800d04d6
movdqa xmm4, xmmword [0x180151a50]
movdqa xmm2, xmmword [0x1801508d0]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x180150cc0]
psubd xmm2, xmm0
andps xmm2, xmmword [0x180151570]
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x180151660]
movd xmm0, dword [str.yYkNxPRJW___C]
xorps xmm2, xmm0
movd dword [rsp + 0x20], xmm2
movdqa xmm2, xmmword [0x180150950]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x180150cc0]
psubd xmm2, xmm0
andps xmm2, xmmword [0x180151570]
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x180151660]
movd xmm0, dword [rsp + 0x24]
xorps xmm2, xmm0
movd dword [rsp + 0x24], xmm2
mov r8d, 8
movsxd rax, r8d
lea r9, [rsp + 0x20]
add r9, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x51eb851f
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x32
movzx eax, r8b
sub al, cl
add al, 0x36
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0xe
jl 0x1800d04f0
xor edx, edx
mov r8d, 0x230
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rsp + 0x30]
call fcn.180062c60
mov byte [rsp + 0x30], 2
lea rax, [rsp + 0x20]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1800d0550
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x50]
call fcn.18000eb90
nop
movss xmm0, dword [0x1801a3ff0]
movss dword [rbp - 0x70], xmm0
movss xmm1, dword [0x1801a44bc]
movss dword [rbp - 0x6c], xmm1
movss xmm0, dword [0x1801a3ff4]
movss dword [rbp - 0x68], xmm0
mov byte [rbp - 0x80], 4
movss xmm1, dword [0x1801a44b8]
movss dword [rbp - 0x20], xmm1
movss xmm0, dword [0x1801a44b0]
movss dword [rbp - 0x1c], xmm0
movss xmm1, dword [0x1801a3fd8]
movss dword [rbp - 0x18], xmm1
mov byte [rbp - 0x30], 4
movss xmm0, dword [0x1801a44c0]
movss dword [rbp + 0x30], xmm0
movss xmm1, dword [0x1801a44b4]
movss dword [rbp + 0x34], xmm1
movss xmm0, dword [0x1801a3fe8]
movss dword [rbp + 0x38], xmm0
mov byte [rbp + 0x20], 4
mov dword [rbp + 0x80], 0x647296ff
mov byte [rbp + 0x70], 9
movss xmm0, dword [0x1801a3fe4]
movss dword [rbp + 0xd0], xmm0
mov qword [rbp + 0xd4], 0
mov byte [rbp + 0xc0], 4
call qword [0x1801a3a70]
mov rdx, qword [rax + 0x1b0]
mov r8d, 0xffffffff
mov edx, dword [rdx + 0x48]
lea rcx, [rsp + 0x30]
call fcn.1800bf650
nop
lea r9, [0x180057800]
mov edx, 0x50
mov r8d, 7
lea rcx, [rsp + 0x30]
call fcn.1801123c8
nop
mov rcx, qword [rbp + 0x160]
xor rcx, rsp
call fcn.180111c00
add rsp, 0x270
pop rbp
ret