Function at 0x14000db30
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x1330]
mov eax, 0x1430
call fcn.140021b00
sub rsp, rax
mov rax, qword [0x14002b010]
xor rax, rsp
mov qword [rbp + 0x1320], rax
mov rsi, rcx
mov qword [rbp - 0x80], rcx
xor edx, edx
mov cl, 0x41
call fcn.140001870
mov byte [rsp + 0x20], al
mov ebx, 1
mov edx, ebx
mov cl, 0x42
call fcn.140001870
mov byte [rsp + 0x21], al
lea edx, [rbx + 1]
mov cl, 0x43
call fcn.140001870
mov byte [rsp + 0x22], al
lea edx, [rbx + 2]
mov cl, 0x44
call fcn.140001870
mov byte [rsp + 0x23], al
lea edx, [rbx + 3]
mov cl, 0x45
call fcn.140001870
mov byte [rsp + 0x24], al
lea edx, [rbx + 4]
mov cl, 0x46
call fcn.140001870
mov byte [rsp + 0x25], al
lea edx, [rbx + 5]
mov cl, 0x47
call fcn.140001870
mov byte [rsp + 0x26], al
lea edx, [rbx + 6]
mov cl, 0x48
call fcn.140001870
mov byte [rsp + 0x27], al
lea edx, [rbx + 7]
mov cl, 0x49
call fcn.140001870
mov byte [rsp + 0x28], al
lea edx, [rbx + 8]
mov cl, 0x4a
call fcn.140001870
mov byte [rsp + 0x29], al
lea edx, [rbx + 9]
mov cl, 0x4b
call fcn.140001870
mov byte [rsp + 0x2a], al
lea edx, [rbx + 0xa]
mov cl, 0x4c
call fcn.140001870
mov byte [rsp + 0x2b], al
lea edx, [rbx + 0xb]
mov cl, 0x4d
call fcn.140001870
mov byte [rsp + 0x2c], al
lea edx, [rbx + 0xc]
mov cl, 0x4e
call fcn.140001870
mov byte [rsp + 0x2d], al
lea edx, [rbx + 0xd]
mov cl, 0x4f
call fcn.140001870
mov byte [rsp + 0x2e], al
lea edx, [rbx + 0xe]
mov cl, 0x50
call fcn.140001870
mov byte [rsp + 0x2f], al
mov edi, 0x10
mov edx, edi
mov cl, 0x51
call fcn.140001870
mov byte [rsp + 0x30], al
lea edx, [rbx + 0x10]
mov cl, 0x52
call fcn.140001870
mov byte [rsp + 0x31], al
lea edx, [rbx + 0x11]
mov cl, 0x53
call fcn.140001870
mov byte [rsp + 0x32], al
lea edx, [rbx + 0x12]
mov cl, 0x54
call fcn.140001870
mov byte [rsp + 0x33], al
lea edx, [rbx + 0x13]
mov cl, 0x55
call fcn.140001870
mov byte [rsp + 0x34], al
lea edx, [rbx + 0x14]
mov cl, 0x56
call fcn.140001870
mov byte [rsp + 0x35], al
lea edx, [rbx + 0x15]
mov cl, 0x57
call fcn.140001870
mov byte [rsp + 0x36], al
lea edx, [rbx + 0x16]
mov cl, 0x58
call fcn.140001870
mov byte [rsp + 0x37], al
lea edx, [rbx + 0x17]
mov cl, 0x59
call fcn.140001870
mov byte [rsp + 0x38], al
lea edx, [rbx + 0x18]
mov cl, 0x5a
call fcn.140001870
mov byte [rsp + 0x39], al
lea edx, [rbx + 0x19]
mov cl, 0x61
call fcn.140001870
mov byte [rsp + 0x3a], al
lea edx, [rbx + 0x1a]
mov cl, 0x62
call fcn.140001870
mov byte [rsp + 0x3b], al
lea edx, [rbx + 0x1b]
mov cl, 0x63
call fcn.140001870
mov byte [rsp + 0x3c], al
lea edx, [rbx + 0x1c]
mov cl, 0x64
call fcn.140001870
mov byte [rsp + 0x3d], al
lea edx, [rbx + 0x1d]
mov cl, 0x65
call fcn.140001870
mov byte [rsp + 0x3e], al
lea edx, [rbx + 0x1e]
mov cl, 0x66
call fcn.140001870
mov byte [rsp + 0x3f], al
lea edx, [rbx + 0x1f]
mov cl, 0x67
call fcn.140001870
mov byte [rsp + 0x40], al
lea edx, [rbx + 0x20]
mov cl, 0x68
call fcn.140001870
mov byte [rsp + 0x41], al
lea edx, [rbx + 0x21]
mov cl, 0x69
call fcn.140001870
mov byte [rsp + 0x42], al
lea edx, [rbx + 0x22]
mov cl, 0x6a
call fcn.140001870
mov byte [rsp + 0x43], al
lea edx, [rbx + 0x23]
mov cl, 0x6b
call fcn.140001870
mov byte [rsp + 0x44], al
lea edx, [rbx + 0x24]
mov cl, 0x6c
call fcn.140001870
mov byte [rsp + 0x45], al
lea edx, [rbx + 0x25]
mov cl, 0x6d
call fcn.140001870
mov byte [rsp + 0x46], al
lea edx, [rbx + 0x26]
mov cl, 0x6e
call fcn.140001870
mov byte [rsp + 0x47], al
lea edx, [rbx + 0x27]
mov cl, 0x6f
call fcn.140001870
mov byte [rsp + 0x48], al
lea edx, [rbx + 0x28]
mov cl, 0x70
call fcn.140001870
mov byte [rsp + 0x49], al
lea edx, [rbx + 0x29]
mov cl, 0x71
call fcn.140001870
mov byte [rsp + 0x4a], al
lea edx, [rbx + 0x2a]
mov cl, 0x72
call fcn.140001870
mov byte [rsp + 0x4b], al
lea edx, [rbx + 0x2b]
mov cl, 0x73
call fcn.140001870
mov byte [rsp + 0x4c], al
lea edx, [rbx + 0x2c]
mov cl, 0x74
call fcn.140001870
mov byte [rsp + 0x4d], al
lea edx, [rbx + 0x2d]
mov cl, 0x75
call fcn.140001870
mov byte [rsp + 0x4e], al
lea edx, [rbx + 0x2e]
mov cl, 0x76
call fcn.140001870
mov byte [rsp + 0x4f], al
lea edx, [rbx + 0x2f]
mov cl, 0x77
call fcn.140001870
mov byte [rsp + 0x50], al
lea edx, [rbx + 0x30]
mov cl, 0x78
call fcn.140001870
mov byte [rsp + 0x51], al
lea edx, [rbx + 0x31]
mov cl, 0x79
call fcn.140001870
mov byte [rsp + 0x52], al
lea edx, [rbx + 0x32]
mov cl, 0x7a
call fcn.140001870
mov byte [rsp + 0x53], al
lea edx, [rbx + 0x33]
mov cl, 0x31
call fcn.140001870
mov byte [rsp + 0x54], al
lea edx, [rbx + 0x34]
mov cl, 0x32
call fcn.140001870
mov byte [rsp + 0x55], al
lea edx, [rbx + 0x35]
mov cl, 0x33
call fcn.140001870
mov byte [rsp + 0x56], al
lea edx, [rbx + 0x36]
mov cl, 0x34
call fcn.140001870
mov byte [rsp + 0x57], al
lea edx, [rbx + 0x37]
mov cl, 0x35
call fcn.140001870
mov byte [rsp + 0x58], al
lea edx, [rbx + 0x38]
mov cl, 0x36
call fcn.140001870
mov byte [rsp + 0x59], al
lea edx, [rbx + 0x39]
mov cl, 0x37
call fcn.140001870
mov byte [rsp + 0x5a], al
lea edx, [rbx + 0x3a]
mov cl, 0x38
call fcn.140001870
mov byte [rsp + 0x5b], al
lea edx, [rbx + 0x3b]
mov cl, 0x39
call fcn.140001870
mov byte [rsp + 0x5c], al
lea edx, [rbx + 0x3c]
mov cl, 0x30
call fcn.140001870
mov byte [rsp + 0x5d], al
xor eax, eax
mov byte [rsp + 0x5e], al
xor r14d, r14d
nop
movsxd rcx, eax
lea rdx, [rsp + 0x20]
add rdx, rcx
lea ecx, [rax - 0x16]
xor byte [rdx], cl
inc eax
cmp eax, 0x3e
jb 0x14000dee0
mov byte [rsp + 0x5e], r14b
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], 0xf
mov byte [rsp + 0x60], 0
lea rax, [rsp + 0x20]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x14000df20
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x60]
call fcn.1400157f0
nop
mov dword [rbp + 0x1314], 0xffffffff
mov ecx, 0x6773b31f
mov dword [rbp - 0x6c], ecx
nop dword [rax]
mov eax, ecx
shr eax, 0x1e
xor eax, ecx
imul ecx, eax, 0x6c078965
add ecx, ebx
mov dword [rbp + rbx*4 - 0x6c], ecx
inc rbx
cmp rbx, 0x270
jb 0x14000df50
mov dword [rbp - 0x70], 0x270
mov rax, qword [rsp + 0x70]
dec rax
mov qword [rbp - 0x80], r14
mov qword [rbp - 0x78], rax
mov qword [rsi], r14
mov qword [rsi + 0x10], r14
mov qword [rsi + 0x18], 0xf
mov byte [rsi], 0
mov rdx, rdi
mov rcx, rsi
call fcn.14001dd20
mov rbx, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x14000dfb0
mov rbx, qword [rsi]
lea rdx, [rbp - 0x70]
lea rcx, [rbp - 0x80]
call fcn.14001e860
mov rcx, rax
lea rax, [rsp + 0x60]
cmp qword [rsp + 0x78], 0x10
cmovae rax, qword [rsp + 0x60]
movzx eax, byte [rcx + rax]
mov byte [rbx], al
dec edi
lea rbx, [rbx + 1]
test edi, edi
jg 0x14000dfb0
mov rdx, qword [rsp + 0x78]
cmp rdx, 0x10
jb 0x14000e021
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000e01c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000e01c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140020c34
mov rax, rsi
mov rcx, qword [rbp + 0x1320]
xor rcx, rsp
call fcn.140020bd0
lea r11, [rsp + 0x1430]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret