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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov edi, 4
mov rax, qword gs:[0x58]
add rdi, qword [rax]
lea rbp, [0x1400af960]
mov ebx, 0x270
mov eax, dword [rdi]
cmp dword [0x1400af958], eax
jle 0x14000b49f
lea rcx, [0x1400af958]
call fcn.140089650
cmp dword [0x1400af958], 0xffffffff
jne 0x14000b49f
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov dword [0x1400b0ce4], 0xffffffff
mov dword [0x1400af964], eax
mov r8d, 1
nop dword [rax]
nop word [rax + rax]
mov edx, eax
shr edx, 0x1e
xor edx, eax
imul eax, edx, 0x6c078965
add eax, r8d
mov dword [rbp + r8*4 + 4], eax
inc r8
cmp r8, rbx
jb 0x14000b470
mov dword [0x1400af960], ebx
lea rcx, [0x1400af958]
call fcn.1400895e4
mov eax, dword [rdi]
cmp dword [0x1400af948], eax
jle 0x14000b4de
lea rcx, [0x1400af948]
call fcn.140089650
cmp dword [0x1400af948], 0xffffffff
jne 0x14000b4de
mov dword [0x1400af950], 0
mov dword [0x1400af954], 0xf
lea rcx, [0x1400af948]
call fcn.1400895e4
mov edx, dword [0x1400af954]
mov ecx, dword [0x1400af950]
lea eax, [rcx - 0x80000000]
mov r14d, 0x80000000
lea esi, [rcx + r14]
cmp ecx, r14d
cmovae esi, eax
lea eax, [rdx - 0x80000000]
lea ecx, [rdx + r14]
cmp edx, r14d
cmovae ecx, eax
sub ecx, esi
cmp ecx, 0xffffffff
jne 0x14000b68b
mov edx, dword [0x1400af960]
cmp edx, ebx
jne 0x14000b574
lea r8, [0x1400af968]
nop dword [rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
btr edx, 0x1f
xor edx, dword [r8 - 4]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x630]
shr edx, 1
xor ecx, edx
mov dword [r8 + 0x9bc], ecx
lea r8, [r8 + 4]
sub rbx, 1
jne 0x14000b530
mov edx, dword [0x1400af960]
jmp 0x14000b64c
cmp edx, 0x4e0
jb 0x14000b64c
mov r9d, 0x9c4
mov r8d, 0xd50
nop dword [rax]
mov edx, dword [r9 + rbp]
xor edx, dword [r9 + rbp + 4]
btr edx, 0x1f
xor edx, dword [r9 + rbp]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
and ecx, 0x9908b0df
xor ecx, dword [r9 + rbp + 0x634]
shr edx, 1
xor ecx, edx
mov dword [r9 + rbp - 0x9c0], ecx
add r9, 4
cmp r9, r8
jb 0x14000b590
nop dword [rax]
mov edx, dword [r8 + rbp]
xor edx, dword [r8 + rbp + 4]
btr edx, 0x1f
xor edx, dword [r8 + rbp]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
and ecx, 0x9908b0df
xor ecx, dword [r8 + rbp - 0xd4c]
shr edx, 1
xor ecx, edx
mov dword [r8 + rbp - 0x9c0], ecx
add r8, 4
cmp r8, 0x1380
jb 0x14000b5d0
mov edx, dword [0x1400b0ce0]
xor edx, dword [0x1400af964]
btr edx, 0x1f
xor edx, dword [0x1400b0ce0]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
and ecx, 0x9908b0df
shr edx, 1
xor ecx, edx
xor ecx, dword [0x1400aff94]
mov dword [0x1400b0320], ecx
xor edx, edx
mov dword [0x1400af960], edx
mov eax, edx
mov ecx, dword [rbp + rax*4 + 4]
inc edx
mov dword [0x1400af960], edx
mov eax, ecx
shr eax, 0xb
and eax, dword [0x1400b0ce4]
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov r8d, ecx
shr r8d, 0x12
xor r8d, ecx
jmp 0x14000b6cb
lea ebx, [rcx + 1]
mov rcx, rbp
call fcn.140013680
mov edi, ebx
mov r8d, eax
imul r8, rdi
cmp r8d, ebx
jae 0x14000b6c7
mov eax, ebx
neg eax
xor edx, edx
div ebx
mov ebx, edx
cmp r8d, edx
jae 0x14000b6c7
mov rcx, rbp
call fcn.140013680
mov r8d, eax
imul r8, rdi
cmp r8d, ebx
jb 0x14000b6b3
shr r8, 0x20
lea edx, [rsi + r8]
lea eax, [rdx + r14]
lea ecx, [rdx - 0x80000000]
cmp edx, r14d
cmovae ecx, eax
movsxd rax, ecx
lea rcx, str.0123456789ABCDEF
movzx eax, byte [rax + rcx]
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret