Function at 0x140023ae0
Capabilities:
Enumerate network shares

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xe8
mov qword [rsp + 0xb0], 0xfffffffffffffffe
mov rax, qword [0x14019cfa0]
xor rax, rsp
mov qword [rsp + 0xd8], rax
mov dword [rsp + 0x44], 0x4000
mov dword [rsp + 0x48], 0xffffffff
cmp qword [rsp + 0x100], 0
je 0x140023b76
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0x70], rax
cmp qword [rsp + 0xf0], 0
je 0x140023b5a
mov rax, qword [rsp + 0xf0]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x58], rax
jmp 0x140023b66
lea rax, [0x14013d280]
mov qword [rsp + 0x58], rax
mov rdx, qword [rsp + 0x58]
lea rcx, [0x14013d2a0]
call qword [rsp + WSAStartup]
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0xf0]
xor r8d, r8d
xor edx, edx
mov ecx, 2
call sub.MPR.dll_WNetOpenEnumW
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
je 0x140023bd0
cmp qword [rsp + 0x100], 0
je 0x140023bc9
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0x78], rax
mov edx, dword [rsp + 0x50]
lea rcx, [0x14013d2e0]
call qword [rsp + 0x78]
xor eax, eax
jmp 0x140023f2f
mov eax, dword [rsp + 0x44]
mov edx, eax
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jne 0x140023c26
cmp qword [rsp + 0x100], 0
je 0x140023c1f
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0x80], rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [0x14013d330]
call qword [rsp + 0x80]
xor eax, eax
jmp 0x140023f2f
mov eax, dword [rsp + 0x44]
mov r8d, eax
xor edx, edx
mov rcx, qword [rsp + 0x38]
call fcn.1400e17c0
lea r9, [rsp + 0x44]
mov r8, qword [rsp + 0x38]
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0x68]
call sub.MPR.dll_WNetEnumResourceW
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0x103
jne 0x140023cbd
cmp qword [rsp + 0x100], 0
je 0x140023cb8
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0x88], rax
cmp qword [rsp + 0xf0], 0
je 0x140023c99
mov rax, qword [rsp + 0xf0]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x60], rax
jmp 0x140023ca5
lea rax, [0x14013d398]
mov qword [rsp + 0x60], rax
mov rdx, qword [rsp + 0x60]
lea rcx, [0x14013d3b8]
call qword [rsp + 0x88]
jmp 0x140023f15
cmp dword [rsp + 0x40], 0
je 0x140023d04
cmp dword [rsp + 0x40], 0xea
je 0x140023d04
cmp qword [rsp + 0x100], 0
je 0x140023cff
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0x90], rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [0x14013d3e8]
call qword [rsp + 0x90]
jmp 0x140023f15
cmp dword [rsp + 0x48], 0xffffffff
jne 0x140023d39
cmp qword [rsp + 0x100], 0
je 0x140023d34
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0x98], rax
lea rcx, [0x14013d428]
call qword [rsp + 0x98]
jmp 0x140023f15
mov dword [rsp + 0x30], 0
jmp 0x140023d4d
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x48]
cmp dword [rsp + 0x30], eax
jae 0x140023f07
mov eax, dword [rsp + 0x30]
imul rax, rax, 0x30
mov rcx, qword [rsp + 0x38]
mov eax, dword [rcx + rax + 8]
mov dword [rsp + 0x4c], eax
cmp dword [rsp + 0x4c], 1
je 0x140023e9c
cmp dword [rsp + 0x4c], 2
je 0x140023d92
cmp dword [rsp + 0x4c], 6
je 0x140023e9c
jmp 0x140023f02
mov dword [rsp + 0x54], 0
mov eax, dword [rsp + 0x30]
imul rax, rax, 0x30
mov r8d, 2
lea rdx, [0x14013d2d8]
mov rcx, qword [rsp + 0x38]
mov rcx, qword [rcx + rax + 0x18]
call fcn.1400e9870
test eax, eax
jne 0x140023dca
mov dword [rsp + 0x54], 2
mov eax, dword [rsp + 0x30]
imul rax, rax, 0x30
movsxd rcx, dword [rsp + 0x54]
mov rdx, qword [rsp + 0x38]
mov rax, qword [rdx + rax + 0x18]
lea rax, [rax + rcx*2]
mov rdx, rax
lea rcx, [rsp + 0xb8]
call fcn.14000c220
nop
cmp qword [rsp + 0x100], 0
je 0x140023e2f
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0xa0], rax
lea rcx, [rsp + 0xb8]
call fcn.140006930
mov rdx, rax
lea rcx, [0x14013d468]
call qword [rsp + 0xa0]
lea rdx, [0x14013c194]
lea rcx, [rsp + 0xb8]
call fcn.14000c140
mov eax, dword [rsp + 0x30]
imul rax, rax, 0x30
mov rcx, qword [rsp + 0x38]
cmp qword [rcx + rax + 0x20], 0
je 0x140023e77
mov eax, dword [rsp + 0x30]
imul rax, rax, 0x30
mov rcx, qword [rsp + 0x38]
mov rdx, qword [rcx + rax + 0x20]
lea rcx, [rsp + 0xb8]
call fcn.14000c140
lea rdx, [rsp + 0xb8]
mov rcx, qword [rsp + 0xf8]
call fcn.140018240
nop
lea rcx, [rsp + 0xb8]
call fcn.14000a510
jmp 0x140023f02
cmp qword [rsp + 0x100], 0
je 0x140023ed7
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0xa8], rax
mov eax, dword [rsp + 0x30]
imul rax, rax, 0x30
mov rcx, qword [rsp + 0x38]
mov rdx, qword [rcx + rax + 0x18]
lea rcx, [0x14013d490]
call qword [rsp + 0xa8]
mov eax, dword [rsp + 0x30]
imul rax, rax, 0x30
mov rcx, qword [rsp + 0x38]
add rcx, rax
mov rax, rcx
mov r8, qword [rsp + 0x100]
mov rdx, qword [rsp + 0xf8]
mov rcx, rax
call fcn.140023ae0
jmp 0x140023d43
cmp dword [rsp + 0x40], 0x103
jne 0x140023c26
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rcx, qword [rsp + 0x68]
call sub.MPR.dll_WNetCloseEnum
mov eax, 1
mov rcx, qword [rsp + 0xd8]
xor rcx, rsp
call fcn.1400dbfd0
add rsp, 0xe8
ret