Function at 0x491fc0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5104a0
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.004dfec0
add esp, 0xc
test edi, edi
je 0x492284
test ebx, ebx
je 0x492284
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 0x492273
mov eax, dword [ebp - 0x430]
test eax, eax
je 0x4920a2
mov dword [ebp - 0x430], 0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x434]
test eax, eax
je 0x4920bc
mov dword [ebp - 0x434], 0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea eax, [ebp - 0x434]
push eax
push 0x525a98
push 1
push 0
push 0x525ac8
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x492273
mov ecx, dword [ebp - 0x434]
test ecx, ecx
je 0x4920fa
mov eax, dword [ecx]
lea edx, [ebp - 0x430]
push edx
push 0x525ad8
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.004e7754
add esp, 0xc
test esi, esi
js 0x492273
push 0x250
lea eax, [ebp - 0x690]
push 0
push eax
call fcn.004dfec0
mov ecx, edi
add esp, 0xc
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x492150
sub ecx, edx
sar ecx, 1
push ecx
push edi
mov ecx, ebx
call fcn.0044a770
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 0x492273
lea ecx, [ebp - 0x21c]
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4921a0
sub ecx, edx
lea eax, [ebp - 0x21c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebx + 0x18]
call fcn.0044a770
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 0x492273
lea ecx, [ebp - 0x21c]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4921f0
sub ecx, edx
lea eax, [ebp - 0x21c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebx + 0x30]
call fcn.0044a770
lea edx, [ebx + 0x90]
test edx, edx
je 0x492273
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 0x492273
lea ecx, [ebp - 0x21c]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x492240
sub ecx, edx
lea eax, [ebp - 0x21c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebx + 0x48]
call fcn.0044a770
lea ecx, [ebp - 0x440]
mov esi, 1
call fcn.00497da0
mov eax, esi
jmp 0x492286
lea ecx, [ebp - 0x440]
xor esi, esi
call fcn.00497da0
mov eax, esi
jmp 0x492286
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.004de0fd
mov esp, ebp
pop ebp
ret 8