Function at 0x419de4
Capabilities:
Check if file exists

Disassembly:
push ebp
lea ebp, [esp - 0x70]
sub esp, 0xa0
mov eax, dword [0x4234f4]
xor eax, ebp
mov dword [ebp + 0x6c], eax
push ebx
push esi
mov esi, dword [ebp + 0x78]
mov ebx, ecx
push edi
mov edi, dword [ebp + 0x7c]
lea ecx, [ebp + 0x50]
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_void_]
lea eax, [ebp + 0x50]
push eax
call fcn.00401cbb
lea ecx, [ebp + 0x50]
mov dword [esp], str.KCLT
call dword [0x41d254]
cmp dword [ebp + 0x68], 8
mov eax, dword [ebp + 0x54]
jae 0x419e32
lea eax, [ebp + 0x54]
push eax
call fcn.00401c2f
lea ecx, [ebp + 0x50]
mov dword [esp], 0x41d664
call dword [0x41d254]
push esi
lea ecx, [ebp + 0x50]
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_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
lea ecx, [ebp - 0x20]
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_void_]
lea eax, [ebp - 0x20]
push eax
mov ecx, ebx
call fcn.004198df
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp + 0x50]
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_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
lea ecx, [ebp - 4]
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_void_]
lea eax, [ebp + 0x50]
push eax
lea ecx, [ebp + 0x34]
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_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
push 0
call dword [sym.imp.MSVCR80.dll_srand]
pop ecx
lea ecx, [ebp + 0x18]
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_void_]
lea eax, [ebp + 0x18]
push eax
sub esp, 0x1c
mov ecx, esp
push edi
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_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
mov ecx, ebx
call fcn.00419d77
lea eax, [ebp + 0x50]
push eax
lea ecx, [ebp + 0x34]
call dword [0x41d288]
lea eax, [ebp - 4]
push eax
mov ecx, ebx
call fcn.00419948
lea eax, [ebp - 4]
push eax
lea ecx, [ebp + 0x34]
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_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
push 0x41f9f4
lea ecx, [ebp + 0x34]
call dword [0x41d254]
cmp dword [ebp + 0x4c], 8
mov eax, dword [ebp + 0x38]
jae 0x419ef1
lea eax, [ebp + 0x38]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x419eb2
cmp dword [ebp + 0x4c], 8
mov eax, dword [ebp + 0x38]
jae 0x419f08
lea eax, [ebp + 0x38]
push 1
push eax
lea ecx, [ebp - 0x30]
call fcn.0041a8c6
and dword [ebp - 0x24], 0
cmp dword [ebp + 0x30], 8
mov eax, dword [ebp + 0x1c]
jae 0x419f23
lea eax, [ebp + 0x1c]
lea ecx, [ebp - 0x24]
push ecx
mov ecx, dword [ebp + 0x2c]
add ecx, ecx
push ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.0041a7d6
lea ecx, [ebp - 0x30]
call fcn.0041a7a7
lea ecx, [ebp + 0x18]
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 ecx, [ebp + 0x34]
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 ecx, [ebp - 4]
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 ecx, [ebp - 0x20]
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 ecx, [ebp + 0x50]
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 ecx, dword [ebp + 0x6c]
pop edi
xor eax, eax
pop esi
xor ecx, ebp
inc eax
pop ebx
call fcn.0041c236
add ebp, 0x70
leave
ret 8