Function at 0x140028fe0
Capabilities:
Check if file exists
Get logon sessions

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 - 0xc0]
sub rsp, 0x1c0
mov rax, qword [0x14018a090]
xor rax, rsp
mov qword [rbp + 0xb8], rax
mov qword [rsp + 0x38], rcx
xor r12d, r12d
mov dword [rsp + 0x30], r12d
xorps xmm0, xmm0
movups xmmword [rbp + 0xa8], xmm0
lea rcx, str.localhost
call qword [sym.imp.WTSAPI32.dll_WTSOpenServerW]
mov rbx, rax
mov byte [rbp], r12b
mov qword [rbp - 0x60], rax
lea rax, [rbp]
mov qword [rbp - 0x58], rax
mov byte [rbp - 0x50], 1
lea ecx, [r12 + 0x18]
call fcn.1400f9588
mov r15, rax
mov qword [rbp - 0x18], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
lea rax, vtable.std::_Ref_count_resource_void____ptr64__class__lambda_517749c7661d1502921330507a69b29e__.0
mov qword [r15], rax
mov qword [r15 + 0x10], rbx
mov qword [rbp + 0xa8], rbx
mov qword [rbp + 0xb0], r15
lea r14, [r12 - 1]
test rbx, rbx
jne 0x140029154
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
xor ecx, ecx
call fcn.140027000
mov dword [rsp + 0x20], 1
lea r9, str.Logger
xor r8d, r8d
lea rdx, [0x14001c7c0]
mov rcx, rax
call fcn.1400272d0
cmp dword [rax + 0x40], 2
jl 0x14002913c
xor ecx, ecx
call fcn.140027000
mov dword [rsp + 0x20], 1
lea r9, str.Logger
xor r8d, r8d
lea rdx, [0x14001c7c0]
mov rcx, rax
call fcn.1400272d0
mov rdi, rax
mov edx, ebx
lea rcx, [rbp + 0x28]
call fcn.14002b860
nop
mov r12d, 1
mov dword [rsp + 0x30], r12d
cmp qword [rax + 0x18], 0x10
jb 0x140029124
mov rax, qword [rax]
mov r9, rax
lea r8, str.WindowsImpersonatorAgent_GetActiveLogonUser:_WTSOpenServer_failed__s
mov edx, 2
mov rcx, rdi
call fcn.14001e890
nop
test r12b, 1
je 0x140029688
lea rcx, [rbp + 0x28]
call fcn.140009080
jmp 0x140029688
lea rax, [rbp + 0xc]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 8]
xor edx, edx
lea r8d, [rdx + 1]
mov rcx, rbx
call qword [sym.imp.WTSAPI32.dll_WTSEnumerateSessionsW]
test eax, eax
jne 0x140029228
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
xor ecx, ecx
call fcn.140027000
mov dword [rsp + 0x20], 1
lea r9, str.Logger
xor r8d, r8d
lea rdx, [0x14001c7c0]
mov rcx, rax
call fcn.1400272d0
cmp dword [rax + 0x40], 2
jl 0x140029210
xor ecx, ecx
call fcn.140027000
mov dword [rsp + 0x20], 1
lea r9, str.Logger
xor r8d, r8d
lea rdx, [0x14001c7c0]
mov rcx, rax
call fcn.1400272d0
mov rdi, rax
mov edx, ebx
lea rcx, [rbp + 0x28]
call fcn.14002b860
nop
mov r12d, 2
mov dword [rsp + 0x30], r12d
cmp qword [rax + 0x18], 0x10
jb 0x1400291fa
mov rax, qword [rax]
mov r9, rax
lea r8, str.WindowsImpersonatorAgent_GetActiveLogonUser:_WTSEnumerateSessions_failed__s
mov edx, r12d
mov rcx, rdi
call fcn.14001e890
nop
test r12b, 2
je 0x140029688
lea rcx, [rbp + 0x28]
call fcn.140009080
jmp 0x140029688
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x10], xmm1
xor r13d, r13d
mov qword [rbp + 0x20], r13
xor ebx, ebx
mov rdi, qword [rbp + 0x18]
cmp dword [rbp + 0xc], ebx
jbe 0x14002929b
nop dword [rax]
nop word [rax + rax]
lea rcx, [rbx + rbx*2]
mov rax, qword [rbp - 8]
lea r8, [rax + rcx*8]
mov eax, dword [r8 + 0x10]
test eax, 0xfffffffa
jne 0x140029294
cmp eax, 5
je 0x140029294
cmp rdi, r13
je 0x140029280
mov eax, dword [r8]
mov dword [rdi], eax
add rdi, 4
mov qword [rbp + 0x18], rdi
jmp 0x140029294
mov rdx, rdi
lea rcx, [rbp + 0x10]
call fcn.14002e700
mov r13, qword [rbp + 0x20]
mov rdi, qword [rbp + 0x18]
inc ebx
cmp ebx, dword [rbp + 0xc]
jb 0x140029250
xor ebx, ebx
mov dword [rbp + 8], ebx
mov qword [rbp - 0x10], rbx
lea rdx, [rbp - 0x10]
lea rcx, [rbp + 8]
call qword [sym.imp.Secur32.dll_LsaEnumerateLogonSessions]
test eax, eax
je 0x14002936c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
xor ecx, ecx
call fcn.140027000
mov dword [rsp + 0x20], 1
lea r9, str.Logger
xor r8d, r8d
lea rdx, [0x14001c7c0]
mov rcx, rax
call fcn.1400272d0
cmp dword [rax + 0x40], 2
jl 0x140029354
xor ecx, ecx
call fcn.140027000
mov dword [rsp + 0x20], 1
lea r9, str.Logger
xor r8d, r8d
lea rdx, [0x14001c7c0]
mov rcx, rax
call fcn.1400272d0
mov rdi, rax
mov edx, ebx
lea rcx, [rbp + 0x28]
call fcn.14002b860
nop
mov r12d, 4
mov dword [rsp + 0x30], r12d
cmp qword [rax + 0x18], 0x10
jb 0x14002933c
mov rax, qword [rax]
mov r9, rax
lea r8, str.WindowsImpersonatorAgent_GetActiveLogonUser:_LsaEnumerateLogonSessions_failed__s
mov edx, 2
mov rcx, rdi
call fcn.14001e890
nop
test r12b, 4
je 0x140029645
lea rcx, [rbp + 0x28]
call fcn.140009080
jmp 0x140029645
mov esi, ebx
cmp dword [rbp + 8], ebx
jbe 0x14002963a
nop word [rax + rax]
mov ecx, esi
mov rax, qword [rbp - 0x10]
lea rcx, [rax + rcx*8]
lea rdx, [rbp - 0x18]
call qword [sym.imp.Secur32.dll_LsaGetLogonSessionData]
mov ebx, eax
test eax, eax
jne 0x1400296e5
mov r8, qword [rbp - 0x18]
mov rax, qword [rbp + 0x10]
xor ebx, ebx
mov edx, ebx
cmp rax, rdi
je 0x140029626
mov r9d, dword [r8 + 0x44]
nop word [rax + rax]
mov rcx, rdx
inc rdx
cmp dword [rax], r9d
cmovne rdx, rcx
add rax, 4
cmp rax, rdi
jne 0x1400293c0
test rdx, rdx
je 0x140029626
mov eax, dword [r8 + 0x40]
sub eax, 2
test eax, 0xfffffff7
jne 0x140029626
mov rdx, qword [r8 + 0x60]
mov qword [rbp + 0x88], rbx
mov qword [rbp + 0x98], rbx
mov qword [rbp + 0xa0], 7
mov word [rbp + 0x88], bx
mov r8, r14
nop dword [rax + rax]
inc r8
cmp word [rdx + r8*2], bx
jne 0x140029420
lea rcx, [rbp + 0x88]
call fcn.140008ee0
nop
cmp qword [rbp + 0x98], 0
jne 0x140029452
lea rcx, [rbp + 0x88]
call fcn.140008e70
jmp 0x14002962f
mov rax, qword [rbp - 0x18]
mov rdx, qword [rax + 0x28]
mov qword [rbp + 0x68], rbx
mov qword [rbp + 0x78], rbx
mov qword [rbp + 0x80], 7
mov word [rbp + 0x68], bx
mov r8, r14
inc r8
cmp word [rdx + r8*2], 0
jne 0x140029474
lea rcx, [rbp + 0x68]
call fcn.140008ee0
nop
mov rax, qword [rbp - 0x18]
mov rdx, qword [rax + 0x18]
mov qword [rbp + 0x48], rbx
mov qword [rbp + 0x58], rbx
mov qword [rbp + 0x60], 7
mov word [rbp + 0x48], bx
mov r8, r14
nop dword [rax + rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x1400294b0
lea rcx, [rbp + 0x48]
call fcn.140008ee0
nop
mov qword [rbp + 0x28], rbx
mov qword [rbp + 0x38], rbx
mov qword [rbp + 0x40], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x28], 0
mov qword [rbp - 0x80], rbx
mov qword [rbp - 0x70], rbx
mov qword [rbp - 0x68], 7
mov word [rbp - 0x80], bx
mov r8d, 1
lea rdx, [0x14015d2c0]
lea rcx, [rbp - 0x80]
call fcn.140008ee0
nop
lea r8, [rbp + 0x68]
cmp qword [rbp + 0x80], 8
cmovae r8, qword [rbp + 0x68]
mov r9, qword [rbp + 0x78]
lea rcx, [rbp - 0x80]
call fcn.14002ed00
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], rbx
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x70], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 7
mov word [rax], bx
or r12d, 0x10
lea rdx, [rbp + 0x48]
cmp qword [rbp + 0x60], 8
cmovae rdx, qword [rbp + 0x48]
mov r8, qword [rbp + 0x58]
lea rcx, [rsp + 0x60]
call fcn.1400190c0
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rbx
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x50], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 7
mov word [rax], bx
or r12d, 0x20
mov dword [rsp + 0x30], r12d
lea rdx, [rbp + 0x28]
lea rcx, [rsp + 0x40]
call fcn.14001b2c0
nop
lea rcx, [rsp + 0x40]
call fcn.140008e70
nop
lea rcx, [rsp + 0x60]
call fcn.140008e70
nop
lea rcx, [rbp - 0x80]
call fcn.140008e70
mov rax, qword [rbp - 0x18]
mov ebx, dword [rax + 0x44]
lea r8, [rbp + 0x28]
lea rdx, [rbp - 0x48]
mov rcx, qword [rsp + 0x38]
call fcn.14002e580
mov rcx, qword [rax]
mov dword [rcx + 0x40], ebx
lea rcx, [rbp + 0x28]
call fcn.140009080
nop
lea rcx, [rbp + 0x48]
call fcn.140008e70
nop
lea rcx, [rbp + 0x68]
call fcn.140008e70
nop
lea rcx, [rbp + 0x88]
call fcn.140008e70
mov r8, qword [rbp - 0x18]
xor ebx, ebx
mov rcx, r8
call qword [sym.imp.Secur32.dll_LsaFreeReturnBuffer]
inc esi
cmp esi, dword [rbp + 8]
jb 0x140029380
mov rcx, qword [rbp - 0x10]
call qword [sym.imp.Secur32.dll_LsaFreeReturnBuffer]
nop
mov rcx, qword [rbp + 0x10]
test rcx, rcx
je 0x140029688
sub r13, rcx
sar r13, 2
lea rdx, [r13*4]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140029682
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002979e
call fcn.1400f9580
nop
mov eax, r14d
lock xadd dword [r15 + 8], eax
cmp eax, 1
jne 0x1400296b3
mov rdx, qword [r15]
mov rcx, r15
call qword [rdx]
lock xadd dword [r15 + 0xc], r14d
cmp r14d, 1
jne 0x1400296b3
mov rdx, qword [r15]
mov rcx, r15
call qword [rdx + reloc.OLEAUT32.dll_VariantClear]
mov eax, ebx
mov rcx, qword [rbp + 0xb8]
xor rcx, rsp
call fcn.1400f9560
lea r11, [rsp + 0x1c0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov rcx, qword [rbp - 0x10]
call qword [sym.imp.Secur32.dll_LsaFreeReturnBuffer]
xor ecx, ecx
call fcn.140027000
mov dword [rsp + 0x20], 1
lea r9, str.Logger
xor r8d, r8d
lea rdx, [0x14001c7c0]
mov rcx, rax
call fcn.1400272d0
cmp dword [rax + 0x40], 2
jl 0x140029786
xor ecx, ecx
call fcn.140027000
mov dword [rsp + 0x20], 1
lea r9, str.Logger
xor r8d, r8d
lea rdx, [0x14001c7c0]
mov rcx, rax
call fcn.1400272d0
mov rdi, rax
mov edx, ebx
lea rcx, [rbp - 0x38]
call fcn.14002b860
nop
or r12d, 8
mov dword [rsp + 0x30], r12d
cmp qword [rax + 0x18], 0x10
jb 0x14002976e
mov rax, qword [rax]
mov r9, rax
lea r8, str.WindowsImpersonatorAgent_GetActiveLogonUser:_LsaGetLogonSessionData_failed__s
mov edx, 2
mov rcx, rdi
call fcn.14001e890
nop
test r12b, 8
je 0x140029645
lea rcx, [rbp - 0x38]
call fcn.140009080
jmp 0x140029645
call fcn.14010402c
int3