Function at 0x469690
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.00405850
mov dword [ebp - 0x2c], eax
push 0xa
lea ecx, [ebp - 0x28]
call fcn.0042a052
lea eax, [ebp - 0x28]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x44], esp
lea edx, [ebp + 8]
push edx
call fcn.004035f0
call fcn.0045cf00
add esp, 8
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 1
je 0x4697a4
lea eax, [ebp + 8]
push eax
push str._DeleteInstallData__Invalid_arguments__nArg_1_:
lea ecx, [ebp - 0x58]
push ecx
call fcn.00404090
add esp, 0xc
mov ecx, eax
call fcn.00407f80
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x469718
mov dword [ebp - 0x9c], 0
jmp 0x469779
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 0x46973d
mov dword [ebp - 0xa0], 0
jmp 0x46976d
mov eax, dword [ebp - 4]
shl eax, 1
call fcn.00446410
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.00405800
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.0043c19f
push 0x4947ec
lea ecx, [ebp - 0x50]
push ecx
call fcn.00442d86
lea ecx, [ebp - 0x58]
call fcn.00401870
push 0
lea ecx, [ebp - 0x28]
call fcn.0042a02e
push eax
lea ecx, [ebp - 0x28]
call fcn.00408af0
push eax
lea ecx, [ebp - 0xc]
call fcn.004035f0
lea ecx, [ebp - 0xc]
call fcn.00407f80
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4697f0
lea ecx, [ebp - 0xc]
call fcn.00401870
lea ecx, [ebp - 0x28]
call fcn.0042a169
lea ecx, [ebp + 8]
call fcn.00401870
jmp 0x469a71
or dword [ebp - 0x98], 1
push 0x48854c
push ecx
mov ecx, esp
mov dword [ebp - 0x64], esp
push 0x488550
call fcn.004039f0
lea edx, [ebp - 0x68]
push edx
call fcn.0045c810
add esp, 8
push eax
call fcn.004068e0
add esp, 8
movzx eax, al
test eax, eax
je 0x46986c
or dword [ebp - 0x98], 2
push 0x488574
push ecx
mov ecx, esp
mov dword [ebp - 0x6c], esp
push str.qyfvAloneinstalled
call fcn.004039f0
lea ecx, [ebp - 0x70]
push ecx
call fcn.0045c810
add esp, 8
push eax
call fcn.004068e0
add esp, 8
movzx edx, al
test edx, edx
je 0x46986c
mov dword [ebp - 0xa8], 1
jmp 0x469876
mov dword [ebp - 0xa8], 0
mov al, byte [ebp - 0xa8]
mov byte [ebp - 0x5d], al
mov ecx, dword [ebp - 0x98]
and ecx, 2
je 0x469899
and dword [ebp - 0x98], 0xfffffffd
lea ecx, [ebp - 0x70]
call fcn.00401870
mov edx, dword [ebp - 0x98]
and edx, 1
je 0x4698b3
and dword [ebp - 0x98], 0xfffffffe
lea ecx, [ebp - 0x68]
call fcn.00401870
movzx eax, byte [ebp - 0x5d]
test eax, eax
je 0x469956
push ecx
mov ecx, esp
mov dword [ebp - 0x74], esp
push str.installdirfvideo
call fcn.004039f0
lea ecx, [ebp - 0x3c]
push ecx
call fcn.0045c810
add esp, 8
lea ecx, [ebp - 0xc]
call fcn.004039d0
push eax
lea edx, [ebp - 0x40]
push edx
lea ecx, [ebp - 0x3c]
call fcn.00405510
lea ecx, [ebp - 0xc]
call fcn.00407f80
push eax
lea ecx, [ebp - 0x40]
call fcn.00407430
test eax, eax
jne 0x46992d
push ecx
mov ecx, esp
mov dword [ebp - 0x78], esp
lea eax, [ebp - 0x3c]
push eax
call fcn.004035f0
push ecx
mov ecx, esp
mov dword [ebp - 0x7c], esp
lea edx, [ebp - 0xc]
push edx
call fcn.004035f0
call fcn.004678d0
add esp, 8
jmp 0x469944
push ecx
mov ecx, esp
mov dword [ebp - 0x80], esp
lea eax, [ebp - 0xc]
push eax
call fcn.004035f0
call sym.QiyiInstaller.exe_RMDir
add esp, 4
lea ecx, [ebp - 0x40]
call fcn.00401870
lea ecx, [ebp - 0x3c]
call fcn.00401870
jmp 0x469970
push ecx
mov ecx, esp
mov dword [ebp - 0x84], esp
lea edx, [ebp - 0xc]
push edx
call fcn.004035f0
call sym.QiyiInstaller.exe_RMDir
add esp, 4
push 0x4885c4
push 1
lea eax, [ebp - 0x8c]
push eax
lea ecx, [ebp - 0xc]
call fcn.00405480
push eax
call fcn.00404140
add esp, 8
mov byte [ebp - 0x85], al
lea ecx, [ebp - 0x8c]
call fcn.00401870
movzx ecx, byte [ebp - 0x85]
test ecx, ecx
je 0x4699da
lea ecx, [ebp - 0xc]
call fcn.004039d0
sub eax, 1
push eax
lea edx, [ebp - 0x90]
push edx
lea ecx, [ebp - 0xc]
call fcn.00405510
push eax
lea ecx, [ebp - 0xc]
call fcn.00403920
lea ecx, [ebp - 0x90]
call fcn.00401870
push 0x5c
lea ecx, [ebp - 0xc]
call fcn.00405430
add eax, 1
push eax
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0xc]
call fcn.00405510
push 0
push 0x4885c8
lea ecx, [ebp - 0x34]
call fcn.00403f60
cmp eax, 0xffffffff
je 0x469a15
lea ecx, [ebp - 0x34]
call fcn.004039d0
cmp eax, 4
jge 0x469a37
lea ecx, [ebp - 0x34]
call fcn.00401870
lea ecx, [ebp - 0xc]
call fcn.00401870
lea ecx, [ebp - 0x28]
call fcn.0042a169
lea ecx, [ebp + 8]
call fcn.00401870
jmp 0x469a71
push ecx
mov ecx, esp
mov dword [ebp - 0x94], esp
lea edx, [ebp - 0x34]
push edx
call fcn.004035f0
call sym.QiyiInstaller.exe_RMEmptyDir
add esp, 4
lea ecx, [ebp - 0x34]
call fcn.00401870
lea ecx, [ebp - 0xc]
call fcn.00401870
lea ecx, [ebp - 0x28]
call fcn.0042a169
lea ecx, [ebp + 8]
call fcn.00401870
lea esp, [ebp - 0xa8]
mov ecx, dword [ebp - 0x5c]
xor ecx, ebp
call fcn.0043bc9b
mov esp, ebp
pop ebp
ret