Function at 0x4aeaa5
Capabilities:
List groups for user account

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00406868
mov eax, dword [ebp - 8]
call fcn.00406868
xor eax, eax
push ebp
push 0x4aebee
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x2c]
push eax
mov ecx, 2
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.00406fa8
mov eax, dword [ebp - 0x2c]
mov edx, 0x4aec0c
call fcn.00406f40
jne 0x4aea36
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 4]
call fcn.00406ae4
jmp 0x4aeaa5
cmp dword [ebp - 4], 0
jne 0x4aea4b
lea eax, [ebp - 0x28]
push eax
push 0
push 0
call sub.netapi32.dll_NetGetAnyDCName
jmp 0x4aea6a
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 4]
call fcn.00406ae4
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp - 0xc]
call fcn.004066b0
push eax
push 0
call sub.netapi32.dll_NetGetAnyDCName
test eax, eax
jne 0x4aeaa5
xor eax, eax
push ebp
push 0x4aea9e
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 0x28]
call fcn.00406648
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4aeaa5
mov eax, dword [ebp - 0x28]
push eax
call sub.netapi32.dll_NetApiBufferFree
ret
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0xc]
call fcn.00406ad0
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 8]
call fcn.00406ae4
xor esi, esi
xor eax, eax
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x20]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x28]
push eax
push 0
push 0
lea eax, [ebp - 0x30]
mov ecx, dword [ebp - 0x10]
mov edx, 0x4aec18
call fcn.004066c0
mov eax, dword [ebp - 0x30]
call fcn.004066b0
push eax
mov eax, dword [ebp - 0xc]
call fcn.004066b0
push eax
call sub.netapi32.dll_NetUserGetLocalGroups
test eax, eax
jne 0x4aeb36
mov dl, 1
mov eax, dword [0x426a80]
call fcn.004328b0
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x20]
dec ebx
test ebx, ebx
jl 0x4aeb36
inc ebx
lea eax, [ebp - 0x34]
mov edx, dword [ebp - 0x28]
mov edx, dword [edx]
call fcn.00406a2c
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
call dword [ecx + 0x38]
add dword [ebp - 0x28], 4
dec ebx
jne 0x4aeb17
push esi
call sub.netapi32.dll_NetApiBufferFree
xor eax, eax
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x20]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x28]
push eax
push 0
mov eax, dword [ebp - 0x10]
call fcn.004066b0
push eax
mov eax, dword [ebp - 0xc]
call fcn.004066b0
push eax
call sub.netapi32.dll_NetUserGetGroups
test eax, eax
jne 0x4aeba9
cmp dword [ebp - 0x1c], 0
jne 0x4aeb81
mov dl, 1
mov eax, dword [0x426a80]
call fcn.004328b0
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x20]
dec ebx
test ebx, ebx
jl 0x4aeba9
inc ebx
lea eax, [ebp - 0x38]
mov edx, dword [ebp - 0x28]
mov edx, dword [edx]
call fcn.00406a2c
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
call dword [ecx + 0x38]
add dword [ebp - 0x28], 4
dec ebx
jne 0x4aeb8a
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4aebf5
lea eax, [ebp - 0x38]
mov edx, 2
call fcn.00406878
lea eax, [ebp - 0x30]
call fcn.004064e4
lea eax, [ebp - 0x2c]
call fcn.00406870
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.004064fc
lea eax, [ebp - 8]
mov edx, 2
call fcn.00406878
ret