Function at 0x490310
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5102e0
mov eax, dword fs:[0]
push eax
sub esp, 0x258
mov eax, dword [0x550144]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
test esi, esi
je 0x4906ad
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push esi
call edi
test eax, eax
je 0x4906ad
push str.CreateSoftMgrInstallDirShortCut
push 0x550bb8
call fcn.0048d900
mov ecx, esi
mov dword [ebp - 0x40], 0
add esp, 8
mov dword [ebp - 0x30], 0
xor eax, eax
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x490390
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x40]
call fcn.0044a770
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x30]
cmp ecx, 1
jb 0x4903f0
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
movzx ecx, word [eax + ecx*2 - 2]
xor eax, eax
nop word [eax + eax]
cmp cx, word [eax + 0x534df4]
je 0x4903f0
add eax, 2
cmp eax, 4
jb 0x4903d0
push 1
push 0x536960
lea ecx, [ebp - 0x40]
call fcn.0044aee0
push 0x53869c
lea ecx, [ebp - 0x40]
call fcn.0048f560
mov ecx, esi
mov dword [ebp - 0x28], 0
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x490420
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x28]
call fcn.0044a770
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x18]
cmp ecx, 1
jb 0x490477
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
movzx ecx, word [eax + ecx*2 - 2]
xor eax, eax
cmp cx, word [eax + 0x534df4]
je 0x490477
add eax, 2
cmp eax, 4
jb 0x490457
push 1
push 0x536960
lea ecx, [ebp - 0x28]
call fcn.0044aee0
push str.QQPCSoftMgr.exe
lea ecx, [ebp - 0x28]
call fcn.0048f560
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call edi
test eax, eax
jne 0x49049d
xor esi, esi
jmp 0x490629
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call edi
test eax, eax
je 0x4904b9
mov esi, 1
jmp 0x490629
push 6
push 0
mov dword [ebp - method.QMTShortCut.virtual_0], vtable.QMTShortCut.0
mov dword [ebp - method.CQMTInitializeCOMThread.virtual_0], vtable.CQMTInitializeCOMThread.0
mov dword [ebp - 0x25c], 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
mov ecx, dword [ebp - 0x25c]
mov edx, 1
test eax, eax
mov dword [ebp - 0x258], 0
mov dword [ebp - 0x254], 0
cmove ecx, edx
mov dword [ebp - 0x250], edx
mov dword [ebp - 0x25c], ecx
lea eax, [ebp - 0x258]
mov byte [ebp - 4], 2
cmp dword [ebp - 0x2c], 8
lea esi, [ebp - 0x40]
push eax
cmovae esi, dword [ebp - 0x40]
push 0x525a98
push edx
push 0
push 0x525ac8
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x49061c
mov ecx, dword [ebp - 0x258]
test ecx, ecx
je 0x49055d
mov eax, dword [ecx]
lea edx, [ebp - 0x254]
push edx
push 0x525ad8
push ecx
call dword [eax]
push esi
lea eax, [ebp - 0x24c]
mov dword [ebp - 0x250], 2
push 0x104
push eax
call fcn.004e7754
add esp, 0xc
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x264]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00498170
test eax, eax
js 0x49061c
push 0x5387a8
lea ecx, [ebp - 0x264]
call fcn.00497f50
test eax, eax
js 0x49061c
push str._parentstartmenu__pageuninst
lea ecx, [ebp - 0x264]
call fcn.00497e40
test eax, eax
js 0x49061c
cmp dword [ebp - 0x250], 2
jne 0x4905e1
mov eax, dword [ebp - 0x254]
lea edx, [ebp - 0x24c]
push 0
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [ebp - 0x254]
test eax, eax
je 0x4905fb
mov dword [ebp - 0x254], 0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x258]
test eax, eax
je 0x490615
mov dword [ebp - 0x258], 0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, 1
jmp 0x49061e
xor esi, esi
lea ecx, [ebp - 0x264]
call fcn.00497da0
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x49065f
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x490655
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4906ca
push edx
push ecx
call fcn.004de0ea
add esp, 8
mov edx, dword [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp edx, 8
jb 0x4906a9
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x49069f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4906ca
push edx
push ecx
call fcn.004de0ea
add esp, 8
mov eax, esi
jmp 0x4906af
xor eax, eax
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.004de0fd
mov esp, ebp
pop ebp
ret
call fcn.004e32da
int3