Function at 0x140214730
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister
Get session user name

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 - 0x1420]
mov eax, 0x1520
call fcn.14025eb00
sub rsp, rax
movaps xmmword [rsp + 0x1510], xmm6
movaps xmmword [rsp + 0x1500], xmm7
mov rax, qword [0x140280040]
xor rax, rsp
mov qword [rbp + 0x13f0], rax
mov rsi, rcx
mov qword [rsp + 0x28], rcx
xor r12d, r12d
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
lea r13, [rbp + 0x1448]
movabs rbx, 0xff00ff00ff00ff00
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], r13
mov rax, qword [r13]
xor rax, rbx
mov qword [rsp + 0x38], rax
mov qword [r13], r12
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov edx, eax
mov dword [rbp + 0x12d4], 0xffffffff
mov dword [rsp + 0x54], eax
mov r15d, 1
mov ecx, r15d
nop dword [rax + rax]
mov eax, edx
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, ecx
mov dword [rsp + rcx*4 + 0x54], edx
inc rcx
cmp rcx, 0x270
jb 0x1402147e0
mov dword [rsp + 0x50], 0x270
mov dword [rsp + 0x20], r12d
lea rcx, [rsp + 0x28]
call fcn.1401f3510
mov r14, qword [rsp + 0x28]
add r14, 0x5f5e100
lea rcx, [rsp + 0x28]
call fcn.1401f3510
cmp qword [rax], r14
jge 0x140214994
mov edi, 0x186a0
nop word [rax + rax]
lea rcx, [rsp + 0x50]
call fcn.140249d50
mov ecx, eax
imul rax, rcx, 0xc9
cmp eax, 0x63
ja 0x140214878
nop dword [rax + rax]
lea rcx, [rsp + 0x50]
call fcn.140249d50
mov ecx, eax
imul rax, rcx, 0xc9
cmp eax, 0x64
jb 0x140214860
shr rax, 0x20
lea ebx, [rax + 0x7fffff9c]
xor ebx, 0x80000000
cmove ebx, r15d
lea rcx, [rsp + 0x50]
call fcn.140249d50
mov ecx, eax
imul rcx, rcx, 0xc9
cmp ecx, 0x63
ja 0x1402148bc
lea rcx, [rsp + 0x50]
call fcn.140249d50
mov ecx, eax
imul rcx, rcx, 0xc9
cmp ecx, 0x64
jb 0x1402148a4
shr rcx, 0x20
add ecx, 0x7fffff9c
btc ecx, 0x1f
mov eax, dword [rsp + 0x20]
add eax, ecx
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x50]
call fcn.140249d50
mov ecx, eax
imul rcx, rcx, 0xc9
cmp ecx, 0x63
ja 0x140214908
nop dword [rax]
lea rcx, [rsp + 0x50]
call fcn.140249d50
mov ecx, eax
imul rcx, rcx, 0xc9
cmp ecx, 0x64
jb 0x1402148f0
shr rcx, 0x20
add ecx, 0x7fffff9c
btc ecx, 0x1f
mov eax, dword [rsp + 0x20]
imul eax, ecx
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x50]
call fcn.140249d50
mov ecx, eax
imul rcx, rcx, 0xc9
cmp ecx, 0x63
ja 0x140214958
nop dword [rax]
lea rcx, [rsp + 0x50]
call fcn.140249d50
mov ecx, eax
imul rcx, rcx, 0xc9
cmp ecx, 0x64
jb 0x140214940
shr rcx, 0x20
add ecx, 0x7fffff9c
btc ecx, 0x1f
mov eax, dword [rsp + 0x20]
sub eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
cdq
idiv ebx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
cdq
idiv ebx
mov dword [rsp + 0x20], edx
sub rdi, r15
jne 0x140214840
jmp 0x140214822
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x34], 0x101
lea rdx, [rsp + 0x34]
lea rcx, [rbp + 0x12e0]
call qword [sym.imp.ADVAPI32.dll_GetUserNameA]
test eax, eax
je 0x140214a07
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], r12
mov qword [rsi + 0x18], r12
lea rax, [rbp + 0x12e0]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x1402149d2
lea rdx, [rbp + 0x12e0]
mov rcx, rsi
call fcn.140208720
nop
mov rcx, qword [rsp + 0x38]
movabs rdx, 0xff00ff00ff00ff00
xor rcx, rdx
mov qword [r13], rcx
jmp 0x140214c50
mov rax, qword [str.nST__2_Ie]
mov qword [rsp + 0x20], rax
cmp byte [0x14026dd8f], 0
je 0x140214c08
mov r9d, r12d
cmp dword [0x140280090], 2
jl 0x140214bb0
movdqa xmm6, xmmword [0x1402702f0]
movdqa xmm7, xmmword [0x140270300]
movdqa xmm4, xmmword [0x1402701a0]
movdqa xmm2, xmm4
punpckldq xmm2, xmm4
movdqa xmm1, xmm4
punpckhdq xmm1, xmm4
movdqa xmm3, xmm2
pmuldq xmm3, xmm6
movdqa xmm0, xmm1
pmuldq xmm0, xmm6
shufps xmm3, xmm0, 0xdd
paddd xmm3, xmm4
psrad xmm3, 6
pmuldq xmm2, xmm7
pmuldq xmm1, xmm7
shufps xmm2, xmm1, 0xdd
psrad xmm2, 4
movdqa xmm0, xmm2
psrld xmm0, 0x1f
paddd xmm0, xmm2
pmulld xmm0, xmmword [0x140270310]
movdqa xmm1, xmm4
psubd xmm1, xmm0
movdqa xmm5, xmmword [0x1402702b0]
andps xmm1, xmm5
packuswb xmm1, xmm1
packuswb xmm1, xmm1
movdqa xmm0, xmm3
psrld xmm0, 0x1f
paddd xmm0, xmm3
pmulld xmm0, xmmword [str.ffffkkkk]
psubd xmm4, xmm0
andps xmm4, xmm5
packuswb xmm4, xmm4
packuswb xmm4, xmm4
paddb xmm1, xmm4
paddb xmm1, xmmword [0x1402702d0]
movd xmm0, dword [rsp + 0x20]
xorps xmm1, xmm0
movd dword [rsp + 0x20], xmm1
movdqa xmm4, xmmword [0x1402701c0]
movdqa xmm2, xmm4
punpckldq xmm2, xmm4
movdqa xmm1, xmm4
punpckhdq xmm1, xmm4
movdqa xmm3, xmm2
pmuldq xmm3, xmm6
movdqa xmm0, xmm1
pmuldq xmm0, xmm6
shufps xmm3, xmm0, 0xdd
paddd xmm3, xmm4
psrad xmm3, 6
pmuldq xmm2, xmm7
pmuldq xmm1, xmm7
shufps xmm2, xmm1, 0xdd
psrad xmm2, 4
movdqa xmm0, xmm2
psrld xmm0, 0x1f
paddd xmm0, xmm2
pmulld xmm0, xmmword [0x140270310]
movdqa xmm1, xmm4
psubd xmm1, xmm0
andps xmm1, xmm5
packuswb xmm1, xmm1
packuswb xmm1, xmm1
movdqa xmm0, xmm3
psrld xmm0, 0x1f
paddd xmm0, xmm3
pmulld xmm0, xmmword [str.ffffkkkk]
psubd xmm4, xmm0
andps xmm4, xmm5
packuswb xmm4, xmm4
packuswb xmm4, xmm4
paddb xmm1, xmm4
paddb xmm1, xmmword [0x1402702d0]
movd xmm0, dword [rsp + 0x24]
xorps xmm1, xmm0
movd dword [rsp + 0x24], xmm1
jmp 0x140214c08
lea r10, [rsp + 0x20]
nop word [rax + rax]
mov eax, 0x22b63cbf
mul r9d
shr edx, 4
movsx eax, dl
imul r8d, eax, 0x3b
mov eax, 0x5f5f5f5f
imul r9d
sub edx, r9d
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x33
sub cl, r8b
add cl, r9b
add cl, cl
add cl, 0x3b
xor byte [r10], cl
inc r9d
lea r10, [r10 + 1]
cmp r9d, 8
jl 0x140214bc0
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], r12
mov qword [rsi + 0x18], r12
lea rax, [rsp + 0x20]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x140214c22
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.140208720
nop
mov rax, qword [rsp + 0x38]
movabs rdx, 0xff00ff00ff00ff00
xor rax, rdx
mov qword [r13], rax
mov rax, rsi
mov rcx, qword [rbp + 0x13f0]
xor rcx, rsp
call fcn.14025d7c0
lea r11, [rsp + 0x1520]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret