Function at 0x180013d80
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rdi
push rbp
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x1801432e0]
xor rax, rsp
mov qword [rbp - 0x18], rax
cmp byte [0x1800f6267], 0
mov rax, qword [str.f_A_PD_8P]
mov qword [rbp - 0x20], rax
mov qword [rsp + 0x70], rbx
je 0x180013f0d
cmp dword [0x1801432f0], 2
jl 0x180013ecf
movdqa xmm2, xmmword [0x1800ff470]
mov eax, 4
movdqa xmm4, xmmword [0x1800ff5e0]
movdqa xmm1, xmm2
movdqa xmm3, xmmword [0x1800ff4b0]
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movaps xmmword [rsp + 0x50], xmm6
movd xmm6, eax
mov eax, 0x1f
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movd xmm5, eax
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1800ff4c0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [rbp - 0x20]
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1800ff500]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.1111111111111111]
xorps xmm2, xmm0
punpckldq xmm1, xmm3
movd dword [rbp - 0x20], xmm2
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movaps xmm6, xmmword [rsp + 0x50]
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1800ff4c0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [rbp - 0x1c]
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1800ff500]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.1111111111111111]
xorps xmm2, xmm0
movd dword [rbp - 0x1c], xmm2
jmp 0x180013f0d
lea r8, [rbp - 0x20]
xor ecx, ecx
nop word [rax + rax]
mov eax, 0x4ec4ec4f
lea r8, [r8 + 1]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x34
movzx eax, cl
inc ecx
sub al, dl
add al, 0x31
xor byte [r8 - 1], al
cmp ecx, 8
jl 0x180013ee0
mov eax, dword [0x1800fd3d0]
lea rdx, [rbp - 0x20]
mov dword [rbp - 0x28], eax
lea rcx, [rbp - 0x28]
movzx eax, word [0x1800fd3d4]
xor byte [rbp - 0x27], 0x32
xor byte [rbp - 0x26], 0x33
xor byte [rbp - 0x25], 0x34
mov word [rbp - 0x24], ax
movzx eax, byte [0x1800fd3d6]
xor byte [rbp - 0x24], 0x35
xor al, 0x37
xor byte [rbp - 0x23], 0x36
mov byte [rbp - 0x22], al
mov byte [rbp - 0x28], 0x47
call qword [sym.imp.USER32.dll_FindWindowA]
xor ecx, ecx
mov qword [rbp - 0x30], 0
mov rdi, rax
call qword [sym.imp.ole32.dll_CoInitialize]
xor edx, edx
lea rax, [rbp - 0x30]
lea r9, [0x1800f3880]
mov qword [rsp + 0x20], rax
lea rcx, [0x1800f3890]
lea r8d, [rdx + 1]
call qword [sym.imp.ole32.dll_CoCreateInstance]
cmp byte [0x18018d8aa], 0
mov ebx, eax
jne 0x180013f9e
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
xor edx, edx
jmp 0x180013fa9
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov edx, 5
mov rcx, rax
call qword [sym.imp.USER32.dll_ShowWindow]
test ebx, ebx
mov rbx, qword [rsp + 0x70]
jne 0x180013fd2
mov rcx, qword [rbp - 0x30]
mov rdx, rdi
mov rax, qword [rcx]
call qword [rax + 0x28]
mov rcx, qword [rbp - 0x30]
mov rax, qword [rcx]
call qword [rax + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
mov rcx, qword [rbp - 0x18]
xor rcx, rsp
call fcn.1800d0db0
mov rdi, qword [rsp + 0x78]
add rsp, 0x60
pop rbp
ret