Function at 0x466b23
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x444
cmp dword [ebp + 0xc], 0
push ebx
push esi
push edi
je 0x466d5c
cmp dword [ebp + 0x10], 0
je 0x466d5c
push dword [ebp + 0xc]
mov esi, dword [sym.imp.MSVCR80.dll_wcslen]
call esi
test eax, eax
pop ecx
je 0x466d5c
push dword [ebp + 0x10]
call esi
test eax, eax
pop ecx
je 0x466d5c
mov edi, dword [ebp + 8]
lea esi, [ebp - 0x10]
call fcn.0043fc3f
mov ecx, dword [eax]
mov eax, dword [eax + 4]
lea esi, [ebp - 0x10]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
call fcn.0043c61a
mov edi, eax
lea esi, [ebp - 8]
call fcn.0047b3e3
test al, al
je 0x466d5c
mov ebx, 0x104
lea esi, [ebp - 8]
xor edi, edi
call fcn.0043c64b
cmp dword [ebp + 0x14], edi
je 0x466cfb
push 0x51ba9c
push eax
call dword [sym.imp.MSVCR80.dll__wcsicmp]
test eax, eax
pop ecx
pop ecx
je 0x466d37
push 0x206
lea eax, [ebp - 0x236]
push edi
push eax
mov word [ebp - 0x238], di
call sub.MSVCR80.dll_memset
push dword [ebp + 0x10]
mov edi, dword [sym.imp.MSVCR80.dll_wcscpy_s]
lea eax, [ebp - 0x238]
push ebx
push eax
call edi
add esp, 0x18
call fcn.0043c64b
push eax
lea eax, [ebp - 0x238]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push str..exe
lea eax, [ebp - 0x238]
push ebx
push eax
call dword [sym.imp.MSVCR80.dll_wcscat_s]
add esp, 0xc
lea eax, [ebp - 0x238]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsFileSpecW]
test eax, eax
jne 0x466c41
lea eax, [ebp - 0x238]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x466d37
lea esi, [ebp - 8]
call fcn.0043c64b
add eax, 0x78
push eax
call dword [sym.imp.MSVCR80.dll_wcslen]
test eax, eax
pop ecx
jbe 0x466cac
call fcn.0043c64b
add eax, 0x78
push eax
push dword [ebp + 0xc]
call dword [sym.imp.MSVCR80.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
jne 0x466d37
lea esi, [ebp - 8]
call fcn.0043c64b
mov esi, eax
lea eax, [ebp - 0x238]
push eax
call dword [sym.imp.MSVCR80.dll_wcslen]
push eax
lea eax, [ebp - 0x238]
push eax
push ebx
add esi, 0xf0
push esi
call dword [sym.imp.MSVCR80.dll_wcsncpy_s]
xor eax, eax
add esp, 0x14
inc eax
jmp 0x466d5e
and word [ebp - 0x440], 0
push 0x206
lea eax, [ebp - 0x43e]
push 0
push eax
call sub.MSVCR80.dll_memset
push dword [ebp + 0x10]
lea eax, [ebp - 0x440]
push ebx
push eax
call edi
add esp, 0x18
push str.360sd.exe
lea eax, [ebp - 0x440]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x440]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
jmp 0x466c6c
push eax
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
push str..exe
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x466d1f
lea eax, [ebp - 0x28]
mov edi, dword [ebp + 0x10]
push eax
push edi
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
jne 0x466d65
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea esi, [ebp - 8]
call fcn.00467154
mov edi, dword [ebp + 8]
lea esi, [ebp - 0x10]
call fcn.0043c61a
mov edi, eax
lea esi, [ebp - 8]
call fcn.0047b3e3
test al, al
jne 0x466b9a
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0x10
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x466d7f
xor esi, esi
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov eax, esi
jmp 0x466d5e
lea esi, [ebp - 8]
call fcn.0043c64b
push edi
mov esi, eax
call dword [sym.imp.MSVCR80.dll_wcslen]
push eax
push edi
push ebx
add esi, 0xf0
push esi
call dword [sym.imp.MSVCR80.dll_wcsncpy_s]
xor esi, esi
add esp, 0x14
inc esi
jmp 0x466d72