Function at 0x180090910
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 rbp, r8
mov r14, rdx
mov r15, rcx
movsd xmm7, qword [r8]
mov r9d, dword [0x180396228]
mov rax, qword gs:[0x58]
mov r13d, 4
mov rsi, qword [rax + r9*8]
mov eax, dword [rsi + r13]
cmp dword [0x18039c2e4], eax
jle 0x180090998
lea rcx, [0x18039c2e4]
call fcn.1800dd9c8
cmp dword [0x18039c2e4], 0xffffffff
jne 0x180090998
lea rcx, [0x18039c2e4]
call fcn.1800dd95c
mov edi, 1
movabs r12, 0x5851f42d4c957f2d
lea rbx, [0x18039d690]
mov eax, dword [rsi + r13]
cmp dword [0x18039c2e8], eax
jle 0x180090a29
lea rcx, [0x18039c2e8]
call fcn.1800dd9c8
cmp dword [0x18039c2e8], 0xffffffff
jne 0x180090a29
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov ecx, eax
movabs rax, 0x5555555555555555
mov qword [0x18039ea18], rax
mov qword [0x18039d698], rcx
mov edx, edi
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 0x1800909f1
mov dword [0x18039d690], 0x138
lea rcx, [0x18039c2e8]
call fcn.1800dd95c
movss xmm1, dword [0x1803941f0]
cvtps2pd xmm1, xmm1
movss xmm2, dword [0x1803941ec]
cvtps2pd xmm2, xmm2
mov rcx, rbx
call fcn.180095620
mov rcx, rax
xorps xmm0, xmm0
test rax, rax
js 0x180090a59
cvtsi2sd xmm0, rax
jmp 0x180090a6b
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 [0x180379ae0]
subsd xmm1, xmm2
mulsd xmm0, xmm1
addsd xmm0, xmm2
movsd xmm10, qword [0x180379df0]
mov ebx, 0x1e
cmp byte [r15 + 0x55], 0
jne 0x180090ac8
mov eax, ebx
movaps xmm1, xmm7
andps xmm1, xmmword [0x18037a040]
nop
movd xmm6, eax
cvtdq2pd xmm6, xmm6
comisd xmm1, xmm6
ja 0x180090bc8
dec eax
test eax, eax
jg 0x180090ab0
movaps xmm6, xmm0
mulsd xmm6, xmm7
movsd xmm7, qword [0x180379cc0]
divsd xmm6, xmm7
movsd xmm8, qword [rbp + 8]
mov eax, dword [rsi + r13]
cmp dword [0x18039d688], eax
jle 0x180090b0e
lea rcx, [0x18039d688]
call fcn.1800dd9c8
cmp dword [0x18039d688], 0xffffffff
jne 0x180090b0e
lea rcx, [0x18039d688]
call fcn.1800dd95c
lea rbp, [0x18039ea30]
mov eax, dword [rsi + r13]
cmp dword [0x18039ea20], eax
jle 0x180090b98
lea rcx, [0x18039ea20]
call fcn.1800dd9c8
cmp dword [0x18039ea20], 0xffffffff
jne 0x180090b98
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov ecx, eax
movabs rax, 0x5555555555555555
mov qword [0x18039fdb8], rax
mov qword [0x18039ea38], rcx
nop word [rax + rax]
mov rax, rcx
shr rax, 0x3e
xor rcx, rax
imul rcx, r12
add rcx, rdi
mov qword [rbp + rdi*8 + 8], rcx
inc rdi
cmp rdi, 0x138
jb 0x180090b60
mov dword [0x18039ea30], 0x138
lea rcx, [0x18039ea20]
call fcn.1800dd95c
movss xmm2, dword [0x1803941f4]
cvtps2pd xmm2, xmm2
movss xmm0, dword [0x1803941f8]
cvtps2pd xmm0, xmm0
mov rcx, rbp
call fcn.180095620
mov rcx, rax
xorps xmm1, xmm1
test rax, rax
js 0x180090bf6
cvtsi2sd xmm1, rax
jmp 0x180090c08
comisd xmm9, xmm7
jbe 0x180090bd5
movaps xmm1, xmm10
jmp 0x180090bdd
movsd xmm1, qword [0x180379c28]
movsd xmm7, qword [0x180379cc0]
divsd xmm6, xmm7
mulsd xmm6, xmm0
mulsd xmm6, xmm1
jmp 0x180090adb
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2sd xmm1, rax
addsd xmm1, xmm1
subsd xmm1, xmm9
addsd xmm1, xmm9
mulsd xmm1, qword [0x180379ae0]
subsd xmm0, xmm2
mulsd xmm1, xmm0
addsd xmm1, xmm2
cmp byte [r15 + 0x55], 0
jne 0x180090c54
movaps xmm2, xmm8
andps xmm2, xmmword [0x18037a040]
nop dword [rax + rax]
movd xmm0, ebx
cvtdq2pd xmm0, xmm0
comisd xmm2, xmm0
ja 0x180090ca5
dec ebx
test ebx, ebx
jg 0x180090c40
movaps xmm0, xmm1
mulsd xmm0, xmm8
divsd xmm0, xmm7
movsd qword [r14], xmm6
movsd qword [r14 + 8], xmm0
mov rax, r14
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 0x180090cb5
movsd xmm10, qword [0x180379c28]
divsd xmm0, xmm7
mulsd xmm0, xmm1
mulsd xmm0, xmm10
jmp 0x180090c60