Function at 0x140176b50
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.1401e39e0
sub rsp, rax
mov rax, qword [0x140217010]
xor rax, rsp
mov qword [rbp + 0x1340], rax
mov rbx, rcx
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x28], rcx
movdqa xmm0, xmmword [0x140207f00]
movdqa xmmword [rsp + 0x50], xmm0
movdqa xmm1, xmmword [str.0123456789:]
movdqa xmmword [rsp + 0x60], xmm1
movdqa xmm0, xmmword [0x140207ec0]
movdqa xmmword [rsp + 0x70], xmm0
movdqa xmm1, xmmword [0x140207e50]
movdqa xmmword [rbp - 0x80], xmm1
xor ecx, ecx
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rsp + 0x50]
xor byte [rsp + rcx + 0x51], al
movzx eax, byte [rsp + 0x50]
xor byte [rsp + rcx + 0x52], al
add rcx, 2
cmp rcx, 0x3e
jb 0x140176be0
mov byte [rbp - 0x71], 0
mov qword [rbp - 0x70], 0
mov qword [rbp - 0x60], 0
mov qword [rbp - 0x58], 0xf
mov byte [rbp - 0x70], 0
lea rax, [rsp + 0x51]
mov rsi, 0xffffffffffffffff
mov r8, rsi
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140176c30
lea rdx, [rsp + 0x51]
lea rcx, [rbp - 0x70]
call fcn.14016dcb0
nop
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov edx, eax
mov r11d, 0xffffffff
mov dword [rbp + 0x1334], r11d
mov dword [rbp - 0x4c], eax
mov r15d, 1
mov ecx, r15d
nop word [rax + rax]
mov eax, edx
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, ecx
mov dword [rbp + rcx*4 - 0x4c], edx
inc rcx
cmp rcx, 0x270
jb 0x140176c70
mov dword [rbp - 0x50], 0x270
lea rdx, [rbp - 0x70]
mov r9, qword [rbp - 0x70]
mov r10, qword [rbp - 0x58]
cmp r10, 0x10
cmovae rdx, r9
mov rcx, qword [rbp - 0x60]
add rdx, rcx
mov qword [rsp + 0x38], rdx
lea r8, [rbp - 0x70]
cmp r10, 0x10
cmovae r8, r9
mov qword [rsp + 0x20], r8
mov r13d, 0x40
nop dword [rax]
lea r13, [r13 - 1]
shr rsi, 1
cmp rsi, r11
ja 0x140176cd0
cmp r8, rdx
je 0x140176dc4
lea rax, [r8 + 1]
cmp rax, rdx
je 0x140176dc4
mov rcx, r15
sub rcx, r8
mov qword [rsp + 0x28], rcx
nop dword [rax]
lea rax, [r15 + r8]
mov qword [rsp + 0x30], rax
lea r12, [rax + rcx]
nop dword [rax]
xor ebx, ebx
xor edi, edi
test r15, r15
je 0x140176d55
nop dword [rax]
lea rcx, [r13 - 1]
shl rbx, cl
add rbx, rbx
nop word [rax + rax]
lea rcx, [rbp - 0x50]
call fcn.140176fe0
mov eax, eax
cmp rax, rsi
ja 0x140176d30
or rbx, rax
lea rcx, [r13 - 1]
shl rdi, cl
add rdi, rdi
or rdi, rsi
cmp rdi, r15
jb 0x140176d20
xor edx, edx
mov rax, rdi
div r12
mov r8, rdx
mov rcx, rax
xor edx, edx
mov rax, rbx
div r12
cmp rax, rcx
jb 0x140176d75
cmp r8, r15
jne 0x140176d10
xor edx, edx
mov rax, rbx
div r12
mov r8, qword [rsp + 0x20]
cmp rdx, r15
je 0x140176d9c
mov r9, qword [rsp + 0x30]
movzx ecx, byte [r9]
movzx eax, byte [rdx + r8]
mov byte [r9], al
mov byte [rdx + r8], cl
inc r15
lea rax, [r15 + r8]
cmp rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x28]
jne 0x140176d00
mov r10, qword [rbp - 0x58]
mov rcx, qword [rbp - 0x60]
mov r9, qword [rbp - 0x70]
mov rbx, qword [rsp + 0x40]
mov qword [rbx], 0
mov qword [rbx + 0x10], 0
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
mov r8d, 0x96
cmp rcx, r8
cmovb r8, rcx
lea rdx, [rbp - 0x70]
cmp r10, 0x10
cmovae rdx, r9
mov rcx, rbx
call fcn.14016dcb0
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, 0x10
jb 0x140176e3e
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140176e39
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140176e39
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401e2f1c
mov rax, rbx
mov rcx, qword [rbp + 0x1340]
xor rcx, rsp
call fcn.1401e2ec0
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