Function at 0x4e3cf0
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.00403e30
mov dword [ebp - 0x44], eax
push 0xa
lea ecx, [ebp - 0x3c]
call fcn.00498638
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.004d7c00
add esp, 8
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 1
je 0x4e3e05
lea eax, [ebp + 8]
push eax
push str._DeleteInstallData__Invalid_arguments__nArg_1_:
lea ecx, [ebp - 0x7c]
push ecx
call fcn.00404820
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 0x4e3d79
mov dword [ebp - 0xd8], 0
jmp 0x4e3dda
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 0x4e3d9e
mov dword [ebp - 0xdc], 0
jmp 0x4e3dce
mov eax, dword [ebp - 8]
shl eax, 1
call fcn.004bbdd0
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.00407b10
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.004b625c
push 0x523eec
lea ecx, [ebp - 0x74]
push ecx
call fcn.004bb823
lea ecx, [ebp - 0x7c]
call fcn.00403360
push 0
lea ecx, [ebp - 0x3c]
call fcn.0049860f
push eax
lea ecx, [ebp - 0x3c]
call fcn.0040c8e0
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 0x4e3e51
lea ecx, [ebp - 0x20]
call fcn.00403360
lea ecx, [ebp - 0x3c]
call fcn.00498762
lea ecx, [ebp + 8]
call fcn.00403360
jmp 0x4e42fc
or dword [ebp - 0xd4], 1
push 0x51253c
push ecx
mov ecx, esp
mov dword [ebp - 0x88], esp
push 0x512540
call fcn.00403d60
lea edx, [ebp - 0x8c]
push edx
call fcn.004d7600
add esp, 8
push eax
call fcn.00404910
add esp, 8
movzx eax, al
test eax, eax
je 0x4e3ed9
or dword [ebp - 0xd4], 2
push 0x512564
push ecx
mov ecx, esp
mov dword [ebp - 0x90], esp
push str.qyfvAloneinstalled
call fcn.00403d60
lea ecx, [ebp - 0x94]
push ecx
call fcn.004d7600
add esp, 8
push eax
call fcn.00404910
add esp, 8
movzx edx, al
test edx, edx
je 0x4e3ed9
mov dword [ebp - 0xe4], 1
jmp 0x4e3ee3
mov dword [ebp - 0xe4], 0
mov al, byte [ebp - 0xe4]
mov byte [ebp - 0x81], al
mov ecx, dword [ebp - 0xd4]
and ecx, 2
je 0x4e3f0c
and dword [ebp - 0xd4], 0xfffffffd
lea ecx, [ebp - 0x94]
call fcn.00403360
mov edx, dword [ebp - 0xd4]
and edx, 1
je 0x4e3f29
and dword [ebp - 0xd4], 0xfffffffe
lea ecx, [ebp - 0x8c]
call fcn.00403360
movzx eax, byte [ebp - 0x81]
test eax, eax
je 0x4e3fdb
push ecx
mov ecx, esp
mov dword [ebp - 0x98], esp
push str.installdirfvideo
call fcn.00403d60
lea ecx, [ebp - 0x54]
push ecx
call fcn.004d7600
add esp, 8
lea ecx, [ebp - 0x20]
call fcn.004037d0
push eax
lea edx, [ebp - 0x58]
push edx
lea ecx, [ebp - 0x54]
call fcn.004046f0
lea ecx, [ebp - 0x20]
call sym.QiyiInstaller.exe_public:_enum_eScriptType___thiscall_CScriptModule::Type_void_
push eax
lea ecx, [ebp - 0x58]
call fcn.004042a0
test eax, eax
jne 0x4e3faf
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.004deeb0
add esp, 8
jmp 0x4e3fc9
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.00403360
lea ecx, [ebp - 0x54]
call fcn.00403360
jmp 0x4e3ff5
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 0x5125b4
push 1
lea eax, [ebp - 0xb0]
push eax
lea ecx, [ebp - 0x20]
call fcn.00404660
push eax
call fcn.004048f0
add esp, 8
mov byte [ebp - 0xa9], al
lea ecx, [ebp - 0xb0]
call fcn.00403360
movzx ecx, byte [ebp - 0xa9]
test ecx, ecx
je 0x4e405f
lea ecx, [ebp - 0x20]
call fcn.004037d0
sub eax, 1
push eax
lea edx, [ebp - 0xb4]
push edx
lea ecx, [ebp - 0x20]
call fcn.004046f0
push eax
lea ecx, [ebp - 0x20]
call fcn.00403320
lea ecx, [ebp - 0xb4]
call fcn.00403360
push 0x5c
lea ecx, [ebp - 0x20]
call fcn.00404560
push eax
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x20]
call fcn.004046f0
lea ecx, [ebp - 0x4c]
call fcn.004037d0
mov esi, eax
push 0x5c
lea ecx, [ebp - 0x4c]
call fcn.00404560
sub esi, eax
sub esi, 1
push esi
lea ecx, [ebp - 0x40]
push ecx
lea ecx, [ebp - 0x4c]
call fcn.00404660
push 0x5125b8
lea ecx, [ebp - 0x40]
call fcn.004042a0
test eax, eax
je 0x4e40da
lea ecx, [ebp - 0x40]
call fcn.00403360
lea ecx, [ebp - 0x4c]
call fcn.00403360
lea ecx, [ebp - 0x20]
call fcn.00403360
lea ecx, [ebp - 0x3c]
call fcn.00498762
lea ecx, [ebp + 8]
call fcn.00403360
jmp 0x4e42fc
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.00403d60
lea edx, [ebp - 0x10]
push edx
call fcn.004d7600
add esp, 8
push ecx
mov ecx, esp
mov dword [ebp - 0xbc], esp
push 0x5125f8
call fcn.00403d60
lea eax, [ebp - 0x14]
push eax
call fcn.004d7600
add esp, 8
push ecx
mov ecx, esp
mov dword [ebp - 0xc0], esp
push str.geeplayerinstallpath
call fcn.00403d60
lea ecx, [ebp - 0x1c]
push ecx
call fcn.004d7600
add esp, 8
lea ecx, [ebp - 0x14]
call fcn.00404970
movzx edx, al
test edx, edx
jne 0x4e417a
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.004044e0
cmp eax, 0xffffffff
je 0x4e417a
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 0
cmp dword [ebp - 4], 0
je 0x4e41ae
lea ecx, [ebp - 0x10]
call fcn.00404970
movzx eax, al
test eax, eax
jne 0x4e41ae
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.004044e0
cmp eax, 0xffffffff
je 0x4e41ae
mov dword [ebp - 4], 0
cmp dword [ebp - 4], 0
je 0x4e41e2
lea ecx, [ebp - 0x1c]
call fcn.00404970
movzx ecx, al
test ecx, ecx
jne 0x4e41e2
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.004044e0
cmp eax, 0xffffffff
je 0x4e41e2
mov dword [ebp - 4], 0
cmp dword [ebp - 4], 0
je 0x4e4204
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 0x4e4241
cmp dword [ebp - 0xc], 0
je 0x4e4241
push str.Common
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x5c]
push ecx
call fcn.00404770
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.00403360
cmp dword [0x547df4], 0
jne 0x4e42bc
cmp dword [ebp - 4], 0
jne 0x4e4256
cmp dword [ebp - 0xc], 0
je 0x4e42bc
push ecx
mov ecx, esp
mov dword [ebp - 0xcc], esp
push str.common_uinst_key
call fcn.00403d60
lea eax, [ebp - 0x64]
push eax
call fcn.004d7600
add esp, 8
lea ecx, [ebp - 0x60]
call fcn.00403340
mov ecx, dword [ebp - 0x64]
push ecx
push str.HKEY_LOCAL_MACHINE_s
lea edx, [ebp - 0x60]
push edx
call fcn.00406370
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.00403360
lea ecx, [ebp - 0x64]
call fcn.00403360
lea ecx, [ebp - 0x1c]
call fcn.00403360
lea ecx, [ebp - 0x14]
call fcn.00403360
lea ecx, [ebp - 0x10]
call fcn.00403360
lea ecx, [ebp - 0x40]
call fcn.00403360
lea ecx, [ebp - 0x4c]
call fcn.00403360
lea ecx, [ebp - 0x20]
call fcn.00403360
lea ecx, [ebp - 0x3c]
call fcn.00498762
lea ecx, [ebp + 8]
call fcn.00403360
lea esp, [ebp - 0xe8]
pop esi
mov ecx, dword [ebp - 0x80]
xor ecx, ebp
call fcn.004b5c1a
mov esp, ebp
pop ebp
ret