Function at 0x14007f1c0
Capabilities:
Enumerate network shares

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xe0
xor r12d, r12d
mov dword [rbp + 0x67], r12d
mov rax, qword [rcx + 0x10]
mov rcx, qword [rcx + 8]
mov qword [rbp - 0x59], rax
mov qword [rbp - 0x51], rcx
mov r8d, 0x5c
mov dword [rsp + 0x20], 1
mov r9d, 1
lea rdx, [rbp - 0x21]
lea rcx, [rbp - 0x59]
call fcn.14001c530
nop
mov rbx, 0xffffffffffffffff
cmp qword [rbp - 0x11], 3
jl 0x14007f5d3
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x79], xmm0
mov qword [rbp - 0x69], r12
mov rsi, qword [rbp - 0x19]
mov qword [rbp - 0x49], 2
lea rax, [0x140214598]
mov qword [rbp - 0x41], rax
mov rdx, qword [rsi + 0x20]
add rdx, 2
xor r8d, r8d
lea rcx, [rbp - 0x39]
call fcn.140012960
lea rdi, [0x14019eac0]
mov rax, qword [rbp - 0x31]
test rax, rax
cmovne rdi, rax
movaps xmm0, xmmword [rbp - 0x49]
movdqa xmmword [rbp - 0x59], xmm0
mov rdx, rdi
lea rcx, [rbp - 0x59]
call fcn.140013b70
lea rcx, [rdi + 4]
mov r8, qword [rsi + 0x20]
test r8, r8
je 0x14007f29a
add r8, r8
mov rdx, qword [rsi + 0x28]
call fcn.140191f10
nop
mov dword [rbp + 0x67], 2
mov dword [rbp + 0x6f], r12d
mov dword [rbp + 0x7f], r12d
mov dword [rbp + 0x77], r12d
mov rsi, qword [rbp + 0x67]
lea rcx, [rbp - 0x39]
call fcn.14001d9a0
mov rcx, rax
lea rax, [rbp + 0x77]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x7f]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x6f]
mov qword [rsp + 0x20], rax
mov r9d, 0xffffffff
lea r8, [rbp - 0x59]
mov edx, 1
call sub.NETAPI32.dll_NetShareEnum
mov r15d, eax
test eax, eax
je 0x14007f2fe
cmp eax, 0xea
jne 0x14007f423
mov rdi, qword [rbp - 0x59]
mov r14d, 1
cmp dword [rbp + 0x6f], r14d
jb 0x14007f423
cmp dword [rdi + 8], 0
jne 0x14007f412
mov r8, rbx
mov rdx, qword [rdi]
lea rcx, [rbp + 0xf]
call fcn.140017720
nop
mov rcx, qword [rax]
mov qword [rbp - 9], rcx
mov rcx, qword [rax + 8]
mov qword [rbp - 1], rcx
mov rcx, qword [rax + 0x10]
mov qword [rbp + 7], rcx
mov qword [rax], r12
mov qword [rax + 8], r12
mov qword [rax + 0x10], r12
mov eax, dword [rbp + 0x67]
or eax, 0x28
mov dword [rbp + 0x67], eax
test al, 0x10
je 0x14007f383
and dword [rbp + 0x67], 0xffffffef
test rsi, rsi
je 0x14007f383
mov eax, ebx
lock xadd dword [rsi], eax
cmp eax, 1
jne 0x14007f383
mov edx, 2
mov r8d, 8
mov rcx, rsi
call fcn.140030bb0
nop
mov eax, dword [rbp + 0x67]
test al, 8
je 0x14007f3b7
and dword [rbp + 0x67], 0xfffffff7
mov rcx, qword [rbp + 0xf]
test rcx, rcx
je 0x14007f3b7
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14007f3b7
mov edx, 2
mov r8d, 8
mov rcx, qword [rbp + 0xf]
call fcn.140030bb0
nop
lea r8, [rbp - 9]
mov rdx, qword [rbp - 0x69]
lea rcx, [rbp - 0x79]
call fcn.14000ad10
mov rax, qword [rbp - 0x79]
test rax, rax
je 0x14007f3d8
mov eax, dword [rax]
cmp eax, 1
jle 0x14007f3ea
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x79]
call fcn.14000a560
nop
mov rcx, qword [rbp - 9]
test rcx, rcx
je 0x14007f412
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14007f412
mov edx, 2
mov r8d, 8
mov rcx, qword [rbp - 9]
call fcn.140030bb0
add rdi, 0x18
inc r14d
cmp r14d, dword [rbp + 0x6f]
jbe 0x14007f312
mov rcx, qword [rbp - 0x59]
call sub.NETAPI32.dll_NetApiBufferFree
cmp r15d, 0xea
je 0x14007f2b1
mov rcx, qword [rbp - 0x39]
test rcx, rcx
je 0x14007f461
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14007f461
mov edx, 2
mov r8d, 8
mov rcx, qword [rbp - 0x39]
call fcn.140030bb0
test r15d, r15d
jne 0x14007f565
cmp qword [rbp - 0x11], 4
jl 0x14007f4bd
mov rdx, qword [rbp - 0x19]
mov r8, qword [rdx + 0x30]
mov rdx, qword [rdx + 0x38]
lea rcx, [rbp - 0x39]
call fcn.140012540
or dword [rbp + 0x67], 0x41
mov rcx, qword [rbp - 0x31]
mov rax, qword [rbp - 0x29]
mov qword [rbp - 0x49], rax
mov qword [rbp - 0x41], rcx
movaps xmm0, xmmword [rbp - 0x49]
movdqa xmmword [rbp - 0x49], xmm0
xor r8d, r8d
lea rdx, [rbp - 0x49]
lea rcx, [rbp - 0x79]
call fcn.140080020
nop
test al, al
jne 0x14007f4bd
xor sil, sil
jmp 0x14007f4c0
mov sil, 1
test byte [rbp + 0x67], 1
je 0x14007f4ef
mov rcx, qword [rbp - 0x39]
test rcx, rcx
je 0x14007f4ef
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14007f4ef
mov edx, 2
mov r8d, 8
mov rcx, qword [rbp - 0x39]
call fcn.140030bb0
nop
mov rcx, qword [rbp - 0x79]
test rcx, rcx
je 0x14007f5d6
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14007f5d6
mov rax, qword [rbp - 0x69]
lea rcx, [rax + rax*2]
mov rdi, qword [rbp - 0x71]
lea r14, [rdi + rcx*8]
cmp rdi, r14
je 0x14007f54f
mov rcx, qword [rdi]
test rcx, rcx
je 0x14007f546
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14007f546
mov edx, 2
mov r8d, 8
mov rcx, qword [rdi]
call fcn.140030bb0
add rdi, 0x18
cmp rdi, r14
jne 0x14007f520
mov edx, 0x18
mov r8d, 8
mov rcx, qword [rbp - 0x79]
call fcn.140030bb0
jmp 0x14007f5d6
mov rcx, qword [rbp - 0x79]
test rcx, rcx
je 0x14007f5d3
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14007f5d3
mov rax, qword [rbp - 0x69]
lea rcx, [rax + rax*2]
mov rdi, qword [rbp - 0x71]
lea rsi, [rdi + rcx*8]
cmp rdi, rsi
je 0x14007f5bf
nop
mov rcx, qword [rdi]
test rcx, rcx
je 0x14007f5b6
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14007f5b6
mov edx, 2
mov r8d, 8
mov rcx, qword [rdi]
call fcn.140030bb0
add rdi, 0x18
cmp rdi, rsi
jne 0x14007f590
mov edx, 0x18
mov r8d, 8
mov rcx, qword [rbp - 0x79]
call fcn.140030bb0
xor sil, sil
mov rax, qword [rbp - 0x21]
test rax, rax
je 0x14007f5fc
lock xadd dword [rax], ebx
cmp ebx, 1
jne 0x14007f5fc
mov edx, 0x10
mov r8d, 8
mov rcx, qword [rbp - 0x21]
call fcn.140030bb0
movzx eax, sil
add rsp, 0xe0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret