Function at 0x1400016b0
Capabilities:
Enumerate network shares

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
push rdi
sub rsp, 0x80
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x70], rax
xor edi, edi
mov qword [r11 - 0x28], rdi
mov qword [r11 - 0x58], rdi
lea rax, [r11 - 0x1c]
mov qword [r11 - 0x60], rax
lea rax, [r11 - 0x20]
mov qword [r11 - 0x68], rax
mov r9d, 0xffffffff
lea r8, [r11 - 0x28]
lea edx, [rdi + 2]
xor ecx, ecx
call qword [sym.imp.NETAPI32.dll_NetShareEnum]
mov ebx, eax
test eax, eax
jne 0x140001891
lea rdx, str.Shared_folders_on_the_local_computer:_n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140001cd0
cmp dword [rsp + 0x68], edi
jbe 0x14000187b
nop dword [rax]
nop dword [rax + rax]
mov eax, edi
imul rbx, rax, 0x38
lea rdx, str.Share_name:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140001cd0
mov rcx, rax
mov rdx, qword [rsp + 0x60]
mov rdx, qword [rbx + rdx]
call fcn.140001cd0
mov rcx, rax
lea rdx, [0x140004490]
call fcn.140001cd0
lea rdx, str.Type:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140001cd0
mov rcx, rax
mov rdx, qword [rsp + 0x60]
mov edx, dword [rbx + rdx + 8]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___unsigned_long_int____ptr64]
mov rcx, rax
lea rdx, [0x140004490]
call fcn.140001cd0
lea rdx, str.Remark:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140001cd0
mov rcx, rax
mov rdx, qword [rsp + 0x60]
mov rdx, qword [rbx + rdx + 0x10]
call fcn.140001cd0
mov rcx, rax
lea rdx, [0x140004490]
call fcn.140001cd0
lea rdx, str.Path:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140001cd0
mov rcx, rax
mov rdx, qword [rsp + 0x60]
mov rdx, qword [rbx + rdx + 0x28]
call fcn.140001cd0
mov rcx, rax
lea rdx, [0x140004490]
call fcn.140001cd0
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001ef0
mov rdx, qword [rsp + 0x60]
mov rdx, qword [rbx + rdx + 0x28]
lea rcx, [rsp + 0x40]
call fcn.140001980
nop
lea rcx, [rsp + 0x40]
call fcn.1400011c0
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 7
jbe 0x14000186f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000186a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000188a
call fcn.1400024ec
inc edi
cmp edi, dword [rsp + 0x68]
jb 0x140001730
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.NETAPI32.dll_NetApiBufferFree]
xor eax, eax
jmp 0x1400018c3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
lea rdx, str.Error:_Unable_to_retrieve_shared_folder_information._Error_code:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcerr]
call fcn.140001cd0
mov rcx, rax
mov edx, ebx
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___unsigned_long_int____ptr64]
mov rcx, rax
lea rdx, [0x140004490]
call fcn.140001cd0
mov eax, 1
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140002490
mov rbx, qword [rsp + 0x90]
add rsp, 0x80
pop rdi
ret