Function at 0x414189
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45cb52
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18c
mov dword [ebp - 0x184], ecx
mov dword [ebp - 0x144], 1
lea ecx, [ebp - 0x14c]
call sub.MFC42.DLL_CString::CString_3
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x14]
push ecx
push 0x47171c
lea edx, [ebp - 0x14c]
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
push 0x5c
push 0x2f
lea ecx, [ebp - 0x14c]
call sub.MFC42.DLL_CString::Replace_1
mov eax, dword [ebp - 0x14c]
push eax
push str.CSyncEngine::ProcessZipFile__Zip_File_Path___s
push 1
mov ecx, dword [0x476a9c]
push ecx
call fcn.00407ea0
add esp, 0x10
push 2
push 0
push 0
lea ecx, [ebp - 0x14c]
call sub.MFC42.DLL_CString::GetBuffer
push eax
call fcn.00457613
add esp, 0xc
mov dword [ebp - 0x150], eax
cmp dword [ebp - 0x150], 0
jne 0x414276
push str.CSyncEngine::ProcessZipFile__Cant_Open_Zip_File
push 4
mov edx, dword [0x476a9c]
push edx
call fcn.00407ea0
add esp, 0xc
mov dword [ebp - 0x16c], 0xffffffff
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14c]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x16c]
jmp 0x414797
lea eax, [ebp - 0x13c]
push eax
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x150]
push ecx
call fcn.004576e0
add esp, 0xc
mov edx, dword [ebp - 0x13c]
mov dword [ebp - 0x140], edx
mov eax, dword [ebp - 0x140]
push eax
push str.CSyncEngine::ProcessZipFile__Zip_Item_Count___d
push 1
mov ecx, dword [0x476a9c]
push ecx
call fcn.00407ea0
add esp, 0x10
mov dword [ebp - 0x148], 0
jmp 0x4142d2
mov edx, dword [ebp - 0x148]
add edx, 1
mov dword [ebp - 0x148], edx
mov eax, dword [ebp - 0x148]
cmp eax, dword [ebp - 0x140]
jge 0x414714
lea ecx, [ebp - 0x13c]
push ecx
mov edx, dword [ebp - 0x148]
push edx
mov eax, dword [ebp - 0x150]
push eax
call fcn.004576e0
add esp, 0xc
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x414339
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x148]
push edx
push str.CXSyncExeDlg::ProcessZipFile__Cant_Get_Zip_Item__Index___d__Return_Value___d
push 4
mov eax, dword [0x476a9c]
push eax
call fcn.00407ea0
add esp, 0x14
mov dword [ebp - 0x144], 0xfffffffe
jmp 0x414714
lea ecx, [ebp - 0x158]
call sub.MFC42.DLL_CString::CString_3
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x138]
push ecx
push 0x471808
lea edx, [ebp - 0x158]
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
push 0x5c
push 0x2f
lea ecx, [ebp - 0x158]
call sub.MFC42.DLL_CString::Replace_1
lea eax, [ebp - 0x138]
push eax
push str.CSyncEngine::ProcessZipFile__ze.name___s
push 1
mov ecx, dword [0x476a9c]
push ecx
call fcn.00407ea0
add esp, 0x10
mov edx, dword [ebp - 0x158]
push edx
push str.CSyncEngine::ProcessZipFile__strZipEntryPathAndName___s
push 1
mov eax, dword [0x476a9c]
push eax
call fcn.00407ea0
add esp, 0x10
push 0x5c
lea ecx, [ebp - 0x14c]
call sub.MFC42.DLL_CString::ReverseFind
mov dword [ebp - 0x160], eax
mov ecx, dword [ebp - 0x160]
push ecx
lea edx, [ebp - 0x15c]
push edx
lea ecx, [ebp - 0x14c]
call sub.MFC42.DLL_CString::Left
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x15c]
push eax
push str.CSyncEngine::ProcessZipFile__strUnZipFileDir___s
push 1
mov ecx, dword [0x476a9c]
push ecx
call fcn.00407ea0
add esp, 0x10
lea ecx, [ebp - 0x154]
call sub.MFC42.DLL_CString::CString_3
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x158]
push edx
mov eax, dword [ebp - 0x15c]
push eax
push 0x4718a8
lea ecx, [ebp - 0x154]
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0x10
mov edx, dword [ebp - 0x154]
push edx
push str.CSyncEngine::ProcessZipFile__strUnzipFilePath___s
push 1
mov eax, dword [0x476a9c]
push eax
call fcn.00407ea0
add esp, 0x10
lea ecx, [ebp - 0x158]
call fcn.00402060
cmp eax, 0x35
jle 0x4144a0
push 0x35
lea ecx, [ebp - 0x170]
push ecx
lea ecx, [ebp - 0x158]
call sub.MFC42.DLL_CString::Right
mov dword [ebp - 0x188], eax
mov edx, dword [ebp - 0x188]
mov dword [ebp - 0x18c], edx
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x18c]
push eax
lea ecx, [ebp - 0x158]
call sub.MFC42.DLL_CString::operator
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x170]
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 0x164], 0
lea ecx, [ebp - 0x164]
push ecx
push ecx
mov ecx, esp
mov dword [ebp - 0x174], esp
lea edx, [ebp - 0x154]
push edx
call sub.MFC42.DLL_CString::CString_2
mov dword [ebp - 0x190], eax
call fcn.00401967
add esp, 8
mov dword [ebp - 0x194], eax
mov eax, dword [ebp - 0x194]
mov dword [ebp - 0x168], eax
cmp dword [ebp - 0x168], 1
je 0x4145bb
cmp dword [ebp - 0x168], 0xfffffffe
jne 0x41451b
mov ecx, dword [ebp - 0x154]
push ecx
push str.CSyncEngine::ProcessZipFile___s____Directory_path_unknown.
push 4
mov edx, dword [0x476a9c]
push edx
call fcn.00407ea0
add esp, 0x10
jmp 0x414567
cmp dword [ebp - 0x168], 0xfffffffd
jne 0x414543
mov eax, dword [ebp - 0x154]
push eax
push str.CSyncEngine::ProcessZipFile___s____Invalid_directory_path.
push 4
mov ecx, dword [0x476a9c]
push ecx
call fcn.00407ea0
add esp, 0x10
jmp 0x414567
mov edx, dword [ebp - 0x164]
push edx
mov eax, dword [ebp - 0x154]
push eax
push str.CSyncEngine::ProcessZipFile___s____Directory_creation_or_exists__failed.__GetLastError___is__d_
push 4
mov ecx, dword [0x476a9c]
push ecx
call fcn.00407ea0
add esp, 0x14
mov dword [ebp - 0x178], 0xfffffffc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x154]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x15c]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x158]
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14c]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x178]
jmp 0x414797
push str.CSyncEngine::ProcessZipFile__Try_To_Clear_Read_Only_Property
push 1
mov edx, dword [0x476a9c]
push edx
call fcn.00407ea0
add esp, 0xc
push ecx
mov ecx, esp
mov dword [ebp - 0x17c], esp
lea eax, [ebp - 0x154]
push eax
call sub.MFC42.DLL_CString::CString_2
mov dword [ebp - 0x198], eax
call fcn.0040163c
add esp, 4
lea ecx, [ebp - 0x154]
call fcn.004020c0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 2
push 0
push 0
lea ecx, [ebp - 0x154]
call sub.MFC42.DLL_CString::GetBuffer
push eax
mov ecx, dword [ebp - 0x148]
push ecx
mov edx, dword [ebp - 0x150]
push edx
call fcn.004579c8
add esp, 0x14
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x414656
mov eax, dword [ebp - 0x148]
push eax
push str.CSyncEngine::ProcessZipFile__UnzipItem___Success__Index___d
push 1
mov ecx, dword [0x476a9c]
push ecx
call fcn.00407ea0
add esp, 0x10
jmp 0x4146b0
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x148]
push eax
push str.CSyncEngine::ProcessZipFile__UnzipItem___Fail__Index___d__Return_Value___d
push 4
mov ecx, dword [0x476a9c]
push ecx
call fcn.00407ea0
add esp, 0x14
mov dword [ebp - 0x144], 0xfffffffd
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x154]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x15c]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x158]
call sub.MFC42.DLL_CString::CString
jmp 0x414714
cmp dword [ebp + 0xc], 0
je 0x4146e2
lea edx, [ebp - 0x154]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.0040c730
mov eax, dword [ebp - 0x154]
push eax
push str.CSyncEngine::ProcessZipFile__Make_a_list_of_Unzip_file_path.___s
push 1
mov ecx, dword [0x476a9c]
push ecx
call fcn.00407ea0
add esp, 0x10
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x154]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x15c]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x158]
call sub.MFC42.DLL_CString::CString
jmp 0x4142c3
push str.CSyncEngine::ProcessZipFile__Try_To_Close_Zip_File
push 1
mov edx, dword [0x476a9c]
push edx
call fcn.00407ea0
add esp, 0xc
mov eax, dword [ebp - 0x150]
push eax
call fcn.00457a33
add esp, 4
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x41475a
push str.CSyncEngine::ProcessZipFile__Success_To_Close_Zip_File
push 1
mov ecx, dword [0x476a9c]
push ecx
call fcn.00407ea0
add esp, 0xc
jmp 0x414773
mov edx, dword [ebp - 0x10]
push edx
push str.CSyncEngine::ProcessZipFile__Fail_To_Close_Zip_File__Return_Value___d
push 4
mov eax, dword [0x476a9c]
push eax
call fcn.00407ea0
add esp, 0x10
mov ecx, dword [ebp - 0x144]
mov dword [ebp - 0x180], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14c]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x180]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8