Function at 0x4e5b40
Capabilities:
Check if file exists
Delete file
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc4
mov eax, dword [0x542af0]
xor eax, ebp
mov dword [ebp - 0xb0], eax
lea eax, [ebp + 8]
push eax
push 0x511978
push 0x547d84
lea ecx, [ebp - 0x80]
push ecx
call fcn.004044d0
add esp, 0xc
push eax
lea edx, [ebp - 0x84]
push edx
call fcn.00406c10
add esp, 0xc
mov ecx, eax
call sym.QiyiInstaller.exe_public:_enum_eScriptType___thiscall_CScriptModule::Type_void_
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
neg eax
sbb eax, eax
add eax, 1
mov byte [ebp - 0x79], al
lea ecx, [ebp - 0x84]
call fcn.004030a0
lea ecx, [ebp - 0x80]
call fcn.004030a0
movzx eax, byte [ebp - 0x79]
test eax, eax
je 0x4e5bc0
lea ecx, [ebp + 8]
call fcn.004030a0
jmp 0x4e5ff9
lea ecx, [ebp + 8]
call fcn.00401060
push 0x51197c
push 0x547dbc
lea ecx, [ebp - 0x20]
push ecx
call fcn.004044d0
add esp, 0xc
lea ecx, [ebp - 0x38]
call fcn.00403080
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp + 8]
push eax
push str.cmd.exe_c_tasklist__m__s___s_1000hide
lea ecx, [ebp - 0x38]
push ecx
call fcn.00406160
add esp, 0x10
push ecx
mov ecx, esp
mov dword [ebp - 0x88], esp
lea edx, [ebp - 0x38]
push edx
call fcn.004022d0
call sym.QiyiInstaller.exe_Run
add esp, 4
push 0xa
lea ecx, [ebp - 0x1c]
call fcn.004985a0
lea ecx, [ebp - 0x34]
call fcn.004a4cfd
push 0
push 0x40
lea ecx, [ebp - 0x20]
call sym.QiyiInstaller.exe_public:_enum_eScriptType___thiscall_CScriptModule::Type_void_
push eax
lea ecx, [ebp - 0x34]
call fcn.004a4d5f
test eax, eax
je 0x4e5cdf
lea ecx, [ebp - 0x3c]
call fcn.00403080
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x34]
call fcn.004a5268
test eax, eax
je 0x4e5cc0
push 0
push str..exe
lea ecx, [ebp - 0x3c]
call fcn.00404240
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0xffffffff
je 0x4e5cbe
mov ecx, dword [ebp - 0x40]
add ecx, 4
push ecx
lea edx, [ebp - 0x44]
push edx
lea ecx, [ebp - 0x3c]
call fcn.00404450
lea ecx, [ebp - 0x44]
call fcn.00407210
push 0
lea ecx, [ebp - 0x44]
call sym.QiyiInstaller.exe_public:_enum_eScriptType___thiscall_CScriptModule::Type_void_
push eax
lea ecx, [ebp - 0x1c]
call fcn.0049864f
test eax, eax
jne 0x4e5cb6
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x1c]
call fcn.004987a0
lea ecx, [ebp - 0x44]
call fcn.004030a0
jmp 0x4e5c50
lea ecx, [ebp - 0x34]
call fcn.004a510f
lea ecx, [ebp - 0x20]
call sym.QiyiInstaller.exe_public:_enum_eScriptType___thiscall_CScriptModule::Type_void_
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x3c]
call fcn.004030a0
lea ecx, [ebp - 0x1c]
call sym.QiyiInstaller.exe_public:_int___thiscall_CAnimation::GetFP_void_
test eax, eax
jle 0x4e5fc7
lea ecx, [ebp - 0x50]
call fcn.00403080
lea ecx, [ebp - 0x1c]
call fcn.00413f20
mov dword [ebp - 0x54], eax
lea ecx, [ebp - 0x54]
push ecx
lea ecx, [ebp - 0x1c]
call fcn.0040c520
push eax
lea ecx, [ebp - 0x5c]
call fcn.004022d0
push ecx
mov ecx, esp
mov dword [ebp - 0x8c], esp
lea edx, [ebp - 0x5c]
push edx
call fcn.004022d0
call fcn.004dfc50
add esp, 4
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x50]
call fcn.00406ad0
cmp dword [ebp - 0x58], 0
jbe 0x4e5e0b
push 8
call fcn.00496cc8
add esp, 4
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x90], 0
je 0x4e5d76
mov ecx, dword [ebp - 0x90]
call fcn.00407f40
mov dword [ebp - 0xb4], eax
jmp 0x4e5d80
mov dword [ebp - 0xb4], 0
mov ecx, dword [ebp - 0xb4]
mov dword [ebp - 0x60], ecx
mov edx, dword [ebp - 0x60]
mov eax, dword [ebp - 0x58]
mov dword [edx], eax
mov ecx, dword [ebp - 0x60]
push ecx
push 0x4d89b0
call dword [sym.imp.USER32.dll_EnumWindows]
mov ecx, dword [ebp - 0x60]
add ecx, 4
call fcn.004046d0
movzx edx, al
test edx, edx
jne 0x4e5dce
push 0x5119f8
lea ecx, [ebp - 0x50]
call fcn.00403fe0
mov eax, dword [ebp - 0x60]
add eax, 4
push eax
lea ecx, [ebp - 0x50]
call fcn.00406ad0
mov ecx, dword [ebp - 0x60]
mov dword [ebp - 0x98], ecx
mov edx, dword [ebp - 0x98]
mov dword [ebp - 0x94], edx
cmp dword [ebp - 0x94], 0
je 0x4e5e01
push 1
mov ecx, dword [ebp - 0x94]
call fcn.00407f60
mov dword [ebp - 0xb8], eax
jmp 0x4e5e0b
mov dword [ebp - 0xb8], 0
push 0x511a00
lea ecx, [ebp - 0x50]
call fcn.00403fe0
lea ecx, [ebp - 0x5c]
call fcn.004030a0
cmp dword [ebp - 0x54], 0
jne 0x4e5d02
lea ecx, [ebp - 0x4c]
call fcn.00403080
mov eax, dword [ebp - 0x50]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [0x547d84]
push edx
push 0x511a10
lea eax, [ebp - 0x4c]
push eax
call fcn.00406160
add esp, 0x14
mov dword [ebp - 0x48], 0xb
cmp dword [0x547df0], 0
jne 0x4e5e85
push 0x226
push 0x511a04
lea ecx, [ebp - 0x4c]
call sym.QiyiInstaller.exe_public:_enum_eScriptType___thiscall_CScriptModule::Type_void_
push eax
mov ecx, dword [0x547cb0]
push ecx
call dword [sym.imp.USER32.dll_MessageBoxW]
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0xb
jne 0x4e5ecc
lea ecx, [ebp - 0x1c]
call sym.QiyiInstaller.exe_public:_int___thiscall_CAnimation::GetFP_void_
test eax, eax
jle 0x4e5ec7
lea edx, [ebp - 0x64]
push edx
lea ecx, [ebp - 0x1c]
call fcn.00498712
push ecx
mov ecx, esp
mov dword [ebp - 0x9c], esp
lea eax, [ebp - 0x64]
push eax
call fcn.004022d0
call sym.QiyiInstaller.exe_Kill
add esp, 4
lea ecx, [ebp - 0x64]
call fcn.004030a0
jmp 0x4e5e8b
jmp 0x4e5fb7
cmp dword [ebp - 0x48], 2
jne 0x4e5fb7
call fcn.00403b70
mov dword [ebp - 0x74], eax
lea ecx, [ebp - 0x6c]
call fcn.00403080
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [0x547d84]
push edx
push 0x511a94
lea eax, [ebp - 0x6c]
push eax
call fcn.00406160
add esp, 0x10
lea ecx, [ebp - 0x6c]
call sym.QiyiInstaller.exe_public:_enum_eScriptType___thiscall_CScriptModule::Type_void_
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 0
jne 0x4e5f1f
mov dword [ebp - 0xbc], 0
jmp 0x4e5f80
mov ecx, dword [ebp - 0x70]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0x3fffffff
jle 0x4e5f44
mov dword [ebp - 0xc0], 0
jmp 0x4e5f74
mov eax, dword [ebp - 0x68]
shl eax, 1
call fcn.004bbd30
mov dword [ebp - 0xc4], esp
mov edx, dword [ebp - 0x74]
push edx
mov eax, dword [ebp - 0x68]
shl eax, 1
push eax
mov ecx, dword [ebp - 0x70]
push ecx
mov edx, dword [ebp - 0xc4]
push edx
call fcn.00407810
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0xbc], eax
mov ecx, dword [ebp - 0xbc]
mov dword [ebp - 0xac], ecx
lea edx, [ebp - 0xac]
push edx
lea ecx, [ebp - 0xa8]
call fcn.004b61cc
push 0x524174
lea eax, [ebp - 0xa8]
push eax
call fcn.004bb782
lea ecx, [ebp - 0x6c]
call fcn.004030a0
lea ecx, [ebp - 0x4c]
call fcn.004030a0
lea ecx, [ebp - 0x50]
call fcn.004030a0
lea ecx, [ebp - 0x34]
call fcn.004a514d
lea ecx, [ebp - 0x1c]
call fcn.004986ca
lea ecx, [ebp - 0x38]
call fcn.004030a0
lea ecx, [ebp - 0x20]
call fcn.004030a0
lea ecx, [ebp + 8]
call fcn.004030a0
jmp 0x4e5ff9
lea esp, [ebp - 0xc4]
mov ecx, dword [ebp - 0xb0]
xor ecx, ebp
call fcn.004b5b7f
mov esp, ebp
pop ebp
ret