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

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
cmp byte [rdx + 4], 0
je 0x1400adcd7
mov rcx, rsi
call fcn.1400b1266
cmp byte [rdi + 0xb], 2
je 0x1400adcef
mov r8b, byte [rdi + 0xc]
and r8b, 1
mov rcx, rsi
xor edx, edx
call fcn.1400b0df3
cmp byte [rdi + 6], 0
je 0x1400adcff
mov rcx, rsi
call fcn.1400b134b
jmp 0x1400add0d
cmp byte [rdi + 5], 0
je 0x1400add0d
mov rcx, rsi
call fcn.1400add80
cmp byte [rdi + 1], 0
je 0x1400add1e
lea rcx, [rsi + 0x70]
call fcn.1400af64b
jmp 0x1400add2c
cmp byte [rdi], 0
je 0x1400add2c
lea rcx, [rsi + 0x70]
call fcn.1400b0082
movzx edx, word [rdi + 8]
cmp dl, 2
je 0x1400add46
movzx eax, byte [rdi + 0xa]
shl eax, 0x10
or edx, eax
mov rcx, rsi
call fcn.1400b1763
cmp byte [rdi + 2], 0
je 0x1400add56
mov rcx, rsi
call fcn.1400b2e63
jmp 0x1400add64
cmp byte [rdi + 3], 0
je 0x1400add64
mov rcx, rsi
call fcn.1400addb6
cmp byte [rdi + 7], 0
je 0x1400add78
mov rcx, rsi
add rsp, 0x28
pop rdi
pop rsi
jmp 0x1400b2ef1
nop
add rsp, 0x28
pop rdi
pop rsi
ret
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x1d8
movaps xmmword [rsp + 0x1c0], xmm6
mov qword [rsp + 0x1b8], rcx
lea rax, [rsp + 0x120]
mov qword [rax], 8
xorps xmm6, xmm6
lea rcx, [rsp + 0xa4]
and dword [rcx], 0
movups xmmword [rax + 8], xmm6
lea rdi, [rsp + 0xe8]
lea rbx, [rsp + 0x50]
lea r14, [rsp + 0x90]
lea r12, [rsp + 0xd0]
lea rsi, [rsp + 0x98]
and qword [rsp + 0x50], 0
and dword [rsp + 0x5c], 0
and dword [rsp + 0xa8], 0
lea rax, [rsp + 0xa4]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0xa8]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x5c]
mov qword [rsp + 0x28], rax
or dword [rsp + 0x20], 0xffffffff
xor ecx, ecx
xor edx, edx
mov r8d, 2
mov r9, rbx
call sub.NETAPI32.dll_NetUserEnum
mov ebx, eax
cmp eax, 0xea
je 0x1400b2fb9
test ebx, ebx
jne 0x1400b323e
mov r13, qword [rsp + 0x50]
mov ebp, dword [rsp + 0x5c]
shl rbp, 3
xor r15d, r15d
cmp rbp, r15
je 0x1400b3224
cmp qword [r13 + r15], 0
je 0x1400b321b
and qword [rsp + 0x90], 0
mov rdx, qword [r13 + r15]
xor ecx, ecx
mov r8d, 0x17
mov r9, r14
call sub.NETAPI32.dll_NetUserGetInfo
test eax, eax
jne 0x1400b3213
mov rax, qword [rsp + 0x90]
mov rdx, qword [rax + 0x20]
lea rcx, [rsp + 0x138]
call fcn.1400b087a
cmp qword [rsp + 0x138], 0
je 0x1400b3213
mov rax, qword [rsp + 0x148]
mov qword [rsp + 0x1a0], rax
movups xmm0, xmmword [rsp + 0x138]
movaps xmmword [rsp + 0x190], xmm0
mov rcx, r12
lea rdx, [rsp + 0x190]
call fcn.1400b0985
cmp qword [rsp + 0xd0], 0
je 0x1400b3089
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0xc0], rax
movups xmm0, xmmword [rsp + 0xd0]
movaps xmmword [rsp + 0xb0], xmm0
jmp 0x1400b309b
mov rdx, qword [r13 + r15]
lea rcx, [rsp + 0xb0]
call fcn.1400b3e37
mov rax, qword [rsp + 0x148]
mov qword [rsp + 0x160], rax
movups xmm0, xmmword [rsp + 0x138]
movaps xmmword [rsp + 0x150], xmm0
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x180], rax
movaps xmm0, xmmword [rsp + 0xb0]
movaps xmmword [rsp + 0x170], xmm0
mov rdx, qword [r13 + r15]
and qword [rsp + 0x98], 0
and dword [rsp + 0x4c], 0
and dword [rsp + 0xac], 0
lea rax, [rsp + 0xac]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x4c]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x20], rsi
or dword [rsp + 0x28], 0xffffffff
lea rcx, [0x14013bd88]
xor r8d, r8d
mov r9d, 1
call sub.NETAPI32.dll_NetUserGetLocalGroups
test eax, eax
je 0x1400b3146
lea rax, [rsp + 0x80]
movups xmmword [rax], xmm6
mov qword [rsp + 0x78], 8
jmp 0x1400b3186
mov ecx, dword [rsp + 0x4c]
xor edx, edx
call fcn.1400a9798
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], rdx
and qword [rsp + 0x88], 0
mov rdx, qword [rsp + 0x98]
test rdx, rdx
je 0x1400b3186
mov eax, dword [rsp + 0x4c]
lea r8, [rdx + rax*8]
lea rcx, [rsp + 0x78]
call fcn.1400a91af
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x68], rax
mov rcx, rsi
call fcn.1400b3e1d
movups xmm0, xmmword [rsp + 0x138]
movaps xmmword [rsp + 0xd0], xmm0
mov rax, qword [rsp + 0x148]
mov qword [rsp + 0xe0], rax
and dword [rsp + 0x118], 0
mov rax, qword [rsp + 0xc0]
mov qword [rdi + 0x10], rax
movaps xmm0, xmmword [rsp + 0xb0]
movups xmmword [rdi], xmm0
mov rax, qword [rsp + 0x70]
mov qword [rdi + 0x28], rax
movaps xmm0, xmmword [rsp + 0x60]
movups xmmword [rdi + 0x18], xmm0
lea rcx, [rsp + 0x120]
mov rdx, r12
call fcn.1400a931d
mov rcx, r14
call fcn.1400b3e1d
add r15, 8
jmp 0x1400b2fc9
cmp ebx, 0xea
jne 0x1400b323e
lea rbx, [rsp + 0x50]
mov rcx, rbx
call fcn.1400b3e1d
jmp 0x1400b2f5a
lea rcx, [rsp + 0x50]
call fcn.1400b3e1d
lea rcx, [rsp + 0x190]
and dword [rcx], 0
lea rdx, [rsp + 0xb0]
and qword [rdx], 0
call sub.Secur32.dll_LsaEnumerateLogonSessions
test eax, eax
je 0x1400b32df
mov rax, qword [rsp + 0x130]
mov qword [rsp + 0xe0], rax
movups xmm0, xmmword [rsp + 0x120]
movaps xmmword [rsp + 0xd0], xmm0
lea rcx, [rsp + 0xb0]
call fcn.1400b3e2a
mov rdi, qword [rsp + 0x1b8]
add rdi, 0xf8
mov rcx, rdi
call fcn.1400a8660
mov rax, qword [rsp + 0xe0]
mov qword [rdi + 0x10], rax
movaps xmm0, xmmword [rsp + 0xd0]
movups xmmword [rdi], xmm0
movaps xmm6, xmmword [rsp + 0x1c0]
add rsp, 0x1d8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rsi, qword [rsp + 0xb0]
mov eax, dword [rsp + 0x190]
lea r15, [rsi + rax*8]
lea rdi, [rsp + 0x150]
lea rbx, [rsp + 0xd0]
xorps xmm6, xmm6
cmp rsi, r15
je 0x1400b3268
and qword [rsp + 0x150], 0
mov rcx, rsi
mov rdx, rdi
call sub.Secur32.dll_LsaGetLogonSessionData
add rsi, 8
test eax, eax
je 0x1400b3334
mov rcx, rdi
call fcn.1400b3e2a
jmp 0x1400b3305
mov rax, qword [rsp + 0x150]
test rax, rax
je 0x1400b332a
cmp dword [rax + 0x40], 3
je 0x1400b33db
movzx r13d, word [rax + 0x10]
mov r14, qword [rax + 0x18]
mov rdx, qword [rax + 0x48]
mov rcx, rbx
call fcn.1400b087a
cmp qword [rsp + 0xd0], 0
je 0x1400b33db
mov qword [rsp + 0x1b0], r14
mov r14, qword [rsp + 0xe0]
mov qword [rsp + 0x70], r14
movups xmm0, xmmword [rsp + 0xd0]
movaps xmmword [rsp + 0x60], xmm0
mov rdx, qword [rsp + 0x120]
mov r12, qword [rsp + 0x60]
imul rbx, qword [rsp + 0x130], 0x50
test rbx, rbx
je 0x1400b33e8
lea rbp, [rdx + 0x50]
mov rcx, qword [rdx]
mov rdx, qword [rdx + 0x10]
mov r8, r12
mov r9, r14
call fcn.1400ab0b3
add rbx, 0xffffffffffffffb0
mov rdx, rbp
test al, al
je 0x1400b33a3
lea rcx, [rsp + 0x60]
call fcn.1400304a6
lea rbx, [rsp + 0xd0]
mov rcx, rdi
call fcn.1400b3e2a
jmp 0x1400b3305
lea rcx, [rsp + 0x78]
lea rdx, [rsp + 0x60]
call fcn.1400b0985
lea rbx, [rsp + 0xd0]
mov rax, qword [rsp + 0x78]
test rax, rax
mov rdx, qword [rsp + 0x1b0]
je 0x1400b341b
lea rcx, [rsp + 0x80]
jmp 0x1400b343e
shr r13, 1
mov rcx, rbx
mov r8, r13
call fcn.140004a80
mov rax, qword [rsp + 0xd0]
test rax, rax
je 0x1400b34a8
lea rcx, [rsp + 0xd8]
movups xmm0, xmmword [rcx]
movaps xmmword [rsp + 0x170], xmm0
mov rcx, qword [rsp + 0x70]
mov qword [rsp + 0xe0], rcx
movaps xmm0, xmmword [rsp + 0x60]
movaps xmmword [rsp + 0xd0], xmm0
movaps xmm0, xmmword [rsp + 0x170]
lea rcx, [rsp + 0xd8]
movups xmmword [rcx + 0x18], xmm0
and dword [rcx + 0x40], 0
movups xmmword [rcx + 0x30], xmm6
mov qword [rsp + 0xe8], rax
mov qword [rsp + 0x100], 8
lea rcx, [rsp + 0x120]
mov rdx, rbx
call fcn.1400a931d
jmp 0x1400b332a
movaps xmmword [rsp + 0x170], xmm6
mov eax, 1
jmp 0x1400b3449