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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
lea ecx, [ebp + 8]
call fcn.00404470
movzx eax, al
test eax, eax
je 0x4e5c45
lea ecx, [ebp + 8]
call fcn.00402ea0
jmp 0x4e5f6b
cmp dword [0x547df0], 0
je 0x4e5c75
push ecx
mov ecx, esp
mov dword [ebp - 0x44], esp
push str.GetSoft_canceled_in_silence_mode_
call fcn.00403870
mov ecx, 0x547ce0
call fcn.004ea6d0
lea ecx, [ebp + 8]
call fcn.00402ea0
jmp 0x4e5f6b
lea ecx, [ebp + 8]
push ecx
lea ecx, [ebp - 8]
call fcn.004020d0
lea ecx, [ebp + 8]
call fcn.00401060
push 0
push str.http:__
lea ecx, [ebp + 8]
call fcn.00403fe0
cmp eax, 0xffffffff
je 0x4e5d1b
mov edx, dword [0x547dbc]
push edx
push str._sgotsoft.xml
lea eax, [ebp - 8]
push eax
call fcn.004061c0
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 0x4e5cd7
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.004020d0
push ecx
mov ecx, esp
mov dword [ebp - 0x4c], esp
lea eax, [ebp + 8]
push eax
call fcn.004020d0
call fcn.004de000
add esp, 0xc
test eax, eax
jne 0x4e5d1b
lea ecx, [ebp - 8]
call fcn.00402ea0
lea ecx, [ebp + 8]
call fcn.00402ea0
jmp 0x4e5f6b
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 0x4e5d43
lea ecx, [ebp - 8]
call fcn.00402ea0
lea ecx, [ebp + 8]
call fcn.00402ea0
jmp 0x4e5f6b
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.00408ac0
lea ecx, [ebp - 0x20]
push ecx
push ecx
mov ecx, esp
mov dword [ebp - 0x50], esp
lea edx, [ebp - 8]
push edx
call fcn.004020d0
call fcn.004dfd80
add esp, 8
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x20]
call fcn.004956e0
jmp 0x4e5d89
push 0
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [ebp - 0x28]
call fcn.00408c50
lea edx, [ebp - 0x60]
push edx
lea ecx, [ebp - 0x20]
call fcn.00401280
push eax
lea ecx, [ebp - 0x28]
call fcn.00405850
movzx eax, al
test eax, eax
je 0x4e5f53
lea ecx, [ebp - 0x28]
call fcn.00495790
mov dword [ebp - 0x40], eax
lea ecx, [ebp - 0x2c]
call fcn.00402e80
mov ecx, dword [ebp - 4]
add ecx, 1
push ecx
push str.softname_d
lea edx, [ebp - 0x2c]
push edx
call fcn.004061c0
add esp, 0xc
lea ecx, [ebp - 0x30]
call fcn.00402e80
mov eax, dword [ebp - 4]
add eax, 1
push eax
push str.softshortname_d
lea ecx, [ebp - 0x30]
push ecx
call fcn.004061c0
add esp, 0xc
lea ecx, [ebp - 0x3c]
call fcn.00402e80
mov edx, dword [ebp - 4]
add edx, 1
push edx
push 0x51138c
lea eax, [ebp - 0x3c]
push eax
call fcn.004061c0
add esp, 0xc
lea ecx, [ebp - 0x34]
call fcn.00402e80
mov ecx, dword [ebp - 4]
add ecx, 1
push ecx
push str.softurl_d
lea edx, [ebp - 0x34]
push edx
call fcn.004061c0
add esp, 0xc
lea ecx, [ebp - 0x38]
call fcn.00402e80
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.004061c0
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.004020d0
push ecx
mov ecx, esp
mov dword [ebp - 0x68], esp
lea edx, [ebp - 0x2c]
push edx
call fcn.004020d0
call fcn.004d7500
add esp, 8
push ecx
mov ecx, esp
mov dword [ebp - 0x6c], esp
lea eax, [ebp - 0x38]
push eax
call fcn.004020d0
push ecx
mov ecx, esp
mov dword [ebp - 0x70], esp
lea edx, [ebp - 0x34]
push edx
call fcn.004020d0
call fcn.004d7500
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.004020d0
push ecx
mov ecx, esp
mov dword [ebp - 0x78], esp
lea edx, [ebp - 0x30]
push edx
call fcn.004020d0
call fcn.004d7500
add esp, 8
push ecx
mov ecx, esp
mov dword [ebp - 0x7c], esp
push 0x5113e4
call fcn.00403870
push ecx
mov ecx, esp
mov dword [ebp - 0x80], esp
lea eax, [ebp - 0x3c]
push eax
call fcn.004020d0
call fcn.004d7500
add esp, 8
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
lea ecx, [ebp - 0x38]
call fcn.00402ea0
lea ecx, [ebp - 0x34]
call fcn.00402ea0
lea ecx, [ebp - 0x3c]
call fcn.00402ea0
lea ecx, [ebp - 0x30]
call fcn.00402ea0
lea ecx, [ebp - 0x2c]
call fcn.00402ea0
jmp 0x4e5d7b
lea ecx, [ebp - 0x20]
call fcn.00408b30
lea ecx, [ebp - 8]
call fcn.00402ea0
lea ecx, [ebp + 8]
call fcn.00402ea0
mov esp, ebp
pop ebp
ret