Function at 0x4848a8
Capabilities:
Enumerate network shares

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x4848b0
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x484b08
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.004032e8
test eax, eax
jne 0x4848da
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x4848f2
lea edx, [ebp - 0x1c]
mov eax, 1
call fcn.00403348
mov eax, dword [ebp - 0x1c]
call fcn.004058fc
mov dword [ebp - 4], eax
mov eax, ebx
call fcn.0040546c
xor eax, eax
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 8]
push eax
push 0
mov eax, dword [ebp - 4]
push eax
call sub.netapi32.dll_NetShareEnum
test eax, eax
jne 0x484aed
mov edi, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
test esi, esi
jle 0x484ae4
xor edx, edx
push ebp
push 0x484ac9
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0xc]
push eax
push 0x1f6
mov eax, dword [edi]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.netapi32.dll_NetShareGetInfo
test eax, eax
jne 0x484ab6
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 0xc]
mov edx, dword [edx]
call fcn.00405664
mov edx, dword [ebp - 0x20]
mov eax, ebx
call fcn.00405738
push dword [ebx]
push 0x484b20
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 4]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x24]
call fcn.00409d58
push dword [ebp - 0x24]
mov eax, ebx
mov edx, 3
call fcn.00405800
push dword [ebx]
push 0x484b20
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 8]
call fcn.00405664
push dword [ebp - 0x28]
mov eax, ebx
mov edx, 3
call fcn.00405800
push dword [ebx]
push 0x484b20
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xc]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x2c]
call fcn.00409d58
push dword [ebp - 0x2c]
mov eax, ebx
mov edx, 3
call fcn.00405800
push dword [ebx]
push 0x484b20
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x10]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x30]
call fcn.00409d58
push dword [ebp - 0x30]
mov eax, ebx
mov edx, 3
call fcn.00405800
push dword [ebx]
push 0x484b20
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x14]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x34]
call fcn.00409d58
push dword [ebp - 0x34]
mov eax, ebx
mov edx, 3
call fcn.00405800
push dword [ebx]
push 0x484b20
lea eax, [ebp - 0x38]
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 0x18]
call fcn.00405664
push dword [ebp - 0x38]
mov eax, ebx
mov edx, 3
call fcn.00405800
push dword [ebx]
push 0x484b20
lea eax, [ebp - 0x3c]
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 0x1c]
call fcn.00405664
push dword [ebp - 0x3c]
mov eax, ebx
mov edx, 3
call fcn.00405800
push dword [ebx]
push 0x484b20
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x20]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x40]
call fcn.00409d58
push dword [ebp - 0x40]
push 0x484b2c
mov eax, ebx
mov edx, 4
call fcn.00405800
mov eax, dword [ebp - 0xc]
push eax
call sub.netapi32.dll_NetApiBufferFree
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x484ada
add edi, 4
dec esi
jne 0x48493b
mov eax, dword [ebp - 8]
push eax
call sub.netapi32.dll_NetApiBufferFree
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x484b0f
lea eax, [ebp - 0x40]
mov edx, 0xa
call fcn.00405490
ret