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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 8], rcx
push rbp
push rdi
push r14
lea rbp, [rsp - 0x13d0]
mov eax, 0x14d0
call fcn.14004ff20
sub rsp, rax
mov rdi, rcx
xor ebx, ebx
mov dword [rsp + 0x30], ebx
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov dword [rbp + 0x13c4], 0xffffffff
mov dword [rbp + 0x44], eax
lea edx, [rbx + 1]
nop word [rax + rax]
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, edx
mov dword [rbp + rdx*4 + 0x44], eax
inc rdx
cmp rdx, 0x270
jb 0x140044580
mov dword [rbp + 0x40], 0x270
lea rax, [0x14005fa18]
mov qword [rsp + 0x40], rax
lea rax, [0x14005efd8]
mov qword [rsp + 0x50], rax
lea rcx, [rbp - 0x28]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
mov dword [rsp + 0x30], 2
xor r8d, r8d
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64____ptr64]
nop
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
lea r14, vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rsp + rcx + 0x40], r14
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rsp + rcx + 0x3c], edx
lea rcx, [rsp + 0x58]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
lea rax, vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rsp + 0x58], rax
mov qword [rbp - 0x40], rbx
mov dword [rbp - 0x38], ebx
mov esi, 0x20
lea rcx, [rbp + 0x40]
call fcn.14004ec60
mov ebx, eax
and ebx, 0xf
lea rdx, [0x140042350]
lea rcx, [rsp + 0x50]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov edx, ebx
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___int____ptr64]
sub rsi, 1
jne 0x140044630
mov rdx, rdi
lea rcx, [rsp + 0x58]
call fcn.14004d510
mov dword [rsp + 0x30], 7
mov r8, qword [rdi + 0x10]
cmp r8, 8
jb 0x140044838
mov rcx, qword [rdi + 0x18]
mov rax, rcx
sub rax, r8
movabs rsi, 0x2d2d2d2d2d2d2d2d
cmp rax, 1
jb 0x1400446c9
lea rax, [r8 + 1]
mov qword [rdi + 0x10], rax
mov rbx, rdi
cmp rcx, 0x10
jb 0x1400446b2
mov rbx, qword [rdi]
lea rcx, [rbx + 9]
add r8, 0xfffffffffffffff9
lea rdx, [rbx + 8]
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 8], sil
jmp 0x1400446d7
mov r9d, 8
mov rcx, rdi
call fcn.14004e0f0
mov r8, qword [rdi + 0x10]
cmp r8, 0xd
jb 0x140044838
mov rcx, qword [rdi + 0x18]
mov rax, rcx
sub rax, r8
cmp rax, 1
jb 0x140044720
lea rax, [r8 + 1]
mov qword [rdi + 0x10], rax
mov rbx, rdi
cmp rcx, 0x10
jb 0x140044709
mov rbx, qword [rdi]
lea rcx, [rbx + 0xe]
add r8, 0xfffffffffffffff4
lea rdx, [rbx + 0xd]
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 0xd], sil
jmp 0x14004472e
mov r9d, 0xd
mov rcx, rdi
call fcn.14004e0f0
mov r8, qword [rdi + 0x10]
cmp r8, 0x12
jb 0x140044838
mov rcx, qword [rdi + 0x18]
mov rax, rcx
sub rax, r8
cmp rax, 1
jb 0x140044777
lea rax, [r8 + 1]
mov qword [rdi + 0x10], rax
mov rbx, rdi
cmp rcx, 0x10
jb 0x140044760
mov rbx, qword [rdi]
lea rcx, [rbx + 0x13]
add r8, 0xffffffffffffffef
lea rdx, [rbx + 0x12]
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 0x12], sil
jmp 0x140044785
mov r9d, 0x12
mov rcx, rdi
call fcn.14004e0f0
mov r8, qword [rdi + 0x10]
cmp r8, 0x17
jb 0x140044838
mov rcx, qword [rdi + 0x18]
mov rax, rcx
sub rax, r8
cmp rax, 1
jb 0x1400447ce
lea rax, [r8 + 1]
mov qword [rdi + 0x10], rax
mov rbx, rdi
cmp rcx, 0x10
jb 0x1400447b7
mov rbx, qword [rdi]
lea rcx, [rbx + 0x18]
add r8, 0xffffffffffffffea
lea rdx, [rbx + 0x17]
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 0x17], sil
jmp 0x1400447dd
mov r9d, 0x17
mov rcx, rdi
call fcn.14004e0f0
nop
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x40], r14
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rsp + rcx + 0x3c], edx
lea rcx, [rsp + 0x58]
call fcn.14004d330
lea rcx, [rsp + 0x60]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp - 0x28]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
mov rax, rdi
lea r11, [rsp + 0x14d0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call fcn.1400420c0
int3