Function at 0x4d0960
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f0a7e
mov eax, dword fs:[0]
push eax
sub esp, 0x888
mov eax, dword [0x6089a0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ecx, dword [edi + 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
mov dword [ebp - 0x854], edi
call eax
test eax, eax
jne 0x4d09fc
lea ecx, [ebp - 0x854]
push ecx
push 0x5d38a0
push 0x5ba7b4
push 4
push 0x5b9a58
push 0x16
push 0x5b9a1c
mov dword [ebp - 0x854], 0x5b99f0
call fcn.00401650
add esp, 0x1c
mov dword [edi + 0xe8], 0x3eb
xor eax, eax
jmp 0x4d108b
mov ecx, dword [ebp - 0x86c]
mov edx, dword [ecx]
mov edx, dword [edx + 0x2c]
lea eax, [ebp - 0x85c]
mov ebx, ecx
push eax
mov dword [ebp - 0x870], ebx
call edx
mov dword [ebp - 4], esi
cmp dword [ebx + 0x60], esi
jne 0x4d0a6e
lea eax, [ebp - 0x854]
push eax
push 0x5d38a0
push 0x5ba7b4
push 4
push 0x5b9b28
push 0x1f
push 0x5b9aa4
mov dword [ebp - 0x854], 0x5b9ae0
call fcn.00401650
add esp, 0x1c
mov dword [edi + 0xe8], 0x3eb
lea ecx, [ebp - 0x85c]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
xor eax, eax
jmp 0x4d108b
mov ecx, dword [ebp - 0x85c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4d0acd
lea edx, [ebp - 0x854]
push edx
push 0x5d38a0
push 0x5ba7b4
push 4
push 0x5b9c20
push 0x25
push 0x5b9b74
mov dword [ebp - 0x854], 0x5b9bb0
call fcn.00401650
add esp, 0x1c
lea ecx, [ebp - 0x85c]
mov dword [edi + 0xe8], 0x3ea
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
xor eax, eax
jmp 0x4d108b
lea eax, [ebp - 0x434]
push eax
lea ecx, [ebp - 0x84c]
push ecx
push edi
call fcn.004d02b0
test eax, eax
je 0x4d0a5b
mov eax, dword [edi + 0xf8]
add edi, 0xf8
test eax, eax
je 0x4d0b08
mov edx, dword [eax]
push eax
mov eax, dword [edx + 0x20]
call eax
mov esi, edi
call fcn.004020e0
mov dword [ebp - 0x850], 0
lea ecx, [ebp - 0x860]
call dword [sym.imp.MFC80U.DLL_Ordinal_293]
lea esi, [ebp - 0x858]
mov byte [ebp - 4], 2
call fcn.004b23b0
push 0x5b9bf4
push eax
lea ecx, [ebp - 0x868]
push ecx
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 - 0x868]
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 0x4d0c0d
lea edx, [ebp - 0x858]
push edx
push 0x5d38a0
push 0x5ba7b4
push 4
push 0x5b9d50
push 0x3e
push 0x5b9c6c
mov dword [ebp - 0x858], 0x5b9ca8
call fcn.00401650
mov eax, dword [ebp - 0x854]
add esp, 0x1c
lea ecx, [ebp - 0x860]
mov dword [eax + 0xe8], 0x3ec
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x850]
test eax, eax
je 0x4d0bfa
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 0x4d108b
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 esi, dword [ebp - 0x854]
mov eax, dword [esi + 0xfc]
test eax, eax
je 0x4d0d0b
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4d0d0b
mov ecx, dword [esi + 0xfc]
push 0
push 0xb4
push 0x140
push 0
push 0
push 0
call sub.MFC80U.DLL_Ordinal_6061
mov ecx, dword [esi + 0xfc]
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
mov edx, dword [ebp - 0x430]
mov eax, dword [ebp - 0x850]
mov ecx, dword [eax]
push edx
mov edx, dword [ebp - 0x434]
push edx
push eax
mov eax, dword [ecx + 0x18]
call eax
mov edx, dword [ebx]
mov edx, dword [edx + 0x3c]
lea eax, [ebp - 0x858]
push eax
mov ecx, ebx
call edx
mov ecx, eax
mov byte [ebp - 4], 5
call dword [sym.imp.MFC80U.DLL_Ordinal_1220]
lea ecx, [ebp - 0x858]
mov esi, eax
mov byte [ebp - 4], 2
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
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]
push edi
push 0x5c5370
push eax
call edx
test eax, eax
je 0x4d0e08
lea eax, [ebp - 0x858]
push eax
push 0x5d38a0
push 0x5ba7b4
push 4
push 0x5b9e48
push 0x62
push 0x5b9d9c
mov dword [ebp - 0x858], 0x5b9dd8
call fcn.00401650
mov ecx, dword [ebp - 0x854]
add esp, 0x1c
mov dword [ecx + 0xe8], 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 0x4d0df5
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 0x4d108b
mov eax, dword [edi]
mov edx, dword [ebp - 0x854]
mov edx, dword [edx + 0x20]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x34]
call eax
mov edx, dword [ebx]
mov eax, dword [edx + 0x48]
mov ecx, ebx
call eax
mov edx, dword [ebx]
mov edx, dword [edx + 0x54]
mov esi, eax
lea eax, [ebp - 0x864]
push eax
mov ecx, ebx
call edx
mov byte [ebp - 4], 6
mov eax, dword [edi]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x3c]
push esi
push eax
call edx
mov eax, dword [ebp - 0x864]
cmp dword [eax - 0xc], 0
je 0x4d0e72
lea ecx, [ebp - 0x864]
call dword [sym.imp.MFC80U.DLL_Ordinal_1220]
mov esi, eax
mov eax, dword [edi]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x40]
push esi
push eax
call edx
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [edi]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
push eax
call edx
test eax, eax
lea eax, [ebp - 0x858]
push eax
jge 0x4d0ed2
push 0x5d38a0
push 0x5ba7b4
push 4
push 0x5b9ec8
push 0x75
push 0x5b9f14
mov dword [ebp - 0x858], 0x5b9e94
call fcn.00401650
mov ecx, dword [ebp - 0x854]
mov dword [ecx + 0xe8], 0x3ed
add esp, 0x1c
lea ecx, [ebp - 0x864]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
jmp 0x4d0dd3
mov edx, dword [ebx]
mov edx, dword [edx + 0x2c]
mov ecx, ebx
call edx
mov ecx, eax
mov byte [ebp - 4], 7
call dword [sym.imp.MFC80U.DLL_Ordinal_1220]
lea ecx, [ebp - 0x858]
mov esi, eax
mov byte [ebp - 4], 6
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov eax, dword [edi]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x10]
push esi
push eax
call edx
push esi
mov dword [ebp - 0x868], eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp dword [ebp - 0x868], 0
jge 0x4d0f6f
lea eax, [ebp - 0x858]
push eax
push 0x5d38a0
push 0x5ba7b4
push 4
push str.CQMCCompressionPage::StartCompression
push 0x80
push 0x5b9fdc
mov dword [ebp - 0x858], 0x5b9f50
call fcn.00401650
mov ecx, dword [ebp - 0x854]
mov dword [ecx + 0xe8], 0x3ee
add esp, 0x1c
lea ecx, [ebp - 0x864]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
jmp 0x4d0dd3
mov edi, dword [edi]
mov ecx, dword [edi]
mov edx, dword [ecx + 0x14]
push edi
call edx
mov eax, dword [ebp - 0x854]
mov dword [eax + 0xec], 1
mov edx, dword [ebx]
mov eax, dword [edx + 0x40]
push 1
mov ecx, ebx
call eax
mov edx, dword [ebx]
mov eax, dword [edx + 0x44]
mov ecx, ebx
call eax
mov ebx, dword [ebp + 8]
mov edi, eax
call fcn.004d2970
mov ebx, dword [ebp - 0x854]
mov ecx, dword [ebx + 0xfc]
test ecx, ecx
je 0x4d0fca
push ebx
call sub.MFC80U.DLL_Ordinal_1386
mov ecx, dword [ebx + 0xfc]
push 5
call sub.MFC80U.DLL_Ordinal_6086
mov cl, byte [ebx + 0x100]
mov edi, dword [ebp - 0x870]
xor eax, eax
mov dword [ebp - 0x88c], eax
mov dword [ebp - 0x888], eax
mov dword [ebp - 0x884], eax
mov dword [ebp - 0x880], eax
push ecx
mov esi, esp
mov dword [ebp - 0x87c], eax
mov dword [ebp - 0x878], eax
mov dword [ebp - 0x874], eax
mov dword [ebp - 0x890], 0x1f6
mov byte [ebp - 0x88b], al
mov byte [ebp - 0x88a], cl
mov dword [ebp - 0x858], esp
call fcn.004b3550
lea edx, [ebp - 0x890]
call fcn.004b6420
add esp, 4
call fcn.004b72b0
mov edx, dword [ebx + 0x20]
push 0
push 0x1f4
push 0
push edx
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 0x4d107a
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
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00432b8e
mov esp, ebp
pop ebp
ret 4