Function at 0x4e5460
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.00404270
add esp, 0xc
push eax
lea edx, [ebp - 0x84]
push edx
call fcn.00406c50
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.00402ea0
lea ecx, [ebp - 0x80]
call fcn.00402ea0
movzx eax, byte [ebp - 0x79]
test eax, eax
je 0x4e54e0
lea ecx, [ebp + 8]
call fcn.00402ea0
jmp 0x4e5919
lea ecx, [ebp + 8]
call fcn.00401060
push 0x51197c
push 0x547dbc
lea ecx, [ebp - 0x20]
push ecx
call fcn.00404270
add esp, 0xc
lea ecx, [ebp - 0x38]
call fcn.00402e80
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.004061c0
add esp, 0x10
push ecx
mov ecx, esp
mov dword [ebp - 0x88], esp
lea edx, [ebp - 0x38]
push edx
call fcn.004020d0
call sym.QiyiInstaller.exe_Run
add esp, 4
push 0xa
lea ecx, [ebp - 0x1c]
call fcn.004985a0
lea ecx, [ebp - 0x34]
call fcn.004a4cdb
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.004a4d3d
test eax, eax
je 0x4e55ff
lea ecx, [ebp - 0x3c]
call fcn.00402e80
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x34]
call fcn.004a5247
test eax, eax
je 0x4e55e0
push 0
push str..exe
lea ecx, [ebp - 0x3c]
call fcn.00403fe0
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0xffffffff
je 0x4e55de
mov ecx, dword [ebp - 0x40]
add ecx, 4
push ecx
lea edx, [ebp - 0x44]
push edx
lea ecx, [ebp - 0x3c]
call fcn.004041f0
lea ecx, [ebp - 0x44]
call fcn.00407290
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 0x4e55d6
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x1c]
call fcn.004987a0
lea ecx, [ebp - 0x44]
call fcn.00402ea0
jmp 0x4e5570
lea ecx, [ebp - 0x34]
call fcn.004a50ee
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.00402ea0
lea ecx, [ebp - 0x1c]
call sym.QiyiInstaller.exe_public:_int___thiscall_CAnimation::GetFP_void_
test eax, eax
jle 0x4e58e7
lea ecx, [ebp - 0x50]
call fcn.00402e80
lea ecx, [ebp - 0x1c]
call fcn.0040caa0
mov dword [ebp - 0x54], eax
lea ecx, [ebp - 0x54]
push ecx
lea ecx, [ebp - 0x1c]
call fcn.0040cc00
push eax
lea ecx, [ebp - 0x5c]
call fcn.004020d0
push ecx
mov ecx, esp
mov dword [ebp - 0x8c], esp
lea edx, [ebp - 0x5c]
push edx
call fcn.004020d0
call fcn.004dfb50
add esp, 4
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x50]
call fcn.00406b10
cmp dword [ebp - 0x58], 0
jbe 0x4e572b
push 8
call fcn.00496cc8
add esp, 4
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x90], 0
je 0x4e5696
mov ecx, dword [ebp - 0x90]
call fcn.00408080
mov dword [ebp - 0xb4], eax
jmp 0x4e56a0
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.00404470
movzx edx, al
test edx, edx
jne 0x4e56ee
push 0x5119f8
lea ecx, [ebp - 0x50]
call fcn.00403d80
mov eax, dword [ebp - 0x60]
add eax, 4
push eax
lea ecx, [ebp - 0x50]
call fcn.00406b10
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 0x4e5721
push 1
mov ecx, dword [ebp - 0x94]
call fcn.004080a0
mov dword [ebp - 0xb8], eax
jmp 0x4e572b
mov dword [ebp - 0xb8], 0
push 0x511a00
lea ecx, [ebp - 0x50]
call fcn.00403d80
lea ecx, [ebp - 0x5c]
call fcn.00402ea0
cmp dword [ebp - 0x54], 0
jne 0x4e5622
lea ecx, [ebp - 0x4c]
call fcn.00402e80
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.004061c0
add esp, 0x14
mov dword [ebp - 0x48], 0xb
cmp dword [0x547df0], 0
jne 0x4e57a5
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 0x4e57ec
lea ecx, [ebp - 0x1c]
call sym.QiyiInstaller.exe_public:_int___thiscall_CAnimation::GetFP_void_
test eax, eax
jle 0x4e57e7
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.004020d0
call sym.QiyiInstaller.exe_Kill
add esp, 4
lea ecx, [ebp - 0x64]
call fcn.00402ea0
jmp 0x4e57ab
jmp 0x4e58d7
cmp dword [ebp - 0x48], 2
jne 0x4e58d7
call fcn.00403940
mov dword [ebp - 0x74], eax
lea ecx, [ebp - 0x6c]
call fcn.00402e80
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [0x547d84]
push edx
push 0x511a94
lea eax, [ebp - 0x6c]
push eax
call fcn.004061c0
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 0x4e583f
mov dword [ebp - 0xbc], 0
jmp 0x4e58a0
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 0x4e5864
mov dword [ebp - 0xc0], 0
jmp 0x4e5894
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.00407950
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 0x523e6c
lea eax, [ebp - 0xa8]
push eax
call fcn.004bb782
lea ecx, [ebp - 0x6c]
call fcn.00402ea0
lea ecx, [ebp - 0x4c]
call fcn.00402ea0
lea ecx, [ebp - 0x50]
call fcn.00402ea0
lea ecx, [ebp - 0x34]
call fcn.004a512c
lea ecx, [ebp - 0x1c]
call fcn.004986ca
lea ecx, [ebp - 0x38]
call fcn.00402ea0
lea ecx, [ebp - 0x20]
call fcn.00402ea0
lea ecx, [ebp + 8]
call fcn.00402ea0
jmp 0x4e5919
lea esp, [ebp - 0xc4]
mov ecx, dword [ebp - 0xb0]
xor ecx, ebp
call fcn.004b5b83
mov esp, ebp
pop ebp
ret