Function at 0x4cfce0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4edddf
mov eax, dword fs:[0]
push eax
sub esp, 0x870
mov eax, dword [0x6089a0]
xor eax, esp
mov dword [esp + 0x868], eax
push ebx
push esi
push edi
mov eax, dword [0x6089a0]
xor eax, esp
push eax
lea eax, [esp + 0x880]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor esi, esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], eax
mov dword [esp + 0x18], ecx
mov ecx, dword [eax + 0xd4]
mov ebx, edx
lea eax, [esp + 0x2c]
push eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x30], esi
mov edx, dword [ecx]
mov edx, dword [edx + 8]
push eax
mov dword [esp + 0x40], ebx
call edx
test eax, eax
jne 0x4cfd99
lea eax, [esp + 0x18]
push eax
push 0x5d38a0
push 0x5ba7b4
push 4
push str.CQMCCompressionPage::MakeStrCompressionRatio
push 0x11e
push 0x5ba5ac
mov dword [esp + 0x34], 0x5ba4f0
call fcn.00401650
add esp, 0x1c
push 0x5ba5e8
mov ecx, ebx
call dword [sym.imp.MFC80U.DLL_Ordinal_283]
mov eax, ebx
jmp 0x4d00c5
mov ebx, dword [esp + 0x2c]
lea ecx, [esp + 0x30]
xor edi, edi
call dword [sym.imp.MFC80U.DLL_Ordinal_293]
lea ecx, [esp + 0x14]
mov dword [esp + 0x888], edi
call dword [sym.imp.MFC80U.DLL_Ordinal_293]
mov byte [esp + 0x888], 1
mov edx, dword [ebx]
mov eax, dword [edx + 0x34]
mov ecx, ebx
call eax
push edx
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.004b1d20
add esp, 0xc
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x88c], 2
call dword [sym.imp.MFC80U.DLL_Ordinal_774]
lea ecx, [esp + 0x10]
mov byte [esp + 0x888], 1
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov edx, dword [ebx]
mov eax, dword [edx + 0x44]
mov ecx, ebx
call eax
cmp eax, 4
je 0x4cff8f
mov edx, dword [ebx]
mov eax, dword [edx + 0x44]
mov ecx, ebx
call eax
cmp eax, 3
je 0x4cff8f
mov edx, dword [ebx]
mov eax, dword [edx + 0x44]
mov ecx, ebx
call eax
cmp eax, 5
je 0x4cff8f
mov esi, dword [esp + 0x28]
cmp dword [esi + 0x100], edi
je 0x4cfe52
lea ecx, [ebx + 0x4a4]
lea eax, [esp + 0x3c]
call fcn.00401830
jmp 0x4cfe7c
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x460]
push edx
lea eax, [esi + 0x110]
push eax
push ecx
call fcn.004b0f60
mov edi, dword [esi + 0x108]
add esp, 4
mov esi, eax
call fcn.004af910
mov edx, dword [ebx]
mov eax, dword [edx + 0x20]
mov ecx, ebx
call eax
push 0
lea ecx, [esp + 0x20]
push 0x5ba610
push ecx
mov esi, eax
mov edi, edx
call fcn.004e2bb0
add esp, 0xc
test esi, esi
mov byte [esp + 0x888], 6
jne 0x4cfeb1
test edi, edi
je 0x4cff52
cmp dword [esp + 0x48], 0xffffffff
je 0x4cff52
push 0
push 0x3e8
push edi
push esi
call fcn.00432f90
mov ecx, eax
mov eax, dword [esp + 0x48]
mov esi, edx
push esi
cdq
push ecx
push edx
push eax
call fcn.004330f0
push 0
push 4
push edx
push eax
call fcn.004330f0
push 0
push 3
push edx
push eax
call fcn.00432f90
push 0
push 8
push edx
push eax
call fcn.00432f90
push 0
push 0x3e8
push edx
push eax
call fcn.00432f90
push 0
push 0x400
push edx
push eax
call fcn.004330f0
mov edi, edx
mov esi, eax
push edi
lea edx, [esp + 0x14]
push esi
push edx
call fcn.004b1d20
add esp, 0xc
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x88c], 8
call dword [sym.imp.MFC80U.DLL_Ordinal_774]
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [esp + 0x1c]
jmp 0x4d0020
xor edi, edi
push edi
lea eax, [esp + 0x2c]
push 0x5ba64c
push eax
xor esi, esi
call fcn.004e2bb0
add esp, 0xc
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x88c], 7
call dword [sym.imp.MFC80U.DLL_Ordinal_774]
lea ecx, [esp + 0x28]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [esp + 0x1c]
jmp 0x4d0020
mov edx, dword [ebx]
mov edx, dword [edx + 0x3c]
lea eax, [esp + 0x10]
push eax
mov ecx, ebx
call edx
mov byte [esp + 0x888], 3
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4cffeb
push ecx
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call dword [sym.imp.MFC80U.DLL_Ordinal_280]
call fcn.004b1f00
add esp, 4
mov edi, edx
mov esi, eax
push edi
lea eax, [esp + 0x20]
push esi
push eax
call fcn.004b1d20
add esp, 0xc
mov byte [esp + 0x888], 4
jmp 0x4d0007
push 0
lea ecx, [esp + 0x20]
push str.IDS_MISC_Unknown
push ecx
call fcn.004e2bb0
add esp, 0xc
mov byte [esp + 0x888], 5
push eax
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC80U.DLL_Ordinal_774]
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [esp + 0x34]
call dword [sym.imp.MFC80U.DLL_Ordinal_293]
mov byte [esp + 0x888], 9
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x14]
push edx
push eax
lea ecx, [esp + 0x3c]
push str._s__s
push ecx
call dword [sym.imp.MFC80U.DLL_Ordinal_2311]
add esp, 0x10
cmp dword [esp + 0x18], 0
je 0x4d0094
mov edx, dword [ebx]
mov edx, dword [edx + 0x2c]
push ecx
mov eax, esp
mov dword [esp + 0x20], esp
push eax
mov ecx, ebx
call edx
call fcn.004b1f00
add esp, 4
sub eax, esi
sbb edx, edi
mov dword [esp + 0x20], edx
js 0x4d008c
jg 0x4d0085
test eax, eax
jbe 0x4d008c
mov eax, 1
jmp 0x4d008e
xor eax, eax
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov esi, dword [esp + 0x38]
lea edx, [esp + 0x34]
push edx
mov ecx, esi
call dword [sym.imp.MFC80U.DLL_Ordinal_280]
lea ecx, [esp + 0x34]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [esp + 0x30]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov eax, esi
mov ecx, dword [esp + 0x880]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x868]
xor ecx, esp
call fcn.00432b8e
mov esp, ebp
pop ebp
ret 8