Function at 0x4130d0
Capabilities:
Enumerate network shares

Disassembly:
push 0xffffffffffffffff
push 0x4207cd
mov eax, dword fs:[0]
push eax
mov eax, 0x4018
call fcn.0041e420
mov eax, dword [0x432578]
xor eax, esp
mov dword [esp + 0x4014], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x432578]
xor eax, esp
push eax
lea eax, [esp + 0x402c]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
push 0x4000
lea eax, [esp + 0x2c]
push ebx
push eax
mov dword [esp + 0x4040], ebx
mov dword [esp + 0x24], 1
mov dword [esp + 0x28], 0x4000
call sub.MSVCR80.dll_memset
add esp, 0xc
lea ecx, [esp + 0x403c]
call dword [sym.imp.MFC80U.DLL_Ordinal_2895]
cmp eax, 1
jl 0x413366
mov edi, dword [esp + 0x4040]
cmp edi, 1
je 0x413177
cmp edi, 2
je 0x413177
cmp edi, 3
je 0x413177
cmp edi, 4
je 0x413177
cmp edi, 5
jne 0x413366
lea ecx, [esp + 0x403c]
push ecx
lea ecx, [esi + 0x4c]
call dword [sym.imp.MFC80U.DLL_Ordinal_774]
lea ebp, [esi + 0x40]
push 0x423734
mov ecx, ebp
mov dword [esi + 0x50], edi
call dword [sym.imp.MFC80U.DLL_Ordinal_776]
lea ecx, [esp + 0x403c]
call dword [sym.imp.MFC80U.DLL_Ordinal_2895]
cmp eax, 2
jl 0x4132c5
cmp edi, 1
jne 0x4132c5
push edi
lea ecx, [esp + 0x4040]
call dword [sym.imp.MFC80U.DLL_Ordinal_860]
cmp ax, 0x3a
jne 0x4132c5
lea edx, [esp + 0x24]
push edx
push ebx
push ebx
push edi
push edi
call sub.MPR.dll_WNetOpenEnumW
test eax, eax
jne 0x4132c5
lea eax, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x20]
push edx
push eax
call sub.MPR.dll_WNetEnumResourceW
test eax, eax
jne 0x4132c5
mov ecx, dword [esp + 0x38]
push ecx
lea ecx, [esp + 0x24]
call dword [sym.imp.MFC80U.DLL_Ordinal_283]
push 2
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x4044]
mov byte [esp + 0x403c], 1
call dword [sym.imp.MFC80U.DLL_Ordinal_3990]
lea ecx, [esp + 0x20]
mov esi, eax
call dword [sym.imp.MFC80U.DLL_Ordinal_870]
push eax
mov ecx, esi
call dword [sym.imp.MFC80U.DLL_Ordinal_1476]
test eax, eax
lea ecx, [esp + 0x14]
sete bl
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
test bl, bl
je 0x41326e
mov eax, dword [esp + 0x3c]
push eax
lea ecx, [esp + 0x4040]
call dword [sym.imp.MFC80U.DLL_Ordinal_776]
push 0x4000
lea ecx, [esp + 0x2c]
push 0
push ecx
mov dword [esp + 0x24], 1
mov dword [esp + 0x28], 0x4000
call sub.MSVCR80.dll_memset
add esp, 0xc
lea ecx, [esp + 0x20]
mov byte [esp + 0x4034], 0
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea edx, [esp + 0x1c]
push edx
mov edx, dword [esp + 0x28]
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x20]
push ecx
push edx
call sub.MPR.dll_WNetEnumResourceW
test eax, eax
je 0x413209
push 2
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x4044]
call dword [sym.imp.MFC80U.DLL_Ordinal_3990]
push 0x426e2c
mov ecx, eax
mov byte [esp + 0x4038], 2
call dword [sym.imp.MFC80U.DLL_Ordinal_1472]
test eax, eax
lea ecx, [esp + 0x14]
sete bl
mov byte [esp + 0x4034], 0
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
test bl, bl
je 0x413355
push 2
push 0x426e28
lea ecx, [esp + 0x4044]
call dword [sym.imp.MFC80U.DLL_Ordinal_2261]
cmp eax, 0xffffffff
je 0x413355
add eax, 0xfffffffe
push eax
push 2
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x4048]
call dword [sym.imp.MFC80U.DLL_Ordinal_4101]
push eax
mov ecx, ebp
mov byte [esp + 0x4038], 3
call dword [sym.imp.MFC80U.DLL_Ordinal_774]
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [esp + 0x403c]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
xor eax, eax
jmp 0x413389
push 0x423734
lea ecx, [esi + 0x4c]
call dword [sym.imp.MFC80U.DLL_Ordinal_776]
lea ecx, [esp + 0x403c]
mov dword [esi + 0x50], ebx
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov eax, 3
mov ecx, dword [esp + 0x402c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x4014]
xor ecx, esp
call fcn.0041e2c0
add esp, 0x4024
ret 8