Function at 0x7ff7cecd3af0
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 - 0x1340]
mov eax, 0x1440
call fcn.7ff7ced51310
sub rsp, rax
movaps xmmword [rsp + 0x1430], xmm6
mov rax, qword [0x7ff7ced83080]
xor rax, rsp
mov qword [rbp + 0x1320], rax
mov rsi, rcx
mov qword [rsp + 0x50], rcx
mov dword [rsp + 0x24], 0
movups xmm0, xmmword [0x7ff7ced72700]
movups xmmword [rsp + 0x28], xmm0
movups xmm1, xmmword [0x7ff7ced72710]
movups xmmword [rsp + 0x38], xmm1
mov eax, dword [0x7ff7ced72720]
mov dword [rsp + 0x48], eax
movzx eax, byte [0x7ff7ced72724]
mov byte [rsp + 0x4c], al
xor r8d, r8d
cmp dword [0x7ff7ced830d0], 2
jl 0x7ff7cecd3cb7
movdqa xmm5, xmmword [0x7ff7ced731e0]
movdqa xmm4, xmmword [0x7ff7ced73310]
movdqa xmm6, xmmword [0x7ff7ced73240]
movdqa xmm0, xmmword [0x7ff7ced732f0]
movdqa xmmword [rsp + 0x60], xmm0
lea rcx, [rsp + 0x2c]
mov edx, dword [rsp + 0x60]
movd xmm2, r8d
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
psrad xmm1, 4
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 [0x7ff7ced732e0]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 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
psrad xmm1, 4
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 [0x7ff7ced732e0]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x20
jl 0x7ff7cecd3bb2
cmp r8d, 0x25
jge 0x7ff7cecd3d00
movsxd rax, r8d
lea r9, [rsp + 0x28]
add r9, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x4ec4ec4f
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x34
movzx eax, r8b
sub al, cl
add al, 0x39
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x25
jl 0x7ff7cecd3cd0
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x70]
call fcn.7ff7cece3840
nop
call qword [sym.imp.msvcp140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov edx, eax
mov dword [rbp + 0x1314], 0xffffffff
mov dword [rbp - 0x6c], eax
mov ecx, 1
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 - 0x6c], edx
inc rcx
cmp rcx, 0x270
jb 0x7ff7cecd3d30
mov edi, 0x270
mov dword [rbp - 0x70], edi
mov r15d, dword [rbp - 0x80]
dec r15d
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], 0
mov qword [rsi + 0x18], 0
mov qword [rsi + 0x10], 0
mov qword [rsi + 0x18], 0xf
mov byte [rsi], 0
mov dword [rsp + 0x24], 1
mov r12d, 0x20
mov edx, r12d
mov rcx, rsi
call fcn.7ff7cece4ad0
mov qword [rsi + 0x10], 0
mov r13, qword [rsp + 0x70]
movzx ebx, byte [rsp + 0x20]
cmp r15d, 0xffffffff
jne 0x7ff7cecd3f3f
cmp edi, 0x270
jne 0x7ff7cecd3e11
lea r8, [rbp - 0x68]
mov r9d, edi
nop dword [rax + rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
btr edx, 0x1f
xor edx, dword [r8 - 4]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
and ecx, 0x9908b0df
shr edx, 1
xor ecx, edx
xor ecx, dword [r8 + 0x630]
mov dword [r8 + 0x9bc], ecx
lea r8, [r8 + 4]
sub r9, 1
jne 0x7ff7cecd3dd0
mov edi, dword [rbp - 0x70]
jmp 0x7ff7cecd3f06
cmp edi, 0x4e0
jb 0x7ff7cecd3f06
xor r8d, r8d
lea r9, [rbp + 0x954]
lea r10, [rbp + 0xf88]
lea r11, [rbp - 0x6c]
nop dword [rax]
nop word [rax + rax]
mov edx, dword [r9 + r8*4]
xor edx, dword [rbp + r8*4 + 0x958]
btr edx, 0x1f
xor edx, dword [r9 + r8*4]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
and ecx, 0x9908b0df
xor ecx, dword [r10 + r8*4]
shr edx, 1
xor ecx, edx
mov dword [r11 + r8*4], ecx
inc r8
cmp r8, 0xe3
jb 0x7ff7cecd3e40
mov r8d, 0xe3
lea r9, [rbp + 0x958]
lea r10, [rbp - 0x6c]
nop dword [rax + rax]
mov eax, dword [rbp + r8*4 + 0x954]
mov edx, eax
xor edx, dword [r9 + r8*4]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
and ecx, 0x9908b0df
xor ecx, dword [rbp + r8*4 - 0x3f8]
shr edx, 1
xor ecx, edx
mov dword [r10 + r8*4], ecx
inc r8
cmp r8, 0x26f
jb 0x7ff7cecd3e90
mov edx, dword [rbp + 0x1310]
and edx, 0x80000000
mov eax, dword [rbp - 0x6c]
btr eax, 0x1f
or edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
and ecx, 0x9908b0df
shr edx, 1
xor ecx, edx
xor ecx, dword [rbp + 0x5c4]
mov dword [rbp + 0x950], ecx
xor edi, edi
mov dword [rbp - 0x70], edi
mov eax, edi
mov edx, dword [rbp + rax*4 - 0x6c]
inc edi
mov dword [rbp - 0x70], edi
mov eax, edx
shr eax, 0xb
and eax, dword [rbp + 0x1314]
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov ecx, edx
shr ecx, 0x12
xor ecx, edx
jmp 0x7ff7cecd3f81
lea edi, [r15 + 1]
lea rcx, [rbp - 0x70]
call fcn.7ff7cece6240
mov r14d, edi
mov ecx, eax
imul rcx, r14
cmp ecx, edi
jae 0x7ff7cecd3f7a
mov eax, edi
neg eax
xor edx, edx
div edi
mov edi, edx
cmp ecx, edx
jae 0x7ff7cecd3f7a
lea rcx, [rbp - 0x70]
call fcn.7ff7cece6240
mov ecx, eax
imul rcx, r14
cmp ecx, edi
jb 0x7ff7cecd3f67
shr rcx, 0x20
mov edi, dword [rbp - 0x70]
lea rdx, [rsp + 0x70]
mov r8, qword [rbp - 0x78]
cmp r8, 0xf
cmova rdx, r13
movsxd rax, ecx
movzx r9d, byte [rax + rdx]
mov rcx, qword [rsi + 0x10]
mov rdx, qword [rsi + 0x18]
cmp rcx, rdx
jae 0x7ff7cecd3fc6
lea rax, [rcx + 1]
mov qword [rsi + 0x10], rax
mov rax, rsi
cmp rdx, 0xf
jbe 0x7ff7cecd3fbb
mov rax, qword [rsi]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x7ff7cecd3fdb
movzx r8d, bl
mov edx, 1
mov rcx, rsi
call fcn.7ff7cece4eb0
mov r8, qword [rbp - 0x78]
sub r12, 1
jne 0x7ff7cecd3db2
cmp r8, 0xf
jbe 0x7ff7cecd401f
lea rdx, [r8 + 1]
mov rax, r13
cmp rdx, 0x1000
jb 0x7ff7cecd4017
add rdx, 0x27
mov r13, qword [r13 - 8]
sub rax, r13
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x7ff7cecd4017
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r13
call fcn.7ff7ced50b1c
mov rax, rsi
mov rcx, qword [rbp + 0x1320]
xor rcx, rsp
call fcn.7ff7ced50860
lea r11, [rsp + 0x1440]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret