Function at 0x491f10
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5108c0
mov eax, dword fs:[0]
push eax
sub esp, 0x684
mov eax, dword [0x550144]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x21c]
mov ebx, dword [ebp + 0xc]
push 0x20a
push 0
push eax
call fcn.004e02e0
add esp, 0xc
test edi, edi
je 0x4921d4
test ebx, ebx
je 0x4921d4
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 - 0x438], 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
mov ecx, dword [ebp - 0x438]
mov edx, 1
test eax, eax
mov dword [ebp - 0x434], 0
mov dword [ebp - 0x430], 0
cmove ecx, edx
mov dword [ebp - 0x42c], edx
mov dword [ebp - 0x438], ecx
push edi
mov dword [ebp - 4], 0
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4921c3
mov eax, dword [ebp - 0x430]
test eax, eax
je 0x491ff2
mov dword [ebp - 0x430], 0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x434]
test eax, eax
je 0x49200c
mov dword [ebp - 0x434], 0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea eax, [ebp - 0x434]
push eax
push 0x525c88
push 1
push 0
push 0x525cb8
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x4921c3
mov ecx, dword [ebp - 0x434]
test ecx, ecx
je 0x49204a
mov eax, dword [ecx]
lea edx, [ebp - 0x430]
push edx
push 0x525cc8
push ecx
call dword [eax]
mov eax, dword [ebp - 0x430]
push 0
mov dword [ebp - 0x42c], 1
push edi
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
push edi
mov esi, eax
lea eax, [ebp - 0x428]
push 0x104
push eax
call fcn.004e7b74
add esp, 0xc
test esi, esi
js 0x4921c3
push 0x250
lea eax, [ebp - 0x690]
push 0
push eax
call fcn.004e02e0
mov ecx, edi
add esp, 0xc
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4920a0
sub ecx, edx
sar ecx, 1
push ecx
push edi
mov ecx, ebx
call fcn.0044a760
mov eax, dword [ebp - 0x434]
lea edx, [ebp - 0x690]
push 2
push edx
push 0x104
mov ecx, dword [eax]
lea edx, [ebp - 0x21c]
push edx
push eax
call dword [ecx + 0xc]
test eax, eax
js 0x4921c3
lea ecx, [ebp - 0x21c]
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4920f0
sub ecx, edx
lea eax, [ebp - 0x21c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebx + 0x18]
call fcn.0044a760
mov eax, dword [ebp - 0x434]
lea edx, [ebp - 0x21c]
push 0x104
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x28]
test eax, eax
js 0x4921c3
lea ecx, [ebp - 0x21c]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x492140
sub ecx, edx
lea eax, [ebp - 0x21c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebx + 0x30]
call fcn.0044a760
lea edx, [ebx + 0x90]
test edx, edx
je 0x4921c3
mov eax, dword [ebp - 0x434]
push edx
push 0x104
lea edx, [ebp - 0x21c]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x40]
test eax, eax
js 0x4921c3
lea ecx, [ebp - 0x21c]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x492190
sub ecx, edx
lea eax, [ebp - 0x21c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebx + 0x48]
call fcn.0044a760
lea ecx, [ebp - 0x440]
mov esi, 1
call fcn.00497cf0
mov eax, esi
jmp 0x4921d6
lea ecx, [ebp - 0x440]
xor esi, esi
call fcn.00497cf0
mov eax, esi
jmp 0x4921d6
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004de51d
mov esp, ebp
pop ebp
ret 8