Function at 0x1400332f0
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.14004df00
sub rsp, rax
movaps xmmword [rsp + 0x1440], xmm6
mov rax, qword [0x140068040]
xor rax, rsp
mov qword [rbp + 0x1330], rax
mov rbx, rcx
mov qword [rsp + 0x50], rcx
xor edi, edi
mov dword [rsp + 0x20], edi
movups xmm0, xmmword [str.PPPPPPPPPPPPPPP00000000000]
movups xmmword [rsp + 0x28], xmm0
movups xmm1, xmmword [0x14005ea18]
movups xmmword [rsp + 0x38], xmm1
mov eax, dword [0x14005ea28]
mov dword [rsp + 0x48], eax
movzx eax, byte [0x14005ea2c]
mov byte [rsp + 0x4c], al
mov r8d, edi
cmp dword [0x140068088], 2
jl 0x1400334b5
movdqa xmm5, xmmword [0x14005f370]
movdqa xmm4, xmmword [0x14005f4a0]
movdqa xmm6, xmmword [0x14005f3d0]
movdqa xmm0, xmmword [str.1111111111111111]
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 [0x14005f470]
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 [0x14005f470]
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 0x1400333b0
cmp r8d, 0x25
jge 0x1400334f0
movsxd rax, r8d
lea r9, [rsp + 0x28]
add r9, 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, 0x31
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x25
jl 0x1400334c0
lea rdx, [rsp + 0x28]
lea rcx, [rbp - 0x80]
call fcn.140042240
nop
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov edx, eax
mov dword [rbp + 0x1324], 0xffffffff
mov dword [rbp - 0x5c], eax
mov ecx, 1
nop dword [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 0x140033520
mov dword [rbp - 0x60], 0x270
mov r14d, dword [rbp - 0x70]
dec r14d
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
movdqa xmm1, xmmword [0x14005f2a0]
movdqu xmmword [rsp + 0x70], xmm1
mov rax, qword [str.message]
mov dword [rsp + 0x60], eax
movzx eax, word [0x14005e10c]
mov word [rsp + 0x64], ax
movzx eax, byte [0x14005e10e]
mov byte [rsp + 0x66], al
mov byte [rsp + 0x67], 0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
mov dword [rsp + 0x20], 1
mov r15d, 0x20
mov edx, r15d
mov rcx, rbx
call fcn.140043080
mov qword [rbx + 0x10], rdi
mov r13, qword [rbp - 0x68]
mov r12, qword [rbp - 0x80]
mov edi, r14d
cmp r14d, 0x80000000
jb 0x1400335e0
cmp r14d, 0xffffffff
jne 0x1400335e0
lea rcx, [rbp - 0x60]
call fcn.140044300
mov ecx, eax
jmp 0x14003361c
inc edi
lea rcx, [rbp - 0x60]
call fcn.140044300
mov esi, edi
mov ecx, eax
imul rcx, rsi
cmp ecx, edi
jae 0x140033618
mov eax, edi
neg eax
xor edx, edx
div edi
mov edi, edx
cmp ecx, edx
jae 0x140033618
lea rcx, [rbp - 0x60]
call fcn.140044300
mov ecx, eax
imul rcx, rsi
cmp ecx, edi
jb 0x140033605
shr rcx, 0x20
lea rdx, [rbp - 0x80]
cmp r13, 0xf
cmova rdx, r12
movsxd rax, ecx
movzx r9d, byte [rax + rdx]
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x14003365c
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0xf
jbe 0x140033651
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140033664
mov rcx, rbx
call fcn.140043270
sub r15, 1
jne 0x1400335c1
cmp r13, 0xf
jbe 0x1400336a9
lea rdx, [r13 + 1]
mov rax, r12
cmp rdx, 0x1000
jb 0x1400336a1
add rdx, 0x27
mov r12, qword [r12 - 8]
sub rax, r12
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400336a1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r12
call fcn.14004d0ec
mov rax, rbx
mov rcx, qword [rbp + 0x1330]
xor rcx, rsp
call fcn.14004ce30
lea r11, [rsp + 0x1450]
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