Function at 0x1400011a0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
sub rsp, 0x80
movaps xmmword [rax - 0x18], xmm6
xor ecx, ecx
movaps xmmword [rax - 0x28], xmm7
movaps xmmword [rax - 0x38], xmm8
movaps xmmword [rax - 0x48], xmm9
movaps xmmword [rax - 0x58], xmm10
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov ecx, eax
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
xorps xmm0, xmm0
movsd qword [rsp + 0x20], xmm0
call qword [sym.imp.MSVCP140.dll__Query_perf_frequency]
mov rbx, rax
call qword [sym.imp.MSVCP140.dll__Query_perf_counter]
movabs rbp, 0xb2f4fc0794908cf3
mov rcx, rax
cmp rbx, 0x989680
jne 0x140001212
imul rbx, rcx, 0x64
jmp 0x140001286
cmp rbx, 0x16e3600
jne 0x140001265
mov rax, rbp
imul rcx
lea r8, [rcx + rdx]
sar r8, 0x18
mov rax, r8
shr rax, 0x3f
add r8, rax
imul rax, r8, 0x16e3600
sub rcx, rax
mov rax, rbp
imul rcx, rcx, 0x3b9aca00
imul rcx
lea rbx, [rcx + rdx]
sar rbx, 0x18
mov rax, rbx
shr rax, 0x3f
add rbx, rax
imul rax, r8, 0x3b9aca00
jmp 0x140001283
cqo
idiv rbx
mov rcx, rax
imul rax, rdx, 0x3b9aca00
cqo
idiv rbx
mov rbx, rax
imul rax, rcx, 0x3b9aca00
add rbx, rax
movsd xmm10, qword [0x1400033d8]
xor edi, edi
movsd xmm8, qword [0x140003410]
movsd xmm9, qword [0x140003408]
nop dword [rax]
nop word [rax + rax]
movd xmm6, edi
cvtdq2pd xmm6, xmm6
mulsd xmm6, xmm10
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_sin
movaps xmm7, xmm0
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_cos
movsd xmm1, qword [rsp + 0x20]
mulsd xmm7, xmm0
addsd xmm7, xmm1
movsd qword [rsp + 0x20], xmm7
call qword [sym.imp.MSVCP140.dll__Query_perf_frequency]
mov rsi, rax
call qword [sym.imp.MSVCP140.dll__Query_perf_counter]
mov rcx, rax
cmp rsi, 0x989680
jne 0x140001305
imul rax, rcx, 0x64
jmp 0x140001376
cmp rsi, 0x16e3600
jne 0x140001358
mov rax, rbp
imul rcx
lea r8, [rcx + rdx]
sar r8, 0x18
mov rax, r8
shr rax, 0x3f
add r8, rax
imul rax, r8, 0x16e3600
sub rcx, rax
mov rax, rbp
imul rcx, rcx, 0x3b9aca00
imul rcx
lea rax, [rcx + rdx]
sar rax, 0x18
mov rcx, rax
shr rcx, 0x3f
add rax, rcx
imul rcx, r8, 0x3b9aca00
jmp 0x140001373
cqo
idiv rsi
mov rcx, rax
imul rax, rdx, 0x3b9aca00
cqo
idiv rsi
imul rcx, rcx, 0x3b9aca00
add rax, rcx
sub rax, rbx
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
divsd xmm0, xmm8
comisd xmm0, xmm9
ja 0x14000139b
inc edi
cmp edi, 0x989680
jl 0x1400012b0
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov ebx, eax
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov dword [rsp + 0x20], eax
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov dword [rsp + 0x24], eax
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov ecx, 0xc
mov dword [rsp + 0x28], eax
lea rsi, [rsp + 0x20]
call fcn.140001ca0
mov r8d, 0xc
mov rdx, rsi
mov rcx, rax
mov rdi, rax
call sub.VCRUNTIME140.dll_memmove
lea r11, [rdi + 0xc]
mov r10, rdi
cmp rdi, r11
je 0x140001446
mov r9d, dword [r10]
mov eax, 0x51eb851f
mov r8d, r9d
mov ecx, r9d
neg r8d
cmovs r8d, r9d
xor ecx, ebx
imul r9d
add r10, 4
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x64
sub ecx, eax
mov eax, r9d
cdq
add ecx, r9d
sub eax, edx
sar eax, 1
lea ebx, [rcx + rcx*2]
sub ebx, eax
mov eax, 0x55555556
imul r9d
add ebx, r8d
mov eax, edx
shr eax, 0x1f
add edx, eax
xor ebx, edx
cmp r10, r11
jne 0x1400013f0
mov eax, ebx
neg eax
cmovs eax, ebx
test al, 1
jne 0x140001458
call fcn.1400014b0
jmp 0x14000145d
call fcn.140001760
test rdi, rdi
je 0x14000146f
mov edx, 0xc
mov rcx, rdi
call fcn.140001cdc
movaps xmm6, xmmword [rsp + 0x70]
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x10]
xor eax, eax
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
movaps xmm7, xmmword [rsp + 0x60]
mov rsp, r11
pop rdi
ret