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

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x12f8]
mov eax, 0x13d0
call fcn.14005cc60
sub rsp, rax
mov rax, qword [0x1400c2138]
xor rax, rsp
mov qword [rbp + 0x12c0], rax
xor edi, edi
mov dword [rsp + 0x2c], r8d
mov dword [rsp + 0x28], edx
mov r15d, r9d
mov r12d, r8d
mov ebx, edx
mov r14, rcx
test r9d, r9d
jne 0x14001f308
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r9, qword [r14]
mov r11d, eax
mov r10d, dword [rbp + 0x1328]
mov eax, 0x51eb851f
mov byte [r9], r10b
mov rdx, qword [r14]
mov byte [rdx + 1], bl
mov rcx, qword [r14]
mul r11d
mov eax, 0x10624dd3
shr edx, 5
mov byte [rcx + 2], dl
mov ecx, 0x81
mul r11d
mov rax, qword [r14]
sub cl, r12b
shr edx, 6
add dl, 6
mov byte [rax + 3], dl
mov eax, 0xd1b71759
mul r11d
mov rax, qword [r14]
shr edx, 0xd
mov byte [rax + 4], dl
mov rax, qword [r14]
mov byte [rax + 5], r11b
mov rax, qword [r14]
mov byte [rax + 6], cl
mov rcx, qword [r14]
mov al, byte [rcx + 4]
add al, 2
add al, byte [rcx + 1]
mov byte [rcx + 7], al
mov rax, qword [r14]
imul ecx, r10d, 0x2710
add ecx, r11d
add ecx, dword [rbp + 0x1320]
mov dword [rax + 8], ecx
mov eax, 0x51d07eaf
mul r11d
imul ecx, r10d, 0x64
sub r11d, edx
shr r11d, 1
lea eax, [rdx + r11]
shr eax, 0xb
add eax, r12d
add ecx, eax
mov rax, qword [r14]
mov dword [rax + 0xc], ecx
jmp 0x14001f451
call fcn.14005c090
or r8d, 0xffffffff
mov dword [rsp + 0x34], eax
mov dword [rbp + 0x12b4], r8d
mov edx, 1
mov r9d, 0x270
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, edx
mov dword [rsp + rdx*4 + 0x34], eax
inc rdx
cmp rdx, r9
jb 0x14001f327
mov r13d, dword [rbp + 0x1328]
mov rsi, rdi
mov r12d, dword [rbp + 0x1320]
mov dword [rsp + 0x30], r9d
mov dword [rsp + 0x20], edi
mov dword [rsp + 0x24], r8d
mov eax, edi
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x20]
and eax, 3
jne 0x14001f392
call fcn.14001f890
lea rdx, [rsp + 0x30]
mov ebx, eax
lea rcx, [rsp + 0x20]
call fcn.14001f890
mov ecx, eax
mov edx, r12d
add eax, r12d
jmp 0x14001f3fa
cmp eax, 1
jne 0x14001f3b7
call fcn.14001f890
lea rdx, [rsp + 0x30]
mov ebx, eax
lea rcx, [rsp + 0x20]
call fcn.14001f890
mov edx, dword [rsp + 0x28]
mov ecx, eax
add eax, edx
jmp 0x14001f3fa
cmp eax, 2
jne 0x14001f3dc
call fcn.14001f890
lea rdx, [rsp + 0x30]
mov ebx, eax
lea rcx, [rsp + 0x20]
call fcn.14001f890
mov ecx, eax
mov edx, r13d
add eax, r13d
jmp 0x14001f3fa
call fcn.14001f890
lea rdx, [rsp + 0x30]
mov ebx, eax
lea rcx, [rsp + 0x20]
call fcn.14001f890
mov ecx, eax
mov edx, r15d
add eax, r15d
rol edx, 0x10
sub ecx, ebx
xor edx, ecx
inc edi
xor edx, eax
mov rax, qword [r14]
mov dword [rsi + rax], edx
add rsi, 4
cmp edi, 9
jl 0x14001f361
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x20]
call fcn.14001f890
lea rdx, [rsp + 0x30]
mov ebx, eax
lea rcx, [rsp + 0x20]
call fcn.14001f890
mov edx, dword [rsp + 0x2c]
mov ecx, eax
add eax, dword [rsp + 0x2c]
sub ecx, ebx
rol edx, 0x10
xor edx, ecx
xor edx, eax
mov rax, qword [r14]
mov dword [rax + 0x22], edx
mov rcx, qword [rbp + 0x12c0]
xor rcx, rsp
call fcn.14005ccc0
lea r11, [rsp + 0x13d0]
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