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

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 - 0x1350]
mov eax, 0x1450
call fcn.140016e10
sub rsp, rax
mov rax, qword [0x140021040]
xor rax, rsp
mov qword [rbp + 0x1340], rax
mov edi, r8d
mov dword [rsp + 0x30], r8d
mov r13d, edx
mov r12, rcx
xor r14d, r14d
lea rcx, [rsp + 0x68]
call fcn.140001f70
mov rbx, rax
mov r8, qword [rax + 0x10]
mov rcx, qword [rax + 0x18]
mov rax, rcx
sub rax, r8
cmp rax, 0xa
jb 0x140002316
lea rax, [r8 + 0xa]
mov qword [rbx + 0x10], rax
mov rdi, rbx
cmp rcx, 0xf
jbe 0x1400022a8
mov rdi, qword [rbx]
lea rax, [0x14001982a]
mov r15d, 0xa
lea rsi, str._LOGS_____
cmp rax, rdi
jbe 0x1400022d7
lea rax, [rdi + r8]
cmp rsi, rax
ja 0x1400022d7
cmp rdi, rsi
jbe 0x1400022da
mov r14, rdi
sub r14, rsi
jmp 0x1400022da
mov r14, r15
inc r8
lea rcx, [rdi + 0xa]
mov rdx, rdi
call fcn.140016e6a
mov r8, r14
mov rdx, rsi
mov rcx, rdi
call fcn.140016e64
sub r15, r14
lea rdx, [rsi + 0xa]
add rdx, r14
lea rcx, [rdi + r14]
mov r8, r15
call fcn.140016e64
mov edi, dword [rsp + 0x30]
xor r14d, r14d
jmp 0x14000233b
mov r15d, 0xa
mov qword [rsp + 0x28], r15
lea rsi, str._LOGS_____
mov qword [rsp + 0x20], rsi
mov edx, r15d
mov rcx, rbx
call fcn.140013a30
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
movups xmm0, xmmword [rbx]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rsp + 0x50], xmm1
mov qword [rbx + 0x18], 0xf
mov qword [rbx + 0x10], r14
mov byte [rbx], 0
mov r8d, 2
lea rdx, [0x14001981c]
lea rcx, [rsp + 0x40]
call fcn.140008070
xorps xmm0, xmm0
movups xmmword [rbp - 0x78], xmm0
mov qword [rbp - 0x68], r14
mov qword [rbp - 0x60], r14
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x78], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x68], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x1400023f0
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400023eb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400023eb
call qword [0x140019468]
int3
call fcn.140016024
movdqa xmm0, xmmword [0x14001b000]
movdqu xmmword [rsp + 0x50], xmm0
mov byte [rsp + 0x40], 0
mov rdx, qword [rbp - 0x80]
cmp rdx, 0xf
jbe 0x140002442
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000243d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000243d
call qword [0x140019468]
int3
call fcn.140016024
movdqa xmm0, xmmword [0x14001b000]
movdqu xmmword [rsp + 0x78], xmm0
mov byte [rsp + 0x68], 0
lea rdx, [rbp - 0x78]
cmp qword [rbp - 0x60], 0xf
cmova rdx, qword [rbp - 0x78]
mov r8, qword [rbp - 0x68]
mov rcx, qword [0x1400192b8]
call fcn.140010470
lea rdx, [0x14000b740]
mov rcx, rax
call qword [0x140019250]
call qword [0x140019290]
mov dword [rbp + 0x1334], 0xffffffff
mov dword [rbp - 0x4c], eax
mov edx, 1
nop dword [rax + rax]
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, edx
mov dword [rbp + rdx*4 - 0x4c], eax
inc rdx
cmp rdx, 0x270
jb 0x1400024a0
mov dword [rbp - 0x50], 0x270
mov rcx, r12
cmp qword [r12 + 0x18], 0xf
jbe 0x1400024da
mov rcx, qword [r12]
mov rdx, rcx
jmp 0x1400024dd
mov rdx, r12
mov rsi, rcx
mov r15, qword [r12 + 0x10]
add r15, rdx
cmp rcx, r15
je 0x140002626
lea eax, [r13 - 0x80000000]
mov r12d, 0x80000000
lea r14d, [r12 + r13]
cmp r13d, r12d
cmovae r14d, eax
movabs r13, 0x7fffffffffffffff
nop dword [rax]
nop word [rax + rax]
movzx edx, byte [rsi]
mov rcx, qword [0x1400192b8]
call fcn.14000b2e0
lea rdx, [0x14000b740]
mov rcx, rax
call qword [0x140019250]
lea eax, [rdi - 0x80000000]
lea ecx, [rdi + r12]
cmp edi, r12d
cmovae ecx, eax
sub ecx, r14d
cmp ecx, 0xffffffff
jne 0x140002564
lea rcx, [rbp - 0x50]
call fcn.140014030
mov ecx, eax
jmp 0x1400025ab
lea ebx, [rcx + 1]
lea rcx, [rbp - 0x50]
call fcn.140014030
mov edi, ebx
mov ecx, eax
imul rcx, rdi
cmp ecx, ebx
jae 0x1400025a3
mov eax, ebx
neg eax
xor edx, edx
div ebx
mov ebx, edx
cmp ecx, edx
jae 0x1400025a3
nop word [rax + rax]
lea rcx, [rbp - 0x50]
call fcn.140014030
mov ecx, eax
imul rcx, rdi
cmp ecx, ebx
jb 0x140002590
shr rcx, 0x20
mov edi, dword [rsp + 0x30]
lea edx, [r14 + rcx]
lea eax, [rdx + r12]
lea ecx, [rdx - 0x80000000]
cmp edx, r12d
cmovae ecx, eax
movsxd rbx, ecx
lea rcx, [rsp + 0x60]
call fcn.140001300
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x38], rax
test rbx, rbx
je 0x140002610
js 0x140002610
imul r8, rbx, 0xf4240
mov rdx, r13
sub rdx, r8
cmp rax, rdx
je 0x14000260b
mov ecx, 1
mov edx, 0xff
cmovl ecx, edx
test cl, cl
jns 0x14000260b
lea rcx, [rax + r8]
mov qword [rsp + 0x38], rcx
jmp 0x140002610
mov qword [rsp + 0x38], r13
lea rcx, [rsp + 0x38]
call fcn.140010630
inc rsi
cmp rsi, r15
jne 0x140002520
lea rdx, [0x14000b2a0]
mov rcx, qword [0x1400192b8]
call qword [0x140019250]
nop
mov rdx, qword [rbp - 0x60]
cmp rdx, 0xf
jbe 0x140002679
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002674
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002674
call qword [0x140019468]
int3
call fcn.140016024
mov rcx, qword [rbp + 0x1340]
xor rcx, rsp
call fcn.140015fc0
lea r11, [rsp + 0x1450]
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