Function at 0x14013faa0
Capabilities:
Enumerate network shares

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x68]
sub rsp, 0x168
xor ebx, ebx
mov dword [rbp + 0xb0], ebx
mov rax, qword [rcx + 0x10]
mov rcx, qword [rcx + 8]
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rcx
lea r8d, [rbx + 0x5c]
mov dword [rsp + 0x20], 1
lea r9d, [rbx + 1]
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x20]
call fcn.140093110
nop
lea r14, [rbx - 1]
cmp qword [rbp - 0x70], 3
jl 0x14014007f
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rbx
mov rbx, qword [rbp - 0x78]
mov qword [rbp - 0x10], 2
lea rax, [0x1402ca580]
mov qword [rbp - 8], rax
mov rdx, qword [rbx + 0x20]
add rdx, 2
xor r8d, r8d
lea rcx, [rbp - 0x50]
call fcn.140087250
mov rdi, qword [rbp - 0x48]
movaps xmm0, xmmword [rbp - 0x10]
movdqa xmmword [rbp + 0x20], xmm0
mov rdx, rdi
lea rcx, [rbp + 0x20]
call fcn.140088600
mov r8, qword [rbx + 0x20]
test r8, r8
je 0x14013fb6a
add r8, r8
mov rdx, qword [rbx + 0x28]
lea rcx, [rdi + 4]
call fcn.140240000
nop
mov dword [rbp + 0xb0], 2
xor ebx, ebx
mov dword [rbp + 0xb8], ebx
mov dword [rbp + 0xc8], ebx
mov dword [rbp + 0xc0], ebx
mov rdi, qword [rbp + 0xb0]
nop
lea rcx, [rbp - 0x50]
call fcn.140094f50
mov rcx, rax
lea rax, [rbp + 0xc0]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0xc8]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0xb8]
mov qword [rsp + 0x20], rax
mov r9d, 0xffffffff
lea r8, [rsp + 0x78]
mov edx, 1
call sub.NETAPI32.dll_NetShareEnum
mov r13d, eax
mov dword [rsp + 0x70], eax
test eax, eax
je 0x14013fbeb
cmp eax, 0xea
jne 0x14013fef6
mov rsi, qword [rsp + 0x78]
mov r12d, 1
mov ecx, dword [rbp + 0xb8]
cmp ecx, r12d
jb 0x14013fef6
movabs r13, 0x2aaaaaaaaaaaaaab
nop
cmp dword [rsi + 8], 0
jne 0x14013fee1
mov r8, r14
mov rdx, qword [rsi]
lea rcx, [rbp + 0x40]
call fcn.14008e230
nop
mov rcx, qword [rax]
mov qword [rsp + 0x58], rcx
mov rcx, qword [rax + 8]
mov qword [rsp + 0x60], rcx
mov rcx, qword [rax + 0x10]
mov qword [rsp + 0x68], rcx
mov qword [rax], rbx
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbx
mov eax, dword [rbp + 0xb0]
or eax, 0x28
mov dword [rbp + 0xb0], eax
test al, 0x10
je 0x14013fc83
and dword [rbp + 0xb0], 0xffffffef
test rdi, rdi
je 0x14013fc83
mov eax, r14d
lock xadd dword [rdi], eax
cmp eax, 1
jne 0x14013fc83
mov rcx, rdi
call fcn.14021b810
nop
mov eax, dword [rbp + 0xb0]
test al, 8
je 0x14013fcb3
and dword [rbp + 0xb0], 0xfffffff7
mov rcx, qword [rbp + 0x40]
test rcx, rcx
je 0x14013fcb3
mov eax, r14d
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14013fcb3
mov rcx, qword [rbp + 0x40]
call fcn.14021b810
nop
mov r15, qword [rsp + 0x50]
mov r8, qword [rsp + 0x40]
test r8, r8
je 0x14013fd8c
mov eax, dword [r8]
mov r8, qword [rsp + 0x40]
cmp eax, 1
jg 0x14013fd8c
lea rax, [r8 + 0x17]
and rax, 0xfffffffffffffff8
mov r9, qword [rsp + 0x48]
mov rcx, r9
sub rcx, rax
mov rax, r13
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov rax, qword [r8 + 8]
sub rax, rdx
mov rcx, qword [rsp + 0x50]
cmp rax, rcx
je 0x14013fd49
lea rax, [rcx + rcx*2]
lea rcx, [r9 + rax*8]
mov rax, qword [rsp + 0x58]
mov qword [rcx], rax
mov rax, qword [rsp + 0x60]
mov qword [rcx + 8], rax
mov rax, qword [rsp + 0x68]
mov qword [rcx + 0x10], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], rbx
inc qword [rsp + 0x50]
jmp 0x14013feb7
test rcx, rcx
jne 0x14013fd8c
test rdx, rdx
je 0x14013fd8c
mov rax, qword [rsp + 0x58]
mov qword [r9 - 0x18], rax
mov rax, qword [rsp + 0x60]
mov qword [r9 - 0x10], rax
mov rax, qword [rsp + 0x68]
mov qword [r9 - 8], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], rbx
sub qword [rsp + 0x48], 0x18
inc qword [rsp + 0x50]
jmp 0x14013feb7
movups xmm0, xmmword [rsp + 0x58]
movups xmmword [rbp - 0x68], xmm0
movsd xmm1, qword [rsp + 0x68]
movsd qword [rbp - 0x58], xmm1
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], rbx
test r8, r8
je 0x14013fe5d
mov eax, dword [r8]
cmp eax, 1
jg 0x14013fe5d
mov r8, qword [rsp + 0x40]
lea rax, [r8 + 0x17]
and rax, 0xfffffffffffffff8
mov r9, qword [rsp + 0x48]
mov rcx, r9
sub rcx, rax
mov rax, r13
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov rcx, qword [r8 + 8]
mov rax, rcx
sub rax, rdx
mov r8, qword [rsp + 0x50]
sub rax, r8
cmp rax, 1
jge 0x14013fe7a
cmp rdx, 1
jl 0x14013fe5d
add rcx, rcx
lea rax, [r8 + r8*2]
cmp rax, rcx
jge 0x14013fe5d
lea rax, [rdx + rdx*2]
shl rax, 3
mov rbx, r9
sub rbx, rax
test r8, r8
je 0x14013fe53
cmp r9, rbx
je 0x14013fe53
test r9, r9
je 0x14013fe53
test rbx, rbx
je 0x14013fe53
lea r8, [r8 + r8*2]
shl r8, 3
mov rdx, r9
mov rcx, rbx
call fcn.140240000
mov r8, qword [rsp + 0x50]
mov r9, rbx
mov qword [rsp + 0x48], rbx
jmp 0x14013fe7a
xor r9d, r9d
xor edx, edx
lea r8d, [r9 + 1]
lea rcx, [rsp + 0x40]
call fcn.14003a8f0
mov r8, qword [rsp + 0x50]
mov r9, qword [rsp + 0x48]
lea rax, [r15 + r15*2]
lea rbx, [r9 + rax*8]
sub r8, r15
lea r8, [r8 + r8*2]
shl r8, 3
lea rcx, [rbx + 0x18]
mov rdx, rbx
call fcn.140240000
mov rax, qword [rbp - 0x68]
mov qword [rbx], rax
mov rax, qword [rbp - 0x60]
mov qword [rbx + 8], rax
mov rax, qword [rbp - 0x58]
mov qword [rbx + 0x10], rax
inc qword [rsp + 0x50]
xor ebx, ebx
mov rax, qword [rsp + 0x40]
test rax, rax
je 0x14013fec8
mov eax, dword [rax]
cmp eax, 1
jle 0x14013fedb
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x40]
call fcn.14003a8f0
nop
mov ecx, dword [rbp + 0xb8]
add rsi, 0x18
inc r12d
cmp r12d, ecx
jbe 0x14013fc10
mov r13d, dword [rsp + 0x70]
mov rcx, qword [rsp + 0x78]
call sub.NETAPI32.dll_NetApiBufferFree
cmp r13d, 0xea
je 0x14013fb90
mov rcx, qword [rbp - 0x50]
test rcx, rcx
je 0x14013ff2b
mov eax, r14d
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14013ff2b
mov rcx, qword [rbp - 0x50]
call fcn.14021b810
test r13d, r13d
jne 0x140140021
cmp qword [rbp - 0x70], 4
jl 0x14013ff8b
mov rdx, qword [rbp - 0x78]
mov r8, qword [rdx + 0x30]
mov rdx, qword [rdx + 0x38]
lea rcx, [rbp - 0x38]
call fcn.140086f70
or dword [rbp + 0xb0], 0x41
mov rcx, qword [rbp - 0x30]
mov rax, qword [rbp - 0x28]
mov qword [rbp], rax
mov qword [rbp + 8], rcx
movaps xmm0, xmmword [rbp]
movdqa xmmword [rbp + 0x30], xmm0
xor r8d, r8d
lea rdx, [rbp + 0x30]
lea rcx, [rsp + 0x40]
call fcn.140141d10
nop
test al, al
jne 0x14013ff8b
xor dil, dil
jmp 0x14013ff8e
mov dil, 1
test byte [rbp + 0xb0], 1
je 0x14013ffb6
mov rcx, qword [rbp - 0x38]
test rcx, rcx
je 0x14013ffb6
mov eax, r14d
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14013ffb6
mov rcx, qword [rbp - 0x38]
call fcn.14021b810
nop
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x140140082
mov eax, r14d
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140140082
mov rax, qword [rsp + 0x50]
lea rcx, [rax + rax*2]
mov rbx, qword [rsp + 0x48]
lea rsi, [rbx + rcx*8]
cmp rbx, rsi
je 0x140140015
nop dword [rax + rax]
mov rcx, qword [rbx]
test rcx, rcx
je 0x14014000c
mov eax, r14d
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14014000c
mov rcx, qword [rbx]
call fcn.14021b810
add rbx, 0x18
cmp rbx, rsi
jne 0x14013fff0
mov rcx, qword [rsp + 0x40]
call fcn.14021b810
jmp 0x140140082
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14014007f
mov eax, r14d
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14014007f
mov rax, qword [rsp + 0x50]
lea rcx, [rax + rax*2]
mov rbx, qword [rsp + 0x48]
lea rdi, [rbx + rcx*8]
cmp rbx, rdi
je 0x140140075
nop
mov rcx, qword [rbx]
test rcx, rcx
je 0x14014006c
mov eax, r14d
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14014006c
mov rcx, qword [rbx]
call fcn.14021b810
add rbx, 0x18
cmp rbx, rdi
jne 0x140140050
mov rcx, qword [rsp + 0x40]
call fcn.14021b810
xor dil, dil
mov rax, qword [rbp - 0x80]
test rax, rax
je 0x14014009f
lock xadd dword [rax], r14d
cmp r14d, 1
jne 0x14014009f
mov rcx, qword [rbp - 0x80]
call fcn.14021b810
movzx eax, dil
add rsp, 0x168
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret