Function at 0x402510
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x409c2b
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x40e01c]
xor eax, esp
mov dword [esp + 0x74], eax
push ebp
push esi
push edi
mov eax, dword [0x40e01c]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x98]
mov edi, ecx
lea ecx, [esp + 0x68]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
lea ecx, [esp + 0x4c]
mov dword [esp + 0x90], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
lea eax, [esp + 0x68]
push eax
mov eax, ebp
mov byte [esp + 0x94], 1
call fcn.00407b30
add esp, 4
push 0
lea ecx, [esp + 0x6c]
call dword [sym.imp.MSVCP80.dll_public:_char____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::at_unsigned_int_]
cmp byte [eax], 0x2f
je 0x4025e9
cmp dword [esp + 0x80], 0x10
mov edi, dword [esp + 0x6c]
jae 0x4025a6
lea edi, [esp + 0x6c]
mov ecx, dword [esp + 0x9c]
push ecx
mov esi, str.Mount_directive_cannot_parse_invalid_virtual_path___s_._Virtual_paths_must_begin_with_a_slash.
call fcn.00401990
add esp, 4
lea ecx, [esp + 0x4c]
mov byte [esp + 0x90], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x68]
mov dword [esp + 0x90], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
xor al, al
jmp 0x402712
test edi, edi
je 0x4026d5
push edi
lea ecx, [esp + 0x50]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const__]
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0x50]
call dword [sym.imp.MSVCP80.dll_public:_class_std::_String_iterator_char__struct_std::char_traits_char___class_std::allocator_char_____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::end_void_]
mov ecx, dword [eax]
mov esi, dword [eax + 4]
lea edx, [esp + 0x1c]
mov dword [esp + 0x14], ecx
push edx
lea ecx, [esp + 0x50]
call dword [sym.imp.MSVCP80.dll_public:_class_std::_String_iterator_char__struct_std::char_traits_char___class_std::allocator_char_____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::begin_void_]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
cmp eax, esi
mov dword [esp + 0x14], ecx
je 0x40263f
cmp byte [eax], 0x2f
jne 0x402638
mov byte [eax], 0x5c
add eax, 1
cmp eax, esi
jne 0x402630
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x50]
call dword [sym.imp.MSVCP80.dll_public:_class_std::reverse_iterator_class_std::_String_iterator_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::rbegin_void_]
call fcn.00405340
cmp byte [eax], 0x5c
jne 0x402696
mov eax, dword [esp + 0x60]
add eax, 0xffffffff
push eax
push 0
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esp + 0x58]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::substr_unsigned_int__unsigned_int_]
push eax
lea ecx, [esp + 0x50]
mov byte [esp + 0x94], 2
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea ecx, [esp + 0x30]
mov byte [esp + 0x90], 1
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov eax, dword [esp + 0x50]
mov esi, 0x10
cmp dword [esp + 0x64], esi
jae 0x4026a9
lea eax, [esp + 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x4026d5
cmp dword [esp + 0x64], esi
mov edi, dword [esp + 0x50]
jae 0x4026c3
lea edi, [esp + 0x50]
mov edx, dword [esp + 0x9c]
push edx
mov esi, str.Mount_directive_cannot_find_local_path___s_.
jmp 0x4025b3
push ebx
call fcn.00406880
test eax, eax
je 0x4026e9
push edi
mov edx, ebp
mov ecx, eax
call fcn.00407300
lea ecx, [esp + 0x4c]
mov byte [esp + 0x90], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x68]
mov dword [esp + 0x90], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov al, 1
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x74]
xor ecx, esp
call fcn.00408d59
add esp, 0x84
ret