Function at 0x4d1220
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f0ac1
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x6089a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
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 [ebp - 0x18], esp
push esi
jne 0x4d12a0
call dword [sym.imp.MFC80U.DLL_Ordinal_280]
push 0x5bac58
push 4
push 0x5bac88
push 0x5a
push 0x5baccc
mov edx, 0x5bae2c
call fcn.004019d0
add esp, 0x18
mov eax, 0x80070057
mov ecx, dword [ebp - 0xc]
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 ebx, ebx
add esp, 4
cmp eax, ebx
je 0x4d12d6
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
push esi
call dword [sym.imp.MFC80U.DLL_Ordinal_280]
push 0x5bad0c
push 4
push str.CQMCCompressionPage::AddFileTail
push 0x60
push str..QMCCompressionPageCommon.cpp
jmp 0x4d127a
mov ecx, dword [edi + 8]
lea edx, [ebp + 8]
mov dword [ebp + 8], ebx
mov eax, dword [ecx]
mov eax, dword [eax]
push edx
push esi
call eax
cmp eax, ebx
jne 0x4d142c
mov ecx, dword [0x62658c]
mov edx, dword [ecx + 0xc8]
push ebx
push ebx
push 0x1004
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x5badc4
lea ecx, [ebp - 0x14]
mov esi, eax
call dword [sym.imp.MFC80U.DLL_Ordinal_283]
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [0x62658c]
mov ecx, esi
call fcn.004bbfd0
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov edx, dword [edx + 0x30]
lea eax, [ebp - 0x10]
push eax
call edx
mov byte [ebp - 4], 1
mov eax, dword [eax]
mov ecx, dword [0x62658c]
push ebx
push eax
push esi
add ecx, 0xa8
mov eax, 1
call fcn.004b8cc0
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], bl
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
mov edx, dword [eax + 0x44]
call edx
cmp eax, 6
je 0x4d13bb
push esi
add edi, 0xffffff34
push edi
lea ecx, [ebp - 0x18]
lea edx, [ebp - 0x10]
call fcn.004cfce0
xor eax, eax
mov byte [ebp - 4], 2
cmp dword [ebp - 0x18], ebx
mov ecx, dword [0x62658c]
sete al
add ecx, 0xa8
push eax
mov eax, dword [ebp - 0x10]
push eax
push esi
mov eax, 2
call fcn.004b8cc0
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], bl
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov eax, dword [edx + 0x44]
call eax
mov edi, eax
mov ebx, esi
call fcn.004d2970
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov eax, dword [edx + 0x48]
xor edi, edi
call eax
test eax, eax
je 0x4d13e3
mov edi, 1
mov ecx, dword [0x62658c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x198]
push edi
push esi
call eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov eax, dword [edx + 0x44]
call eax
cmp eax, 6
jne 0x4d1421
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
push 0
push str.IDS_Tips_NotNeedCompression
push ecx
call fcn.004e2bb0
add esp, 0xc
mov edi, esi
call fcn.004d27c0
lea ecx, [ebp - 0x14]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4