Function at 0x1402183b0
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.14026ed30
sub rsp, rax
movaps xmmword [rsp + 0x1510], xmm6
movaps xmmword [rsp + 0x1500], xmm7
mov rax, qword [0x140291040]
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 0x140218460
mov dword [rsp + 0x50], 0x270
mov dword [rsp + 0x20], r12d
lea rcx, [rsp + 0x28]
call fcn.1401f2240
mov r14, qword [rsp + 0x28]
add r14, 0x5f5e100
lea rcx, [rsp + 0x28]
call fcn.1401f2240
cmp qword [rax], r14
jge 0x140218614
mov edi, 0x186a0
nop word [rax + rax]
lea rcx, [rsp + 0x50]
call fcn.14025a000
mov ecx, eax
imul rax, rcx, 0xc9
cmp eax, 0x63
ja 0x1402184f8
nop dword [rax + rax]
lea rcx, [rsp + 0x50]
call fcn.14025a000
mov ecx, eax
imul rax, rcx, 0xc9
cmp eax, 0x64
jb 0x1402184e0
shr rax, 0x20
lea ebx, [rax + 0x7fffff9c]
xor ebx, 0x80000000
cmove ebx, r15d
lea rcx, [rsp + 0x50]
call fcn.14025a000
mov ecx, eax
imul rcx, rcx, 0xc9
cmp ecx, 0x63
ja 0x14021853c
lea rcx, [rsp + 0x50]
call fcn.14025a000
mov ecx, eax
imul rcx, rcx, 0xc9
cmp ecx, 0x64
jb 0x140218524
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.14025a000
mov ecx, eax
imul rcx, rcx, 0xc9
cmp ecx, 0x63
ja 0x140218588
nop dword [rax]
lea rcx, [rsp + 0x50]
call fcn.14025a000
mov ecx, eax
imul rcx, rcx, 0xc9
cmp ecx, 0x64
jb 0x140218570
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.14025a000
mov ecx, eax
imul rcx, rcx, 0xc9
cmp ecx, 0x63
ja 0x1402185d8
nop dword [rax]
lea rcx, [rsp + 0x50]
call fcn.14025a000
mov ecx, eax
imul rcx, rcx, 0xc9
cmp ecx, 0x64
jb 0x1402185c0
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 0x1402184c0
jmp 0x1402184a2
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 0x140218687
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 0x140218652
lea rdx, [rbp + 0x12e0]
mov rcx, rsi
call fcn.14020c680
nop
mov rcx, qword [rsp + 0x38]
movabs rdx, 0xff00ff00ff00ff00
xor rcx, rdx
mov qword [r13], rcx
jmp 0x1402188be
mov rax, qword [0x14027dfd8]
mov qword [rsp + 0x20], rax
cmp byte [0x14027dfdf], 0
je 0x140218875
mov r9d, r12d
cmp dword [0x140291090], 2
jl 0x140218828
movdqa xmm6, xmmword [0x1402806c0]
movdqa xmm7, xmmword [0x1402806d0]
movdqa xmm4, xmmword [0x140280570]
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, 5
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 [0x1402806e0]
movdqa xmm1, xmm4
psubd xmm1, xmm0
movdqa xmm5, xmmword [0x140280680]
andps xmm1, xmm5
packuswb xmm1, xmm1
packuswb xmm1, xmm1
movdqa xmm0, xmm3
psrld xmm0, 0x1f
paddd xmm0, xmm3
pmulld xmm0, xmmword [str.jjjjllll]
psubd xmm4, xmm0
andps xmm4, xmm5
packuswb xmm4, xmm4
packuswb xmm4, xmm4
paddb xmm1, xmm4
paddb xmm1, xmmword [0x1402806a0]
movd xmm0, dword [rsp + 0x20]
xorps xmm1, xmm0
movd dword [rsp + 0x20], xmm1
movdqa xmm4, xmmword [0x140280590]
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, 5
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 [0x1402806e0]
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.jjjjllll]
psubd xmm4, xmm0
andps xmm4, xmm5
packuswb xmm4, xmm4
packuswb xmm4, xmm4
paddb xmm1, xmm4
paddb xmm1, xmmword [0x1402806a0]
movd xmm0, dword [rsp + 0x24]
xorps xmm1, xmm0
movd dword [rsp + 0x24], xmm1
jmp 0x140218875
lea r10, [rsp + 0x20]
nop dword [rax]
mov eax, 0x22b63cbf
mul r9d
shr edx, 4
movsx eax, dl
imul r8d, eax, 0x3b
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, 0x20
add cl, r9b
add cl, cl
xor byte [r10], cl
inc r9d
lea r10, [r10 + 1]
cmp r9d, 8
jl 0x140218830
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], r12
mov qword [rsi + 0x18], r12
lea rax, [rsp + 0x20]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], 0
jne 0x140218890
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.14020c680
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.14026d9f0
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