Function at 0x1800e8ce0
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 - 0x190]
sub rsp, 0x290
mov rax, qword [0x1801c85c0]
xor rax, rsp
mov qword [rbp + 0x180], rax
call qword [0x180204358]
mov rcx, qword [rax + 0x108]
cmp qword [rcx + 0x138], 0
je 0x1800e9012
movss xmm0, dword [0x1802044d8]
addss xmm0, dword [0x1801a5094]
movss dword [0x1802044d8], xmm0
movss xmm1, dword [0x1801a5134]
comiss xmm0, xmm1
jbe 0x1800e8d64
subss xmm0, xmm1
movss dword [0x1802044d8], xmm0
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x31]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x32]
movaps xmm2, xmm1
call fcn.1801386d0
movzx ebx, byte [rsp + 0x30]
shl ebx, 8
movzx eax, byte [rsp + 0x31]
or ebx, eax
shl ebx, 8
movzx eax, byte [rsp + 0x32]
or ebx, eax
shl ebx, 8
or ebx, 0xff
movsd xmm0, qword [str.yYQ_U_XmT__B]
movsd qword [rsp + 0x38], xmm0
mov eax, dword [0x1801a0ec8]
mov dword [rsp + 0x40], eax
movzx eax, byte [0x1801a0ecc]
mov byte [rsp + 0x44], al
xor r8d, r8d
cmp dword [0x1801c8570], 2
jl 0x1800e8ec0
movdqa xmm4, xmmword [0x1801a5a80]
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
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [str.1111222277778888::::]
psubd xmm2, xmm0
andps xmm2, xmmword [0x1801a5540]
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1801a5660]
movd xmm0, dword [str.yYQ_U_XmT__B]
xorps xmm2, xmm0
movd dword [rsp + 0x38], 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
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [str.1111222277778888::::]
psubd xmm2, xmm0
andps xmm2, xmmword [0x1801a5540]
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1801a5660]
movd xmm0, dword [rsp + 0x3c]
xorps xmm2, xmm0
movd dword [rsp + 0x3c], xmm2
mov r8d, 8
movsxd rax, r8d
lea r9, [rsp + 0x38]
add r9, rax
nop dword [rax + rax]
mov eax, 0x5397829d
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x31
movzx eax, r8b
sub al, cl
add al, 0x36
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0xd
jl 0x1800e8ed0
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 + 0x38]
mov r13, 0xffffffffffffffff
mov r8, r13
inc r8
cmp byte [rax + r8], 0
jne 0x1800e8f30
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x70]
call fcn.1800103d0
nop
mov dword [rbp - 0x50], ebx
mov byte [rbp - 0x60], 5
call qword [0x180204358]
mov rcx, qword [rax + 0x1b0]
mov r12d, dword [rcx + 0x48]
call qword [0x180204358]
mov r15, rax
test rax, rax
je 0x1800e8ff5
mov dword [rsp + 0x34], 0
lea rdx, [rsp + 0x34]
lea rcx, [rsp + 0x50]
call fcn.1800d9d00
mov r14, rax
mov edi, dword [rsp + 0x34]
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 + 0x50]
call fcn.18015c168
nop
mov rcx, qword [rbp + 0x180]
xor rcx, rsp
call fcn.18015b9a0
lea r11, [rsp + 0x290]
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