Function at 0x4696a0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa8
mov eax, dword [0x49d7b0]
xor eax, ebp
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x98], 0
call fcn.00405ca0
mov dword [ebp - 0x2c], eax
push 0xa
lea ecx, [ebp - 0x28]
call fcn.0042a058
lea eax, [ebp - 0x28]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x44], esp
lea edx, [ebp + 8]
push edx
call fcn.004036b0
call fcn.0045cf10
add esp, 8
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 1
je 0x4697b4
lea eax, [ebp + 8]
push eax
push str._DeleteInstallData__Invalid_arguments__nArg_1_:
lea ecx, [ebp - 0x58]
push ecx
call fcn.00404130
add esp, 0xc
mov ecx, eax
call fcn.004039c0
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x469728
mov dword [ebp - 0x9c], 0
jmp 0x469789
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x3fffffff
jle 0x46974d
mov dword [ebp - 0xa0], 0
jmp 0x46977d
mov eax, dword [ebp - 4]
shl eax, 1
call fcn.00446420
mov dword [ebp - 0xa4], esp
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 4]
shl ecx, 1
push ecx
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 0xa4]
push eax
call fcn.00405c50
mov dword [ebp - 0xa0], eax
mov ecx, dword [ebp - 0xa0]
mov dword [ebp - 0x9c], ecx
mov edx, dword [ebp - 0x9c]
mov dword [ebp - 0x54], edx
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x50]
call fcn.0043c1ef
push 0x49479c
lea ecx, [ebp - 0x50]
push ecx
call fcn.00442d96
lea ecx, [ebp - 0x58]
call fcn.00401830
push 0
lea ecx, [ebp - 0x28]
call fcn.0042a034
push eax
lea ecx, [ebp - 0x28]
call fcn.00408af0
push eax
lea ecx, [ebp - 0xc]
call fcn.004036b0
lea ecx, [ebp - 0xc]
call fcn.004039c0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x469800
lea ecx, [ebp - 0xc]
call fcn.00401830
lea ecx, [ebp - 0x28]
call fcn.0042a16f
lea ecx, [ebp + 8]
call fcn.00401830
jmp 0x469a81
or dword [ebp - 0x98], 1
push 0x4884f4
push ecx
mov ecx, esp
mov dword [ebp - 0x64], esp
push 0x4884f8
call fcn.00403ac0
lea edx, [ebp - 0x68]
push edx
call fcn.0045c820
add esp, 8
push eax
call fcn.00406a10
add esp, 8
movzx eax, al
test eax, eax
je 0x46987c
or dword [ebp - 0x98], 2
push 0x48851c
push ecx
mov ecx, esp
mov dword [ebp - 0x6c], esp
push str.qyfvAloneinstalled
call fcn.00403ac0
lea ecx, [ebp - 0x70]
push ecx
call fcn.0045c820
add esp, 8
push eax
call fcn.00406a10
add esp, 8
movzx edx, al
test edx, edx
je 0x46987c
mov dword [ebp - 0xa8], 1
jmp 0x469886
mov dword [ebp - 0xa8], 0
mov al, byte [ebp - 0xa8]
mov byte [ebp - 0x5d], al
mov ecx, dword [ebp - 0x98]
and ecx, 2
je 0x4698a9
and dword [ebp - 0x98], 0xfffffffd
lea ecx, [ebp - 0x70]
call fcn.00401830
mov edx, dword [ebp - 0x98]
and edx, 1
je 0x4698c3
and dword [ebp - 0x98], 0xfffffffe
lea ecx, [ebp - 0x68]
call fcn.00401830
movzx eax, byte [ebp - 0x5d]
test eax, eax
je 0x469966
push ecx
mov ecx, esp
mov dword [ebp - 0x74], esp
push str.installdirfvideo
call fcn.00403ac0
lea ecx, [ebp - 0x3c]
push ecx
call fcn.0045c820
add esp, 8
lea ecx, [ebp - 0xc]
call fcn.00403aa0
push eax
lea edx, [ebp - 0x40]
push edx
lea ecx, [ebp - 0x3c]
call fcn.00405960
lea ecx, [ebp - 0xc]
call fcn.004039c0
push eax
lea ecx, [ebp - 0x40]
call fcn.00407660
test eax, eax
jne 0x46993d
push ecx
mov ecx, esp
mov dword [ebp - 0x78], esp
lea eax, [ebp - 0x3c]
push eax
call fcn.004036b0
push ecx
mov ecx, esp
mov dword [ebp - 0x7c], esp
lea edx, [ebp - 0xc]
push edx
call fcn.004036b0
call fcn.004678e0
add esp, 8
jmp 0x469954
push ecx
mov ecx, esp
mov dword [ebp - 0x80], esp
lea eax, [ebp - 0xc]
push eax
call fcn.004036b0
call sym.QiyiInstaller.exe_RMDir
add esp, 4
lea ecx, [ebp - 0x40]
call fcn.00401830
lea ecx, [ebp - 0x3c]
call fcn.00401830
jmp 0x469980
push ecx
mov ecx, esp
mov dword [ebp - 0x84], esp
lea edx, [ebp - 0xc]
push edx
call fcn.004036b0
call sym.QiyiInstaller.exe_RMDir
add esp, 4
push 0x48856c
push 1
lea eax, [ebp - 0x8c]
push eax
lea ecx, [ebp - 0xc]
call fcn.004058d0
push eax
call fcn.004041e0
add esp, 8
mov byte [ebp - 0x85], al
lea ecx, [ebp - 0x8c]
call fcn.00401830
movzx ecx, byte [ebp - 0x85]
test ecx, ecx
je 0x4699ea
lea ecx, [ebp - 0xc]
call fcn.00403aa0
sub eax, 1
push eax
lea edx, [ebp - 0x90]
push edx
lea ecx, [ebp - 0xc]
call fcn.00405960
push eax
lea ecx, [ebp - 0xc]
call fcn.004039f0
lea ecx, [ebp - 0x90]
call fcn.00401830
push 0x5c
lea ecx, [ebp - 0xc]
call fcn.00405880
add eax, 1
push eax
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0xc]
call fcn.00405960
push 0
push 0x488570
lea ecx, [ebp - 0x34]
call fcn.00404000
cmp eax, 0xffffffff
je 0x469a25
lea ecx, [ebp - 0x34]
call fcn.00403aa0
cmp eax, 4
jge 0x469a47
lea ecx, [ebp - 0x34]
call fcn.00401830
lea ecx, [ebp - 0xc]
call fcn.00401830
lea ecx, [ebp - 0x28]
call fcn.0042a16f
lea ecx, [ebp + 8]
call fcn.00401830
jmp 0x469a81
push ecx
mov ecx, esp
mov dword [ebp - 0x94], esp
lea edx, [ebp - 0x34]
push edx
call fcn.004036b0
call sym.QiyiInstaller.exe_RMEmptyDir
add esp, 4
lea ecx, [ebp - 0x34]
call fcn.00401830
lea ecx, [ebp - 0xc]
call fcn.00401830
lea ecx, [ebp - 0x28]
call fcn.0042a16f
lea ecx, [ebp + 8]
call fcn.00401830
lea esp, [ebp - 0xa8]
mov ecx, dword [ebp - 0x5c]
xor ecx, ebp
call fcn.0043bced
mov esp, ebp
pop ebp
ret