Function at 0x1419f7470
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.141992920
nop
mov rbx, 0xffffffffffffffff
cmp qword [rbp - 0x11], 3
jl 0x1419f7883
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, [0x14007a0e0]
mov qword [rbp - 0x41], rax
mov rdx, qword [rsi + 0x20]
add rdx, 2
xor r8d, r8d
lea rcx, [rbp - 0x39]
call fcn.141988e80
lea rdi, [0x140001200]
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.141989ec0
lea rcx, [rdi + 4]
mov r8, qword [rsi + 0x20]
test r8, r8
je 0x1419f754a
add r8, r8
mov rdx, qword [rsi + 0x28]
call fcn.141b0ca10
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.141993d90
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 0x1419f75ae
cmp eax, 0xea
jne 0x1419f76d3
mov rdi, qword [rbp - 0x59]
mov r14d, 1
cmp dword [rbp + 0x6f], r14d
jb 0x1419f76d3
cmp dword [rdi + 8], 0
jne 0x1419f76c2
mov r8, rbx
mov rdx, qword [rdi]
lea rcx, [rbp + 0xf]
call fcn.14198daf0
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 0x1419f7633
and dword [rbp + 0x67], 0xffffffef
test rsi, rsi
je 0x1419f7633
mov eax, ebx
lock xadd dword [rsi], eax
cmp eax, 1
jne 0x1419f7633
mov edx, 2
mov r8d, 8
mov rcx, rsi
call fcn.1419a7030
nop
mov eax, dword [rbp + 0x67]
test al, 8
je 0x1419f7667
and dword [rbp + 0x67], 0xfffffff7
mov rcx, qword [rbp + 0xf]
test rcx, rcx
je 0x1419f7667
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1419f7667
mov edx, 2
mov r8d, 8
mov rcx, qword [rbp + 0xf]
call fcn.1419a7030
nop
lea r8, [rbp - 9]
mov rdx, qword [rbp - 0x69]
lea rcx, [rbp - 0x79]
call fcn.141980880
mov rax, qword [rbp - 0x79]
test rax, rax
je 0x1419f7688
mov eax, dword [rax]
cmp eax, 1
jle 0x1419f769a
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x79]
call fcn.141980310
nop
mov rcx, qword [rbp - 9]
test rcx, rcx
je 0x1419f76c2
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1419f76c2
mov edx, 2
mov r8d, 8
mov rcx, qword [rbp - 9]
call fcn.1419a7030
add rdi, 0x18
inc r14d
cmp r14d, dword [rbp + 0x6f]
jbe 0x1419f75c2
mov rcx, qword [rbp - 0x59]
call sub.NETAPI32.dll_NetApiBufferFree
cmp r15d, 0xea
je 0x1419f7561
mov rcx, qword [rbp - 0x39]
test rcx, rcx
je 0x1419f7711
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1419f7711
mov edx, 2
mov r8d, 8
mov rcx, qword [rbp - 0x39]
call fcn.1419a7030
test r15d, r15d
jne 0x1419f7815
cmp qword [rbp - 0x11], 4
jl 0x1419f776d
mov rdx, qword [rbp - 0x19]
mov r8, qword [rdx + 0x30]
mov rdx, qword [rdx + 0x38]
lea rcx, [rbp - 0x39]
call fcn.141988a40
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.1419f81e0
nop
test al, al
jne 0x1419f776d
xor sil, sil
jmp 0x1419f7770
mov sil, 1
test byte [rbp + 0x67], 1
je 0x1419f779f
mov rcx, qword [rbp - 0x39]
test rcx, rcx
je 0x1419f779f
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1419f779f
mov edx, 2
mov r8d, 8
mov rcx, qword [rbp - 0x39]
call fcn.1419a7030
nop
mov rcx, qword [rbp - 0x79]
test rcx, rcx
je 0x1419f7886
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1419f7886
mov rax, qword [rbp - 0x69]
lea rcx, [rax + rax*2]
mov rdi, qword [rbp - 0x71]
lea r14, [rdi + rcx*8]
cmp rdi, r14
je 0x1419f77ff
mov rcx, qword [rdi]
test rcx, rcx
je 0x1419f77f6
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1419f77f6
mov edx, 2
mov r8d, 8
mov rcx, qword [rdi]
call fcn.1419a7030
add rdi, 0x18
cmp rdi, r14
jne 0x1419f77d0
mov edx, 0x18
mov r8d, 8
mov rcx, qword [rbp - 0x79]
call fcn.1419a7030
jmp 0x1419f7886
mov rcx, qword [rbp - 0x79]
test rcx, rcx
je 0x1419f7883
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1419f7883
mov rax, qword [rbp - 0x69]
lea rcx, [rax + rax*2]
mov rdi, qword [rbp - 0x71]
lea rsi, [rdi + rcx*8]
cmp rdi, rsi
je 0x1419f786f
nop
mov rcx, qword [rdi]
test rcx, rcx
je 0x1419f7866
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1419f7866
mov edx, 2
mov r8d, 8
mov rcx, qword [rdi]
call fcn.1419a7030
add rdi, 0x18
cmp rdi, rsi
jne 0x1419f7840
mov edx, 0x18
mov r8d, 8
mov rcx, qword [rbp - 0x79]
call fcn.1419a7030
xor sil, sil
mov rax, qword [rbp - 0x21]
test rax, rax
je 0x1419f78ac
lock xadd dword [rax], ebx
cmp ebx, 1
jne 0x1419f78ac
mov edx, 0x10
mov r8d, 8
mov rcx, qword [rbp - 0x21]
call fcn.1419a7030
movzx eax, sil
add rsp, 0xe0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret