Function at 0x407480
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bf20e
mov eax, dword fs:[0]
push eax
sub esp, 0x278
mov eax, dword [0x4e2210]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ebp + 8], 0
je 0x4074c1
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4074c8
xor eax, eax
jmp 0x407717
push str.CreateSoftMgrInstallDirShortCut
mov esi, 0x4e77f8
call fcn.004897f0
add esp, 4
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x270]
call fcn.004089f0
mov dword [ebp - 4], 0
lea esi, [ebp - 0x270]
call fcn.0048a5f0
push 0x4cd5a8
lea edi, [ebp - 0x270]
call fcn.0048a8a0
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 0x2c]
call fcn.004089f0
mov byte [ebp - 4], 1
lea esi, [ebp - 0x2c]
call fcn.0048a5f0
push str.QQPCSoftMgr.exe
lea edi, [ebp - 0x2c]
call fcn.0048a8a0
lea eax, [ebp - 0x2c]
call fcn.0047db40
mov ecx, eax
call fcn.00401cb0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40757d
mov dword [ebp - 0x274], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.0042a190
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x270]
call fcn.0042a190
mov eax, dword [ebp - 0x274]
jmp 0x407717
lea eax, [ebp - 0x270]
call fcn.0047db40
mov ecx, eax
call fcn.00401cb0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4075cd
mov dword [ebp - 0x278], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.0042a190
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x270]
call fcn.0042a190
mov eax, dword [ebp - 0x278]
jmp 0x407717
lea esi, [ebp - 0x254]
call fcn.00488150
mov byte [ebp - 4], 2
lea eax, [ebp - 0x270]
call fcn.0047db40
mov ecx, eax
call fcn.00401cb0
push eax
mov esi, 2
lea eax, [ebp - 0x254]
call fcn.00488210
test eax, eax
jge 0x407645
mov dword [ebp - 0x27c], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x254]
call fcn.004881b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.0042a190
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x270]
call fcn.0042a190
mov eax, dword [ebp - 0x27c]
jmp 0x407717
lea eax, [ebp - 0x2c]
call fcn.0047db40
mov ecx, eax
call fcn.00401cb0
mov edx, eax
lea ecx, [ebp - 0x254]
call fcn.00488520
test eax, eax
jl 0x40768d
mov edx, 0x4cd5e8
lea ecx, [ebp - 0x254]
call fcn.004883c0
test eax, eax
jl 0x40768d
mov edx, str._parentstartmenu__pageuninst
lea ecx, [ebp - 0x254]
call fcn.00488310
test eax, eax
jge 0x4076cc
mov dword [ebp - 0x280], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x254]
call fcn.004881b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.0042a190
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x270]
call fcn.0042a190
mov eax, dword [ebp - 0x280]
jmp 0x407717
lea esi, [ebp - 0x254]
call fcn.00488680
xor ecx, ecx
test eax, eax
setge cl
mov dword [ebp - 0x284], ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x254]
call fcn.004881b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.0042a190
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x270]
call fcn.0042a190
mov eax, dword [ebp - 0x284]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049d270
mov esp, ebp
pop ebp
ret