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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
lea ecx, [ebp + 8]
call fcn.00404ce0
movzx eax, al
test eax, eax
je 0x4e6675
lea ecx, [ebp + 8]
call fcn.004079a0
jmp 0x4e699b
cmp dword [0x549e08], 0
je 0x4e66a5
push ecx
mov ecx, esp
mov dword [ebp - 0x44], esp
push str.GetSoft_canceled_in_silence_mode_
call fcn.00403ca0
mov ecx, 0x549cf8
call fcn.004eb140
lea ecx, [ebp + 8]
call fcn.004079a0
jmp 0x4e699b
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.00404850
cmp eax, 0xffffffff
je 0x4e674b
mov edx, dword [0x549dd4]
push edx
push str._sgotsoft.xml
lea eax, [ebp - 8]
push eax
call fcn.00404050
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 0x4e6707
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.004de330
add esp, 0xc
test eax, eax
jne 0x4e674b
lea ecx, [ebp - 8]
call fcn.004079a0
lea ecx, [ebp + 8]
call fcn.004079a0
jmp 0x4e699b
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 0x4e6773
lea ecx, [ebp - 8]
call fcn.004079a0
lea ecx, [ebp + 8]
call fcn.004079a0
jmp 0x4e699b
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.00409270
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.004e00b0
add esp, 8
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x20]
call fcn.004012b0
jmp 0x4e67b9
push 0
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [ebp - 0x28]
call fcn.00409400
lea edx, [ebp - 0x60]
push edx
lea ecx, [ebp - 0x20]
call fcn.00495890
push eax
lea ecx, [ebp - 0x28]
call fcn.00409440
movzx eax, al
test eax, eax
je 0x4e6983
lea ecx, [ebp - 0x28]
call fcn.00407980
mov dword [ebp - 0x40], eax
lea ecx, [ebp - 0x2c]
call fcn.004032e0
mov ecx, dword [ebp - 4]
add ecx, 1
push ecx
push str.softname_d
lea edx, [ebp - 0x2c]
push edx
call fcn.00404050
add esp, 0xc
lea ecx, [ebp - 0x30]
call fcn.004032e0
mov eax, dword [ebp - 4]
add eax, 1
push eax
push str.softshortname_d
lea ecx, [ebp - 0x30]
push ecx
call fcn.00404050
add esp, 0xc
lea ecx, [ebp - 0x3c]
call fcn.004032e0
mov edx, dword [ebp - 4]
add edx, 1
push edx
push 0x512b34
lea eax, [ebp - 0x3c]
push eax
call fcn.00404050
add esp, 0xc
lea ecx, [ebp - 0x34]
call fcn.004032e0
mov ecx, dword [ebp - 4]
add ecx, 1
push ecx
push str.softurl_d
lea edx, [ebp - 0x34]
push edx
call fcn.00404050
add esp, 0xc
lea ecx, [ebp - 0x38]
call fcn.004032e0
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.00404050
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.004d7830
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.004d7830
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.004d7830
add esp, 8
push ecx
mov ecx, esp
mov dword [ebp - 0x7c], esp
push 0x512b8c
call fcn.00403ca0
push ecx
mov ecx, esp
mov dword [ebp - 0x80], esp
lea eax, [ebp - 0x3c]
push eax
call fcn.00402580
call fcn.004d7830
add esp, 8
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
lea ecx, [ebp - 0x38]
call fcn.004079a0
lea ecx, [ebp - 0x34]
call fcn.004079a0
lea ecx, [ebp - 0x3c]
call fcn.004079a0
lea ecx, [ebp - 0x30]
call fcn.004079a0
lea ecx, [ebp - 0x2c]
call fcn.004079a0
jmp 0x4e67ab
lea ecx, [ebp - 0x20]
call fcn.004092e0
lea ecx, [ebp - 8]
call fcn.004079a0
lea ecx, [ebp + 8]
call fcn.004079a0
mov esp, ebp
pop ebp
ret