Function at 0x402650
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5baee7
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x64ef64]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 0x6b
mov dword [ebp - 0x5c], 0
call sym.InstallerYQS.exe_public:_void___thiscall_DuiLib::CWindowWnd::SetIcon_unsigned_int_
push str.maintab
lea ecx, [edi + 0x30]
call sym.InstallerYQS.exe_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_wchar_t_const__const
push str.subtab
lea ecx, [edi + 0x30]
mov dword [edi + 0x590], eax
call sym.InstallerYQS.exe_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_wchar_t_const__const
push str.closebtn
lea ecx, [edi + 0x30]
mov dword [edi + 0x594], eax
call sym.InstallerYQS.exe_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_wchar_t_const__const
push str.prog
lea ecx, [edi + 0x30]
mov dword [edi + 0x598], eax
call sym.InstallerYQS.exe_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_wchar_t_const__const
push str.version
lea ecx, [edi + 0x30]
mov dword [edi + 0x5a0], eax
call sym.InstallerYQS.exe_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_wchar_t_const__const
push str.labelpath
lea ecx, [edi + 0x30]
mov dword [edi + 0x59c], eax
call sym.InstallerYQS.exe_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_wchar_t_const__const
push str.editpath
lea ecx, [edi + 0x30]
mov dword [edi + 0x5a8], eax
call sym.InstallerYQS.exe_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_wchar_t_const__const
push str.btnpath
lea ecx, [edi + 0x30]
mov dword [edi + 0x5ac], eax
call sym.InstallerYQS.exe_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_wchar_t_const__const
push 0x60b498
lea ecx, [edi + 0x30]
mov dword [edi + 0x5b0], eax
call sym.InstallerYQS.exe_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_wchar_t_const__const
push 0x60b4a0
lea ecx, [edi + 0x30]
mov dword [edi + 0x5a4], eax
call sym.InstallerYQS.exe_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_wchar_t_const__const
push str.dlg_icon
lea ecx, [edi + 0x30]
mov dword [edi + 0x5b4], eax
call sym.InstallerYQS.exe_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_wchar_t_const__const
push str.dlg_text
lea ecx, [edi + 0x30]
mov dword [edi + 0x5b8], eax
call sym.InstallerYQS.exe_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_wchar_t_const__const
push str.dlg_ok
lea ecx, [edi + 0x30]
mov dword [edi + 0x5bc], eax
call sym.InstallerYQS.exe_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_wchar_t_const__const
push str.dlg_cancel
lea ecx, [edi + 0x30]
mov dword [edi + 0x5c0], eax
call sym.InstallerYQS.exe_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_wchar_t_const__const
lea ecx, [ebp - 0x74]
mov dword [edi + 0x5c4], eax
call fcn.00413a20
mov edx, eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x8c]
call fcn.00414070
mov edx, eax
mov byte [ebp - 4], 1
cmp dword [edx + 0x14], 8
jb 0x4027c2
mov edx, dword [edx]
mov ecx, dword [edi + 0x59c]
push edx
mov eax, dword [ecx]
call dword [eax + 0x3c]
mov eax, dword [ebp - 0x78]
cmp eax, 8
jb 0x4027e9
inc eax
lea ecx, [ebp - 0x8c]
push eax
push dword [ebp - 0x8c]
call fcn.00408aa0
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov word [ebp - 0x8c], ax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x78], 7
mov dword [ebp - 0x7c], 0
cmp eax, 8
jb 0x40281c
inc eax
lea ecx, [ebp - 0x74]
push eax
push dword [ebp - 0x74]
call fcn.00408aa0
mov ecx, dword [edi + 0x590]
test ecx, ecx
je 0x402832
mov eax, dword [ecx]
push 1
push 0
call dword [eax + 0x20c]
mov ecx, dword [edi + 0x594]
test ecx, ecx
je 0x402848
mov eax, dword [ecx]
push 1
push 0
call dword [eax + 0x20c]
mov ecx, dword [edi + 0x598]
test ecx, ecx
je 0x40285c
mov eax, dword [ecx]
push 1
call dword [eax + 0xf4]
xor eax, eax
mov dword [edi + 0x610], 0
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
push 0x2c
push eax
lea eax, [ebp - 0x58]
mov dword [ebp - 4], 2
push eax
call fcn.00599690
add esp, 0xc
mov dword [ebp - 0x60], 7
xor eax, eax
mov dword [ebp - 0x64], 0
lea ecx, [ebp - 0x74]
mov word [ebp - 0x74], ax
push 0x58
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallA0FDEECE_1860_4525_9AEA_E29AFB8BFE41
call fcn.004088c0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x4c]
xor eax, eax
mov dword [ebp - 0x58], 0
push 0xffffffffffffffff
push eax
mov word [ebp - 0x4c], ax
lea eax, [ebp - 0x74]
push eax
mov dword [ebp - 0x54], reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x38], 7
mov dword [ebp - 0x3c], 0
call fcn.004084d0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x60]
cmp eax, 8
jb 0x402916
inc eax
lea ecx, [ebp - 0x74]
push eax
push dword [ebp - 0x74]
call fcn.00408aa0
push 1
xor eax, eax
mov dword [ebp - 0x60], 7
push ecx
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x64], 0
mov word [ebp - 0x74], ax
call fcn.00414cc0
test eax, eax
je 0x40299e
push 0xf
xor eax, eax
mov dword [ebp - 0x78], 7
push str.InstallLocation
lea ecx, [ebp - 0x8c]
mov dword [ebp - 0x7c], 0
mov word [ebp - 0x8c], ax
call fcn.004088c0
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x8c]
mov dword [ebp - 0x5c], 1
push eax
lea ecx, [ebp - 0x58]
call fcn.00414ea0
test eax, eax
je 0x40299e
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40299e
mov bl, 1
jmp 0x4029a0
xor bl, bl
mov dword [ebp - 4], 5
test byte [ebp - 0x5c], 1
je 0x4029c8
mov eax, dword [ebp - 0x78]
cmp eax, 8
jb 0x4029c8
inc eax
lea ecx, [ebp - 0x8c]
push eax
push dword [ebp - 0x8c]
call fcn.00408aa0
test bl, bl
je 0x402a1b
mov ecx, dword [edi + 0x5a8]
push 0x60b5cc
mov eax, dword [ecx]
call dword [eax + 0x3c]
mov ecx, dword [edi + 0x5ac]
push 0
mov eax, dword [ecx]
call dword [eax + 0xf4]
mov ecx, dword [edi + 0x5b0]
push 0
mov eax, dword [ecx]
call dword [eax + 0xf4]
lea esi, [edi + 0x5f0]
lea eax, [ebp - 0x2c]
cmp esi, eax
je 0x402a8e
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.004084d0
jmp 0x402a8e
push str.IsWow64Process
push str.kernel32
mov dword [ebp - 0x14], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x402a4c
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
cmp dword [ebp - 0x14], 0
mov edx, str.C:Program_Files__x86_YQSDataRecovery_
mov eax, str.C:Program_FilesYQSDataRecovery_
cmove edx, eax
cmp word [edx], 0
jne 0x402a67
xor eax, eax
jmp 0x402a7f
mov eax, edx
lea esi, [eax + 2]
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x402a70
sub eax, esi
sar eax, 1
push eax
lea esi, [edi + 0x5f0]
push edx
mov ecx, esi
call fcn.004088c0
cmp dword [esi + 0x14], 8
jb 0x402a98
mov edx, dword [esi]
jmp 0x402a9a
mov edx, esi
mov ecx, dword [edi + 0x5ac]
push edx
mov eax, dword [ecx]
call dword [eax + 0x3c]
cmp dword [0x64fb64], 0
je 0x402ac7
cmp esi, 0x64fb54
je 0x402ac7
push 0xffffffffffffffff
push 0
push 0x64fb54
mov ecx, esi
call fcn.004084d0
cmp byte [0x64fb48], 0
jne 0x402ad7
mov ecx, edi
call fcn.00403640
lea ecx, [ebp - 0x58]
call fcn.00414c20
mov eax, dword [ebp - 0x18]
cmp eax, 8
jb 0x402af4
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.00408aa0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0054af65
mov esp, ebp
pop ebp
ret