Function at 0x4e46e0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe4
mov eax, dword [0x544af0]
xor eax, ebp
mov dword [ebp - 0x80], eax
push esi
mov dword [ebp - 0xd4], 0
call fcn.004041b0
mov dword [ebp - 0x44], eax
push 0xa
lea ecx, [ebp - 0x3c]
call fcn.00498830
lea eax, [ebp - 0x3c]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x68], esp
lea edx, [ebp + 8]
push edx
call fcn.00402580
call fcn.004d7e80
add esp, 8
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 1
je 0x4e47f5
lea eax, [ebp + 8]
push eax
push str._DeleteInstallData__Invalid_arguments__nArg_1_:
lea ecx, [ebp - 0x7c]
push ecx
call fcn.00404b90
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 0x4e4769
mov dword [ebp - 0xd8], 0
jmp 0x4e47ca
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 0x4e478e
mov dword [ebp - 0xdc], 0
jmp 0x4e47be
mov eax, dword [ebp - 8]
shl eax, 1
call fcn.004bc060
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.004081e0
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.004b645c
push 0x525d14
lea ecx, [ebp - 0x74]
push ecx
call fcn.004bbab3
lea ecx, [ebp - 0x7c]
call fcn.004079a0
push 0
lea ecx, [ebp - 0x3c]
call fcn.00498807
push eax
lea ecx, [ebp - 0x3c]
call fcn.0040d320
push eax
lea ecx, [ebp - 0x20]
call fcn.00402580
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 0x4e4841
lea ecx, [ebp - 0x20]
call fcn.004079a0
lea ecx, [ebp - 0x3c]
call fcn.0049895a
lea ecx, [ebp + 8]
call fcn.004079a0
jmp 0x4e4cec
or dword [ebp - 0xd4], 1
push 0x513c74
push ecx
mov ecx, esp
mov dword [ebp - 0x88], esp
push 0x513c78
call fcn.00403ca0
lea edx, [ebp - 0x8c]
push edx
call fcn.004d7880
add esp, 8
push eax
call fcn.00404c80
add esp, 8
movzx eax, al
test eax, eax
je 0x4e48c9
or dword [ebp - 0xd4], 2
push 0x513c9c
push ecx
mov ecx, esp
mov dword [ebp - 0x90], esp
push str.qyfvAloneinstalled
call fcn.00403ca0
lea ecx, [ebp - 0x94]
push ecx
call fcn.004d7880
add esp, 8
push eax
call fcn.00404c80
add esp, 8
movzx edx, al
test edx, edx
je 0x4e48c9
mov dword [ebp - 0xe4], 1
jmp 0x4e48d3
mov dword [ebp - 0xe4], 0
mov al, byte [ebp - 0xe4]
mov byte [ebp - 0x81], al
mov ecx, dword [ebp - 0xd4]
and ecx, 2
je 0x4e48fc
and dword [ebp - 0xd4], 0xfffffffd
lea ecx, [ebp - 0x94]
call fcn.004079a0
mov edx, dword [ebp - 0xd4]
and edx, 1
je 0x4e4919
and dword [ebp - 0xd4], 0xfffffffe
lea ecx, [ebp - 0x8c]
call fcn.004079a0
movzx eax, byte [ebp - 0x81]
test eax, eax
je 0x4e49cb
push ecx
mov ecx, esp
mov dword [ebp - 0x98], esp
push str.installdirfvideo
call fcn.00403ca0
lea ecx, [ebp - 0x54]
push ecx
call fcn.004d7880
add esp, 8
lea ecx, [ebp - 0x20]
call fcn.00403780
push eax
lea edx, [ebp - 0x58]
push edx
lea ecx, [ebp - 0x54]
call fcn.00404a60
lea ecx, [ebp - 0x20]
call sym.QiyiInstaller.exe_public:_enum_eScriptType___thiscall_CScriptModule::Type_void_
push eax
lea ecx, [ebp - 0x58]
call fcn.00404610
test eax, eax
jne 0x4e499f
push ecx
mov ecx, esp
mov dword [ebp - 0x9c], esp
lea eax, [ebp - 0x54]
push eax
call fcn.00402580
push ecx
mov ecx, esp
mov dword [ebp - 0xa0], esp
lea edx, [ebp - 0x20]
push edx
call fcn.00402580
call fcn.004df1a0
add esp, 8
jmp 0x4e49b9
push ecx
mov ecx, esp
mov dword [ebp - 0xa4], esp
lea eax, [ebp - 0x20]
push eax
call fcn.00402580
call sym.QiyiInstaller.exe_RMDir
add esp, 4
lea ecx, [ebp - 0x58]
call fcn.004079a0
lea ecx, [ebp - 0x54]
call fcn.004079a0
jmp 0x4e49e5
push ecx
mov ecx, esp
mov dword [ebp - 0xa8], esp
lea edx, [ebp - 0x20]
push edx
call fcn.00402580
call sym.QiyiInstaller.exe_RMDir
add esp, 4
push 0x513cec
push 1
lea eax, [ebp - 0xb0]
push eax
lea ecx, [ebp - 0x20]
call fcn.004049d0
push eax
call fcn.00404c60
add esp, 8
mov byte [ebp - 0xa9], al
lea ecx, [ebp - 0xb0]
call fcn.004079a0
movzx ecx, byte [ebp - 0xa9]
test ecx, ecx
je 0x4e4a4f
lea ecx, [ebp - 0x20]
call fcn.00403780
sub eax, 1
push eax
lea edx, [ebp - 0xb4]
push edx
lea ecx, [ebp - 0x20]
call fcn.00404a60
push eax
lea ecx, [ebp - 0x20]
call fcn.004032c0
lea ecx, [ebp - 0xb4]
call fcn.004079a0
push 0x5c
lea ecx, [ebp - 0x20]
call fcn.004048d0
push eax
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x20]
call fcn.00404a60
lea ecx, [ebp - 0x4c]
call fcn.00403780
mov esi, eax
push 0x5c
lea ecx, [ebp - 0x4c]
call fcn.004048d0
sub esi, eax
sub esi, 1
push esi
lea ecx, [ebp - 0x40]
push ecx
lea ecx, [ebp - 0x4c]
call fcn.004049d0
push 0x513cf0
lea ecx, [ebp - 0x40]
call fcn.00404610
test eax, eax
je 0x4e4aca
lea ecx, [ebp - 0x40]
call fcn.004079a0
lea ecx, [ebp - 0x4c]
call fcn.004079a0
lea ecx, [ebp - 0x20]
call fcn.004079a0
lea ecx, [ebp - 0x3c]
call fcn.0049895a
lea ecx, [ebp + 8]
call fcn.004079a0
jmp 0x4e4cec
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.00403ca0
lea edx, [ebp - 0x10]
push edx
call fcn.004d7880
add esp, 8
push ecx
mov ecx, esp
mov dword [ebp - 0xbc], esp
push 0x513d30
call fcn.00403ca0
lea eax, [ebp - 0x14]
push eax
call fcn.004d7880
add esp, 8
push ecx
mov ecx, esp
mov dword [ebp - 0xc0], esp
push str.geeplayerinstallpath
call fcn.00403ca0
lea ecx, [ebp - 0x1c]
push ecx
call fcn.004d7880
add esp, 8
lea ecx, [ebp - 0x14]
call fcn.00404ce0
movzx edx, al
test edx, edx
jne 0x4e4b6a
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.00404850
cmp eax, 0xffffffff
je 0x4e4b6a
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 0
cmp dword [ebp - 4], 0
je 0x4e4b9e
lea ecx, [ebp - 0x10]
call fcn.00404ce0
movzx eax, al
test eax, eax
jne 0x4e4b9e
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.00404850
cmp eax, 0xffffffff
je 0x4e4b9e
mov dword [ebp - 4], 0
cmp dword [ebp - 4], 0
je 0x4e4bd2
lea ecx, [ebp - 0x1c]
call fcn.00404ce0
movzx ecx, al
test ecx, ecx
jne 0x4e4bd2
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.00404850
cmp eax, 0xffffffff
je 0x4e4bd2
mov dword [ebp - 4], 0
cmp dword [ebp - 4], 0
je 0x4e4bf4
push ecx
mov ecx, esp
mov dword [ebp - 0xc4], esp
lea edx, [ebp - 0x4c]
push edx
call fcn.00402580
call sym.QiyiInstaller.exe_RMDir
add esp, 4
jmp 0x4e4c31
cmp dword [ebp - 0xc], 0
je 0x4e4c31
push str.Common
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x5c]
push ecx
call fcn.00404ae0
add esp, 0xc
push ecx
mov ecx, esp
mov dword [ebp - 0xc8], esp
lea edx, [ebp - 0x5c]
push edx
call fcn.00402580
call sym.QiyiInstaller.exe_RMDir
add esp, 4
lea ecx, [ebp - 0x5c]
call fcn.004079a0
cmp dword [0x549e04], 0
jne 0x4e4cac
cmp dword [ebp - 4], 0
jne 0x4e4c46
cmp dword [ebp - 0xc], 0
je 0x4e4cac
push ecx
mov ecx, esp
mov dword [ebp - 0xcc], esp
push str.common_uinst_key
call fcn.00403ca0
lea eax, [ebp - 0x64]
push eax
call fcn.004d7880
add esp, 8
lea ecx, [ebp - 0x60]
call fcn.004032e0
mov ecx, dword [ebp - 0x64]
push ecx
push str.HKEY_LOCAL_MACHINE_s
lea edx, [ebp - 0x60]
push edx
call fcn.00404050
add esp, 0xc
push ecx
mov ecx, esp
mov dword [ebp - 0xd0], esp
lea eax, [ebp - 0x60]
push eax
call fcn.00402580
call sym.QiyiInstaller.exe_DeleteReg
add esp, 4
lea ecx, [ebp - 0x60]
call fcn.004079a0
lea ecx, [ebp - 0x64]
call fcn.004079a0
lea ecx, [ebp - 0x1c]
call fcn.004079a0
lea ecx, [ebp - 0x14]
call fcn.004079a0
lea ecx, [ebp - 0x10]
call fcn.004079a0
lea ecx, [ebp - 0x40]
call fcn.004079a0
lea ecx, [ebp - 0x4c]
call fcn.004079a0
lea ecx, [ebp - 0x20]
call fcn.004079a0
lea ecx, [ebp - 0x3c]
call fcn.0049895a
lea ecx, [ebp + 8]
call fcn.004079a0
lea esp, [ebp - 0xe8]
pop esi
mov ecx, dword [ebp - 0x80]
xor ecx, ebp
call fcn.004b5e12
mov esp, ebp
pop ebp
ret