Function at 0x41dc70
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x42b078
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x134
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x18], esi
mov ebx, dword [esp + 0x154]
mov dword [esp + 0x14c], 0
cmp dword [ebx + 0x1c], 4
jne 0x41dd08
push 0
lea ecx, [ebx + 0x10]
call sub.MFC42.DLL_CString::GetBuffer
push eax
mov eax, dword [esi + 0x94]
push str.CXSyncExeDlg::IsFileDifferent__File__s__is_Delete_Type_File
push 1
mov ecx, dword [eax + 0xd0]
push ecx
call fcn.00407c90
add esp, 0x10
lea ecx, [esp + 0x158]
mov dword [esp + 0x14c], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
mov ecx, dword [esp + 0x144]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x140
ret 0xc
lea esi, [ebx + 0x28]
push 4
lea edx, [esp + 0x14]
push 0
push edx
mov ecx, esi
call sub.MFC42.DLL_CString::Mid_1
mov eax, dword [eax]
mov edi, dword [sym.imp.MSVCRT.dll_atoi]
push eax
call edi
add esp, 4
lea ecx, [esp + 0x10]
mov ebp, eax
call sub.MFC42.DLL_CString::CString
push 2
lea eax, [esp + 0x14]
push 4
push eax
mov ecx, esi
call sub.MFC42.DLL_CString::Mid_1
mov eax, dword [eax]
push eax
call edi
add esp, 4
lea ecx, [esp + 0x10]
mov dword [esp + 0x14], eax
call sub.MFC42.DLL_CString::CString
push 2
lea ecx, [esp + 0x14]
push 6
push ecx
mov ecx, esi
call sub.MFC42.DLL_CString::Mid_1
mov eax, dword [eax]
push eax
call edi
add esp, 4
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], eax
call sub.MFC42.DLL_CString::CString
push 2
lea edx, [esp + 0x14]
push 8
push edx
mov ecx, esi
call sub.MFC42.DLL_CString::Mid_1
mov eax, dword [eax]
push eax
call edi
add esp, 4
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], eax
call sub.MFC42.DLL_CString::CString
push 2
lea eax, [esp + 0x14]
push 0xa
push eax
mov ecx, esi
call sub.MFC42.DLL_CString::Mid_1
mov eax, dword [eax]
push eax
call edi
add esp, 4
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], eax
call sub.MFC42.DLL_CString::CString
push 2
lea ecx, [esp + 0x14]
push 0xc
push ecx
mov ecx, esi
call sub.MFC42.DLL_CString::Mid_1
mov eax, dword [eax]
push eax
call edi
add esp, 4
lea ecx, [esp + 0x10]
mov esi, eax
call sub.MFC42.DLL_CString::CString
push 0xffffffffffffffff
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x2c]
push esi
push edx
mov edx, dword [esp + 0x20]
push eax
push ecx
push edx
push ebp
lea ecx, [esp + 0x40]
call sub.MFC42.DLL_CTime::CTime_1
mov eax, dword [ebx + 0x2c]
lea ecx, [ebx + 0x2c]
mov edx, dword [eax - 8]
test edx, edx
je 0x41de2a
push 0
call sub.MFC42.DLL_CString::GetBuffer
push eax
call edi
add esp, 4
mov esi, eax
jmp 0x41de2c
xor esi, esi
mov edx, dword [esp + 0x158]
lea ecx, [esp + 0x2c]
push ecx
push edx
call sub.MFC42.DLL_CFile::GetStatus
test eax, eax
jne 0x41decc
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 2
je 0x41deab
cmp eax, 3
je 0x41deab
call esi
push eax
push 0
push 0
lea ecx, [esp + 0x164]
call sub.MFC42.DLL_CString::GetBuffer
mov esi, dword [esp + 0x20]
push eax
push str.CXSyncExeDlg::IsFileDifferent__Local_File_Check_:_GetStatus__s__Return___d__ErrCode___d
push 1
mov eax, dword [esi + 0x94]
mov ecx, dword [eax + 0xd0]
push ecx
call fcn.00407c90
mov eax, dword [esi + 0x94]
add esp, 0x18
lea edx, [esp + 0x14]
mov ecx, dword [eax + 0xd0]
push edx
call fcn.00407370
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x158]
mov dword [esp + 0x14c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, 1
jmp 0x41dced
cmp dword [ebx + 0x20], 1
jne 0x41defe
push 0
lea ecx, [esp + 0x15c]
call sub.MFC42.DLL_CString::GetBuffer
mov ecx, dword [esp + 0x18]
push eax
push str.CXSyncExeDlg::IsFileDifferent__Local_System_File__s__Already_Exist
push 2
mov edx, dword [ecx + 0x94]
mov eax, dword [edx + 0xd0]
push eax
jmp 0x41dccc
mov eax, dword [esp + 0x15c]
test eax, eax
je 0x41df54
mov eax, dword [esp + 0x38]
cmp eax, esi
je 0x41df54
mov ecx, dword [esp + 0x18]
push esi
push eax
push str.CXSyncExeDlg::IsFileDifferent__File_Size_is_Different__Local__d___Server__d_
mov edx, dword [ecx + 0x94]
push 2
mov eax, dword [edx + 0xd0]
push eax
call fcn.00407c90
add esp, 0x14
lea ecx, [esp + 0x158]
mov dword [esp + 0x14c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, 1
jmp 0x41dced
push ecx
mov ecx, dword [esp + 0x28]
mov eax, esp
mov dword [esp + 0x18], esp
lea edx, [esp + 0x18]
mov dword [eax], ecx
push edx
lea ecx, [esp + 0x38]
call fcn.0040c350
mov eax, dword [eax]
mov esi, dword [esp + 0x18]
cdq
mov ecx, dword [esi + 0x90]
xor eax, edx
sub eax, edx
mov ecx, dword [ecx + 0x4c]
cmp eax, ecx
jle 0x41dcd4
push ecx
push eax
push 0
lea ecx, [esp + 0x164]
call sub.MFC42.DLL_CString::GetBuffer
mov edx, dword [esi + 0x94]
push eax
push str.CXSyncExeDlg::IsFileDifferent__File__s__dwTimeGab___d__m_nTimeCheckSpan___d
push 1
mov eax, dword [edx + 0xd0]
push eax
call fcn.00407c90
add esp, 0x18
lea ecx, [esp + 0x158]
mov dword [esp + 0x14c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, 1
jmp 0x41dced