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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x12f0]
mov eax, 0x13f0
call fcn.1401dd570
sub rsp, rax
mov rax, qword [0x1405d4300]
xor rax, rsp
mov qword [rbp + 0x12e0], rax
mov rsi, rcx
mov dword [rsp + 0x28], 0
lea rcx, [rsp + 0x30]
call fcn.14009a150
lea rcx, [rsp + 0x20]
mov rdx, qword [rax]
mov qword [rsp + 0x20], rdx
call fcn.140096470
mov dword [rsp + 0x54], eax
mov ecx, 1
mov dword [rbp + 0x12d4], 0xffffffff
mov edx, eax
shr edx, 0x1e
xor edx, eax
imul edx, edx, 0x6c078965
add edx, ecx
mov dword [rsp + rcx*4 + 0x54], edx
mov eax, edx
inc rcx
cmp rcx, 0x270
jb 0x14009b260
mov rbx, qword [rsi + 0x10]
lea r9, [rsp + 0x28]
mov dword [rsp + 0x50], 0x270
mov edx, 0x108
mov r8d, 4
movsxd rdi, dword [rbx + 0x3c]
add rdi, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x14009b5f4
lea rax, [rsp + 0x50]
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x20], rax
call fcn.1400940c0
mov word [rdi + 0x16], ax
lea rcx, [rsp + 0x20]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
call fcn.1400940c0
mov word [rdi + 4], ax
lea rcx, [rsp + 0x20]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
call fcn.1400940c0
mov dword [rdi + 0x10], eax
lea rcx, [rsp + 0x20]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
call fcn.1400940c0
mov dword [rdi + 0xc], eax
lea rcx, [rsp + 0x20]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
call fcn.1400940c0
mov word [rdi + 6], ax
lea rcx, [rsp + 0x20]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
call fcn.1400940c0
mov word [rdi + 0x14], ax
lea rcx, [rsp + 0x20]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
call fcn.1400940c0
mov dword [rdi + 8], eax
lea rcx, [rsp + 0x20]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
call fcn.1400940c0
mov dword [rdi + 0x28], eax
lea rcx, [rsp + 0x20]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
call fcn.1400940c0
mov dword [rdi + 0x2c], eax
lea rcx, [rsp + 0x20]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
call fcn.1400940c0
mov dword [rdi + 0x58], eax
lea rcx, [rsp + 0x20]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
call fcn.1400940c0
mov word [rdi + 0x5e], ax
lea rcx, [rsp + 0x20]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
call fcn.1400940c0
mov r9, 0xffffffffffffffff
mov dword [rdi + 0x3c], eax
xor r8d, r8d
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x30]
call fcn.14008b780
mov r9, 0xffffffffffffffff
mov qword [rdi + 0x30], rax
xor r8d, r8d
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x30]
call fcn.14008b780
mov r9, 0xffffffffffffffff
mov qword [rdi + 0x78], rax
xor r8d, r8d
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x30]
call fcn.14008b780
mov qword [rdi + 0x70], rax
lea rcx, [rsp + 0x20]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
call fcn.1400940c0
mov dword [rdi + 0x80], eax
lea rcx, [rsp + 0x20]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
call fcn.1400940c0
mov word [rdi + 0x44], ax
lea rcx, [rsp + 0x20]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
call fcn.1400940c0
mov word [rdi + 0x46], ax
lea rcx, [rsp + 0x20]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
call fcn.1400940c0
mov byte [rdi + 0x1a], al
lea rcx, [rsp + 0x20]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
call fcn.1400940c0
mov byte [rdi + 0x1b], al
lea rcx, [rsp + 0x20]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
call fcn.1400940c0
mov word [rdi + 0x40], ax
lea rcx, [rsp + 0x20]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
call fcn.1400940c0
mov word [rdi + 0x42], ax
lea rcx, [rsp + 0x20]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
call fcn.1400940c0
mov word [rdi + 0x48], ax
lea rcx, [rsp + 0x20]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
call fcn.1400940c0
mov word [rdi + 0x4a], ax
lea rcx, [rsp + 0x20]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
call fcn.1400940c0
mov dword [rdi + 0x84], eax
lea rcx, [rsp + 0x20]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
call fcn.1400940c0
mov dword [rdi + 0x38], eax
lea rcx, [rsp + 0x20]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
call fcn.1400940c0
mov dword [rdi + 0x1c], eax
lea rcx, [rsp + 0x20]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
call fcn.1400940c0
mov dword [rdi + 0x54], eax
lea rcx, [rsp + 0x20]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
call fcn.1400940c0
mov dword [rdi + 0x50], eax
lea rcx, [rsp + 0x20]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
call fcn.1400940c0
mov dword [rdi + 0x20], eax
lea rcx, [rsp + 0x20]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
call fcn.1400940c0
mov dword [rdi + 0x24], eax
lea rcx, [rsp + 0x20]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
call fcn.1400940c0
mov word [rdi + 0x5c], ax
lea rcx, [rsp + 0x20]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
call fcn.1400940c0
mov dword [rdi + 0x4c], eax
lea r9, [rsp + 0x28]
movsxd rcx, dword [rbx + 0x3c]
mov edx, 0x108
add rcx, qword [rsi + 0x10]
mov r8d, 2
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x14009b61c
mov al, 1
mov rcx, qword [rbp + 0x12e0]
xor rcx, rsp
call fcn.1401dd5d0
lea r11, [rsp + 0x13f0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
lea rcx, [rsp + 0x30]
call fcn.14008fbb0
lea rdx, [0x1404444c0]
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll__CxxThrowException
int3