Function at 0x1001e470
Capabilities:
Enumerate network shares
Get hostname
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x1005bc21
mov eax, dword fs:[0]
push eax
sub esp, 0x390
mov eax, dword [0x1006e020]
xor eax, esp
mov dword [esp + 0x388], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1006e020]
xor eax, esp
push eax
lea eax, [esp + 0x3a4]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x3b4]
mov eax, dword [ebp + 4]
mov ecx, dword [eax + 4]
push ecx
mov ecx, ebp
call fcn.1000bf10
mov eax, dword [ebp + 4]
mov dword [eax + 4], eax
mov eax, dword [ebp + 4]
xor ebx, ebx
mov dword [ebp + 8], ebx
mov dword [eax], eax
mov eax, dword [ebp + 4]
mov dword [eax + 8], eax
mov edi, dword [0x1006eb44]
mov edx, 0x1005e67c
shr edx, 0x10
mov dword [esp + 0x28], 0x5c
mov dword [esp + 0x18], edi
jne 0x1001e61e
mov eax, 0x1005e67c
movzx eax, ax
push eax
lea ecx, [esp + 0x1c]
call fcn.10013a10
mov edi, dword [esp + 0x18]
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x198]
mov dword [esp + 0x3b0], ebx
push eax
mov dword [esp + 0x38], 0x104
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
je 0x1001e55a
lea ecx, [esp + 0x194]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, ebx
je 0x1001e55a
mov esi, eax
lea edx, [esp + 0x194]
lea eax, [esp + 0x18]
call fcn.10013510
mov edi, dword [esp + 0x18]
push edi
call dword [sym.imp.MSVCR80.dll__wcsdup]
add esp, 4
cmp eax, ebx
mov dword [esp + 0x48], eax
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
je 0x1001e818
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x38]
push ecx
push ebx
push 1
push 2
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x38], 0x140
mov dword [esp + 0x40], 1
mov dword [esp + 0x34], ebx
call sub.MPR.dll_WNetOpenEnumW
cmp eax, 0x4c6
je 0x1001e818
cmp eax, ebx
je 0x1001e818
lea edx, [esp + 0x24]
push edx
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x34]
push ecx
push edx
call sub.MPR.dll_WNetEnumResourceW
cmp eax, ebx
jne 0x1001e7cf
mov eax, dword [esp + 0x68]
cmp eax, ebx
je 0x1001e7ae
mov ecx, dword [0x1006eb44]
mov edx, eax
shr edx, 0x10
mov edi, eax
mov dword [esp + 0x1c], ecx
jne 0x1001e661
movzx eax, ax
push eax
lea ecx, [esp + 0x20]
call fcn.10013a10
jmp 0x1001e68f
push 0x1005e67c
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
cmp esi, ebx
je 0x1001e50c
mov ecx, esi
lea edx, [esp + 0x18]
call fcn.10011c80
test eax, eax
je 0x1001e508
mov edi, dword [esp + 0x18]
lea ecx, [esi + esi]
push ecx
push 0x1005e67c
push edi
call sub.MSVCR80.dll_memcpy
add esp, 0xc
jmp 0x1001e50c
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
cmp esi, ebx
je 0x1001e68f
mov ecx, esi
lea edx, [esp + 0x1c]
call fcn.10011c80
test eax, eax
je 0x1001e68f
mov ecx, dword [esp + 0x1c]
lea eax, [esi + esi]
push eax
push edi
push ecx
call sub.MSVCR80.dll_memcpy
add esp, 0xc
mov byte [esp + 0x3ac], 1
mov eax, dword [esp + 0x64]
cmp eax, ebx
mov edx, dword [0x1006eb44]
mov edi, eax
mov dword [esp + 0x14], edx
je 0x1001e6ef
mov ecx, eax
shr ecx, 0x10
jne 0x1001e6c1
movzx eax, ax
push eax
lea ecx, [esp + 0x18]
call fcn.10013a10
jmp 0x1001e6ef
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
cmp esi, ebx
je 0x1001e6ef
mov ecx, esi
lea edx, [esp + 0x14]
call fcn.10011c80
test eax, eax
je 0x1001e6ef
mov eax, dword [esp + 0x14]
lea edx, [esi + esi]
push edx
push edi
push eax
call sub.MSVCR80.dll_memcpy
add esp, 0xc
mov byte [esp + 0x3ac], 2
mov ecx, dword [esp + 0x14]
cmp dword [ecx - 8], ebx
jne 0x1001e712
lea edx, [esp + 0x14]
push edx
call fcn.1001f1f0
test eax, eax
je 0x1001e7fb
lea edi, [esp + 0x14]
call fcn.10011c20
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.USER32.dll_CharUpperW]
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x20]
push edx
call fcn.10014800
lea eax, [esp + 0x28]
push eax
mov ecx, edi
push ecx
call fcn.10014800
lea edx, [esp + 0x1c]
push edx
mov ecx, ebp
call fcn.10007f30
call fcn.10015ac0
mov eax, dword [esp + 0x14]
lea ecx, [eax - 0xc]
cmp ecx, 0x1006eb34
mov dword [esp + 0x68], ebx
mov dword [esp + 0x64], ebx
je 0x1001e781
lea esi, [eax - 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x1001e781
push esi
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 4
mov byte [esp + 0x3ac], bl
mov eax, dword [esp + 0x1c]
lea edx, [eax - 0xc]
cmp edx, 0x1006eb34
je 0x1001e7ae
lea esi, [eax - 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x1001e7ae
push esi
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 4
lea eax, [esp + 0x24]
push eax
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x58]
push ecx
lea edx, [esp + 0x34]
push edx
push eax
call sub.MPR.dll_WNetEnumResourceW
test eax, eax
je 0x1001e5f0
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x1001e7dd
push eax
call sub.MPR.dll_WNetCloseEnum
mov ecx, dword [esp + 0x48]
push ecx
call dword [sym.imp.MSVCR80.dll_free]
add esp, 4
lea esi, [esp + 0x18]
call fcn.10015b40
mov eax, 1
jmp 0x1001e83c
lea esi, [esp + 0x14]
call fcn.10015b40
lea esi, [esp + 0x1c]
call fcn.10015b40
lea esi, [esp + 0x18]
call fcn.10015b40
jmp 0x1001e83a
lea edx, [edi - 0xc]
cmp edx, 0x1006eb34
je 0x1001e83a
lea esi, [edi - 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x1001e83a
push esi
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x3a4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x388]
xor ecx, esp
call fcn.10056d50
add esp, 0x39c
ret 4