Function at 0x140184980
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.1400019a0
cmp eax, 1
jl 0x140184d08
cmp dword [rsp + 0xf0], 1
je 0x1401849f8
cmp dword [rsp + 0xf0], 2
je 0x1401849f8
cmp dword [rsp + 0xf0], 3
je 0x1401849f8
cmp dword [rsp + 0xf0], 4
je 0x1401849f8
cmp dword [rsp + 0xf0], 5
je 0x1401849f8
cmp dword [rsp + 0xf0], 0xb
jne 0x140184d08
mov rcx, qword [rsp + 0xe0]
add rcx, 0x90
mov rdx, qword [rsp + 0xe8]
call fcn.140002ce0
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, [0x140252c4c]
call fcn.140002020
mov rcx, qword [rsp + 0xe8]
call fcn.1400019a0
cmp eax, 2
jl 0x140184bfd
cmp dword [rsp + 0xf0], 1
jne 0x140184bfd
mov edx, 1
mov rcx, qword [rsp + 0xe8]
call fcn.140006e50
movzx eax, ax
cmp eax, 0x3a
jne 0x140184bfd
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 0x140184bfd
mov dword [rsp + 0x4c], 1
mov dword [rsp + 0x48], 0x4000
mov ecx, 0x4000
call fcn.140073290
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.1400118c0
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 0x140184bdf
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.140002050
nop
mov r8d, 2
lea rdx, [rsp + 0x70]
mov rcx, qword [rsp + 0xe8]
call fcn.140006ba0
mov qword [rsp + 0xa8], rax
lea rcx, [rsp + 0x50]
call fcn.140050200
mov rdx, rax
mov rcx, qword [rsp + 0xa8]
call fcn.140006130
test eax, eax
jne 0x140184b6f
mov dword [rsp + 0xb0], 1
jmp 0x140184b7a
mov dword [rsp + 0xb0], 0
movzx eax, byte [rsp + 0xb0]
mov byte [rsp + 0x68], al
lea rcx, [rsp + 0x70]
call fcn.140007060
movzx r11d, byte [rsp + 0x68]
test r11d, r11d
je 0x140184bb1
mov rdx, qword [rsp + 0x58]
mov rdx, qword [rdx + 0x18]
mov rcx, qword [rsp + 0xe8]
call fcn.140002020
mov dword [rsp + 0x4c], 1
mov dword [rsp + 0x48], 0x4000
mov edx, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
call fcn.1400118c0
nop
lea rcx, [rsp + 0x50]
call fcn.140007060
jmp 0x140184ae5
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x78], rax
mov rcx, qword [rsp + 0x78]
call fcn.140073288
mov rcx, qword [rsp + 0x38]
call sub.MPR.dll_WNetCloseEnum
mov r8d, 2
lea rdx, [rsp + 0x88]
mov rcx, qword [rsp + 0xe8]
call fcn.140006ba0
mov qword [rsp + 0xb8], rax
lea rdx, [0x140253180]
mov rcx, qword [rsp + 0xb8]
call fcn.140006dd0
mov byte [rsp + 0x80], al
lea rcx, [rsp + 0x88]
call fcn.140007060
movzx r11d, byte [rsp + 0x80]
test r11d, r11d
je 0x140184ce5
mov r8d, 2
lea rdx, [0x140252e54]
mov rcx, qword [rsp + 0xe8]
call fcn.140006800
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0xffffffff
je 0x140184ce5
mov r9d, dword [rsp + 0x30]
sub r9d, 2
mov r8d, 2
lea rdx, [rsp + 0x90]
mov rcx, qword [rsp + 0xe8]
call fcn.1400021f0
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.140002ce0
nop
lea rcx, [rsp + 0x90]
call fcn.140007060
mov dword [rsp + 0x98], 0
mov rcx, qword [rsp + 0xe8]
call fcn.140007060
mov eax, dword [rsp + 0x98]
jmp 0x140184d65
mov rcx, qword [rsp + 0xe0]
add rcx, 0x90
lea rdx, [0x140252e9c]
call fcn.140002020
mov r11, qword [rsp + 0xe0]
mov dword [r11 + 0x98], 0
mov dword [rsp + 0x9c], 3
mov rcx, qword [rsp + 0xe8]
call fcn.140007060
mov eax, dword [rsp + 0x9c]
jmp 0x140184d65
add rsp, 0xd8
ret