Function at 0x1400057c0
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.1402aa5b0
sub rsp, rax
mov rax, qword [0x140554040]
xor rax, rsp
mov qword [rbp + 0x12e0], rax
mov r14, rcx
mov dword [rsp + 0x40], 0
lea rcx, [rsp + 0x20]
call fcn.1400020f0
mov edx, 1
mov ebx, 0x270
mov rcx, qword [rax]
mov dword [rsp + 0x54], ecx
mov dword [rbp + 0x12d4], 0xffffffff
nop dword [rax]
nop dword [rax + rax]
mov eax, ecx
shr eax, 0x1e
xor eax, ecx
imul ecx, eax, 0x6c078965
add ecx, edx
mov dword [rsp + rdx*4 + 0x54], ecx
inc rdx
cmp rdx, rbx
jb 0x140005830
mov rsi, qword [r14 + 0x10]
lea r9, [rsp + 0x40]
mov dword [rsp + 0x50], ebx
mov edx, 0x108
mov r8d, 4
movsxd rdi, dword [rsi + 0x3c]
add rdi, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x140005c17
mov edx, dword [rsp + 0x50]
cmp edx, ebx
jne 0x1400058d5
lea rax, [rsp + 0x58]
nop dword [rax + rax]
mov r8d, dword [rax - 4]
xor r8d, dword [rax]
lea rax, [rax + 4]
btr r8d, 0x1f
xor r8d, dword [rax - 8]
mov ecx, r8d
and cl, 1
neg cl
sbb edx, edx
shr r8d, 1
and edx, 0x9908b0df
xor edx, dword [rax + 0x62c]
xor edx, r8d
mov dword [rax + 0x9b8], edx
sub rbx, 1
jne 0x140005890
mov edx, dword [rsp + 0x50]
jmp 0x1400059c4
cmp edx, 0x4e0
jb 0x1400059c4
mov r10d, dword [rbp + 0x914]
lea r9, [rbp + 0x914]
mov r11d, 0xe3
nop word [rax + rax]
mov eax, r10d
mov r10d, dword [r9 + 4]
mov edx, r10d
lea r9, [r9 + 4]
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r9 + 0x630]
xor ecx, edx
mov dword [r9 - 0x9c4], ecx
sub r11, 1
jne 0x140005900
mov r10d, dword [rbp + 0xca0]
lea r9, [rbp + 0xca0]
mov r11d, 0x18c
mov eax, r10d
mov r10d, dword [r9 + 4]
mov edx, eax
lea r9, [r9 + 4]
xor edx, r10d
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, edx
xor ecx, dword [r9 - 0xd50]
mov dword [r9 - 0x9c4], ecx
sub r11, 1
jne 0x140005950
mov edx, dword [rsp + 0x54]
xor edx, dword [rbp + 0x12d0]
btr edx, 0x1f
xor edx, dword [rbp + 0x12d0]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, edx
xor ecx, dword [rbp + 0x584]
xor edx, edx
mov dword [rbp + 0x910], ecx
mov dword [rsp + 0x50], edx
mov eax, edx
inc edx
mov ecx, dword [rsp + rax*4 + 0x54]
mov eax, ecx
shr eax, 0xb
and eax, dword [rbp + 0x12d4]
xor ecx, eax
mov dword [rsp + 0x50], edx
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 eax, ecx
shr eax, 0x12
xor eax, ecx
lea rcx, [rsp + 0x50]
mov word [rdi + 0x16], ax
call fcn.1400280f0
lea rcx, [rsp + 0x50]
mov word [rdi + 4], ax
call fcn.1400280f0
lea rcx, [rsp + 0x50]
mov dword [rdi + 0x10], eax
call fcn.1400280f0
lea rcx, [rsp + 0x50]
mov dword [rdi + 0xc], eax
call fcn.1400280f0
lea rcx, [rsp + 0x50]
mov word [rdi + 6], ax
call fcn.1400280f0
lea rcx, [rsp + 0x50]
mov word [rdi + 0x14], ax
call fcn.1400280f0
lea rcx, [rsp + 0x50]
mov dword [rdi + 8], eax
call fcn.1400280f0
lea rcx, [rsp + 0x50]
mov dword [rdi + 0x28], eax
call fcn.1400280f0
lea rcx, [rsp + 0x50]
mov dword [rdi + 0x2c], eax
call fcn.1400280f0
lea rcx, [rsp + 0x50]
mov dword [rdi + 0x58], eax
call fcn.1400280f0
lea rcx, [rsp + 0x50]
mov word [rdi + 0x5e], ax
call fcn.1400280f0
lea rcx, [rsp + 0x50]
mov dword [rdi + 0x3c], eax
call fcn.1400280f0
mov ebx, eax
lea rcx, [rsp + 0x50]
shl rbx, 0x20
call fcn.1400280f0
mov eax, eax
lea rcx, [rsp + 0x50]
or rbx, rax
mov qword [rdi + 0x30], rbx
call fcn.1400280f0
mov ebx, eax
lea rcx, [rsp + 0x50]
shl rbx, 0x20
call fcn.1400280f0
mov eax, eax
lea rcx, [rsp + 0x50]
or rbx, rax
mov qword [rdi + 0x78], rbx
call fcn.1400280f0
mov ebx, eax
lea rcx, [rsp + 0x50]
shl rbx, 0x20
call fcn.1400280f0
mov eax, eax
lea rcx, [rsp + 0x50]
or rbx, rax
mov qword [rdi + 0x70], rbx
call fcn.1400280f0
lea rcx, [rsp + 0x50]
mov dword [rdi + 0x80], eax
call fcn.1400280f0
lea rcx, [rsp + 0x50]
mov word [rdi + 0x44], ax
call fcn.1400280f0
lea rcx, [rsp + 0x50]
mov word [rdi + 0x46], ax
call fcn.1400280f0
lea rcx, [rsp + 0x50]
mov byte [rdi + 0x1a], al
call fcn.1400280f0
lea rcx, [rsp + 0x50]
mov byte [rdi + 0x1b], al
call fcn.1400280f0
lea rcx, [rsp + 0x50]
mov word [rdi + 0x40], ax
call fcn.1400280f0
lea rcx, [rsp + 0x50]
mov word [rdi + 0x42], ax
call fcn.1400280f0
lea rcx, [rsp + 0x50]
mov word [rdi + 0x48], ax
call fcn.1400280f0
lea rcx, [rsp + 0x50]
mov word [rdi + 0x4a], ax
call fcn.1400280f0
lea rcx, [rsp + 0x50]
mov dword [rdi + 0x84], eax
call fcn.1400280f0
lea rcx, [rsp + 0x50]
mov dword [rdi + 0x38], eax
call fcn.1400280f0
lea rcx, [rsp + 0x50]
mov dword [rdi + 0x1c], eax
call fcn.1400280f0
lea rcx, [rsp + 0x50]
mov dword [rdi + 0x54], eax
call fcn.1400280f0
lea rcx, [rsp + 0x50]
mov dword [rdi + 0x50], eax
call fcn.1400280f0
lea rcx, [rsp + 0x50]
mov dword [rdi + 0x20], eax
call fcn.1400280f0
lea rcx, [rsp + 0x50]
mov dword [rdi + 0x24], eax
call fcn.1400280f0
lea rcx, [rsp + 0x50]
mov word [rdi + 0x5c], ax
call fcn.1400280f0
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 0x140005c3e
mov al, 1
mov rcx, qword [rbp + 0x12e0]
xor rcx, rsp
call fcn.1400e9c90
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 + 0x28]
call fcn.1400021d0
lea rdx, [0x14054ff78]
lea rcx, [rsp + 0x28]
call sub.VCRUNTIME140.dll__CxxThrowException
int3