Function at 0x41a2a0
Capabilities:
Copy file
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x42adf0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_2
xor ebx, ebx
lea ecx, [esp + 0xc]
mov dword [esp + 0x1c], ebx
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [esi + 0x90]
mov byte [esp + 0x1c], 1
cmp dword [eax + 0x40], 1
je 0x41a2fe
mov eax, dword [esi + 0x94]
push str.CXSyncExeDlg::CopyServerListFileToLocalListFile__m_nCheckListFileFlag_is_0__So_Dont_Copy_List_File
push 2
mov ecx, dword [eax + 0xd0]
push ecx
jmp 0x41a4d0
mov edx, dword [eax + 0x6c]
mov eax, dword [esi + 0x94]
push edx
lea edx, [esp + 0x10]
mov ecx, dword [eax + 0x1e4]
push ecx
push str._s._s
push edx
call sub.MFC42.DLL_CString::Format
mov eax, dword [esi + 0x94]
mov ecx, dword [esp + 0x1c]
add esp, 0x10
mov eax, dword [eax + 0x1e4]
push ebx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
cmp eax, ebx
jne 0x41a384
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ebx
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::GetBuffer
mov ecx, dword [esi + 0x94]
push eax
push ebx
add ecx, 0x1e4
call sub.MFC42.DLL_CString::GetBuffer
mov edx, dword [esi + 0x94]
push eax
push str.CXSyncExeDlg::CopyServerListFileToLocalListFile__CopyFile__s_____s__Fail__ErrCode___d
push 2
mov eax, dword [edx + 0xd0]
push eax
call fcn.00407c90
add esp, 0x18
jmp 0x41a4d8
push edi
push ebx
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::GetBuffer
mov ecx, dword [esi + 0x94]
push eax
push ebx
add ecx, 0x1e4
call sub.MFC42.DLL_CString::GetBuffer
mov ecx, dword [esi + 0x94]
push eax
push str.CXSyncExeDlg::CopyServerListFileToLocalListFile__Copy__s_____s
push 1
mov edx, dword [ecx + 0xd0]
push edx
call fcn.00407c90
add esp, 0x14
lea ecx, [esp + 0x10]
push ebx
call sub.MFC42.DLL_CString::GetBuffer
mov ecx, dword [esi + 0x94]
push eax
push ebx
add ecx, 0x1e4
call sub.MFC42.DLL_CString::GetBuffer
push eax
mov eax, dword [esi + 0x94]
push str.CXSyncExeDlg::CopyServerListFileToLocalListFile__Change_Local_List_File_Modify_Date.
push 1
mov ecx, dword [eax + 0xd0]
push ecx
call fcn.00407c90
mov edx, dword [esp + 0x24]
push 0x435ae4
push edx
call dword [sym.imp.MSVCRT.dll_fopen]
mov edi, eax
add esp, 0x1c
cmp edi, ebx
je 0x41a43f
mov al, byte [0x43ccbc]
push edi
push 1
lea ecx, [esp + 0x16]
push 1
mov word [esp + 0x1a], bx
push ecx
mov byte [esp + 0x1e], al
call dword [sym.imp.MSVCRT.dll_fwrite]
push edi
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 0x14
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edx, dword [esi + 0x90]
mov ecx, dword [esi + 0x94]
add ecx, 0x1f8
mov eax, dword [edx + 0xc8]
lea edx, [esp + 0x10]
push eax
push ecx
push edx
call fcn.004030d0
add esp, 0xc
cmp eax, ebx
pop edi
jge 0x41a4bc
push eax
mov eax, dword [esi + 0x94]
push str.CXSyncExeDlg::CopyServerListFileToLocalListFile__SetFileModifyDate___Fail__RetVal___d
push 4
mov ecx, dword [eax + 0xd0]
push ecx
call fcn.00407c90
add esp, 0x10
lea ecx, [esp + 0xc]
mov byte [esp + 0x1c], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], 0xffffffff
call sub.MFC42.DLL_CString::CString
pop esi
mov eax, 0xfffffffb
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
mov edx, dword [esi + 0x94]
push str.CXSyncExeDlg::CopyServerListFileToLocalListFile__Set_File_Modify_Date_Success
push 1
mov eax, dword [edx + 0xd0]
push eax
call fcn.00407c90
add esp, 0xc
lea ecx, [esp + 0xc]
mov byte [esp + 0x1c], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x14]
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret