Function at 0x4caa50
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4f082e
mov eax, dword fs:[0]
push eax
sub esp, 0x130
push ebx
push esi
push edi
mov eax, dword [0x6089a0]
xor eax, esp
push eax
lea eax, [esp + 0x140]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x18], ebx
mov esi, dword [ebp + 8]
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push esi
jne 0x4caae3
call dword [sym.imp.MFC80U.DLL_Ordinal_280]
push 0x5b39d0
push 4
push 0x5b3a00
push 0x5a
push 0x5b3a40
mov edx, 0x5b3be4
call fcn.004019d0
add esp, 0x18
mov eax, 0x80070057
mov ecx, dword [esp + 0x140]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
call dword [sym.imp.MFC80U.DLL_Ordinal_280]
call fcn.004b1760
xor edi, edi
add esp, 4
cmp eax, edi
je 0x4cab1a
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push esi
call dword [sym.imp.MFC80U.DLL_Ordinal_280]
push 0x5b3a7c
push 4
push str.CQMCVideoMergePage::AddFileTail
push 0x60
push str..QMCVideoMergePageCommon.cpp
jmp 0x4caab9
mov ecx, dword [ebx + 8]
lea edx, [esp + 0x1c]
mov dword [esp + 0x1c], edi
mov eax, dword [ecx]
mov eax, dword [eax]
push edx
push esi
call eax
cmp eax, edi
jne 0x4cae79
mov ecx, dword [0x6265b4]
mov edx, dword [ecx + 0xc8]
push edi
push edi
push 0x1004
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x5b3b2c
lea ecx, [esp + 0x2c]
mov ebx, eax
call dword [sym.imp.MFC80U.DLL_Ordinal_283]
mov dword [esp + 0x148], edi
mov eax, dword [esp + 0x28]
push eax
mov eax, dword [0x6265b4]
mov ecx, ebx
call fcn.004bbfd0
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx]
mov edx, dword [edx + 0x30]
lea eax, [esp + 0x14]
push eax
call edx
mov byte [esp + 0x148], 1
mov eax, dword [eax]
mov ecx, dword [0x6265b4]
push edi
push eax
push ebx
add ecx, 0xa8
mov eax, 1
call fcn.004b8cc0
lea ecx, [esp + 0x14]
mov byte [esp + 0x148], 0
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push esi
call dword [sym.imp.MFC80U.DLL_Ordinal_280]
call fcn.004b1f00
add esp, 4
push edx
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.004b1d20
add esp, 0xc
mov byte [esp + 0x148], 2
mov eax, dword [eax]
mov ecx, dword [0x6265b4]
push edi
push eax
push ebx
add ecx, 0xa8
mov eax, 2
call fcn.004b8cc0
lea ecx, [esp + 0x14]
mov byte [esp + 0x148], 0
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov edi, dword [esp + 0x1c]
lea esi, [esp + 0x14]
call fcn.004b3340
mov byte [esp + 0x148], 3
mov eax, dword [eax]
mov ecx, dword [0x6265b4]
push 0
push eax
push ebx
add ecx, 0xa8
mov eax, 4
call fcn.004b8cc0
mov ecx, esi
mov byte [esp + 0x148], 0
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
push 0
push 0xffffffffffffffff
mov edx, dword [0x6265b4]
push 0
add edx, 0xa8
xor eax, eax
mov ecx, ebx
call fcn.004b8da0
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x20]
call eax
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.004b2f30
add esp, 8
mov byte [esp + 0x148], 4
mov eax, dword [eax]
mov ecx, dword [0x6265b4]
push 0
push eax
push ebx
add ecx, 0xa8
mov eax, 3
call fcn.004b8cc0
lea ecx, [esp + 0x14]
mov byte [esp + 0x148], 0
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x48]
xor esi, esi
call eax
test eax, eax
je 0x4cacd8
mov esi, 1
mov ecx, dword [0x6265b4]
mov edx, dword [ecx]
mov eax, dword [edx + 0x198]
push esi
push ebx
call eax
push 0
lea ecx, [esp + 0x24]
push 0x5b3b30
push ecx
call fcn.004e2bb0
add esp, 0xc
mov byte [esp + 0x148], 5
mov edx, dword [esp + 0x18]
mov ecx, dword [edx + 8]
mov eax, dword [ecx]
mov edx, dword [eax + 0x20]
call edx
push eax
push 0x5b3b68
lea eax, [esp + 0x3c]
push 0x80
push eax
mov dword [esp + 0x144], 0x5b3b70
call dword [sym.imp.MSVCR80.dll__snwprintf]
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x44]
mov edx, ecx
push edx
mov dword [esp + 0x14c], ecx
push eax
lea ecx, [esp + 0x44]
push ecx
call dword [sym.imp.i18nu.dll_class_I18N::TUString_wchar_t____cdecl_I18N::FormatString_wchar_t_const__const]
add esp, 0x1c
mov byte [esp + 0x148], 6
mov eax, dword [esp + 0x30]
test eax, eax
je 0x4cad6b
mov eax, dword [eax + 4]
jmp 0x4cad70
mov eax, 0x5b5678
push eax
lea ecx, [esp + 0x24]
call dword [sym.imp.MFC80U.DLL_Ordinal_776]
mov esi, dword [0x6265e0]
lea ebx, [esp + 0x20]
call fcn.0049b950
mov edx, dword [esp + 0x18]
mov ecx, dword [edx + 8]
mov eax, dword [ecx]
mov edx, dword [eax + 0x20]
call edx
cmp eax, 1
jne 0x4cae52
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
lea edx, [esp + 0x18]
push edx
call eax
mov bl, 7
push 0x2e
lea ecx, [esp + 0x1c]
mov byte [esp + 0x14c], bl
call dword [sym.imp.MFC80U.DLL_Ordinal_5524]
push eax
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x20]
call dword [sym.imp.MFC80U.DLL_Ordinal_3990]
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x14c], 8
call dword [sym.imp.MFC80U.DLL_Ordinal_774]
lea ecx, [esp + 0x14]
mov byte [esp + 0x148], bl
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
push 0
lea edx, [esp + 0x18]
push str.IDS_VideoMerge_PostfixFileName
push edx
call fcn.004e2bb0
add esp, 0xc
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x14c], 9
call dword [sym.imp.MFC80U.DLL_Ordinal_896]
lea ecx, [esp + 0x14]
mov byte [esp + 0x148], bl
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov eax, dword [esp + 0x18]
mov ecx, dword [0x6265b8]
push eax
add ecx, 0xa8
call sub.MFC80U.DLL_Ordinal_6063
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [esp + 0x2c]
mov byte [esp + 0x148], 5
call fcn.00402a10
lea ecx, [esp + 0x20]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [esp + 0x28]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
xor eax, eax
mov ecx, dword [esp + 0x140]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4