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

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xd0
mov qword [rbp - 0x29], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x14001c010]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov rbx, rcx
mov qword [rbp - 0x21], rcx
xor r13d, r13d
mov dword [rbp - 0x79], r13d
lea edi, [r13 + 0x10]
mov rax, qword gs:[0x58]
mov r14, qword [rax]
mov eax, 0x10
lea r12, [0x14001cc00]
mov eax, dword [rax + r14]
cmp dword [0x14001cbe8], eax
jle 0x1400033ff
lea rcx, [0x14001cbe8]
call fcn.14001161c
cmp dword [0x14001cbe8], 0xffffffff
jne 0x1400033ff
movabs rax, 0x3f5ec2d8f2badfb7
mov qword [rbp - 0x19], rax
movabs rax, 0x53891fa58af208f8
mov qword [rbp - 0x11], rax
movabs rax, 0x88ae86a2a9386341
mov qword [rbp - 9], rax
movabs rax, 0xc88cd587f00371e2
mov qword [rbp - 1], rax
movabs rax, 0x9413d0cc46ccc61b
mov qword [rbp + 7], rax
movabs rax, 0xee467579abf4455c
mov qword [rbp + 0xf], rax
movabs rax, 0xc0e58b163d793095
mov qword [rbp + 0x17], rax
movabs rax, 0x87e75d1b2a0bee86
mov qword [rbp + 0x1f], rax
movabs rax, 0x868f7ecc188ee87
mov qword [rbp - 0x69], rax
movabs rax, 0x35ec7bc6e89331c0
mov qword [rbp - 0x61], rax
movabs rax, 0xe6c3eac9c3510b26
mov qword [rbp - 0x59], rax
movabs rax, 0xbef9a1f48272018d
mov qword [rbp - 0x51], rax
movabs rax, 0xd050928d3cb5be6c
mov qword [rbp - 0x49], rax
movabs rax, 0xa20d3f30e3b30319
mov qword [rbp - 0x41], rax
movabs rax, 0x94b6d9476d367ed8
mov qword [rbp - 0x39], rax
movabs rax, 0x87e70742725cb8d3
mov qword [rbp - 0x31], rax
movdqa xmm0, xmmword [rbp - 0x69]
pxor xmm0, xmmword [rbp - 0x19]
movdqa xmmword [rbp - 0x69], xmm0
movdqa xmm0, xmmword [rbp - 0x59]
pxor xmm0, xmmword [rbp - 9]
movdqa xmmword [rbp - 0x59], xmm0
movdqa xmm0, xmmword [rbp - 0x49]
pxor xmm0, xmmword [rbp + 7]
movdqa xmmword [rbp - 0x49], xmm0
movdqa xmm0, xmmword [rbp - 0x39]
pxor xmm0, xmmword [rbp + 0x17]
movdqa xmmword [rbp - 0x39], xmm0
mov qword [0x14001cc10], r13
mov qword [0x14001cc18], 0xf
mov byte [0x14001cc00], r13b
lea rax, [rbp - 0x69]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1400033d0
lea rdx, [rbp - 0x69]
mov rcx, r12
call fcn.14000d550
lea rcx, [0x140013930]
call fcn.140011a24
nop
lea rcx, [0x14001cbe8]
call fcn.1400115bc
mov r15d, 0x13b8
mov eax, dword [r15 + r14]
mov ecx, 0x30
test al, 1
jne 0x140003478
or eax, 1
mov dword [r15 + r14], eax
mov esi, ecx
add rsi, r14
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov ecx, eax
mov dword [rsi + 0x1384], 0xffffffff
mov dword [rsi + 4], eax
mov edx, 1
lea r8, [rsi + 8]
mov r9d, 0x26f
nop dword [rax]
nop word [rax + rax]
mov eax, ecx
shr eax, 0x1e
xor eax, ecx
imul ecx, eax, 0x6c078965
add ecx, edx
mov dword [r8], ecx
inc edx
lea r8, [r8 + 4]
sub r9, 1
jne 0x140003450
mov dword [rsi], 0x270
mov eax, dword [r15 + r14]
test al, 2
jne 0x140003499
or eax, 2
mov dword [r15 + r14], eax
mov eax, 0x18
mov esi, eax
mov qword [rax + r14], r13
mov qword [rax + r14 + 8], 0x1e
jmp 0x14000349e
mov esi, 0x18
mov qword [rbx + 0x10], r13
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
mov dword [rbp - 0x79], 1
mov rax, rsi
cmp qword [rbx + 0x18], 0x10
je 0x1400034d4
jae 0x1400034d4
mov rdx, rdi
sub rdx, r13
mov rcx, rbx
call fcn.14000eb40
mov qword [rbx + 0x10], r13
jmp 0x1400034d7
mov rsi, rax
mov r15d, 0x30
add r15, r14
add rsi, r14
nop dword [rax]
nop word [rax + rax]
dec rdi
mov rdx, r15
mov rcx, rsi
call fcn.14000e580
mov rcx, rax
mov rax, r12
cmp qword [0x14001cc18], 0x10
cmovae rax, qword [0x14001cc00]
movzx r9d, byte [rax + rcx]
mov rax, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rax, rdx
jae 0x140003545
lea rcx, [rax + 1]
mov qword [rbx + 0x10], rcx
mov rcx, rbx
cmp rdx, 0x10
jb 0x14000353a
mov rcx, qword [rbx]
mov byte [rcx + rax], r9b
mov byte [rcx + rax + 1], 0
jmp 0x14000354d
mov rcx, rbx
call fcn.14000ec80
test rdi, rdi
jne 0x1400034f0
mov rax, rbx
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.1400113e0
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret