Function at 0x18001f180
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
sub rsp, 0xe8
mov rax, qword [0x18004d7d8]
test rax, rax
jne 0x18001f591
mov eax, dword [str.aqpd]
xor ecx, ecx
movups xmm0, xmmword [0x180045b40]
mov r10d, dword [0x18004b018]
mov r8d, ecx
mov qword [r11 - 8], rbx
movaps xmmword [r11 - 0x18], xmm6
lea ebx, [rcx + 0x1f]
mov dword [rsp + 0x40], eax
movzx eax, word [0x180045b54]
movaps xmmword [r11 - 0x28], xmm7
mov word [rsp + 0x44], ax
movzx eax, byte [0x180045b56]
movaps xmmword [r11 - 0x38], xmm8
lea r11d, [rcx + 4]
mov byte [rsp + 0x46], al
movups xmmword [rsp + 0x30], xmm0
cmp r10d, 2
jl 0x18001f33c
movdqa xmm0, xmmword [str.1111111111111111]
lea rdx, [rsp + 0x34]
movdqa xmm5, xmmword [0x180045d60]
movdqa xmm4, xmmword [0x1800460e0]
movdqa xmm7, xmmword [0x180045dc0]
movdqa xmmword [rsp + 0x20], xmm0
mov r9d, dword [rsp + 0x20]
movd xmm6, r11d
movd xmm8, ebx
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rdx, [rdx + 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 r8d, 8
pmuldq xmm1, xmm4
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 [0x180045ea0]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, r9d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 0xc]
pxor xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rdx - 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, r9d
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x180045ea0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
pxor xmm2, xmm0
movd dword [rdx - 8], xmm2
cmp r8d, 0x10
jl 0x18001f231
cmp r8d, 0x17
jge 0x18001f381
movsxd rax, r8d
lea r9, [rsp + 0x30]
add r9, rax
nop word [rax + rax]
mov eax, 0x51eb851f
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x32
movzx eax, r8b
inc r8d
sub al, dl
add al, 0x31
xor byte [r9 - 1], al
cmp r8d, 0x17
jl 0x18001f350
movups xmm0, xmmword [str.vhdwY_RVMiOYS]
movups xmm1, xmmword [0x180045b70]
mov eax, dword [0x180045ba0]
movups xmmword [rsp + 0x50], xmm0
movups xmm0, xmmword [str.__uph]
movups xmmword [rsp + 0x60], xmm1
movups xmm1, xmmword [0x180045b90]
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rsp + 0x80], xmm1
mov dword [rsp + 0x90], eax
cmp r10d, 2
jl 0x18001f507
movdqa xmm5, xmmword [0x180045d60]
lea rdx, [rsp + 0x50]
movdqa xmm4, xmmword [0x1800460e0]
movdqa xmm7, xmmword [0x180045dc0]
movaps xmmword [rsp + 0xa0], xmm9
movdqa xmm9, xmmword [0x180045e90]
movd xmm6, r11d
movd xmm8, ebx
nop dword [rax]
nop dword [rax + rax]
movd xmm2, ecx
lea eax, [rcx + 4]
pshufd xmm2, xmm2, 0
lea rdx, [rdx + 0x10]
paddd xmm2, xmm5
add ecx, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
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
movq xmm2, xmm9
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rdx - 0x10]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
pxor xmm3, xmm0
movq qword [rdx - 0x10], xmm3
paddd xmm2, xmm5
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
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
movq xmm2, xmm9
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rdx - 8]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
pxor xmm3, xmm0
movq qword [rdx - 8], xmm3
cmp ecx, 0x20
jl 0x18001f410
movaps xmm9, xmmword [rsp + 0xa0]
cmp ecx, 0x22
jge 0x18001f551
movsxd rax, ecx
lea r8, [rsp + 0x50]
lea r8, [r8 + rax*2]
nop dword [rax]
nop word [rax + rax]
mov eax, 0x51eb851f
lea r8, [r8 + 2]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul edx, eax, 0x32
movzx eax, cx
inc ecx
sub ax, dx
add ax, 0x31
xor word [r8 - 2], ax
cmp ecx, 0x22
jl 0x18001f520
mov r9b, 1
lea rdx, [rsp + 0x30]
mov r8d, 5
lea rcx, [rsp + 0x50]
call fcn.18001ffa0
movaps xmm8, xmmword [rsp + 0xb0]
movaps xmm7, xmmword [rsp + 0xc0]
movaps xmm6, xmmword [rsp + 0xd0]
mov rbx, qword [rsp + 0xe0]
mov qword [0x18004d7d8], rax
mov rdx, rax
lea rcx, str.___UObjectHash::StaticFindObject__p_n
call fcn.18001b600
mov al, 1
add rsp, 0xe8
ret