Function at 0x1001f04d
Capabilities:
Enumerate network shares

Disassembly:
push 0x98
mov eax, 0x1005b5fa
call fcn.10040d31
and dword [ebp - 0x2c], 0
push 6
pop edx
lea ebx, [ebp - 0xa4]
call fcn.1002fa07
xor esi, esi
inc esi
mov dword [ebp - 4], esi
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x18]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x1c]
xor ebx, ebx
push eax
push 0x1f6
push ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x34], ebx
call sub.NETAPI32.dll_NetShareEnum
mov dword [ebp - 0x28], eax
cmp eax, ebx
je 0x1001f0b1
cmp eax, 0xea
jne 0x1001f278
mov dword [ebp - 0x20], esi
cmp dword [ebp - 0x18], esi
jb 0x1001f263
mov eax, dword [ebp - 0x1c]
add eax, 0x18
mov dword [ebp - 0x14], eax
cmp dword [eax - 0x14], ebx
jne 0x1001f24e
mov edx, dword [eax]
cmp edx, ebx
je 0x1001f24e
push ebx
push ebx
lea eax, [ebp - 0x6c]
call fcn.10030a94
push edx
lea esi, [ebp - 0x50]
mov byte [ebp - 4], 4
call fcn.100048d8
mov eax, esi
push eax
lea eax, [ebp - 0x88]
push eax
mov byte [ebp - 4], 5
call fcn.10001246
sub esp, 0x10
mov byte [ebp - 4], 6
mov edx, eax
mov esi, esp
mov dword [ebp - 0x24], esp
call fcn.1002fb85
lea eax, [ebp - 0x6c]
push eax
mov edx, str.path
mov byte [ebp - 4], 7
call fcn.10030dc9
mov edi, eax
mov byte [ebp - 4], 6
call fcn.1002fdd8
push ebx
push 1
lea ecx, [ebp - 0x88]
call fcn.10004d05
push ebx
push 1
lea esi, [ebp - 0x50]
mov byte [ebp - 4], 4
call fcn.10004dfd
mov eax, dword [ebp - 0x14]
push dword [eax - 0x18]
lea esi, [ebp - 0x50]
call fcn.100048d8
mov eax, esi
push eax
lea eax, [ebp - 0x88]
push eax
mov byte [ebp - 4], 8
call fcn.10001246
sub esp, 0x10
mov byte [ebp - 4], 9
mov edx, eax
mov esi, esp
mov dword [ebp - 0x24], esp
call fcn.1002fb85
lea eax, [ebp - 0x6c]
push eax
mov edx, str.name
mov byte [ebp - 4], 0xa
call fcn.10030dc9
mov edi, eax
mov byte [ebp - 4], 9
call fcn.1002fdd8
push ebx
push 1
lea ecx, [ebp - 0x88]
call fcn.10004d05
push ebx
push 1
lea esi, [ebp - 0x50]
mov byte [ebp - 4], 4
call fcn.10004dfd
mov eax, dword [ebp - 0x14]
push dword [eax - 0x10]
lea esi, [ebp - 0x50]
call fcn.100048d8
mov eax, esi
push eax
lea eax, [ebp - 0x88]
push eax
mov byte [ebp - 4], 0xb
call fcn.10001246
sub esp, 0x10
mov byte [ebp - 4], 0xc
mov edx, eax
mov esi, esp
mov dword [ebp - 0x24], esp
call fcn.1002fb85
lea eax, [ebp - 0x6c]
push eax
mov edx, str.remark
mov byte [ebp - 4], 0xd
call fcn.10030dc9
mov edi, eax
mov byte [ebp - 4], 0xc
call fcn.1002fdd8
push ebx
push 1
lea ecx, [ebp - 0x88]
call fcn.10004d05
push ebx
push 1
lea esi, [ebp - 0x50]
mov byte [ebp - 4], 4
call fcn.10004dfd
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0xa4]
push eax
call fcn.10030e1a
lea esi, [ebp - 0x6c]
mov byte [ebp - 4], 1
call fcn.1002fd55
mov eax, dword [ebp - 0x14]
xor esi, esi
inc esi
add eax, 0x28
inc dword [ebp - 0x20]
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x14], eax
cmp ecx, dword [ebp - 0x18]
jbe 0x1001f0c6
push dword [ebp - 0x1c]
call sub.NETAPI32.dll_NetApiBufferFree
cmp dword [ebp - 0x28], 0xea
je 0x1001f074
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0xa4]
push eax
call fcn.1003125d
mov dword [ebp - 0x2c], esi
lea esi, [ebp - 0xa4]
mov byte [ebp - 4], bl
call fcn.1002fd55
mov eax, dword [ebp + 8]
call fcn.10040e09
ret