Function at 0x466210
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc4
mov eax, dword [0x49d7b0]
xor eax, ebp
mov dword [ebp - 0xb0], eax
lea eax, [ebp + 8]
push eax
push 0x487960
push 0x4a2494
lea ecx, [ebp - 0x80]
push ecx
call fcn.00404080
add esp, 0xc
push eax
lea edx, [ebp - 0x84]
push edx
call fcn.004059e0
add esp, 0xc
mov ecx, eax
call fcn.004039c0
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.00401830
lea ecx, [ebp - 0x80]
call fcn.00401830
movzx eax, byte [ebp - 0x79]
test eax, eax
je 0x466290
lea ecx, [ebp + 8]
call fcn.00401830
jmp 0x4666c9
lea ecx, [ebp + 8]
call fcn.00401d20
push 0x487964
push 0x4a24c4
lea ecx, [ebp - 0x20]
push ecx
call fcn.00404080
add esp, 0xc
lea ecx, [ebp - 0x38]
call fcn.00406af0
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.00401850
add esp, 0x10
push ecx
mov ecx, esp
mov dword [ebp - 0x88], esp
lea edx, [ebp - 0x38]
push edx
call fcn.004036b0
call sym.QiyiInstaller.exe_Run
add esp, 4
push 0xa
lea ecx, [ebp - 0x1c]
call fcn.0042a058
lea ecx, [ebp - 0x34]
call fcn.0042a392
push 0
push 0x40
lea ecx, [ebp - 0x20]
call fcn.004039c0
push eax
lea ecx, [ebp - 0x34]
call fcn.0042a3f2
test eax, eax
je 0x4663af
lea ecx, [ebp - 0x3c]
call fcn.00406af0
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x34]
call fcn.0042a908
test eax, eax
je 0x466390
push 0
push str..exe
lea ecx, [ebp - 0x3c]
call fcn.00404000
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0xffffffff
je 0x46638e
mov ecx, dword [ebp - 0x40]
add ecx, 4
push ecx
lea edx, [ebp - 0x44]
push edx
lea ecx, [ebp - 0x3c]
call fcn.00405960
lea ecx, [ebp - 0x44]
call fcn.004069f0
push 0
lea ecx, [ebp - 0x44]
call fcn.004039c0
push eax
lea ecx, [ebp - 0x1c]
call fcn.0042a0fe
test eax, eax
jne 0x466386
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x1c]
call fcn.0042a23b
lea ecx, [ebp - 0x44]
call fcn.00401830
jmp 0x466320
lea ecx, [ebp - 0x34]
call fcn.0042a799
lea ecx, [ebp - 0x20]
call fcn.004039c0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x3c]
call fcn.00401830
lea ecx, [ebp - 0x1c]
call fcn.00408ab0
test eax, eax
jle 0x466697
lea ecx, [ebp - 0x50]
call fcn.00406af0
lea ecx, [ebp - 0x1c]
call fcn.00408a90
mov dword [ebp - 0x54], eax
lea ecx, [ebp - 0x54]
push ecx
lea ecx, [ebp - 0x1c]
call fcn.00408a50
push eax
lea ecx, [ebp - 0x5c]
call fcn.004036b0
push ecx
mov ecx, esp
mov dword [ebp - 0x8c], esp
lea edx, [ebp - 0x5c]
push edx
call fcn.004036b0
call fcn.0045f660
add esp, 4
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x50]
call fcn.004066a0
cmp dword [ebp - 0x58], 0
jbe 0x4664db
push 8
call fcn.0041dd23
add esp, 4
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x90], 0
je 0x466446
mov ecx, dword [ebp - 0x90]
call fcn.00407ae0
mov dword [ebp - 0xb4], eax
jmp 0x466450
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 0x45c8f0
call dword [sym.imp.USER32.dll_EnumWindows]
mov ecx, dword [ebp - 0x60]
add ecx, 4
call fcn.00404200
movzx edx, al
test edx, edx
jne 0x46649e
push 0x4879e0
lea ecx, [ebp - 0x50]
call fcn.004066c0
mov eax, dword [ebp - 0x60]
add eax, 4
push eax
lea ecx, [ebp - 0x50]
call fcn.004066a0
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 0x4664d1
push 1
mov ecx, dword [ebp - 0x94]
call fcn.00407b00
mov dword [ebp - 0xb8], eax
jmp 0x4664db
mov dword [ebp - 0xb8], 0
push 0x4879e8
lea ecx, [ebp - 0x50]
call fcn.004066c0
lea ecx, [ebp - 0x5c]
call fcn.00401830
cmp dword [ebp - 0x54], 0
jne 0x4663d2
lea ecx, [ebp - 0x4c]
call fcn.00406af0
mov eax, dword [ebp - 0x50]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [0x4a2494]
push edx
push 0x4879f8
lea eax, [ebp - 0x4c]
push eax
call fcn.00401850
add esp, 0x14
mov dword [ebp - 0x48], 0xb
cmp dword [0x4a24f8], 0
jne 0x466555
push 0x226
push 0x4879ec
lea ecx, [ebp - 0x4c]
call fcn.004039c0
push eax
mov ecx, dword [0x4a22f0]
push ecx
call dword [sym.imp.USER32.dll_MessageBoxW]
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0xb
jne 0x46659c
lea ecx, [ebp - 0x1c]
call fcn.00408ab0
test eax, eax
jle 0x466597
lea edx, [ebp - 0x64]
push edx
lea ecx, [ebp - 0x1c]
call fcn.0042a1b2
push ecx
mov ecx, esp
mov dword [ebp - 0x9c], esp
lea eax, [ebp - 0x64]
push eax
call fcn.004036b0
call sym.QiyiInstaller.exe_Kill
add esp, 4
lea ecx, [ebp - 0x64]
call fcn.00401830
jmp 0x46655b
jmp 0x466687
cmp dword [ebp - 0x48], 2
jne 0x466687
call fcn.00405ca0
mov dword [ebp - 0x74], eax
lea ecx, [ebp - 0x6c]
call fcn.00406af0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [0x4a2494]
push edx
push 0x487a7c
lea eax, [ebp - 0x6c]
push eax
call fcn.00401850
add esp, 0x10
lea ecx, [ebp - 0x6c]
call fcn.004039c0
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 0
jne 0x4665ef
mov dword [ebp - 0xbc], 0
jmp 0x466650
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 0x466614
mov dword [ebp - 0xc0], 0
jmp 0x466644
mov eax, dword [ebp - 0x68]
shl eax, 1
call fcn.00446420
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.00405c50
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 int.0043c1ef
push 0x49479c
lea eax, [ebp - 0xa8]
push eax
call fcn.00442d96
lea ecx, [ebp - 0x6c]
call fcn.00401830
lea ecx, [ebp - 0x4c]
call fcn.00401830
lea ecx, [ebp - 0x50]
call fcn.00401830
lea ecx, [ebp - 0x34]
call fcn.0042a7d5
lea ecx, [ebp - 0x1c]
call fcn.0042a16f
lea ecx, [ebp - 0x38]
call fcn.00401830
lea ecx, [ebp - 0x20]
call fcn.00401830
lea ecx, [ebp + 8]
call fcn.00401830
jmp 0x4666c9
lea esp, [ebp - 0xc4]
mov ecx, dword [ebp - 0xb0]
xor ecx, ebp
call fcn.0043bced
mov esp, ebp
pop ebp
ret