Function at 0x100e64d
Capabilities:
Enumerate network shares

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov al, byte [ebp + 8]
push ebx
push esi
push edi
mov esi, 0x100224c
lea edi, [ebp - 0x24]
movsd dword es:[edi], dword [esi]
add al, 0x30
mov ebx, 0x1000
movsb byte es:[edi], byte [esi]
mov byte [ebp - 0x21], al
mov eax, dword [ebp + 0x10]
and byte [eax + 6], 0
push ebx
push 0x40
mov dword [ebp - 0x10], ebx
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
xor edi, edi
cmp eax, edi
mov dword [ebp - 0xc], eax
jne 0x100e69b
push 0x6c
call fcn.01004e8d
pop ecx
mov eax, 0xffff
jmp 0x100e753
lea eax, [ebp - 8]
push eax
push edi
push edi
push edi
push 1
call sub.MPR.dll_WNetOpenEnumW
test eax, eax
je 0x100e6c9
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x4b8
jne 0x100e6bf
call fcn.010040d2
mov esi, 0xffff
jmp 0x100e84b
mov esi, dword [ebp - 0xc]
or dword [ebp + 8], 0xffffffff
lea eax, [ebp - 0x10]
push eax
push esi
lea eax, [ebp + 8]
push eax
push dword [ebp - 8]
mov dword [ebp - 0x10], ebx
call sub.MPR.dll_WNetEnumResourceA
cmp eax, edi
mov dword [ebp - 0x14], eax
je 0x100e6f2
cmp eax, 0x103
jne 0x100e71e
cmp dword [ebp + 8], 0xffffffff
je 0x100e71e
cmp dword [ebp + 8], 0
jbe 0x100e71e
mov eax, dword [esi + 0x10]
test eax, eax
je 0x100e715
lea ecx, [ebp - 0x24]
push ecx
push eax
call sub.ntdll.dll__strcmpi
test eax, eax
pop ecx
pop ecx
je 0x100e75a
add esi, 0x20
inc edi
cmp edi, dword [ebp + 8]
jb 0x100e6fe
xor edi, edi
cmp dword [ebp - 0x14], edi
je 0x100e6c9
cmp dword [ebp - 0x14], 0x103
je 0x100e740
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x4b8
jne 0x100e740
call fcn.010040d2
push dword [ebp - 8]
call sub.MPR.dll_WNetCloseEnum
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0xc
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x100e83a
push 0x101efc0
push eax
call sub.ntdll.dll__strcmpi
test eax, eax
pop ecx
pop ecx
jne 0x100e83a
mov esi, dword [esi + 0x14]
lea edi, [esi + 2]
push 0x5c
push edi
call fcn.0100fbb0
mov esi, eax
test esi, esi
pop ecx
pop ecx
jne 0x100e795
or eax, 0xffffffff
jmp 0x100e753
and byte [esi], 0
push edi
inc esi
call fcn.0100ffbe
push esi
call fcn.0100ffbe
mov ebx, dword [ebp + 0x10]
pop ecx
pop ecx
mov ecx, ebx
sub ecx, edi
mov eax, edi
add ecx, 0x4d
mov dl, byte [eax]
mov byte [ecx + eax], dl
inc eax
test dl, dl
jne 0x100e7b3
mov ecx, ebx
sub ecx, esi
mov eax, esi
lea edx, [ecx + 0xc]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x100e7c6
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0x18]
push eax
mov byte [ebx + 6], 1
and byte [esi + 0x32], cl
lea eax, [ebp - 4]
push eax
mov byte [esi + 0x33], 8
mov word [esi + 0x34], 1
call sub.NWPROVAU.dll_NwQueryInfo
test eax, eax
je 0x100e7fd
mov word [esi + 0x36], 0x90
jmp 0x100e822
and word [esi + 0x36], 0
test byte [ebp - 4], 0x10
je 0x100e80e
mov word [esi + 0x36], 0x10
test byte [ebp - 4], 8
je 0x100e818
or byte [esi + 0x36], 8
test byte [ebp - 4], 0x80
je 0x100e822
or byte [esi + 0x36], 0x80
and byte [esi + 0x3c], 0
and word [esi + 0x52], 0
and byte [esi + 0x54], 0
and word [esi + 0x62], 0
mov byte [esi + 0x64], 1
jmp 0x100e841
mov eax, dword [ebp + 0x10]
and byte [eax + 6], 0
push dword [ebp - 8]
call sub.MPR.dll_WNetCloseEnum
xor esi, esi
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, esi
jmp 0x100e753