Function at 0x14002ed80
Capabilities:
Get session information
Get session user name

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x340]
sub rsp, 0x440
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rsp + 0x490], rbx
mov rax, qword [0x1403ad830]
xor rax, rsp
mov qword [rbp + 0x330], rax
mov rsi, rdx
mov r15, rcx
mov qword [rsp + 0x30], rcx
mov rcx, rdx
call fcn.14001f170
lea rcx, [rbp + 0x250]
call fcn.140052ed0
nop
lea rdx, [0x1402d078c]
lea rcx, [rbp - 0x70]
call fcn.14001c950
nop
mov dword [rsp + 0x20], 0x20019
mov r9, 0xffffffff80000003
xor r8d, r8d
lea rdx, [rbp - 0x70]
lea rcx, [rbp + 0x250]
call fcn.1400535a0
nop
lea rcx, [rbp - 0x70]
call fcn.14001d440
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
xor r13d, r13d
mov qword [rsp + 0x50], r13
lea rdx, [0x1402d078c]
lea rcx, [rbp - 0x70]
call fcn.14001c950
nop
lea r8, [rbp - 0x70]
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x250]
call fcn.140053090
nop
lea rcx, [rbp - 0x70]
call fcn.14001d440
lea rcx, [rbp - 0x20]
call fcn.14001cac0
nop
mov r14d, r13d
mov rcx, qword [rsp + 0x48]
mov r8, qword [rsp + 0x40]
sub rcx, r8
movabs r12, 0x6666666666666667
mov rax, r12
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
je 0x14002f6ef
mov eax, r13d
nop dword [rax]
lea rax, [rax + rax*4]
lea rdx, [r8 + rax*8]
lea rcx, [rbp + 0xd0]
call fcn.14001c0d0
nop
lea rdx, str.S_1_5_21_
lea rcx, [rbp - 0x70]
call fcn.14001c950
nop
mov r8b, 1
lea rdx, [rbp - 0x70]
lea rcx, [rbp + 0xd0]
call fcn.140025ef0
movzx ebx, al
lea rcx, [rbp - 0x70]
call fcn.14001d440
test bl, bl
je 0x14002f6b3
lea rcx, [rbp + 0xd0]
call fcn.140026e10
cmp eax, 0x19
jle 0x14002f6b3
lea rdx, str._Classes
lea rcx, [rbp - 0x70]
call fcn.14001c950
nop
xor r8d, r8d
lea rdx, [rbp - 0x70]
lea rcx, [rbp + 0xd0]
call fcn.140025fb0
movzx ebx, al
lea rcx, [rbp - 0x70]
call fcn.14001d440
test bl, bl
jne 0x14002f6b3
lea rcx, [rbp + 0x1e0]
call fcn.140052ed0
nop
lea rdx, str.Volatile_Environment
lea rcx, [rbp - 0x70]
call fcn.14001c950
nop
lea r8, [rbp - 0x70]
lea rdx, [rbp + 0xd0]
lea rcx, [rbp + 8]
call fcn.14001da00
nop
mov dword [rsp + 0x20], 0x20019
mov r9, 0xffffffff80000003
xor r8d, r8d
mov rdx, rax
lea rcx, [rbp + 0x1e0]
call fcn.1400535a0
nop
lea rcx, [rbp + 8]
call fcn.14001d440
nop
lea rcx, [rbp - 0x70]
call fcn.14001d440
mov rcx, rsi
call fcn.14001f170
lea rdx, str.USERDNSDOMAIN
lea rcx, [rbp - 0x70]
call fcn.14001c950
nop
mov r8, rsi
lea rdx, [rbp - 0x70]
lea rcx, [rbp + 0x1e0]
call fcn.140053480
nop
lea rcx, [rbp - 0x70]
call fcn.14001d440
mov rcx, rsi
call fcn.140028de0
test al, al
je 0x14002f6a6
lea rcx, [rbp - 0x70]
call fcn.14002dfd0
lea rcx, [rbp - 0x58]
cmp dword [rbp - 0x64], 5
jne 0x14002f004
call fcn.14001d440
mov al, 1
jmp 0x14002f00b
call fcn.14001d440
xor al, al
test al, al
je 0x14002f16f
lea rcx, [rbp + 0x170]
call fcn.140052ed0
nop
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionExplorer
lea rcx, [rbp - 0x70]
call fcn.14001c950
nop
lea r8, [rbp - 0x70]
lea rdx, [rbp + 0xd0]
lea rcx, [rsp + 0x60]
call fcn.14001da00
nop
mov dword [rsp + 0x20], 0x20019
mov r9, 0xffffffff80000003
xor r8d, r8d
mov rdx, rax
lea rcx, [rbp + 0x170]
call fcn.1400535a0
nop
lea rcx, [rsp + 0x60]
call fcn.14001d440
nop
lea rcx, [rbp - 0x70]
call fcn.14001d440
lea rdx, str.Logon_User_Name
lea rcx, [rbp - 0x70]
call fcn.14001c950
nop
lea r8, [rbp - 0x20]
lea rdx, [rbp - 0x70]
lea rcx, [rbp + 0x170]
call fcn.140053480
nop
lea rcx, [rbp - 0x70]
call fcn.14001d440
lea rcx, [rbp + 0x2c0]
call fcn.140052ed0
nop
lea rdx, str.SOFTWAREMicrosoftWindows_NTCurrentVersionWinlogon
lea rcx, [rbp - 0x70]
call fcn.14001c950
nop
mov dword [rsp + 0x20], 0x20019
mov r9, 0xffffffff80000002
xor r8d, r8d
lea rdx, [rbp - 0x70]
lea rcx, [rbp + 0x2c0]
call fcn.1400535a0
nop
lea rcx, [rbp - 0x70]
call fcn.14001d440
lea rcx, [rbp + 8]
call fcn.14001cac0
nop
lea rdx, str.DefaultUserName
lea rcx, [rbp - 0x70]
call fcn.14001c950
nop
lea r8, [rbp + 8]
lea rdx, [rbp - 0x70]
lea rcx, [rbp + 0x2c0]
call fcn.140053480
nop
lea rcx, [rbp - 0x70]
call fcn.14001d440
xor r8d, r8d
lea rdx, [rbp + 8]
lea rcx, [rbp - 0x20]
call fcn.140026070
test al, al
jne 0x14002f755
lea rcx, [rbp + 8]
call fcn.14001d440
nop
lea rcx, [rbp + 0x2c0]
call fcn.140052f10
nop
lea rcx, [rbp + 0x170]
call fcn.140052f10
jmp 0x14002f6a6
call fcn.14002ea90
test al, al
je 0x14002f6a6
lea rdx, str.USERNAME
lea rcx, [rsp + 0x60]
call fcn.14001c950
nop
lea r8, [rbp - 0x20]
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x1e0]
call fcn.140053480
nop
lea rcx, [rsp + 0x60]
call fcn.14001d440
lea rcx, [rbp + 8]
call fcn.14001cac0
nop
lea rcx, [rbp + 0x30]
call fcn.14001cac0
nop
lea rcx, [rbp + 0xa8]
call fcn.14001cac0
nop
lea rcx, [rbp + 0x170]
call fcn.140052ed0
nop
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionAuthenticationLogonUI
lea rcx, [rsp + 0x60]
call fcn.14001c950
nop
mov dword [rsp + 0x20], 0x20019
mov r9, 0xffffffff80000002
xor r8d, r8d
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x170]
call fcn.1400535a0
nop
lea rcx, [rsp + 0x60]
call fcn.14001d440
lea rdx, [0x1402d4fa8]
lea rcx, [rsp + 0x60]
call fcn.14001c950
nop
lea r8, [rbp + 8]
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x170]
call fcn.140053480
nop
lea rcx, [rsp + 0x60]
call fcn.14001d440
lea rdx, [0x1402d03d8]
lea rcx, [rsp + 0x60]
call fcn.14001c950
nop
lea r8, [rsp + 0x60]
lea rdx, [rbp + 0x58]
lea rcx, [rbp + 8]
call fcn.140020b10
nop
mov rdx, rax
lea rcx, [rbp + 0x30]
call fcn.14001d690
nop
lea rcx, [rbp + 0x58]
call fcn.14001d440
nop
lea rcx, [rsp + 0x60]
call fcn.14001d440
lea rdx, [0x1402d03d8]
lea rcx, [rsp + 0x60]
call fcn.14001c950
nop
lea r8, [rsp + 0x60]
lea rdx, [rbp + 0x58]
lea rcx, [rbp + 8]
call fcn.140021aa0
nop
mov rdx, rax
lea rcx, [rbp + 0xa8]
call fcn.14001d690
nop
lea rcx, [rbp + 0x58]
call fcn.14001d440
nop
lea rcx, [rsp + 0x60]
call fcn.14001d440
lea rcx, [rbp - 0x70]
call fcn.14001cac0
nop
call fcn.14002d8d0
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x38], r13d
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x30]
mov r8d, 5
mov edx, eax
xor ecx, ecx
call sub.WTSAPI32.dll_WTSQuerySessionInformationW
test eax, eax
je 0x14002f34b
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x60]
call fcn.14001c950
nop
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x70]
call fcn.14001d690
nop
lea rcx, [rsp + 0x60]
call fcn.14001d440
mov rcx, qword [rsp + 0x30]
call sub.WTSAPI32.dll_WTSFreeMemory
lea rcx, [rbp - 0x20]
call fcn.140028de0
test al, al
je 0x14002f66e
lea rcx, [rbp + 0x80]
call fcn.14001cac0
nop
lea rdx, str.USERDOMAIN
lea rcx, [rsp + 0x60]
call fcn.14001c950
nop
lea r8, [rbp + 0x80]
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x1e0]
call fcn.140053480
nop
lea rcx, [rsp + 0x60]
call fcn.14001d440
lea rdx, str._str_domain
lea rcx, [rsp + 0x60]
call fcn.14001c950
nop
lea rdx, str._str_user_domain
lea rcx, [rbp + 0x58]
call fcn.14001c950
nop
lea rdx, str._str_user
lea rcx, [rbp + 0x148]
call fcn.14001c950
nop
lea rdx, str._LastLoggedUserDomain
lea rcx, [rbp + 0x120]
call fcn.14001c950
nop
lea rdx, str.LastLoggedOnUser
lea rcx, [rbp + 0xf8]
call fcn.14001c950
nop
call fcn.140005320
mov rcx, rax
mov r9d, 0x352
lea r8, str.e:worksuniaccess_unimon_blowsnow_sourcehenvironment.cpp
mov edx, 3
call fcn.140004df0
mov rbx, rax
movzx eax, byte [rax + 0x28]
lea rdi, [rbx + 8]
test al, al
je 0x14002f5aa
lea rdx, [rbp + 0x100]
cmp qword [rbp + 0x118], 8
cmovae rdx, qword [rbp + 0x100]
mov r8, qword [rbp + 0x110]
mov rcx, rdi
call fcn.140004ac0
movzx eax, byte [rbx + 0x28]
test al, al
je 0x14002f5aa
lea rdx, [rbp + 0xb0]
cmp qword [rbp + 0xc8], 8
cmovae rdx, qword [rbp + 0xb0]
mov r8, qword [rbp + 0xc0]
mov rcx, rdi
call fcn.140004ac0
movzx eax, byte [rbx + 0x28]
test al, al
je 0x14002f5aa
lea rdx, [rbp + 0x128]
cmp qword [rbp + 0x140], 8
cmovae rdx, qword [rbp + 0x128]
mov r8, qword [rbp + 0x138]
mov rcx, rdi
call fcn.140004ac0
movzx eax, byte [rbx + 0x28]
test al, al
je 0x14002f5aa
lea rdx, [rbp + 0x38]
cmp qword [rbp + 0x50], 8
cmovae rdx, qword [rbp + 0x38]
mov r8, qword [rbp + 0x48]
mov rcx, rdi
call fcn.140004ac0
movzx eax, byte [rbx + 0x28]
test al, al
je 0x14002f5aa
lea rdx, [rbp + 0x150]
cmp qword [rbp + 0x168], 8
cmovae rdx, qword [rbp + 0x150]
mov r8, qword [rbp + 0x160]
mov rcx, rdi
call fcn.140004ac0
movzx eax, byte [rbx + 0x28]
test al, al
je 0x14002f5aa
lea rdx, [rbp - 0x18]
cmp qword [rbp], 8
cmovae rdx, qword [rbp - 0x18]
mov r8, qword [rbp - 8]
mov rcx, rdi
call fcn.140004ac0
movzx eax, byte [rbx + 0x28]
test al, al
je 0x14002f5aa
lea rdx, [rbp + 0x60]
cmp qword [rbp + 0x78], 8
cmovae rdx, qword [rbp + 0x60]
mov r8, qword [rbp + 0x70]
mov rcx, rdi
call fcn.140004ac0
movzx eax, byte [rbx + 0x28]
test al, al
je 0x14002f5aa
lea rdx, [rbp + 0x88]
cmp qword [rbp + 0xa0], 8
cmovae rdx, qword [rbp + 0x88]
mov r8, qword [rbp + 0x98]
mov rcx, rdi
call fcn.140004ac0
cmp byte [rbx + 0x28], 0
je 0x14002f5aa
lea rdx, [rsp + 0x68]
cmp qword [rbp - 0x80], 8
cmovae rdx, qword [rsp + 0x68]
mov r8, qword [rsp + 0x78]
mov rcx, rdi
call fcn.140004ac0
mov rdx, rsi
mov rcx, rbx
call fcn.14002d5b0
mov rbx, rax
call fcn.140005320
mov rcx, rax
mov rdx, rbx
call fcn.1400054f0
nop
lea rcx, [rbp + 0xf8]
call fcn.14001d440
nop
lea rcx, [rbp + 0x120]
call fcn.14001d440
nop
lea rcx, [rbp + 0x148]
call fcn.14001d440
nop
lea rcx, [rbp + 0x58]
call fcn.14001d440
nop
lea rcx, [rsp + 0x60]
call fcn.14001d440
xor r8d, r8d
lea rdx, [rbp + 0x30]
lea rcx, [rbp + 0x80]
call fcn.140026070
test al, al
jne 0x14002f62e
xor r8d, r8d
lea rdx, [rbp + 0x30]
mov rcx, rsi
call fcn.140026070
test al, al
je 0x14002f649
xor r8d, r8d
lea rdx, [rbp + 0xa8]
lea rcx, [rbp - 0x20]
call fcn.140026070
test al, al
jne 0x14002f7a4
xor r8d, r8d
lea rdx, [rbp - 0x70]
lea rcx, [rbp - 0x20]
call fcn.140026070
test al, al
jne 0x14002f7a4
lea rcx, [rbp + 0x80]
call fcn.14001d440
nop
lea rcx, [rbp - 0x70]
call fcn.14001d440
nop
lea rcx, [rbp + 0x170]
call fcn.140052f10
nop
lea rcx, [rbp + 0xa8]
call fcn.14001d440
nop
lea rcx, [rbp + 0x30]
call fcn.14001d440
nop
lea rcx, [rbp + 8]
call fcn.14001d440
nop
lea rcx, [rbp + 0x1e0]
call fcn.140052f10
nop
lea rcx, [rbp + 0xd0]
call fcn.14001d440
inc r14d
mov rcx, qword [rsp + 0x48]
mov r8, qword [rsp + 0x40]
sub rcx, r8
mov rax, r12
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
movsxd rax, r14d
cmp rax, rdx
jb 0x14002eea0
mov rcx, rsi
call fcn.14001f170
lea rdx, [0x1402d078c]
mov rcx, r15
call fcn.14001c950
nop
lea rcx, [rbp - 0x20]
call fcn.14001d440
nop
lea rcx, [rsp + 0x40]
call fcn.140002cd0
nop
lea rcx, [rbp + 0x250]
call fcn.140052f10
mov rax, r15
mov rcx, qword [rbp + 0x330]
xor rcx, rsp
call fcn.140283120
mov rbx, qword [rsp + 0x490]
add rsp, 0x440
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea rdx, [rbp - 0x20]
mov rcx, r15
call fcn.14001c050
nop
lea rcx, [rbp + 8]
call fcn.14001d440
nop
lea rcx, [rbp + 0x2c0]
call fcn.140052f10
nop
lea rcx, [rbp + 0x170]
call fcn.140052f10
nop
lea rcx, [rbp + 0x1e0]
call fcn.140052f10
nop
lea rcx, [rbp + 0xd0]
call fcn.14001d440
jmp 0x14002f707
lea rdx, [rbp - 0x20]
mov rcx, r15
call fcn.14001c050
nop
lea rcx, [rbp + 0x80]
call fcn.14001d440
nop
lea rcx, [rbp - 0x70]
call fcn.14001d440
nop
lea rcx, [rbp + 0x170]
call fcn.140052f10
nop
lea rcx, [rbp + 0xa8]
call fcn.14001d440
nop
lea rcx, [rbp + 0x30]
call fcn.14001d440
nop
lea rcx, [rbp + 8]
call fcn.14001d440
jmp 0x14002f786