Function at 0x14001cfd0
Capabilities:
Get user security identifier
List groups for user account
List user accounts

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 - 0xd0]
sub rsp, 0x1d0
mov rax, qword [0x14006a040]
xor rax, rsp
mov qword [rbp + 0xc0], rax
mov r12, rcx
xor r13d, r13d
mov dword [rsp + 0x60], r13d
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp - 0x40]
call sub.VCRUNTIME140.dll_memset
lea rax, [0x14005b758]
mov qword [rbp - 0x40], rax
lea rax, [0x14005bc60]
mov qword [rbp - 0x30], rax
lea rcx, [rbp + 0x58]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::constructor_void____ptr64]
nop
mov dword [rsp + 0x60], 2
xor r8d, r8d
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x40]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__::constructor_class_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t______ptr64____ptr64]
nop
mov rax, qword [rbp - 0x40]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov qword [rbp + rcx - 0x40], rax
mov rax, qword [rbp - 0x40]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx - 0x44], edx
lea rcx, [rbp - 0x28]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__::constructor_void____ptr64]
lea rax, vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov qword [rbp - 0x28], rax
mov qword [rbp + 0x40], r13
mov dword [rbp + 0x48], r13d
mov qword [rsp + 0x68], r13
mov dword [rbp - 0x58], r13d
mov dword [rbp - 0x5c], r13d
mov dword [rbp - 0x54], r13d
lea rax, [rbp - 0x54]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x5c]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x58]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0xffffffff
lea r9, [rsp + 0x68]
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 2]
call qword [sym.imp.NETAPI32.dll_NetUserEnum]
mov r15d, eax
test eax, eax
je 0x14001d122
cmp eax, 0xea
je 0x14001d122
lea rdx, str.A_system_error_has_occurred:
lea rcx, [rbp - 0x30]
call fcn.140044780
mov edx, r15d
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___unsigned_long_int____ptr64]
mov rcx, rax
mov dl, 0xa
call fcn.140044ce0
jmp 0x14001d420
mov rdi, qword [rsp + 0x68]
test rdi, rdi
je 0x14001d43b
mov r14d, r13d
cmp dword [rbp - 0x58], r13d
jbe 0x14001d425
nop dword [rax]
test rdi, rdi
je 0x14001d420
lea rdx, str._nUser:
lea rcx, [rbp - 0x30]
call fcn.140044780
mov rdx, qword [rdi]
mov rcx, rax
call fcn.140044780
mov rcx, rax
mov dl, 0xa
call fcn.140044ce0
mov dword [rsp + 0x60], 0x80
mov dword [rsp + 0x78], 0x80
mov ecx, 0x100
call fcn.14004e1ac
mov rsi, rax
mov ecx, dword [rsp + 0x60]
call fcn.14004e1ac
mov rbx, rax
lea rax, [rbp - 0x4c]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x60]
mov r8, rbx
mov rdx, qword [rdi]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
test eax, eax
je 0x14001d216
lea rdx, [rbp - 0x68]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_ConvertSidToStringSidW]
lea rdx, str.SID_:
lea rcx, [rbp - 0x30]
call fcn.140044780
mov rdx, qword [rdi]
mov rcx, rax
call fcn.140044780
mov rcx, rax
call fcn.140044f80
mov rdx, qword [rbp - 0x68]
mov rcx, rax
call fcn.140044780
mov rcx, rax
mov dl, 0xa
call fcn.140044ce0
mov rcx, qword [rbp - 0x68]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, rsi
call fcn.14004de50
mov rcx, rbx
call fcn.14004de50
mov qword [rsp + 0x70], r13
lea r9, [rsp + 0x70]
mov r8d, 0xa
mov rdx, qword [rdi]
xor ecx, ecx
call qword [sym.imp.NETAPI32.dll_NetUserGetInfo]
test eax, eax
jne 0x14001d2a6
lea rdx, str.Name:
lea rcx, [rbp - 0x30]
call fcn.140044780
mov rcx, qword [rsp + 0x70]
mov rdx, qword [rcx + 0x18]
mov rcx, rax
call fcn.140044780
mov rcx, rax
mov dl, 0xa
call fcn.140044ce0
lea rdx, str.Description:
lea rcx, [rbp - 0x30]
call fcn.140044780
mov rcx, qword [rsp + 0x70]
mov rdx, qword [rcx + 8]
mov rcx, rax
call fcn.140044780
mov rcx, rax
mov dl, 0xa
call fcn.140044ce0
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.NETAPI32.dll_NetApiBufferFree]
mov qword [rbp - 0x80], r13
lea r9, [rbp - 0x80]
mov r8d, 1
mov rdx, qword [rdi]
xor ecx, ecx
call qword [sym.imp.NETAPI32.dll_NetUserGetInfo]
test eax, eax
jne 0x14001d30b
lea rdx, str.Account_Active:
lea rcx, [rbp - 0x30]
call fcn.140044780
mov rcx, qword [rbp - 0x80]
test byte [rcx + 0x28], 2
lea rdx, [0x1400586c8]
lea rsi, [0x1400586bc]
cmovne rdx, rsi
mov rcx, rax
call fcn.140044780
mov rcx, rax
mov dl, 0xa
call fcn.140044ce0
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.NETAPI32.dll_NetApiBufferFree]
jmp 0x14001d312
lea rsi, [0x1400586bc]
mov qword [rbp - 0x78], r13
lea r9, [rbp - 0x78]
mov r8d, 0x14
mov rdx, qword [rdi]
xor ecx, ecx
call qword [sym.imp.NETAPI32.dll_NetUserGetInfo]
test eax, eax
jne 0x14001d36e
lea rdx, str.Can_Change_Password:
lea rcx, [rbp - 0x30]
call fcn.140044780
mov rcx, qword [rbp - 0x78]
test byte [rcx + 0x18], 0x40
lea rdx, [0x1400586c8]
cmovne rdx, rsi
mov rcx, rax
call fcn.140044780
mov rcx, rax
mov dl, 0xa
call fcn.140044ce0
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.NETAPI32.dll_NetApiBufferFree]
mov qword [rbp - 0x70], r13
mov dword [rbp - 0x60], r13d
mov dword [rbp - 0x50], r13d
lea rax, [rbp - 0x50]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0xffffffff
lea rax, [rbp - 0x70]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
mov rdx, qword [rdi]
xor ecx, ecx
call qword [sym.imp.NETAPI32.dll_NetUserGetLocalGroups]
test eax, eax
jne 0x14001d40c
lea rdx, str.User_groups:
lea rcx, [rbp - 0x30]
call fcn.140044780
mov ebx, r13d
cmp dword [rbp - 0x60], ebx
jbe 0x14001d3f9
nop dword [rax]
mov eax, ebx
mov rdx, qword [rbp - 0x70]
mov rdx, qword [rdx + rax*8]
lea rcx, [rbp - 0x30]
call fcn.140044780
mov rcx, rax
lea rdx, [0x1400583e4]
call fcn.140044780
inc ebx
cmp ebx, dword [rbp - 0x60]
jb 0x14001d3d0
lea rcx, [rbp - 0x30]
call fcn.140044960
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.NETAPI32.dll_NetApiBufferFree]
add rdi, 8
dec dword [rbp - 0x5c]
inc r14d
cmp r14d, dword [rbp - 0x58]
jb 0x14001d140
mov rdi, qword [rsp + 0x68]
test rdi, rdi
je 0x14001d43b
mov rcx, rdi
call qword [sym.imp.NETAPI32.dll_NetApiBufferFree]
mov rdi, r13
mov qword [rsp + 0x68], r13
cmp r15d, 0xea
je 0x14001d0b3
test rdi, rdi
je 0x14001d45b
mov rcx, rdi
call qword [sym.imp.NETAPI32.dll_NetApiBufferFree]
mov qword [rsp + 0x68], r13
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x28]
call fcn.140042b60
lea r9, [rsp + 0x40]
cmp qword [rsp + 0x58], 7
cmova r9, qword [rsp + 0x40]
xor r8d, r8d
mov edx, 0xc2
mov rcx, r12
call qword [sym.imp.USER32.dll_SendMessageW]
mov rdx, qword [rsp + 0x58]
cmp rdx, 7
jbe 0x14001d4d1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001d4cb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001d4cb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004de50
nop
mov rax, qword [rbp - 0x40]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov qword [rbp + rcx - 0x40], rax
mov rax, qword [rbp - 0x40]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx - 0x44], edx
lea rcx, [rbp - 0x28]
call fcn.14003fa70
lea rcx, [rbp - 0x20]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__::destructor_void____ptr64]
lea rcx, [rbp + 0x58]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::destructor_void____ptr64]
mov rcx, qword [rbp + 0xc0]
xor rcx, rsp
call fcn.14004de30
lea r11, [rsp + 0x1d0]
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