Function at 0x416c35
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4641da
call fcn.00461c40
sub esp, 0x30
mov al, byte [ebp - 0xd]
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
push ebx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
mov byte [ebp - 0x2c], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
mov al, byte [ebp - 0xd]
push ebx
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], ebx
mov byte [ebp - 0x3c], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
mov ecx, dword [esi + 0x100]
cmp ecx, ebx
je 0x416de2
mov dword [ebp - 0x1c], ebx
mov eax, dword [ecx]
push dword [esi + 0x1e4]
mov byte [ebp - 4], 2
call dword [eax + 0x20]
mov edi, eax
cmp edi, ebx
mov dword [ebp - 0x1c], edi
je 0x416cf4
cmp dword [edi + 0x9c], 2
je 0x416cb3
mov eax, dword [edi]
push edi
mov byte [ebp - 4], 1
call dword [eax + 8]
jmp 0x416de2
mov ebx, dword [edi + 0x44]
mov eax, dword [edi + 0x40]
test ebx, ebx
mov dword [ebp - 0x14], eax
je 0x416cf2
mov eax, dword [ebx + 0x48]
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], eax
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::npos]
push dword [eax]
lea eax, [ebx + 0x38]
push 0
push eax
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::assign_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const___unsigned_int__unsigned_int_]
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::npos]
add ebx, 0x6c
lea ecx, [ebp - 0x3c]
push dword [eax]
push 0
push ebx
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::assign_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const___unsigned_int__unsigned_int_]
xor ebx, ebx
cmp edi, ebx
mov byte [ebp - 4], 1
je 0x416d02
mov eax, dword [edi]
push edi
call dword [eax + 8]
cmp dword [ebp - 0x14], ebx
jbe 0x416de2
mov eax, dword [ebp - 0x28]
cmp eax, ebx
jne 0x416d17
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x416de2
mov ecx, dword [esi + 0x40]
cmp ecx, ebx
je 0x416de2
mov eax, dword [ecx]
push dword [ebp - 0x14]
call dword [eax + 0x108]
mov ecx, dword [esi + 0x40]
push ebx
mov eax, dword [ecx]
call dword [eax + 0x1f8]
mov ecx, dword [esi + 0x40]
push 0x4845cc
mov eax, dword [ecx]
call dword [eax + 0x1fc]
cmp dword [ebp - 0x18], ebx
jbe 0x416d6d
mov ecx, dword [esi + 0x40]
push dword [ebp - 0x18]
mov eax, dword [ecx]
call dword [eax + 0x1f8]
jmp 0x416d85
mov eax, dword [ebp - 0x28]
cmp eax, ebx
jne 0x416d79
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
mov ecx, dword [esi + 0x40]
push eax
mov edx, dword [ecx]
call dword [edx + 0x1fc]
mov eax, dword [ebp - 0x38]
cmp eax, ebx
jne 0x416d91
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
mov ecx, dword [esi + 0x40]
push eax
mov edx, dword [ecx]
call dword [edx + 0x284]
mov ecx, dword [esi + 0x40]
push 1
push 1
mov eax, dword [ecx]
call dword [eax + 0x1e4]
cmp esi, ebx
jne 0x416db4
xor eax, eax
jmp 0x416dbe
mov eax, dword [esi + 0x20]
mov eax, dword [eax + 8]
lea eax, [eax + esi + 0x20]
mov ecx, dword [esi + 0x20]
mov edx, dword [esi + 0x40]
push eax
push 0x5b
mov ecx, dword [ecx + 8]
mov edi, dword [edx]
mov eax, dword [ecx + esi + 0x20]
lea ecx, [ecx + esi + 0x20]
call dword [eax]
mov ecx, dword [esi + 0x40]
push eax
push 1
call dword [edi + 0xd0]
and byte [ebp - 4], 0
push 1
lea ecx, [ebp - 0x3c]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
or dword [ebp - 4], 0xffffffff
push 1
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8