Function at 0x40b150
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x41b7d7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x150
push ebx
push ebp
mov ebp, ecx
push esi
mov ebx, 1
push edi
lea ecx, [esp + 0x18]
mov dword [esp + 0x24], ebx
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [esp + 0x170]
lea edx, [esp + 0x18]
mov dword [esp + 0x168], 0
mov ecx, dword [eax + 0x14]
push ecx
push 0x424030
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 [0x42a950]
push eax
push str.CSyncEngine::ProcessZipFile__Zip_File_Path___s
push ebx
push ecx
call fcn.00404890
add esp, 0x10
lea ecx, [esp + 0x18]
push 2
push 0
push 0
call sub.MFC42.DLL_CString::GetBuffer
push eax
call fcn.004177a0
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x40b222
mov edx, dword [0x42a950]
push str.CSyncEngine::ProcessZipFile__Cant_Open_Zip_File
push 4
push edx
call fcn.00404890
add esp, 0xc
lea ecx, [esp + 0x18]
mov dword [esp + 0x168], 0xffffffff
call sub.MFC42.DLL_CString::CString
or eax, 0xffffffff
jmp 0x40b69a
lea eax, [esp + 0x34]
push eax
push 0xffffffffffffffff
push edi
call fcn.00417810
mov eax, dword [esp + 0x40]
mov ecx, dword [0x42a950]
add esp, 0xc
mov esi, eax
mov dword [esp + 0x20], esi
push eax
push str.CSyncEngine::ProcessZipFile__Zip_Item_Count___d
push ebx
push ecx
call fcn.00404890
mov ecx, dword [ebp + 0x2c]
add esp, 0x10
add ecx, 0xac
push esi
push 0
call fcn.004031f0
mov ecx, dword [ebp + 0x2c]
push 0
add ecx, 0xac
call fcn.00403220
mov eax, dword [esp + 0x20]
xor esi, esi
test eax, eax
jle 0x40b623
lea edx, [esp + 0x34]
push edx
push esi
push edi
call fcn.00417810
add esp, 0xc
test eax, eax
jne 0x40b4fa
test esi, esi
jle 0x40b2ab
mov ecx, dword [ebp + 0x2c]
push esi
add ecx, 0xac
call fcn.00403220
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_2
lea eax, [esp + 0x38]
lea ecx, [esp + 0x14]
push eax
push 0x424030
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 [0x42a950]
lea edx, [esp + 0x38]
push edx
push str.CSyncEngine::ProcessZipFile__ze.name___s
push ebx
push eax
call fcn.00404890
mov ecx, dword [esp + 0x24]
mov edx, dword [0x42a950]
add esp, 0x10
push ecx
push str.CSyncEngine::ProcessZipFile__strZipEntryPathAndName___s
push ebx
push edx
call fcn.00404890
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 [0x42a950]
push ecx
push str.CSyncEngine::ProcessZipFile__strUnZipFileDir___s
push ebx
push edx
mov byte [esp + 0x178], 2
call fcn.00404890
add esp, 0x10
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_2
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 [0x42a950]
add esp, 0x10
push eax
push str.CSyncEngine::ProcessZipFile__strUnzipFilePath___s
push ebx
push ecx
call fcn.00404890
mov edx, dword [esp + 0x24]
add esp, 0x10
cmp dword [edx - 8], 0x35
jle 0x40b3d2
lea eax, [esp + 0x2c]
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 + 0x2c]
mov byte [esp + 0x168], 3
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x14]
push ecx
mov ecx, dword [ebp + 0x2c]
add ecx, 0x37c
call fcn.00403990
lea edx, [esp + 0x28]
lea eax, [esp + 0x10]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push eax
mov dword [esp + 0x34], 0
call sub.MFC42.DLL_CString::CString_1
call fcn.00401430
add esp, 8
cmp eax, ebx
jne 0x40b51f
mov ecx, dword [0x42a950]
push str.CSyncEngine::ProcessZipFile__Try_To_Clear_Read_Only_Property
push ebx
push ecx
call fcn.00404890
add esp, 8
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
call sub.MFC42.DLL_CString::CString_1
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.00417850
add esp, 0x14
test eax, eax
jne 0x40b5d1
mov ecx, dword [0x42a950]
push esi
push str.CSyncEngine::ProcessZipFile__UnzipItem___Success__Index___d
push ebx
push ecx
call fcn.00404890
mov ecx, dword [esp + 0x184]
add esp, 0x10
test ecx, ecx
je 0x40b4b6
mov eax, dword [ecx + 8]
lea edx, [esp + 0x10]
push edx
push eax
call sub.MFC42.DLL_CStringArray::SetAtGrow_1
mov eax, dword [esp + 0x10]
mov ecx, dword [0x42a950]
push eax
push str.CSyncEngine::ProcessZipFile__Make_a_list_of_Unzip_file_path.___s
push ebx
push ecx
call fcn.00404890
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 + 0x20]
inc esi
cmp esi, eax
jl 0x40b281
jmp 0x40b623
mov edx, dword [0x42a950]
push eax
push esi
push str.CXSyncExeDlg::ProcessZipFile__Cant_Get_Zip_Item__Index___d__Return_Value___d
push 4
push edx
call fcn.00404890
add esp, 0x14
mov dword [esp + 0x24], 0xfffffffe
jmp 0x40b623
cmp eax, 0xfffffffe
jne 0x40b541
mov eax, dword [esp + 0x10]
mov ecx, dword [0x42a950]
push eax
push str.CSyncEngine::ProcessZipFile___s____Directory_path_unknown.
push 4
push ecx
call fcn.00404890
add esp, 0x10
jmp 0x40b581
cmp eax, 0xfffffffd
jne 0x40b562
mov edx, dword [esp + 0x10]
mov eax, dword [0x42a950]
push edx
push str.CSyncEngine::ProcessZipFile___s____Invalid_directory_path.
push 4
push eax
call fcn.00404890
add esp, 0x10
jmp 0x40b581
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x10]
mov eax, dword [0x42a950]
push ecx
push edx
push str.CSyncEngine::ProcessZipFile___s____Directory_creation_or_exists__failed.__GetLastError___is__d_
push 4
push eax
call fcn.00404890
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 0x40b69a
mov ecx, dword [0x42a950]
push eax
push esi
push str.CSyncEngine::ProcessZipFile__UnzipItem___Fail__Index___d__Return_Value___d
push 4
push ecx
call fcn.00404890
add esp, 0x14
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], 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 [esp + 0x20]
mov ecx, dword [ebp + 0x2c]
push edx
add ecx, 0xac
call fcn.00403220
mov eax, dword [0x42a950]
push str.CSyncEngine::ProcessZipFile__Try_To_Close_Zip_File
push ebx
push eax
call fcn.00404890
push edi
call fcn.004178a0
add esp, 0x10
test eax, eax
jne 0x40b66b
mov ecx, dword [0x42a950]
push str.CSyncEngine::ProcessZipFile__Success_To_Close_Zip_File
push ebx
push ecx
call fcn.00404890
add esp, 0xc
jmp 0x40b682
mov edx, dword [0x42a950]
push eax
push str.CSyncEngine::ProcessZipFile__Fail_To_Close_Zip_File__Return_Value___d
push 4
push edx
call fcn.00404890
add esp, 0x10
lea ecx, [esp + 0x18]
mov dword [esp + 0x168], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x160]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x15c
ret 8