Function at 0x4d9440
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f0eda
mov eax, dword fs:[0]
push eax
sub esp, 0x884
mov eax, dword [0x6089a0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebx + 0xd4]
lea edx, [ebp - 0x86c]
xor esi, esi
push edx
mov edx, dword [ebp + 8]
mov dword [ebp - 0x86c], esi
mov eax, dword [ecx]
mov eax, dword [eax + 8]
push edx
call eax
test eax, eax
jne 0x4d94d6
lea ecx, [ebp - 0x858]
push ecx
push 0x5d38a0
push 0x5c38e0
push 4
push 0x5c1a88
push 0x84
push 0x5c1ad4
mov dword [ebp - 0x858], str._ERR__Invalid_index__n
call fcn.00401650
add esp, 0x1c
mov dword [ebx + 0x1154], 0x3eb
xor eax, eax
jmp 0x4d9c12
mov ecx, dword [ebp - 0x86c]
mov edx, dword [ecx]
mov edx, dword [edx + 0x2c]
lea eax, [ebp - 0x85c]
push eax
mov edi, ecx
call edx
mov dword [ebp - 4], esi
cmp dword [edi + 0x60], esi
jne 0x4d9545
lea eax, [ebp - 0x858]
push eax
push 0x5d38a0
push 0x5c38e0
push 4
push 0x5c1b58
push 0x8d
push 0x5c1ba4
mov dword [ebp - 0x858], str._ERR__Invalid_input_video_file__n
call fcn.00401650
add esp, 0x1c
lea ecx, [ebp - 0x85c]
mov dword [ebx + 0x1154], 0x3eb
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
xor eax, eax
jmp 0x4d9c12
mov ecx, dword [ebp - 0x85c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4d95a7
lea edx, [ebp - 0x858]
push edx
push 0x5d38a0
push 0x5c38e0
push 4
push 0x5c1c60
push 0x93
push 0x5c1c24
mov dword [ebp - 0x858], str._ERR__Input_file_doesnt_exists__n
call fcn.00401650
add esp, 0x1c
lea ecx, [ebp - 0x85c]
mov dword [ebx + 0x1154], 0x3ea
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
xor eax, eax
jmp 0x4d9c12
lea eax, [ebp - 0x434]
push eax
lea ecx, [ebp - 0x84c]
push ecx
lea edx, [ebp - 0x85c]
push edx
push ebx
call fcn.004d92a0
test eax, eax
lea ecx, [ebp - 0x85c]
jne 0x4d95e3
mov dword [ebx + 0x1154], 0x3eb
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
xor eax, eax
jmp 0x4d9c12
mov eax, dword [edi]
mov edx, dword [eax + 0x38]
push ecx
mov ecx, edi
call edx
mov eax, dword [ebx + 0x1168]
test eax, eax
lea esi, [ebx + 0x1168]
je 0x4d960a
mov ecx, dword [eax]
mov edx, dword [ecx + 0x20]
push eax
call edx
call fcn.004020e0
mov dword [ebp - 0x850], 0
lea ecx, [ebp - 0x860]
call dword [sym.imp.MFC80U.DLL_Ordinal_293]
lea esi, [ebp - 0x854]
mov byte [ebp - 4], 2
call fcn.004b23b0
push str.QPTinyMediaEngine.dll
push eax
lea eax, [ebp - 0x858]
push eax
mov byte [ebp - 4], 3
call fcn.00401030
add esp, 0xc
push eax
lea ecx, [ebp - 0x860]
mov byte [ebp - 4], 4
call dword [sym.imp.MFC80U.DLL_Ordinal_774]
lea ecx, [ebp - 0x858]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov ecx, esi
mov byte [ebp - 4], 2
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
push 0x5c5380
push 0x5c53c0
lea ecx, [ebp - 0x860]
call dword [sym.imp.MFC80U.DLL_Ordinal_2461]
lea ecx, [ebp - 0x850]
call fcn.004b3020
add esp, 8
test eax, eax
je 0x4d970c
lea ecx, [ebp - 0x854]
push ecx
push 0x5d38a0
push 0x5c38e0
push 4
push 0x5c1d80
push 0xb0
push 0x5c1dcc
mov dword [ebp - 0x854], str._ERR__Failed_to_CoCreateInstance_CLSID_QPTinyGraphTranscoding__IID_IEncSettings_._n
call fcn.00401650
add esp, 0x1c
mov dword [ebx + 0x1154], 0x3ec
lea ecx, [ebp - 0x860]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x850]
test eax, eax
je 0x4d96f9
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
lea ecx, [ebp - 0x85c]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
xor eax, eax
jmp 0x4d9c12
mov eax, dword [ebp - 0x850]
mov edx, dword [ebp - 0x418]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0xc]
call eax
mov eax, dword [ebp - 0x850]
mov edx, dword [ebp - 0x41c]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x10]
call eax
mov eax, dword [ebp - 0x850]
mov edx, dword [ebp - 0x428]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
fild dword [ebp - 0x420]
mov eax, dword [ebp - 0x850]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1c]
push ecx
fstp dword [esp]
push eax
call edx
mov eax, dword [ebp - 0x850]
mov edx, dword [ebp - 0x840]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x20]
call eax
mov eax, dword [ebp - 0x850]
mov edx, dword [ebp - 0x84c]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x24]
call eax
mov eax, dword [ebp - 0x850]
mov edx, dword [ebp - 0x848]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x28]
call eax
mov eax, dword [ebp - 0x850]
mov edx, dword [ebp - 0x844]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x2c]
call eax
mov eax, dword [ebx + 0x116c]
test eax, eax
je 0x4d9804
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4d9804
mov ecx, dword [ebx + 0x116c]
push 0
push 0xf0
push 0x140
push 0
push 0
push 0
call sub.MFC80U.DLL_Ordinal_6061
mov ecx, dword [ebx + 0x116c]
mov eax, dword [ebp - 0x850]
mov ecx, dword [ecx + 0x20]
mov edx, dword [eax]
mov edx, dword [edx + 0x34]
push ecx
push eax
call edx
mov eax, dword [ebp - 0x850]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x38]
push 1
push eax
call edx
cmp dword [ebx + 0x1170], 0
mov esi, dword [ebp - 0x434]
je 0x4d9860
cmp dword [ebp - 0x41c], 0
je 0x4d9860
mov eax, dword [edi]
mov eax, dword [eax + 0x1c]
lea ecx, [ebp - 0x854]
push ecx
lea edx, [ebp - 0x858]
push edx
mov ecx, edi
call eax
test eax, eax
jne 0x4d9860
mov eax, dword [ebp - 0x854]
imul eax, esi
xor edx, edx
div dword [ebp - 0x858]
shr eax, 4
shl eax, 4
jmp 0x4d9866
mov eax, dword [ebp - 0x430]
mov ecx, dword [ebp - 0x850]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x18]
push esi
push ecx
call eax
lea ecx, [ebp - 0x85c]
call dword [sym.imp.MFC80U.DLL_Ordinal_1220]
mov esi, eax
mov eax, dword [ebp - 0x850]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x30]
push esi
push eax
call edx
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 0x850]
mov ecx, dword [eax]
mov edx, dword [ecx]
lea esi, [ebx + 0x1168]
push esi
push 0x5c5370
push eax
call edx
test eax, eax
je 0x4d992a
lea eax, [ebp - 0x854]
push eax
push 0x5d38a0
push 0x5c38e0
push 4
push 0x5c1e78
push 0xee
push 0x5c1ec4
mov dword [ebp - 0x854], str._ERR__Failed_to_QueryInterface_IID_ITinyMediaControl_._n
call fcn.00401650
add esp, 0x1c
lea ecx, [ebp - 0x860]
mov dword [ebx + 0x1154], 0x3ec
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x850]
test eax, eax
je 0x4d9917
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea ecx, [ebp - 0x85c]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
xor eax, eax
jmp 0x4d9c12
mov eax, dword [esi]
mov edx, dword [ebx + 0x20]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x34]
call eax
mov edx, dword [edi]
mov eax, dword [edx + 0x48]
mov ecx, edi
call eax
mov edx, dword [edi]
mov edx, dword [edx + 0x54]
mov dword [ebp - 0x854], eax
lea eax, [ebp - 0x864]
push eax
mov ecx, edi
call edx
mov byte [ebp - 4], 5
mov eax, dword [esi]
mov edx, dword [ebp - 0x854]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x3c]
call eax
mov ecx, dword [ebp - 0x864]
cmp dword [ecx - 0xc], 0
je 0x4d99a2
lea ecx, [ebp - 0x864]
call dword [sym.imp.MFC80U.DLL_Ordinal_1220]
mov ecx, dword [esi]
mov edx, dword [ecx]
push eax
mov dword [ebp - 0x854], eax
mov eax, dword [edx + 0x40]
push ecx
call eax
mov ecx, dword [ebp - 0x854]
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 0xc]
call eax
test eax, eax
jge 0x4d99ff
lea ecx, [ebp - 0x854]
push ecx
push 0x5d38a0
push 0x5c38e0
push 4
push 0x5c1f38
push 0x101
push 0x5c1f84
mov dword [ebp - 0x854], str._ERR__Failed_to_Init__._n
call fcn.00401650
add esp, 0x1c
lea ecx, [ebp - 0x864]
mov dword [ebx + 0x1154], 0x3ed
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
jmp 0x4d96d7
mov edx, dword [edi]
mov edx, dword [edx + 0x2c]
lea eax, [ebp - 0x854]
push eax
mov ecx, edi
call edx
mov ecx, eax
mov byte [ebp - 4], 6
call dword [sym.imp.MFC80U.DLL_Ordinal_1220]
lea ecx, [ebp - 0x854]
mov dword [ebp - 0x858], eax
mov byte [ebp - 4], 5
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov eax, dword [esi]
mov edx, dword [ebp - 0x858]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x10]
call eax
mov ecx, dword [ebp - 0x858]
push ecx
mov dword [ebp - 0x868], eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp dword [ebp - 0x868], 0
jge 0x4d9ae5
lea edx, [ebp - 0x868]
push edx
push 0x5d38a0
push 0x5c38e0
push 4
push str.CQMCTranscodingPage::StartTrancoding
push 0x10c
push 0x5c204c
mov dword [ebp - 0x868], str._ERR__Failed_to_RenderFile__._n
call fcn.00401650
add esp, 0x1c
lea ecx, [ebp - 0x864]
mov dword [ebx + 0x1154], 0x3ee
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [ebp - 0x860]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x850]
test eax, eax
je 0x4d96f9
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea ecx, [ebp - 0x85c]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
xor eax, eax
jmp 0x4d9c12
mov esi, dword [esi]
mov eax, dword [esi]
mov ecx, dword [eax + 0x14]
push esi
call ecx
mov dword [ebx + 0x1158], 1
mov edx, dword [edi]
mov eax, dword [edx + 0x40]
push 1
mov ecx, edi
call eax
mov edx, dword [edi]
mov eax, dword [edx + 0x44]
mov ecx, edi
call eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, eax
call fcn.004db880
mov ecx, dword [ebx + 0x116c]
test ecx, ecx
je 0x4d9b35
push ebx
call sub.MFC80U.DLL_Ordinal_1386
mov ecx, dword [ebx + 0x116c]
push 5
call sub.MFC80U.DLL_Ordinal_6086
mov dl, byte [ebx + 0x115c]
mov ecx, dword [0x626524]
xor eax, eax
mov dword [ebp - 0x888], eax
mov dword [ebp - 0x884], eax
mov dword [ebp - 0x880], eax
mov dword [ebp - 0x87c], eax
mov dword [ebp - 0x878], eax
mov dword [ebp - 0x874], eax
mov dword [ebp - 0x870], eax
mov dword [ebp - 0x88c], 0x1f5
mov byte [ebp - 0x887], al
mov byte [ebp - 0x886], dl
call fcn.0049db30
mov ecx, dword [0x626528]
mov byte [ebp - 0x885], al
call fcn.0049db30
push ecx
mov esi, esp
mov byte [ebp - 0x884], al
mov dword [ebp - 0x868], esp
call fcn.004b3550
lea edx, [ebp - 0x88c]
call fcn.004b6420
add esp, 4
call fcn.004b72b0
mov eax, dword [ebx + 0x20]
push 0
push 0x1f4
push 0
push eax
call dword [sym.imp.USER32.dll_SetTimer]
lea ecx, [ebp - 0x864]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [ebp - 0x860]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x850]
test eax, eax
je 0x4d9c01
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea ecx, [ebp - 0x85c]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00432b8e
mov esp, ebp
pop ebp
ret 4