Function at 0x4175ec
Capabilities:
Enumerate network shares

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x432d11
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x78
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x24]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov dword [ebp - 4], 0
mov dword [ebp - 0x2c], 0
jmp 0x41762d
mov ecx, dword [ebp - 0x2c]
add ecx, 1
mov dword [ebp - 0x2c], ecx
lea ecx, [ebp - 0x24]
call dword [sym.imp.MSVCP60.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::length_void_const]
cmp dword [ebp - 0x2c], eax
jae 0x41768a
mov edx, dword [ebp - 0x2c]
push edx
lea ecx, [ebp - 0x24]
call dword [sym.imp.MSVCP60.dll_public:_char____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator___unsigned_int_]
movsx eax, byte [eax]
cmp eax, 0x2f
jne 0x417659
mov dword [ebp - 0x80], 0x5c
jmp 0x417676
mov ecx, dword [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x24]
call dword [sym.imp.MSVCP60.dll_public:_char____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator___unsigned_int_]
movsx edx, byte [eax]
push edx
call dword [sym.imp.MSVCRT.dll_tolower]
add esp, 4
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x24]
call dword [sym.imp.MSVCP60.dll_public:_char____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator___unsigned_int_]
mov cl, byte [ebp - 0x80]
mov byte [eax], cl
jmp 0x417624
mov dword [ebp - 0x30], 0
lea edx, [ebp - 0x30]
push edx
push 0
push 0
push 1
push 1
call sub.MPR.dll_WNetOpenEnumA
test eax, eax
je 0x4176c2
mov byte [ebp - 0x5c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov al, byte [ebp - 0x5c]
jmp 0x417915
mov dword [ebp - 0x10], 0x4000
mov dword [ebp - 0x38], 0x4000
mov eax, dword [ebp - 0x38]
push eax
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp - 0x60]
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x14], 0xffffffff
mov dword [ebp - 0x28], 0
cmp dword [ebp - 0x28], 0
jne 0x4178e3
lea edx, [ebp - 0x38]
push edx
mov eax, dword [ebp - 0x34]
push eax
lea ecx, [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x30]
push edx
call sub.MPR.dll_WNetEnumResourceA
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x103
je 0x41777e
cmp dword [ebp - 0x28], 0
je 0x41777e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0xea
jne 0x41777e
cmp dword [ebp - 0x38], 0x4000
jbe 0x41777e
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x64], eax
mov ecx, dword [ebp - 0x64]
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov edx, dword [ebp - 0x38]
push edx
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x34], eax
lea ecx, [ebp - 0x38]
push ecx
mov edx, dword [ebp - 0x34]
push edx
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x30]
push ecx
call sub.MPR.dll_WNetEnumResourceA
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x103
je 0x417792
cmp dword [ebp - 0x28], 0
je 0x417792
jmp 0x4178e3
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x40], 0
jmp 0x4177aa
mov eax, dword [ebp - 0x40]
add eax, 1
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x40]
cmp ecx, dword [ebp - 0x14]
jae 0x4178de
lea edx, [ebp - 0x6c]
push edx
mov eax, dword [ebp - 0x40]
shl eax, 5
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ecx + eax + 0x14]
push edx
lea ecx, [ebp - 0x54]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const___class_std::allocator_char__const__]
mov byte [ebp - 4], 1
mov dword [ebp - 0x58], 0
jmp 0x4177e7
mov eax, dword [ebp - 0x58]
add eax, 1
mov dword [ebp - 0x58], eax
lea ecx, [ebp - 0x54]
call dword [sym.imp.MSVCP60.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::length_void_const]
cmp dword [ebp - 0x58], eax
jae 0x41784d
mov ecx, dword [ebp - 0x58]
push ecx
lea ecx, [ebp - 0x54]
call dword [sym.imp.MSVCP60.dll_public:_char____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator___unsigned_int_]
movsx edx, byte [eax]
cmp edx, 0x2f
jne 0x417816
mov dword [ebp - 0x84], 0x5c
jmp 0x417836
mov eax, dword [ebp - 0x58]
push eax
lea ecx, [ebp - 0x54]
call dword [sym.imp.MSVCP60.dll_public:_char____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator___unsigned_int_]
movsx ecx, byte [eax]
push ecx
call dword [sym.imp.MSVCRT.dll_tolower]
add esp, 4
mov dword [ebp - 0x84], eax
mov edx, dword [ebp - 0x58]
push edx
lea ecx, [ebp - 0x54]
call dword [sym.imp.MSVCP60.dll_public:_char____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator___unsigned_int_]
mov cl, byte [ebp - 0x84]
mov byte [eax], cl
jmp 0x4177de
lea edx, [ebp - 0x24]
push edx
lea eax, [ebp - 0x54]
push eax
call dword [sym.imp.MSVCP60.dll_bool___cdecl_std::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
add esp, 8
and eax, 0xff
test eax, eax
je 0x4178cc
mov ecx, dword [ebp - 0x40]
shl ecx, 5
mov edx, dword [ebp - 0x3c]
cmp dword [edx + ecx + 0x10], 0
je 0x4178cc
mov eax, dword [ebp - 0x40]
shl eax, 5
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ecx + eax + 0x10]
mov eax, dword [ebp + 0xc]
mov cl, byte [edx]
mov byte [eax], cl
mov edx, dword [ebp - 0x30]
push edx
call sub.MPR.dll_WNetCloseEnum
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp - 0x70]
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov byte [ebp - 0x74], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x54]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov al, byte [ebp - 0x74]
jmp 0x417915
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x54]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
jmp 0x4177a1
jmp 0x4176f3
mov edx, dword [ebp - 0x30]
push edx
call sub.MPR.dll_WNetCloseEnum
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x78], eax
mov ecx, dword [ebp - 0x78]
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov byte [ebp - 0x7c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov al, byte [ebp - 0x7c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret