Function at 0x4e8de0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd0
mov eax, dword [0x544af0]
xor eax, ebp
mov dword [ebp - 0x88], eax
push esi
lea ecx, [ebp + 8]
call fcn.00407960
lea ecx, [ebp + 8]
call fcn.00404ce0
movzx eax, al
test eax, eax
je 0x4e8e1b
lea ecx, [ebp + 8]
call fcn.004079a0
jmp 0x4e93a4
call fcn.004041b0
mov dword [ebp - 0x48], eax
push 0xa
lea ecx, [ebp - 0x40]
call fcn.00498830
lea ecx, [ebp - 0x40]
push ecx
push ecx
mov ecx, esp
mov dword [ebp - 0x70], esp
lea edx, [ebp + 8]
push edx
call fcn.00402580
call fcn.004d7e80
add esp, 8
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 7
je 0x4e8f18
lea eax, [ebp + 8]
push eax
push str._DownloadAndInstall__Invalid_arguments__nArg_7_:
lea ecx, [ebp - 0x84]
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 0x4e8e89
mov dword [ebp - 0xc8], 0
jmp 0x4e8eea
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x3fffffff
jle 0x4e8eae
mov dword [ebp - 0xcc], 0
jmp 0x4e8ede
mov eax, dword [ebp - 4]
shl eax, 1
call fcn.004bc060
mov dword [ebp - 0xd0], esp
mov eax, dword [ebp - 0x48]
push eax
mov ecx, dword [ebp - 4]
shl ecx, 1
push ecx
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 0xd0]
push eax
call fcn.004081e0
mov dword [ebp - 0xcc], eax
mov ecx, dword [ebp - 0xcc]
mov dword [ebp - 0xc8], ecx
mov edx, dword [ebp - 0xc8]
mov dword [ebp - 0x80], edx
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0x7c]
call fcn.004b645c
push 0x525d14
lea ecx, [ebp - 0x7c]
push ecx
call fcn.004bbab3
lea ecx, [ebp - 0x84]
call fcn.004079a0
push 0
lea ecx, [ebp - 0x40]
call fcn.00498807
push eax
lea ecx, [ebp - 0x40]
call fcn.0040d320
push eax
lea ecx, [ebp - 0x44]
call fcn.00402580
cmp dword [0x549e0c], 0
je 0x4e8f9f
push ecx
mov esi, esp
mov dword [ebp - 0x8c], esp
push str._install_canceled_in_repair_mode_
lea edx, [ebp - 0x44]
push edx
push 0x5122ec
lea eax, [ebp - 0x90]
push eax
call fcn.00404b90
add esp, 0xc
push eax
push esi
call fcn.00404ae0
add esp, 0xc
mov ecx, 0x549cf8
call fcn.004eb140
lea ecx, [ebp - 0x90]
call fcn.004079a0
lea ecx, [ebp - 0x44]
call fcn.004079a0
lea ecx, [ebp - 0x40]
call fcn.0049895a
lea ecx, [ebp + 8]
call fcn.004079a0
jmp 0x4e93a4
mov dword [ebp - 0x58], 1
jmp 0x4e8fb1
mov ecx, dword [ebp - 0x58]
add ecx, 1
mov dword [ebp - 0x58], ecx
cmp dword [ebp - 0x58], 5
jg 0x4e9115
lea ecx, [ebp - 0x5c]
call fcn.004032e0
mov edx, dword [ebp - 0x58]
push edx
push 0x512318
lea eax, [ebp - 0x5c]
push eax
call fcn.00404050
add esp, 0xc
lea ecx, [ebp - 0x44]
push ecx
push ecx
mov ecx, esp
mov dword [ebp - 0x98], esp
lea edx, [ebp - 0x5c]
push edx
call fcn.00402580
lea eax, [ebp - 0x9c]
push eax
call fcn.004d7880
add esp, 8
push eax
call fcn.00404c40
add esp, 8
mov byte [ebp - 0x91], al
lea ecx, [ebp - 0x9c]
call fcn.004079a0
movzx ecx, byte [ebp - 0x91]
test ecx, ecx
je 0x4e9108
lea ecx, [ebp - 0x60]
call fcn.004032e0
mov edx, dword [ebp - 0x58]
push edx
push 0x512330
lea eax, [ebp - 0x60]
push eax
call fcn.00404050
add esp, 0xc
push 0x512348
push ecx
mov ecx, esp
mov dword [ebp - 0xa4], esp
lea edx, [ebp - 0x60]
push edx
call fcn.00402580
lea eax, [ebp - 0xa8]
push eax
call fcn.004d7880
add esp, 8
push eax
call fcn.00404c80
add esp, 8
mov byte [ebp - 0x9d], al
lea ecx, [ebp - 0xa8]
call fcn.004079a0
movzx ecx, byte [ebp - 0x9d]
test ecx, ecx
je 0x4e9100
push ecx
mov esi, esp
mov dword [ebp - 0xac], esp
push 0x51234c
lea edx, [ebp - 0x44]
push edx
push str.Additional_software
lea eax, [ebp - 0xb0]
push eax
call fcn.00404b90
add esp, 0xc
push eax
push esi
call fcn.00404ae0
add esp, 0xc
mov ecx, 0x549cf8
call fcn.004eb140
lea ecx, [ebp - 0xb0]
call fcn.004079a0
lea ecx, [ebp - 0x60]
call fcn.004079a0
lea ecx, [ebp - 0x5c]
call fcn.004079a0
lea ecx, [ebp - 0x44]
call fcn.004079a0
lea ecx, [ebp - 0x40]
call fcn.0049895a
lea ecx, [ebp + 8]
call fcn.004079a0
jmp 0x4e93a4
lea ecx, [ebp - 0x60]
call fcn.004079a0
lea ecx, [ebp - 0x5c]
call fcn.004079a0
jmp 0x4e8fa8
push 1
lea ecx, [ebp - 0x40]
call fcn.00498807
push eax
lea ecx, [ebp - 0x40]
call fcn.0040d320
push eax
lea ecx, [ebp - 0x10]
call fcn.00402580
push 2
lea ecx, [ebp - 0x40]
call fcn.00498807
push eax
lea ecx, [ebp - 0x40]
call fcn.0040d320
push eax
lea ecx, [ebp - 0x14]
call fcn.00402580
push 3
lea ecx, [ebp - 0x40]
call fcn.00498807
push eax
lea ecx, [ebp - 0x40]
call fcn.0040d320
push eax
lea ecx, [ebp - 8]
call fcn.00402580
push 4
lea ecx, [ebp - 0x40]
call fcn.00498807
push eax
lea ecx, [ebp - 0x40]
call fcn.0040d320
push eax
lea ecx, [ebp - 0x24]
call fcn.00402580
push 5
lea ecx, [ebp - 0x40]
call fcn.00498807
push eax
lea ecx, [ebp - 0x40]
call fcn.0040d320
push eax
lea ecx, [ebp - 0xc]
call fcn.00402580
push 6
lea ecx, [ebp - 0x40]
call fcn.00498807
push eax
lea ecx, [ebp - 0x40]
call fcn.0040d320
push eax
lea ecx, [ebp - 0x20]
call fcn.00402580
lea ecx, [ebp - 0x20]
call fcn.00403780
mov esi, eax
push 0x2f
lea ecx, [ebp - 0x20]
call fcn.004048d0
sub esi, eax
sub esi, 1
push esi
lea ecx, [ebp - 0x4c]
push ecx
lea ecx, [ebp - 0x20]
call fcn.004049d0
lea ecx, [ebp - 0x1c]
call fcn.004032e0
mov edx, dword [ebp - 0x4c]
push edx
mov eax, dword [0x549dd4]
push eax
push 0x5123b0
lea ecx, [ebp - 0x1c]
push ecx
call fcn.00404050
add esp, 0x10
lea ecx, [ebp - 0x1c]
call sym.QiyiInstaller.exe_public:_enum_eScriptType___thiscall_CScriptModule::Type_void_
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x927c0
push ecx
mov ecx, esp
mov dword [ebp - 0xb4], esp
lea edx, [ebp - 0x1c]
push edx
call fcn.00402580
push ecx
mov ecx, esp
mov dword [ebp - 0xb8], esp
lea eax, [ebp - 0x20]
push eax
call fcn.00402580
call fcn.004de330
add esp, 0xc
test eax, eax
je 0x4e934c
lea ecx, [ebp - 0x6c]
call fcn.004032e0
mov ecx, dword [ebp - 0x10]
push ecx
push 0x5123bc
lea edx, [ebp - 0x6c]
push edx
call fcn.00404050
add esp, 0xc
push ecx
mov ecx, esp
mov dword [ebp - 0xbc], esp
lea eax, [ebp - 0x6c]
push eax
call fcn.00402580
call sym.QiyiInstaller.exe_SendLog
add esp, 4
push 0x549dc0
lea ecx, [ebp - 0x64]
call fcn.00402580
lea ecx, [ebp - 0x68]
call fcn.004032e0
cmp dword [0x549e14], 0
je 0x4e92d6
push 0x5123ec
lea ecx, [ebp - 0x10]
push ecx
call fcn.00404c60
add esp, 8
movzx edx, al
test edx, edx
je 0x4e92d6
mov eax, dword [ebp - 0x64]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
push str._s_D_s2000hide
lea edx, [ebp - 0x68]
push edx
call fcn.00404050
add esp, 0x10
jmp 0x4e92eb
mov eax, dword [ebp - 0x1c]
push eax
push str._s_s2000hide
lea ecx, [ebp - 0x68]
push ecx
call fcn.00404050
add esp, 0xc
push ecx
mov ecx, esp
mov dword [ebp - 0xc0], esp
lea edx, [ebp - 0x68]
push edx
call fcn.00402580
call sym.QiyiInstaller.exe_RunProcess
add esp, 4
mov eax, dword [ebp - 0x10]
push eax
push 0x51243c
lea ecx, [ebp - 0x6c]
push ecx
call fcn.00404050
add esp, 0xc
push ecx
mov ecx, esp
mov dword [ebp - 0xc4], esp
lea edx, [ebp - 0x6c]
push edx
call fcn.00402580
call sym.QiyiInstaller.exe_SendLog
add esp, 4
lea ecx, [ebp - 0x68]
call fcn.004079a0
lea ecx, [ebp - 0x64]
call fcn.004079a0
lea ecx, [ebp - 0x6c]
call fcn.004079a0
lea ecx, [ebp - 0x1c]
call fcn.004079a0
lea ecx, [ebp - 0x4c]
call fcn.004079a0
lea ecx, [ebp - 0x20]
call fcn.004079a0
lea ecx, [ebp - 0xc]
call fcn.004079a0
lea ecx, [ebp - 0x24]
call fcn.004079a0
lea ecx, [ebp - 8]
call fcn.004079a0
lea ecx, [ebp - 0x14]
call fcn.004079a0
lea ecx, [ebp - 0x10]
call fcn.004079a0
lea ecx, [ebp - 0x44]
call fcn.004079a0
lea ecx, [ebp - 0x40]
call fcn.0049895a
lea ecx, [ebp + 8]
call fcn.004079a0
lea esp, [ebp - 0xd4]
pop esi
mov ecx, dword [ebp - 0x88]
xor ecx, ebp
call fcn.004b5e12
mov esp, ebp
pop ebp
ret