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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x13f0]
mov eax, 0x14f0
call fcn.1401aa0b0
sub rsp, rax
mov rax, qword [0x1402be5c8]
xor rax, rsp
mov qword [rbp + 0x13e0], rax
mov rbx, rdx
mov qword [rsp + 0x40], rdx
xor edi, edi
mov dword [rsp + 0x20], edi
xor edx, edx
mov r8d, 0xf8
lea rcx, [rsp + 0x50]
call fcn.1401cff00
lea rcx, [0x140000000]
lea rax, [rcx + 0x27d400]
mov qword [rsp + 0x50], rax
lea rax, [rcx + 0x27d4b0]
mov qword [rsp + 0x60], rax
mov qword [rbp - 0x10], rdi
mov qword [rbp + 0x18], rdi
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x20], xmm0
mov dword [rsp + 0x20], 2
lea rax, vtable.std::basic_istream_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rbp - 0x18], rax
mov dword [rbp - 0x1c], 0x80
mov qword [rsp + 0x58], rdi
xor r8d, r8d
lea rdx, [rsp + 0x68]
lea rcx, [rbp - 0x18]
call fcn.14002b1d0
nop
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rsp + rcx + 0x60], rax
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x10]
mov dword [rsp + rcx + 0x5c], edx
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rsp + rcx + 0x50], rax
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x20]
mov dword [rsp + rcx + 0x4c], edx
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov qword [rsp + rcx + 0x50], rax
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rsp + rcx + 0x4c], edx
lea rcx, [rsp + 0x68]
call fcn.14002a320
lea rax, vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov qword [rsp + 0x68], rax
mov qword [rbp - 0x30], rdi
mov dword [rbp - 0x28], edi
call fcn.1401b31d0
mov edx, eax
mov r8d, 0xffffffff
mov dword [rbp + 0x13d4], r8d
mov dword [rbp + 0x54], eax
lea eax, [rdi + 1]
nop word [rax + rax]
mov ecx, edx
shr ecx, 0x1e
xor ecx, edx
imul edx, ecx, 0x6c078965
add edx, eax
mov dword [rbp + rax*4 + 0x54], edx
inc rax
cmp rax, 0x270
jb 0x1400df770
mov dword [rbp + 0x50], 0x270
lea rax, [rbp + 0x50]
mov qword [rsp + 0x28], rax
mov ecx, 0x40
mov rax, 0xffffffffffffffff
nop word [rax + rax]
dec rcx
shr rax, 1
cmp rax, r8
ja 0x1400df7b0
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rcx
movabs rdx, 0x218711a00
lea rcx, [rsp + 0x28]
call fcn.1400dfbe0
movabs rcx, 0x800000003b9aca00
add rcx, rax
movabs r8, 0x8000000000000000
lea rax, [rcx + r8]
lea rdx, [rcx + r8]
cmp rcx, r8
cmovae rdx, rax
lea rcx, [rsp + 0x60]
call fcn.1400dc990
nop
mov qword [rbx], rdi
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], 7
mov word [rbx], di
mov dword [rsp + 0x20], MsiGetPropertyW
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
mov ecx, dword [rbp - 0x28]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x1400df85b
mov rax, qword [rbp - 0x58]
mov r8, qword [rax]
test r8, r8
je 0x1400df85b
mov rax, qword [rbp - 0x78]
mov rdx, qword [rax]
cmp r8, qword [rbp - 0x30]
cmovb r8, qword [rbp - 0x30]
sub r8, rdx
sar r8, 1
jmp 0x1400df892
test cl, 4
jne 0x1400df888
mov rax, qword [rbp - 0x60]
mov rcx, qword [rax]
test rcx, rcx
je 0x1400df888
mov rax, qword [rbp - 0x80]
mov rdx, qword [rax]
mov rax, qword [rbp - 0x48]
movsxd r8, dword [rax]
add r8, r8
sub r8, rdx
add r8, rcx
sar r8, 1
jmp 0x1400df892
mov r8, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
test rdx, rdx
je 0x1400df8a0
mov rcx, rbx
call fcn.140018360
nop
lea rcx, [rsp + 0x50]
call fcn.140019440
mov rax, rbx
mov rcx, qword [rbp + 0x13e0]
xor rcx, rsp
call fcn.1401a9440
lea r11, [rsp + 0x14f0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret