Function at 0x180076f90
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r13
push r15
sub rsp, 0x60
movaps xmmword [rsp + 0x50], xmm6
movaps xmmword [rsp + 0x40], xmm7
mov rbp, rcx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
mov rdi, qword [0x1801c9298]
test rdi, rdi
jne 0x18007700b
mov ecx, 0xa0
call fcn.180084be8
mov rbx, rax
mov qword [rsp + 0x20], rax
xor edx, edx
mov r8d, 0xa0
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
lea rdx, [0x1801c65e0]
mov rcx, rbx
call fcn.180072730
mov rdi, rax
mov qword [0x1801c9298], rax
mov rbx, qword [0x1801c92a0]
test rbx, rbx
jne 0x180077059
mov ecx, 0xa0
call fcn.180084be8
mov rbx, rax
mov qword [rsp + 0x20], rax
xor edx, edx
mov r8d, 0xa0
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
lea rdx, [0x1801c65d0]
mov rcx, rbx
call fcn.180072730
mov rbx, rax
mov qword [0x1801c92a0], rax
mov rdi, qword [0x1801c9298]
mov ecx, dword [0x1801c8a5c]
mov rax, qword gs:[0x58]
mov edx, 4
mov rax, qword [rax + rcx*8]
mov eax, dword [rdx + rax]
cmp dword [0x1801c95b4], eax
jle 0x180077104
lea rcx, [0x1801c95b4]
call fcn.180085314
cmp dword [0x1801c95b4], 0xffffffff
jne 0x1800770f6
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov dword [0x1801ca954], 0xffffffff
mov dword [0x1801c95d4], eax
mov r8d, 1
lea r9, [0x1801c95d4]
nop dword [rax + rax]
mov edx, eax
shr edx, 0x1e
xor edx, eax
imul eax, edx, 0x6c078965
add eax, r8d
mov dword [r9 + r8*4], eax
inc r8
cmp r8, 0x270
jb 0x1800770c0
mov dword [0x1801c95d0], 0x270
lea rcx, [0x1801c95b4]
call fcn.1800852a8
mov rbx, qword [0x1801c92a0]
mov rdi, qword [0x1801c9298]
xorps xmm6, xmm6
xorps xmm2, xmm2
movsd xmm7, qword [0x1801a9640]
movaps xmm1, xmm7
mov esi, 2
movsd xmm3, qword [0x1801a9708]
call fcn.180077c00
mov eax, eax
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
subsd xmm0, xmm6
mulsd xmm0, xmm1
addsd xmm2, xmm0
mulsd xmm1, xmm3
sub rsi, 1
jne 0x180077122
divsd xmm2, xmm1
addsd xmm2, xmm6
movsd xmm0, qword [0x1801a95d8]
movabs r15, 0x2aaaaaaaaaaaaaab
movabs r12, 0x3ff0000000000000
movabs r13, 0x3fd3333333333333
movabs r9, 0x3ffb39abf3387161
comisd xmm0, xmm2
jbe 0x1800772e0
movaps xmm1, xmmword [0x1801a9900]
movups xmmword [rsp + 0x30], xmm1
mov rax, qword [rdi + 0x50]
movups xmm0, xmmword [rsp + 0x28]
movsd xmm0, xmm6
movups xmmword [rsp + 0x28], xmm0
movups xmmword [rax], xmm0
unpckhpd xmm1, xmm1
movsd qword [rax + 0x10], xmm1
movaps xmm2, xmmword [0x1801a9860]
movups xmmword [rsp + 0x30], xmm2
mov r8, qword [rdi + 0x50]
mov rcx, qword [rdi + 0x58]
sub rcx, r8
mov rax, r15
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
lea rax, [rdx + rdx*2]
movups xmm0, xmmword [rsp + 0x28]
movsd xmm0, xmm7
movups xmmword [rsp + 0x28], xmm0
movups xmmword [r8 + rax*8 - 0x18], xmm0
unpckhpd xmm2, xmm2
movsd qword [r8 + rax*8 - 8], xmm2
mov dword [rdi + 0x38], 0x40800000
mov dword [rdi + 0xc], 1
mov dword [rdi + 0x18], 0x28
mov qword [rdi + 0x20], r12
mov qword [rdi + 0x30], r13
mov qword [rdi + 0x28], r9
cmp dword [rdi + 0xc], esi
je 0x180077269
cmp dword [rdi + 8], 1
je 0x180077269
mov dword [rdi + 8], 1
lea rcx, [rsp + 0x20]
call fcn.180071680
mov rdx, qword [rax]
mov qword [rdi + 0x40], rdx
mov dword [rdi + 0x10], esi
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x18]
lea rcx, [rdi + 0x18]
movaps xmm1, xmm6
call fcn.180071b60
mov rax, qword [rdi]
movaps xmm1, xmm0
mov rcx, rdi
call qword [rax + 0x28]
mov rbx, qword [rbp + 0x80]
sub rbx, qword [rbp + 0x78]
sar rbx, 5
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
cdqe
xor edx, edx
div rbx
shl rdx, 5
add rdx, qword [rbp + 0x78]
lea rcx, [rbp + 0x58]
cmp rcx, rdx
je 0x18007736e
mov rbx, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x1800772a8
mov rdx, qword [rdx]
mov rax, qword [rcx + 0x18]
cmp rbx, rax
ja 0x1800772d5
mov rdi, rcx
cmp rax, 0xf
jbe 0x1800772bd
mov rdi, qword [rcx]
mov qword [rcx + 0x10], rbx
mov r8, rbx
mov rcx, rdi
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + rdi], 0
jmp 0x18007736e
mov r9, rdx
mov rdx, rbx
jmp 0x180077369
cmp dword [rdi + 8], 0
je 0x180077310
mov dword [rdi + 8], 0
mov dword [rdi + 0x10], 0
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x20]
mov rbx, qword [0x1801c92a0]
nop dword [rax]
nop dword [rax + rax]
movaps xmm0, xmmword [0x1801a9900]
movups xmmword [0x1801c65e0], xmm0
lea r9, [rbp + 0x38]
lea rcx, [rbp + 0x58]
cmp rcx, r9
je 0x180077375
mov rdi, qword [r9 + 0x10]
cmp qword [r9 + 0x18], 0xf
jbe 0x180077339
mov r9, qword [r9]
mov rax, qword [rcx + 0x18]
cmp rdi, rax
ja 0x180077366
mov rsi, rcx
cmp rax, 0xf
jbe 0x18007734e
mov rsi, qword [rcx]
mov qword [rcx + 0x10], rdi
mov r8, rdi
mov rdx, r9
mov rcx, rsi
call sub.VCRUNTIME140.dll_memmove
mov byte [rsi + rdi], 0
jmp 0x180077375
mov rdx, rdi
call fcn.1800079e0
mov rbx, qword [0x1801c92a0]
movaps xmm1, xmmword [0x1801a9860]
movups xmmword [rsp + 0x30], xmm1
mov rcx, qword [rbx + 0x50]
movups xmm0, xmmword [rsp + 0x28]
movsd xmm0, xmm6
movups xmmword [rsp + 0x28], xmm0
movups xmmword [rcx], xmm0
unpckhpd xmm1, xmm1
movsd qword [rcx + 0x10], xmm1
movaps xmm2, xmmword [0x1801a9900]
movups xmmword [rsp + 0x30], xmm2
mov r8, qword [rbx + 0x50]
mov rcx, qword [rbx + 0x58]
sub rcx, r8
mov rax, r15
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
lea rax, [rdx + rdx*2]
movups xmm0, xmmword [rsp + 0x28]
movsd xmm0, xmm7
movups xmmword [r8 + rax*8 - 0x18], xmm0
unpckhpd xmm2, xmm2
movsd qword [r8 + rax*8 - 8], xmm2
mov dword [rbx + 0x38], 0x3e99999a
mov dword [rbx + 0x18], 9
mov qword [rbx + 0x20], r12
mov qword [rbx + 0x30], r13
movabs rax, 0x3ffb39abf3387161
mov qword [rbx + 0x28], rax
cmp dword [rbx + 0xc], 0
je 0x180077458
cmp dword [rbx + 8], 1
je 0x180077458
mov dword [rbx + 8], 1
lea rcx, [rsp + 0x20]
call fcn.180071680
mov rdx, qword [rax]
mov qword [rbx + 0x40], rdx
mov dword [rbx + 0x10], 0
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x18]
lea rcx, [rbx + 0x18]
movaps xmm1, xmm6
call fcn.180071b60
mov rax, qword [rbx]
movaps xmm1, xmm0
mov rcx, rbx
call qword [rax + 0x28]
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
movaps xmm6, xmmword [rsp + 0x50]
movaps xmm7, xmmword [rsp + 0x40]
mov rsp, r11
pop r15
pop r13
pop r12
pop rdi
pop rsi
ret