Function at 0x14017a5e0
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.1400019f0
cmp eax, 1
jl 0x14017a968
cmp dword [rsp + 0xf0], 1
je 0x14017a658
cmp dword [rsp + 0xf0], 2
je 0x14017a658
cmp dword [rsp + 0xf0], 3
je 0x14017a658
cmp dword [rsp + 0xf0], 4
je 0x14017a658
cmp dword [rsp + 0xf0], 5
je 0x14017a658
cmp dword [rsp + 0xf0], 0xb
jne 0x14017a968
mov rcx, qword [rsp + 0xe0]
add rcx, 0x90
mov rdx, qword [rsp + 0xe8]
call fcn.140002d20
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, [0x14023ce74]
call fcn.140002060
mov rcx, qword [rsp + 0xe8]
call fcn.1400019f0
cmp eax, 2
jl 0x14017a85d
cmp dword [rsp + 0xf0], 1
jne 0x14017a85d
mov edx, 1
mov rcx, qword [rsp + 0xe8]
call fcn.140006d70
movzx eax, ax
cmp eax, 0x3a
jne 0x14017a85d
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 0x14017a85d
mov dword [rsp + 0x4c], 1
mov dword [rsp + 0x48], 0x4000
mov ecx, 0x4000
call fcn.140071aa8
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.140012e70
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 0x14017a83f
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.140002090
nop
mov r8d, 2
lea rdx, [rsp + 0x70]
mov rcx, qword [rsp + 0xe8]
call fcn.140006ac0
mov qword [rsp + 0xa8], rax
lea rcx, [rsp + 0x50]
call fcn.1400012c0
mov rdx, rax
mov rcx, qword [rsp + 0xa8]
call fcn.140006050
test eax, eax
jne 0x14017a7cf
mov dword [rsp + 0xb0], 1
jmp 0x14017a7da
mov dword [rsp + 0xb0], 0
movzx eax, byte [rsp + 0xb0]
mov byte [rsp + 0x68], al
lea rcx, [rsp + 0x70]
call fcn.140001470
movzx r11d, byte [rsp + 0x68]
test r11d, r11d
je 0x14017a811
mov rdx, qword [rsp + 0x58]
mov rdx, qword [rdx + 0x18]
mov rcx, qword [rsp + 0xe8]
call fcn.140002060
mov dword [rsp + 0x4c], 1
mov dword [rsp + 0x48], 0x4000
mov edx, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
call fcn.140012e70
nop
lea rcx, [rsp + 0x50]
call fcn.140001470
jmp 0x14017a745
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x78], rax
mov rcx, qword [rsp + 0x78]
call fcn.140071ab0
mov rcx, qword [rsp + 0x38]
call sub.MPR.dll_WNetCloseEnum
mov r8d, 2
lea rdx, [rsp + 0x88]
mov rcx, qword [rsp + 0xe8]
call fcn.140006ac0
mov qword [rsp + 0xb8], rax
lea rdx, [0x14023d198]
mov rcx, qword [rsp + 0xb8]
call fcn.140006cf0
mov byte [rsp + 0x80], al
lea rcx, [rsp + 0x88]
call fcn.140001470
movzx r11d, byte [rsp + 0x80]
test r11d, r11d
je 0x14017a945
mov r8d, 2
lea rdx, [0x14023ceb4]
mov rcx, qword [rsp + 0xe8]
call fcn.140006720
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0xffffffff
je 0x14017a945
mov r9d, dword [rsp + 0x30]
sub r9d, 2
mov r8d, 2
lea rdx, [rsp + 0x90]
mov rcx, qword [rsp + 0xe8]
call fcn.140002230
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.140002d20
nop
lea rcx, [rsp + 0x90]
call fcn.140001470
mov dword [rsp + 0x98], 0
mov rcx, qword [rsp + 0xe8]
call fcn.140001470
mov eax, dword [rsp + 0x98]
jmp 0x14017a9c5
mov rcx, qword [rsp + 0xe0]
add rcx, 0x90
lea rdx, [0x14023cefc]
call fcn.140002060
mov r11, qword [rsp + 0xe0]
mov dword [r11 + 0x98], 0
mov dword [rsp + 0x9c], 3
mov rcx, qword [rsp + 0xe8]
call fcn.140001470
mov eax, dword [rsp + 0x9c]
jmp 0x14017a9c5
add rsp, 0xd8
ret