Function at 0x1401626e0
Capabilities:
Enumerate network shares

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x3d0]
sub rsp, 0x4d0
mov rax, qword [0x1402a76c0]
xor rax, rsp
mov qword [rbp + 0x3c0], rax
mov r14, rdx
lea rdx, str.CBaseOSSpecTypeWin2K::ShareEnum
lea rcx, [rsp + 0x60]
call fcn.14001abe0
nop
lea r12, [0x1402a8360]
lea rsi, [0x1402bbdb0]
mov rcx, qword [0x1402a8360]
cmp rcx, r12
je 0x14016276f
test byte [rcx + 0x1c], 1
je 0x14016276f
mov r9, rsi
cmp qword [0x1402bbdc8], 8
cmovae r9, qword [0x1402bbdb0]
mov edx, 0x7c
lea r8, [0x140265800]
mov rcx, qword [rcx + 0x10]
call fcn.140001ad0
xor r15d, r15d
mov qword [rsp + 0x50], r15
mov dword [rsp + 0x40], r15d
mov dword [rsp + 0x48], r15d
mov dword [rsp + 0x44], r15d
xor edx, edx
mov r8d, 0x410
lea rcx, [rbp - 0x50]
call fcn.1401e7e40
xor edx, edx
lea r8, [r15 - 1]
mov rcx, r14
call fcn.1401c921c
nop word [rax + rax]
lea rax, [rsp + 0x44]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 0xffffffff
lea r8, [rsp + 0x50]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.NETAPI32.dll_NetShareEnum]
mov edi, eax
mov rcx, qword [0x1402a8360]
cmp rcx, r12
je 0x140162823
test byte [rcx + 0x1c], 4
je 0x140162823
mov r9, rsi
cmp qword [0x1402bbdc8], 8
cmovae r9, qword [0x1402bbdb0]
mov edx, 0x7d
mov dword [rsp + 0x20], eax
lea r8, [0x140265800]
mov rcx, qword [rcx + 0x10]
call fcn.140001b40
mov ebx, r15d
cmp edi, 0x842
jne 0x1401628c3
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rax, [rsp + 0x44]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 0xffffffff
lea r8, [rsp + 0x50]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.NETAPI32.dll_NetShareEnum]
mov edi, eax
mov rcx, qword [0x1402a8360]
cmp rcx, r12
je 0x1401628b0
test byte [rcx + 0x1c], 4
je 0x1401628b0
mov r9, rsi
cmp qword [0x1402bbdc8], 8
cmovae r9, qword [0x1402bbdb0]
mov edx, 0x7e
mov dword [rsp + 0x20], eax
lea r8, [0x140265800]
mov rcx, qword [rcx + 0x10]
call fcn.140001b40
inc ebx
cmp ebx, 0x32
jge 0x1401628c3
cmp edi, 0x842
je 0x140162832
test edi, edi
je 0x1401628d3
cmp edi, 0xea
jne 0x140162a5b
mov ebx, r15d
cmp dword [rsp + 0x40], ebx
jbe 0x140162954
mov eax, ebx
mov r8, qword [rsp + 0x50]
mov r8, qword [r8 + rax*8]
mov edx, 0x208
lea rcx, [rbp - 0x50]
call fcn.1401ebfa8
mov rcx, qword [0x1402a8360]
cmp rcx, r12
je 0x14016293c
test byte [rcx + 0x1c], 4
je 0x14016293c
mov r9, rsi
cmp qword [0x1402bbdc8], 8
cmovae r9, qword [0x1402bbdb0]
mov edx, 0x80
lea rax, [rbp - 0x50]
mov qword [rsp + 0x20], rax
lea r8, [0x140265800]
mov rcx, qword [rcx + 0x10]
call fcn.140006c90
lea r8, [rbp - 0x50]
mov rdx, qword [r14 + 0x10]
mov rcx, r14
call fcn.1401c91a0
inc ebx
cmp ebx, dword [rsp + 0x40]
jb 0x1401628e0
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.NETAPI32.dll_NetApiBufferFree]
cmp edi, 0xea
je 0x1401627b0
mov byte [rsp + 0x68], 1
mov rax, qword [0x1402a8360]
cmp rax, r12
je 0x1401629b9
test byte [rax + 0x1c], 1
je 0x1401629b9
mov r9, rsi
cmp qword [0x1402bbdc8], 8
cmovae r9, qword [0x1402bbdb0]
mov edx, 0x81
mov dword [rsp + 0x20], 1
lea r8, [0x140265800]
mov rcx, qword [rax + 0x10]
call fcn.140001b40
mov rax, qword [0x1402a8360]
mov r15d, 1
lea rcx, vtable.WppTrace.0
mov qword [rsp + 0x60], rcx
cmp byte [rsp + 0x68], 0
jne 0x140162a1a
cmp rax, r12
je 0x140162a1a
test byte [rax + 0x1c], 1
je 0x140162a1a
lea rcx, [rsp + 0x70]
cmp qword [rbp - 0x78], 8
cmovae rcx, qword [rsp + 0x70]
cmp qword [0x1402bbdc8], 8
cmovae rsi, qword [0x1402bbdb0]
mov edx, 0xa
mov qword [rsp + 0x20], rcx
mov r9, rsi
lea r8, [0x140252818]
mov rcx, qword [rax + 0x10]
call fcn.140006c90
lea rcx, [rbp - 0x70]
call fcn.1400048a0
lea rcx, [rsp + 0x70]
call fcn.1400048a0
mov eax, r15d
mov rcx, qword [rbp + 0x3c0]
xor rcx, rsp
call fcn.1401e2900
lea r11, [rsp + 0x4d0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.NETAPI32.dll_NetApiBufferFree]
mov rax, qword [0x1402a8360]
cmp rax, r12
je 0x1401629bf
test byte [rax + 0x1c], 2
je 0x1401629bf
mov r9, rsi
cmp qword [0x1402bbdc8], 8
cmovae r9, qword [0x1402bbdb0]
mov edx, 0x7f
mov dword [rsp + 0x28], edi
lea rcx, str._t_t_tNetShareEnum
mov qword [rsp + 0x20], rcx
lea r8, [0x140265800]
mov rcx, qword [rax + 0x10]
call fcn.140047db0
mov rax, qword [0x1402a8360]
jmp 0x1401629bf