Function at 0x441268
Capabilities:
Enumerate network shares

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 2
add esp, 0xfffff004
push eax
dec eax
jne 0x441271
add esp, 0xfffffff8
mov eax, dword [ebp - 4]
xor eax, eax
push ebx
push esi
push edi
mov edx, dword [ebp + 0x18]
mov edi, dword [ebp + 0x1c]
cmp edx, 4
jne 0x44129b
mov eax, 1
jmp 0x4414fb
test edi, 2
je 0x4412a8
mov eax, 1
test edi, 4
je 0x4412b5
mov eax, 2
lea edx, [ebp - 4]
push edx
mov ecx, dword [ebp + 8]
push ecx
push 0
push eax
push 2
call sub.MPR.dll_WNetOpenEnumA
cmp eax, 5
jne 0x4412d6
mov eax, 1
jmp 0x4414fb
test eax, eax
je 0x4412e1
xor eax, eax
jmp 0x4414fb
mov dword [ebp - 8], 0xffffffff
mov dword [ebp - 0xc], 0x2000
lea edx, [ebp - 0xc]
push edx
lea ecx, [ebp - 0x200c]
push ecx
lea eax, [ebp - 8]
push eax
mov edx, dword [ebp - 4]
push edx
call sub.MPR.dll_WNetEnumResourceA
test eax, eax
jne 0x4414ed
cmp eax, 0x103
je 0x4414ed
xor esi, esi
mov eax, esi
shl eax, 5
test edi, 0x40
mov eax, dword [ebp + eax - 0x1ff8]
mov ebx, eax
je 0x44134b
mov edx, esi
mov ebx, eax
shl edx, 5
movsx edx, byte [ebx]
cmp edx, 0x5c
jne 0x441342
inc ebx
movsx ecx, byte [ebx]
cmp ecx, 0x5c
jne 0x44134b
inc ebx
test edi, 0x8000
je 0x441391
mov ebx, eax
mov edx, esi
shl edx, 5
movsx eax, byte [ebx]
cmp eax, 0x5c
jne 0x441363
inc ebx
movsx edx, byte [ebx]
cmp edx, 0x5c
jne 0x44136c
inc ebx
movsx ecx, byte [ebx]
cmp ecx, 0x5c
jne 0x441377
inc ebx
jmp 0x441391
mov al, byte [ebx]
test al, al
jne 0x44138e
mov edx, esi
shl edx, 5
mov ebx, dword [ebp + edx - 0x1ff8]
add ebx, 2
jmp 0x441391
inc ebx
jmp 0x44136c
mov eax, esi
shl eax, 5
mov eax, dword [ebp + eax - 0x2004]
cmp eax, 1
jne 0x4413ae
test edi, 8
je 0x4414a1
mov edx, esi
shl edx, 5
cmp eax, 2
jne 0x4413c4
test edi, 1
je 0x4414a1
mov ecx, esi
shl ecx, 5
cmp eax, 3
jne 0x4413e2
test edi, 2
jne 0x4413e2
test edi, 4
je 0x4414a1
push 0x5eaf7c
push ebx
call fcn.004d30a0
add esp, 8
test eax, eax
jne 0x4413f7
mov byte [ebx], 0
push 0x5eaf95
push ebx
call fcn.004d30a0
add esp, 8
test eax, eax
jne 0x44140c
mov byte [ebx], 0
push 0x5eafa8
push ebx
call fcn.004d30a0
add esp, 8
test eax, eax
jne 0x441421
mov byte [ebx], 0
test ebx, ebx
je 0x4414a1
mov al, byte [ebx]
test al, al
je 0x4414a1
test edi, 0x2000
je 0x441448
push ebx
push 0
push 0x180
mov edx, dword [ebp + 0x14]
push edx
mov ecx, dword [ebp + 0x10]
push ecx
call sub.USER32.dll_SendDlgItemMessageA
test edi, 0x1000
je 0x441477
mov eax, dword [ebp + 0xc]
mov dl, byte [eax]
test dl, dl
je 0x44146a
push 0x5eafc5
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.004d2e40
add esp, 8
push ebx
mov eax, dword [ebp + 0xc]
push eax
call fcn.004d2e40
add esp, 8
mov eax, dword [0x611fc4]
test eax, eax
je 0x44148f
push ebx
push 0x5eafc7
push eax
call fcn.004d680c
add esp, 0xc
inc dword [ebp + 0x20]
mov edx, dword [ebp + 0x20]
cmp edx, 0x100
jg 0x4412e1
mov ecx, esi
shl ecx, 5
test byte [ebp + ecx - 0x2000], 2
je 0x4414dc
mov eax, dword [ebp + 0x20]
push eax
push edi
mov edx, dword [ebp + 0x18]
inc edx
push edx
mov ecx, dword [ebp + 0x14]
push ecx
mov ecx, esi
mov eax, dword [ebp + 0x10]
push eax
lea eax, [ebp - 0x200c]
shl ecx, 5
mov edx, dword [ebp + 0xc]
push edx
add ecx, eax
push ecx
call fcn.00441268
add esp, 0x1c
inc esi
mov edx, dword [ebp - 8]
cmp esi, edx
jne 0x44131c
jmp 0x4412e1
mov ecx, dword [ebp - 4]
push ecx
call sub.MPR.dll_WNetCloseEnum
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret