Function at 0x1400a6c60
Capabilities:
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 - 0x1420]
mov eax, 0x1520
call fcn.14013aa70
sub rsp, rax
movaps xmmword [rsp + 0x1510], xmm6
mov rax, qword [0x14017d080]
xor rax, rsp
mov qword [rbp + 0x1400], rax
mov r14, rcx
mov qword [rsp + 0x50], rcx
xor ebx, ebx
call qword [0x140142518]
mov edx, eax
mov dword [rbp + 0x13f4], 0xffffffff
mov dword [rbp + 0x74], eax
lea ecx, [rbx + 1]
nop
mov eax, edx
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, ecx
mov dword [rbp + rcx*4 + 0x74], edx
inc rcx
cmp rcx, 0x270
jb 0x1400a6cc0
mov dword [rbp + 0x70], 0x270
movups xmm0, xmmword [0x140164070]
movups xmmword [rsp + 0x28], xmm0
movzx eax, byte [0x140164080]
mov byte [rsp + 0x38], al
mov ecx, ebx
cmp dword [0x14017d0d8], 2
jl 0x1400a6e4a
movdqa xmm5, xmmword [0x140167f70]
movdqa xmm4, xmmword [0x140168310]
movdqa xmm6, xmmword [0x140167fb0]
movdqa xmm0, xmmword [0x140168180]
movdqa xmmword [rsp + 0x50], xmm0
lea rdx, [rsp + 0x2c]
mov r8d, dword [rsp + 0x50]
nop dword [rax]
movd xmm2, ecx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1401680f0]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 4]
xorps xmm2, xmm0
movd dword [rdx - 4], xmm2
lea eax, [rcx + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1401680f0]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx]
xorps xmm2, xmm0
movd dword [rdx], xmm2
add ecx, 8
lea rdx, [rdx + 8]
cmp ecx, 0x10
jl 0x1400a6d40
cmp ecx, 0x11
jge 0x1400a6e8e
movsxd rax, ecx
lea r8, [rsp + 0x28]
add r8, rax
nop word [rax + rax]
mov eax, 0xa0a0a0a1
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x33
movzx eax, cl
sub al, dl
add al, 0x38
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x11
jl 0x1400a6e60
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rbx
lea rax, [rsp + 0x28]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], bl
jne 0x1400a6eb0
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x50]
call fcn.140058960
nop
xor edx, edx
mov r8d, 0xf8
lea rcx, [rsp + 0x70]
call fcn.14013b924
lea rcx, [rsp + 0x70]
call fcn.14005ecd0
nop
movzx eax, word [0x140163df8]
mov word [rsp + 0x20], ax
movzx eax, byte [0x140163dfa]
mov byte [rsp + 0x20], 0x30
xor byte [rsp + 0x21], 0x39
xor al, 0x3a
mov byte [rsp + 0x22], al
lea rdx, [rsp + 0x20]
lea rcx, [rbp - 0x80]
call fcn.140086090
mov ebx, 2
mov rdi, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x50]
test bl, 1
jne 0x1400a6f58
movzx eax, word [0x140164098]
mov word [rsp + 0x20], ax
cmp byte [0x140164099], 0
je 0x1400a6f4a
mov byte [rsp + 0x20], 0x2d
xor byte [rsp + 0x21], 0x39
lea rdx, [rsp + 0x20]
lea rcx, [rbp - 0x80]
call fcn.140086090
lea rcx, [rbp + 0x70]
call fcn.140087250
mov ecx, eax
shl rcx, 4
shr rcx, 0x20
lea rax, [rsp + 0x50]
cmp rdi, 0xf
cmova rax, rsi
movsxd rdx, ecx
movzx edx, byte [rdx + rax]
lea rcx, [rbp - 0x80]
call fcn.1400a6a70
inc ebx
cmp ebx, 0xc
jl 0x1400a6f26
mov rdx, r14
lea rcx, [rbp - 0x78]
call fcn.14005f340
nop
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea rax, [0x1401610a0]
mov qword [rsp + rcx + 0x70], rax
mov rcx, qword [rsp + 0x70]
movsxd rdx, dword [rcx + 4]
lea r8d, [rdx - 0x98]
mov dword [rsp + rdx + 0x6c], r8d
lea rcx, [rbp - 0x78]
call fcn.14005ec10
lea rcx, [rbp - 0x70]
call qword [0x1401424d0]
lea rcx, [rbp + 8]
call qword [0x1401424b8]
nop
lea rcx, [rsp + 0x50]
call fcn.14003cfb0
mov rax, r14
mov rcx, qword [rbp + 0x1400]
xor rcx, rsp
call fcn.14013a000
lea r11, [rsp + 0x1520]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret