Function at 0x140006d10
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 + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x14d0]
mov eax, 0x15d0
call fcn.1400b2920
sub rsp, rax
movaps xmmword [rsp + 0x15c0], xmm6
mov rax, qword [0x14023c8a0]
xor rax, rsp
mov qword [rbp + 0x14b0], rax
mov r15, rcx
mov qword [rsp + 0x48], rcx
xor r13d, r13d
mov edi, r13d
mov dword [rsp + 0x20], r13d
lea rcx, [rbp - 8]
call fcn.140004260
nop
mov r12d, r13d
call fcn.1400b0a2c
mov edx, eax
mov ebx, 0xffffffff
mov dword [rbp + 0x14a4], ebx
mov dword [rbp + 0x124], eax
lea eax, [r13 + 1]
nop dword [rax]
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 + 0x124], edx
inc rax
cmp rax, 0x270
jb 0x140006da0
mov dword [rbp + 0x120], 0x270
mov qword [rbp - 0x28], r13
mov qword [rbp - 0x18], r13
mov qword [rbp - 0x10], 7
mov word [rbp - 0x28], r13w
lea rsi, vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
lea r14, [0x140000000]
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp + 0x20]
call fcn.1400b4b10
lea rax, [r14 + 0x205bc0]
mov qword [rbp + 0x20], rax
lea rax, [r14 + 0x205928]
mov qword [rbp + 0x30], rax
mov qword [rbp + 0xc0], r13
mov qword [rbp + 0xe8], r13
xorps xmm0, xmm0
movdqa xmmword [rbp + 0xf0], xmm0
or edi, 8
mov dword [rsp + 0x20], edi
lea rax, vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov qword [rbp + 0xb8], rax
mov dword [rbp + 0xb4], 0x80
mov qword [rbp + 0x28], r13
xor r8d, r8d
lea rdx, [rbp + 0x38]
lea rcx, [rbp + 0xb8]
call fcn.140014330
nop
mov rax, qword [rbp + 0x30]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x30], rax
mov rax, qword [rbp + 0x30]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x10]
mov dword [rbp + rcx + 0x2c], edx
mov rax, qword [rbp + 0x20]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_iostream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x20], rax
mov rax, qword [rbp + 0x20]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x20]
mov dword [rbp + rcx + 0x1c], edx
mov rax, qword [rbp + 0x20]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x20], rsi
mov rax, qword [rbp + 0x20]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0x1c], edx
lea rcx, [rbp + 0x38]
call fcn.140014050
lea rax, vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + 0x38], rax
mov qword [rbp + 0xa0], r13
mov dword [rbp + 0xa8], r13d
mov rax, qword [rbp + 0x30]
movsxd rcx, dword [rax + 4]
mov eax, dword [rbp + rcx + 0x48]
and eax, 0xfffff9ff
bts eax, 0xb
mov dword [rbp + rcx + 0x48], eax
lea rax, [rbp + 0x120]
mov qword [rsp + 0x28], rax
mov ecx, 0x40
mov rax, 0xffffffffffffffff
nop dword [rax]
dec rcx
shr rax, 1
cmp rax, rbx
ja 0x140006f20
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x28]
call fcn.140023770
mov rdx, rax
lea rcx, [rbp + 0x30]
call fcn.14000e4d0
nop
mov qword [rsp + 0x70], r13
mov r9, r13
mov qword [rbp - 0x80], r13
mov r10d, reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x78], r10
mov byte [rsp + 0x70], r9b
bts edi, 8
mov dword [rsp + 0x20], edi
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
mov ecx, dword [rbp + 0xa8]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x140006fab
mov rax, qword [rbp + 0x78]
mov r8, qword [rax]
test r8, r8
je 0x140006fab
mov rax, qword [rbp + 0x58]
mov rdx, qword [rax]
cmp r8, qword [rbp + 0xa0]
cmovb r8, qword [rbp + 0xa0]
sub r8, rdx
jmp 0x140006fdd
test cl, 4
jne 0x140006fd5
mov rax, qword [rbp + 0x70]
mov rcx, qword [rax]
test rcx, rcx
je 0x140006fd5
mov rax, qword [rbp + 0x50]
mov rdx, qword [rax]
mov rax, qword [rbp + 0x88]
movsxd r8, dword [rax]
sub r8, rdx
add r8, rcx
jmp 0x140006fdd
mov r8, qword [rbp - 0x58]
mov rdx, qword [rbp - 0x60]
test rdx, rdx
je 0x140006ff4
lea rcx, [rsp + 0x70]
call fcn.140004530
mov r10, qword [rbp - 0x78]
mov r9, qword [rbp - 0x80]
btr edi, 8
bts edi, 7
lea rax, [rsp + 0x70]
cmp r10, 0x10
cmovae rax, qword [rsp + 0x70]
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], r9
lea rdx, [rbp - 0x70]
lea rcx, [rbp - 0x48]
call fcn.140025130
bts edi, 9
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x60], r13
mov qword [rsp + 0x68], r13
mov rsi, qword [rbp + 8]
lea r14, [rbp - 8]
cmp qword [rbp + 0x10], 8
cmovae r14, qword [rbp - 8]
cmp rsi, 8
jae 0x14000705f
movups xmm0, xmmword [r14]
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x68], 7
jmp 0x1400070a2
mov rbx, rsi
or rbx, 7
movabs rax, 0x7ffffffffffffffe
cmp rbx, rax
cmova rbx, rax
lea rdx, [rbx + 1]
lea rcx, [rsp + 0x50]
call fcn.1400146a0
mov qword [rsp + 0x50], rax
lea r8, [rsi*2 + 2]
mov rdx, r14
mov rcx, rax
call fcn.1400b4460
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x60], rsi
lea rdx, [rbp - 0x48]
lea rcx, [rsp + 0x50]
call fcn.140002f00
mov rsi, rax
mov r14, qword [rax + 0x10]
cmp qword [rax + 0x18], 8
jb 0x1400070c6
mov rsi, qword [rax]
cmp r14, 8
jae 0x1400070df
movups xmm6, xmmword [rsi]
movups xmmword [rsp + 0x28], xmm6
mov qword [rsp + 0x40], 7
jmp 0x140007127
mov rbx, r14
or rbx, 7
movabs rax, 0x7ffffffffffffffe
cmp rbx, rax
cmova rbx, rax
lea rdx, [rbx + 1]
lea rcx, [rsp + 0x28]
call fcn.1400146a0
mov qword [rsp + 0x28], rax
lea r8, [r14*2 + 2]
mov rdx, rsi
mov rcx, rax
call fcn.1400b4460
mov qword [rsp + 0x40], rbx
movups xmm6, xmmword [rsp + 0x28]
mov qword [rsp + 0x38], r14
bts edi, 0xa
lea rcx, [rsp + 0x50]
call fcn.1400124c0
lea rcx, [rbp - 0x28]
call fcn.1400124c0
movups xmmword [rbp - 0x28], xmm6
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [rbp - 0x18], xmm0
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x40], 7
mov word [rsp + 0x28], r13w
lea rcx, [rsp + 0x28]
call fcn.1400124c0
nop
lea rcx, [rbp - 0x48]
call fcn.1400124c0
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 0x10
jb 0x1400071b5
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400071b0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400072e0
call fcn.1400b1cb0
lea rcx, [rbp - 0x28]
cmp qword [rbp - 0x10], 8
cmovae rcx, qword [rbp - 0x28]
call fcn.1400af7a4
mov qword [rsp + 0x48], rax
mov rcx, rax
shr rcx, 0x20
test ecx, ecx
jne 0x1400072e6
test al, al
jne 0x14000727f
cmp r12, 0x3e8
je 0x14000724e
inc r12
mov rax, qword [rbp + 0x20]
movsxd rcx, dword [rax + 4]
lea rsi, vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + rcx + 0x20], rsi
mov rax, qword [rbp + 0x20]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0x1c], edx
lea rcx, [rbp + 0x38]
call fcn.14000d010
lea rcx, [rbp + 0x40]
call fcn.14000d0d0
nop
lea rax, vtable.std::ios_base.0
mov qword [rbp + 0xb8], rax
lea rcx, [rbp + 0xb8]
call fcn.1400b07d0
nop
mov ebx, 0xffffffff
jmp 0x140006de7
mov qword [r15], r13
mov qword [r15 + 0x10], r13
mov qword [r15 + 0x18], reloc.WS2_32.dll_ntohs
mov byte [r15], 0
xor r8d, r8d
lea rdx, [0x140203533]
mov rcx, r15
call fcn.140004530
nop
lea rcx, [rbp + 0x20]
call fcn.140007670
jmp 0x140007295
lea rcx, [rbp + 0x20]
call fcn.140007670
mov rdx, r15
lea rcx, [rbp - 0x28]
call fcn.140003160
nop
lea rcx, [rbp - 0x28]
call fcn.1400124c0
nop
lea rcx, [rbp - 8]
call fcn.1400124c0
mov rax, r15
mov rcx, qword [rbp + 0x14b0]
xor rcx, rsp
call fcn.1400b1c90
lea r11, [rsp + 0x15d0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.1400c8390
nop
lea r8, [rbp - 0x28]
mov edx, dword [rsp + 0x4c]
lea rcx, str.create_directory
call fcn.140003a40
int3