Function at 0x491b00
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50d1e0
mov eax, dword fs:[0]
push eax
sub esp, 0x684
mov eax, dword [0x54b144]
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.004dcc10
add esp, 0xc
test edi, edi
je 0x491dc4
test ebx, ebx
je 0x491dc4
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 0x491db3
mov eax, dword [ebp - 0x430]
test eax, eax
je 0x491be2
mov dword [ebp - 0x430], 0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x434]
test eax, eax
je 0x491bfc
mov dword [ebp - 0x434], 0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea eax, [ebp - 0x434]
push eax
push 0x521b00
push 1
push 0
push 0x521b30
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x491db3
mov ecx, dword [ebp - 0x434]
test ecx, ecx
je 0x491c3a
mov eax, dword [ecx]
lea edx, [ebp - 0x430]
push edx
push 0x521b40
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.004e44a6
add esp, 0xc
test esi, esi
js 0x491db3
push 0x250
lea eax, [ebp - 0x690]
push 0
push eax
call fcn.004dcc10
mov ecx, edi
add esp, 0xc
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x491c90
sub ecx, edx
sar ecx, 1
push ecx
push edi
mov ecx, ebx
call fcn.0044a750
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 0x491db3
lea ecx, [ebp - 0x21c]
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x491ce0
sub ecx, edx
lea eax, [ebp - 0x21c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebx + 0x18]
call fcn.0044a750
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 0x491db3
lea ecx, [ebp - 0x21c]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x491d30
sub ecx, edx
lea eax, [ebp - 0x21c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebx + 0x30]
call fcn.0044a750
lea edx, [ebx + 0x90]
test edx, edx
je 0x491db3
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 0x491db3
lea ecx, [ebp - 0x21c]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x491d80
sub ecx, edx
lea eax, [ebp - 0x21c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebx + 0x48]
call fcn.0044a750
lea ecx, [ebp - 0x440]
mov esi, 1
call fcn.004978e0
mov eax, esi
jmp 0x491dc6
lea ecx, [ebp - 0x440]
xor esi, esi
call fcn.004978e0
mov eax, esi
jmp 0x491dc6
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.004dafe6
mov esp, ebp
pop ebp
ret 8