Function at 0x4f24a0
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
lea ecx, [ebp + 8]
call fcn.004043d0
movzx eax, al
test eax, eax
je 0x4f24c5
lea ecx, [ebp + 8]
call fcn.00407160
jmp 0x4f27eb
cmp dword [0x557018], 0
je 0x4f24f5
push ecx
mov ecx, esp
mov dword [ebp - 0x44], esp
push str.GetSoft_canceled_in_silence_mode_
call fcn.004037d0
mov ecx, 0x556f08
call fcn.004f68e0
lea ecx, [ebp + 8]
call fcn.00407160
jmp 0x4f27eb
lea ecx, [ebp + 8]
push ecx
lea ecx, [ebp - 8]
call fcn.004020c0
lea ecx, [ebp + 8]
call fcn.00401060
push 0
push str.http:__
lea ecx, [ebp + 8]
call fcn.00403f40
cmp eax, 0xffffffff
je 0x4f259b
mov edx, dword [0x556fe4]
push edx
push str._sgotsoft.xml
lea eax, [ebp - 8]
push eax
call fcn.00405f70
add esp, 0xc
lea ecx, [ebp - 8]
call sym.QiyiInstaller.exe_public:_enum_eScriptType___thiscall_CScriptModule::Type_void_
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4f2557
lea ecx, [ebp - 8]
call sym.QiyiInstaller.exe_public:_enum_eScriptType___thiscall_CScriptModule::Type_void_
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x2710
push ecx
mov ecx, esp
mov dword [ebp - 0x48], esp
lea edx, [ebp - 8]
push edx
call fcn.004020c0
push ecx
mov ecx, esp
mov dword [ebp - 0x4c], esp
lea eax, [ebp + 8]
push eax
call fcn.004020c0
call fcn.004eb610
add esp, 0xc
test eax, eax
jne 0x4f259b
lea ecx, [ebp - 8]
call fcn.00407160
lea ecx, [ebp + 8]
call fcn.00407160
jmp 0x4f27eb
lea ecx, [ebp - 8]
call sym.QiyiInstaller.exe_public:_enum_eScriptType___thiscall_CScriptModule::Type_void_
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4f25c3
lea ecx, [ebp - 8]
call fcn.00407160
lea ecx, [ebp + 8]
call fcn.00407160
jmp 0x4f27eb
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.00408970
lea ecx, [ebp - 0x20]
push ecx
push ecx
mov ecx, esp
mov dword [ebp - 0x50], esp
lea edx, [ebp - 8]
push edx
call fcn.004020c0
call fcn.004ed160
add esp, 8
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x20]
call fcn.00414e70
jmp 0x4f2609
push 0
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [ebp - 0x28]
call fcn.00408b30
lea edx, [ebp - 0x60]
push edx
lea ecx, [ebp - 0x20]
call fcn.00408a00
push eax
lea ecx, [ebp - 0x28]
call fcn.00408b70
movzx eax, al
test eax, eax
je 0x4f27d3
lea ecx, [ebp - 0x28]
call fcn.00407100
mov dword [ebp - 0x40], eax
lea ecx, [ebp - 0x2c]
call fcn.00402e30
mov ecx, dword [ebp - 4]
add ecx, 1
push ecx
push str.softname_d
lea edx, [ebp - 0x2c]
push edx
call fcn.00405f70
add esp, 0xc
lea ecx, [ebp - 0x30]
call fcn.00402e30
mov eax, dword [ebp - 4]
add eax, 1
push eax
push str.softshortname_d
lea ecx, [ebp - 0x30]
push ecx
call fcn.00405f70
add esp, 0xc
lea ecx, [ebp - 0x3c]
call fcn.00402e30
mov edx, dword [ebp - 4]
add edx, 1
push edx
push 0x51e094
lea eax, [ebp - 0x3c]
push eax
call fcn.00405f70
add esp, 0xc
lea ecx, [ebp - 0x34]
call fcn.00402e30
mov ecx, dword [ebp - 4]
add ecx, 1
push ecx
push str.softurl_d
lea edx, [ebp - 0x34]
push edx
call fcn.00405f70
add esp, 0xc
lea ecx, [ebp - 0x38]
call fcn.00402e30
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax + 0x1c]
push ecx
mov edx, dword [ebp - 0x40]
mov eax, dword [edx + 0x18]
push eax
mov ecx, dword [ebp - 0x40]
mov edx, dword [ecx + 0x14]
push edx
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax + 0x10]
push ecx
mov edx, dword [ebp - 0x40]
mov eax, dword [edx + 0xc]
push eax
mov ecx, dword [ebp - 0x40]
mov edx, dword [ecx + 8]
push edx
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax + 4]
push ecx
push str._s_s_s_s_s_s_s
lea edx, [ebp - 0x38]
push edx
call fcn.00405f70
add esp, 0x24
mov eax, dword [ebp - 0x40]
add eax, 4
push ecx
mov ecx, esp
mov dword [ebp - 0x64], esp
push eax
call fcn.004020c0
push ecx
mov ecx, esp
mov dword [ebp - 0x68], esp
lea edx, [ebp - 0x2c]
push edx
call fcn.004020c0
call fcn.004e4a80
add esp, 8
push ecx
mov ecx, esp
mov dword [ebp - 0x6c], esp
lea eax, [ebp - 0x38]
push eax
call fcn.004020c0
push ecx
mov ecx, esp
mov dword [ebp - 0x70], esp
lea edx, [ebp - 0x34]
push edx
call fcn.004020c0
call fcn.004e4a80
add esp, 8
mov eax, dword [ebp - 0x40]
add eax, 8
push ecx
mov ecx, esp
mov dword [ebp - 0x74], esp
push eax
call fcn.004020c0
push ecx
mov ecx, esp
mov dword [ebp - 0x78], esp
lea edx, [ebp - 0x30]
push edx
call fcn.004020c0
call fcn.004e4a80
add esp, 8
push ecx
mov ecx, esp
mov dword [ebp - 0x7c], esp
push 0x51e0ec
call fcn.004037d0
push ecx
mov ecx, esp
mov dword [ebp - 0x80], esp
lea eax, [ebp - 0x3c]
push eax
call fcn.004020c0
call fcn.004e4a80
add esp, 8
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
lea ecx, [ebp - 0x38]
call fcn.00407160
lea ecx, [ebp - 0x34]
call fcn.00407160
lea ecx, [ebp - 0x3c]
call fcn.00407160
lea ecx, [ebp - 0x30]
call fcn.00407160
lea ecx, [ebp - 0x2c]
call fcn.00407160
jmp 0x4f25fb
lea ecx, [ebp - 0x20]
call fcn.004089e0
lea ecx, [ebp - 8]
call fcn.00407160
lea ecx, [ebp + 8]
call fcn.00407160
mov esp, ebp
pop ebp
ret