Function at 0x4168a0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x434575
mov eax, dword fs:[0]
push eax
sub esp, 0xb14
mov eax, dword [0x455070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [0x457224], eax
call fcn.0040ba00
mov ecx, eax
call fcn.00403bc0
push eax
lea ecx, [ebp - 0x43c]
call fcn.004065b0
mov dword [ebp - 4], 0
movzx ecx, byte [0x457222]
test ecx, ecx
je 0x4169c4
movzx edx, byte [0x45721d]
test edx, edx
jne 0x41696a
movzx eax, byte [0x45721d]
test eax, eax
je 0x416924
mov dword [ebp - 0x8c8], 1
jmp 0x41692e
mov dword [ebp - 0x8c8], 0
mov ecx, dword [ebp - 0x8c8]
push ecx
push str.InitInstance__uninstall_:_g_bPermitUninst___d_
call dword [sym.imp.iImportLib.dll_ISAFE_WriteProgramLogNoMask]
add esp, 8
mov dword [ebp - 0x8dc], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x43c]
call fcn.00405b70
mov eax, dword [ebp - 0x8dc]
jmp 0x416f78
push str.InitInstance__CUninstMainDlg2_DoModal_
call dword [sym.imp.iImportLib.dll_ISAFE_WriteProgramLogNoMask]
add esp, 4
push 1
lea ecx, [ebp - 0x8c0]
call fcn.00416fa0
push 0
lea ecx, [ebp - 0x8c0]
call fcn.0041bb30
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x8c0]
call dword [sym.imp.ouilibx.dll_public_virtual:_int___thiscall_OUI::COVDialog::DoModal_void_]
push str.InitInstance__CUninstMainDlg2_closed_
call dword [sym.imp.iImportLib.dll_ISAFE_WriteProgramLogNoMask]
add esp, 4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x8c0]
call fcn.00415520
jmp 0x416f56
movzx edx, byte [0x457221]
test edx, edx
je 0x416a36
push str.InitInstance__CUninstSubDlg_DoModal_
call dword [sym.imp.iImportLib.dll_ISAFE_WriteProgramLogNoMask]
add esp, 4
push 1
lea ecx, [ebp - 0x7d0]
call fcn.00416fa0
push 0
lea ecx, [ebp - 0x7d0]
call fcn.0041bb30
mov byte [ebp - 4], 2
push 1
lea ecx, [ebp - 0x7d0]
call fcn.0041d770
lea ecx, [ebp - 0x7d0]
call dword [sym.imp.ouilibx.dll_public_virtual:_int___thiscall_OUI::COVDialog::DoModal_void_]
push str.InitInstance__CUninstSubDlg_closed_
call dword [sym.imp.iImportLib.dll_ISAFE_WriteProgramLogNoMask]
add esp, 4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x7d0]
call fcn.00415520
jmp 0x416f56
movzx eax, byte [0x457223]
test eax, eax
je 0x416e77
call dword [sym.imp.iImportLib.dll_bool___cdecl_elex::os::IsXpOrLater_void_]
movzx ecx, al
test ecx, ecx
jne 0x416a89
push str.InitInstance__IsXpOrLater:_return_false_
push 0xffffffffffffffff
call dword [sym.imp.iImportLib.dll_ISAFE_WriteProgramLogString]
add esp, 8
mov dword [ebp - 0x8e8], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x43c]
call fcn.00405b70
mov eax, dword [ebp - 0x8e8]
jmp 0x416f78
call fcn.00416180
movzx edx, al
test edx, edx
je 0x416acc
push str.InitInstance__IsCurVersionInstalled:_return_true_
push 0xffffffffffffffff
call dword [sym.imp.iImportLib.dll_ISAFE_WriteProgramLogString]
add esp, 8
mov dword [ebp - 0x8d8], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x43c]
call fcn.00405b70
mov eax, dword [ebp - 0x8d8]
jmp 0x416f78
push 0
lea ecx, [ebp - 0x550]
call fcn.00418a10
mov byte [ebp - 4], 3
movzx eax, byte [0x45721f]
test eax, eax
je 0x416b08
push str.InitInstance__silent_install_
push 0xffffffffffffffff
call dword [sym.imp.iImportLib.dll_ISAFE_WriteProgramLogString]
add esp, 8
lea ecx, [ebp - 0x550]
call fcn.004192d0
jmp 0x416e63
push 1
call fcn.00409af0
add esp, 4
mov bl, al
call fcn.0040eeb0
mov byte [eax + 0xb1], bl
call fcn.0040eeb0
movzx ecx, byte [eax + 0xb1]
test ecx, ecx
je 0x416e3b
xor edx, edx
mov word [ebp - 0x218], dx
push 0x206
push 0
lea eax, [ebp - 0x216]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x218]
push ecx
call fcn.0040aa40
add esp, 8
lea edx, [ebp - 0x218]
push edx
call fcn.0040eeb0
add eax, 0x78
mov ecx, eax
call fcn.004033a0
push str.InitInstance__cover_install_
push 0xffffffffffffffff
call dword [sym.imp.iImportLib.dll_ISAFE_WriteProgramLogString]
add esp, 8
call fcn.0040ba00
mov ecx, eax
call fcn.00403bc0
push eax
lea ecx, [ebp - 0x46c]
call fcn.004065b0
mov byte [ebp - 4], 4
xor eax, eax
mov word [ebp - 0x420], ax
push 0x206
push 0
lea ecx, [ebp - 0x41e]
push ecx
call sub.MSVCR110.dll_memset
add esp, 0xc
push str.skinoi_uninstalllayoutdefaultoiviewcoverdlg.xml
lea ecx, [ebp - 0x46c]
call fcn.004059f0
push eax
lea edx, [ebp - 0x420]
push edx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push 0
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x618]
call fcn.00417f90
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x618]
call dword [sym.imp.ouilibx.dll_public_virtual:_int___thiscall_OUI::COVDialog::DoModal_void_]
mov dword [ebp - 0x8c4], eax
cmp dword [ebp - 0x8c4], 1
jne 0x416c50
push 0x441110
push 0xffffffffffffffff
call dword [sym.imp.iImportLib.dll_ISAFE_WriteProgramLogString]
add esp, 8
push str.InitInstance__CInstMainDlg_DoModal__Replace_
call dword [sym.imp.iImportLib.dll_ISAFE_WriteProgramLogNoMask]
add esp, 4
lea ecx, [ebp - 0x550]
call dword [sym.imp.ouilibx.dll_public_virtual:_int___thiscall_OUI::COVDialog::DoModal_void_]
push 0x4411c8
call dword [sym.imp.iImportLib.dll_ISAFE_WriteProgramLogNoMask]
add esp, 4
cmp dword [ebp - 0x8c4], 2
jne 0x416de3
push 0x44109c
lea ecx, [ebp - 0x918]
call fcn.004065b0
mov dword [ebp - 0x8cc], eax
mov ecx, dword [ebp - 0x8cc]
mov dword [ebp - 0x8d4], ecx
mov byte [ebp - 4], 6
push 0x44102c
mov edx, dword [ebp - 0x8d4]
push edx
lea eax, [ebp - 0x484]
push eax
call fcn.0040c7a0
add esp, 0xc
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x918]
call fcn.00405b70
lea ecx, [ebp - 0x484]
call fcn.004059f0
push eax
call fcn.0040eeb0
add eax, 0x78
push eax
lea ecx, [ebp - 0x454]
push ecx
call dword [sym.imp.iImportLib.dll_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_elex::filepath::pathcombine_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___wchar_t_const__]
add esp, 0xc
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x424]
call dword [sym.imp.ouilibx.dll_public:_void___thiscall_OUI::COString::constructor_void_]
mov byte [ebp - 4], 0xa
push str.InitInstance__CInstMainDlg_DoModal__Open_
call dword [sym.imp.iImportLib.dll_ISAFE_WriteProgramLogNoMask]
add esp, 4
lea ecx, [ebp - 0x454]
call fcn.004059f0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x416d61
push 0x441164
lea ecx, [ebp - 0x900]
call fcn.004065b0
mov byte [ebp - 4], 0xb
push 0
push 3
lea edx, [ebp - 0x900]
push edx
lea eax, [ebp - 0x454]
push eax
call fcn.004084a0
add esp, 0x10
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x900]
call fcn.00405b70
lea ecx, [ebp - 0x484]
call fcn.004059f0
push eax
push 0x441268
call dword [sym.imp.iImportLib.dll_ISAFE_WriteProgramLogNoMask]
add esp, 8
mov dword [ebp - 0x8d0], 1
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x424]
call dword [sym.imp.ouilibx.dll_public:_void___thiscall_OUI::COString::destructor_void_]
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x454]
call fcn.00405b70
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x484]
call fcn.00405b70
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x618]
call fcn.00415640
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x46c]
call fcn.00405b70
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x550]
call fcn.004154b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x43c]
call fcn.00405b70
mov eax, dword [ebp - 0x8d0]
jmp 0x416f78
push str.InitInstance__coverDlg.DoModal____IDOK_
push 0xffffffffffffffff
call dword [sym.imp.iImportLib.dll_ISAFE_WriteProgramLogString]
add esp, 8
push 0x441338
call dword [sym.imp.iImportLib.dll_ISAFE_WriteProgramLogNoMask]
add esp, 4
lea ecx, [ebp - 0x550]
call dword [sym.imp.ouilibx.dll_public_virtual:_int___thiscall_OUI::COVDialog::DoModal_void_]
push 0x441380
call dword [sym.imp.iImportLib.dll_ISAFE_WriteProgramLogNoMask]
add esp, 4
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x618]
call fcn.00415640
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x46c]
call fcn.00405b70
jmp 0x416e63
push 0x4413c8
call dword [sym.imp.iImportLib.dll_ISAFE_WriteProgramLogNoMask]
add esp, 4
lea ecx, [ebp - 0x550]
call dword [sym.imp.ouilibx.dll_public_virtual:_int___thiscall_OUI::COVDialog::DoModal_void_]
push str.InitInstance__CInstMainDlg_DoModal_
call dword [sym.imp.iImportLib.dll_ISAFE_WriteProgramLogNoMask]
add esp, 4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x550]
call fcn.004154b0
jmp 0x416f56
movzx ecx, byte [0x457220]
test ecx, ecx
je 0x416f56
push 1
call fcn.00409af0
add esp, 4
movzx edx, al
test edx, edx
jne 0x416ebe
mov dword [ebp - 0x8e0], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x43c]
call fcn.00405b70
mov eax, dword [ebp - 0x8e0]
jmp 0x416f78
xor eax, eax
mov word [ebp - 0xb20], ax
push 0x206
push 0
lea ecx, [ebp - 0xb1e]
push ecx
call sub.MSVCR110.dll_memset
add esp, 0xc
push 0
lea ecx, [ebp - 0x6e0]
call fcn.0041e120
mov byte [ebp - 4], 0xc
movzx edx, byte [0x45721f]
test edx, edx
je 0x416f22
push str.InitInstance__silent_upgrade_
push 0xffffffffffffffff
call dword [sym.imp.iImportLib.dll_ISAFE_WriteProgramLogString]
add esp, 8
call fcn.0040eeb0
mov byte [eax + 0xaf], 1
lea ecx, [ebp - 0x6e0]
call fcn.0041e620
jmp 0x416f47
movzx eax, byte [0x45721e]
test eax, eax
je 0x416f2f
jmp 0x416f47
call fcn.0040eeb0
mov byte [eax + 0xaf], 1
lea ecx, [ebp - 0x6e0]
call dword [sym.imp.ouilibx.dll_public_virtual:_int___thiscall_OUI::COVDialog::DoModal_void_]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x6e0]
call fcn.004155d0
mov dword [ebp - 0x8e4], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x43c]
call fcn.00405b70
mov eax, dword [ebp - 0x8e4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004314a6
mov esp, ebp
pop ebp
ret