Function at 0x413e92
Capabilities:
Delete file
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45cb0c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x13c
push edi
mov dword [ebp - 0x140], ecx
mov ecx, dword [ebp + 8]
call fcn.00415cb0
test eax, eax
jg 0x413edf
push str.CSyncEngine::HandleZipTypeFiles__zip_file_item_is_0.
push 1
mov eax, dword [0x476a9c]
push eax
call fcn.00407ea0
add esp, 0xc
xor eax, eax
jmp 0x414178
mov ecx, dword [ebp - 0x140]
mov ecx, dword [ecx + 0x2c]
call fcn.0044d413
push str.CSyncEngine::HandleZipTypeFiles__Start...
push 3
mov edx, dword [0x476a9c]
push edx
call fcn.00407ea0
add esp, 0xc
call fcn.00404470
mov dword [ebp - 0x124], eax
mov byte [ebp - 0x118], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x117]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x118]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov ecx, dword [ebp - 0x124]
add ecx, 0xd8
call fcn.004020c0
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x14], 0
mov ecx, dword [ebp + 8]
call fcn.00415cb0
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x120]
call sub.MFC42.DLL_CString::CString_3
mov dword [ebp - 4], 0
push 0
push 0
mov ecx, dword [ebp - 0x140]
mov ecx, dword [ecx + 0x2c]
call fcn.0044fa37
mov dword [ebp - 0x128], 1
mov ecx, dword [ebp + 8]
call fcn.00415db0
mov dword [ebp - 0x12c], eax
cmp dword [ebp - 0x12c], 0
je 0x41410a
lea edx, [ebp - 0x12c]
push edx
mov ecx, dword [ebp + 8]
call fcn.00415dd0
mov eax, dword [eax]
mov dword [ebp - 0x130], eax
mov ecx, dword [ebp - 0x130]
cmp dword [ecx + 0x1c], 7
jne 0x414105
mov edx, dword [ebp - 0x130]
cmp dword [edx + 0x30], 0
je 0x414105
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x130]
add ecx, 0x10
push ecx
push 0x47168c
lea edx, [ebp - 0x134]
push edx
call sub.MFC42.DLL_operator
mov dword [ebp - 0x144], eax
mov eax, dword [ebp - 0x144]
mov dword [ebp - 0x148], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x148]
push ecx
mov edx, dword [ebp - 0x140]
mov ecx, dword [edx + 0x2c]
call fcn.0044fb09
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x134]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 1
push ecx
mov edx, dword [ebp - 0x140]
mov ecx, dword [edx + 0x2c]
call fcn.0044fa37
push 0
mov eax, dword [ebp - 0x130]
push eax
mov ecx, dword [ebp - 0x140]
call fcn.00414189
mov dword [ebp - 0x11c], eax
cmp dword [ebp - 0x11c], 0
jge 0x414105
mov ecx, dword [ebp - 0x130]
mov edx, dword [ecx + 0x14]
push edx
push str.CSyncEngine::HandleZipTypeFiles__Delete_Local_Flle___s
push 3
mov eax, dword [0x476a9c]
push eax
call fcn.00407ea0
add esp, 0x10
mov ecx, dword [ebp - 0x130]
add ecx, 0x14
call fcn.004020c0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [ebp - 0x11c], eax
cmp dword [ebp - 0x11c], 0
jne 0x4140fb
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, dword [ebp - 0x130]
mov edx, dword [ecx + 0x14]
push edx
push str.CSyncEngine::HandleZipTypeFiles__DeleteFile__s__Error__ErrCode___d
push 4
mov eax, dword [0x476a9c]
push eax
call fcn.00407ea0
add esp, 0x14
mov ecx, dword [0x476a9c]
call fcn.004092d8
mov dword [ebp - 0x128], 0
jmp 0x413fa9
push 1
push 1
mov ecx, dword [ebp - 0x140]
mov ecx, dword [ecx + 0x2c]
call fcn.0044fa37
lea edx, [ebp - 0x118]
push edx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
cmp dword [ebp - 0x128], 1
jne 0x414156
mov dword [ebp - 0x138], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x120]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x138]
jmp 0x414178
mov dword [ebp - 0x13c], 0xffffffff
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x120]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x13c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
mov esp, ebp
pop ebp
ret 4