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

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x1300]
mov eax, 0x1400
call fcn.14002a430
sub rsp, rax
mov rax, qword [0x140039010]
xor rax, rsp
mov qword [rbp + 0x12f0], rax
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
lea rcx, [rbp + 0x12d0]
call fcn.140023f58
nop
mov rax, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x14000c9f9
mov rax, qword [rdi]
movsx ecx, byte [rax]
or dword [rbp + 0x12a4], 0xffffffff
mov dword [rsp + 0x24], ecx
mov r14d, 1
mov edx, r14d
mov r15d, 0x270
mov eax, ecx
shr eax, 0x1e
xor eax, ecx
imul ecx, eax, 0x6c078965
add ecx, edx
mov dword [rsp + rdx*4 + 0x24], ecx
add rdx, r14
cmp rdx, r15
jb 0x14000ca16
mov dword [rsp + 0x20], r15d
lea rcx, [rbp + 0x12d0]
mov rdx, qword [rbp + 0x12e0]
cmp qword [rbp + 0x12e8], 0x10
jb 0x14000ca5a
mov rcx, qword [rbp + 0x12d0]
add rdx, rcx
jmp 0x14000ca64
add rdx, rcx
lea rcx, [rbp + 0x12d0]
lea r8, [rsp + 0x20]
call fcn.1400258d8
mov rdx, rdi
lea rcx, [rbp + 0x12b0]
call fcn.140023f58
cmp qword [rbx + 0x18], 0x10
jb 0x14000ca87
mov rbx, qword [rbx]
movsx ecx, byte [rbx]
or dword [rbp + 0x12a4], 0xffffffff
mov dword [rsp + 0x24], ecx
mov rdx, r14
mov eax, ecx
shr eax, 0x1e
xor eax, ecx
imul ecx, eax, 0x6c078965
add ecx, edx
mov dword [rsp + rdx*4 + 0x24], ecx
add rdx, r14
cmp rdx, r15
jb 0x14000ca98
mov dword [rsp + 0x20], r15d
lea rcx, [rbp + 0x12b0]
mov rdx, qword [rbp + 0x12c0]
cmp qword [rbp + 0x12c8], 0x10
jb 0x14000cadc
mov rcx, qword [rbp + 0x12b0]
add rdx, rcx
jmp 0x14000cae6
add rdx, rcx
lea rcx, [rbp + 0x12b0]
lea r8, [rsp + 0x20]
call fcn.1400258d8
xor ebx, ebx
mov r8d, ebx
cmp qword [rsi + 0x10], rbx
jbe 0x14000cb7a
lea rcx, [rbp + 0x12d0]
cmp qword [rbp + 0x12e8], 0x10
cmovae rcx, qword [rbp + 0x12d0]
xor edx, edx
mov rax, r8
div qword [rbp + 0x12e0]
mov r9b, byte [rdx + rcx]
lea rcx, [rbp + 0x12b0]
cmp qword [rbp + 0x12c8], 0x10
cmovae rcx, qword [rbp + 0x12b0]
xor edx, edx
mov rax, r8
div qword [rbp + 0x12c0]
add rdx, rcx
mov rcx, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x14000cb55
mov rcx, qword [rsi]
movsx eax, byte [rdx]
and eax, 0x800000ff
jge 0x14000cb6a
sub eax, r14d
or eax, 0xffffff00
add eax, r14d
xor al, r9b
xor byte [rcx + r8], al
add r8, r14
cmp r8, qword [rsi + 0x10]
jb 0x14000cafb
mov edi, 0x1000
mov rdx, qword [rbp + 0x12c8]
cmp rdx, 0x10
jb 0x14000cbbf
inc rdx
mov rcx, qword [rbp + 0x12b0]
mov rax, rcx
cmp rdx, rdi
jb 0x14000cbba
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000cbba
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140029564
mov qword [rbp + 0x12c0], rbx
mov qword [rbp + 0x12c8], 0xf
mov byte [rbp + 0x12b0], bl
mov rdx, qword [rbp + 0x12e8]
cmp rdx, 0x10
jb 0x14000cc17
inc rdx
mov rcx, qword [rbp + 0x12d0]
mov rax, rcx
cmp rdx, rdi
jb 0x14000cc12
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000cc12
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140029564
mov rcx, qword [rbp + 0x12f0]
xor rcx, rsp
call fcn.140029500
mov rbx, qword [rsp + 0x1448]
add rsp, 0x1400
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret