Function at 0x465078
Capabilities:
Enumerate network shares

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x465080
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x4652d8
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.004032e8
test eax, eax
jne 0x4650aa
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x4650c2
lea edx, [ebp - 0x1c]
mov eax, 1
call fcn.00403348
mov eax, dword [ebp - 0x1c]
call fcn.004058b8
mov dword [ebp - 4], eax
mov eax, ebx
call fcn.00405428
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 0x4652bd
mov edi, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
test esi, esi
jle 0x4652b4
xor edx, edx
push ebp
push 0x465299
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 0x465286
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 0xc]
mov edx, dword [edx]
call fcn.00405620
mov edx, dword [ebp - 0x20]
mov eax, ebx
call fcn.004056f4
push dword [ebx]
push 0x4652f0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 4]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x24]
call fcn.00409dc0
push dword [ebp - 0x24]
mov eax, ebx
mov edx, 3
call fcn.004057bc
push dword [ebx]
push 0x4652f0
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 8]
call fcn.00405620
push dword [ebp - 0x28]
mov eax, ebx
mov edx, 3
call fcn.004057bc
push dword [ebx]
push 0x4652f0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xc]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x2c]
call fcn.00409dc0
push dword [ebp - 0x2c]
mov eax, ebx
mov edx, 3
call fcn.004057bc
push dword [ebx]
push 0x4652f0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x10]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x30]
call fcn.00409dc0
push dword [ebp - 0x30]
mov eax, ebx
mov edx, 3
call fcn.004057bc
push dword [ebx]
push 0x4652f0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x14]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x34]
call fcn.00409dc0
push dword [ebp - 0x34]
mov eax, ebx
mov edx, 3
call fcn.004057bc
push dword [ebx]
push 0x4652f0
lea eax, [ebp - 0x38]
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 0x18]
call fcn.00405620
push dword [ebp - 0x38]
mov eax, ebx
mov edx, 3
call fcn.004057bc
push dword [ebx]
push 0x4652f0
lea eax, [ebp - 0x3c]
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 0x1c]
call fcn.00405620
push dword [ebp - 0x3c]
mov eax, ebx
mov edx, 3
call fcn.004057bc
push dword [ebx]
push 0x4652f0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x20]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x40]
call fcn.00409dc0
push dword [ebp - 0x40]
push 0x4652fc
mov eax, ebx
mov edx, 4
call fcn.004057bc
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 0x4652aa
add edi, 4
dec esi
jne 0x46510b
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 0x4652df
lea eax, [ebp - 0x40]
mov edx, 0xa
call fcn.0040544c
ret