Function at 0x140044610
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 rbx, 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 [0x140059c88]
movups xmmword [rbp - 0x41], xmm0
movups xmm1, xmmword [0x140059c98]
movups xmmword [rbp - 0x31], xmm1
mov eax, dword [0x140059ca8]
mov dword [rbp - 0x21], eax
movzx eax, byte [0x140059cac]
mov byte [rbp - 0x1d], al
mov ecx, r12d
cmp dword [0x140063010], 2
jl 0x1400447cc
movdqa xmm4, xmmword [0x140059fc0]
movdqa xmm3, xmmword [0x14005a390]
movdqa xmm5, xmmword [0x14005a000]
movdqa xmm0, xmmword [0x14005a050]
movdqa xmmword [rbp - 0x69], xmm0
lea rdx, [rbp - 0x3d]
movdqa xmm6, xmmword [0x14005a010]
mov r8d, dword [rbp - 0x69]
nop word [rax + rax]
movd xmm2, ecx
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
paddd xmm1, xmm2
psrad xmm1, 5
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, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 4]
xorps xmm2, xmm0
movd dword [rdx - 4], xmm2
lea eax, [rcx + 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
paddd xmm1, xmm2
psrad xmm1, 5
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, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx]
xorps xmm2, xmm0
movd dword [rdx], xmm2
add ecx, 8
lea rdx, [rdx + 8]
cmp ecx, 0x20
jl 0x1400446e0
cmp ecx, 0x25
jge 0x14004480e
movsxd rax, ecx
lea r8, [rbp - 0x41]
add r8, rax
nop word [rax + rax]
mov eax, 0x8fb823ef
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x39
movzx eax, cl
sub al, dl
add al, 0x36
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x25
jl 0x1400447e0
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 dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140044830
lea rdx, [rbp - 0x41]
lea rcx, [rbp - 0x69]
call fcn.14003eab0
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 0x1400448c8
or eax, 1
mov dword [r15 + r14], eax
mov edi, r13d
add rdi, r14
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov dword [rdi + 0x1384], 0xffffffff
mov dword [rdi + 4], eax
mov edx, 1
lea r8, [rdi + 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 0x1400448a0
mov dword [rdi], 0x270
mov eax, dword [r15 + r14]
mov edi, 0x18
mov qword [rbp + 0x6f], rdi
test al, 2
jne 0x1400448f2
or eax, 2
mov dword [r15 + r14], eax
mov rax, qword [rbp - 0x59]
dec rax
mov qword [r14 + rdi], r12
mov qword [r14 + rdi + 8], rax
jmp 0x1400448f6
mov qword [rbp + 0x6f], rdi
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
mov dword [rbp - 0x79], 1
mov rdx, rsi
mov rcx, rbx
call fcn.1400494a0
mov qword [rbx + 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 + rdi + 8]
mov r14, qword [r14 + rdi]
sub rdx, r14
cmp rdx, 0xffffffffffffffff
jne 0x140044972
mov rcx, r15
call fcn.140049b00
mov edi, eax
shl rdi, 0x20
mov rcx, r15
call fcn.140049b00
mov eax, eax
or rdi, rax
jmp 0x140044981
inc rdx
lea rcx, [rbp + 0x77]
call fcn.140049920
mov rdi, rax
lea rcx, [rdi + r14]
lea rax, [rbp - 0x69]
cmp r13, 0xf
cmova rax, r12
movzx r9d, byte [rcx + rax]
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x1400449c2
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0xf
jbe 0x1400449b7
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x1400449ca
mov rcx, rbx
call fcn.1400495f0
test rsi, rsi
mov r14, qword [rbp + 0x7f]
mov rdi, qword [rbp + 0x6f]
jne 0x140044940
cmp r13, 0xf
jbe 0x140044a17
lea rdx, [r13 + 1]
mov rax, r12
cmp rdx, 0x1000
jb 0x140044a0e
add rdx, 0x27
mov r12, qword [r12 - 8]
sub rax, r12
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140044a0e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r12
call fcn.140049d7c
nop
mov rax, qword [rbp - 0x49]
movabs rcx, 0xff00ff00ff00ff00
xor rax, rcx
lea rcx, [rbp + 0x5f]
mov qword [rcx], rax
mov rax, rbx
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