Function at 0x46e724
Capabilities:
Enumerate network shares

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x46e72c
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x46e984
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.004032f8
test eax, eax
jne 0x46e756
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x46e76e
lea edx, [ebp - 0x1c]
mov eax, 1
call fcn.00403358
mov eax, dword [ebp - 0x1c]
call fcn.004059dc
mov dword [ebp - 4], eax
mov eax, ebx
call fcn.00405530
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 0x46e969
mov edi, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
test esi, esi
jle 0x46e960
xor edx, edx
push ebp
push 0x46e945
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 0x46e932
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 0xc]
mov edx, dword [edx]
call fcn.00405728
mov edx, dword [ebp - 0x20]
mov eax, ebx
call fcn.00405818
push dword [ebx]
push 0x46e99c
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 4]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x24]
call fcn.00409e5c
push dword [ebp - 0x24]
mov eax, ebx
mov edx, 3
call fcn.004058e0
push dword [ebx]
push 0x46e99c
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 8]
call fcn.00405728
push dword [ebp - 0x28]
mov eax, ebx
mov edx, 3
call fcn.004058e0
push dword [ebx]
push 0x46e99c
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xc]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x2c]
call fcn.00409e5c
push dword [ebp - 0x2c]
mov eax, ebx
mov edx, 3
call fcn.004058e0
push dword [ebx]
push 0x46e99c
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x10]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x30]
call fcn.00409e5c
push dword [ebp - 0x30]
mov eax, ebx
mov edx, 3
call fcn.004058e0
push dword [ebx]
push 0x46e99c
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x14]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x34]
call fcn.00409e5c
push dword [ebp - 0x34]
mov eax, ebx
mov edx, 3
call fcn.004058e0
push dword [ebx]
push 0x46e99c
lea eax, [ebp - 0x38]
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 0x18]
call fcn.00405728
push dword [ebp - 0x38]
mov eax, ebx
mov edx, 3
call fcn.004058e0
push dword [ebx]
push 0x46e99c
lea eax, [ebp - 0x3c]
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 0x1c]
call fcn.00405728
push dword [ebp - 0x3c]
mov eax, ebx
mov edx, 3
call fcn.004058e0
push dword [ebx]
push 0x46e99c
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x20]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x40]
call fcn.00409e5c
push dword [ebp - 0x40]
push 0x46e9a8
mov eax, ebx
mov edx, 4
call fcn.004058e0
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 0x46e956
add edi, 4
dec esi
jne 0x46e7b7
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 0x46e98b
lea eax, [ebp - 0x40]
mov edx, 0xa
call fcn.00405554
ret