Function at 0x1400329f0
Capabilities:
Enumerate network shares

Disassembly:
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x3fa0]
mov eax, 0x40a0
call fcn.140039d50
sub rsp, rax
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rsp + 0x40e0], rbx
mov qword [rsp + 0x40e8], rsi
mov rax, qword [0x140079258]
xor rax, rsp
mov qword [rbp + 0x3f90], rax
mov rsi, rdx
movzx r14d, cl
lea r12, [0x14007bec0]
mov qword [rsp + 0x68], r12
mov rcx, r12
call fcn.140034ba0
nop
mov rcx, r12
call fcn.140034ba0
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea ecx, [rdx + 1]
call sub.MPR.dll_WNetOpenEnumW
mov ebx, eax
mov rcx, r12
call fcn.140034cd0
test ebx, ebx
jne 0x140032caa
mov qword [rbp - 0x78], 7
xor r15d, r15d
mov qword [rbp - 0x80], r15
mov word [rsp + 0x70], r15w
lea r8d, [rbx + 2]
lea rdx, [0x14005ab90]
lea rcx, [rsp + 0x70]
call fcn.140004610
nop
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rsi
lea rcx, [rsp + 0x70]
call fcn.140009ac0
or rax, 0xffffffffffffffff
mov rcx, qword [rbp - 0x80]
sub rax, rcx
cmp rax, 1
ja 0x140032ae5
lea rcx, str.string_too_long
call fcn.14004b72c
int3
lea rbx, [rcx + 1]
movabs rax, 0x7ffffffffffffffe
cmp rbx, rax
jbe 0x140032b05
lea rcx, str.string_too_long
call fcn.14004b72c
int3
mov rdx, qword [rbp - 0x78]
cmp rdx, rbx
jae 0x140032b20
mov r8, rcx
mov rdx, rbx
lea rcx, [rsp + 0x70]
call fcn.140003f40
jmp 0x140032b3c
test rbx, rbx
jne 0x140032b49
mov qword [rbp - 0x80], r15
lea rax, [rsp + 0x70]
cmp rdx, 8
cmovae rax, qword [rsp + 0x70]
mov word [rax], r15w
mov rcx, qword [rbp - 0x80]
mov rdx, qword [rbp - 0x78]
test rbx, rbx
je 0x140032b7a
lea rax, [rsp + 0x70]
cmp rdx, 8
cmovae rax, qword [rsp + 0x70]
mov edx, 0x5c
mov word [rax + rcx*2], dx
mov qword [rbp - 0x80], rbx
lea rax, [rsp + 0x70]
cmp qword [rbp - 0x78], 8
cmovae rax, qword [rsp + 0x70]
mov word [rax + rbx*2], r15w
lea rcx, [rsp + 0x70]
call fcn.140034a60
nop dword [rax]
nop dword [rax + rax]
mov dword [rsp + 0x30], 0xffffffff
mov dword [rsp + 0x34], 0x4000
mov rbx, qword [rsp + 0x38]
mov rcx, r12
call fcn.140034ba0
lea r9, [rsp + 0x34]
lea r8, [rbp - 0x70]
lea rdx, [rsp + 0x30]
mov rcx, rbx
call sub.MPR.dll_WNetEnumResourceW
mov ebx, eax
mov rcx, r12
call fcn.140034cd0
test ebx, ebx
jne 0x140032c7a
mov edi, r15d
cmp dword [rsp + 0x30], r15d
jbe 0x140032b90
nop
mov eax, edi
lea rcx, [rax + rax*2]
add rcx, rcx
mov rbx, qword [rbp + rcx*8 - 0x58]
cmp qword [rsi + 0x10], 0
je 0x140032c4b
mov qword [rsp + 0x58], 7
mov qword [rsp + 0x50], r15
mov word [rsp + 0x40], r15w
cmp word [rbx], 0
jne 0x140032c14
mov r8, r15
jmp 0x140032c2b
or r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp word [rbx + r8*2], 0
jne 0x140032c20
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.140004610
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x40]
call fcn.140032ce0
test al, al
je 0x140032c69
mov rcx, r12
call fcn.140034ba0
movzx r8d, r14b
xor edx, edx
mov rcx, rbx
call sub.MPR.dll_WNetCancelConnection2W
mov rcx, r12
call fcn.140034cd0
inc edi
cmp edi, dword [rsp + 0x30]
jb 0x140032be0
jmp 0x140032b90
mov rbx, qword [rsp + 0x38]
mov rcx, r12
call fcn.140034ba0
mov rcx, rbx
call sub.MPR.dll_WNetCloseEnum
mov rcx, r12
call fcn.140034cd0
nop
cmp qword [rbp - 0x78], 8
jb 0x140032caa
mov rcx, qword [rsp + 0x70]
call fcn.1400376e4
nop
mov rcx, r12
call fcn.140034cd0
mov rcx, qword [rbp + 0x3f90]
xor rcx, rsp
call fcn.140038d80
lea r11, [rsp + 0x40a0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret