Function at 0x4a0b18
Capabilities:
List groups for user account
List user accounts

Disassembly:
push ebp
mov ebp, esp
mov ecx, 4
push 0
push 0
dec ecx
jne 0x4a0b20
push ecx
push ebx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4a0d8a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax - 8], edx
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax - 0xc], edx
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax - 0x10], edx
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
push eax
mov eax, dword [ebp + 8]
add eax, 0xfffffff4
push eax
mov eax, dword [ebp + 8]
add eax, 0xfffffff8
push eax
push 0xffffffffffffffff
mov eax, dword [ebp + 8]
add eax, 0xfffffffc
push eax
push 2
push 1
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x24]
call fcn.00407e4c
push eax
call sub.netapi32.dll_NetUserEnum
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4a0d63
mov eax, dword [ebp + 8]
cmp dword [eax - 8], 0
jbe 0x4a0d63
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
dec eax
test eax, eax
jl 0x4a0d63
inc eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], 0
mov eax, dword [ebp + 8]
add eax, 0xffffffec
mov edx, dword [ebp - 8]
shl edx, 2
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx - 4]
mov edx, dword [ecx + edx*8]
call fcn.00407ea4
push 1
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x24]
call fcn.00407e4c
mov ecx, eax
mov eax, dword [ebp + 8]
add eax, 0xffffffec
mov dl, 1
call fcn.004a079c
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp + 8]
add eax, 0xffffffd8
call fcn.00407594
mov eax, dword [ebp - 8]
shl eax, 2
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
mov eax, dword [edx + eax*8 + 0x18]
mov edx, dword [ebp + 8]
mov dword [edx - 0x2c], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x2c]
and eax, 2
test al, 2
jne 0x4a0d57
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax - 0x1c], edx
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax - 0x20], edx
mov eax, dword [ebp + 8]
add eax, 0xffffffe0
push eax
mov eax, dword [ebp + 8]
add eax, 0xffffffe4
push eax
push 0xffffffffffffffff
mov eax, dword [ebp + 8]
add eax, 0xffffffe8
push eax
push 1
push 0
mov eax, dword [ebp - 8]
shl eax, 2
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
mov eax, dword [edx + eax*8]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x24]
call fcn.00407e4c
push eax
call sub.netapi32.dll_NetUserGetLocalGroups
test eax, eax
jne 0x4a0d4b
mov eax, dword [ebp + 8]
cmp dword [eax - 0x1c], 0
jbe 0x4a0d1f
mov eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 8]
shl edx, 2
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx - 4]
mov edx, dword [ecx + edx*8]
call fcn.00407ea4
mov eax, dword [ebp - 0x18]
call fcn.004a09d4
pop ecx
test al, al
je 0x4a0d1f
mov eax, dword [ebp + 8]
push dword [eax - 0x28]
push 0x4a0da4
mov eax, dword [ebp + 8]
push dword [eax - 0x14]
lea eax, [ebp - 0x1c]
mov edx, 3
call fcn.00408130
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x30]
mov ecx, dword [eax]
call dword [ecx + 0x54]
inc eax
jne 0x4a0d1f
mov eax, dword [ebp + 8]
push dword [eax - 0x28]
push 0x4a0da4
mov eax, dword [ebp + 8]
push dword [eax - 0x14]
lea eax, [ebp - 0x20]
mov edx, 3
call fcn.00408130
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 8]
shl eax, 2
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx - 4]
mov ecx, dword [ecx + eax*8 + 0xc]
add ecx, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x30]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp + 8]
push dword [eax - 0x28]
push 0x4a0da4
mov eax, dword [ebp + 8]
push dword [eax - 0x14]
lea eax, [ebp - 0x24]
mov edx, 3
call fcn.00408130
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x34]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x18]
push eax
call sub.netapi32.dll_NetApiBufferFree
inc dword [ebp - 8]
dec dword [ebp - 0x10]
jne 0x4a0bb9
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
push eax
call sub.netapi32.dll_NetApiBufferFree
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a0d91
lea eax, [ebp - 0x24]
mov edx, 5
call fcn.004071cc
ret