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

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xb8
movaps xmmword [rax - 0x58], xmm6
mov rdi, rcx
xor r12d, r12d
mov dword [rbp - 0x79], r12d
mov esi, 0x10
lea rcx, [rbp + 0x5f]
movabs rdx, 0xff00ff00ff00ff00
mov qword [rbp - 0x11], rdx
mov qword [rbp - 9], rcx
mov rax, qword [rcx]
xor rax, rdx
mov qword [rbp - 0x49], rax
mov qword [rbp - 0x19], rax
mov qword [rcx], r12
movups xmm0, xmmword [0x14005f2e8]
movups xmmword [rbp - 0x41], xmm0
movups xmm1, xmmword [0x14005f2f8]
movups xmmword [rbp - 0x31], xmm1
mov eax, dword [0x14005f308]
mov dword [rbp - 0x21], eax
movzx eax, byte [0x14005f30c]
mov byte [rbp - 0x1d], al
mov r8d, r12d
cmp dword [0x140069010], 2
jl 0x140044807
movdqa xmm4, xmmword [0x14005f5a0]
movdqa xmm3, xmmword [0x14005f950]
movdqa xmm5, xmmword [0x14005f5e0]
movdqa xmm0, xmmword [0x14005f630]
movdqa xmmword [rbp - 0x69], xmm0
lea rcx, [rbp - 0x3d]
movdqa xmm6, xmmword [0x14005f5f0]
mov edx, dword [rbp - 0x69]
nop dword [rax]
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
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 xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
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 0x140044720
cmp r8d, 0x25
jge 0x140044850
movsxd rax, r8d
lea r9, [rbp - 0x41]
add r9, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x4bda12f7
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x36
movzx eax, r8b
sub al, cl
add al, 0x33
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x25
jl 0x140044820
xorps xmm0, xmm0
movups xmmword [rbp - 0x69], xmm0
mov qword [rbp - 0x59], r12
mov qword [rbp - 0x51], r12
lea rax, [rbp - 0x41]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140044870
lea rdx, [rbp - 0x41]
lea rcx, [rbp - 0x69]
call fcn.14003ea90
nop
mov rax, qword gs:[0x58]
mov r14, qword [rax]
mov qword [rbp + 0x7f], r14
mov r15d, 0x13b8
mov eax, dword [r15 + r14]
mov r13d, 0x30
test al, 1
jne 0x140044908
or eax, 1
mov dword [r15 + r14], eax
mov ebx, r13d
add rbx, r14
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov dword [rbx + 0x1384], 0xffffffff
mov dword [rbx + 4], eax
mov edx, 1
lea r8, [rbx + 8]
nop word [rax + rax]
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, edx
mov dword [r8], eax
inc rdx
lea r8, [r8 + 4]
cmp rdx, 0x270
jb 0x1400448e0
mov dword [rbx], 0x270
mov eax, dword [r15 + r14]
mov ebx, 0x18
mov qword [rbp + 0x6f], rbx
test al, 2
jne 0x140044932
or eax, 2
mov dword [r15 + r14], eax
mov rax, qword [rbp - 0x59]
dec rax
mov qword [r14 + rbx], r12
mov qword [r14 + rbx + 8], rax
jmp 0x140044936
mov qword [rbp + 0x6f], rbx
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r12
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
mov dword [rbp - 0x79], 1
mov rdx, rsi
mov rcx, rdi
call fcn.14004e290
mov qword [rdi + 0x10], r12
mov r15d, r13d
add r15, r14
mov qword [rbp + 0x77], r15
mov r13, qword [rbp - 0x51]
mov r12, qword [rbp - 0x69]
nop dword [rax]
nop word [rax + rax]
dec rsi
mov rdx, qword [r14 + rbx + 8]
mov r14, qword [r14 + rbx]
sub rdx, r14
cmp rdx, 0xffffffffffffffff
jne 0x1400449b2
mov rcx, r15
call fcn.14004e8f0
mov ebx, eax
shl rbx, 0x20
mov rcx, r15
call fcn.14004e8f0
mov eax, eax
or rbx, rax
jmp 0x1400449c1
inc rdx
lea rcx, [rbp + 0x77]
call fcn.14004e710
mov rbx, rax
lea rcx, [rbx + r14]
lea rax, [rbp - 0x69]
cmp r13, 0xf
cmova rax, r12
movzx r9d, byte [rcx + rax]
mov rcx, qword [rdi + 0x10]
mov rdx, qword [rdi + 0x18]
cmp rcx, rdx
jae 0x140044a02
lea rax, [rcx + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0xf
jbe 0x1400449f7
mov rax, qword [rdi]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140044a0a
mov rcx, rdi
call fcn.14004e3e0
test rsi, rsi
mov r14, qword [rbp + 0x7f]
mov rbx, qword [rbp + 0x6f]
jne 0x140044980
cmp r13, 0xf
jbe 0x140044a57
lea rdx, [r13 + 1]
mov rax, r12
cmp rdx, 0x1000
jb 0x140044a4e
add rdx, 0x27
mov r12, qword [r12 - 8]
sub rax, r12
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140044a4e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r12
call fcn.14004eb6c
nop
mov rax, qword [rbp - 0x49]
movabs rcx, 0xff00ff00ff00ff00
xor rax, rcx
lea rcx, [rbp + 0x5f]
mov qword [rcx], rax
mov rax, rdi
movaps xmm6, xmmword [rsp + 0xa0]
add rsp, 0xb8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret