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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc4
mov eax, dword [0x551bd0]
xor eax, ebp
mov dword [ebp - 0xb0], eax
lea eax, [ebp + 8]
push eax
push 0x51e680
push 0x556fac
lea ecx, [ebp - 0x80]
push ecx
call fcn.004041d0
add esp, 0xc
push eax
lea edx, [ebp - 0x84]
push edx
call fcn.00406a40
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.00407160
lea ecx, [ebp - 0x80]
call fcn.00407160
movzx eax, byte [ebp - 0x79]
test eax, eax
je 0x4f1e60
lea ecx, [ebp + 8]
call fcn.00407160
jmp 0x4f2299
lea ecx, [ebp + 8]
call fcn.00401060
push 0x51e684
push 0x556fe4
lea ecx, [ebp - 0x20]
push ecx
call fcn.004041d0
add esp, 0xc
lea ecx, [ebp - 0x38]
call fcn.00402e30
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.00405f70
add esp, 0x10
push ecx
mov ecx, esp
mov dword [ebp - 0x88], esp
lea edx, [ebp - 0x38]
push edx
call fcn.004020c0
call sym.QiyiInstaller.exe_Run
add esp, 4
push 0xa
lea ecx, [ebp - 0x1c]
call fcn.004a2c06
lea ecx, [ebp - 0x34]
call fcn.004aefbc
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.004af01e
test eax, eax
je 0x4f1f7f
lea ecx, [ebp - 0x3c]
call fcn.00402e30
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x34]
call fcn.004af52d
test eax, eax
je 0x4f1f60
push 0
push str..exe
lea ecx, [ebp - 0x3c]
call fcn.00403f40
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0xffffffff
je 0x4f1f5e
mov ecx, dword [ebp - 0x40]
add ecx, 4
push ecx
lea edx, [ebp - 0x44]
push edx
lea ecx, [ebp - 0x3c]
call fcn.00404150
lea ecx, [ebp - 0x44]
call fcn.00407030
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.004a2cb5
test eax, eax
jne 0x4f1f56
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x1c]
call fcn.004a2e06
lea ecx, [ebp - 0x44]
call fcn.00407160
jmp 0x4f1ef0
lea ecx, [ebp - 0x34]
call fcn.004af3d4
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.00407160
lea ecx, [ebp - 0x1c]
call sym.QiyiInstaller.exe_public:_int___thiscall_CAnimation::GetFP_void_
test eax, eax
jle 0x4f2267
lea ecx, [ebp - 0x50]
call fcn.00402e30
lea ecx, [ebp - 0x1c]
call fcn.004446d0
mov dword [ebp - 0x54], eax
lea ecx, [ebp - 0x54]
push ecx
lea ecx, [ebp - 0x1c]
call fcn.0040ce90
push eax
lea ecx, [ebp - 0x5c]
call fcn.004020c0
push ecx
mov ecx, esp
mov dword [ebp - 0x8c], esp
lea edx, [ebp - 0x5c]
push edx
call fcn.004020c0
call fcn.004ed030
add esp, 4
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x50]
call fcn.00406900
cmp dword [ebp - 0x58], 0
jbe 0x4f20ab
push 8
call fcn.004a12b8
add esp, 4
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x90], 0
je 0x4f2016
mov ecx, dword [ebp - 0x90]
call fcn.00407ef0
mov dword [ebp - 0xb4], eax
jmp 0x4f2020
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 0x4e5f30
call dword [sym.imp.USER32.dll_EnumWindows]
mov ecx, dword [ebp - 0x60]
add ecx, 4
call fcn.004043d0
movzx edx, al
test edx, edx
jne 0x4f206e
push 0x51e700
lea ecx, [ebp - 0x50]
call fcn.00403ce0
mov eax, dword [ebp - 0x60]
add eax, 4
push eax
lea ecx, [ebp - 0x50]
call fcn.00406900
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 0x4f20a1
push 1
mov ecx, dword [ebp - 0x94]
call fcn.00407f10
mov dword [ebp - 0xb8], eax
jmp 0x4f20ab
mov dword [ebp - 0xb8], 0
push 0x51e708
lea ecx, [ebp - 0x50]
call fcn.00403ce0
lea ecx, [ebp - 0x5c]
call fcn.00407160
cmp dword [ebp - 0x54], 0
jne 0x4f1fa2
lea ecx, [ebp - 0x4c]
call fcn.00402e30
mov eax, dword [ebp - 0x50]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [0x556fac]
push edx
push 0x51e718
lea eax, [ebp - 0x4c]
push eax
call fcn.00405f70
add esp, 0x14
mov dword [ebp - 0x48], 0xb
cmp dword [0x557018], 0
jne 0x4f2125
push 0x226
push 0x51e70c
lea ecx, [ebp - 0x4c]
call sym.QiyiInstaller.exe_public:_enum_eScriptType___thiscall_CScriptModule::Type_void_
push eax
mov ecx, dword [0x556ed4]
push ecx
call dword [sym.imp.USER32.dll_MessageBoxW]
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0xb
jne 0x4f216c
lea ecx, [ebp - 0x1c]
call sym.QiyiInstaller.exe_public:_int___thiscall_CAnimation::GetFP_void_
test eax, eax
jle 0x4f2167
lea edx, [ebp - 0x64]
push edx
lea ecx, [ebp - 0x1c]
call fcn.004a2d78
push ecx
mov ecx, esp
mov dword [ebp - 0x9c], esp
lea eax, [ebp - 0x64]
push eax
call fcn.004020c0
call sym.QiyiInstaller.exe_Kill
add esp, 4
lea ecx, [ebp - 0x64]
call fcn.00407160
jmp 0x4f212b
jmp 0x4f2257
cmp dword [ebp - 0x48], 2
jne 0x4f2257
call fcn.004038a0
mov dword [ebp - 0x74], eax
lea ecx, [ebp - 0x6c]
call fcn.00402e30
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [0x556fac]
push edx
push 0x51e79c
lea eax, [ebp - 0x6c]
push eax
call fcn.00405f70
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 0x4f21bf
mov dword [ebp - 0xbc], 0
jmp 0x4f2220
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 0x4f21e4
mov dword [ebp - 0xc0], 0
jmp 0x4f2214
mov eax, dword [ebp - 0x68]
shl eax, 1
call fcn.004c9ac0
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.004077e0
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.004c04ac
push 0x530e84
lea eax, [ebp - 0xa8]
push eax
call fcn.004c9687
lea ecx, [ebp - 0x6c]
call fcn.00407160
lea ecx, [ebp - 0x4c]
call fcn.00407160
lea ecx, [ebp - 0x50]
call fcn.00407160
lea ecx, [ebp - 0x34]
call fcn.004af412
lea ecx, [ebp - 0x1c]
call fcn.004a2d30
lea ecx, [ebp - 0x38]
call fcn.00407160
lea ecx, [ebp - 0x20]
call fcn.00407160
lea ecx, [ebp + 8]
call fcn.00407160
jmp 0x4f2299
lea esp, [ebp - 0xc4]
mov ecx, dword [ebp - 0xb0]
xor ecx, ebp
call fcn.004bfe65
mov esp, ebp
pop ebp
ret