Function at 0x436ad0
Capabilities:
Enumerate network shares

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x441ac1
mov eax, dword fs:[0]
push eax
mov eax, 0x404c
call fcn.00406240
mov eax, dword [0x4620f4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 0xc]
mov ecx, 0x465514
mov dword [ebp - 0x4038], ebx
mov dword [ebp - 0x4058], 0x465514
call fcn.00438570
mov ecx, 0x465514
mov dword [ebp - 4], 0
call fcn.00438570
lea eax, [ebp - 0x4034]
push eax
push 0
push 0
push 0
push 1
call sub.MPR.dll_WNetOpenEnumW
mov ecx, 0x465514
mov esi, eax
call fcn.00438650
test esi, esi
jne 0x436d7c
push 2
xor eax, eax
mov dword [ebp - 0x4014], 7
push 0x456430
lea ecx, [ebp - 0x4028]
mov dword [ebp - 0x4018], esi
mov word [ebp - 0x4028], ax
call fcn.00402070
push 0xffffffffffffffff
push esi
push ebx
lea ecx, [ebp - 0x4028]
mov byte [ebp - 4], 1
call fcn.00401b70
push 0x5c
push 1
lea ecx, [ebp - 0x4028]
call fcn.00403be0
lea eax, [ebp - 0x4028]
push eax
call fcn.00438320
add esp, 4
mov esi, dword [ebp - 0x4034]
mov ecx, 0x465514
mov dword [ebp - 0x4030], 0xffffffff
mov dword [ebp - 0x403c], 0x4000
call fcn.00438570
lea eax, [ebp - 0x403c]
push eax
lea eax, [ebp - 0x4010]
push eax
lea eax, [ebp - 0x4030]
push eax
push esi
call sub.MPR.dll_WNetEnumResourceW
mov ecx, 0x465514
mov esi, eax
call fcn.00438650
test esi, esi
jne 0x436d28
xor edi, edi
cmp dword [ebp - 0x4030], edi
jbe 0x436bb4
lea ebx, [ebp - 0x3ffc]
jmp 0x436c20
mov eax, dword [ebp - 0x4038]
mov esi, dword [ebx]
cmp dword [eax + 0x10], 0
je 0x436cf2
xor eax, eax
mov dword [ebp - 0x4040], 7
mov dword [ebp - 0x4044], 0
mov word [ebp - 0x4054], ax
cmp word [esi], ax
je 0x436c6f
mov eax, esi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x436c60
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [ebp - 0x4054]
call fcn.00402070
lea eax, [ebp - 0x4054]
mov byte [ebp - 4], 2
push eax
call fcn.00438320
mov ecx, dword [ebp - 0x4018]
lea eax, [ebp - 0x4028]
add esp, 4
or edx, 0xffffffff
cmp ecx, 0xffffffff
cmovb edx, ecx
cmp dword [ebp - 0x4014], 8
push edx
cmovae eax, dword [ebp - 0x4028]
push eax
push ecx
push 0
lea ecx, [ebp - 0x4054]
call fcn.00403ca0
test eax, eax
mov byte [ebp - 4], 1
sete al
cmp dword [ebp - 0x4040], 8
mov byte [ebp - 0x4029], al
jb 0x436cee
push dword [ebp - 0x4054]
call fcn.00404a15
mov al, byte [ebp - 0x4029]
add esp, 4
test al, al
je 0x436d13
mov ecx, 0x465514
call fcn.00438570
movzx eax, byte [ebp + 8]
push eax
push 0
push esi
call sub.MPR.dll_WNetCancelConnection2W
mov ecx, 0x465514
call fcn.00438650
inc edi
add ebx, 0x20
cmp edi, dword [ebp - 0x4030]
jb 0x436c20
jmp 0x436bb4
mov esi, dword [ebp - 0x4034]
mov ecx, 0x465514
call fcn.00438570
push esi
call sub.MPR.dll_WNetCloseEnum
mov ecx, 0x465514
call fcn.00438650
cmp dword [ebp - 0x4014], 8
jb 0x436d5f
push dword [ebp - 0x4028]
call fcn.00404a15
add esp, 4
xor eax, eax
mov dword [ebp - 0x4014], 7
mov dword [ebp - 0x4018], 0
mov word [ebp - 0x4028], ax
mov ecx, 0x465514
mov dword [ebp - 4], 0xffffffff
call fcn.00438650
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004051a4
mov esp, ebp
pop ebp
ret