Function at 0x1009db90
Capabilities:
Enumerate network shares

Disassembly:
push 0xffffffffffffffff
push 0x100bd958
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.100b57ea
push 0x2800
mov dword [esp + 0x60], ebx
call fcn.100a7f77
mov ebp, eax
mov eax, dword [esp + 0x68]
add esp, 4
mov dword [esp + 0x28], ebp
cmp dword [eax - 8], ebx
jne 0x1009dbef
push ebp
push ebx
mov ecx, esi
call fcn.1009d970
mov ebx, eax
jmp 0x1009dc23
push 0x104
mov ebx, 1
call fcn.100a7f77
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.100a7f77
add esp, 4
mov ebp, eax
test ebx, ebx
mov dword [esp + 0x30], ebp
jle 0x1009dd8e
mov esi, dword [esp + 0x28]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], esi
mov ecx, 8
xor eax, eax
lea edi, [esp + 0x34]
lea edx, [esp + 0x1c]
rep stosd dword es:[edi], eax
mov ecx, dword [esi]
mov eax, 2
mov dword [esp + 0x48], ecx
lea ecx, [esp + 0x34]
push edx
push ecx
push eax
push 1
push eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x48], 1
call sub.MPR.dll_WNetOpenEnumA
test eax, eax
jne 0x1009dd6d
mov ecx, 0x800
xor eax, eax
mov edi, ebp
mov dword [esp + 0x14], 0xffffffff
mov dword [esp + 0x2c], 0x2000
rep stosd dword es:[edi], eax
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x18]
push ebp
push ecx
push edx
call sub.MPR.dll_WNetEnumResourceA
cmp eax, 0x103
je 0x1009dd63
mov ecx, dword [esp + 0x14]
mov eax, ebp
test ecx, ecx
mov dword [esp + 0x18], 0
jbe 0x1009dc8d
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x10]
add ebp, 0x20
lea ebx, [ecx + edx*4]
mov eax, dword [eax + 0x14]
lea ecx, [esp + 0x64]
push eax
call fcn.100b58b9
push 2
push 0
lea ecx, [esp + 0x6c]
call fcn.100b44ac
push 0x104
call fcn.100a7f77
mov edi, dword [esp + 0x68]
mov edx, eax
or ecx, 0xffffffff
xor eax, eax
add esp, 4
mov dword [ebx], edx
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, ebp
and ecx, 3
add ebp, 0x20
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
inc ecx
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x18]
inc ecx
cmp ecx, edx
mov dword [esp + 0x18], ecx
jb 0x1009dce8
mov ebp, dword [esp + 0x30]
mov esi, dword [esp + 0x20]
jmp 0x1009dc8d
mov ecx, dword [esp + 0x1c]
push ecx
call sub.MPR.dll_WNetCloseEnum
mov edx, dword [esi]
push edx
call fcn.100a7e8e
mov eax, dword [esp + 0x28]
add esp, 4
add esi, 4
dec eax
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], eax
jne 0x1009dc4a
mov eax, dword [esp + 0x28]
push eax
call fcn.100a7e8e
push ebp
call fcn.100a7e8e
add esp, 8
lea ecx, [esp + 0x64]
mov dword [esp + 0x5c], 0xffffffff
call fcn.100b577c
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 8