Function at 0x14017a6b0
Capabilities:
Enumerate network shares

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xd8
mov qword [rsp + 0xa0], 0xfffffffffffffffe
mov rcx, qword [rsp + 0xe8]
call fcn.140001a40
cmp eax, 1
jl 0x14017aa38
cmp dword [rsp + 0xf0], 1
je 0x14017a728
cmp dword [rsp + 0xf0], 2
je 0x14017a728
cmp dword [rsp + 0xf0], 3
je 0x14017a728
cmp dword [rsp + 0xf0], 4
je 0x14017a728
cmp dword [rsp + 0xf0], 5
je 0x14017a728
cmp dword [rsp + 0xf0], 0xb
jne 0x14017aa38
mov rcx, qword [rsp + 0xe0]
add rcx, 0x90
mov rdx, qword [rsp + 0xe8]
call fcn.140002d80
mov r11, qword [rsp + 0xe0]
mov eax, dword [rsp + 0xf0]
mov dword [r11 + 0x98], eax
mov rcx, qword [rsp + 0xe0]
add rcx, 0x80
lea rdx, [0x14023be74]
call fcn.1400020a0
mov rcx, qword [rsp + 0xe8]
call fcn.140001a40
cmp eax, 2
jl 0x14017a92d
cmp dword [rsp + 0xf0], 1
jne 0x14017a92d
mov edx, 1
mov rcx, qword [rsp + 0xe8]
call fcn.140006dd0
movzx eax, ax
cmp eax, 0x3a
jne 0x14017a92d
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 0x14017a92d
mov dword [rsp + 0x4c], 1
mov dword [rsp + 0x48], 0x4000
mov ecx, 0x4000
call fcn.140071ab0
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.1400124e0
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 0x14017a90f
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.1400020d0
nop
mov r8d, 2
lea rdx, [rsp + 0x70]
mov rcx, qword [rsp + 0xe8]
call fcn.140006b20
mov qword [rsp + 0xa8], rax
lea rcx, [rsp + 0x50]
call fcn.140023510
mov rdx, rax
mov rcx, qword [rsp + 0xa8]
call fcn.1400060b0
test eax, eax
jne 0x14017a89f
mov dword [rsp + 0xb0], 1
jmp 0x14017a8aa
mov dword [rsp + 0xb0], 0
movzx eax, byte [rsp + 0xb0]
mov byte [rsp + 0x68], al
lea rcx, [rsp + 0x70]
call fcn.140001490
movzx r11d, byte [rsp + 0x68]
test r11d, r11d
je 0x14017a8e1
mov rdx, qword [rsp + 0x58]
mov rdx, qword [rdx + 0x18]
mov rcx, qword [rsp + 0xe8]
call fcn.1400020a0
mov dword [rsp + 0x4c], 1
mov dword [rsp + 0x48], 0x4000
mov edx, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
call fcn.1400124e0
nop
lea rcx, [rsp + 0x50]
call fcn.140001490
jmp 0x14017a815
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x78], rax
mov rcx, qword [rsp + 0x78]
call fcn.140071aa8
mov rcx, qword [rsp + 0x38]
call sub.MPR.dll_WNetCloseEnum
mov r8d, 2
lea rdx, [rsp + 0x88]
mov rcx, qword [rsp + 0xe8]
call fcn.140006b20
mov qword [rsp + 0xb8], rax
lea rdx, [0x14023c198]
mov rcx, qword [rsp + 0xb8]
call fcn.140006d50
mov byte [rsp + 0x80], al
lea rcx, [rsp + 0x88]
call fcn.140001490
movzx r11d, byte [rsp + 0x80]
test r11d, r11d
je 0x14017aa15
mov r8d, 2
lea rdx, [0x14023beb4]
mov rcx, qword [rsp + 0xe8]
call fcn.140006780
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0xffffffff
je 0x14017aa15
mov r9d, dword [rsp + 0x30]
sub r9d, 2
mov r8d, 2
lea rdx, [rsp + 0x90]
mov rcx, qword [rsp + 0xe8]
call fcn.140002270
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0xc8], rax
mov rcx, qword [rsp + 0xe0]
add rcx, 0x80
mov rdx, qword [rsp + 0xc8]
call fcn.140002d80
nop
lea rcx, [rsp + 0x90]
call fcn.140001490
mov dword [rsp + 0x98], 0
mov rcx, qword [rsp + 0xe8]
call fcn.140001490
mov eax, dword [rsp + 0x98]
jmp 0x14017aa95
mov rcx, qword [rsp + 0xe0]
add rcx, 0x90
lea rdx, [0x14023befc]
call fcn.1400020a0
mov r11, qword [rsp + 0xe0]
mov dword [r11 + 0x98], 0
mov dword [rsp + 0x9c], 3
mov rcx, qword [rsp + 0xe8]
call fcn.140001490
mov eax, dword [rsp + 0x9c]
jmp 0x14017aa95
add rsp, 0xd8
ret