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

Disassembly:
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1430]
mov eax, 0x1530
call fcn.14026e690
sub rsp, rax
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rsp + 0x1560], rbx
mov qword [rsp + 0x1570], rsi
mov qword [rsp + 0x1578], rdi
mov rax, qword [0x1403ddfb8]
xor rax, rsp
mov qword [rbp + 0x1420], rax
mov rdi, rdx
xor r13d, r13d
mov dword [rsp + 0x20], r13d
cmp byte [rcx + 0x188], r13b
je 0x1401f7e6a
mov qword [rdx + 0x18], 7
mov qword [rdx + 0x10], r13
mov word [rdx], r13w
jmp 0x1401f8253
mov qword [rbp + 0x68], sendto
mov qword [rbp + 0x60], r13
mov byte [rbp + 0x50], r13b
xor r8d, r8d
lea rdx, [0x140328a18]
lea rcx, [rbp + 0x50]
call fcn.14002d080
nop
call fcn.1402beb14
nop
mov rax, qword [rbp + 0x68]
cmp rax, 0x10
jb 0x1401f7eea
inc rax
mov rcx, qword [rbp + 0x50]
cmp rax, 0x1000
jb 0x1401f7ee5
test cl, 0x1f
je 0x1401f7eb8
call fcn.14029051c
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x1401f7ec7
call fcn.14029051c
int3
sub rcx, rax
cmp rcx, 8
jae 0x1401f7ed6
call fcn.14029051c
int3
cmp rcx, 0x27
jbe 0x1401f7ee2
call fcn.14029051c
int3
mov rcx, rax
call fcn.14026d850
call fcn.1402beb14
mov dword [rbp + 0x1414], 0xffffffff
mov dword [rbp + 0x94], eax
mov r8d, 1
mov edx, r8d
nop dword [rax + rax]
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, r8d
mov dword [rbp + rdx*4 + 0x94], eax
inc r8d
inc rdx
cmp rdx, 0x270
jl 0x1401f7f10
mov dword [rbp + 0x90], 0x270
lea rax, [rbp + 0x90]
mov qword [rbp + 0x50], rax
mov qword [rbp + 0x58], 0x20
mov dword [rbp + 0x60], 0xffffffff
lea rcx, [rbp + 0x50]
call fcn.1401f98d0
mov ebx, eax
lea rax, [rbp + 0x90]
mov qword [rbp + 0x50], rax
mov qword [rbp + 0x58], 0x20
mov dword [rbp + 0x60], 0xffffffff
lea rcx, [rbp + 0x50]
call fcn.1401f98d0
mov r14d, eax
lea rax, [rbp + 0x90]
mov qword [rbp + 0x50], rax
mov qword [rbp + 0x58], 0x20
mov dword [rbp + 0x60], 0xffffffff
lea rcx, [rbp + 0x50]
call fcn.1401f98d0
mov r15d, eax
lea rax, [rbp + 0x90]
mov qword [rbp + 0x50], rax
mov qword [rbp + 0x58], 0x20
mov dword [rbp + 0x60], 0xffffffff
lea rcx, [rbp + 0x50]
call fcn.1401f98d0
mov r12d, eax
and r14d, 0xffff0fff
and r15d, 0x3fffffff
add r15d, 0x80000000
lea rax, [0x1402f0ec0]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x20], 2
lea rax, vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov qword [rbp - 0x48], rax
mov dword [rbp - 0x4c], 0x78
xor r8d, r8d
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x48]
call fcn.1401339c0
nop
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rsp + rcx + 0x30], rax
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rsp + rcx + 0x2c], edx
mov edx, 2
lea rcx, [rsp + 0x38]
call fcn.140131fd0
nop
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rax + 4]
and dword [rsp + rcx + 0x48], 0xfffff9ff
or dword [rsp + rcx + 0x48], 0x800
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rax + 4]
mov byte [rbp + rcx - 0x78], 0x47
mov edx, 8
lea rcx, [rbp + 0x20]
call fcn.1402beaf8
mov rcx, qword [rsp + 0x30]
movsxd rdx, dword [rcx + 4]
lea rcx, [rsp + 0x30]
add rcx, rdx
mov rdx, qword [rax + 8]
call qword [rax]
mov edx, 8
lea rcx, [rbp + 0x30]
call fcn.1402beaf8
mov rsi, rax
mov edx, ebx
lea rcx, [rsp + 0x30]
call fcn.1401f5590
mov rbx, rax
test rax, rax
jne 0x1401f80d2
mov rcx, r13
jmp 0x1401f80dc
mov rax, qword [rax]
movsxd rcx, dword [rax + 4]
add rcx, rbx
mov rdx, qword [rsi + 8]
call qword [rsi]
mov edx, 8
lea rcx, [rbp + 0x40]
call fcn.1402beaf8
mov rsi, rax
lea edx, [r14 + 0x4000]
mov rcx, rbx
call fcn.1401f5590
mov rbx, rax
test rax, rax
jne 0x1401f810f
mov rcx, r13
jmp 0x1401f8119
mov rax, qword [rax]
movsxd rcx, dword [rax + 4]
add rcx, rbx
mov rdx, qword [rsi + 8]
call qword [rsi]
mov edx, 8
lea rcx, [rbp + 0x50]
call fcn.1402beaf8
mov rsi, rax
mov edx, r15d
mov rcx, rbx
call fcn.1401f5590
mov rbx, rax
test rax, rax
jne 0x1401f8148
mov rcx, r13
jmp 0x1401f8152
mov rax, qword [rax]
movsxd rcx, dword [rax + 4]
add rcx, rbx
mov rdx, qword [rsi + 8]
call qword [rsi]
mov edx, r12d
mov rcx, rbx
call fcn.1401f5590
lea rdx, [rbp + 0x50]
lea rcx, [rsp + 0x30]
call fcn.1401347a0
nop
mov rdx, rax
lea rcx, [rbp + 0x70]
call fcn.140134a80
nop
mov rax, qword [rbp + 0x68]
cmp rax, 0x10
jb 0x1401f81d5
inc rax
mov rcx, qword [rbp + 0x50]
cmp rax, 0x1000
jb 0x1401f81d0
test cl, 0x1f
je 0x1401f81a3
call fcn.14029051c
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x1401f81b2
call fcn.14029051c
int3
sub rcx, rax
cmp rcx, 8
jae 0x1401f81c1
call fcn.14029051c
int3
cmp rcx, 0x27
jbe 0x1401f81cd
call fcn.14029051c
int3
mov rcx, rax
call fcn.14026d850
mov qword [rdi + 0x18], 7
mov qword [rdi + 0x10], r13
cmp qword [rdi + 0x18], 8
jb 0x1401f81ed
mov rax, qword [rdi]
jmp 0x1401f81f0
mov rax, rdi
mov word [rax], r13w
lea rdx, [rbp + 0x70]
mov rcx, rdi
call fcn.14002df10
mov r8, qword [rbp + 0x88]
cmp r8, 8
jb 0x1401f821d
inc r8
mov rdx, qword [rbp + 0x70]
lea rcx, [rbp + 0x70]
call fcn.14002e610
mov qword [rbp + 0x88], 7
mov qword [rbp + 0x80], r13
mov word [rbp + 0x70], r13w
lea rcx, [rbp - 0x48]
call fcn.1401321f0
nop
lea rax, vtable.std::ios_base.0
mov qword [rbp - 0x48], rax
lea rcx, [rbp - 0x48]
call fcn.140108600
nop
mov rax, rdi
mov rcx, qword [rbp + 0x1420]
xor rcx, rsp
call fcn.14026d870
lea r11, [rsp + 0x1530]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret