Function at 0x1400066a0
Capabilities:
Get session information

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x48]
sub rsp, 0x120
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
mov rax, qword [0x1400650c0]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rsi, rcx
mov qword [rsp + 0x60], rcx
xor r12d, r12d
mov qword [rsp + 0x58], r12
mov dword [rbp - 0x78], r12d
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
movdqa xmm7, xmmword [0x140058c80]
movdqu xmmword [rbp - 0x20], xmm7
mov byte [rbp - 0x30], r12b
movups xmmword [rbp - 0x50], xmm0
mov r15d, r12d
mov qword [rbp - 0x40], r12
mov r14d, 0xf
mov qword [rbp - 0x38], r14
mov byte [rbp - 0x50], r15b
lea rax, [rbp - 0x78]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
xor ecx, ecx
lea r8d, [r12 + 5]
call qword [sym.imp.WTSAPI32.dll_WTSQuerySessionInformationW]
test eax, eax
je 0x140006a4b
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], r12
mov qword [rbp - 0x58], 7
mov word [rbp - 0x70], r12w
mov r9, qword [rsp + 0x58]
mov rdi, 0xffffffffffffffff
mov rdx, rdi
inc rdx
cmp word [r9 + rdx*2], 0
jne 0x140006763
lea rcx, [rbp - 0x70]
cmp rdx, 7
ja 0x140006793
mov qword [rbp - 0x60], rdx
lea rbx, [rdx + rdx]
mov r8, rbx
mov rdx, r9
call fcn.140046e50
mov word [rbp + rbx - 0x70], r12w
jmp 0x1400067a0
mov qword [rsp + 0x20], rdx
xor r8d, r8d
call fcn.140006af0
lea rdx, [rbp - 0x70]
cmp qword [rbp - 0x58], 7
cmova rdx, qword [rbp - 0x70]
mov rax, qword [rbp - 0x60]
lea r8, [rdx + rax*2]
lea rdx, [rbp - 0x70]
cmova rdx, qword [rbp - 0x70]
lea rcx, [rsp + 0x68]
call fcn.140006010
lea rcx, [rbp - 0x30]
cmp rcx, rax
je 0x1400067ed
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x30], xmm0
movups xmm7, xmmword [rax + 0x10]
movdqu xmmword [rbp - 0x20], xmm7
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], r14
mov byte [rax], 0
mov rdx, qword [rbp - 0x80]
cmp rdx, 0xf
jbe 0x140006829
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006824
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140006ac6
call fcn.14001ee3c
mov qword [rsp + 0x60], r12
lea r9, [rsp + 0x60]
mov r8d, 3
mov rdx, qword [rsp + 0x58]
xor ecx, ecx
call qword [sym.imp.NETAPI32.dll_NetUserGetInfo]
mov ebx, eax
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.WTSAPI32.dll_WTSFreeMemory]
test ebx, ebx
jne 0x1400069b4
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], r12
mov qword [rbp - 0x80], 7
mov word [rsp + 0x68], r12w
mov rax, qword [rsp + 0x60]
mov r9, qword [rax + 0x40]
nop
inc rdi
cmp word [r9 + rdi*2], 0
jne 0x140006880
lea rcx, [rsp + 0x68]
cmp rdi, 7
ja 0x1400068b2
mov qword [rsp + 0x78], rdi
lea rbx, [rdi + rdi]
mov r8, rbx
mov rdx, r9
call fcn.140046e50
mov word [rsp + rbx + 0x68], r12w
jmp 0x1400068c2
mov qword [rsp + 0x20], rdi
xor r8d, r8d
mov rdx, rdi
call fcn.140006af0
lea rdx, [rsp + 0x68]
cmp qword [rbp - 0x80], 7
cmova rdx, qword [rsp + 0x68]
mov rax, qword [rsp + 0x78]
lea r8, [rdx + rax*2]
lea rdx, [rsp + 0x68]
cmova rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x38]
call fcn.140006010
lea rcx, [rbp - 0x50]
cmp rcx, rax
je 0x140006924
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x50], xmm0
movups xmm6, xmmword [rax + 0x10]
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], r14
mov byte [rax], 0
movdqa xmm0, xmm6
psrldq xmm0, 8
movq r14, xmm0
movq r15, xmm6
jmp 0x140006928
movups xmm6, xmmword [rbp - 0x40]
mov rdx, qword [rsp + 0x50]
cmp rdx, 0xf
jbe 0x140006965
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006960
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140006acc
call fcn.14001ee3c
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.NETAPI32.dll_NetApiBufferFree]
nop
mov rdx, qword [rbp - 0x80]
cmp rdx, 7
jbe 0x1400069b8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400069ad
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140006ad2
call fcn.14001ee3c
jmp 0x1400069b8
movups xmm6, xmmword [rbp - 0x40]
mov rdx, qword [rbp - 0x58]
cmp rdx, 7
jbe 0x1400069f8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400069f3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140006ad8
call fcn.14001ee3c
test r15, r15
je 0x140006a4b
movups xmm0, xmmword [rbp - 0x50]
movups xmmword [rsi], xmm0
movups xmmword [rsi + 0x10], xmm6
psrldq xmm7, 8
movq rdx, xmm7
cmp rdx, 0xf
jbe 0x140006a8b
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006a44
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140006ade
call fcn.14001ee3c
jmp 0x140006a8b
movups xmm0, xmmword [rbp - 0x30]
movups xmmword [rsi], xmm0
movups xmmword [rsi + 0x10], xmm7
cmp r14, 0xf
jbe 0x140006a8b
lea rdx, [r14 + 1]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006a85
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140006ac0
call fcn.14001ee3c
nop
mov rax, rsi
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.14001ede0
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.140025cfc
nop
call fcn.140025cfc
nop
call fcn.140025cfc
nop
call fcn.140025cfc
nop
call fcn.140025cfc
nop
call fcn.140025cfc
int3