Function at 0x41598e
Capabilities:
Enumerate network shares

Disassembly:
push 0xffffffffffffffff
push 0x418a80
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
mov eax, dword [esp + 0x44]
push ebx
push ebp
push esi
mov esi, ecx
push edi
push eax
mov dword [esp + 0x24], esi
lea ecx, [esi + 0x64]
mov byte [esp + 0x17], 0
call sub.MFC42.DLL_CTreeCtrl::GetItemData
lea ecx, [esp + 0x28]
mov dword [esp + 0x1c], 0x4000
push ecx
push eax
neg eax
sbb eax, eax
push 0
and al, 0xfd
push 0
add eax, 5
mov dword [esp + 0x28], 0xffffffff
push eax
call sub.MPR.dll_WNetOpenEnumA
test eax, eax
je 0x4159d8
xor al, al
jmp 0x415c06
mov edx, dword [esp + 0x1c]
push edx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edx, dword [esp + 0x28]
mov edi, eax
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x18]
push eax
push edi
push ecx
push edx
mov dword [esp + 0x48], edi
call sub.MPR.dll_WNetEnumResourceA
mov ebp, eax
test ebp, ebp
mov dword [esp + 0x3c], ebp
jne 0x415bdd
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x18]
test eax, eax
jbe 0x415bdd
mov byte [esp + 0x13], 1
lea ebx, [edi + 0x18]
mov eax, dword [ebx - 4]
lea ecx, [esp + 0x14]
push eax
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [esp + 0x14]
mov dword [esp + 0x4c], 0
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x415a5b
mov ecx, dword [ebx]
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::operator
mov eax, dword [esp + 0x14]
mov ecx, dword [eax - 8]
test ecx, ecx
jle 0x415acc
cmp byte [eax], 0x5c
jne 0x415a93
lea edx, [esp + 0x2c]
push 1
push edx
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::Mid
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x50], 1
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x2c]
mov byte [esp + 0x4c], 0
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x14]
mov ecx, dword [eax - 8]
test ecx, ecx
jle 0x415acc
cmp byte [eax], 0x5c
jne 0x415acc
lea eax, [esp + 0x30]
push 1
push eax
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::Mid
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x50], 2
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x30]
mov byte [esp + 0x4c], 0
call sub.MFC42.DLL_CString::CString
cmp dword [ebx - 0x10], 3
jne 0x415b35
push 0x5c
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Find
test eax, eax
jl 0x415b0e
inc eax
lea ecx, [esp + 0x34]
push eax
push ecx
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::Mid
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x50], 3
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x34]
mov byte [esp + 0x4c], 0
call sub.MFC42.DLL_CString::CString
push 0
push 0
push 1
push ecx
lea edx, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x50], esp
push edx
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [esp + 0x64]
push 0
push eax
mov ecx, esi
call fcn.00414f50
jmp 0x415bb4
push 0x20
call sub.MFC42.DLL_operatornew
mov ebp, eax
lea esi, [ebx - 0x18]
mov ecx, 8
mov edi, ebp
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.004157c0
mov edx, dword [ebp + 0x14]
mov dword [ebp + 0x10], eax
push edx
call fcn.004157c0
mov dword [ebp + 0x14], eax
mov eax, dword [ebp + 0x18]
push eax
call fcn.004157c0
mov ecx, dword [ebp + 0x1c]
mov dword [ebp + 0x18], eax
push ecx
call fcn.004157c0
mov edx, dword [ebp + 8]
add esp, 0x14
add edx, 7
mov dword [ebp + 0x1c], eax
push 0xffffffffffffffff
push 0
push edx
push ecx
lea eax, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x50], esp
push eax
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [esp + 0x64]
push ebp
push ecx
mov ecx, dword [esp + 0x38]
call fcn.00414f50
mov edi, dword [esp + 0x38]
mov ebp, dword [esp + 0x3c]
mov esi, dword [esp + 0x20]
lea ecx, [esp + 0x14]
mov dword [esp + 0x4c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
inc eax
add ebx, 0x20
cmp eax, ecx
mov dword [esp + 0x24], eax
jb 0x415a26
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
cmp ebp, 0x103
je 0x415bf8
cmp ebp, 0xea
je 0x4159d8
mov edx, dword [esp + 0x28]
push edx
call sub.MPR.dll_WNetCloseEnum
mov al, byte [esp + 0x13]
mov ecx, dword [esp + 0x44]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x40
ret 4