Function at 0x140032740
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 [0x1403c6400]
xor rax, rsp
mov qword [rsp + 0xd8], rax
mov dword [rsp + 0x44], 0x4000
mov dword [rsp + 0x48], 0xffffffff
cmp qword [rsp + 0x100], 0
je 0x1400327d6
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0x70], rax
cmp qword [rsp + 0xf0], 0
je 0x1400327ba
mov rax, qword [rsp + 0xf0]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x58], rax
jmp 0x1400327c6
lea rax, [0x1402e36b0]
mov qword [rsp + 0x58], rax
mov rdx, qword [rsp + 0x58]
lea rcx, str.Starting_enumeration_of__s
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 0x140032830
cmp qword [rsp + 0x100], 0
je 0x140032829
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0x78], rax
mov edx, dword [rsp + 0x50]
lea rcx, str.Failed_to_create_enumeration___error__u
call qword [rsp + 0x78]
xor eax, eax
jmp 0x140032b8f
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 0x140032886
cmp qword [rsp + 0x100], 0
je 0x14003287f
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0x80], rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Failed_to_create_memory_for_enumeration___error__u
call qword [rsp + 0x80]
xor eax, eax
jmp 0x140032b8f
mov eax, dword [rsp + 0x44]
mov r8d, eax
xor edx, edx
mov rcx, qword [rsp + 0x38]
call fcn.140268ee0
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 0x14003291d
cmp qword [rsp + 0x100], 0
je 0x140032918
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0x88], rax
cmp qword [rsp + 0xf0], 0
je 0x1400328f9
mov rax, qword [rsp + 0xf0]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x60], rax
jmp 0x140032905
lea rax, str.network_root
mov qword [rsp + 0x60], rax
mov rdx, qword [rsp + 0x60]
lea rcx, str.Found_all_items_for__s
call qword [rsp + 0x88]
jmp 0x140032b75
cmp dword [rsp + 0x40], 0
je 0x140032964
cmp dword [rsp + 0x40], 0xea
je 0x140032964
cmp qword [rsp + 0x100], 0
je 0x14003295f
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0x90], rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Failed_to_enumerate___error__u
call qword [rsp + 0x90]
jmp 0x140032b75
cmp dword [rsp + 0x48], 0xffffffff
jne 0x140032999
cmp qword [rsp + 0x100], 0
je 0x140032994
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0x98], rax
lea rcx, str.Enumeration_found_no_results
call qword [rsp + 0x98]
jmp 0x140032b75
mov dword [rsp + 0x30], 0
jmp 0x1400329ad
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x48]
cmp dword [rsp + 0x30], eax
jae 0x140032b67
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 0x140032afc
cmp dword [rsp + 0x4c], 2
je 0x1400329f2
cmp dword [rsp + 0x4c], 6
je 0x140032afc
jmp 0x140032b62
mov dword [rsp + 0x54], 0
mov eax, dword [rsp + 0x30]
imul rax, rax, 0x30
mov r8d, 2
lea rdx, [0x1402e3708]
mov rcx, qword [rsp + 0x38]
mov rcx, qword [rcx + rax + 0x18]
call fcn.140278190
test eax, eax
jne 0x140032a2a
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.1400055b0
nop
cmp qword [rsp + 0x100], 0
je 0x140032a8f
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0xa0], rax
lea rcx, [rsp + 0xb8]
call fcn.140003570
mov rdx, rax
lea rcx, str.Found_computer__s
call qword [rsp + LoadRegTypeLib]
lea rdx, [0x1402e25c4]
lea rcx, [rsp + 0xb8]
call fcn.140005570
mov eax, dword [rsp + 0x30]
imul rax, rax, 0x30
mov rcx, qword [rsp + 0x38]
cmp qword [rcx + rax + 0x20], 0
je 0x140032ad7
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.140005570
lea rdx, [rsp + 0xb8]
mov rcx, qword [rsp + 0xf8]
call fcn.14006c410
nop
lea rcx, [rsp + 0xb8]
call fcn.1400049b0
jmp 0x140032b62
cmp qword [rsp + 0x100], 0
je 0x140032b37
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, str.Found_subnetwork__s
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.140032740
jmp 0x1400329a3
cmp dword [rsp + 0x40], 0x103
jne 0x140032886
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.140263a60
add rsp, 0xe8
ret