Function at 0x58e6b0
Capabilities:
List groups for user account

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xd4
mov eax, dword [ebp + 8]
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x94], eax
mov esi, dword [ebp + 0xc]
mov eax, esp
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], 0xffffffff
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], 0x58efb0
mov ecx, dword fs:[0]
mov dword [ebp - 0x18], ecx
mov dword fs:[0], eax
mov byte [ebp - 0x41], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 0
lea eax, [0x60bbfc]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], 1
lea edi, [0x60bbfc]
xor eax, eax
lea edx, [ebp - 0x90]
lea ecx, [ebp - 0x8c]
lea eax, [ebp - 0x88]
mov dword [esp], edi
mov dword [esp + 4], esi
mov dword [esp + 8], 0
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], 0xffffffff
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], eax
call sub.netapi32.dll_NetUserGetLocalGroups
sub esp, 0x20
mov dword [ebp - 0x40], eax
cmp eax, 0
je 0x58e78b
jmp 0x58e7b0
mov ecx, dword [ebp - 0x8c]
mov dword [ebp - 0x10], 0
mov eax, esp
mov dword [eax + 4], ecx
lea ecx, [ebp - 0x78]
mov dword [eax], ecx
mov dword [eax + 8], 0x60bc00
call fcn.0059e980
jmp 0x58e7c8
mov dword [ebp - 0x10], 0
mov eax, esp
lea ecx, [ebp - 0x50]
mov dword [eax], ecx
call fcn.0059ebc0
jmp 0x58e92a
mov byte [ebp - 0x41], 1
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x7c], eax
movsd xmm0, qword [ebp - 0x78]
movsd qword [ebp - 0x84], xmm0
mov ecx, dword [ebp - 0x90]
mov eax, esp
mov dword [eax], ecx
call fcn.00584520
mov byte [ebp - 0x99], al
jmp 0x58e7f6
mov al, byte [ebp - 0x99]
test al, 1
jne 0x58e826
jmp 0x58e802
mov ecx, dword [ebp - 0x8c]
mov eax, esp
mov dword [eax + 4], ecx
mov dword [eax], 0
call fcn.0059b000
mov dword [ebp - 0xa4], edx
mov dword [ebp - 0xa0], eax
jmp 0x58e840
mov ecx, dword [ebp - 0x90]
mov eax, esp
mov dword [eax], ecx
call fcn.00584520
mov byte [ebp - 0xa5], al
jmp 0x58e948
mov eax, dword [ebp - 0xa4]
mov ecx, dword [ebp - 0xa0]
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0x68], eax
mov eax, esp
lea ecx, [ebp - 0x6c]
mov dword [eax], ecx
call fcn.0059a420
mov dword [ebp - 0xb0], edx
mov dword [ebp - 0xac], eax
jmp 0x58e86c
mov eax, dword [ebp - 0xb0]
mov ecx, dword [ebp - 0xac]
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x64], 0
je 0x58e826
mov edx, dword [ebp - 0x60]
mov dword [ebp - 0xc0], edx
mov dword [ebp - 0x3c], edx
mov ecx, dword [ebp - 0x90]
mov dword [ebp - 0xbc], ecx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], edx
mov eax, esp
mov dword [eax + 4], edx
mov dword [eax], ecx
mov dword [eax + 8], 4
call fcn.0058a610
mov ecx, dword [ebp - 0xc0]
mov eax, dword [ebp - 0xbc]
lea ecx, [eax + ecx*4]
mov dword [ebp - 0xb8], ecx
mov dword [ebp - 0x38], ecx
mov eax, esp
mov dword [eax], ecx
call fcn.00584520
mov byte [ebp - 0xb1], al
jmp 0x58e8de
mov al, byte [ebp - 0xb1]
test al, 1
jne 0x58e826
jmp 0x58e8ee
mov eax, dword [ebp - 0xb8]
mov ecx, dword [eax]
mov eax, esp
mov dword [eax + 4], ecx
lea ecx, [ebp - 0x5c]
mov dword [eax], ecx
call fcn.0058e520
jmp 0x58e907
mov eax, esp
lea ecx, [ebp - 0x5c]
mov dword [eax + 4], ecx
lea ecx, [ebp - 0x84]
mov dword [eax], ecx
mov dword [eax + 8], 0x60bc10
call fcn.005a0310
jmp 0x58e925
jmp 0x58e852
mov byte [ebp - 0x41], 1
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x7c], eax
jmp 0x58e826
mov al, byte [ebp - 0xa5]
test al, 1
jne 0x58e965
jmp 0x58e954
mov eax, dword [ebp - 0x90]
mov dword [esp], eax
call sub.netapi32.dll_NetApiBufferFree
sub esp, 4
mov eax, dword [ebp - 0x94]
mov ecx, dword [ebp - 0x98]
mov byte [ebp - 0x41], 0
mov edx, dword [ebp - 0x7c]
mov dword [ecx + 8], edx
movsd xmm0, qword [ebp - 0x84]
movsd qword [ecx], xmm0
mov byte [ebp - 0x41], 0
mov ecx, dword [ebp - 0x18]
mov dword fs:[0], ecx
add esp, 0xd4
pop esi
pop edi
pop ebx
pop ebp
ret