Function at 0x14001eab0
Capabilities:
Allocate or change rwx memory
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x12f0]
mov eax, 0x13f0
call fcn.14015f220
sub rsp, rax
mov rax, qword [0x14054a2c0]
xor rax, rsp
mov qword [rbp + 0x12e0], rax
mov r14, rcx
xor ebx, ebx
lea rcx, [rsp + 0x38]
mov dword [rsp + 0x40], ebx
call fcn.14001e580
mov rdx, qword [rax]
mov eax, 1
mov dword [rsp + 0x54], edx
mov dword [rbp + 0x12d4], 0xffffffff
nop dword [rax]
mov ecx, edx
shr ecx, 0x1e
xor ecx, edx
imul edx, ecx, 0x6c078965
add edx, eax
mov dword [rsp + rax*4 + 0x54], edx
inc rax
cmp rax, 0x270
jb 0x14001eb10
mov rsi, qword [r14 + 0x10]
lea r9, [rsp + 0x40]
mov dword [rsp + 0x50], 0x270
mov edx, 0x108
mov r8d, 4
mov dword [rsp + 0x38], 0xffff0000
movsxd rdi, dword [rsi + 0x3c]
add rdi, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x14001edb2
lea rcx, [rsp + 0x50]
call fcn.14001d0d0
lea rcx, [rsp + 0x50]
mov word [rdi + 0x16], ax
call fcn.14001d0d0
lea rcx, [rsp + 0x50]
mov word [rdi + 4], ax
call fcn.14001d0d0
lea rcx, [rsp + 0x50]
mov dword [rdi + 0x10], eax
call fcn.14001d0d0
lea rcx, [rsp + 0x50]
mov dword [rdi + 0xc], eax
call fcn.14001d0d0
lea rcx, [rsp + 0x50]
mov word [rdi + 6], ax
call fcn.14001d0d0
lea rcx, [rsp + 0x50]
mov word [rdi + 0x14], ax
call fcn.14001d0d0
lea rcx, [rsp + 0x50]
mov dword [rdi + 8], eax
call fcn.14001d0d0
lea rcx, [rsp + 0x50]
mov dword [rdi + 0x28], eax
call fcn.14001d0d0
lea rcx, [rsp + 0x50]
mov dword [rdi + 0x2c], eax
call fcn.14001d0d0
lea rcx, [rsp + 0x50]
mov dword [rdi + 0x58], eax
call fcn.14001d0d0
lea rcx, [rsp + 0x50]
mov word [rdi + 0x5e], ax
call fcn.14001d0d0
lea rcx, [rsp + 0x50]
mov dword [rdi + 0x3c], eax
call fcn.14001d0d0
mov ebx, eax
lea rcx, [rsp + 0x50]
shl rbx, 0x20
call fcn.14001d0d0
mov eax, eax
lea rcx, [rsp + 0x50]
or rbx, rax
mov qword [rdi + 0x30], rbx
call fcn.14001d0d0
mov ebx, eax
lea rcx, [rsp + 0x50]
shl rbx, 0x20
call fcn.14001d0d0
mov eax, eax
lea rcx, [rsp + 0x50]
or rbx, rax
mov qword [rdi + 0x78], rbx
call fcn.14001d0d0
mov ebx, eax
lea rcx, [rsp + 0x50]
shl rbx, 0x20
call fcn.14001d0d0
mov eax, eax
lea rcx, [rsp + 0x50]
or rbx, rax
mov qword [rdi + 0x70], rbx
call fcn.14001d0d0
lea rcx, [rsp + 0x50]
mov dword [rdi + 0x80], eax
call fcn.14001d0d0
lea rcx, [rsp + 0x50]
mov word [rdi + 0x44], ax
call fcn.14001d0d0
lea rdx, [rsp + 0x50]
mov word [rdi + 0x46], ax
lea rcx, [rsp + 0x38]
call fcn.14001b810
lea rdx, [rsp + 0x50]
mov byte [rdi + 0x1a], al
lea rcx, [rsp + 0x38]
call fcn.14001b810
mov byte [rdi + 0x1b], al
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x38]
call fcn.14001b810
lea rdx, [rsp + 0x50]
mov word [rdi + 0x40], ax
lea rcx, [rsp + 0x38]
call fcn.14001b810
lea rdx, [rsp + 0x50]
mov word [rdi + 0x42], ax
lea rcx, [rsp + 0x38]
call fcn.14001b810
lea rdx, [rsp + 0x50]
mov word [rdi + 0x48], ax
lea rcx, [rsp + 0x38]
call fcn.14001b810
lea rcx, [rsp + 0x50]
mov word [rdi + 0x4a], ax
call fcn.14001d0d0
lea rcx, [rsp + 0x50]
mov dword [rdi + 0x84], eax
call fcn.14001d0d0
lea rcx, [rsp + 0x50]
mov dword [rdi + 0x38], eax
call fcn.14001d0d0
lea rcx, [rsp + 0x50]
mov dword [rdi + 0x1c], eax
call fcn.14001d0d0
lea rcx, [rsp + 0x50]
mov dword [rdi + 0x54], eax
call fcn.14001d0d0
lea rcx, [rsp + 0x50]
mov dword [rdi + 0x50], eax
call fcn.14001d0d0
lea rcx, [rsp + 0x50]
mov dword [rdi + 0x20], eax
call fcn.14001d0d0
lea rdx, [rsp + 0x50]
mov dword [rdi + 0x24], eax
lea rcx, [rsp + 0x38]
call fcn.14001b810
lea rcx, [rsp + 0x50]
mov word [rdi + 0x5c], ax
call fcn.14001d0d0
mov dword [rdi + 0x4c], eax
lea r9, [rsp + 0x40]
movsxd rcx, dword [rsi + 0x3c]
mov edx, 0x108
add rcx, qword [r14 + 0x10]
mov r8d, 2
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x14001edd9
mov al, 1
mov rcx, qword [rbp + 0x12e0]
xor rcx, rsp
call fcn.14015f280
lea r11, [rsp + 0x13f0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
lea rcx, [rsp + 0x20]
call fcn.14001cb10
lea rdx, [0x1403bb1a0]
lea rcx, [rsp + 0x20]
call sub.VCRUNTIME140.dll__CxxThrowException
int3