Function at 0x14000f470
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
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1340]
mov eax, 0x1440
call fcn.140036bc0
sub rsp, rax
mov rax, qword [0x140040010]
xor rax, rsp
mov qword [rbp + 0x1330], rax
mov rsi, rcx
mov qword [rsp + 0x60], rcx
lea r12, [0x140040ff8]
mov rcx, r12
call fcn.1400308f0
mov rcx, rax
movzx eax, byte [rax]
xor al, 0x41
mov byte [rsp + 0x20], al
xor edx, edx
mov ebx, 1
mov eax, ebx
mov r9, qword [0x140041008]
div r9
movzx eax, byte [rdx + rcx]
xor al, 0x42
mov byte [rsp + 0x21], al
xor edx, edx
mov eax, 2
div r9
movzx eax, byte [rdx + rcx]
xor al, 0x43
mov byte [rsp + 0x22], al
xor edx, edx
mov eax, 3
div r9
movzx eax, byte [rdx + rcx]
xor al, 0x44
mov byte [rsp + 0x23], al
xor edx, edx
mov eax, 4
div r9
movzx eax, byte [rdx + rcx]
xor al, 0x45
mov byte [rsp + 0x24], al
xor edx, edx
mov eax, 5
div r9
movzx eax, byte [rdx + rcx]
xor al, 0x46
mov byte [rsp + 0x25], al
xor edx, edx
mov eax, 6
div r9
movzx eax, byte [rdx + rcx]
xor al, 0x47
mov byte [rsp + 0x26], al
xor edx, edx
mov eax, 7
div r9
movzx eax, byte [rdx + rcx]
xor al, 0x48
mov byte [rsp + 0x27], al
xor edx, edx
mov eax, 8
div r9
movzx eax, byte [rdx + rcx]
xor al, 0x49
mov byte [rsp + 0x28], al
xor edx, edx
mov eax, 9
div r9
movzx eax, byte [rdx + rcx]
xor al, 0x4a
mov byte [rsp + 0x29], al
xor edx, edx
mov eax, 0xa
div r9
movzx eax, byte [rdx + rcx]
xor al, 0x4b
mov byte [rsp + 0x2a], al
xor edx, edx
mov eax, 0xb
div r9
movzx eax, byte [rdx + rcx]
xor al, 0x4c
mov byte [rsp + 0x2b], al
xor edx, edx
mov eax, 0xc
div r9
movzx eax, byte [rdx + rcx]
xor al, 0x4d
mov byte [rsp + 0x2c], al
xor edx, edx
mov eax, 0xd
div r9
movzx eax, byte [rdx + rcx]
xor al, 0x4e
mov byte [rsp + 0x2d], al
xor edx, edx
mov eax, 0xe
div r9
movzx eax, byte [rdx + rcx]
xor al, 0x4f
mov byte [rsp + 0x2e], al
xor edx, edx
mov eax, 0xf
div r9
movzx eax, byte [rdx + rcx]
xor al, 0x50
mov byte [rsp + 0x2f], al
xor edx, edx
mov edi, 0x10
mov eax, edi
div r9
movzx eax, byte [rdx + rcx]
xor al, 0x51
mov byte [rsp + 0x30], al
xor edx, edx
mov eax, 0x11
div r9
movzx eax, byte [rdx + rcx]
xor al, 0x52
mov byte [rsp + 0x31], al
xor edx, edx
mov eax, 0x12
div r9
movzx eax, byte [rdx + rcx]
xor al, 0x53
mov byte [rsp + 0x32], al
xor edx, edx
mov eax, 0x13
div r9
movzx eax, byte [rdx + rcx]
xor al, 0x54
mov byte [rsp + 0x33], al
xor edx, edx
mov eax, 0x14
div r9
movzx eax, byte [rdx + rcx]
xor al, 0x55
mov byte [rsp + 0x34], al
xor edx, edx
mov eax, 0x15
div r9
movzx eax, byte [rdx + rcx]
xor al, 0x56
mov byte [rsp + 0x35], al
xor edx, edx
mov eax, 0x16
div r9
movzx eax, byte [rdx + rcx]
xor al, 0x57
mov byte [rsp + 0x36], al
xor edx, edx
mov eax, 0x17
div r9
movzx eax, byte [rdx + rcx]
xor al, 0x58
mov byte [rsp + 0x37], al
xor edx, edx
mov eax, 0x18
div r9
movzx eax, byte [rdx + rcx]
xor al, 0x59
mov byte [rsp + 0x38], al
xor edx, edx
mov eax, 0x19
div r9
movzx eax, byte [rdx + rcx]
xor al, 0x5a
mov byte [rsp + 0x39], al
xor edx, edx
mov eax, 0x1a
div r9
movzx eax, byte [rdx + rcx]
xor al, 0x61
mov byte [rsp + 0x3a], al
xor edx, edx
mov eax, 0x1b
div r9
movzx eax, byte [rdx + rcx]
xor al, 0x62
mov byte [rsp + 0x3b], al
xor edx, edx
mov eax, 0x1c
div r9
movzx eax, byte [rdx + rcx]
xor al, 0x63
mov byte [rsp + 0x3c], al
xor edx, edx
mov eax, 0x1d
div r9
movzx eax, byte [rdx + rcx]
xor al, 0x64
mov byte [rsp + 0x3d], al
xor edx, edx
mov eax, 0x1e
div r9
movzx eax, byte [rdx + rcx]
xor al, 0x65
mov byte [rsp + 0x3e], al
xor edx, edx
mov eax, 0x1f
div r9
movzx eax, byte [rdx + rcx]
xor al, 0x66
mov byte [rsp + 0x3f], al
xor edx, edx
mov eax, 0x20
div r9
movzx eax, byte [rdx + rcx]
xor al, 0x67
mov byte [rsp + 0x40], al
xor edx, edx
mov eax, 0x21
div r9
movzx eax, byte [rdx + rcx]
xor al, 0x68
mov byte [rsp + 0x41], al
xor edx, edx
mov eax, 0x22
div r9
movzx eax, byte [rdx + rcx]
xor al, 0x69
mov byte [rsp + 0x42], al
xor edx, edx
mov eax, 0x23
div r9
movzx eax, byte [rdx + rcx]
xor al, 0x6a
mov byte [rsp + 0x43], al
xor edx, edx
mov eax, 0x24
div r9
movzx eax, byte [rdx + rcx]
xor al, 0x6b
mov byte [rsp + 0x44], al
xor edx, edx
mov eax, 0x25
div r9
movzx eax, byte [rdx + rcx]
xor al, 0x6c
mov byte [rsp + 0x45], al
xor edx, edx
mov eax, 0x26
div r9
movzx eax, byte [rdx + rcx]
xor al, 0x6d
mov byte [rsp + 0x46], al
xor edx, edx
mov eax, 0x27
div r9
movzx eax, byte [rdx + rcx]
xor al, 0x6e
mov byte [rsp + 0x47], al
xor edx, edx
mov eax, 0x28
div r9
movzx eax, byte [rdx + rcx]
xor al, 0x6f
mov byte [rsp + 0x48], al
xor edx, edx
mov eax, 0x29
div r9
movzx eax, byte [rdx + rcx]
xor al, 0x70
mov byte [rsp + 0x49], al
xor edx, edx
mov eax, 0x2a
div r9
movzx eax, byte [rdx + rcx]
xor al, 0x71
mov byte [rsp + 0x4a], al
xor edx, edx
mov eax, 0x2b
div r9
movzx eax, byte [rdx + rcx]
xor al, 0x72
mov byte [rsp + 0x4b], al
xor edx, edx
mov eax, 0x2c
div r9
movzx eax, byte [rdx + rcx]
xor al, 0x73
mov byte [rsp + 0x4c], al
xor edx, edx
mov eax, 0x2d
div r9
movzx eax, byte [rdx + rcx]
xor al, 0x74
mov byte [rsp + 0x4d], al
xor edx, edx
mov eax, 0x2e
div r9
movzx eax, byte [rdx + rcx]
xor al, 0x75
mov byte [rsp + 0x4e], al
xor edx, edx
mov eax, 0x2f
div r9
movzx eax, byte [rdx + rcx]
xor al, 0x76
mov byte [rsp + 0x4f], al
xor edx, edx
mov eax, 0x30
div r9
movzx eax, byte [rdx + rcx]
xor al, 0x77
mov byte [rsp + 0x50], al
xor edx, edx
mov eax, 0x31
div r9
movzx eax, byte [rdx + rcx]
xor al, 0x78
mov byte [rsp + 0x51], al
xor edx, edx
mov eax, 0x32
div r9
movzx eax, byte [rdx + rcx]
xor al, 0x79
mov byte [rsp + 0x52], al
xor edx, edx
mov eax, 0x33
div r9
movzx eax, byte [rdx + rcx]
xor al, 0x7a
mov byte [rsp + 0x53], al
xor edx, edx
mov eax, 0x34
div r9
movzx eax, byte [rdx + rcx]
xor al, 0x31
mov byte [rsp + 0x54], al
xor edx, edx
mov eax, 0x35
div r9
movzx eax, byte [rdx + rcx]
xor al, 0x32
mov byte [rsp + 0x55], al
xor edx, edx
mov eax, 0x36
div r9
movzx eax, byte [rdx + rcx]
xor al, 0x33
mov byte [rsp + 0x56], al
xor edx, edx
mov eax, 0x37
div r9
movzx eax, byte [rdx + rcx]
xor al, 0x34
mov byte [rsp + 0x57], al
xor edx, edx
mov eax, 0x38
div r9
movzx eax, byte [rdx + rcx]
xor al, 0x35
mov byte [rsp + 0x58], al
xor edx, edx
mov eax, 0x39
div r9
movzx eax, byte [rdx + rcx]
xor al, 0x36
mov byte [rsp + 0x59], al
xor edx, edx
mov eax, 0x3a
div r9
movzx eax, byte [rdx + rcx]
xor al, 0x37
mov byte [rsp + 0x5a], al
xor edx, edx
mov eax, 0x3b
div r9
movzx eax, byte [rdx + rcx]
xor al, 0x38
mov byte [rsp + 0x5b], al
xor edx, edx
mov eax, 0x3c
div r9
mov rcx, r12
call fcn.140030630
movzx ecx, byte [rax]
xor cl, 0x39
mov byte [rsp + 0x5c], cl
xor edx, edx
mov eax, 0x3d
div r9
mov rcx, r12
call fcn.140030630
movzx ecx, byte [rax]
xor cl, 0x30
mov byte [rsp + 0x5d], cl
mov word [rsp + 0x5e], 0x100
xor r13d, r13d
mov r8d, r13d
cmp qword [0x140041010], rdi
setae r14b
lea rax, [rsp + 0x20]
mov r15d, ebx
sub r15, rax
mov r11, qword [0x140040ff8]
nop word [rax + rax]
lea rcx, [rsp + 0x20]
add rcx, r8
xor edx, edx
mov rax, r8
div r9
test r14b, r14b
je 0x14000f9ff
movzx eax, byte [rdx + r11]
mov r10, r11
jmp 0x14000fa07
movzx eax, byte [rdx + r12]
mov r10, r12
xor byte [rcx], al
lea rax, [rcx + r15]
xor edx, edx
div r9
movzx eax, byte [rdx + r10]
xor byte [rcx + 1], al
add r8, 2
cmp r8, 0x3e
jb 0x14000f9e0
mov byte [rsp + 0x5f], r13b
mov qword [rsp + 0x68], r13
mov qword [rsp + 0x78], r13
mov qword [rbp - 0x80], 0xf
mov byte [rsp + 0x68], 0
mov r8d, 0x3e
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x68]
call fcn.140006ba0
nop
mov dword [rbp + 0x1324], 0xffffffff
mov ecx, 0x6773b31f
mov dword [rbp - 0x5c], ecx
nop dword [rax + rax]
mov eax, ecx
shr eax, 0x1e
xor eax, ecx
imul ecx, eax, 0x6c078965
add ecx, ebx
mov dword [rbp + rbx*4 - 0x5c], ecx
inc rbx
cmp rbx, 0x270
jb 0x14000fa70
mov dword [rbp - 0x60], 0x270
mov rax, qword [rsp + 0x78]
dec rax
mov qword [rbp - 0x78], r13
mov qword [rbp - 0x70], rax
mov qword [rsi], r13
mov qword [rsi + 0x10], r13
mov qword [rsi + 0x18], 0xf
mov byte [rsi], 0
mov rdx, rdi
mov rcx, rsi
call fcn.140033330
mov rbx, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x14000fad0
mov rbx, qword [rsi]
lea rdx, [rbp - 0x60]
lea rcx, [rbp - 0x78]
call fcn.140033710
mov rcx, rax
lea rax, [rsp + 0x68]
cmp qword [rbp - 0x80], 0x10
cmovae rax, qword [rsp + 0x68]
movzx eax, byte [rax + rcx]
mov byte [rbx], al
dec edi
lea rbx, [rbx + 1]
test edi, edi
jg 0x14000fad0
mov rdx, qword [rbp - 0x80]
cmp rdx, 0x10
jb 0x14000fb3f
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000fb3a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000fb3a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140035ce4
mov rax, rsi
mov rcx, qword [rbp + 0x1330]
xor rcx, rsp
call fcn.140035c80
lea r11, [rsp + 0x1440]
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