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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x12f0]
mov eax, 0x13f0
call fcn.1400ebf90
sub rsp, rax
mov rsi, r8
mov r14, rcx
test r8, r8
je 0x140071d47
mov ecx, 4
mov rax, qword gs:[0x58]
mov rax, qword [rax]
mov eax, dword [rcx + rax]
cmp dword [0x140247620], eax
jle 0x140071c0f
lea rcx, [0x140247620]
call fcn.1400b9e78
cmp dword [0x140247620], 0xffffffff
jne 0x140071c0f
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
mov ecx, 0x20
call fcn.1400ba130
mov qword [rsp + 0x30], rax
movdqa xmm0, xmmword [0x14013deb0]
movdqu xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [str.ExAllocatePoolWithTag]
movups xmmword [rax], xmm1
mov ecx, dword [0x14013bea8]
mov dword [rax + 0x10], ecx
movzx ecx, byte [0x14013beac]
mov byte [rax + 0x14], cl
mov byte [rax + 0x15], 0
lea r8, [rsp + 0x30]
mov rdx, qword [0x1402440b8]
mov rcx, r14
call fcn.1400720b0
mov qword [0x140247708], rax
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x140071c03
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140071bfd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140071e2d
call fcn.1400b9d58
nop
lea rcx, [0x140247620]
call fcn.1400b9e0c
cmp qword [0x140247708], 0
jne 0x140071d61
mov r8d, 1
lea rdx, str.C:_bKernellog.log
lea rcx, [rsp + 0x60]
call fcn.1400779b0
nop
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
cmp dword [rsp + rcx + 0x70], 0
jne 0x140071cdb
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov ecx, 0x30
call fcn.1400ba130
mov qword [rsp + 0x30], rax
movdqa xmm0, xmmword [0x14013df60]
movdqu xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [str.____Failed_to_find_ExAllocatePool_n]
movups xmmword [rax], xmm1
movups xmm0, xmmword [0x14013bec0]
movups xmmword [rax + 0x10], xmm0
movzx ecx, word [0x14013bed0]
mov word [rax + 0x20], cx
mov byte [rax + 0x22], 0
lea rcx, [rsp + 0x30]
call fcn.14006d5d0
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x140071cdb
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140071cd5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140071e27
call fcn.1400b9d58
nop
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x60], rax
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rsp + rcx + 0x5c], edx
lea rcx, [rsp + 0x70]
call fcn.14005deb0
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x60], rax
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x18]
mov dword [rsp + rcx + 0x5c], edx
lea rax, vtable.std::ios_base.0
mov qword [rbp + 0x10], rax
lea rcx, [rbp + 0x10]
call fcn.1400bb848
nop
xor eax, eax
lea r11, [rsp + 0x13f0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
xor ebx, ebx
mov qword [rbp + 0x1320], rbx
call fcn.1400bd8e4
mov dword [rbp + 0x12e4], 0xffffffff
mov dword [rsp + 0x64], eax
lea edx, [rbx + 1]
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, edx
mov dword [rsp + rdx*4 + 0x64], eax
inc rdx
cmp rdx, 0x270
jb 0x140071d80
mov dword [rsp + 0x60], 0x270
mov edi, ebx
nop dword [rax]
lea rcx, [rsp + 0x60]
call fcn.14008ada0
mov ecx, eax
imul rax, rcx, 0x5f
cmp eax, 5
ja 0x140071dda
lea rcx, [rsp + 0x60]
call fcn.14008ada0
mov ecx, eax
imul rax, rcx, 0x5f
cmp eax, 6
jb 0x140071dc5
shr rax, 0x20
add eax, 0x80000020
movsx edx, al
mov ecx, ebx
shl edx, cl
or edi, edx
add ebx, 8
cmp ebx, 0x20
jl 0x140071db0
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rsi
mov r8, qword [0x140247708]
lea rdx, [rbp + 0x1320]
mov rcx, r14
call fcn.14007e4d0
test al, al
je 0x140071d47
mov rax, qword [rbp + 0x1320]
jmp 0x140071d49
call fcn.1400d3378
nop
call fcn.1400d3378
int3