Function at 0x10023be0
Capabilities:
List user accounts

Disassembly:
push ebp
lea ebp, [esp - 0x120]
sub esp, 0x120
push 0xffffffffffffffff
push 0x1007af08
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x10098688]
xor eax, ebp
mov dword [ebp + 0x11c], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.10004a30
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x4c], 0
mov byte [ebp + 0x18], 0
push 0x103
push 0
lea eax, [ebp + 0x19]
push eax
call fcn.1005ec70
add esp, 0xc
mov dword [ebp - 0x5c], 0x104
push str.SeRestorePrivilege
call fcn.10023b20
add esp, 4
test eax, eax
je 0x10023df4
lea ecx, [ebp - 0x4c]
push ecx
lea edx, [ebp - 0x58]
push edx
lea eax, [ebp - 0x34]
push eax
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
push ecx
push 2
push 0
push 0
call sub.NETAPI32.dll_NetUserEnum
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x10023ca0
cmp dword [ebp - 0x20], 0xea
jne 0x10023dc2
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x18], edx
cmp dword [ebp - 0x18], 0
je 0x10023dc2
mov dword [ebp - 0x1c], 0
jmp 0x10023cc2
mov eax, dword [ebp - 0x1c]
add eax, 1
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
cmp ecx, dword [ebp - 0x34]
jae 0x10023dc2
cmp dword [ebp - 0x18], 0
jne 0x10023cd9
jmp 0x10023dc2
push 0x104
push 0
lea edx, [ebp + 0x18]
push edx
call fcn.1005ec70
add esp, 0xc
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
mov dword [ebp - 0x28], ecx
cmp dword [ebp - 0x28], 0
jne 0x10023d03
mov dword [ebp - 0x30], 0
jmp 0x10023d7a
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
add eax, 2
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp - 0x14]
mov dx, word [ecx]
mov word [ebp - 0x22], dx
add dword [ebp - 0x14], 2
cmp word [ebp - 0x22], 0
jne 0x10023d12
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x54]
sar eax, 1
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x50]
add ecx, 1
mov dword [ebp - 0x2c], ecx
cmp dword [ebp - 0x2c], 0x3fffffff
jle 0x10023d4d
mov dword [ebp - 0x38], 0
jmp 0x10023d74
mov eax, dword [ebp - 0x2c]
shl eax, 1
call fcn.1005ce40
mov dword [ebp - 0x3c], esp
mov edx, dword [ebp - 0x48]
push edx
mov eax, dword [ebp - 0x2c]
shl eax, 1
push eax
mov ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0x3c]
push edx
call fcn.10023ad0
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
push ecx
lea ecx, [ebp]
call fcn.10005810
mov dword [ebp - 0x40], eax
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x44], edx
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x44]
push eax
mov ecx, dword [ebp + 0x128]
call fcn.1001bf40
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp]
call fcn.10005960
mov ecx, dword [ebp - 0x18]
add ecx, 4
mov dword [ebp - 0x18], ecx
jmp 0x10023cb9
cmp dword [ebp - 0x10], 0
je 0x10023dd8
mov edx, dword [ebp - 0x10]
push edx
call sub.NETAPI32.dll_NetApiBufferFree
mov dword [ebp - 0x10], 0
cmp dword [ebp - 0x20], 0xea
je 0x10023c8d
cmp dword [ebp - 0x10], 0
je 0x10023df4
mov eax, dword [ebp - 0x10]
push eax
call sub.NETAPI32.dll_NetApiBufferFree
lea esp, [ebp - 0x60]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp + 0x11c]
xor ecx, ebp
call fcn.1005c9a6
add ebp, 0x120
mov esp, ebp
pop ebp
ret