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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
mov eax, dword [0x5d1124]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push 0x400
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
mov dword [ebp - 0x70], 1
lea eax, [ebp - 0x8c]
mov dword [ebp - 0x78], esi
push eax
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x74]
mov byte [esi], 0x1a
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x7c], 0
push eax
push 2
push 0
push 0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0
call dword [sym.imp.NETAPI32.dll_NetUserEnum]
test eax, eax
je 0x412c97
cmp eax, 0xea
jne 0x412e59
mov ebx, dword [ebp - 0x7c]
test ebx, ebx
je 0x412e59
cmp dword [ebp - 0x74], 0
push edi
mov dword [ebp - 0x88], 0
jbe 0x412e11
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
nop dword [eax]
push 0x32
lea eax, [ebp - 0x6c]
push 0
push eax
call fcn.00552b90
push 0x32
push dword [ebx]
lea eax, [ebp - 0x6c]
push eax
call fcn.00558f09
add esp, 0x18
lea eax, [ebp - 0x6c]
push eax
call edi
inc eax
push eax
lea eax, [ebp - 0x6c]
push eax
mov eax, dword [ebp - 0x70]
add eax, esi
push eax
call fcn.00552610
add esp, 0xc
lea eax, [ebp - 0x6c]
push eax
call edi
mov ecx, dword [ebp - 0x70]
inc ecx
add eax, ecx
push 0x32
mov dword [ebp - 0x70], eax
lea eax, [ebp - 0x38]
push 0
push eax
call fcn.00552b90
add esp, 0xc
mov dword [ebp - 0x98], 0
lea eax, [ebp - 0x94]
mov dword [ebp - 0x94], 0
push eax
lea eax, [ebp - 0x98]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x84]
push eax
push 1
push 0
push dword [ebx]
push 0
call dword [sym.imp.NETAPI32.dll_NetUserGetLocalGroups]
test eax, eax
jne 0x412d6f
mov eax, dword [ebp - 0x84]
test eax, eax
je 0x412d6f
push 0x32
push dword [eax]
lea eax, [ebp - 0x38]
push eax
call fcn.00558f09
add esp, 0xc
jmp 0x412d81
mov eax, dword [str.error]
mov dword [ebp - 0x38], eax
mov ax, word [0x5b4274]
mov word [ebp - 0x34], ax
lea eax, [ebp - 0x38]
push eax
call edi
inc eax
push eax
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebp - 0x70]
add eax, esi
push eax
call fcn.00552610
add esp, 0xc
lea eax, [ebp - 0x38]
push eax
call edi
mov ecx, dword [ebp - 0x70]
mov esi, 0x5b44c8
inc ecx
add eax, ecx
mov dword [ebp - 0x70], eax
lea eax, [ebp - 0x80]
push eax
push 1
push dword [ebx]
push 0
call dword [sym.imp.NETAPI32.dll_NetUserGetInfo]
test eax, eax
jne 0x412dd4
mov eax, dword [ebp - 0x80]
test byte [eax + 0x18], 2
mov eax, 0x5b44d0
cmove eax, esi
mov esi, eax
push esi
call edi
inc eax
push eax
mov eax, dword [ebp - 0x78]
add eax, dword [ebp - 0x70]
push esi
push eax
call fcn.00552610
add esp, 0xc
push esi
call edi
mov ecx, dword [ebp - 0x70]
add ebx, 4
mov esi, dword [ebp - 0x78]
inc ecx
add eax, ecx
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x88]
inc eax
mov dword [ebp - 0x88], eax
cmp eax, dword [ebp - 0x74]
jb 0x412cc0
push 0x42
push dword [ebp - 0x70]
push esi
call dword [sym.imp.KERNEL32.dll_LocalReAlloc]
mov ecx, dword [ebp - 0x7c]
mov edi, eax
mov esi, dword [sym.imp.NETAPI32.dll_NetApiBufferFree]
test ecx, ecx
je 0x412e2f
push ecx
call esi
mov eax, dword [ebp - 0x80]
test eax, eax
je 0x412e39
push eax
call esi
mov eax, dword [ebp - 0x84]
test eax, eax
je 0x412e46
push eax
call esi
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0054f768
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [ebp - 4]
xor eax, eax
pop esi
xor ecx, ebp
pop ebx
call fcn.0054f768
mov esp, ebp
pop ebp
ret