Function at 0x1400efe00
Capabilities:
Get logon sessions
List groups for user account
List user accounts

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x148
lea rbp, [rsp + 0x80]
mov qword [rbp + 0xc0], 0xfffffffffffffffe
mov qword [rcx], 0
mov qword [rcx + 8], 8
mov qword [rbp + 0x70], rcx
mov qword [rcx + 0x10], 0
mov dword [rbp - 0x2c], 0
lea rdi, [rbp + 0x98]
nop
mov qword [rbp + 0x60], 0
mov dword [rbp + 0x5c], 0
mov dword [rbp - 0x30], 0
lea rax, [rbp - 0x2c]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x30]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x5c]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0xffffffff
xor ecx, ecx
xor edx, edx
mov r8d, 2
lea r9, [rbp + 0x60]
call sub.NETAPI32.dll_NetUserEnum
mov dword [rbp + 0x68], eax
mov eax, dword [rbp + 0x68]
cmp eax, 0xea
je 0x1400efeb1
test eax, eax
jne 0x1400f0257
mov r13, qword [rbp + 0x60]
mov eax, dword [rbp + 0x5c]
lea r12, [rax*8]
add r12, r13
jmp 0x1400efed5
call sub.NETAPI32.dll_NetApiBufferFree
cmp r13, r12
je 0x1400f0230
mov rbx, r13
add r13, 8
cmp qword [rbx], 0
je 0x1400efed5
mov qword [rbp + 0x98], 0
mov rdx, qword [rbx]
xor ecx, ecx
mov r8d, 0x17
mov r9, rdi
call sub.NETAPI32.dll_NetUserGetInfo
test eax, eax
je 0x1400eff20
mov rcx, qword [rbp + 0x98]
test rcx, rcx
jne 0x1400efed0
jmp 0x1400efed5
mov rcx, qword [rbp + 0x98]
mov r15, qword [rcx + 0x20]
test r15, r15
je 0x1400efed0
mov rcx, r15
call sub.ADVAPI32.dll_IsValidSid
test eax, eax
je 0x1400eff0d
mov rcx, r15
call sub.ADVAPI32.dll_GetLengthSid
mov r14d, eax
mov ecx, eax
test eax, eax
mov qword [rbp + 0xb0], rcx
je 0x1400eff76
mov edx, 1
mov rcx, qword [rbp + 0xb0]
call fcn.140001180
mov rcx, qword [rbp + 0xb0]
test rax, rax
jne 0x1400eff7b
jmp 0x1400f0525
mov eax, 1
mov qword [rbp + 0x78], rcx
mov qword [rbp + 0x80], rax
mov qword [rbp + 0x88], rcx
mov ecx, r14d
mov qword [rbp + 0xa0], rax
mov rdx, rax
mov r8, r15
call sub.ADVAPI32.dll_CopySid
test eax, eax
mov rax, qword [rbp + 0xb0]
je 0x1400effff
test r14d, r14d
mov rdx, qword [rbp + 0xa0]
je 0x1400f0513
cmp byte [rdx], 1
jne 0x1400f0531
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x20], rdx
mov qword [rbp - 0x18], rax
mov byte [rbp + 0xbe], 1
lea rcx, [rbp + 0x78]
lea rdx, [rbp - 0x28]
call fcn.1400eed60
mov rax, qword [rbp + 0x80]
test rax, rax
je 0x1400f0026
mov rcx, qword [rbp + 0x78]
mov rdx, qword [rbp + 0x88]
jmp 0x1400f006d
test r14d, r14d
mov rcx, qword [rbp + 0xa0]
je 0x1400eff0d
mov r8d, 1
mov rdx, qword [rbp + 0xb0]
call fcn.140001160
jmp 0x1400eff0d
mov rdx, qword [rbx]
mov r8, 0xffffffffffffffff
cmp word [rdx + r8*2 + 2], 0
lea r8, [r8 + 1]
jne 0x1400f0030
mov byte [rbp + 0xbe], 1
lea rcx, [rbp - 0x10]
call fcn.1401c0160
mov rcx, qword [rbp - 8]
test rcx, rcx
mov rdx, qword [rbp]
cmove rdx, rcx
mov rax, rcx
mov esi, 1
cmove rax, rsi
cmovne rcx, qword [rbp - 0x10]
mov qword [rbp + 0x40], rcx
mov qword [rbp + 0x48], rax
mov qword [rbp + 0x50], rdx
mov rdx, qword [rbx]
mov qword [rbp + 0xa8], 0
mov dword [rbp + 0x94], 0
mov dword [rbp - 0x34], 0
mov byte [rbp + 0xbc], 0
lea rax, [rbp - 0x34]
mov qword [rsp + 0x38], rax
lea rax, [rbp + 0x94]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0xa8]
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], 0xffffffff
lea rcx, [0x140260298]
xor r8d, r8d
mov r9d, 1
call sub.NETAPI32.dll_NetUserGetLocalGroups
test eax, eax
je 0x1400f0101
mov qword [rbp + 0x78], 0
mov qword [rbp + 0x80], 8
mov qword [rbp + 0x88], 0
jmp 0x1400f0170
mov esi, dword [rbp + 0x94]
test rsi, rsi
je 0x1400f012f
lea rax, [rsi*8]
lea rbx, [rax + rax*2]
mov edx, 8
mov rcx, rbx
call fcn.140001150
test rax, rax
jne 0x1400f0134
jmp 0x1400f057f
mov eax, 8
mov qword [rbp + 0x78], rsi
mov qword [rbp + 0x80], rax
mov qword [rbp + 0x88], 0
mov r8, qword [rbp + 0xa8]
test r8, r8
je 0x1400f0181
mov eax, dword [rbp + 0x94]
lea rdx, [r8 + rax*8]
mov byte [rbp + 0xbc], 1
lea rcx, [rbp + 0x78]
call fcn.1400f40f0
mov rcx, qword [rbp + 0xa8]
test rcx, rcx
je 0x1400f0181
call sub.NETAPI32.dll_NetApiBufferFree
mov rcx, qword [rbp + 0xb0]
mov qword [rbp - 0x10], rcx
mov rax, qword [rbp + 0xa0]
mov qword [rbp - 8], rax
mov qword [rbp], rcx
mov dword [rbp + 0x38], 0
mov rax, qword [rbp + 0x50]
lea rcx, [rbp + 8]
mov qword [rcx + 0x10], rax
movups xmm0, xmmword [rbp + 0x40]
movups xmmword [rcx], xmm0
mov rax, qword [rbp + 0x88]
mov qword [rcx + 0x28], rax
movups xmm0, xmmword [rbp + 0x78]
movups xmmword [rcx + 0x18], xmm0
mov rcx, qword [rbp + 0x70]
mov rdx, qword [rcx + 0x10]
cmp rdx, qword [rcx]
jne 0x1400f01e4
mov rsi, rcx
call fcn.1400f4820
mov rdx, qword [rsi + 0x10]
mov rcx, rsi
mov rax, qword [rcx + 8]
lea rbx, [rdx + rdx*4]
shl rbx, 4
movups xmm0, xmmword [rbp + 0x30]
movups xmmword [rax + rbx + 0x40], xmm0
movups xmm0, xmmword [rbp - 0x10]
movups xmm1, xmmword [rbp]
movups xmm2, xmmword [rbp + 0x10]
movups xmm3, xmmword [rbp + 0x20]
movups xmmword [rax + rbx + 0x30], xmm3
movups xmmword [rax + rbx + 0x20], xmm2
movups xmmword [rax + rbx + 0x10], xmm1
movups xmmword [rax + rbx], xmm0
inc rdx
mov qword [rcx + 0x10], rdx
jmp 0x1400eff0d
cmp dword [rbp + 0x68], 0xea
jne 0x1400f0257
mov rcx, qword [rbp + 0x60]
test rcx, rcx
je 0x1400efe50
mov byte [rbp + 0xbf], 1
call sub.NETAPI32.dll_NetApiBufferFree
jmp 0x1400efe50
mov rcx, qword [rbp + 0x60]
test rcx, rcx
je 0x1400f026c
mov byte [rbp + 0xbf], 1
call sub.NETAPI32.dll_NetApiBufferFree
mov dword [rbp + 0x98], 0
mov qword [rbp + 0xa8], 0
lea rcx, [rbp + 0x98]
lea rdx, [rbp + 0xa8]
call sub.Secur32.dll_LsaEnumerateLogonSessions
test eax, eax
je 0x1400f02c8
mov rcx, qword [rbp + 0xa8]
test rcx, rcx
je 0x1400f02b0
mov byte [rbp + 0xbf], 0
call sub.Secur32.dll_LsaFreeReturnBuffer
mov rax, qword [rbp + 0x70]
add rsp, 0x148
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov rsi, qword [rbp + 0xa8]
mov eax, dword [rbp + 0x98]
lea r14, [rsi + rax*8]
lea r12, [rbp - 0x28]
lea r15, [rbp - 0x10]
mov qword [rbp + 0x68], r14
jmp 0x1400f02f5
mov rcx, qword [rbp - 0x28]
test rcx, rcx
je 0x1400f02f5
call sub.Secur32.dll_LsaFreeReturnBuffer
cmp rsi, r14
je 0x1400f0298
mov qword [rbp - 0x28], 0
mov rcx, rsi
mov rdx, r12
call sub.Secur32.dll_LsaGetLogonSessionData
add rsi, 8
mov rcx, qword [rbp - 0x28]
test eax, eax
jne 0x1400f0500
test rcx, rcx
je 0x1400f0500
cmp dword [rcx + 0x40], 3
je 0x1400f02f0
movzx ebx, word [rcx + 0x10]
mov rdi, qword [rcx + 0x18]
mov rdx, qword [rcx + 0x48]
mov rcx, r15
call fcn.1400eebf0
cmp qword [rbp - 8], 0
je 0x1400f02e7
mov qword [rbp + 0xa0], rbx
mov qword [rbp + 0xb0], rdi
mov r14, qword [rbp]
mov qword [rbp + 0x50], r14
movups xmm0, xmmword [rbp - 0x10]
movaps xmmword [rbp + 0x40], xmm0
mov rax, qword [rbp + 0x70]
mov rax, qword [rax + 0x10]
mov rbx, qword [rbp + 0x48]
test rax, rax
je 0x1400f03e0
mov rcx, qword [rbp + 0x70]
mov r12, qword [rcx + 8]
shl rax, 4
lea r13, [rax + rax*4]
xor r15d, r15d
jmp 0x1400f0399
add r15, 0x50
cmp r13, r15
je 0x1400f03e0
cmp qword [r12 + r15 + 0x10], r14
jne 0x1400f0390
mov rcx, qword [r12 + r15 + 8]
mov rdx, rbx
mov r8, r14
call fcn.1401d8ee0
test eax, eax
jne 0x1400f0390
mov rdx, qword [rbp + 0x40]
test rdx, rdx
mov r14, qword [rbp + 0x68]
lea r12, [rbp - 0x28]
lea r15, [rbp - 0x10]
je 0x1400f02e7
mov r8d, 1
mov rcx, rbx
call fcn.140001160
jmp 0x1400f02e7
mov qword [rbp - 0x40], rbx
mov byte [rbp + 0xbd], 1
lea rcx, [rbp + 0x78]
lea rdx, [rbp + 0x40]
call fcn.1400eed60
lea r15, [rbp - 0x10]
mov rax, qword [rbp + 0x80]
test rax, rax
mov rdx, qword [rbp + 0xb0]
mov r8, qword [rbp + 0xa0]
je 0x1400f0423
mov rdx, qword [rbp + 0x78]
mov rcx, qword [rbp + 0x88]
jmp 0x1400f0455
shr r8, 1
mov byte [rbp + 0xbd], 1
mov rcx, r15
call fcn.1401c0160
mov rcx, qword [rbp - 8]
test rcx, rcx
mov rdx, qword [rbp - 0x10]
cmove rdx, rcx
mov rax, rcx
mov ebx, 1
cmove rax, rbx
cmovne rcx, qword [rbp]
mov rbx, qword [rbp + 0x50]
mov qword [rbp], rbx
movaps xmm0, xmmword [rbp + 0x40]
movaps xmmword [rbp - 0x10], xmm0
mov dword [rbp + 0x38], 0
mov qword [rbp + 8], rdx
mov qword [rbp + 0x10], rax
mov qword [rbp + 0x18], rcx
mov qword [rbp + 0x20], 0
mov qword [rbp + 0x28], 8
mov qword [rbp + 0x30], 0
mov rdi, qword [rbp + 0x70]
mov rdx, qword [rdi + 0x10]
cmp rdx, qword [rdi]
mov r14, qword [rbp + 0x68]
jne 0x1400f04b3
mov rcx, rdi
call fcn.1400f4820
lea r12, [rbp - 0x28]
mov rdx, qword [rdi + 0x10]
jmp 0x1400f04b7
lea r12, [rbp - 0x28]
mov rax, qword [rdi + 8]
lea rcx, [rdx + rdx*4]
shl rcx, 4
movaps xmm0, xmmword [rbp + 0x30]
movups xmmword [rax + rcx + 0x40], xmm0
movaps xmm0, xmmword [rbp - 0x10]
movaps xmm1, xmmword [rbp]
movaps xmm2, xmmword [rbp + 0x10]
movaps xmm3, xmmword [rbp + 0x20]
movups xmmword [rax + rcx + 0x30], xmm3
movups xmmword [rax + rcx + 0x20], xmm2
movups xmmword [rax + rcx + 0x10], xmm1
movups xmmword [rax + rcx], xmm0
inc rdx
mov qword [rdi + 0x10], rdx
mov rcx, qword [rbp - 0x28]
nop word [rax + rax]
test rcx, rcx
je 0x1400f02f5
call sub.Secur32.dll_LsaFreeReturnBuffer
jmp 0x1400f02f5
lea r8, str.C:Users_test.cargo_registry_srcgithub.com_1ecc6299db9ec823_sysinfo_0.29.11_srcwindows_sid.rs
xor ecx, ecx
xor edx, edx
call fcn.1401f2a90
jmp 0x1400f0593
mov edx, 1
call fcn.1401f27a0
jmp 0x1400f0593
mov qword [rbp - 0x10], 0
lea rax, str.Expected_SID_revision_to_be_1
mov qword [rbp], rax
mov qword [rbp + 8], 1
lea rax, [0x1402600b8]
mov qword [rbp + 0x10], rax
mov qword [rbp + 0x18], 0
lea rax, str.C:Users_test.cargo_registry_srcgithub.com_1ecc6299db9ec823_sysinfo_0.29.11_srcwindows_sid.rs
mov qword [rsp + 0x20], rax
lea r8, [0x140260148]
lea r9, [rbp - 0x10]
xor ecx, ecx
call fcn.1401ebe00
jmp 0x1400f0593
mov byte [rbp + 0xbc], 0
mov edx, 8
mov rcx, rbx
call fcn.1401f27a0
ud2