Function at 0x140001000
Capabilities:
Get user security identifier
List user accounts

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x2a0]
sub rsp, 0x3a0
mov rax, qword [0x140013008]
xor rax, rsp
mov qword [rbp + 0x290], rax
xor r14d, r14d
mov r13, rcx
mov rsi, rdx
lea rcx, [rsp + 0x7c]
lea r8d, [r14 + 0x4c]
xor edx, edx
mov qword [rsp + 0x48], r14
mov dword [rsp + 0x40], r14d
mov dword [rsp + 0x5c], r14d
mov dword [rsp + 0x58], r14d
mov qword [rsp + 0x70], 1
mov dword [rsp + 0x78], r14d
call fcn.140004080
lea r15, [0x140010ee4]
lea rax, [rsp + 0x58]
xor edx, edx
lea r9, [rsp + 0x48]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x5c]
lea r8d, [rdx + 2]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov rcx, rsi
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0xffffffff
call qword [sym.imp.NETAPI32.dll_NetUserEnum]
mov edi, eax
test eax, eax
je 0x14000111f
cmp eax, 0xea
je 0x14000111f
lea rax, [rbp - 0x30]
mov qword [rsp + 0x30], r14
mov r9d, 0x409
mov r8d, edi
xor edx, edx
mov ecx, 0x1000
mov dword [rsp + 0x28], 0x40
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_FormatMessageW]
movsxd rcx, eax
test rsi, rsi
lea r9, str.unknown
cmovne r9, rsi
mov edx, 0x40
lea r8, str._for_host__s
sub rdx, rcx
lea rcx, [rbp + rcx*2 - 0x30]
call fcn.140003110
lea r8, str.Users_enumeration_error_
lea rdx, [rbp - 0x30]
jmp 0x14000127a
mov rbx, qword [rsp + 0x48]
test rbx, rbx
je 0x1400012a1
mov r12d, r14d
cmp dword [rsp + 0x40], r14d
jbe 0x14000128b
nop dword [rax + rax]
test rbx, rbx
je 0x14000126c
lea rax, [rsp + 0x68]
mov dword [rsp + 0x54], 0x40
mov dword [rsp + 0x50], 0x40
mov rdx, qword [rbx]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x30]
lea r9, [rsp + 0x54]
lea r8, [rbp + 0x50]
mov rcx, rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x50]
call qword [sym.imp.ADVAPI32.dll_ConvertSidToStringSidW]
mov rax, qword [rbx]
mov r9, rsi
test rsi, rsi
lea r8, [0x140010ee8]
lea rcx, [rbp + 0x90]
mov edx, 0x100
cmove r9, r15
mov qword [rsp + 0x20], rax
call fcn.140003110
mov rcx, qword [0x14001afe0]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1004
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [0x14001afe0]
lea r9, [rsp + 0x70]
mov dword [rsp + 0x74], eax
mov rax, qword [rsp + 0x60]
xor r8d, r8d
mov edx, 0x104d
mov dword [rsp + 0x70], 3
mov dword [rbp - 0x6c], r14d
mov qword [rbp - 0x78], rax
mov dword [rsp + 0x78], r14d
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [0x14001afe0]
mov dword [rsp + 0x74], eax
lea rax, [rbp + 0x90]
lea r9, [rsp + 0x70]
xor r8d, r8d
mov edx, 0x104c
mov qword [rbp - 0x78], rax
mov dword [rsp + 0x70], 1
mov dword [rsp + 0x78], 1
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_LocalFree]
inc r12d
add rbx, 8
cmp r12d, dword [rsp + 0x40]
jb 0x140001140
jmp 0x140001286
lea r8, str.Users_enumeration
lea rdx, str.An_access_violation_has_occurred
xor r9d, r9d
mov rcx, r13
call qword [sym.imp.USER32.dll_MessageBoxW]
mov rbx, qword [rsp + 0x48]
test rbx, rbx
je 0x1400012a1
mov rcx, rbx
call qword [sym.imp.NETAPI32.dll_NetApiBufferFree]
mov rbx, r14
mov qword [rsp + 0x48], rbx
cmp edi, 0xea
je 0x140001072
test rbx, rbx
je 0x1400012bb
mov rcx, rbx
call qword [sym.imp.NETAPI32.dll_NetApiBufferFree]
mov eax, 1
mov rcx, qword [rbp + 0x290]
xor rcx, rsp
call fcn.1400030f0
mov rbx, qword [rsp + 0x3f0]
add rsp, 0x3a0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret