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

Disassembly:
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x3ad0]
mov eax, 0x3bd0
call fcn.140156fb0
sub rsp, rax
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rsp + 0x3c10], rbx
mov qword [rsp + 0x3c18], rsi
mov r14, rdx
mov rbx, rcx
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x58], rdx
lea rdi, [rbp + 0x13b0]
lea rsi, [rbp + 0x2740]
mov ecx, 0x1390
rep movsb byte [rdi], byte [rsi]
lea r15, [rbp + 0x13b0]
mov qword [rsp + 0x20], r15
mov ecx, 0x50
call fcn.14011006c
mov rdi, rax
lea rax, vtable.Concurrency::details::stl_critical_section_win7.0
mov qword [rdi + 8], rax
lea rcx, [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_InitializeSRWLock]
or r12d, 0xffffffff
mov dword [rdi + 0x18], r12d
mov dword [rdi], 2
and dword [rdi + 0x1c], 0
mov qword [rsp + 0x20], rdi
lea rcx, [rsp + 0x28]
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand_s]
test eax, eax
jne 0x1400f98cd
or dword [rbp + 0x13a4], 0xffffffff
mov ecx, dword [rsp + 0x28]
mov dword [rbp + 0x24], ecx
lea esi, [rax + 1]
mov r8d, esi
mov r9d, 0x270
mov eax, ecx
shr eax, 0x1e
xor eax, ecx
imul ecx, eax, 0x6c078965
add ecx, r8d
mov dword [rbp + rsi*4 + 0x24], ecx
inc r8d
inc rsi
cmp rsi, r9
jl 0x1400f970e
mov dword [rbp + 0x20], r9d
mov r8d, 0x1388
lea rdx, [rbp + 0x20]
mov rcx, r15
call fcn.140112b70
and qword [rsp + 0x20], 0
mov qword [r15 + 0x1388], rdi
mov rdx, r15
lea rcx, [rbp - 0x70]
call fcn.1400f9b10
mov r15, rax
mov qword [rsp + 0x60], rax
mov rax, qword [r14]
mov qword [rsp + 0x30], rax
mov rax, qword [r14 + 8]
mov qword [rsp + 0x38], rax
and qword [r14], 0
and qword [r14 + 8], 0
lea rax, [rsp + 0x30]
mov qword [rsp + 0x68], rax
mov ecx, 0x98
call fcn.14011006c
mov rsi, rax
mov qword [rsp + 0x40], rax
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
lea rax, [0x1401724e0]
mov qword [rsi], rax
lea rdi, [rsi + 0x10]
mov rax, qword [r15]
mov rdx, rdi
mov rcx, r15
mov rax, qword [rax + 8]
call qword [case.0x1400b5e20.0]
nop
mov qword [rsp + 0x40], rdi
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
lea rdx, [0x140175ee0]
mov qword [rbx], rdx
mov qword [rbx + 8], rax
mov qword [rbx + 0x10], rcx
movdqu xmmword [rsp + 0x70], xmm0
mov qword [rbx + 0x18], rdi
mov qword [rbx + 0x20], rsi
movdqu xmmword [rbp - 0x80], xmm0
mov qword [rbx + 0x38], rbx
lea rcx, [rsp + 0x70]
call fcn.14000aab4
nop
mov rdi, qword [rsp + 0x38]
test rdi, rdi
je 0x1400f985a
mov eax, r12d
lock xadd dword [rdi + 8], eax
add eax, r12d
jne 0x1400f985a
mov rax, qword [rdi]
mov rcx, rdi
mov rax, qword [rax]
call qword [case.0x1400b5e20.0]
mov eax, r12d
lock xadd dword [rdi + 0xc], eax
add eax, r12d
jne 0x1400f985a
mov rax, qword [rdi]
mov rcx, rdi
mov rax, qword [rax + 8]
call qword [case.0x1400b5e20.0]
nop
mov rax, qword [r15]
xor edx, edx
mov rcx, r15
mov rax, qword [rax]
call qword [case.0x1400b5e20.0]
nop
mov rdi, qword [r14 + 8]
test rdi, rdi
je 0x1400f98ae
mov eax, r12d
lock xadd dword [rdi + 8], eax
add eax, r12d
jne 0x1400f98ae
mov rax, qword [rdi]
mov rcx, rdi
mov rax, qword [rax]
call qword [case.0x1400b5e20.0]
mov edx, r12d
lock xadd dword [rdi + 0xc], edx
add edx, r12d
jne 0x1400f98ae
mov rdx, qword [rdi]
mov rcx, rdi
mov rax, qword [rdx + 8]
call qword [case.0x1400b5e20.0]
mov rax, rbx
lea r11, [rsp + 0x3bd0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
lea rcx, str.invalid_random_device_value
call fcn.140029880
int3