Function at 0x14017ff40
Capabilities:
Enumerate network shares

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xe8
mov qword [rsp + 0xa0], 0xfffffffffffffffe
mov rcx, qword [rsp + 0xf8]
call fcn.140001a40
cmp eax, 1
jl 0x1401802d8
cmp dword [rsp + 0x100], 1
je 0x14017ffb8
cmp dword [rsp + 0x100], 2
je 0x14017ffb8
cmp dword [rsp + 0x100], 3
je 0x14017ffb8
cmp dword [rsp + 0x100], 4
je 0x14017ffb8
cmp dword [rsp + 0x100], 5
je 0x14017ffb8
cmp dword [rsp + 0x100], 0xb
jne 0x1401802d8
mov rcx, qword [rsp + 0xf0]
add rcx, 0x90
mov rdx, qword [rsp + 0xf8]
call fcn.140002db0
mov r11, qword [rsp + 0xf0]
mov eax, dword [rsp + 0x100]
mov dword [r11 + 0x98], eax
mov rcx, qword [rsp + 0xf0]
add rcx, 0x80
lea rdx, [0x1402419e4]
call fcn.1400020d0
mov rcx, qword [rsp + 0xf8]
call fcn.140001a40
cmp eax, 2
jl 0x1401801cd
cmp dword [rsp + 0x100], 1
jne 0x1401801cd
mov edx, 1
mov rcx, qword [rsp + 0xf8]
call fcn.140006dd0
movzx eax, ax
cmp eax, 0x3a
jne 0x1401801cd
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 1
mov ecx, 1
call sub.MPR.dll_WNetOpenEnumW
test eax, eax
jne 0x1401801cd
mov dword [rsp + 0x4c], 1
mov dword [rsp + 0x48], 0x4000
mov ecx, 0x4000
call fcn.140072250
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x40], rax
mov edx, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
call fcn.140010230
lea r9, [rsp + 0x48]
mov r8, qword [rsp + 0x40]
lea rdx, [rsp + 0x4c]
mov rcx, qword [rsp + 0x38]
call sub.MPR.dll_WNetEnumResourceW
test eax, eax
jne 0x1401801af
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x58], rax
mov rdx, qword [rsp + 0x58]
mov rdx, qword [rdx + 0x10]
lea rcx, [rsp + 0x50]
call fcn.140002100
nop
mov r8d, 2
lea rdx, [rsp + 0x70]
mov rcx, qword [rsp + 0xf8]
call fcn.140006b20
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0xb0], rax
lea rcx, [rsp + 0x50]
call fcn.14000f8f0
mov rdx, rax
mov rcx, qword [rsp + 0xb0]
call fcn.140006180
test eax, eax
jne 0x14018013f
mov dword [rsp + 0xb8], 1
jmp 0x14018014a
mov dword [rsp + 0xb8], 0
movzx eax, byte [rsp + 0xb8]
mov byte [rsp + 0x68], al
lea rcx, [rsp + 0x70]
call fcn.140001490
movzx r11d, byte [rsp + 0x68]
test r11d, r11d
je 0x140180181
mov rdx, qword [rsp + 0x58]
mov rdx, qword [rdx + 0x18]
mov rcx, qword [rsp + 0xf8]
call fcn.1400020d0
mov dword [rsp + 0x4c], 1
mov dword [rsp + 0x48], 0x4000
mov edx, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
call fcn.140010230
nop
lea rcx, [rsp + 0x50]
call fcn.140001490
jmp 0x1401800a5
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x78], rax
mov rcx, qword [rsp + 0x78]
call fcn.140072248
mov rcx, qword [rsp + 0x38]
call sub.MPR.dll_WNetCloseEnum
mov r8d, 2
lea rdx, [rsp + 0x88]
mov rcx, qword [rsp + 0xf8]
call fcn.140006b20
mov qword [rsp + 0xc0], rax
lea rdx, [0x140241d08]
mov rcx, qword [rsp + 0xc0]
call fcn.140006d50
mov byte [rsp + 0x80], al
lea rcx, [rsp + 0x88]
call fcn.140001490
movzx r11d, byte [rsp + 0x80]
test r11d, r11d
je 0x1401802b5
mov r8d, 2
lea rdx, [0x140241a24]
mov rcx, qword [rsp + 0xf8]
call fcn.140006780
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0xffffffff
je 0x1401802b5
mov r9d, dword [rsp + 0x30]
sub r9d, 2
mov r8d, 2
lea rdx, [rsp + 0x90]
mov rcx, qword [rsp + 0xf8]
call fcn.1400022a0
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0xd0], rax
mov rcx, qword [rsp + 0xf0]
add rcx, 0x80
mov rdx, qword [rsp + 0xd0]
call fcn.140002db0
nop
lea rcx, [rsp + 0x90]
call fcn.140001490
mov dword [rsp + 0x98], 0
mov rcx, qword [rsp + 0xf8]
call fcn.140001490
mov eax, dword [rsp + 0x98]
jmp 0x140180335
mov rcx, qword [rsp + 0xf0]
add rcx, 0x90
lea rdx, [0x140241a6c]
call fcn.1400020d0
mov r11, qword [rsp + 0xf0]
mov dword [r11 + 0x98], 0
mov dword [rsp + 0x9c], 3
mov rcx, qword [rsp + 0xf8]
call fcn.140001490
mov eax, dword [rsp + 0x9c]
jmp 0x140180335
add rsp, 0xe8
ret