Function at 0x101a1df0
Capabilities:
Enumerate network shares

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x284
mov dword [ebp - str._DEBUG__Getting_connected_shares_via_WNetOpenEnumW_n], 0x10353124
mov dword [ebp - 0x18c], 1
mov dword [ebp - 0x180], 0
mov dword [ebp - 0x188], str.called__Option::unwrap____on_a__None__valueIndex_out_of_bounds
mov dword [ebp - 0x184], 0
lea eax, [ebp - 0x190]
push eax
call fcn.1014bae0
add esp, 4
mov dword [ebp - 0x48], 4
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x4c], 0
lea eax, [ebp - 0x4c]
push eax
push 0
push 0x13
push 0
push 3
call sub.mpr.dll_WNetOpenEnumW
test eax, eax
mov dword [ebp - 0x68], eax
je 0x101a208c
lea eax, [ebp - 0x68]
lea edi, [ebp - 0x290]
mov dword [ebp - str._ERROR__WnetOpenEnum_returns_error:__25], 0x10353264
mov dword [ebp - 0x18c], 1
mov dword [ebp - 0x180], 0
mov dword [ebp - 0x290], eax
mov dword [ebp - 0x188], edi
mov dword [ebp - 0x28c], 0x1002d590
mov dword [ebp - 0x184], 1
lea eax, [ebp - 0x190]
push eax
call fcn.1005f950
add esp, 4
cmp dword [ebp - 0x68], 0x4b8
jne 0x101a23f1
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 4
mov dword [ebp - 0x90], 0
movups xmmword [ebp - 0x1a0], xmm0
movups xmmword [ebp - 0x1b0], xmm0
movups xmmword [ebp - 0x1c0], xmm0
movups xmmword [ebp - 0x1d0], xmm0
movups xmmword [ebp - 0x1e0], xmm0
movups xmmword [ebp - 0x1f0], xmm0
movups xmmword [ebp - 0x200], xmm0
movups xmmword [ebp - 0x210], xmm0
movups xmmword [ebp - 0x220], xmm0
movups xmmword [ebp - 0x230], xmm0
movups xmmword [ebp - 0x240], xmm0
movups xmmword [ebp - 0x250], xmm0
movups xmmword [ebp - 0x260], xmm0
movups xmmword [ebp - 0x270], xmm0
movups xmmword [ebp - 0x280], xmm0
movups xmmword [ebp - 0x290], xmm0
movups xmmword [ebp - 0xa0], xmm0
movups xmmword [ebp - 0xb0], xmm0
movups xmmword [ebp - 0xc0], xmm0
movups xmmword [ebp - 0xd0], xmm0
movups xmmword [ebp - 0xe0], xmm0
movups xmmword [ebp - 0xf0], xmm0
movups xmmword [ebp - 0x100], xmm0
movups xmmword [ebp - 0x110], xmm0
movups xmmword [ebp - 0x120], xmm0
movups xmmword [ebp - 0x130], xmm0
movups xmmword [ebp - 0x140], xmm0
movups xmmword [ebp - 0x150], xmm0
movups xmmword [ebp - 0x160], xmm0
movups xmmword [ebp - 0x170], xmm0
movups xmmword [ebp - 0x180], xmm0
movups xmmword [ebp - 0x190], xmm0
lea esi, [ebp - 0x90]
push 0x100
lea eax, [ebp - 0x190]
push eax
push 0x100
push edi
push esi
call sub.mpr.dll_WNetGetLastErrorA
test eax, eax
mov dword [ebp - 0x8c], eax
je 0x101a2404
lea eax, [ebp - 0x8c]
lea edi, [ebp - 0x3c]
mov dword [ebp - 0x30], 0x103532ec
mov dword [ebp - 0x2c], 1
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x38], 0x1002d590
mov dword [ebp - 0x24], 1
lea ebx, [ebp - 0x30]
lea esi, [ebp - 0x64]
push ebx
push esi
call fcn.1001ac00
add esp, 8
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x30], 0x103532c4
mov dword [ebp - 0x2c], 1
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x38], 0x1019efd0
mov dword [ebp - 0x24], 1
push ebx
call fcn.1005f950
add esp, 4
cmp dword [ebp - 0x60], 0
je 0x101a2568
mov eax, dword [0x1035648c]
push dword [ebp - 0x64]
push 0
jmp 0x101a23e5
mov eax, dword [0x1035648c]
mov dword [ebp - 0x70], 0xffffffff
mov dword [ebp - 0x78], 0x4000
mov eax, dword [eax]
test eax, eax
jne 0x101a20ba
call sub.KERNEL32.dll_GetProcessHeap
test eax, eax
je 0x101a25fc
mov ecx, dword [0x1035648c]
mov dword [ecx], eax
push 0x4000
push 8
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
mov dword [ebp - 0x10], eax
je 0x101a25fc
mov ebx, 4
mov dword [ebp - 0x18], 0
nop
lea eax, [ebp - 0x78]
push eax
push dword [ebp - 0x10]
lea eax, [ebp - 0x70]
push eax
push dword [ebp - 0x4c]
call sub.mpr.dll_WNetEnumResourceW
test eax, eax
mov dword [ebp - 0x3c], eax
jne 0x101a2373
mov eax, dword [ebp - 0x70]
test eax, eax
mov dword [ebp - 0x88], eax
je 0x101a20e0
xor edi, edi
jmp 0x101a2119
inc edi
cmp edi, dword [ebp - 0x88]
je 0x101a20e0
cmp edi, 0x200
je 0x101a25cf
mov ecx, dword [ebp - 0x10]
mov eax, edi
shl eax, 5
test byte [ecx + eax + 4], 1
je 0x101a2110
mov eax, dword [ecx + eax + 0x14]
test eax, eax
je 0x101a217a
mov ecx, 0xffffffff
nop word cs:[eax + eax]
nop dword [eax + eax]
cmp word [eax + ecx*2 + 2], 0
lea ecx, [ecx + 1]
jne 0x101a2150
push ecx
push eax
lea eax, [ebp - 0x290]
push eax
call fcn.1014d9e0
add esp, 0xc
mov esi, dword [ebp - 0x290]
mov ecx, dword [ebp - 0x288]
jmp 0x101a21a6
mov esi, 1
xor ecx, ecx
mov dword [ebp - 0x290], 1
mov dword [ebp - 0x28c], 0
mov dword [ebp - 0x288], 0
mov byte [ebp - 0x284], 1
push ecx
mov dword [ebp - 0x84], esi
push esi
lea eax, [ebp - 0x190]
push eax
call fcn.1002a2f0
add esp, 0xc
cmp dword [ebp - 0x190], 0
jne 0x101a21cf
mov eax, dword [ebp - 0x188]
mov dword [ebp - 0x80], eax
jne 0x101a22a0
mov eax, dword [ebp - 0x18c]
test eax, eax
je 0x101a22a0
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - str._INFO__Found_share:], 0x10353204
mov dword [ebp - 0x18c], 1
mov dword [ebp - 0x180], 0
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x64]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
mov dword [ebp - 0x2c], 0x101990f0
mov dword [ebp - 0x188], eax
mov dword [ebp - 0x184], 1
lea eax, [ebp - 0x190]
push eax
call fcn.1005f950
add esp, 4
mov esi, dword [ebp - 0x60]
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x14], ebx
test esi, esi
je 0x101a22ef
js 0x101a25f5
mov dword [ebp - 0x7c], eax
mov eax, dword [0x103564a0]
movzx eax, byte [eax]
mov eax, dword [0x1035648c]
mov eax, dword [eax]
test eax, eax
jne 0x101a227b
call sub.KERNEL32.dll_GetProcessHeap
test eax, eax
je 0x101a25e8
mov ecx, dword [0x1035648c]
mov dword [ecx], eax
push esi
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
mov ebx, eax
test eax, eax
mov eax, dword [ebp - 0x7c]
jne 0x101a22f4
jmp 0x101a25e8
mov dword [ebp - 0x190], 0x103531e8
mov dword [ebp - 0x18c], 1
mov dword [ebp - 0x180], 0
mov dword [ebp - 0x188], str.called__Option::unwrap____on_a__None__valueIndex_out_of_bounds
mov dword [ebp - 0x184], 0
lea eax, [ebp - 0x190]
push eax
call fcn.1005f950
add esp, 4
cmp dword [ebp - 0x28c], 0
jne 0x101a235a
jmp 0x101a2110
mov ebx, 1
push esi
push eax
push ebx
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x190], ebx
mov dword [ebp - 0x18c], esi
mov dword [ebp - 0x188], esi
cmp edx, dword [ebp - 0x44]
jne 0x101a2329
lea ecx, [ebp - 0x48]
call fcn.1019e8d0
mov ebx, dword [ebp - 0x48]
mov edx, dword [ebp - 0x40]
jmp 0x101a232c
mov ebx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x188]
lea eax, [edx + edx*2]
inc edx
mov dword [ebp - 0x18], edx
mov dword [ebx + eax*4 + 8], ecx
movsd xmm0, qword [ebp - 0x190]
movsd qword [ebx + eax*4], xmm0
mov dword [ebp - 0x40], edx
cmp dword [ebp - 0x28c], 0
je 0x101a2110
push dword [ebp - 0x290]
push 0
mov eax, dword [0x1035648c]
push dword [eax]
call sub.KERNEL32.dll_HeapFree
jmp 0x101a2110
cmp eax, 0x103
je 0x101a23d0
lea eax, [ebp - 0x3c]
mov dword [ebp - str._ERROR__EnumResourceW_failed_with_error:], 0x10353238
mov dword [ebp - 0x18c], 1
mov dword [ebp - 0x180], 0
mov dword [ebp - 0x290], eax
lea eax, [ebp - 0x290]
mov dword [ebp - 0x28c], 0x1002d590
mov dword [ebp - 0x188], eax
mov dword [ebp - 0x184], 1
lea eax, [ebp - 0x190]
push eax
call fcn.1005f950
add esp, 4
push dword [ebp - 0x4c]
call sub.mpr.dll_WNetCloseEnum
mov dword [ebp - 0x14], ebx
push dword [ebp - 0x10]
push 0
mov eax, dword [0x1035648c]
push dword [eax]
call sub.KERNEL32.dll_HeapFree
jmp 0x101a2568
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 4
jmp 0x101a2568
lea ebx, [ebp - 0x190]
push ebx
call sub.msvcrt.dll_strlen
add esp, 4
lea ecx, [ebp - 0x30]
push eax
inc eax
mov dword [ebp - 0x10], eax
push ebx
push ecx
call fcn.1002a2f0
add esp, 0xc
cmp dword [ebp - 0x30], 0
jne 0x101a260d
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], ecx
push edi
call sub.msvcrt.dll_strlen
add esp, 4
mov ebx, eax
push eax
inc ebx
push edi
lea eax, [ebp - 0x30]
push eax
call fcn.1002a2f0
add esp, 0xc
cmp dword [ebp - 0x30], 0
jne 0x101a2636
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x64], 0x10353284
mov dword [ebp - 0x60], 3
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x70]
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x78]
mov dword [ebp - 0x2c], 0x101990f0
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], 0x1002d590
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x30]
mov dword [ebp - 0x1c], 0x101990f0
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], 3
lea esi, [ebp - 0x64]
lea eax, [ebp - 0x3c]
push esi
push eax
call fcn.1001ac00
add esp, 8
test ebx, ebx
mov byte [ebp - 0x290], 0
je 0x101a24db
mov eax, dword [0x1035648c]
push edi
push 0
push dword [eax]
call sub.KERNEL32.dll_HeapFree
cmp dword [ebp - 0x10], 0
lea ecx, [ebp - 0x190]
lea edi, [ebp - 0x30]
mov byte [ebp - 0x190], 0
je 0x101a2500
mov eax, dword [0x1035648c]
push ecx
push 0
push dword [eax]
call sub.KERNEL32.dll_HeapFree
movsd xmm0, qword [ebp - 0x3c]
mov eax, dword [ebp - 0x34]
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x30], 0x103532c4
mov dword [ebp - 0x2c], 1
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x38], 0x1019efd0
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], 1
movsd qword [ebp - 0x64], xmm0
mov dword [ebp - 0x5c], eax
push edi
call fcn.1005f950
add esp, 4
cmp dword [ebp - 0x60], 0
je 0x101a255c
mov eax, dword [0x1035648c]
push dword [ebp - 0x64]
push 0
push dword [eax]
call sub.KERNEL32.dll_HeapFree
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov esi, dword [ebp + 8]
mov edx, dword [ebp - 0x14]
mov ecx, esi
push dword [ebp - 0x18]
call fcn.1019d190
add esp, 4
cmp dword [ebp - 0x18], 0
je 0x101a25ab
mov eax, dword [ebp - 0x14]
mov ebx, dword [0x1035648c]
lea edi, [eax + 4]
jmp 0x101a2598
add edi, 0xc
dec dword [ebp - 0x18]
je 0x101a25ab
cmp dword [edi], 0
je 0x101a2590
push dword [edi - 4]
push 0
push dword [ebx]
call sub.KERNEL32.dll_HeapFree
jmp 0x101a2590
cmp dword [ebp - 0x44], 0
je 0x101a25c2
mov eax, dword [0x1035648c]
push dword [ebp - 0x14]
push 0
push dword [eax]
call sub.KERNEL32.dll_HeapFree
mov eax, esi
add esp, 0x284
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x103531ac
push 0x4000
push 0x4020
call fcn.1002a190
add esp, 0xc
jmp 0x101a265d
push esi
push 1
call fcn.1001a7e0
add esp, 8
jmp 0x101a265d
call fcn.1001a7a0
jmp 0x101a265d
push 0x4000
push 1
call fcn.1001a7e0
add esp, 8
jmp 0x101a265d
movsd xmm0, qword [ebp - 0x2c]
movsd qword [ebp - 0x64], xmm0
lea eax, [ebp - 0x64]
push 0x1035329c
push 0x103505c4
push eax
push 0x2b
push str.called__Result::unwrap____on_an__Err__value
call fcn.10026bb0
add esp, 0x14
jmp 0x101a265d
movsd xmm0, qword [ebp - 0x2c]
movsd qword [ebp - 0x64], xmm0
lea eax, [ebp - 0x64]
push 0x103532ac
push 0x103505c4
push eax
push 0x2b
push str.called__Result::unwrap____on_an__Err__value
call fcn.10026bb0
add esp, 0x14
ud2