Function at 0x1401e0510
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 - 0x1450]
mov eax, 0x1550
call fcn.1402361c0
sub rsp, rax
movaps xmmword [rsp + 0x1540], xmm6
movaps xmmword [rsp + 0x1530], xmm7
movaps xmmword [rsp + 0x1520], xmm8
movaps xmmword [rsp + 0x1510], xmm9
movaps xmmword [rsp + 0x1500], xmm11
mov rax, qword [0x140275028]
xor rax, rsp
mov qword [rbp + 0x13f0], rax
mov r14, rcx
mov qword [rsp + 0x28], rcx
xor edi, edi
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
lea rdx, [rbp + 0x1478]
movabs rcx, 0xff00ff00ff00ff00
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x48], rdx
mov rax, qword [rdx]
xor rax, rcx
mov qword [rsp + 0x38], rax
mov qword [rdx], rdi
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 r13d, 1
mov ecx, r13d
nop dword [rax]
nop word [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 0x1401e05e0
mov dword [rsp + 0x50], 0x270
mov dword [rsp + 0x20], edi
call qword [sym.imp.MSVCP140.dll__Query_perf_frequency]
mov rbx, rax
call qword [sym.imp.MSVCP140.dll__Query_perf_counter]
cmp rbx, 0x989680
jne 0x1401e0629
imul rax, rax, 0x64
jmp 0x1401e0644
cqo
idiv rbx
imul rcx, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
cqo
idiv rbx
add rax, rcx
lea r15, [rax + 0x5f5e100]
mov r12d, 0x80000000
call qword [sym.imp.MSVCP140.dll__Query_perf_frequency]
mov rbx, rax
call qword [sym.imp.MSVCP140.dll__Query_perf_counter]
cmp rbx, 0x989680
jne 0x1401e066f
imul rax, rax, 0x64
jmp 0x1401e068a
cqo
idiv rbx
imul rcx, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
cqo
idiv rbx
add rax, rcx
cmp rax, r15
jge 0x1401e0840
mov esi, 0x186a0
nop dword [rax + rax]
lea rcx, [rsp + 0x50]
call fcn.14021dbf0
mov ecx, eax
imul rax, rcx, 0xc9
cmp eax, 0x63
ja 0x1401e06d8
nop dword [rax + rax]
lea rcx, [rsp + 0x50]
call fcn.14021dbf0
mov ecx, eax
imul rax, rcx, 0xc9
cmp eax, 0x64
jb 0x1401e06c0
shr rax, 0x20
lea ecx, [rax + 0x7fffff9c]
lea eax, [rcx + r12]
lea ebx, [rcx - 0x80000000]
cmp ecx, r12d
cmovae ebx, eax
test ebx, ebx
cmove ebx, r13d
lea rcx, [rsp + 0x50]
call fcn.14021dbf0
mov ecx, eax
imul rax, rcx, 0xc9
mov edi, ebx
cmp eax, 0xc9
jae 0x1401e0738
cmp eax, 0x64
jae 0x1401e0738
nop dword [rax]
lea rcx, [rsp + 0x50]
call fcn.14021dbf0
mov ecx, eax
imul rax, rcx, 0xc9
cmp eax, 0x64
jb 0x1401e0720
shr rax, 0x20
lea ecx, [rax + 0x7fffff9c]
lea eax, [rcx + r12]
lea edx, [rcx - 0x80000000]
cmp ecx, r12d
cmovae edx, eax
mov eax, dword [rsp + 0x20]
add edx, eax
mov dword [rsp + 0x20], edx
lea rcx, [rsp + 0x50]
call fcn.14021dbf0
mov ecx, eax
imul rax, rcx, 0xc9
mov ebx, edi
cmp eax, 0xc9
jae 0x1401e0798
cmp eax, 0x64
jae 0x1401e0798
nop dword [rax]
lea rcx, [rsp + 0x50]
call fcn.14021dbf0
mov ecx, eax
imul rax, rcx, 0xc9
cmp eax, 0x64
jb 0x1401e0780
shr rax, 0x20
lea ecx, [rax + 0x7fffff9c]
lea eax, [rcx + r12]
lea edx, [rcx - 0x80000000]
cmp ecx, r12d
cmovae edx, eax
mov eax, dword [rsp + 0x20]
imul edx, eax
mov dword [rsp + 0x20], edx
lea rcx, [rsp + 0x50]
call fcn.14021dbf0
mov ecx, eax
imul rax, rcx, 0xc9
mov edi, ebx
cmp eax, 0xc9
jae 0x1401e07f8
cmp eax, 0x64
jae 0x1401e07f8
nop
lea rcx, [rsp + 0x50]
call fcn.14021dbf0
mov ecx, eax
imul rax, rcx, 0xc9
cmp eax, 0x64
jb 0x1401e07e0
shr rax, 0x20
lea edx, [rax + 0x7fffff9c]
lea eax, [rdx + r12]
lea ecx, [rdx - 0x80000000]
cmp edx, r12d
cmovae ecx, eax
mov eax, dword [rsp + 0x20]
sub eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
cdq
idiv edi
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
cdq
idiv edi
mov dword [rsp + 0x20], edx
sub rsi, r13
jne 0x1401e06a0
jmp 0x1401e0651
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 0x1401e08b2
xorps xmm0, xmm0
movups xmmword [r14], xmm0
xor eax, eax
mov qword [r14 + 0x10], rax
mov qword [r14 + 0x18], rax
lea rax, [rbp + 0x12e0]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x1401e0881
lea rdx, [rbp + 0x12e0]
mov rcx, r14
call fcn.1401d4c30
nop
mov rdx, qword [rsp + 0x40]
xor rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x48]
mov qword [rcx], rdx
jmp 0x1401e0afa
mov rax, qword [0x140262360]
mov qword [rsp + 0x28], rax
cmp byte [0x140262367], 0
je 0x1401e0ab0
cmp dword [0x140275008], 2
jl 0x1401e0b46
movdqa xmm6, xmmword [0x140265220]
mov eax, 5
movd xmm7, eax
movdqa xmm8, xmmword [0x140265230]
mov eax, 6
movd xmm9, eax
mov eax, 0x1f
movd xmm11, eax
movdqa xmm5, xmmword [0x140265140]
movdqa xmm2, xmm5
punpckldq xmm2, xmm5
movdqa xmm1, xmm5
punpckhdq xmm1, xmm5
movdqa xmm4, xmm2
pmuldq xmm4, xmm6
movdqa xmm0, xmm1
pmuldq xmm0, xmm6
shufps xmm4, xmm0, 0xdd
psrad xmm4, xmm7
pmuldq xmm2, xmm8
pmuldq xmm1, xmm8
shufps xmm2, xmm1, 0xdd
psubd xmm2, xmm5
psrad xmm2, xmm9
movdqa xmm1, xmm2
psrld xmm1, xmm11
paddd xmm1, xmm2
pmulld xmm1, xmmword [0x140265240]
movdqa xmm0, xmm5
psubd xmm0, xmm1
pshuflw xmm0, xmm0, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
pand xmm3, xmmword [0x1402651f0]
packuswb xmm3, xmm3
movdqa xmm0, xmm4
psrld xmm0, xmm11
paddd xmm0, xmm4
pmulld xmm0, xmmword [0x140265170]
psubd xmm5, xmm0
pshuflw xmm0, xmm5, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1402651f0]
packuswb xmm2, xmm2
paddb xmm3, xmm2
paddb xmm3, xmmword [0x140265200]
movd xmm0, dword [rsp + 0x28]
pxor xmm3, xmm0
movd dword [rsp + 0x28], xmm3
movdqa xmm5, xmmword [0x140265160]
movdqa xmm2, xmm5
punpckldq xmm2, xmm5
movdqa xmm1, xmm5
punpckhdq xmm1, xmm5
movdqa xmm4, xmm2
pmuldq xmm4, xmm6
movdqa xmm0, xmm1
pmuldq xmm0, xmm6
shufps xmm4, xmm0, 0xdd
psrad xmm4, xmm7
pmuldq xmm2, xmm8
pmuldq xmm1, xmm8
shufps xmm2, xmm1, 0xdd
psubd xmm2, xmm5
psrad xmm2, xmm9
movdqa xmm1, xmm2
psrld xmm1, xmm11
paddd xmm1, xmm2
pmulld xmm1, xmmword [0x140265240]
movdqa xmm0, xmm5
psubd xmm0, xmm1
pshuflw xmm0, xmm0, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
pand xmm3, xmmword [0x1402651f0]
packuswb xmm3, xmm3
movdqa xmm0, xmm4
psrld xmm0, xmm11
paddd xmm0, xmm4
pmulld xmm0, xmmword [0x140265170]
psubd xmm5, xmm0
pshuflw xmm0, xmm5, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1402651f0]
packuswb xmm2, xmm2
paddb xmm3, xmm2
paddb xmm3, xmmword [0x140265200]
movd xmm0, dword [rsp + 0x2c]
pxor xmm3, xmm0
movd dword [rsp + 0x2c], xmm3
xor edi, edi
xorps xmm0, xmm0
movups xmmword [r14], xmm0
mov qword [r14 + 0x10], rdi
mov qword [r14 + 0x18], rdi
lea rax, [rsp + 0x28]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1401e0ad0
lea rdx, [rsp + 0x28]
mov rcx, r14
call fcn.1401d4c30
nop
mov rcx, qword [rsp + 0x40]
xor rcx, qword [rsp + 0x38]
mov rax, qword [rsp + 0x48]
mov qword [rax], rcx
mov rax, r14
mov rcx, qword [rbp + 0x13f0]
xor rcx, rsp
call fcn.140234e20
lea r11, [rsp + 0x1550]
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]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm11, xmmword [r11 - 0x50]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
lea r10, [rsp + 0x28]
xor edi, edi
mov r9d, edi
mov eax, 0x8fb823ef
imul r9d
add edx, r9d
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul r8d, eax, 0x39
mov eax, 0xb2b78c13
imul r9d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x35
sub cl, r8b
add cl, 0x24
add cl, r9b
add cl, cl
xor byte [r10], cl
inc r9d
lea r10, [r10 + 1]
cmp r9d, 8
jl 0x1401e0b50
jmp 0x1401e0ab2