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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc4
mov eax, dword [0x541af0]
xor eax, ebp
mov dword [ebp - 0xb0], eax
lea eax, [ebp + 8]
push eax
push 0x510760
push 0x546d8c
lea ecx, [ebp - 0x80]
push ecx
call fcn.00404490
add esp, 0xc
push eax
lea edx, [ebp - 0x84]
push edx
call fcn.00406ad0
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.004030e0
lea ecx, [ebp - 0x80]
call fcn.004030e0
movzx eax, byte [ebp - 0x79]
test eax, eax
je 0x4e5120
lea ecx, [ebp + 8]
call fcn.004030e0
jmp 0x4e5559
lea ecx, [ebp + 8]
call fcn.00401060
push 0x510764
push 0x546dc4
lea ecx, [ebp - 0x20]
push ecx
call fcn.00404490
add esp, 0xc
lea ecx, [ebp - 0x38]
call fcn.00407160
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.00406050
add esp, 0x10
push ecx
mov ecx, esp
mov dword [ebp - 0x88], esp
lea edx, [ebp - 0x38]
push edx
call fcn.00402350
call sym.QiyiInstaller.exe_Run
add esp, 4
push 0xa
lea ecx, [ebp - 0x1c]
call fcn.00498616
lea ecx, [ebp - 0x34]
call fcn.004a4d7b
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.004a4ddd
test eax, eax
je 0x4e523f
lea ecx, [ebp - 0x3c]
call fcn.00407160
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x34]
call fcn.004a52e1
test eax, eax
je 0x4e5220
push 0
push str..exe
lea ecx, [ebp - 0x3c]
call fcn.00404200
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0xffffffff
je 0x4e521e
mov ecx, dword [ebp - 0x40]
add ecx, 4
push ecx
lea edx, [ebp - 0x44]
push edx
lea ecx, [ebp - 0x3c]
call fcn.00404410
lea ecx, [ebp - 0x44]
call fcn.00407110
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.004986c5
test eax, eax
jne 0x4e5216
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00498816
lea ecx, [ebp - 0x44]
call fcn.004030e0
jmp 0x4e51b0
lea ecx, [ebp - 0x34]
call fcn.004a5188
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.004030e0
lea ecx, [ebp - 0x1c]
call sym.QiyiInstaller.exe_public:_int___thiscall_CAnimation::GetFP_void_
test eax, eax
jle 0x4e5527
lea ecx, [ebp - 0x50]
call fcn.00407160
lea ecx, [ebp - 0x1c]
call fcn.00409bd0
mov dword [ebp - 0x54], eax
lea ecx, [ebp - 0x54]
push ecx
lea ecx, [ebp - 0x1c]
call fcn.0040c920
push eax
lea ecx, [ebp - 0x5c]
call fcn.00402350
push ecx
mov ecx, esp
mov dword [ebp - 0x8c], esp
lea edx, [ebp - 0x5c]
push edx
call fcn.00402350
call fcn.004dfd00
add esp, 4
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x50]
call fcn.00406990
cmp dword [ebp - 0x58], 0
jbe 0x4e536b
push 8
call fcn.00496cc8
add esp, 4
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x90], 0
je 0x4e52d6
mov ecx, dword [ebp - 0x90]
call fcn.00407f80
mov dword [ebp - 0xb4], eax
jmp 0x4e52e0
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 0x4d8ae0
call dword [sym.imp.USER32.dll_EnumWindows]
mov ecx, dword [ebp - 0x60]
add ecx, 4
call fcn.00404690
movzx edx, al
test edx, edx
jne 0x4e532e
push 0x5107e0
lea ecx, [ebp - 0x50]
call fcn.00403fa0
mov eax, dword [ebp - 0x60]
add eax, 4
push eax
lea ecx, [ebp - 0x50]
call fcn.00406990
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 0x4e5361
push 1
mov ecx, dword [ebp - 0x94]
call fcn.00407fa0
mov dword [ebp - 0xb8], eax
jmp 0x4e536b
mov dword [ebp - 0xb8], 0
push 0x5107e8
lea ecx, [ebp - 0x50]
call fcn.00403fa0
lea ecx, [ebp - 0x5c]
call fcn.004030e0
cmp dword [ebp - 0x54], 0
jne 0x4e5262
lea ecx, [ebp - 0x4c]
call fcn.00407160
mov eax, dword [ebp - 0x50]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [0x546d8c]
push edx
push 0x5107f8
lea eax, [ebp - 0x4c]
push eax
call fcn.00406050
add esp, 0x14
mov dword [ebp - 0x48], 0xb
cmp dword [0x546df8], 0
jne 0x4e53e5
push 0x226
push 0x5107ec
lea ecx, [ebp - 0x4c]
call sym.QiyiInstaller.exe_public:_enum_eScriptType___thiscall_CScriptModule::Type_void_
push eax
mov ecx, dword [0x546cb8]
push ecx
call dword [sym.imp.USER32.dll_MessageBoxW]
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0xb
jne 0x4e542c
lea ecx, [ebp - 0x1c]
call sym.QiyiInstaller.exe_public:_int___thiscall_CAnimation::GetFP_void_
test eax, eax
jle 0x4e5427
lea edx, [ebp - 0x64]
push edx
lea ecx, [ebp - 0x1c]
call fcn.00498788
push ecx
mov ecx, esp
mov dword [ebp - 0x9c], esp
lea eax, [ebp - 0x64]
push eax
call fcn.00402350
call sym.QiyiInstaller.exe_Kill
add esp, 4
lea ecx, [ebp - 0x64]
call fcn.004030e0
jmp 0x4e53eb
jmp 0x4e5517
cmp dword [ebp - 0x48], 2
jne 0x4e5517
call fcn.00403b60
mov dword [ebp - 0x74], eax
lea ecx, [ebp - 0x6c]
call fcn.00407160
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [0x546d8c]
push edx
push 0x51087c
lea eax, [ebp - 0x6c]
push eax
call fcn.00406050
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 0x4e547f
mov dword [ebp - 0xbc], 0
jmp 0x4e54e0
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 0x4e54a4
mov dword [ebp - 0xc0], 0
jmp 0x4e54d4
mov eax, dword [ebp - 0x68]
shl eax, 1
call fcn.004bbdc0
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.00407870
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.004b624c
push 0x522c64
lea eax, [ebp - 0xa8]
push eax
call fcn.004bb812
lea ecx, [ebp - 0x6c]
call fcn.004030e0
lea ecx, [ebp - 0x4c]
call fcn.004030e0
lea ecx, [ebp - 0x50]
call fcn.004030e0
lea ecx, [ebp - 0x34]
call fcn.004a51c6
lea ecx, [ebp - 0x1c]
call fcn.00498740
lea ecx, [ebp - 0x38]
call fcn.004030e0
lea ecx, [ebp - 0x20]
call fcn.004030e0
lea ecx, [ebp + 8]
call fcn.004030e0
jmp 0x4e5559
lea esp, [ebp - 0xc4]
mov ecx, dword [ebp - 0xb0]
xor ecx, ebp
call fcn.004b5c0b
mov esp, ebp
pop ebp
ret