Function at 0x140214780
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.14025e970
sub rsp, rax
movaps xmmword [rsp + 0x1510], xmm6
movaps xmmword [rsp + 0x1500], xmm7
mov rax, qword [0x14027f040]
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 0x140214830
mov dword [rsp + 0x50], 0x270
mov dword [rsp + 0x20], r12d
lea rcx, [rsp + 0x28]
call fcn.1401f37b0
mov r14, qword [rsp + 0x28]
add r14, 0x5f5e100
lea rcx, [rsp + 0x28]
call fcn.1401f37b0
cmp qword [rax], r14
jge 0x1402149e4
mov edi, 0x186a0
nop word [rax + rax]
lea rcx, [rsp + 0x50]
call fcn.140249bc0
mov ecx, eax
imul rax, rcx, 0xc9
cmp eax, 0x63
ja 0x1402148c8
nop dword [rax + rax]
lea rcx, [rsp + 0x50]
call fcn.140249bc0
mov ecx, eax
imul rax, rcx, 0xc9
cmp eax, 0x64
jb 0x1402148b0
shr rax, 0x20
lea ebx, [rax + 0x7fffff9c]
xor ebx, 0x80000000
cmove ebx, r15d
lea rcx, [rsp + 0x50]
call fcn.140249bc0
mov ecx, eax
imul rcx, rcx, 0xc9
cmp ecx, 0x63
ja 0x14021490c
lea rcx, [rsp + 0x50]
call fcn.140249bc0
mov ecx, eax
imul rcx, rcx, 0xc9
cmp ecx, 0x64
jb 0x1402148f4
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.140249bc0
mov ecx, eax
imul rcx, rcx, 0xc9
cmp ecx, 0x63
ja 0x140214958
nop dword [rax]
lea rcx, [rsp + 0x50]
call fcn.140249bc0
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]
imul eax, ecx
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x50]
call fcn.140249bc0
mov ecx, eax
imul rcx, rcx, 0xc9
cmp ecx, 0x63
ja 0x1402149a8
nop dword [rax]
lea rcx, [rsp + 0x50]
call fcn.140249bc0
mov ecx, eax
imul rcx, rcx, 0xc9
cmp ecx, 0x64
jb 0x140214990
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 0x140214890
jmp 0x140214872
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 0x140214a57
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 0x140214a22
lea rdx, [rbp + 0x12e0]
mov rcx, rsi
call fcn.1402088d0
nop
mov rcx, qword [rsp + 0x38]
movabs rdx, 0xff00ff00ff00ff00
xor rcx, rdx
mov qword [r13], rcx
jmp 0x140214c94
mov rax, qword [str.lUVQ.4G_a]
mov qword [rsp + 0x20], rax
cmp byte [0x14026bc37], 0
je 0x140214c4c
mov r9d, r12d
cmp dword [0x14027f090], 2
jl 0x140214bf8
movdqa xmm6, xmmword [0x14026f2e0]
movdqa xmm7, xmmword [0x14026f310]
movdqa xmm4, xmmword [0x14026f1b0]
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
psrad xmm3, 3
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 [0x14026f320]
movdqa xmm1, xmm4
psubd xmm1, xmm0
movdqa xmm5, xmmword [0x14026f2c0]
andps xmm1, xmm5
packuswb xmm1, xmm1
packuswb xmm1, xmm1
movdqa xmm0, xmm3
psrld xmm0, 0x1f
paddd xmm0, xmm3
pmulld xmm0, xmmword [str.ggggkkkk]
psubd xmm4, xmm0
andps xmm4, xmm5
packuswb xmm4, xmm4
packuswb xmm4, xmm4
paddb xmm1, xmm4
paddb xmm1, xmmword [str.9999999999999999_]
movd xmm0, dword [rsp + 0x20]
xorps xmm1, xmm0
movd dword [rsp + 0x20], xmm1
movdqa xmm4, xmmword [0x14026f1d0]
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
psrad xmm3, 3
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 [0x14026f320]
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.ggggkkkk]
psubd xmm4, xmm0
andps xmm4, xmm5
packuswb xmm4, xmm4
packuswb xmm4, xmm4
paddb xmm1, xmm4
paddb xmm1, xmmword [str.9999999999999999_]
movd xmm0, dword [rsp + 0x24]
xorps xmm1, xmm0
movd dword [rsp + 0x24], xmm1
jmp 0x140214c4c
lea r10, [rsp + 0x20]
nop dword [rax]
mov eax, 0x22b63cbf
mul r9d
shr edx, 4
movsx eax, dl
imul ecx, eax, 0x3b
movzx r8d, r9b
sub r8b, cl
add r8b, r8b
mov eax, 0x3e22cbcf
mul r9d
mov eax, r9d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 6
movsx eax, al
imul ecx, eax, 0x67
sub r8b, cl
add r8b, 0x39
xor byte [r10], r8b
inc r9d
lea r10, [r10 + 1]
cmp r9d, 8
jl 0x140214c00
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 0x140214c66
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.1402088d0
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.14025d630
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