Function at 0x4e4390
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.004038b0
mov dword [ebp - 0x44], eax
push 0xa
lea ecx, [ebp - 0x3c]
call fcn.0049859e
lea eax, [ebp - 0x3c]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x68], esp
lea edx, [ebp + 8]
push edx
call fcn.00402130
call fcn.004d7b80
add esp, 8
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 1
je 0x4e44a5
lea eax, [ebp + 8]
push eax
push str._DeleteInstallData__Invalid_arguments__nArg_1_:
lea ecx, [ebp - 0x7c]
push ecx
call fcn.00404290
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 0x4e4419
mov dword [ebp - 0xd8], 0
jmp 0x4e447a
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 0x4e443e
mov dword [ebp - 0xdc], 0
jmp 0x4e446e
mov eax, dword [ebp - 8]
shl eax, 1
call fcn.004bbd60
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.00407980
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.004b61ec
push 0x5259fc
lea ecx, [ebp - 0x74]
push ecx
call fcn.004bb7b2
lea ecx, [ebp - 0x7c]
call fcn.00402e70
push 0
lea ecx, [ebp - 0x3c]
call fcn.00498575
push eax
lea ecx, [ebp - 0x3c]
call fcn.0040c9e0
push eax
lea ecx, [ebp - 0x20]
call fcn.00402130
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 0x4e44f1
lea ecx, [ebp - 0x20]
call fcn.00402e70
lea ecx, [ebp - 0x3c]
call fcn.004986c8
lea ecx, [ebp + 8]
call fcn.00402e70
jmp 0x4e499c
or dword [ebp - 0xd4], 1
push 0x513c9c
push ecx
mov ecx, esp
mov dword [ebp - 0x88], esp
push 0x513ca0
call fcn.004037e0
lea edx, [ebp - 0x8c]
push edx
call fcn.004d7580
add esp, 8
push eax
call fcn.00404380
add esp, 8
movzx eax, al
test eax, eax
je 0x4e4579
or dword [ebp - 0xd4], 2
push 0x513cc4
push ecx
mov ecx, esp
mov dword [ebp - 0x90], esp
push str.qyfvAloneinstalled
call fcn.004037e0
lea ecx, [ebp - 0x94]
push ecx
call fcn.004d7580
add esp, 8
push eax
call fcn.00404380
add esp, 8
movzx edx, al
test edx, edx
je 0x4e4579
mov dword [ebp - 0xe4], 1
jmp 0x4e4583
mov dword [ebp - 0xe4], 0
mov al, byte [ebp - 0xe4]
mov byte [ebp - 0x81], al
mov ecx, dword [ebp - 0xd4]
and ecx, 2
je 0x4e45ac
and dword [ebp - 0xd4], 0xfffffffd
lea ecx, [ebp - 0x94]
call fcn.00402e70
mov edx, dword [ebp - 0xd4]
and edx, 1
je 0x4e45c9
and dword [ebp - 0xd4], 0xfffffffe
lea ecx, [ebp - 0x8c]
call fcn.00402e70
movzx eax, byte [ebp - 0x81]
test eax, eax
je 0x4e467b
push ecx
mov ecx, esp
mov dword [ebp - 0x98], esp
push str.installdirfvideo
call fcn.004037e0
lea ecx, [ebp - 0x54]
push ecx
call fcn.004d7580
add esp, 8
lea ecx, [ebp - 0x20]
call fcn.00403300
push eax
lea edx, [ebp - 0x58]
push edx
lea ecx, [ebp - 0x54]
call fcn.00404160
lea ecx, [ebp - 0x20]
call sym.QiyiInstaller.exe_public:_enum_eScriptType___thiscall_CScriptModule::Type_void_
push eax
lea ecx, [ebp - 0x58]
call fcn.00403d10
test eax, eax
jne 0x4e464f
push ecx
mov ecx, esp
mov dword [ebp - 0x9c], esp
lea eax, [ebp - 0x54]
push eax
call fcn.00402130
push ecx
mov ecx, esp
mov dword [ebp - 0xa0], esp
lea edx, [ebp - 0x20]
push edx
call fcn.00402130
call fcn.004deea0
add esp, 8
jmp 0x4e4669
push ecx
mov ecx, esp
mov dword [ebp - 0xa4], esp
lea eax, [ebp - 0x20]
push eax
call fcn.00402130
call sym.QiyiInstaller.exe_RMDir
add esp, 4
lea ecx, [ebp - 0x58]
call fcn.00402e70
lea ecx, [ebp - 0x54]
call fcn.00402e70
jmp 0x4e4695
push ecx
mov ecx, esp
mov dword [ebp - 0xa8], esp
lea edx, [ebp - 0x20]
push edx
call fcn.00402130
call sym.QiyiInstaller.exe_RMDir
add esp, 4
push 0x513d14
push 1
lea eax, [ebp - 0xb0]
push eax
lea ecx, [ebp - 0x20]
call fcn.004040d0
push eax
call fcn.00404360
add esp, 8
mov byte [ebp - 0xa9], al
lea ecx, [ebp - 0xb0]
call fcn.00402e70
movzx ecx, byte [ebp - 0xa9]
test ecx, ecx
je 0x4e46ff
lea ecx, [ebp - 0x20]
call fcn.00403300
sub eax, 1
push eax
lea edx, [ebp - 0xb4]
push edx
lea ecx, [ebp - 0x20]
call fcn.00404160
push eax
lea ecx, [ebp - 0x20]
call fcn.00402e50
lea ecx, [ebp - 0xb4]
call fcn.00402e70
push 0x5c
lea ecx, [ebp - 0x20]
call fcn.00403fd0
push eax
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x20]
call fcn.00404160
lea ecx, [ebp - 0x4c]
call fcn.00403300
mov esi, eax
push 0x5c
lea ecx, [ebp - 0x4c]
call fcn.00403fd0
sub esi, eax
sub esi, 1
push esi
lea ecx, [ebp - 0x40]
push ecx
lea ecx, [ebp - 0x4c]
call fcn.004040d0
push 0x513d18
lea ecx, [ebp - 0x40]
call fcn.00403d10
test eax, eax
je 0x4e477a
lea ecx, [ebp - 0x40]
call fcn.00402e70
lea ecx, [ebp - 0x4c]
call fcn.00402e70
lea ecx, [ebp - 0x20]
call fcn.00402e70
lea ecx, [ebp - 0x3c]
call fcn.004986c8
lea ecx, [ebp + 8]
call fcn.00402e70
jmp 0x4e499c
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.004037e0
lea edx, [ebp - 0x10]
push edx
call fcn.004d7580
add esp, 8
push ecx
mov ecx, esp
mov dword [ebp - 0xbc], esp
push 0x513d58
call fcn.004037e0
lea eax, [ebp - 0x14]
push eax
call fcn.004d7580
add esp, 8
push ecx
mov ecx, esp
mov dword [ebp - 0xc0], esp
push str.geeplayerinstallpath
call fcn.004037e0
lea ecx, [ebp - 0x1c]
push ecx
call fcn.004d7580
add esp, 8
lea ecx, [ebp - 0x14]
call fcn.004043e0
movzx edx, al
test edx, edx
jne 0x4e481a
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.00403f50
cmp eax, 0xffffffff
je 0x4e481a
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 0
cmp dword [ebp - 4], 0
je 0x4e484e
lea ecx, [ebp - 0x10]
call fcn.004043e0
movzx eax, al
test eax, eax
jne 0x4e484e
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.00403f50
cmp eax, 0xffffffff
je 0x4e484e
mov dword [ebp - 4], 0
cmp dword [ebp - 4], 0
je 0x4e4882
lea ecx, [ebp - 0x1c]
call fcn.004043e0
movzx ecx, al
test ecx, ecx
jne 0x4e4882
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.00403f50
cmp eax, 0xffffffff
je 0x4e4882
mov dword [ebp - 4], 0
cmp dword [ebp - 4], 0
je 0x4e48a4
push ecx
mov ecx, esp
mov dword [ebp - 0xc4], esp
lea edx, [ebp - 0x4c]
push edx
call fcn.00402130
call sym.QiyiInstaller.exe_RMDir
add esp, 4
jmp 0x4e48e1
cmp dword [ebp - 0xc], 0
je 0x4e48e1
push str.Common
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x5c]
push ecx
call fcn.004041e0
add esp, 0xc
push ecx
mov ecx, esp
mov dword [ebp - 0xc8], esp
lea edx, [ebp - 0x5c]
push edx
call fcn.00402130
call sym.QiyiInstaller.exe_RMDir
add esp, 4
lea ecx, [ebp - 0x5c]
call fcn.00402e70
cmp dword [0x549dec], 0
jne 0x4e495c
cmp dword [ebp - 4], 0
jne 0x4e48f6
cmp dword [ebp - 0xc], 0
je 0x4e495c
push ecx
mov ecx, esp
mov dword [ebp - 0xcc], esp
push str.common_uinst_key
call fcn.004037e0
lea eax, [ebp - 0x64]
push eax
call fcn.004d7580
add esp, 8
lea ecx, [ebp - 0x60]
call fcn.00407250
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.00402130
call sym.QiyiInstaller.exe_DeleteReg
add esp, 4
lea ecx, [ebp - 0x60]
call fcn.00402e70
lea ecx, [ebp - 0x64]
call fcn.00402e70
lea ecx, [ebp - 0x1c]
call fcn.00402e70
lea ecx, [ebp - 0x14]
call fcn.00402e70
lea ecx, [ebp - 0x10]
call fcn.00402e70
lea ecx, [ebp - 0x40]
call fcn.00402e70
lea ecx, [ebp - 0x4c]
call fcn.00402e70
lea ecx, [ebp - 0x20]
call fcn.00402e70
lea ecx, [ebp - 0x3c]
call fcn.004986c8
lea ecx, [ebp + 8]
call fcn.00402e70
lea esp, [ebp - 0xe8]
pop esi
mov ecx, dword [ebp - 0x80]
xor ecx, ebp
call fcn.004b5ba3
mov esp, ebp
pop ebp
ret