Function at 0x40c430
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x43bc47
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x150
push ebx
push ebp
push esi
mov ebx, 1
push edi
lea ecx, [esp + 0x18]
mov dword [esp + 0x20], ebx
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [esp + 0x170]
lea edx, [esp + 0x18]
xor esi, esi
mov ecx, dword [eax + 0x14]
mov dword [esp + 0x168], esi
push ecx
push 0x44a040
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [esp + 0x18]
push 0x5c
push 0x2f
call sub.MFC42.DLL_CString::Replace_1
mov eax, dword [esp + 0x18]
mov ecx, dword [0x450ba4]
push eax
push str.CSyncEngine::ProcessZipFile__Zip_File_Path___s
push ebx
push ecx
call fcn.00404960
add esp, 0x10
lea ecx, [esp + 0x18]
push 2
push esi
push esi
call sub.MFC42.DLL_CString::GetBuffer
push eax
call fcn.004377f0
mov edi, eax
add esp, 0xc
cmp edi, esi
jne 0x40c4fc
mov edx, dword [0x450ba4]
push str.CSyncEngine::ProcessZipFile__Cant_Open_Zip_File
push 4
push edx
call fcn.00404960
add esp, 0xc
lea ecx, [esp + 0x18]
mov dword [esp + 0x168], 0xffffffff
call sub.MFC42.DLL_CString::CString
or eax, 0xffffffff
jmp 0x40c915
lea eax, [esp + 0x34]
push eax
push 0xffffffffffffffff
push edi
call fcn.00437860
mov eax, dword [esp + 0x40]
mov ecx, dword [0x450ba4]
add esp, 0xc
mov ebp, eax
mov dword [esp + 0x28], ebp
push eax
push str.CSyncEngine::ProcessZipFile__Zip_Item_Count___d
push ebx
push ecx
call fcn.00404960
add esp, 0x10
cmp ebp, esi
jle 0x40c8b1
mov ebp, dword [esp + 0x174]
lea edx, [esp + 0x34]
push edx
push esi
push edi
call fcn.00437860
add esp, 0xc
test eax, eax
jne 0x40c788
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_3
lea eax, [esp + 0x38]
lea ecx, [esp + 0x14]
push eax
push 0x44a040
push ecx
mov byte [esp + 0x174], bl
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [esp + 0x14]
push 0x5c
push 0x2f
call sub.MFC42.DLL_CString::Replace_1
mov eax, dword [0x450ba4]
lea edx, [esp + 0x38]
push edx
push str.CSyncEngine::ProcessZipFile__ze.name___s
push ebx
push eax
call fcn.00404960
mov ecx, dword [esp + 0x24]
mov edx, dword [0x450ba4]
add esp, 0x10
push ecx
push str.CSyncEngine::ProcessZipFile__strZipEntryPathAndName___s
push ebx
push edx
call fcn.00404960
add esp, 0x10
lea ecx, [esp + 0x18]
push 0x5c
call sub.MFC42.DLL_CString::ReverseFind
push eax
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::Left
mov ecx, dword [esp + 0x1c]
mov edx, dword [0x450ba4]
push ecx
push str.CSyncEngine::ProcessZipFile__strUnZipFileDir___s
push ebx
push edx
mov byte [esp + 0x178], 2
call fcn.00404960
add esp, 0x10
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
push eax
push ecx
lea edx, [esp + 0x18]
push str._s_s
push edx
mov byte [esp + 0x178], 3
call sub.MFC42.DLL_CString::Format
mov eax, dword [esp + 0x20]
mov ecx, dword [0x450ba4]
add esp, 0x10
push eax
push str.CSyncEngine::ProcessZipFile__strUnzipFilePath___s
push ebx
push ecx
call fcn.00404960
mov edx, dword [esp + 0x24]
add esp, 0x10
cmp dword [edx - 8], 0x35
jle 0x40c679
lea eax, [esp + 0x30]
push 0x35
push eax
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::Right
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x16c], 4
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x30]
mov byte [esp + 0x168], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
lea edx, [esp + 0x10]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
mov dword [esp + 0x30], 0
call sub.MFC42.DLL_CString::CString_2
call fcn.00401430
add esp, 8
cmp eax, ebx
jne 0x40c7ad
mov eax, dword [0x450ba4]
push str.CSyncEngine::ProcessZipFile__Try_To_Clear_Read_Only_Property
push ebx
push eax
call fcn.00404960
add esp, 8
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call sub.MFC42.DLL_CString::CString_2
call fcn.00401190
mov eax, dword [esp + 0x14]
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 2
push 0
push 0
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::GetBuffer
push eax
push esi
push edi
call fcn.004378a0
add esp, 0x14
test eax, eax
jne 0x40c85f
mov ecx, dword [0x450ba4]
push esi
push str.CSyncEngine::ProcessZipFile__UnzipItem___Success__Index___d
push ebx
push ecx
call fcn.00404960
add esp, 0x10
test ebp, ebp
je 0x40c744
mov eax, dword [ebp + 8]
lea edx, [esp + 0x10]
push edx
push eax
mov ecx, ebp
call sub.MFC42.DLL_CStringArray::SetAtGrow_1
mov eax, dword [esp + 0x10]
mov ecx, dword [0x450ba4]
push eax
push str.CSyncEngine::ProcessZipFile__Make_a_list_of_Unzip_file_path.___s
push ebx
push ecx
call fcn.00404960
add esp, 0x10
lea ecx, [esp + 0x10]
mov byte [esp + 0x168], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x168], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x168], 0
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x28]
inc esi
cmp esi, eax
jl 0x40c53b
jmp 0x40c8b1
mov edx, dword [0x450ba4]
push eax
push esi
push str.CXSyncExeDlg::ProcessZipFile__Cant_Get_Zip_Item__Index___d__Return_Value___d
push 4
push edx
call fcn.00404960
add esp, 0x14
mov dword [esp + 0x20], 0xfffffffe
jmp 0x40c8b1
cmp eax, 0xfffffffe
jne 0x40c7cf
mov eax, dword [esp + 0x10]
mov ecx, dword [0x450ba4]
push eax
push str.CSyncEngine::ProcessZipFile___s____Directory_path_unknown.
push 4
push ecx
call fcn.00404960
add esp, 0x10
jmp 0x40c80f
cmp eax, 0xfffffffd
jne 0x40c7f0
mov edx, dword [esp + 0x10]
mov eax, dword [0x450ba4]
push edx
push str.CSyncEngine::ProcessZipFile___s____Invalid_directory_path.
push 4
push eax
call fcn.00404960
add esp, 0x10
jmp 0x40c80f
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x10]
mov eax, dword [0x450ba4]
push ecx
push edx
push str.CSyncEngine::ProcessZipFile___s____Directory_creation_or_exists__failed.__GetLastError___is__d_
push 4
push eax
call fcn.00404960
add esp, 0x14
lea ecx, [esp + 0x10]
mov byte [esp + 0x168], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x168], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x168], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov dword [esp + 0x168], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, 0xfffffffc
jmp 0x40c915
mov ecx, dword [0x450ba4]
push eax
push esi
push str.CSyncEngine::ProcessZipFile__UnzipItem___Fail__Index___d__Return_Value___d
push 4
push ecx
call fcn.00404960
add esp, 0x14
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 0xfffffffd
mov byte [esp + 0x168], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x168], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x168], 0
call sub.MFC42.DLL_CString::CString
mov edx, dword [0x450ba4]
push str.CSyncEngine::ProcessZipFile__Try_To_Close_Zip_File
push ebx
push edx
call fcn.00404960
push edi
call fcn.004378f0
add esp, 0x10
test eax, eax
jne 0x40c8e6
mov eax, dword [0x450ba4]
push str.CSyncEngine::ProcessZipFile__Success_To_Close_Zip_File
push ebx
push eax
call fcn.00404960
add esp, 0xc
jmp 0x40c8fd
mov ecx, dword [0x450ba4]
push eax
push str.CSyncEngine::ProcessZipFile__Fail_To_Close_Zip_File__Return_Value___d
push 4
push ecx
call fcn.00404960
add esp, 0x10
lea ecx, [esp + 0x18]
mov dword [esp + 0x168], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x160]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x15c
ret 8