Function at 0x140008830
Capabilities:
Enumerate files on windows
Enumerate network shares

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x2a0]
sub rsp, 0x3a0
mov rax, qword [0x14000e398]
xor rax, rsp
mov qword [rbp + 0x290], rax
mov rbx, rcx
mov qword [rsp + 0x48], rcx
mov dword [rsp + 0x58], 0
mov dword [rsp + 0x60], 0
mov dword [rsp + 0x5c], 0
nop dword [rax + rax]
lea rax, [rsp + 0x5c]
or r9d, 0xffffffff
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x50]
lea rax, [rsp + 0x60]
mov edx, 1
mov qword [rsp + 0x28], rax
mov rcx, rbx
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
call sub.NETAPI32.dll_NetShareEnum
mov dword [rsp + 0x40], eax
mov r13d, eax
test eax, eax
je 0x1400088da
cmp eax, 0xea
jne 0x140008bda
mov r15, qword [rsp + 0x50]
mov r12d, 1
cmp dword [rsp + 0x58], r12d
jb 0x140008bc5
mov r13, qword [rsp + 0x48]
nop word [rax + rax]
test dword [r15 + 8], 0x7fffffff
jne 0x140008ba4
mov rcx, qword [r15]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 2
jle 0x140008ba4
mov rcx, qword [r15]
lea rdx, [0x140003c58]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x140008ba4
lea rdx, [0x140003c68]
lea rcx, [rbp + 0x1c0]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
mov rdx, r13
lea rcx, [rbp + 0x1c0]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
lea rdx, [0x140003bd8]
lea rcx, [rbp + 0x1c0]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
mov rdx, qword [r15]
lea rcx, [rbp + 0x1c0]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
xor r8d, r8d
lea rdx, [rbp + 0x1c0]
lea rcx, [0x14000e420]
call fcn.14000cce0
test eax, eax
jne 0x140008a05
nop word [rax + rax]
lea r8, [rsp + 0x64]
xor edx, edx
lea rcx, [0x14000e3d0]
call fcn.14000cc30
mov rbx, rax
test rax, rax
je 0x1400089eb
nop dword [rax + rax]
mov rcx, rbx
call fcn.140007810
mov rcx, rbx
call fcn.14000cb00
lea r8, [rsp + 0x64]
xor edx, edx
lea rcx, [0x14000e3d0]
call fcn.14000cc30
mov rbx, rax
test rax, rax
jne 0x1400089c0
xor r8d, r8d
lea rdx, [rbp + 0x1c0]
lea rcx, [0x14000e420]
call fcn.14000cce0
test eax, eax
je 0x1400089a0
mov ecx, 0x10000
call fcn.14000cad0
mov rsi, rax
test rax, rax
je 0x140008ba4
lea rdx, [rbp + 0x1c0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
lea rdx, [0x140003bd0]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrcatW]
lea rdx, [rsp + 0x70]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov r14, rax
cmp rax, 0xffffffffffffffff
je 0x140008ae1
test byte [rsp + 0x70], 0x10
je 0x140008ac1
xor ebx, ebx
lea rdi, [0x14000e280]
nop word [rax + rax]
mov rdx, qword [rdi]
lea rcx, [rbp - 0x64]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x140008ac1
inc ebx
add rdi, 8
cmp ebx, 0x22
jb 0x140008a70
lea rdx, [rbp + 0x1c0]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
lea rdx, [0x140003bd8]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrcatW]
lea rdx, [rbp - 0x64]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrcatW]
mov rcx, rsi
call fcn.140009320
lea rdx, [rsp + 0x70]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140008a56
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x140008b9c
cmp dword [0x14000e470], 0
je 0x140008b9c
lea rcx, [rbp + 0x1c0]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov qword [rsp + 0x38], 0
lea r8, [rbp + 0x1c0]
mov qword [rsp + 0x30], 0
mov r9d, eax
mov dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0xfde9
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
movsxd rbx, eax
mov rcx, rbx
call fcn.14000cad0
lea rcx, [rbp + 0x1c0]
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea r8, [rbp + 0x1c0]
xor edx, edx
mov r9d, eax
mov ecx, 0xfde9
xor eax, eax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rdx, rdi
lea rcx, [0x140003c40]
mov r8d, eax
call fcn.140005020
mov rcx, rdi
call fcn.14000cb00
mov rcx, rsi
call fcn.14000cb00
add r15, 0x18
inc r12d
cmp r12d, dword [rsp + 0x58]
jbe 0x140008900
mov r15, qword [rsp + 0x50]
mov r13d, dword [rsp + 0x40]
mov rbx, qword [rsp + 0x48]
mov rcx, r15
call sub.NETAPI32.dll_NetApiBufferFree
cmp r13d, 0xea
je 0x140008890
mov rcx, qword [rbp + 0x290]
xor rcx, rsp
call fcn.14000ce70
lea r11, [rsp + 0x3a0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret