Function at 0x4348be
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4de5de
call fcn.004d1d50
sub esp, 0x60
mov eax, dword [0x52e400]
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 0x434934
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 0x434934
push esi
lea eax, [ebp - 0x6c]
push 0x2e
push eax
call fcn.00417cfc
add esp, 0xc
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call dword [0x4eb500]
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 0x43493e
push esi
lea ecx, [ebp - 0x2c]
call dword [0x4eb500]
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.0043343a
cmp eax, ebx
je 0x4349bc
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.00432e74
cmp eax, ebx
jne 0x4349cd
cmp dword [ebp - 0x34], ebx
je 0x4349cd
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 0x4349cd
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.004345c7
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.libexpat.dll_Ordinal_10
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 0x4349fd
push ebx
push edi
push 1
push dword [ebp + 0xc]
lea eax, [ebp - 0x2c]
push eax
mov ecx, esi
call fcn.004345c7
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.libexpat.dll_Ordinal_10
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.004d1da7
leave
ret 0x10