Function at 0x4f4c00
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x551bd0]
xor eax, ebp
mov dword [ebp - 0x90], eax
push esi
lea ecx, [ebp + 8]
call fcn.00407030
lea ecx, [ebp + 8]
call fcn.004043d0
movzx eax, al
test eax, eax
je 0x4f4c3b
lea ecx, [ebp + 8]
call fcn.00407160
jmp 0x4f54b5
call fcn.004038a0
mov dword [ebp - 0x4c], eax
push 0xa
lea ecx, [ebp - 0x40]
call fcn.004a2c06
lea ecx, [ebp - 0x40]
push ecx
push ecx
mov ecx, esp
mov dword [ebp - 0x78], esp
lea edx, [ebp + 8]
push edx
call fcn.004020c0
call fcn.004e50d0
add esp, 8
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 7
je 0x4f4d44
lea eax, [ebp + 8]
push eax
push 0x51d7a0
lea ecx, [ebp - 0x8c]
push ecx
call fcn.00404280
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 0x4f4ca9
mov dword [ebp - 0xd0], 0
jmp 0x4f4d0a
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 0x4f4cce
mov dword [ebp - 0xd4], 0
jmp 0x4f4cfe
mov eax, dword [ebp - 4]
shl eax, 1
call fcn.004c9ac0
mov dword [ebp - 0xd8], esp
mov eax, dword [ebp - 0x4c]
push eax
mov ecx, dword [ebp - 4]
shl ecx, 1
push ecx
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 0xd8]
push eax
call fcn.004077e0
mov dword [ebp - 0xd4], eax
mov ecx, dword [ebp - 0xd4]
mov dword [ebp - 0xd0], ecx
mov edx, dword [ebp - 0xd0]
mov dword [ebp - 0x88], edx
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0x84]
call fcn.004c04ac
push 0x530e84
lea ecx, [ebp - 0x84]
push ecx
call fcn.004c9687
lea ecx, [ebp - 0x8c]
call fcn.00407160
push 0
lea ecx, [ebp - 0x40]
call fcn.004a2bdd
push eax
lea ecx, [ebp - 0x40]
call fcn.0040cf90
push eax
lea ecx, [ebp - 0x48]
call fcn.004020c0
cmp dword [0x55701c], 0
jne 0x4f4d72
cmp dword [0x557020], 0
je 0x4f4dd4
push ecx
mov esi, esp
mov dword [ebp - 0x94], esp
push str._install_canceled_in_repair_mode_
lea edx, [ebp - 0x48]
push edx
push 0x51d594
lea eax, [ebp - 0x98]
push eax
call fcn.00404280
add esp, 0xc
push eax
push esi
call fcn.004041d0
add esp, 0xc
mov ecx, 0x556f08
call fcn.004f68e0
lea ecx, [ebp - 0x98]
call fcn.00407160
lea ecx, [ebp - 0x48]
call fcn.00407160
lea ecx, [ebp - 0x40]
call fcn.004a2d30
lea ecx, [ebp + 8]
call fcn.00407160
jmp 0x4f54b5
mov dword [ebp - 0x60], 1
jmp 0x4f4de6
mov ecx, dword [ebp - 0x60]
add ecx, 1
mov dword [ebp - 0x60], ecx
cmp dword [ebp - 0x60], 5
jg 0x4f4f4a
lea ecx, [ebp - 0x64]
call fcn.00402e30
mov edx, dword [ebp - 0x60]
push edx
push 0x51d84c
lea eax, [ebp - 0x64]
push eax
call fcn.00405f70
add esp, 0xc
lea ecx, [ebp - 0x48]
push ecx
push ecx
mov ecx, esp
mov dword [ebp - 0xa0], esp
lea edx, [ebp - 0x64]
push edx
call fcn.004020c0
lea eax, [ebp - 0xa4]
push eax
call fcn.004e4ad0
add esp, 8
push eax
call fcn.00404330
add esp, 8
mov byte [ebp - 0x99], al
lea ecx, [ebp - 0xa4]
call fcn.00407160
movzx ecx, byte [ebp - 0x99]
test ecx, ecx
je 0x4f4f3d
lea ecx, [ebp - 0x68]
call fcn.00402e30
mov edx, dword [ebp - 0x60]
push edx
push 0x51d864
lea eax, [ebp - 0x68]
push eax
call fcn.00405f70
add esp, 0xc
push 0x51d79c
push ecx
mov ecx, esp
mov dword [ebp - 0xac], esp
lea edx, [ebp - 0x68]
push edx
call fcn.004020c0
lea eax, [ebp - 0xb0]
push eax
call fcn.004e4ad0
add esp, 8
push eax
call fcn.00404370
add esp, 8
mov byte [ebp - 0xa5], al
lea ecx, [ebp - 0xb0]
call fcn.00407160
movzx ecx, byte [ebp - 0xa5]
test ecx, ecx
je 0x4f4f35
push ecx
mov esi, esp
mov dword [ebp - 0xb4], esp
push str._install_canceled_by_user_
lea edx, [ebp - 0x48]
push edx
push str.Additional_software
lea eax, [ebp - 0xb8]
push eax
call fcn.00404280
add esp, 0xc
push eax
push esi
call fcn.004041d0
add esp, 0xc
mov ecx, 0x556f08
call fcn.004f68e0
lea ecx, [ebp - 0xb8]
call fcn.00407160
lea ecx, [ebp - 0x68]
call fcn.00407160
lea ecx, [ebp - 0x64]
call fcn.00407160
lea ecx, [ebp - 0x48]
call fcn.00407160
lea ecx, [ebp - 0x40]
call fcn.004a2d30
lea ecx, [ebp + 8]
call fcn.00407160
jmp 0x4f54b5
lea ecx, [ebp - 0x68]
call fcn.00407160
lea ecx, [ebp - 0x64]
call fcn.00407160
jmp 0x4f4ddd
push 1
lea ecx, [ebp - 0x40]
call fcn.004a2bdd
push eax
lea ecx, [ebp - 0x40]
call fcn.0040cf90
push eax
lea ecx, [ebp - 0x10]
call fcn.004020c0
push 2
lea ecx, [ebp - 0x40]
call fcn.004a2bdd
push eax
lea ecx, [ebp - 0x40]
call fcn.0040cf90
push eax
lea ecx, [ebp - 0x14]
call fcn.004020c0
push 3
lea ecx, [ebp - 0x40]
call fcn.004a2bdd
push eax
lea ecx, [ebp - 0x40]
call fcn.0040cf90
push eax
lea ecx, [ebp - 8]
call fcn.004020c0
push 4
lea ecx, [ebp - 0x40]
call fcn.004a2bdd
push eax
lea ecx, [ebp - 0x40]
call fcn.0040cf90
push eax
lea ecx, [ebp - 0x24]
call fcn.004020c0
push 5
lea ecx, [ebp - 0x40]
call fcn.004a2bdd
push eax
lea ecx, [ebp - 0x40]
call fcn.0040cf90
push eax
lea ecx, [ebp - 0xc]
call fcn.004020c0
push 6
lea ecx, [ebp - 0x40]
call fcn.004a2bdd
push eax
lea ecx, [ebp - 0x40]
call fcn.0040cf90
push eax
lea ecx, [ebp - 0x20]
call fcn.004020c0
lea ecx, [ebp - 0x20]
call fcn.004032b0
mov esi, eax
push 0x2f
lea ecx, [ebp - 0x20]
call fcn.00403fc0
sub esi, eax
sub esi, 1
push esi
lea ecx, [ebp - 0x54]
push ecx
lea ecx, [ebp - 0x20]
call fcn.004040c0
push 4
lea edx, [ebp - 0x44]
push edx
lea ecx, [ebp - 0x54]
call fcn.004040c0
lea ecx, [ebp - 0x44]
call fcn.00401060
push 0x51d8e0
lea eax, [ebp - 0x44]
push eax
call fcn.00404370
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x4f5053
push 0x51d8ec
lea ecx, [ebp - 0x54]
call fcn.00403ce0
lea ecx, [ebp - 0x1c]
call fcn.00402e30
mov edx, dword [ebp - 0x54]
push edx
mov eax, dword [0x556fe4]
push eax
push 0x51d8f8
lea ecx, [ebp - 0x1c]
push ecx
call fcn.00405f70
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]
lea ecx, [ebp - 0x50]
call fcn.00402e30
mov edx, dword [ebp - 0x48]
push edx
push 0x51d904
lea eax, [ebp - 0x50]
push eax
call fcn.00405f70
add esp, 0xc
lea ecx, [ebp - 0x14]
call sym.QiyiInstaller.exe_public:_enum_eScriptType___thiscall_CScriptModule::Type_void_
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x4f50bf
mov dword [ebp - 0xdc], 0
jmp 0x4f5120
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x3fffffff
jle 0x4f50e4
mov dword [ebp - 0xe0], 0
jmp 0x4f5114
mov eax, dword [ebp - 4]
shl eax, 1
call fcn.004c9ac0
mov dword [ebp - 0xe4], esp
mov edx, dword [ebp - 0x4c]
push edx
mov eax, dword [ebp - 4]
shl eax, 1
push eax
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0xe4]
push edx
call fcn.004077e0
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0xdc], eax
lea ecx, [ebp - 0x50]
call sym.QiyiInstaller.exe_public:_enum_eScriptType___thiscall_CScriptModule::Type_void_
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x4f513d
mov dword [ebp - 0xe8], 0
jmp 0x4f519e
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x3fffffff
jle 0x4f5162
mov dword [ebp - 0xec], 0
jmp 0x4f5192
mov eax, dword [ebp - 4]
shl eax, 1
call fcn.004c9ac0
mov dword [ebp - 0xf0], esp
mov edx, dword [ebp - 0x4c]
push edx
mov eax, dword [ebp - 4]
shl eax, 1
push eax
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0xf0]
push edx
call fcn.004077e0
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0xe8], eax
mov ecx, dword [ebp - 0xdc]
push ecx
mov edx, dword [ebp - 0xe8]
push edx
push 0x7e3
mov eax, dword [0x556ed4]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x50]
call fcn.00405e70
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
call fcn.00405e70
push 0x927c0
push ecx
mov ecx, esp
mov dword [ebp - 0xbc], esp
lea edx, [ebp - 0x1c]
push edx
call fcn.004020c0
push ecx
mov ecx, esp
mov dword [ebp - 0xc0], esp
lea eax, [ebp - 0x20]
push eax
call fcn.004020c0
call fcn.004eb610
add esp, 0xc
test eax, eax
je 0x4f544d
lea ecx, [ebp - 0x74]
call fcn.00402e30
mov ecx, dword [ebp - 0x10]
push ecx
push str.installdownloadOk_s1
lea edx, [ebp - 0x74]
push edx
call fcn.00405f70
add esp, 0xc
push ecx
mov ecx, esp
mov dword [ebp - 0xc4], esp
lea eax, [ebp - 0x74]
push eax
call fcn.004020c0
call sym.QiyiInstaller.exe_SendLog
add esp, 4
mov ecx, dword [ebp - 0x48]
push ecx
push 0x51d948
lea edx, [ebp - 0x50]
push edx
call fcn.00405f70
add esp, 0xc
lea ecx, [ebp - 0x14]
call sym.QiyiInstaller.exe_public:_enum_eScriptType___thiscall_CScriptModule::Type_void_
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x4f5273
mov dword [ebp - 0xf4], 0
jmp 0x4f52d4
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x3fffffff
jle 0x4f5298
mov dword [ebp - 0xf8], 0
jmp 0x4f52c8
mov eax, dword [ebp - 4]
shl eax, 1
call fcn.004c9ac0
mov dword [ebp - 0xfc], esp
mov ecx, dword [ebp - 0x4c]
push ecx
mov edx, dword [ebp - 4]
shl edx, 1
push edx
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0xfc]
push ecx
call fcn.004077e0
mov dword [ebp - 0xf8], eax
mov edx, dword [ebp - 0xf8]
mov dword [ebp - 0xf4], edx
lea ecx, [ebp - 0x50]
call sym.QiyiInstaller.exe_public:_enum_eScriptType___thiscall_CScriptModule::Type_void_
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x4f52f1
mov dword [ebp - 0x100], 0
jmp 0x4f5352
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x3fffffff
jle 0x4f5316
mov dword [ebp - 0x104], 0
jmp 0x4f5346
mov eax, dword [ebp - 4]
shl eax, 1
call fcn.004c9ac0
mov dword [ebp - 0x108], esp
mov ecx, dword [ebp - 0x4c]
push ecx
mov edx, dword [ebp - 4]
shl edx, 1
push edx
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x108]
push ecx
call fcn.004077e0
mov dword [ebp - 0x104], eax
mov edx, dword [ebp - 0x104]
mov dword [ebp - 0x100], edx
mov eax, dword [ebp - 0xf4]
push eax
mov ecx, dword [ebp - 0x100]
push ecx
push 0x7e3
mov edx, dword [0x556ed4]
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x50]
call fcn.00405e70
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
call fcn.00405e70
push 0x556fd0
lea ecx, [ebp - 0x6c]
call fcn.004020c0
lea ecx, [ebp - 0x70]
call fcn.00402e30
cmp dword [0x557024], 0
je 0x4f53d7
push 0x51d95c
lea eax, [ebp - 0x10]
push eax
call fcn.00404350
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x4f53d7
mov edx, dword [ebp - 0x6c]
push edx
mov eax, dword [ebp - 0x1c]
push eax
push 0x51d964
lea ecx, [ebp - 0x70]
push ecx
call fcn.00405f70
add esp, 0x10
jmp 0x4f53ec
mov edx, dword [ebp - 0x1c]
push edx
push str._s_s2000hide
lea eax, [ebp - 0x70]
push eax
call fcn.00405f70
add esp, 0xc
push ecx
mov ecx, esp
mov dword [ebp - 0xc8], esp
lea edx, [ebp - 0x70]
push edx
call fcn.004020c0
call sym.QiyiInstaller.exe_Run
add esp, 4
mov eax, dword [ebp - 0x10]
push eax
push str.installinstallOk_s1
lea ecx, [ebp - 0x74]
push ecx
call fcn.00405f70
add esp, 0xc
push ecx
mov ecx, esp
mov dword [ebp - 0xcc], esp
lea edx, [ebp - 0x74]
push edx
call fcn.004020c0
call sym.QiyiInstaller.exe_SendLog
add esp, 4
lea ecx, [ebp - 0x70]
call fcn.00407160
lea ecx, [ebp - 0x6c]
call fcn.00407160
lea ecx, [ebp - 0x74]
call fcn.00407160
lea ecx, [ebp - 0x50]
call fcn.00407160
lea ecx, [ebp - 0x1c]
call fcn.00407160
lea ecx, [ebp - 0x44]
call fcn.00407160
lea ecx, [ebp - 0x54]
call fcn.00407160
lea ecx, [ebp - 0x20]
call fcn.00407160
lea ecx, [ebp - 0xc]
call fcn.00407160
lea ecx, [ebp - 0x24]
call fcn.00407160
lea ecx, [ebp - 8]
call fcn.00407160
lea ecx, [ebp - 0x14]
call fcn.00407160
lea ecx, [ebp - 0x10]
call fcn.00407160
lea ecx, [ebp - 0x48]
call fcn.00407160
lea ecx, [ebp - 0x40]
call fcn.004a2d30
lea ecx, [ebp + 8]
call fcn.00407160
lea esp, [ebp - 0x10c]
pop esi
mov ecx, dword [ebp - 0x90]
xor ecx, ebp
call fcn.004bfe65
mov esp, ebp
pop ebp
ret