Function at 0x1800fb050
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x180]
sub rsp, 0x280
mov rax, qword [0x1801c85c0]
xor rax, rsp
mov qword [rbp + 0x170], rax
cmp byte [0x180204589], 0
je 0x1800fb3c2
movsd xmm0, qword [str.ZfSCUUOTTPX_]
movsd qword [rsp + 0x28], xmm0
mov eax, dword [0x1801a1cb0]
mov dword [rsp + 0x30], eax
movzx eax, word [0x1801a1cb4]
mov word [rsp + 0x34], ax
cmp byte [0x1801a1cb5], 0
je 0x1800fb203
xor r8d, r8d
cmp dword [0x1801c8570], 2
jl 0x1800fb1c4
movdqa xmm4, xmmword [0x1801a5ad0]
movdqa xmm2, xmmword [0x1801a5470]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1801a54e0]
psubd xmm2, xmm0
andps xmm2, xmmword [0x1801a5540]
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1801a5650]
movd xmm0, dword [str.ZfSCUUOTTPX_]
xorps xmm2, xmm0
movd dword [rsp + 0x28], xmm2
movdqa xmm2, xmmword [0x1801a5480]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1801a54e0]
psubd xmm2, xmm0
andps xmm2, xmmword [0x1801a5540]
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1801a5650]
movd xmm0, dword [rsp + 0x2c]
xorps xmm2, xmm0
movd dword [rsp + 0x2c], xmm2
mov r8d, 8
movsxd rax, r8d
lea r9, [rsp + 0x28]
add r9, rax
nop
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, 0xe
jl 0x1800fb1d0
xor edx, edx
mov r8d, 0x230
lea rcx, [rsp + 0x40]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rsp + 0x40]
call fcn.180064d60
mov byte [rsp + 0x40], 2
lea rax, [rsp + 0x28]
mov r13, 0xffffffffffffffff
mov r8, r13
inc r8
cmp byte [rax + r8], 0
jne 0x1800fb233
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x60]
call fcn.1800103d0
nop
movss xmm0, dword [0x180204578]
movss dword [rbp - 0x60], xmm0
movss xmm1, dword [0x180204fa4]
movss dword [rbp - 0x5c], xmm1
movss xmm0, dword [0x180204580]
movss dword [rbp - 0x58], xmm0
mov byte [rbp - 0x70], 4
movss xmm1, dword [0x180204fa0]
movss dword [rbp - 0x10], xmm1
movss xmm0, dword [0x180204f98]
movss dword [rbp - 0xc], xmm0
movss xmm1, dword [0x180204558]
movss dword [rbp - 8], xmm1
mov byte [rbp - 0x20], 4
movss xmm0, dword [0x180204fa8]
movss dword [rbp + 0x40], xmm0
movss xmm1, dword [0x180204f9c]
movss dword [rbp + 0x44], xmm1
movss xmm0, dword [0x180204570]
movss dword [rbp + 0x48], xmm0
mov byte [rbp + 0x30], 4
mov dword [rbp + 0x90], 0x647296ff
mov byte [rbp + 0x80], 9
movss xmm0, dword [0x18020456c]
movss dword [rbp + 0xe0], xmm0
mov qword [rbp + 0xe4], 0
mov byte [rbp + 0xd0], 4
call qword [0x180204358]
mov rcx, qword [rax + 0x1b0]
mov r12d, dword [rcx + 0x48]
call qword [0x180204358]
mov r15, rax
test rax, rax
je 0x1800fb3a5
mov dword [rsp + 0x20], 0
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x40]
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], r12d
mov dword [rbx + 0x14], r13d
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 + 0x40]
call fcn.18015c168
nop
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.18015b9a0
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret