Function at 0x4290da
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4ad68c
call fcn.0049f0d0
sub esp, 0x60
mov eax, dword [0x4f0dd0]
xor eax, ebp
push ebx
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x50], ecx
push edi
mov edi, dword [ebp + 0x14]
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x4c], eax
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
xor ebx, ebx
cmp dword [esi + 0x14], ebx
mov dword [ebp - 4], ebx
je 0x429150
push ebx
mov ecx, esi
call dword [sym.imp.MSVCP71.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator___unsigned_int_const]
cmp word [eax], 0x2e
je 0x429150
push esi
lea eax, [ebp - 0x6c]
push 0x2e
push eax
call fcn.0040f233
add esp, 0xc
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call dword [0x4b743c]
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], bl
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
jmp 0x42915a
push esi
lea ecx, [ebp - 0x2c]
call dword [0x4b743c]
mov esi, dword [ebp - 0x50]
push edi
push dword [ebp - 0x4c]
lea eax, [ebp - 0x2c]
push dword [ebp + 0xc]
mov ecx, esi
push eax
call fcn.00427c63
cmp eax, ebx
je 0x4291d8
lea ecx, [ebp - 0x48]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x2c]
push eax
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.00427694
cmp eax, ebx
jne 0x4291e9
cmp dword [ebp - 0x34], ebx
je 0x4291e9
lea ecx, [ebp - 0x48]
call dword [sym.imp.MSVCP71.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4291e9
lea ecx, [ebp - 0x48]
call dword [sym.imp.MSVCP71.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push eax
push edi
push 2
push dword [ebp + 0xc]
lea eax, [ebp - 0x2c]
push eax
mov ecx, esi
call fcn.00428de2
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], bl
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov ebx, reloc.OLEAUT32.dll_VariantCopyInd
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov eax, ebx
jmp 0x429219
push ebx
push edi
push 1
push dword [ebp + 0xc]
lea eax, [ebp - 0x2c]
push eax
mov ecx, esi
call fcn.00428de2
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], bl
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov eax, reloc.OLEAUT32.dll_VariantCopyInd
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop esi
xor ecx, ebp
pop ebx
call fcn.0049f127
leave
ret 0x10