Function at 0x4e3cb0
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.00403940
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.004020d0
call fcn.004d7b50
add esp, 8
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 1
je 0x4e3dc5
lea eax, [ebp + 8]
push eax
push str._DeleteInstallData__Invalid_arguments__nArg_1_:
lea ecx, [ebp - 0x7c]
push ecx
call fcn.00404320
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 0x4e3d39
mov dword [ebp - 0xd8], 0
jmp 0x4e3d9a
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 0x4e3d5e
mov dword [ebp - 0xdc], 0
jmp 0x4e3d8e
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.00407950
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 0x523e7c
lea ecx, [ebp - 0x74]
push ecx
call fcn.004bb782
lea ecx, [ebp - 0x7c]
call fcn.00402ea0
push 0
lea ecx, [ebp - 0x3c]
call fcn.00498577
push eax
lea ecx, [ebp - 0x3c]
call fcn.0040cd00
push eax
lea ecx, [ebp - 0x20]
call fcn.004020d0
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 0x4e3e11
lea ecx, [ebp - 0x20]
call fcn.00402ea0
lea ecx, [ebp - 0x3c]
call fcn.004986ca
lea ecx, [ebp + 8]
call fcn.00402ea0
jmp 0x4e42bc
or dword [ebp - 0xd4], 1
push 0x5124cc
push ecx
mov ecx, esp
mov dword [ebp - 0x88], esp
push 0x5124d0
call fcn.00403870
lea edx, [ebp - 0x8c]
push edx
call fcn.004d7550
add esp, 8
push eax
call fcn.00404410
add esp, 8
movzx eax, al
test eax, eax
je 0x4e3e99
or dword [ebp - 0xd4], 2
push 0x5124f4
push ecx
mov ecx, esp
mov dword [ebp - 0x90], esp
push str.qyfvAloneinstalled
call fcn.00403870
lea ecx, [ebp - 0x94]
push ecx
call fcn.004d7550
add esp, 8
push eax
call fcn.00404410
add esp, 8
movzx edx, al
test edx, edx
je 0x4e3e99
mov dword [ebp - 0xe4], 1
jmp 0x4e3ea3
mov dword [ebp - 0xe4], 0
mov al, byte [ebp - 0xe4]
mov byte [ebp - 0x81], al
mov ecx, dword [ebp - 0xd4]
and ecx, 2
je 0x4e3ecc
and dword [ebp - 0xd4], 0xfffffffd
lea ecx, [ebp - 0x94]
call fcn.00402ea0
mov edx, dword [ebp - 0xd4]
and edx, 1
je 0x4e3ee9
and dword [ebp - 0xd4], 0xfffffffe
lea ecx, [ebp - 0x8c]
call fcn.00402ea0
movzx eax, byte [ebp - 0x81]
test eax, eax
je 0x4e3f9b
push ecx
mov ecx, esp
mov dword [ebp - 0x98], esp
push str.installdirfvideo
call fcn.00403870
lea ecx, [ebp - 0x54]
push ecx
call fcn.004d7550
add esp, 8
lea ecx, [ebp - 0x20]
call fcn.00403360
push eax
lea edx, [ebp - 0x58]
push edx
lea ecx, [ebp - 0x54]
call fcn.004041f0
lea ecx, [ebp - 0x20]
call sym.QiyiInstaller.exe_public:_enum_eScriptType___thiscall_CScriptModule::Type_void_
push eax
lea ecx, [ebp - 0x58]
call fcn.00403da0
test eax, eax
jne 0x4e3f6f
push ecx
mov ecx, esp
mov dword [ebp - 0x9c], esp
lea eax, [ebp - 0x54]
push eax
call fcn.004020d0
push ecx
mov ecx, esp
mov dword [ebp - 0xa0], esp
lea edx, [ebp - 0x20]
push edx
call fcn.004020d0
call fcn.004dee70
add esp, 8
jmp 0x4e3f89
push ecx
mov ecx, esp
mov dword [ebp - 0xa4], esp
lea eax, [ebp - 0x20]
push eax
call fcn.004020d0
call sym.QiyiInstaller.exe_RMDir
add esp, 4
lea ecx, [ebp - 0x58]
call fcn.00402ea0
lea ecx, [ebp - 0x54]
call fcn.00402ea0
jmp 0x4e3fb5
push ecx
mov ecx, esp
mov dword [ebp - 0xa8], esp
lea edx, [ebp - 0x20]
push edx
call fcn.004020d0
call sym.QiyiInstaller.exe_RMDir
add esp, 4
push 0x512544
push 1
lea eax, [ebp - 0xb0]
push eax
lea ecx, [ebp - 0x20]
call fcn.00404160
push eax
call fcn.004043f0
add esp, 8
mov byte [ebp - 0xa9], al
lea ecx, [ebp - 0xb0]
call fcn.00402ea0
movzx ecx, byte [ebp - 0xa9]
test ecx, ecx
je 0x4e401f
lea ecx, [ebp - 0x20]
call fcn.00403360
sub eax, 1
push eax
lea edx, [ebp - 0xb4]
push edx
lea ecx, [ebp - 0x20]
call fcn.004041f0
push eax
lea ecx, [ebp - 0x20]
call fcn.00402e60
lea ecx, [ebp - 0xb4]
call fcn.00402ea0
push 0x5c
lea ecx, [ebp - 0x20]
call fcn.00404060
push eax
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x20]
call fcn.004041f0
lea ecx, [ebp - 0x4c]
call fcn.00403360
mov esi, eax
push 0x5c
lea ecx, [ebp - 0x4c]
call fcn.00404060
sub esi, eax
sub esi, 1
push esi
lea ecx, [ebp - 0x40]
push ecx
lea ecx, [ebp - 0x4c]
call fcn.00404160
push 0x512548
lea ecx, [ebp - 0x40]
call fcn.00403da0
test eax, eax
je 0x4e409a
lea ecx, [ebp - 0x40]
call fcn.00402ea0
lea ecx, [ebp - 0x4c]
call fcn.00402ea0
lea ecx, [ebp - 0x20]
call fcn.00402ea0
lea ecx, [ebp - 0x3c]
call fcn.004986ca
lea ecx, [ebp + 8]
call fcn.00402ea0
jmp 0x4e42bc
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.00403870
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.00403870
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.00403870
lea ecx, [ebp - 0x1c]
push ecx
call fcn.004d7550
add esp, 8
lea ecx, [ebp - 0x14]
call fcn.00404470
movzx edx, al
test edx, edx
jne 0x4e413a
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.00403fe0
cmp eax, 0xffffffff
je 0x4e413a
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 0
cmp dword [ebp - 4], 0
je 0x4e416e
lea ecx, [ebp - 0x10]
call fcn.00404470
movzx eax, al
test eax, eax
jne 0x4e416e
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.00403fe0
cmp eax, 0xffffffff
je 0x4e416e
mov dword [ebp - 4], 0
cmp dword [ebp - 4], 0
je 0x4e41a2
lea ecx, [ebp - 0x1c]
call fcn.00404470
movzx ecx, al
test ecx, ecx
jne 0x4e41a2
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.00403fe0
cmp eax, 0xffffffff
je 0x4e41a2
mov dword [ebp - 4], 0
cmp dword [ebp - 4], 0
je 0x4e41c4
push ecx
mov ecx, esp
mov dword [ebp - 0xc4], esp
lea edx, [ebp - 0x4c]
push edx
call fcn.004020d0
call sym.QiyiInstaller.exe_RMDir
add esp, 4
jmp 0x4e4201
cmp dword [ebp - 0xc], 0
je 0x4e4201
push str.Common
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x5c]
push ecx
call fcn.00404270
add esp, 0xc
push ecx
mov ecx, esp
mov dword [ebp - 0xc8], esp
lea edx, [ebp - 0x5c]
push edx
call fcn.004020d0
call sym.QiyiInstaller.exe_RMDir
add esp, 4
lea ecx, [ebp - 0x5c]
call fcn.00402ea0
cmp dword [0x547dec], 0
jne 0x4e427c
cmp dword [ebp - 4], 0
jne 0x4e4216
cmp dword [ebp - 0xc], 0
je 0x4e427c
push ecx
mov ecx, esp
mov dword [ebp - 0xcc], esp
push str.common_uinst_key
call fcn.00403870
lea eax, [ebp - 0x64]
push eax
call fcn.004d7550
add esp, 8
lea ecx, [ebp - 0x60]
call fcn.00402e80
mov ecx, dword [ebp - 0x64]
push ecx
push str.HKEY_LOCAL_MACHINE_s
lea edx, [ebp - 0x60]
push edx
call fcn.004061c0
add esp, 0xc
push ecx
mov ecx, esp
mov dword [ebp - 0xd0], esp
lea eax, [ebp - 0x60]
push eax
call fcn.004020d0
call sym.QiyiInstaller.exe_DeleteReg
add esp, 4
lea ecx, [ebp - 0x60]
call fcn.00402ea0
lea ecx, [ebp - 0x64]
call fcn.00402ea0
lea ecx, [ebp - 0x1c]
call fcn.00402ea0
lea ecx, [ebp - 0x14]
call fcn.00402ea0
lea ecx, [ebp - 0x10]
call fcn.00402ea0
lea ecx, [ebp - 0x40]
call fcn.00402ea0
lea ecx, [ebp - 0x4c]
call fcn.00402ea0
lea ecx, [ebp - 0x20]
call fcn.00402ea0
lea ecx, [ebp - 0x3c]
call fcn.004986ca
lea ecx, [ebp + 8]
call fcn.00402ea0
lea esp, [ebp - 0xe8]
pop esi
mov ecx, dword [ebp - 0x80]
xor ecx, ebp
call fcn.004b5b83
mov esp, ebp
pop ebp
ret