Function at 0x4922b0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5104e8
mov eax, dword fs:[0]
push eax
sub esp, 0x240
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]
cmp dword [esi + 0x10], 0
je 0x4925c2
cmp dword [esi + 0x28], 0
je 0x4925c2
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 - 0x244], 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
mov ecx, dword [ebp - 0x244]
mov edx, 1
test eax, eax
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x23c], 0
cmove ecx, edx
mov dword [ebp - 0x238], edx
mov dword [ebp - 0x244], ecx
mov dword [ebp - 4], 0
mov edi, esi
cmp dword [esi + 0x14], 8
jb 0x49235d
mov edi, dword [esi]
lea eax, [ebp - 0x240]
push eax
push 0x525a98
push 1
push 0
push 0x525ac8
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x492511
mov ecx, dword [ebp - 0x240]
test ecx, ecx
je 0x49239b
mov eax, dword [ecx]
lea edx, [ebp - 0x23c]
push edx
push 0x525ad8
push ecx
call dword [eax]
push edi
lea eax, [ebp - 0x234]
mov dword [ebp - 0x238], 2
push 0x104
push eax
call fcn.004e7754
add esp, 0xc
cmp dword [esi + 0x28], 0
jbe 0x4923df
cmp dword [esi + 0x2c], 8
lea eax, [esi + 0x18]
jb 0x4923cb
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x24c]
call fcn.00498170
test eax, eax
js 0x492511
cmp dword [esi + 0x40], 0
jbe 0x492404
cmp dword [esi + 0x44], 8
lea eax, [esi + 0x30]
jb 0x4923f0
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x24c]
call fcn.00497e40
test eax, eax
js 0x492511
cmp dword [esi + 0x70], 0
jbe 0x4924d5
cmp dword [esi + 0x74], 8
lea edi, [esi + 0x60]
jb 0x492419
mov edi, dword [edi]
cmp dword [ebp - 0x238], 2
jne 0x492511
xor eax, eax
mov dword [ebp - 0x28], 0
push eax
push 0x53637c
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.0044a770
mov byte [ebp - 4], 1
test edi, edi
je 0x492479
mov ecx, edi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x492460
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x28]
call fcn.0044a770
mov eax, dword [ebp - 0x240]
lea edx, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
cmovae edx, dword [ebp - 0x28]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x24]
mov byte [ebp - 4], 0
mov edi, eax
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x4924d1
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4924c7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4925e1
push edx
push ecx
call fcn.004de0ea
add esp, 8
test edi, edi
js 0x492511
cmp dword [esi + 0x58], 0
jbe 0x492525
cmp dword [esi + 0x5c], 8
lea edi, [esi + 0x48]
mov eax, edi
jb 0x4924e8
mov eax, dword [edi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x492525
cmp dword [edi + 0x14], 8
jb 0x4924fb
mov edi, dword [edi]
push dword [esi + 0x90]
lea ecx, [ebp - 0x24c]
push edi
call fcn.00498060
test eax, eax
jns 0x492538
lea ecx, [ebp - 0x24c]
xor esi, esi
call fcn.00497da0
mov eax, esi
jmp 0x4925c4
push 0
push 0
lea ecx, [ebp - 0x24c]
call fcn.00498060
test eax, eax
js 0x492511
cmp dword [esi + 0x88], 0
jbe 0x49255c
add esi, 0x78
cmp dword [esi + 0x14], 8
jb 0x49254c
mov esi, dword [esi]
push esi
lea ecx, [ebp - 0x24c]
call fcn.00497f50
test eax, eax
js 0x492511
cmp dword [ebp - 0x238], 2
jne 0x49257a
mov eax, dword [ebp - 0x23c]
lea edx, [ebp - 0x234]
push 0
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [ebp - 0x23c]
test eax, eax
je 0x492594
mov dword [ebp - 0x23c], 0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x240]
test eax, eax
je 0x4925ae
mov dword [ebp - 0x240], 0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x24c]
mov esi, 1
call fcn.00497da0
mov eax, esi
jmp 0x4925c4
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 4
call fcn.004e32da
int3