Function at 0x1800860b0
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
push r12
push r13
push r14
push r15
sub rsp, 0x70
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
movaps xmmword [rax - 0x68], xmm9
movaps xmmword [rax - 0x78], xmm10
mov r14, r8
mov rbp, rdx
mov rsi, rcx
movsd xmm7, qword [r8]
mov r9d, dword [0x18035313c]
mov rax, qword gs:[0x58]
mov r13d, 4
mov r15, qword [rax + r9*8]
mov edi, 1
movabs r12, 0x5851f42d4c957f2d
lea rbx, [0x18035a000]
mov eax, dword [r15 + r13]
cmp dword [0x1803578c0], eax
jle 0x1800861a8
lea rcx, [0x1803578c0]
call fcn.1800ae288
cmp dword [0x1803578c0], 0xffffffff
jne 0x1800861a8
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov ecx, eax
movabs rax, 0x5555555555555555
mov qword [0x18035b388], rax
mov qword [0x18035a008], rcx
mov edx, edi
nop dword [rax]
nop dword [rax + rax]
mov rax, rcx
shr rax, 0x3e
xor rcx, rax
imul rcx, r12
add rcx, rdx
mov qword [rbx + rdx*8 + 8], rcx
inc rdx
cmp rdx, 0x138
jb 0x180086170
mov dword [0x18035a000], 0x138
lea rcx, [0x1803578c0]
call fcn.1800ae21c
movss xmm1, dword [rsi + 0x38]
cvtps2pd xmm1, xmm1
movss xmm2, dword [rsi + 0x34]
cvtps2pd xmm2, xmm2
mov rcx, rbx
call fcn.18008bb10
mov rcx, rax
xorps xmm0, xmm0
test rax, rax
js 0x1800861d2
cvtsi2sd xmm0, rax
jmp 0x1800861e4
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2sd xmm0, rax
addsd xmm0, xmm0
xorps xmm9, xmm9
subsd xmm0, xmm9
addsd xmm0, xmm9
mulsd xmm0, qword [0x18033fd68]
subsd xmm1, xmm2
mulsd xmm0, xmm1
addsd xmm0, xmm2
movsd xmm10, qword [0x18033ffd8]
mov ebx, 0x1e
cmp byte [rsi + 0x4c], 0
jne 0x180086248
mov eax, ebx
movaps xmm1, xmm7
andps xmm1, xmmword [0x1803408e0]
nop word [rax + rax]
movd xmm6, eax
cvtdq2pd xmm6, xmm6
comisd xmm1, xmm6
ja 0x180086312
dec eax
test eax, eax
jg 0x180086230
movaps xmm6, xmm0
mulsd xmm6, xmm7
movsd xmm7, qword [0x18033fef0]
divsd xmm6, xmm7
movsd xmm8, qword [r14 + 8]
lea r14, [0x1803578d0]
mov eax, dword [r15 + r13]
cmp dword [0x1803578bc], eax
jle 0x1800862e8
lea rcx, [0x1803578bc]
call fcn.1800ae288
cmp dword [0x1803578bc], 0xffffffff
jne 0x1800862e8
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov ecx, eax
movabs rax, 0x5555555555555555
mov qword [0x180358c58], rax
mov qword [0x1803578d8], rcx
nop dword [rax]
mov rax, rcx
shr rax, 0x3e
xor rcx, rax
imul rcx, r12
add rcx, rdi
mov qword [r14 + rdi*8 + 8], rcx
inc rdi
cmp rdi, 0x138
jb 0x1800862b0
mov dword [0x1803578d0], 0x138
lea rcx, [0x1803578bc]
call fcn.1800ae21c
movss xmm2, dword [rsi + 0x3c]
cvtps2pd xmm2, xmm2
movss xmm0, dword [rsi + 0x40]
cvtps2pd xmm0, xmm0
mov rcx, r14
call fcn.18008bb10
mov rcx, rax
xorps xmm1, xmm1
test rax, rax
js 0x180086340
cvtsi2sd xmm1, rax
jmp 0x180086352
comisd xmm9, xmm7
jbe 0x18008631f
movaps xmm1, xmm10
jmp 0x180086327
movsd xmm1, qword [0x18033fe70]
movsd xmm7, qword [0x18033fef0]
divsd xmm6, xmm7
mulsd xmm6, xmm0
mulsd xmm6, xmm1
jmp 0x18008625b
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2sd xmm1, rax
addsd xmm1, xmm1
subsd xmm1, xmm9
addsd xmm1, xmm9
mulsd xmm1, qword [0x18033fd68]
subsd xmm0, xmm2
mulsd xmm1, xmm0
addsd xmm1, xmm2
cmp byte [rsi + 0x4c], 0
jne 0x180086395
movaps xmm2, xmm8
andps xmm2, xmmword [0x1803408e0]
movd xmm0, ebx
cvtdq2pd xmm0, xmm0
comisd xmm2, xmm0
ja 0x1800863e5
dec ebx
test ebx, ebx
jg 0x180086381
movaps xmm0, xmm1
mulsd xmm0, xmm8
divsd xmm0, xmm7
movsd qword [rbp], xmm6
movsd qword [rbp + 8], xmm0
mov rax, rbp
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
movaps xmm6, xmmword [rsp + 0x60]
movaps xmm7, xmmword [rsp + 0x50]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
comisd xmm9, xmm8
ja 0x1800863f5
movsd xmm10, qword [0x18033fe70]
divsd xmm0, xmm7
mulsd xmm0, xmm1
mulsd xmm0, xmm10
jmp 0x1800863a1