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

Disassembly:
mov qword [rsp + 0x20], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1360]
mov eax, 0x1460
call fcn.14000a630
sub rsp, rax
mov rsi, rdx
mov r15, qword [rdx + 0x10]
mov rbx, rdx
mov r12, qword [rdx + 0x18]
cmp r12, 0xf
jbe 0x140008aa1
mov rbx, qword [rdx]
mov r13, 0xffffffffffffffff
test r15, r15
je 0x140008b17
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
movups xmmword [rbp], xmm0
movups xmmword [rbp + 0x10], xmm0
mov qword [rbp + 0x20], rax
mov dword [rbp + 0x28], eax
xor edx, edx
mov r8d, 0xa3
lea rcx, [rbp + 0x2d]
call sub.VCRUNTIME140.dll_memset
mov byte [rbp + 0x2c], 1
lea rax, [r15 - 1]
mov rdi, r13
cmp rax, r13
cmovb rdi, rax
add rdi, rbx
movzx eax, byte [rdi]
cmp byte [rbp + rax - 0x30], 0
jne 0x140008b12
nop dword [rax]
cmp rdi, rbx
je 0x140008b17
dec rdi
movzx eax, byte [rdi]
cmp byte [rbp + rax - 0x30], 0
je 0x140008b00
sub rdi, rbx
jmp 0x140008b1a
mov rdi, r13
mov r14, rsi
cmp r12, 0xf
jbe 0x140008b26
mov r14, qword [rsi]
test r15, r15
je 0x140008b77
xor edx, edx
mov r8d, pe_nt_image_headers64
lea rcx, [rbp - 0x30]
call sub.VCRUNTIME140.dll_memset
mov byte [rbp - 2], 1
lea rax, [r15 - 1]
mov rbx, r13
cmp rax, rbx
cmovb rbx, rax
add rbx, r14
movzx eax, byte [rbx]
cmp byte [rbp + rax - 0x30], 0
jne 0x140008b72
nop dword [rax + rax]
cmp rbx, r14
je 0x140008b77
dec rbx
movzx eax, byte [rbx]
cmp byte [rbp + rax - 0x30], 0
je 0x140008b60
sub rbx, r14
jmp 0x140008b7a
mov rbx, r13
cmp rdi, r13
je 0x140009142
cmp rbx, r13
je 0x140009142
cmp rbx, rdi
jbe 0x140009142
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
xor eax, eax
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], rax
lea r14, [rdi + 1]
mov r8, r14
cmp r15, r14
cmovb r8, r15
mov rdx, rsi
cmp r12, 0xf
jbe 0x140008bc0
mov rdx, qword [rsi]
lea rcx, [rbp - 0x80]
call fcn.140004d20
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
mov rcx, qword [rsi + 0x10]
cmp rcx, r14
jb 0x140009179
mov r8, rbx
sub r8, rdi
dec r8
sub rcx, r14
cmp rcx, r8
cmovb r8, rcx
mov rax, rsi
cmp qword [rsi + 0x18], 0xf
jbe 0x140008c08
mov rax, qword [rsi]
lea rdx, [rax + r14]
lea rcx, [rsp + 0x40]
call fcn.140004d20
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], 0
mov qword [rsp + 0x78], 0
mov rax, qword [rsi + 0x10]
cmp rax, rbx
jb 0x14000917f
sub rax, rbx
mov r8, r13
cmp rax, r13
cmovb r8, rax
cmp qword [rsi + 0x18], 0xf
jbe 0x140008c55
mov rsi, qword [rsi]
lea rdx, [rsi + rbx]
lea rcx, [rsp + 0x60]
call fcn.140004d20
nop
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov ebx, 0xffffffff
mov dword [rbp + 0x1354], ebx
mov dword [rbp - 0x2c], eax
mov edx, 1
nop dword [rax]
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, edx
mov dword [rbp + rdx*4 - 0x2c], eax
inc rdx
cmp rdx, 0x270
jb 0x140008c80
mov r8d, 0x270
mov dword [rbp - 0x30], r8d
lea r11, [rsp + 0x40]
mov rdx, qword [rsp + 0x40]
mov r10, qword [rsp + 0x58]
cmp r10, 0xf
cmova r11, rdx
mov rcx, qword [rsp + 0x50]
add r11, rcx
mov qword [rbp + 0x13b0], r11
lea r9, [rsp + 0x40]
cmp r10, 0xf
cmova r9, rdx
mov qword [rbp + 0x13a8], r9
mov eax, 0x40
nop dword [rax + rax]
lea rax, [rax - 1]
shr r13, 1
cmp r13, rbx
ja 0x140008cf0
cmp r9, r11
je 0x140008f71
lea r12, [r9 + 1]
cmp r12, r11
je 0x140008f71
lea rsi, [rax - 1]
mov r15d, 2
nop dword [rax]
lea r14, [r15 - 1]
nop dword [rax]
nop dword [rax + rax]
xor ebx, ebx
xor edi, edi
test r14, r14
je 0x140008f01
nop dword [rax]
mov rcx, rsi
shl rbx, cl
add rbx, rbx
nop dword [rax]
cmp r8d, 0x270
jne 0x140008da5
lea rax, [rbp - 0x28]
mov r9d, r8d
mov r8d, dword [rax - 4]
xor r8d, dword [rax]
btr r8d, 0x1f
xor r8d, dword [rax - 4]
mov ecx, r8d
and cl, 1
neg cl
sbb edx, edx
and edx, 0x9908b0df
shr r8d, 1
xor edx, r8d
xor edx, dword [rax + 0x630]
mov dword [rax + 0x9bc], edx
lea rax, [rax + 4]
sub r9, 1
jne 0x140008d60
mov r8d, dword [rbp - 0x30]
jmp 0x140008ea6
cmp r8d, 0x4e0
jb 0x140008ea6
lea r10, [rbp + 0x994]
mov r9d, 0xe3
mov r11d, dword [rbp + 0x994]
nop word [rax + rax]
mov eax, r11d
mov r8, r10
add r10, 4
mov r11d, dword [r10]
mov edx, eax
xor edx, r11d
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x634]
shr edx, 1
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub r9, 1
jne 0x140008dd0
lea r10, [rbp + 0xd20]
mov r9d, 0x18c
mov r11d, dword [rbp + 0xd20]
nop dword [rax]
nop word [rax + rax]
mov eax, r11d
mov r8, r10
add r10, 4
mov r11d, dword [r10]
mov edx, eax
xor edx, r11d
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
and ecx, 0x9908b0df
xor ecx, dword [r8 - 0xd4c]
shr edx, 1
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub r9, 1
jne 0x140008e30
mov edx, dword [rbp + 0x1350]
xor edx, dword [rbp - 0x2c]
btr edx, 0x1f
xor edx, dword [rbp + 0x1350]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
and ecx, 0x9908b0df
shr edx, 1
xor ecx, edx
xor ecx, dword [rbp + 0x604]
mov dword [rbp + 0x990], ecx
xor r8d, r8d
mov dword [rbp - 0x30], r8d
mov eax, r8d
mov ecx, dword [rbp + rax*4 - 0x2c]
inc r8d
mov dword [rbp - 0x30], r8d
mov eax, ecx
shr eax, 0xb
and eax, dword [rbp + 0x1354]
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
cmp rax, r13
ja 0x140008d50
or rbx, rax
mov rcx, rsi
shl rdi, cl
add rdi, rdi
or rdi, r13
cmp rdi, r14
jb 0x140008d40
xor edx, edx
mov rax, rdi
div r15
mov r9, rdx
mov rcx, rax
xor edx, edx
mov rax, rbx
div r15
cmp rax, rcx
jb 0x140008f25
cmp r9, r14
jne 0x140008d30
xor edx, edx
mov rax, rbx
div r15
lea rax, [r15 - 1]
cmp rdx, rax
je 0x140008f4f
movzx ecx, byte [r12]
mov r9, qword [rbp + 0x13a8]
movzx eax, byte [rdx + r9]
mov byte [r12], al
mov byte [rdx + r9], cl
inc r12
inc r15
cmp r12, qword [rbp + 0x13b0]
jne 0x140008d20
mov r10, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x40]
movabs rax, 0x7fffffffffffffff
mov r8, qword [rbp - 0x70]
sub rax, r8
cmp rax, rcx
jb 0x140009173
lea r9, [rbp - 0x80]
cmp qword [rbp - 0x68], 0xf
cmova r9, qword [rbp - 0x80]
lea rax, [rsp + 0x40]
cmp r10, 0xf
cmova rax, rdx
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r8
lea rcx, [rbp - 0x58]
call fcn.1400055e0
nop
lea rdx, [rsp + 0x60]
cmp qword [rsp + 0x78], 0xf
cmova rdx, qword [rsp + 0x60]
mov r8, qword [rsp + 0x70]
lea rcx, [rbp - 0x58]
call fcn.140004250
xorps xmm0, xmm0
mov rbx, qword [rbp + 0x13a0]
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], 0
mov qword [rbx + 0x18], 0
movups xmm0, xmmword [rax]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbx + 0x10], xmm1
mov qword [rax + 0x10], 0
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [rbp - 0x40]
cmp rdx, 0xf
jbe 0x14000905a
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009055
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140009055
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140009748
movdqa xmm0, xmmword [0x14000bb20]
movdqu xmmword [rbp - 0x48], xmm0
mov byte [rbp - 0x58], 0
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x1400090ac
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400090a6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400090a6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140009748
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x1400090ec
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400090e7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400090e7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140009748
movdqa xmm0, xmmword [0x14000bb20]
movdqu xmmword [rsp + 0x50], xmm0
mov byte [rsp + 0x40], 0
mov rdx, qword [rbp - 0x68]
cmp rdx, 0xf
jbe 0x14000913d
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009138
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140009138
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140009748
mov rax, rbx
jmp 0x140009158
mov rdx, rsi
mov rcx, qword [rbp + 0x13a0]
call fcn.140003fc0
mov rax, qword [rbp + 0x13a0]
mov rbx, qword [rsp + 0x14b8]
add rsp, 0x1460
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.140001980
nop
call fcn.1400042d0
nop
call fcn.1400042d0
int3