Function at 0x490290
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x510640
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 0x49062d
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push esi
call edi
test eax, eax
je 0x49062d
push str.CreateSoftMgrInstallDirShortCut
push 0x550bb8
call fcn.0048d880
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 0x490310
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x40]
call fcn.0044a760
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x30]
cmp ecx, 1
jb 0x490370
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 + 0x534f54]
je 0x490370
add eax, 2
cmp eax, 4
jb 0x490350
push 1
push 0x536ac0
lea ecx, [ebp - 0x40]
call fcn.0044aee0
push 0x53881c
lea ecx, [ebp - 0x40]
call fcn.0048f4e0
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 0x4903a0
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x28]
call fcn.0044a760
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x18]
cmp ecx, 1
jb 0x4903f7
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 + 0x534f54]
je 0x4903f7
add eax, 2
cmp eax, 4
jb 0x4903d7
push 1
push 0x536ac0
lea ecx, [ebp - 0x28]
call fcn.0044aee0
push str.QQPCSoftMgr.exe
lea ecx, [ebp - 0x28]
call fcn.0048f4e0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call edi
test eax, eax
jne 0x49041d
xor esi, esi
jmp 0x4905a9
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call edi
test eax, eax
je 0x490439
mov esi, 1
jmp 0x4905a9
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 0x525bf8
push edx
push 0
push 0x525c28
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x49059c
mov ecx, dword [ebp - 0x258]
test ecx, ecx
je 0x4904dd
mov eax, dword [ecx]
lea edx, [ebp - 0x254]
push edx
push 0x525c38
push ecx
call dword [eax]
push esi
lea eax, [ebp - 0x24c]
mov dword [ebp - 0x250], 2
push 0x104
push eax
call fcn.004e7ac4
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.004980c0
test eax, eax
js 0x49059c
push 0x538918
lea ecx, [ebp - 0x264]
call fcn.00497ea0
test eax, eax
js 0x49059c
push str._parentstartmenu__pageuninst
lea ecx, [ebp - 0x264]
call fcn.00497d90
test eax, eax
js 0x49059c
cmp dword [ebp - 0x250], 2
jne 0x490561
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 0x49057b
mov dword [ebp - 0x254], 0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x258]
test eax, eax
je 0x490595
mov dword [ebp - 0x258], 0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, 1
jmp 0x49059e
xor esi, esi
lea ecx, [ebp - 0x264]
call fcn.00497cf0
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x4905df
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4905d5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x49064a
push edx
push ecx
call fcn.004de45a
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 0x490629
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x49061f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x49064a
push edx
push ecx
call fcn.004de45a
add esp, 8
mov eax, esi
jmp 0x49062f
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.004de46d
mov esp, ebp
pop ebp
ret
call fcn.004e364a
int3