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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0xa10
mov rax, qword [0x1400a9040]
xor rax, rsp
mov qword [rsp + 0xa00], rax
mov rbx, rcx
mov qword [rsp + 0x28], rcx
xor r14d, r14d
mov dword [rsp + 0x24], r14d
mov esi, 4
mov rax, qword gs:[0x58]
add rsi, qword [rax]
mov eax, dword [rsi]
cmp dword [0x1400aaf40], eax
jle 0x14000b088
lea rcx, [0x1400aaf40]
call fcn.14006a3b8
cmp dword [0x1400aaf40], 0xffffffff
jne 0x14000b088
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov dword [rsp + 0x30], eax
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov dword [rsp + 0x34], eax
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov dword [rsp + 0x38], eax
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov dword [rsp + 0x3c], eax
xorps xmm0, xmm0
movdqu xmmword [0x1400a9b48], xmm0
mov ecx, r14d
mov qword [0x1400a9b58], rcx
lea rdi, [rsp + 0x30]
nop dword [rax]
nop word [rax + rax]
mov eax, dword [rdi]
mov dword [rsp + 0x20], eax
mov rdx, qword [0x1400a9b50]
cmp rdx, rcx
je 0x14000b04e
mov dword [rdx], eax
add qword [0x1400a9b50], 4
jmp 0x14000b058
lea r8, [rsp + 0x20]
call fcn.140045e50
add rdi, 4
lea rax, [rsp + 0x40]
cmp rdi, rax
je 0x14000b06f
mov rcx, qword [0x1400a9b58]
jmp 0x14000b030
lea rcx, [0x14006fe90]
call fcn.14006aa30
nop
lea rcx, [0x1400aaf40]
call fcn.14006a34c
lea rbp, [0x1400a9b60]
mov eax, dword [rsi]
cmp dword [0x1400a9af8], eax
jle 0x14000b169
lea rcx, [0x1400a9af8]
call fcn.14006a3b8
cmp dword [0x1400a9af8], 0xffffffff
jne 0x14000b169
mov dword [0x1400aaee4], 0xffffffff
mov edx, 0x1571
mov dword [0x1400a9b64], edx
mov ecx, 1
mov eax, edx
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, ecx
mov dword [rbp + rcx*4 + 4], edx
inc rcx
cmp rcx, 0x270
jb 0x14000b0d0
mov dword [0x1400a9b60], 0x270
lea r8, [rsp + 0xa00]
lea rdx, [rsp + 0x40]
call fcn.14003f980
mov edx, r14d
mov r8, r14
nop dword [rax]
nop word [rax + rax]
mov ecx, dword [rsp + r8*4 + 0x40]
mov dword [rbp + r8*4 + 4], ecx
mov eax, ecx
or eax, edx
mov edx, ecx
shr edx, 0x1f
test r8, r8
cmovne edx, eax
inc r8
cmp r8, 0x270
jb 0x14000b120
test edx, edx
jne 0x14000b153
mov dword [0x1400a9b64], 0x80000000
mov dword [0x1400a9b60], 0x270
lea rcx, [0x1400a9af8]
call fcn.14006a34c
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
mov dword [rsp + 0x24], 1
mov edi, 0xa
movabs rsi, 0x842108421084211
lea r14, str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
nop dword [rax]
mov rcx, rbp
call fcn.1400253c0
mov ecx, eax
mov rax, rsi
mul rcx
mov eax, ecx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 5
imul rax, rax, 0x3e
sub rcx, rax
movzx r9d, byte [rcx + r14]
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x14000b1f7
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0xf
jbe 0x14000b1ec
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x14000b1ff
mov rcx, rbx
call fcn.14002ec20
sub rdi, 1
jne 0x14000b1a0
mov rax, rbx
mov rcx, qword [rsp + 0xa00]
xor rcx, rsp
call fcn.14006a2e0
lea r11, [rsp + 0xa10]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret