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

Disassembly:
push 0xffffffffffffffff
push 0x409bb9
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x40f01c]
xor eax, esp
mov dword [esp + 0x74], eax
push ebp
push esi
push edi
mov eax, dword [0x40f01c]
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.00403d10
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 0x405f63
cmp dword [esp + 0x80], 0x10
mov edi, dword [esp + 0x6c]
jae 0x405f23
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.004055c0
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 0x406092
test edi, edi
je 0x406055
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 0x405fbf
lea ebx, [ebx]
cmp byte [eax], 0x2f
jne 0x405fb8
mov byte [eax], 0x5c
add eax, 1
cmp eax, esi
jne 0x405fb0
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.004011c0
cmp byte [eax], 0x5c
jne 0x406016
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 0x406029
lea eax, [esp + 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x406055
cmp dword [esp + 0x64], esi
mov edi, dword [esp + 0x50]
jae 0x406043
lea edi, [esp + 0x50]
mov edx, dword [esp + 0x9c]
push edx
mov esi, str.Mount_directive_cannot_find_local_path___s_.
jmp 0x405f30
push ebx
call fcn.004094d0
test eax, eax
je 0x406069
push edi
mov edx, ebp
mov ecx, eax
call fcn.00404050
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.00403339
add esp, 0x84
ret 8