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

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x2700]
mov eax, 0x2800
call fcn.140009ef0
sub rsp, rax
movaps xmmword [rsp + 0x27f0], xmm6
movaps xmmword [rsp + 0x27e0], xmm7
movaps xmmword [rsp + 0x27d0], xmm8
mov rax, qword [0x14000f070]
xor rax, rsp
mov qword [rbp + 0x26c0], rax
mov r14d, edx
mov rsi, rcx
mov qword [rsp + 0x20], rcx
movups xmm0, xmmword [0x14000b598]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [0x14000b5a8]
movups xmmword [rsp + 0x50], xmm1
movups xmm0, xmmword [0x14000b5b8]
movups xmmword [rsp + 0x60], xmm0
movsd xmm1, qword [0x14000b5c8]
movsd qword [rsp + 0x70], xmm1
mov eax, dword [str.yyw_t_vB]
mov dword [rsp + 0x78], eax
movzx eax, word [0x14000b5d4]
mov word [rsp + 0x7c], ax
movzx eax, byte [0x14000b5d6]
mov byte [rsp + 0x7e], al
xor r12d, r12d
mov ecx, r12d
cmp dword [reloc.d2d1.dll_Ordinal_1], 2
jl 0x1400060b4
movdqa xmm5, xmmword [0x14000b7a0]
movdqa xmm4, xmmword [0x14000b810]
mov eax, 4
movd xmm6, eax
movdqa xmm7, xmmword [0x14000b7c0]
mov eax, 0x1f
movd xmm8, eax
movdqa xmm0, xmmword [str.6666666666666666]
movdqa xmmword [rsp + 0x20], xmm0
lea rdx, [rsp + 0x44]
mov r8d, dword [rsp + 0x20]
nop word [rax + 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
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x14000b7e0]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 4]
pxor 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
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x14000b7e0]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx]
pxor xmm2, xmm0
movd dword [rdx], xmm2
add ecx, 8
lea rdx, [rdx + 8]
cmp ecx, 0x38
jl 0x140005fb0
cmp ecx, 0x3f
jge 0x1400060ec
movsxd rax, ecx
lea r8, [rsp + 0x40]
add r8, rax
nop
mov eax, 0x51eb851f
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x32
movzx eax, cl
sub al, dl
add al, 0x36
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x3f
jl 0x1400060c0
mov qword [rbp - 0x80], r12
mov qword [rbp - 0x70], r12
mov qword [rbp - 0x68], 0xf
mov byte [rbp - 0x80], 0
lea rax, [rsp + 0x40]
mov rdi, 0xffffffffffffffff
mov r8, rdi
nop
inc r8
cmp byte [rax + r8], 0
jne 0x140006110
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x80]
call fcn.140003390
nop
call sub.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_
mov edx, eax
mov r15d, 0xffffffff
mov dword [rbp + 0x1324], r15d
mov dword [rbp - 0x5c], eax
mov ebx, 1
mov ecx, ebx
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 - 0x5c], edx
inc rcx
cmp rcx, 0x270
jb 0x140006150
mov dword [rbp - 0x60], 0x270
lea rcx, [rbp - 0x80]
mov rdx, qword [rbp - 0x70]
cmp qword [rbp - 0x68], 0x10
jb 0x14000618e
mov rcx, qword [rbp - 0x80]
add rdx, rcx
jmp 0x140006195
add rdx, rcx
lea rcx, [rbp - 0x80]
lea rax, [rbp - 0x60]
mov qword [rsp + 0x20], rax
mov eax, 0x40
dec rax
shr rdi, 1
cmp rdi, r15
ja 0x1400061a3
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x20]
call fcn.140001690
test r14d, r14d
jne 0x140006239
call sub.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_
mov ecx, eax
mov dword [rbp + 0x26b4], r15d
mov dword [rbp + 0x1334], eax
nop dword [rax + rax]
mov eax, ecx
shr eax, 0x1e
xor eax, ecx
imul ecx, eax, 0x6c078965
add ecx, ebx
mov dword [rbp + rbx*4 + 0x1334], ecx
inc rbx
cmp rbx, 0x270
jb 0x1400061e0
mov dword [rbp + 0x1330], 0x270
lea rax, [rbp + 0x1330]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], 0x20
mov dword [rsp + 0x30], r15d
mov edx, 0xb
lea rcx, [rsp + 0x20]
call fcn.140001f20
lea r14d, [rax + 0xa]
mov qword [rsi], r12
mov qword [rsi + 0x10], r12
mov qword [rsi + 0x18], 0xf
mov byte [rsi], 0
movsxd r8, r14d
cmp qword [rbp - 0x70], r8
cmovb r8, qword [rbp - 0x70]
lea rdx, [rbp - 0x80]
cmp qword [rbp - 0x68], 0x10
cmovae rdx, qword [rbp - 0x80]
mov rcx, rsi
call fcn.140003390
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, 0x10
jb 0x1400062ac
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400062a7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400062a7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140009b84
mov rax, rsi
mov rcx, qword [rbp + 0x26c0]
xor rcx, rsp
call fcn.140009f50
lea r11, [rsp + 0x2800]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret