Function at 0x422ecb
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4611eb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x464
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x458], ecx
mov eax, dword [ebp - 0x458]
cmp dword [eax + 0x350], 0x81
jne 0x4232ab
mov ecx, dword [ebp - 0x458]
mov edx, dword [ecx + 0x358]
push edx
call dword [sym.imp.libdxxmt.dll_Ordinal_30]
add esp, 4
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x45c], eax
cmp dword [ebp - 0x45c], 8
jg 0x422f5f
cmp dword [ebp - 0x45c], 8
je 0x42326f
cmp dword [ebp - 0x45c], 0
jl 0x42328e
cmp dword [ebp - 0x45c], 1
jle 0x422f70
jmp 0x42328e
cmp dword [ebp - 0x45c], 0x200
je 0x422f70
jmp 0x42328e
lea ecx, [ebp - 0x28]
call fcn.00407dc0
lea ecx, [ebp - 0x43c]
push ecx
call sub.MFC42.DLL_COleDateTime::GetTickCount
push eax
lea ecx, [ebp - 0x28]
call fcn.00407df0
push str.RF_Y_m_d_H_M_S.vdn
lea edx, [ebp - 0x1c]
push edx
lea ecx, [ebp - 0x28]
call sub.MFC42.DLL_COleDateTime::Format
mov dword [ebp - 4], 0
push 0x4791d4
mov eax, dword [ebp - 0x458]
add eax, 0x1b0
push eax
lea ecx, [ebp - 0x440]
push ecx
call sub.MFC42.DLL_operator_2
mov dword [ebp - 0x460], eax
mov edx, dword [ebp - 0x460]
mov dword [ebp - 0x464], edx
mov byte [ebp - 4], 1
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x464]
push ecx
lea edx, [ebp - 0x18]
push edx
call sub.MFC42.DLL_operator_1
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x440]
call fcn.0045dfd8
lea ecx, [ebp - 0x18]
call fcn.00412270
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x42304b
push 0x8000
push 0
mov eax, dword [ebp - 0x458]
mov ecx, dword [eax + 0x358]
push ecx
call dword [sym.imp.libdxxmt.dll_Ordinal_55]
add esp, 0xc
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.0045dfd8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.0045dfd8
jmp 0x4232ab
push 0
push ecx
mov edx, esp
mov dword [ebp - 0x444], esp
lea eax, [ebp - 0x18]
push eax
push str.strFullFileName:
push edx
call sub.MFC42.DLL_operator
mov dword [ebp - 0x468], eax
mov ecx, dword [ebp - 0x458]
mov ecx, dword [ecx + 8]
call fcn.0040ccff
mov edx, dword [ebp - 0x458]
cmp dword [edx + 0x1a0], 0xffffffff
je 0x4230ae
mov eax, dword [ebp - 0x458]
mov ecx, dword [eax + 0x1a0]
push ecx
call dword [sym.imp.libdxxmt.dll_Ordinal_189]
add esp, 4
mov edx, dword [ebp - 0x458]
mov dword [edx + 0x1a0], 0xffffffff
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x458]
add ecx, 0x3b8
call fcn.0045e12e
lea ecx, [ebp - 0x450]
push ecx
call sub.MFC42.DLL_COleDateTime::GetTickCount
push eax
mov ecx, dword [ebp - 0x458]
add ecx, 0x3bc
call fcn.00407df0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x18]
call fcn.00412270
mov dword [ebp - 0x46c], eax
push 0x180
push 0x8102
mov edx, dword [ebp - 0x46c]
push edx
call dword [sym.imp.libdxxmt.dll_Ordinal_188]
add esp, 0xc
mov ecx, dword [ebp - 0x458]
mov dword [ecx + 0x1a0], eax
mov edx, dword [ebp - 0x458]
add edx, 0x39c
push edx
mov eax, dword [ebp - 0x458]
mov ecx, dword [eax + 0x1a0]
push ecx
mov edx, dword [ebp - 0x458]
mov ecx, dword [edx + 8]
call fcn.0040a091
mov dword [ebp - 0x470], eax
cmp dword [ebp - 0x470], 0
jne 0x423194
push 0x8000
push 0
mov eax, dword [ebp - 0x458]
mov ecx, dword [eax + 0x358]
push ecx
call dword [sym.imp.libdxxmt.dll_Ordinal_55]
add esp, 0xc
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.0045dfd8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.0045dfd8
mov dword [ebp - 4], 0xffffffff
jmp 0x4232ab
mov edx, dword [ebp - 0x458]
mov dword [edx + 0x19c], 7
jmp 0x42324f
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.0045dfd8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.0045dfd8
jmp 0x4232ab
push 0x8000
push 0
mov ecx, dword [ebp - 0x458]
mov edx, dword [ecx + 0x358]
push edx
call dword [sym.imp.libdxxmt.dll_Ordinal_55]
add esp, 0xc
jmp 0x4232ab
push 0x8000
push 0
mov eax, dword [ebp - 0x458]
mov ecx, dword [eax + 0x358]
push ecx
call dword [sym.imp.libdxxmt.dll_Ordinal_55]
add esp, 0xc
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret