Function at 0x4e4290
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe4
mov eax, dword [0x542af0]
xor eax, ebp
mov dword [ebp - 0x80], eax
push esi
mov dword [ebp - 0xd4], 0
call fcn.00403b70
mov dword [ebp - 0x44], eax
push 0xa
lea ecx, [ebp - 0x3c]
call fcn.004985a0
lea eax, [ebp - 0x3c]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x68], esp
lea edx, [ebp + 8]
push edx
call fcn.004022d0
call fcn.004d7b50
add esp, 8
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 1
je 0x4e43a5
lea eax, [ebp + 8]
push eax
push str._DeleteInstallData__Invalid_arguments__nArg_1_:
lea ecx, [ebp - 0x7c]
push ecx
call fcn.00404580
add esp, 0xc
mov ecx, eax
call sym.QiyiInstaller.exe_public:_enum_eScriptType___thiscall_CScriptModule::Type_void_
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x4e4319
mov dword [ebp - 0xd8], 0
jmp 0x4e437a
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x3fffffff
jle 0x4e433e
mov dword [ebp - 0xdc], 0
jmp 0x4e436e
mov eax, dword [ebp - 8]
shl eax, 1
call fcn.004bbd30
mov dword [ebp - 0xe0], esp
mov eax, dword [ebp - 0x44]
push eax
mov ecx, dword [ebp - 8]
shl ecx, 1
push ecx
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 0xe0]
push eax
call fcn.00407810
mov dword [ebp - 0xdc], eax
mov ecx, dword [ebp - 0xdc]
mov dword [ebp - 0xd8], ecx
mov edx, dword [ebp - 0xd8]
mov dword [ebp - 0x78], edx
lea eax, [ebp - 0x78]
push eax
lea ecx, [ebp - 0x74]
call fcn.004b61cc
push 0x524174
lea ecx, [ebp - 0x74]
push ecx
call fcn.004bb782
lea ecx, [ebp - 0x7c]
call fcn.004030a0
push 0
lea ecx, [ebp - 0x3c]
call fcn.00498577
push eax
lea ecx, [ebp - 0x3c]
call fcn.0040c620
push eax
lea ecx, [ebp - 0x20]
call fcn.004022d0
lea ecx, [ebp - 0x20]
call sym.QiyiInstaller.exe_public:_enum_eScriptType___thiscall_CScriptModule::Type_void_
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4e43f1
lea ecx, [ebp - 0x20]
call fcn.004030a0
lea ecx, [ebp - 0x3c]
call fcn.004986ca
lea ecx, [ebp + 8]
call fcn.004030a0
jmp 0x4e489c
or dword [ebp - 0xd4], 1
push 0x5124cc
push ecx
mov ecx, esp
mov dword [ebp - 0x88], esp
push 0x5124d0
call fcn.00403aa0
lea edx, [ebp - 0x8c]
push edx
call fcn.004d7550
add esp, 8
push eax
call fcn.00404670
add esp, 8
movzx eax, al
test eax, eax
je 0x4e4479
or dword [ebp - 0xd4], 2
push 0x5124f4
push ecx
mov ecx, esp
mov dword [ebp - 0x90], esp
push str.qyfvAloneinstalled
call fcn.00403aa0
lea ecx, [ebp - 0x94]
push ecx
call fcn.004d7550
add esp, 8
push eax
call fcn.00404670
add esp, 8
movzx edx, al
test edx, edx
je 0x4e4479
mov dword [ebp - 0xe4], 1
jmp 0x4e4483
mov dword [ebp - 0xe4], 0
mov al, byte [ebp - 0xe4]
mov byte [ebp - 0x81], al
mov ecx, dword [ebp - 0xd4]
and ecx, 2
je 0x4e44ac
and dword [ebp - 0xd4], 0xfffffffd
lea ecx, [ebp - 0x94]
call fcn.004030a0
mov edx, dword [ebp - 0xd4]
and edx, 1
je 0x4e44c9
and dword [ebp - 0xd4], 0xfffffffe
lea ecx, [ebp - 0x8c]
call fcn.004030a0
movzx eax, byte [ebp - 0x81]
test eax, eax
je 0x4e457b
push ecx
mov ecx, esp
mov dword [ebp - 0x98], esp
push str.installdirfvideo
call fcn.00403aa0
lea ecx, [ebp - 0x54]
push ecx
call fcn.004d7550
add esp, 8
lea ecx, [ebp - 0x20]
call fcn.00403580
push eax
lea edx, [ebp - 0x58]
push edx
lea ecx, [ebp - 0x54]
call fcn.00404450
lea ecx, [ebp - 0x20]
call sym.QiyiInstaller.exe_public:_enum_eScriptType___thiscall_CScriptModule::Type_void_
push eax
lea ecx, [ebp - 0x58]
call fcn.00404000
test eax, eax
jne 0x4e454f
push ecx
mov ecx, esp
mov dword [ebp - 0x9c], esp
lea eax, [ebp - 0x54]
push eax
call fcn.004022d0
push ecx
mov ecx, esp
mov dword [ebp - 0xa0], esp
lea edx, [ebp - 0x20]
push edx
call fcn.004022d0
call fcn.004dee70
add esp, 8
jmp 0x4e4569
push ecx
mov ecx, esp
mov dword [ebp - 0xa4], esp
lea eax, [ebp - 0x20]
push eax
call fcn.004022d0
call sym.QiyiInstaller.exe_RMDir
add esp, 4
lea ecx, [ebp - 0x58]
call fcn.004030a0
lea ecx, [ebp - 0x54]
call fcn.004030a0
jmp 0x4e4595
push ecx
mov ecx, esp
mov dword [ebp - 0xa8], esp
lea edx, [ebp - 0x20]
push edx
call fcn.004022d0
call sym.QiyiInstaller.exe_RMDir
add esp, 4
push 0x512544
push 1
lea eax, [ebp - 0xb0]
push eax
lea ecx, [ebp - 0x20]
call fcn.004043c0
push eax
call fcn.00404650
add esp, 8
mov byte [ebp - 0xa9], al
lea ecx, [ebp - 0xb0]
call fcn.004030a0
movzx ecx, byte [ebp - 0xa9]
test ecx, ecx
je 0x4e45ff
lea ecx, [ebp - 0x20]
call fcn.00403580
sub eax, 1
push eax
lea edx, [ebp - 0xb4]
push edx
lea ecx, [ebp - 0x20]
call fcn.00404450
push eax
lea ecx, [ebp - 0x20]
call fcn.00403060
lea ecx, [ebp - 0xb4]
call fcn.004030a0
push 0x5c
lea ecx, [ebp - 0x20]
call fcn.004042c0
push eax
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x20]
call fcn.00404450
lea ecx, [ebp - 0x4c]
call fcn.00403580
mov esi, eax
push 0x5c
lea ecx, [ebp - 0x4c]
call fcn.004042c0
sub esi, eax
sub esi, 1
push esi
lea ecx, [ebp - 0x40]
push ecx
lea ecx, [ebp - 0x4c]
call fcn.004043c0
push 0x512548
lea ecx, [ebp - 0x40]
call fcn.00404000
test eax, eax
je 0x4e467a
lea ecx, [ebp - 0x40]
call fcn.004030a0
lea ecx, [ebp - 0x4c]
call fcn.004030a0
lea ecx, [ebp - 0x20]
call fcn.004030a0
lea ecx, [ebp - 0x3c]
call fcn.004986ca
lea ecx, [ebp + 8]
call fcn.004030a0
jmp 0x4e489c
mov dword [ebp - 4], 1
mov dword [ebp - 0xc], 1
push ecx
mov ecx, esp
mov dword [ebp - 0xb8], esp
push str.uploaderinstallpath
call fcn.00403aa0
lea edx, [ebp - 0x10]
push edx
call fcn.004d7550
add esp, 8
push ecx
mov ecx, esp
mov dword [ebp - 0xbc], esp
push 0x512588
call fcn.00403aa0
lea eax, [ebp - 0x14]
push eax
call fcn.004d7550
add esp, 8
push ecx
mov ecx, esp
mov dword [ebp - 0xc0], esp
push str.geeplayerinstallpath
call fcn.00403aa0
lea ecx, [ebp - 0x1c]
push ecx
call fcn.004d7550
add esp, 8
lea ecx, [ebp - 0x14]
call fcn.004046d0
movzx edx, al
test edx, edx
jne 0x4e471a
push 0
lea ecx, [ebp - 0x4c]
call sym.QiyiInstaller.exe_public:_enum_eScriptType___thiscall_CScriptModule::Type_void_
push eax
lea ecx, [ebp - 0x14]
call fcn.00404240
cmp eax, 0xffffffff
je 0x4e471a
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 0
cmp dword [ebp - 4], 0
je 0x4e474e
lea ecx, [ebp - 0x10]
call fcn.004046d0
movzx eax, al
test eax, eax
jne 0x4e474e
push 0
lea ecx, [ebp - 0x4c]
call sym.QiyiInstaller.exe_public:_enum_eScriptType___thiscall_CScriptModule::Type_void_
push eax
lea ecx, [ebp - 0x10]
call fcn.00404240
cmp eax, 0xffffffff
je 0x4e474e
mov dword [ebp - 4], 0
cmp dword [ebp - 4], 0
je 0x4e4782
lea ecx, [ebp - 0x1c]
call fcn.004046d0
movzx ecx, al
test ecx, ecx
jne 0x4e4782
push 0
lea ecx, [ebp - 0x4c]
call sym.QiyiInstaller.exe_public:_enum_eScriptType___thiscall_CScriptModule::Type_void_
push eax
lea ecx, [ebp - 0x1c]
call fcn.00404240
cmp eax, 0xffffffff
je 0x4e4782
mov dword [ebp - 4], 0
cmp dword [ebp - 4], 0
je 0x4e47a4
push ecx
mov ecx, esp
mov dword [ebp - 0xc4], esp
lea edx, [ebp - 0x4c]
push edx
call fcn.004022d0
call sym.QiyiInstaller.exe_RMDir
add esp, 4
jmp 0x4e47e1
cmp dword [ebp - 0xc], 0
je 0x4e47e1
push str.Common
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x5c]
push ecx
call fcn.004044d0
add esp, 0xc
push ecx
mov ecx, esp
mov dword [ebp - 0xc8], esp
lea edx, [ebp - 0x5c]
push edx
call fcn.004022d0
call sym.QiyiInstaller.exe_RMDir
add esp, 4
lea ecx, [ebp - 0x5c]
call fcn.004030a0
cmp dword [0x547dec], 0
jne 0x4e485c
cmp dword [ebp - 4], 0
jne 0x4e47f6
cmp dword [ebp - 0xc], 0
je 0x4e485c
push ecx
mov ecx, esp
mov dword [ebp - 0xcc], esp
push str.common_uinst_key
call fcn.00403aa0
lea eax, [ebp - 0x64]
push eax
call fcn.004d7550
add esp, 8
lea ecx, [ebp - 0x60]
call fcn.00403080
mov ecx, dword [ebp - 0x64]
push ecx
push str.HKEY_LOCAL_MACHINE_s
lea edx, [ebp - 0x60]
push edx
call fcn.00406160
add esp, 0xc
push ecx
mov ecx, esp
mov dword [ebp - 0xd0], esp
lea eax, [ebp - 0x60]
push eax
call fcn.004022d0
call sym.QiyiInstaller.exe_DeleteReg
add esp, 4
lea ecx, [ebp - 0x60]
call fcn.004030a0
lea ecx, [ebp - 0x64]
call fcn.004030a0
lea ecx, [ebp - 0x1c]
call fcn.004030a0
lea ecx, [ebp - 0x14]
call fcn.004030a0
lea ecx, [ebp - 0x10]
call fcn.004030a0
lea ecx, [ebp - 0x40]
call fcn.004030a0
lea ecx, [ebp - 0x4c]
call fcn.004030a0
lea ecx, [ebp - 0x20]
call fcn.004030a0
lea ecx, [ebp - 0x3c]
call fcn.004986ca
lea ecx, [ebp + 8]
call fcn.004030a0
lea esp, [ebp - 0xe8]
pop esi
mov ecx, dword [ebp - 0x80]
xor ecx, ebp
call fcn.004b5b7f
mov esp, ebp
pop ebp
ret