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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
lea ecx, [ebp + 8]
call fcn.00404970
movzx eax, al
test eax, eax
je 0x4e5c85
lea ecx, [ebp + 8]
call fcn.00403360
jmp 0x4e5fab
cmp dword [0x547df8], 0
je 0x4e5cb5
push ecx
mov ecx, esp
mov dword [ebp - 0x44], esp
push str.GetSoft_canceled_in_silence_mode_
call fcn.00403d60
mov ecx, 0x547ce8
call fcn.004ea710
lea ecx, [ebp + 8]
call fcn.00403360
jmp 0x4e5fab
lea ecx, [ebp + 8]
push ecx
lea ecx, [ebp - 8]
call fcn.00402580
lea ecx, [ebp + 8]
call fcn.00401060
push 0
push str.http:__
lea ecx, [ebp + 8]
call fcn.004044e0
cmp eax, 0xffffffff
je 0x4e5d5b
mov edx, dword [0x547dc4]
push edx
push str._sgotsoft.xml
lea eax, [ebp - 8]
push eax
call fcn.00406370
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 0x4e5d17
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.00402580
push ecx
mov ecx, esp
mov dword [ebp - 0x4c], esp
lea eax, [ebp + 8]
push eax
call fcn.00402580
call fcn.004de140
add esp, 0xc
test eax, eax
jne 0x4e5d5b
lea ecx, [ebp - 8]
call fcn.00403360
lea ecx, [ebp + 8]
call fcn.00403360
jmp 0x4e5fab
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 0x4e5d83
lea ecx, [ebp - 8]
call fcn.00403360
lea ecx, [ebp + 8]
call fcn.00403360
jmp 0x4e5fab
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.00408be0
lea ecx, [ebp - 0x20]
push ecx
push ecx
mov ecx, esp
mov dword [ebp - 0x50], esp
lea edx, [ebp - 8]
push edx
call fcn.00402580
call fcn.004dfdc0
add esp, 8
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x20]
call fcn.004955e0
jmp 0x4e5dc9
push 0
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [ebp - 0x28]
call fcn.00408d70
lea edx, [ebp - 0x60]
push edx
lea ecx, [ebp - 0x20]
call fcn.004086c0
push eax
lea ecx, [ebp - 0x28]
call fcn.00408db0
movzx eax, al
test eax, eax
je 0x4e5f93
lea ecx, [ebp - 0x28]
call fcn.00495690
mov dword [ebp - 0x40], eax
lea ecx, [ebp - 0x2c]
call fcn.00403340
mov ecx, dword [ebp - 4]
add ecx, 1
push ecx
push str.softname_d
lea edx, [ebp - 0x2c]
push edx
call fcn.00406370
add esp, 0xc
lea ecx, [ebp - 0x30]
call fcn.00403340
mov eax, dword [ebp - 4]
add eax, 1
push eax
push str.softshortname_d
lea ecx, [ebp - 0x30]
push ecx
call fcn.00406370
add esp, 0xc
lea ecx, [ebp - 0x3c]
call fcn.00403340
mov edx, dword [ebp - 4]
add edx, 1
push edx
push 0x5113fc
lea eax, [ebp - 0x3c]
push eax
call fcn.00406370
add esp, 0xc
lea ecx, [ebp - 0x34]
call fcn.00403340
mov ecx, dword [ebp - 4]
add ecx, 1
push ecx
push str.softurl_d
lea edx, [ebp - 0x34]
push edx
call fcn.00406370
add esp, 0xc
lea ecx, [ebp - 0x38]
call fcn.00403340
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.00406370
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.00402580
push ecx
mov ecx, esp
mov dword [ebp - 0x68], esp
lea edx, [ebp - 0x2c]
push edx
call fcn.00402580
call fcn.004d75b0
add esp, 8
push ecx
mov ecx, esp
mov dword [ebp - 0x6c], esp
lea eax, [ebp - 0x38]
push eax
call fcn.00402580
push ecx
mov ecx, esp
mov dword [ebp - 0x70], esp
lea edx, [ebp - 0x34]
push edx
call fcn.00402580
call fcn.004d75b0
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.00402580
push ecx
mov ecx, esp
mov dword [ebp - 0x78], esp
lea edx, [ebp - 0x30]
push edx
call fcn.00402580
call fcn.004d75b0
add esp, 8
push ecx
mov ecx, esp
mov dword [ebp - 0x7c], esp
push 0x511454
call fcn.00403d60
push ecx
mov ecx, esp
mov dword [ebp - 0x80], esp
lea eax, [ebp - 0x3c]
push eax
call fcn.00402580
call fcn.004d75b0
add esp, 8
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
lea ecx, [ebp - 0x38]
call fcn.00403360
lea ecx, [ebp - 0x34]
call fcn.00403360
lea ecx, [ebp - 0x3c]
call fcn.00403360
lea ecx, [ebp - 0x30]
call fcn.00403360
lea ecx, [ebp - 0x2c]
call fcn.00403360
jmp 0x4e5dbb
lea ecx, [ebp - 0x20]
call fcn.00408c50
lea ecx, [ebp - 8]
call fcn.00403360
lea ecx, [ebp + 8]
call fcn.00403360
mov esp, ebp
pop ebp
ret