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

Disassembly:
push rbp
push r12
push r14
lea rbp, [rsp - 0x14e0]
mov eax, 0x15e0
call fcn.140177de0
sub rsp, rax
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rsp + 0x1608], rbx
mov qword [rsp + 0x1610], rsi
mov qword [rsp + 0x1618], rdi
mov rax, qword [0x140a23bc8]
xor rax, rsp
mov qword [rbp + 0x14d0], rax
mov rdi, rcx
lea rbx, [rcx + 0x908]
mov qword [rsp + 0x60], rbx
mov rcx, rbx
call fcn.140157618
test eax, eax
je 0x1400a73e0
mov ecx, eax
call fcn.140157c40
nop
mov dword [rbp + 0x14c4], 0xffffffff
mov edx, 0x1571
mov r8d, 1
mov r9d, r8d
mov ecx, r8d
nop dword [rax + rax]
mov eax, edx
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, r9d
mov dword [rbp + rcx*4 + 0x144], edx
inc r9d
inc rcx
cmp rcx, 0x270
jl 0x1400a7400
mov ecx, 0x3039
mov dword [rbp + 0x144], ecx
mov rdx, r8
nop dword [rax]
nop dword [rax + rax]
mov eax, ecx
shr eax, 0x1e
xor eax, ecx
imul ecx, eax, 0x6c078965
add ecx, r8d
mov dword [rbp + rdx*4 + 0x144], ecx
inc r8d
inc rdx
cmp rdx, 0x270
jl 0x1400a7440
mov dword [rbp + 0x140], 0x270
lea rdx, [rdi + 0x5e8]
cmp byte [rdx + 0xe8], 3
jne 0x1400a766f
lea rcx, [rbp + 0x60]
call fcn.140069110
nop
mov byte [rsp + 0x20], 0
mov rax, qword [rbp + 0x118]
sub rax, qword [rbp + 0x110]
mov edx, 0x20
sub rdx, rax
lea r9, [rsp + 0x21]
lea r8, [rsp + 0x20]
lea rcx, [rsp + 0x28]
call fcn.140084ce0
mov rsi, rax
lea rax, [rbp + 0x128]
cmp rax, rsi
je 0x1400a750f
lea rcx, [rbp + 0x128]
call fcn.140039090
mov rcx, qword [rsi]
mov qword [rbp + 0x128], rcx
mov rcx, qword [rsi + 8]
mov qword [rbp + 0x130], rcx
mov rcx, qword [rsi + 0x10]
mov qword [rbp + 0x138], rcx
mov qword [rsi], 0
mov qword [rsi + 8], 0
mov qword [rsi + 0x10], 0
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x1400a754b
mov rdx, qword [rsp + 0x38]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a7546
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400a7669
call fcn.140177360
xor esi, esi
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x38]
add rax, qword [rdi + 0xaa0]
je 0x1400a761f
xor r14d, r14d
lea r12, [0x1401f6ca0]
nop dword [rax]
mov rcx, qword [rdi + 0x5c8]
add rcx, r14
je 0x1400a7582
cmp byte [rcx + 0x10], 9
je 0x1400a7584
xor ecx, ecx
test rcx, rcx
je 0x1400a75ff
lea rax, [rbp + 0x140]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], 0x20
mov dword [rsp + 0x38], 0xffffffff
lea rcx, [rsp + 0x28]
call fcn.1400a4f80
mov rcx, qword [rbp + 0x128]
mov dword [rcx], eax
lea rdx, [rbp + 0x60]
lea rcx, [rsp + 0x68]
call fcn.140069110
mov byte [rbp + 0x50], 3
lea r8, [rsp + 0x68]
mov rdx, rsi
mov rcx, rdi
call fcn.1400746a0
nop
movzx eax, byte [rbp + 0x50]
test al, al
js 0x1400a75ff
mov byte [rsp + 0x20], 0
movsx rax, al
mov r8, qword [r12 + rax*8]
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x68]
call r8
nop
inc rsi
add r14, 0x18
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x38]
add rax, qword [rdi + 0xaa0]
cmp rsi, rax
jb 0x1400a7570
lea rcx, [rbp + 0x60]
call fcn.14005ac50
nop
mov rcx, rbx
call fcn.14015763c
test eax, eax
je 0x1400a763d
mov ecx, eax
call fcn.140157c40
nop
mov rcx, qword [rbp + 0x14d0]
xor rcx, rsp
call fcn.1401777c0
lea r11, [rsp + 0x15e0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop r12
pop rbp
ret
call fcn.14019862c
nop
xor eax, eax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x40]
call fcn.1400598f0
lea rdx, [0x140277c50]
lea rcx, [rsp + 0x40]
call fcn.1401950f0
int3