Function at 0x10009497
Capabilities:
List user account groups
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x618
mov eax, dword [0x1006a098]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor ebx, ebx
lea eax, [ebp - 0x603]
push 0x3ff
push ebx
push eax
mov byte [ebp - 0x604], bl
call fcn.10019f50
mov esi, 0xfe
mov dword [ebp - 0x60c], ebx
push esi
lea eax, [ebp - 0x203]
mov dword [ebp - 0x610], ebx
push ebx
push eax
mov byte [ebp - 0x204], bl
call fcn.10019f50
push esi
lea eax, [ebp - 0x103]
mov byte [ebp - 0x104], bl
push ebx
push eax
call fcn.10019f50
add esp, 0x24
cmp dword [0x1006d34c], 5
jl 0x10009517
push str.ShowLocalGroupMembers
call fcn.100024d3
pop ecx
mov edi, dword [ebp + 8]
mov ebx, dword [sym.imp.WS2_32.dll_send]
xor ecx, ecx
lea eax, [ebp - 0x610]
push ecx
push eax
lea eax, [ebp - 0x60c]
mov dword [ebp - 0x608], ecx
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x608]
push eax
push 1
push ecx
call sub.NETAPI32.dll_NetLocalGroupEnum
mov esi, eax
mov eax, dword [ebp - 0x608]
mov dword [ebp - 0x614], eax
test esi, esi
je 0x10009593
cmp esi, 5
je 0x1000958c
cmp esi, 0xea
je 0x10009585
cmp esi, 0x84b
je 0x1000957e
cmp esi, 0x92f
jne 0x1000959e
push str.NERR_InvalidComputer
jmp 0x10009598
push str.NERR_BufTooSmall
jmp 0x10009598
push str.ERROR_MORE_DATA
jmp 0x10009598
push str.ERROR_ACCESS_DENIED
jmp 0x10009598
push str.NERR_Success
call fcn.100024d3
pop ecx
cmp dword [0x1006d34c], 5
jl 0x100095d4
push dword [ebp - 0x610]
push dword [ebp - 0x60c]
push str.NetLocalGroupEnum:_dwEntriesRead___d__dwTotalEntries___d_
call fcn.100024d3
add esp, 0xc
cmp dword [0x1006d34c], 5
jl 0x100095d4
push str.grabbed_list_of_groups__now_checking_members
call fcn.100024d3
pop ecx
cmp dword [ebp - 0x60c], 0
je 0x10009706
xor ecx, ecx
lea eax, [ebp - 0x204]
push ecx
push ecx
push 0xfe
push eax
mov eax, dword [ebp - 0x608]
push 0xffffffffffffffff
push dword [eax]
push ecx
push ecx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea eax, [ebp - 0x204]
push eax
push 0x100578f4
push 0xffffffffffffffff
lea eax, [ebp - 0x604]
push 0x400
push eax
call fcn.1001a28e
lea ecx, [ebp - 0x604]
add esp, 0x14
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000962e
push 0
sub ecx, edx
lea eax, [ebp - 0x604]
push ecx
push eax
push edi
call ebx
xor ecx, ecx
lea eax, [ebp - 0x104]
push ecx
push ecx
push 0xfe
push eax
mov eax, dword [ebp - 0x608]
push 0xffffffffffffffff
push dword [eax + 4]
push ecx
push ecx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea ecx, [ebp - 0x104]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10009670
sub ecx, edx
jne 0x10009696
push 0xffffffffffffffff
push 0x100578f8
lea eax, [ebp - 0x104]
push 0xff
push eax
call fcn.1001b6b8
add esp, 0x10
lea eax, [ebp - 0x104]
push eax
push 0x100578f4
push 0xffffffffffffffff
lea eax, [ebp - 0x604]
push 0x400
push eax
call fcn.1001a28e
lea ecx, [ebp - 0x604]
add esp, 0x14
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100096c1
push 0
sub ecx, edx
lea eax, [ebp - 0x604]
push ecx
push eax
push edi
call ebx
mov eax, dword [ebp - 0x608]
push edi
push dword [eax]
call fcn.10004588
pop ecx
pop ecx
push 0
push 1
push 0x1004cc7c
push edi
call ebx
add dword [ebp - 0x608], 8
dec dword [ebp - 0x60c]
jne 0x100095e1
mov eax, dword [ebp - 0x614]
test eax, eax
je 0x10009716
push eax
call sub.NETAPI32.dll_NetApiBufferFree
cmp esi, 0xea
je 0x10009520
cmp dword [0x1006d34c], 5
jl 0x10009736
push str.finished_ShowLocalGroupMembers
call fcn.100024d3
pop ecx
push 0
push 1
push 0x1004cc7c
push edi
call ebx
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1001890f
mov esp, ebp
pop ebp
ret