Function at 0x1800f0050
Capabilities:
Encode data using xor

Disassembly:
test r8d, r8d
je 0x1800f03ac
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r13
push rbp
push r14
push r15
lea rbp, [rax - 0x1b8]
sub rsp, 0x2a0
movaps xmmword [rax - 0x28], xmm6
mov rax, qword [0x1801c85c0]
xor rax, rsp
mov qword [rbp + 0x180], rax
mov ebx, r8d
mov edi, edx
mov esi, ecx
movups xmm0, xmmword [0x1801a2428]
movups xmmword [rsp + 0x28], xmm0
movzx eax, byte [0x1801a2438]
mov byte [rsp + 0x38], al
xor r8d, r8d
cmp dword [0x1801c8570], 2
jl 0x1800f01ef
movdqa xmm4, xmmword [0x1801a5470]
movdqa xmm3, xmmword [0x1801a5ad0]
movdqa xmm5, xmmword [0x1801a54e0]
movdqa xmm0, xmmword [0x1801a5650]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x2c]
movdqa xmm6, xmmword [0x1801a5540]
mov edx, dword [rsp + 0x40]
nop dword [rax]
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 4]
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x10
jl 0x1800f0100
cmp r8d, 0x11
jge 0x1800f0233
movsxd rax, r8d
lea r9, [rsp + 0x28]
add r9, rax
nop word [rax + rax]
mov eax, 0x8d3dcb09
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x3a
movzx eax, r8b
sub al, cl
add al, 0x33
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x11
jl 0x1800f0200
xor edx, edx
mov r8d, 0x230
lea rcx, [rsp + 0x50]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rsp + 0x50]
call fcn.180064d60
mov byte [rsp + 0x50], 2
lea rax, [rsp + 0x28]
mov r13, 0xffffffffffffffff
mov r8, r13
inc r8
cmp byte [rax + r8], 0
jne 0x1800f0263
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x70]
call fcn.1800103d0
nop
mov dword [rbp - 0x50], 0xb5
mov byte [rbp - 0x60], 9
movd xmm0, esi
cvtdq2ps xmm0, xmm0
movd xmm1, edi
cvtdq2ps xmm1, xmm1
movss dword [rbp], xmm0
movss dword [rbp + 4], xmm1
mov byte [rbp - 0x10], 3
movd xmm0, ebx
cvtdq2ps xmm0, xmm0
movss dword [rbp + 0x50], xmm0
mov byte [rbp + 0x40], 1
mov dword [rbp + 0xa0], 0
mov byte [rbp + 0x90], 1
call qword [0x180204358]
mov r15, rax
test rax, rax
je 0x1800f035b
mov dword [rsp + 0x20], 0
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x50]
call fcn.1800d9d00
mov r14, rax
mov edi, dword [rsp + 0x20]
mov ecx, edi
add rcx, 0x38
cmovb rcx, r13
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
lea r8, [rdi + 0x38]
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov byte [rbx], 1
mov dword [rbx + 0xc], 8
mov dword [rbx + 4], r13d
mov dword [rbx + 0x14], 0
mov dword [rbx + 0x34], edi
lea rcx, [rbx + 0x38]
mov r8d, edi
mov rdx, r14
call sub.VCRUNTIME140.dll_memcpy
mov rdx, rbx
mov rcx, r15
call qword [0x180204450]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, r14
call fcn.18015bd38
nop
lea r9, [0x180057160]
mov edx, 0x50
mov r8d, 7
lea rcx, [rsp + 0x50]
call fcn.18015c168
nop
mov rcx, qword [rbp + 0x180]
xor rcx, rsp
call fcn.18015b9a0
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r13, qword [r11 + 0x38]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop rbp
ret