Function at 0x409e60
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x433834
mov eax, dword fs:[0]
push eax
sub esp, 0xd00
mov eax, dword [0x455070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov word [ebp - 0x830], ax
push 0x206
push 0
lea ecx, [ebp - 0x82e]
push ecx
call sub.MSVCR110.dll_memset
add esp, 0xc
push 0x104
lea edx, [ebp - 0x830]
push edx
call fcn.0040aa40
add esp, 8
xor eax, eax
mov word [ebp - 0x218], ax
push 0x206
push 0
lea ecx, [ebp - 0x216]
push ecx
call sub.MSVCR110.dll_memset
add esp, 0xc
lea edx, [ebp - 0x830]
push edx
lea ecx, [ebp - 0xc34]
call fcn.004065b0
mov dword [ebp - 0xafc], eax
mov eax, dword [ebp - 0xafc]
mov dword [ebp - 0xb04], eax
mov dword [ebp - 4], 0
push 0x43a834
mov ecx, dword [ebp - 0xb04]
push ecx
lea edx, [ebp - 0xac8]
push edx
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], 2
lea ecx, [ebp - 0xc34]
call fcn.00405b70
lea ecx, [ebp - 0xac8]
call fcn.004059f0
push eax
push 0x208
lea eax, [ebp - 0x218]
push eax
call fcn.004078a0
lea ecx, [ebp - 0x218]
push ecx
push str.CUninstMainDlg::helper_OldVersionPath_s
call dword [sym.imp.iImportLib.dll_ISAFE_WriteProgramLogNoMask]
add esp, 8
xor edx, edx
mov word [ebp - 0x628], dx
push 0x206
push 0
lea eax, [ebp - 0x626]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40a919
push 0x104
lea edx, [ebp - 0x628]
push edx
lea eax, [ebp - 0x218]
push eax
call fcn.00406730
mov ecx, eax
call fcn.0041fe00
lea ecx, [ebp - 0x628]
push ecx
push str.CUninstMainDlg::helper_OldVerSionInfo
call dword [sym.imp.iImportLib.dll_ISAFE_WriteProgramLogNoMask]
add esp, 8
lea edx, [ebp - 0xab0]
push edx
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::getProgramRunDir_void_]
add esp, 4
mov byte [ebp - 4], 3
xor eax, eax
mov word [ebp - 0xa38], ax
push 0x206
push 0
lea ecx, [ebp - 0xa36]
push ecx
call sub.MSVCR110.dll_memset
add esp, 0xc
push 0x43a884
lea ecx, [ebp - 0xab0]
call fcn.004059f0
push eax
push 0x43a8e4
push 0x208
lea edx, [ebp - 0xa38]
push edx
call fcn.00401000
add esp, 0x14
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 0x104
lea edx, [ebp - 0x420]
push edx
lea eax, [ebp - 0xa38]
push eax
call fcn.00406730
mov ecx, eax
call fcn.0041fe00
lea ecx, [ebp - 0x420]
push ecx
push 0x43a940
call dword [sym.imp.iImportLib.dll_ISAFE_WriteProgramLogNoMask]
add esp, 8
lea edx, [ebp - 0x628]
push edx
lea ecx, [ebp - 0xa98]
call fcn.004065b0
mov byte [ebp - 4], 4
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0xa80]
call fcn.004065b0
mov byte [ebp - 4], 5
mov dword [ebp - 0xa44], 0
xor ecx, ecx
mov dword [ebp - 0xa40], ecx
mov dword [ebp - 0xa3c], ecx
mov dword [ebp - 0xa50], 0
xor edx, edx
mov dword [ebp - 0xa4c], edx
mov dword [ebp - 0xa48], edx
lea ecx, [ebp - 0xa68]
call fcn.00405b40
mov byte [ebp - 4], 6
push 0
push 0x43a93c
lea ecx, [ebp - 0xa98]
call fcn.0040b9d0
mov dword [ebp - 0xacc], eax
mov eax, dword [ebp - 0xacc]
push eax
push 0
lea ecx, [ebp - 0xc4c]
push ecx
lea ecx, [ebp - 0xa98]
call fcn.004033f0
mov dword [ebp - 0xb0c], eax
mov edx, dword [ebp - 0xb0c]
push edx
lea ecx, [ebp - 0xa68]
call fcn.004032c0
lea ecx, [ebp - 0xc4c]
call fcn.00405b70
lea ecx, [ebp - 0xa68]
call fcn.004059f0
push eax
lea ecx, [ebp - 0xb74]
call fcn.004065b0
mov byte [ebp - 4], 7
push 0xfde9
lea eax, [ebp - 0xb74]
push eax
lea ecx, [ebp - 0xc7c]
push ecx
call dword [sym.imp.iImportLib.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_elex::strings::ws2s_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___unsigned_int_]
add esp, 0xc
mov dword [ebp - 0xb14], eax
mov ecx, dword [ebp - 0xb14]
call fcn.0040ed00
push eax
call dword [sym.imp.MSVCR110.dll_atoi]
add esp, 4
mov edx, 4
imul edx, edx, 0
mov dword [ebp + edx - 0xa44], eax
lea ecx, [ebp - 0xc7c]
call fcn.00406f00
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xb74]
call fcn.00405b70
lea ecx, [ebp - 0xa98]
call fcn.00405c20
push eax
mov eax, dword [ebp - 0xacc]
add eax, 1
push eax
lea ecx, [ebp - 0xcac]
push ecx
lea ecx, [ebp - 0xa98]
call fcn.004033f0
mov dword [ebp - 0xb00], eax
mov edx, dword [ebp - 0xb00]
push edx
lea ecx, [ebp - 0xa98]
call fcn.004032c0
lea ecx, [ebp - 0xcac]
call fcn.00405b70
push 0
push 0x43a994
lea ecx, [ebp - 0xa98]
call fcn.0040b9d0
mov dword [ebp - 0xacc], eax
mov eax, dword [ebp - 0xacc]
push eax
push 0
lea ecx, [ebp - 0xcdc]
push ecx
lea ecx, [ebp - 0xa98]
call fcn.004033f0
mov dword [ebp - 0xaf4], eax
mov edx, dword [ebp - 0xaf4]
push edx
lea ecx, [ebp - 0xa68]
call fcn.004032c0
lea ecx, [ebp - 0xcdc]
call fcn.00405b70
lea ecx, [ebp - 0xa68]
call fcn.004059f0
push eax
lea ecx, [ebp - 0xb8c]
call fcn.004065b0
mov byte [ebp - 4], 8
push 0xfde9
lea eax, [ebp - 0xb8c]
push eax
lea ecx, [ebp - 0xd0c]
push ecx
call dword [sym.imp.iImportLib.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_elex::strings::ws2s_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___unsigned_int_]
add esp, 0xc
mov dword [ebp - 0xadc], eax
mov ecx, dword [ebp - 0xadc]
call fcn.0040ed00
push eax
call dword [sym.imp.MSVCR110.dll_atoi]
add esp, 4
mov edx, 4
shl edx, 0
mov dword [ebp + edx - 0xa44], eax
lea ecx, [ebp - 0xd0c]
call fcn.00406f00
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xb8c]
call fcn.00405b70
lea ecx, [ebp - 0xa98]
call fcn.00405c20
push eax
mov eax, dword [ebp - 0xacc]
add eax, 1
push eax
lea ecx, [ebp - 0xcc4]
push ecx
lea ecx, [ebp - 0xa98]
call fcn.004033f0
mov dword [ebp - 0xaec], eax
mov edx, dword [ebp - 0xaec]
push edx
lea ecx, [ebp - 0xa98]
call fcn.004032c0
lea ecx, [ebp - 0xcc4]
call fcn.00405b70
lea eax, [ebp - 0xa98]
push eax
lea ecx, [ebp - 0xa68]
call fcn.00405ac0
lea ecx, [ebp - 0xa68]
call fcn.004059f0
push eax
lea ecx, [ebp - 0xb44]
call fcn.004065b0
mov byte [ebp - 4], 9
push 0xfde9
lea ecx, [ebp - 0xb44]
push ecx
lea edx, [ebp - 0xc04]
push edx
call dword [sym.imp.iImportLib.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_elex::strings::ws2s_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___unsigned_int_]
add esp, 0xc
mov dword [ebp - 0xaf0], eax
mov ecx, dword [ebp - 0xaf0]
call fcn.0040ed00
push eax
call dword [sym.imp.MSVCR110.dll_atoi]
add esp, 4
mov ecx, 4
shl ecx, 1
mov dword [ebp + ecx - 0xa44], eax
lea ecx, [ebp - 0xc04]
call fcn.00406f00
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xb44]
call fcn.00405b70
push 0x43a998
lea ecx, [ebp - 0xa68]
call fcn.004033a0
mov dword [ebp - 0xacc], 0
push 0
push 0x43a99c
lea ecx, [ebp - 0xa80]
call fcn.0040b9d0
mov dword [ebp - 0xacc], eax
mov edx, dword [ebp - 0xacc]
push edx
push 0
lea eax, [ebp - 0xc94]
push eax
lea ecx, [ebp - 0xa80]
call fcn.004033f0
mov dword [ebp - 0xad8], eax
mov ecx, dword [ebp - 0xad8]
push ecx
lea ecx, [ebp - 0xa68]
call fcn.004032c0
lea ecx, [ebp - 0xc94]
call fcn.00405b70
lea ecx, [ebp - 0xa68]
call fcn.004059f0
push eax
lea ecx, [ebp - 0xb2c]
call fcn.004065b0
mov byte [ebp - 4], 0xa
push 0xfde9
lea edx, [ebp - 0xb2c]
push edx
lea eax, [ebp - 0xbbc]
push eax
call dword [sym.imp.iImportLib.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_elex::strings::ws2s_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___unsigned_int_]
add esp, 0xc
mov dword [ebp - 0xb10], eax
mov ecx, dword [ebp - 0xb10]
call fcn.0040ed00
push eax
call dword [sym.imp.MSVCR110.dll_atoi]
add esp, 4
mov ecx, 4
imul ecx, ecx, 0
mov dword [ebp + ecx - 0xa50], eax
lea ecx, [ebp - 0xbbc]
call fcn.00406f00
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xb2c]
call fcn.00405b70
lea ecx, [ebp - 0xa80]
call fcn.00405c20
push eax
mov edx, dword [ebp - 0xacc]
add edx, 1
push edx
lea eax, [ebp - 0xcf4]
push eax
lea ecx, [ebp - 0xa80]
call fcn.004033f0
mov dword [ebp - 0xaf8], eax
mov ecx, dword [ebp - 0xaf8]
push ecx
lea ecx, [ebp - 0xa80]
call fcn.004032c0
lea ecx, [ebp - 0xcf4]
call fcn.00405b70
push 0
push 0x43a9a0
lea ecx, [ebp - 0xa80]
call fcn.0040b9d0
mov dword [ebp - 0xacc], eax
mov edx, dword [ebp - 0xacc]
push edx
push 0
lea eax, [ebp - 0xc64]
push eax
lea ecx, [ebp - 0xa80]
call fcn.004033f0
mov dword [ebp - 0xae4], eax
mov ecx, dword [ebp - 0xae4]
push ecx
lea ecx, [ebp - 0xa68]
call fcn.004032c0
lea ecx, [ebp - 0xc64]
call fcn.00405b70
lea ecx, [ebp - 0xa68]
call fcn.004059f0
push eax
lea ecx, [ebp - 0xba4]
call fcn.004065b0
mov byte [ebp - 4], 0xb
push 0xfde9
lea edx, [ebp - 0xba4]
push edx
lea eax, [ebp - 0xbd4]
push eax
call dword [sym.imp.iImportLib.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_elex::strings::ws2s_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___unsigned_int_]
add esp, 0xc
mov dword [ebp - 0xae0], eax
mov ecx, dword [ebp - 0xae0]
call fcn.0040ed00
push eax
call dword [sym.imp.MSVCR110.dll_atoi]
add esp, 4
mov ecx, 4
shl ecx, 0
mov dword [ebp + ecx - 0xa50], eax
lea ecx, [ebp - 0xbd4]
call fcn.00406f00
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xba4]
call fcn.00405b70
lea ecx, [ebp - 0xa80]
call fcn.00405c20
push eax
mov edx, dword [ebp - 0xacc]
add edx, 1
push edx
lea eax, [ebp - 0xbec]
push eax
lea ecx, [ebp - 0xa80]
call fcn.004033f0
mov dword [ebp - 0xb08], eax
mov ecx, dword [ebp - 0xb08]
push ecx
lea ecx, [ebp - 0xa80]
call fcn.004032c0
lea ecx, [ebp - 0xbec]
call fcn.00405b70
lea edx, [ebp - 0xa80]
push edx
lea ecx, [ebp - 0xa68]
call fcn.00405ac0
lea ecx, [ebp - 0xa68]
call fcn.004059f0
push eax
lea ecx, [ebp - 0xb5c]
call fcn.004065b0
mov byte [ebp - 4], 0xc
push 0xfde9
lea eax, [ebp - 0xb5c]
push eax
lea ecx, [ebp - 0xc1c]
push ecx
call dword [sym.imp.iImportLib.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_elex::strings::ws2s_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___unsigned_int_]
add esp, 0xc
mov dword [ebp - 0xae8], eax
mov ecx, dword [ebp - 0xae8]
call fcn.0040ed00
push eax
call dword [sym.imp.MSVCR110.dll_atoi]
add esp, 4
mov edx, 4
shl edx, 1
mov dword [ebp + edx - 0xa50], eax
lea ecx, [ebp - 0xc1c]
call fcn.00406f00
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xb5c]
call fcn.00405b70
mov eax, 4
imul eax, eax, 0
mov ecx, 4
imul ecx, ecx, 0
mov edx, dword [ebp + eax - 0xa50]
cmp edx, dword [ebp + ecx - 0xa44]
jle 0x40a70f
mov byte [ebp - 0xad0], 1
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xa68]
call fcn.00405b70
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xa80]
call fcn.00405b70
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xa98]
call fcn.00405b70
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xab0]
call fcn.00405b70
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xac8]
call fcn.00405b70
mov al, byte [ebp - 0xad0]
jmp 0x40a938
mov eax, 4
imul eax, eax, 0
mov ecx, 4
imul ecx, ecx, 0
mov edx, dword [ebp + eax - 0xa50]
cmp edx, dword [ebp + ecx - 0xa44]
jne 0x40a7b8
mov eax, 4
shl eax, 0
mov ecx, 4
shl ecx, 0
mov edx, dword [ebp + eax - 0xa50]
cmp edx, dword [ebp + ecx - 0xa44]
jle 0x40a7b8
mov byte [ebp - 0xacd], 1
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xa68]
call fcn.00405b70
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xa80]
call fcn.00405b70
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xa98]
call fcn.00405b70
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xab0]
call fcn.00405b70
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xac8]
call fcn.00405b70
mov al, byte [ebp - 0xacd]
jmp 0x40a938
mov eax, 4
imul eax, eax, 0
mov ecx, 4
imul ecx, ecx, 0
mov edx, dword [ebp + eax - 0xa50]
cmp edx, dword [ebp + ecx - 0xa44]
jne 0x40a880
mov eax, 4
shl eax, 0
mov ecx, 4
shl ecx, 0
mov edx, dword [ebp + eax - 0xa50]
cmp edx, dword [ebp + ecx - 0xa44]
jne 0x40a880
mov eax, 4
shl eax, 1
mov ecx, 4
shl ecx, 1
mov edx, dword [ebp + eax - 0xa50]
cmp edx, dword [ebp + ecx - 0xa44]
jle 0x40a880
mov byte [ebp - 0xace], 1
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xa68]
call fcn.00405b70
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xa80]
call fcn.00405b70
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xa98]
call fcn.00405b70
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xab0]
call fcn.00405b70
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xac8]
call fcn.00405b70
mov al, byte [ebp - 0xace]
jmp 0x40a938
mov byte [ebp - 0xacf], 0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xa68]
call fcn.00405b70
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xa80]
call fcn.00405b70
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xa98]
call fcn.00405b70
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xab0]
call fcn.00405b70
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xac8]
call fcn.00405b70
mov al, byte [ebp - 0xacf]
jmp 0x40a938
mov byte [ebp - 0xad1], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xac8]
call fcn.00405b70
mov al, byte [ebp - 0xad1]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004314a6
mov esp, ebp
pop ebp
ret