Function at 0x1000ffb0
Capabilities:
Enumerate network shares

Disassembly:
push 0xffffffffffffffff
push 0x100306d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x64]
mov esi, ecx
xor ebx, ebx
push edi
lea ecx, [esp + 0x68]
mov dword [esp + 0x14], ebx
call fcn.10026e0a
push 0x2000
mov dword [esp + 0x60], ebx
call fcn.10019737
mov ebp, eax
mov eax, dword [esp + 0x68]
add esp, 4
mov dword [esp + 0x30], ebp
cmp dword [eax - 8], ebx
jne 0x1001000f
push ebp
push ebx
mov ecx, esi
call fcn.1000fc40
mov ebx, eax
jmp 0x10010043
push 0x104
mov ebx, 1
call fcn.10019737
mov edx, eax
or ecx, 0xffffffff
xor eax, eax
add esp, 4
mov dword [ebp], edx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push 0x2000
call fcn.10019737
add esp, 4
mov esi, eax
test ebx, ebx
mov dword [esp + 0x2c], esi
jle 0x100101b6
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebx
mov ecx, 8
xor eax, eax
lea edi, [esp + 0x34]
rep stosd dword es:[edi], eax
mov ecx, dword [ebp]
push ecx
lea ecx, [esp + 0x68]
call fcn.10026ed9
push 0x10043474
lea ecx, [esp + 0x68]
call fcn.10025c18
cmp eax, 0xffffffff
jne 0x100100a9
mov edx, dword [ebp]
lea eax, [esp + 0x64]
push edx
push str._s
push eax
call fcn.10025f9e
add esp, 0xc
mov ecx, dword [esp + 0x64]
lea edx, [esp + 0x1c]
lea eax, [esp + 0x34]
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x6c]
push edx
push eax
push 1
push ecx
push 2
call sub.MPR.dll_WNetOpenEnumA
test eax, eax
jne 0x10010190
mov ecx, 0x800
xor eax, eax
mov edi, esi
mov dword [esp + 0x14], 0xffffffff
mov dword [esp + 0x28], 0x2000
rep stosd dword es:[edi], eax
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x18]
push esi
push ecx
push edx
call sub.MPR.dll_WNetEnumResourceA
cmp eax, 0x103
je 0x10010186
test eax, eax
jne 0x10010186
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x14]
test eax, eax
jbe 0x100100d1
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x10]
lea ebp, [esi + 0x20]
lea ebx, [eax + ecx*4]
push 0x104
call fcn.10019737
mov edx, eax
or ecx, 0xffffffff
mov dword [ebx], edx
mov edi, dword [esi + 0x14]
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
add ebx, 4
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x18]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x10]
mov esi, ebp
inc ecx
inc eax
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x14]
add ebp, 0x20
cmp eax, ecx
mov dword [esp + 0x18], eax
jb 0x10010126
mov esi, dword [esp + 0x2c]
mov ebp, dword [esp + 0x20]
jmp 0x100100d1
mov ecx, dword [esp + 0x1c]
push ecx
call sub.MPR.dll_WNetCloseEnum
mov edx, dword [ebp]
push edx
call fcn.1001964e
mov eax, dword [esp + 0x28]
add esp, 4
add ebp, 4
dec eax
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], eax
jne 0x10010066
mov ebp, dword [esp + 0x30]
push ebp
call fcn.1001964e
push esi
call fcn.1001964e
add esp, 8
lea ecx, [esp + 0x64]
mov dword [esp + 0x5c], 0xffffffff
call fcn.10026d9c
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x50
ret 0xc