Function at 0x4d0ea4
Capabilities:
Enumerate network shares

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x58], edx
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4d1181
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov dl, 1
mov eax, dword [0x419160]
call fcn.00403be8
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], 0x2000
mov eax, dword [ebp - 0x10]
call fcn.004027e0
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x4d1155
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0x14]
push eax
push 0
push 1
push 1
push 2
call sub.mpr.dll_WNetOpenEnumA
test eax, eax
je 0x4d0f22
call fcn.00404490
jmp 0x4d115e
mov dword [ebp - 0xc], 0xffffffff
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.mpr.dll_WNetEnumResourceA
test eax, eax
jne 0x4d0f49
cmp eax, 0x103
jne 0x4d0f53
call fcn.00404490
jmp 0x4d115e
mov edi, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
sub eax, 1
jae 0x4d0f63
call fcn.00403b58
test eax, eax
jl 0x4d1005
inc eax
mov dword [ebp - 0x24], eax
mov edx, dword [0x4a20a4]
mov eax, 0x20
call fcn.00405828
mov esi, eax
mov eax, dword [edi]
mov dword [esi], eax
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov eax, dword [edi + 8]
mov dword [esi + 8], eax
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
lea edx, [ebp - 0x48]
mov eax, dword [edi + 0x10]
call fcn.0040a184
mov edx, dword [ebp - 0x48]
lea eax, [esi + 0x10]
call fcn.00404a80
lea edx, [ebp - 0x4c]
mov eax, dword [edi + 0x14]
call fcn.0040a184
mov edx, dword [ebp - 0x4c]
lea eax, [esi + 0x14]
call fcn.00404a80
lea edx, [ebp - 0x50]
mov eax, dword [edi + 0x18]
call fcn.0040a184
mov edx, dword [ebp - 0x50]
lea eax, [esi + 0x18]
call fcn.00404a80
lea edx, [ebp - 0x54]
mov eax, dword [edi + 0x1c]
call fcn.0040a184
mov edx, dword [ebp - 0x54]
lea eax, [esi + 0x1c]
call fcn.00404a80
mov edx, esi
mov eax, dword [ebp - 0x18]
call fcn.0041ba68
add edi, 0x20
dec dword [ebp - 0x24]
jne 0x4d0f6f
mov eax, dword [ebp - 0x14]
push eax
call sub.mpr.dll_WNetCloseEnum
test eax, eax
je 0x4d101c
call fcn.00404490
jmp 0x4d115e
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 8]
sub eax, 1
jno 0x4d102c
call fcn.00403b58
test eax, eax
jl 0x4d1137
inc eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x1c], 0
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
call fcn.0041bbc4
mov esi, eax
lea edi, [ebp - 0x44]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x44]
push eax
push 2
push 1
push 2
call sub.mpr.dll_WNetOpenEnumA
test eax, eax
je 0x4d1077
call fcn.00404490
jmp 0x4d115e
mov dword [ebp - 0xc], 0xffffffff
mov dword [ebp - 0x10], 0x2000
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.mpr.dll_WNetEnumResourceA
cmp eax, 0x103
je 0x4d111e
test eax, eax
je 0x4d10af
call fcn.00404490
jmp 0x4d115e
mov edi, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
sub esi, 1
jae 0x4d10bf
call fcn.00403b58
test esi, esi
jl 0x4d1077
inc esi
lea edx, [ebp - 0x20]
mov eax, dword [edi + 0x14]
call fcn.0040a184
lea eax, [ebp - 0x58]
push eax
mov ecx, 2
mov edx, 1
mov eax, dword [ebp - 0x20]
call fcn.00404f4c
mov eax, dword [ebp - 0x58]
mov edx, 0x4d119c
call fcn.00404e38
jne 0x4d1106
lea eax, [ebp - 0x20]
mov ecx, 2
mov edx, 1
call fcn.00404f8c
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov edx, dword [ebp - 0x20]
mov ecx, dword [eax]
call dword [ecx + 0x38]
add edi, 0x20
dec esi
jne 0x4d10c4
jmp 0x4d1077
mov eax, dword [ebp - 0x14]
push eax
call sub.mpr.dll_WNetCloseEnum
test eax, eax
jne 0x4d1137
inc dword [ebp - 0x1c]
dec dword [ebp - 0x24]
jne 0x4d103f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d115c
mov eax, dword [ebp - 0x18]
call fcn.00403c18
mov eax, dword [ebp - 8]
call fcn.00402800
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d1188
lea eax, [ebp - 0x58]
mov edx, 5
call fcn.00404a50
lea eax, [ebp - 0x20]
call fcn.00404a2c
ret