Function at 0x4147a7
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45cb89
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x60
mov dword [ebp - 0x6c], ecx
mov ecx, dword [ebp + 8]
call fcn.00415cb0
test eax, eax
jg 0x4147ed
push str.CSyncEngine::HandleZipRegTypeFiles__zip_reg_file_item_is_0.
push 1
mov eax, dword [0x476a9c]
push eax
call fcn.00407ea0
add esp, 0xc
xor eax, eax
jmp 0x414ac3
mov dword [ebp - 0x2c], 0
push str.Zip_Reg
lea ecx, [ebp - 0x5c]
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x5c]
push ecx
mov edx, dword [ebp - 0x6c]
mov ecx, dword [edx + 0x2c]
call fcn.0044fb09
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5c]
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 0x34], 1
lea ecx, [ebp - 0x30]
call sub.MFC42.DLL_CString::CString_3
mov dword [ebp - 4], 1
mov eax, dword [0x4767b4]
push eax
push str._s_regsvr32.exe
lea ecx, [ebp - 0x30]
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [ebp - 0x28]
call fcn.0045ab40
mov byte [ebp - 4], 2
push 0
lea ecx, [ebp - 0x30]
call fcn.004020c0
push eax
lea ecx, [ebp - 0x28]
call sub.MFC42.DLL_CFileFind::FindFile
test eax, eax
jne 0x4148ae
push 0
push 0x10
push 0x471c14
call sub.MFC42.DLL_AfxMessageBox_1
mov dword [ebp - 0x60], 0xfffffffe
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call sub.MFC42.DLL_CFileFind::CFileFind
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x60]
jmp 0x414ac3
mov ecx, dword [ebp + 8]
call fcn.00415db0
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
je 0x414a71
lea edx, [ebp - 0x38]
push edx
mov ecx, dword [ebp + 8]
call fcn.00415dd0
mov eax, dword [eax]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
cmp dword [ecx + 0x1c], 9
jne 0x414a6c
mov edx, dword [ebp - 0x3c]
cmp dword [edx + 0x30], 0
je 0x414a6c
lea ecx, [ebp - 0x54]
call sub.MFC42.DLL_CStringArray::CStringArray
mov byte [ebp - 4], 3
lea eax, [ebp - 0x54]
push eax
mov ecx, dword [ebp - 0x3c]
push ecx
mov ecx, dword [ebp - 0x6c]
call fcn.00414189
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jge 0x414992
mov edx, dword [ebp - 0x3c]
mov eax, dword [edx + 0x14]
push eax
push 0x471c6c
push 3
mov ecx, dword [0x476a9c]
push ecx
call fcn.00407ea0
add esp, 0x10
mov ecx, dword [ebp - 0x3c]
add ecx, 0x14
call fcn.004020c0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x41497a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov edx, dword [ebp - 0x3c]
mov eax, dword [edx + 0x14]
push eax
push 0x471ca8
push 4
mov ecx, dword [0x476a9c]
push ecx
call fcn.00407ea0
add esp, 0x14
mov ecx, dword [0x476a9c]
call fcn.004092d8
mov dword [ebp - 0x34], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x54]
call fcn.0045ad44
jmp 0x4148b9
mov dword [ebp - 0x40], 0
jmp 0x4149a4
mov edx, dword [ebp - 0x40]
add edx, 1
mov dword [ebp - 0x40], edx
lea ecx, [ebp - 0x54]
call fcn.004074b0
cmp dword [ebp - 0x40], eax
jge 0x414a58
mov eax, dword [ebp - 0x40]
push eax
lea ecx, [ebp - 0x54]
call fcn.00415cf0
push eax
lea ecx, [ebp - 0x58]
call sub.MFC42.DLL_CString::CString_2
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x58]
push ecx
mov ecx, dword [ebp - 0x6c]
call fcn.00411ddd
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jge 0x414a47
mov edx, dword [ebp - 0x58]
push edx
push str.CSyncEngine::HandleZipRegTypeFiles__Delete_Local_Flle___s
push 3
mov eax, dword [0x476a9c]
push eax
call fcn.00407ea0
add esp, 0x10
lea ecx, [ebp - 0x58]
call fcn.004020c0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x414a40
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, dword [ebp - 0x58]
push ecx
push str.CSyncEngine::HandleZipRegTypeFiles__DeleteFile__s__Error__ErrCode___d
push 4
mov edx, dword [0x476a9c]
push edx
call fcn.00407ea0
add esp, 0x14
mov ecx, dword [0x476a9c]
call fcn.004092d8
mov dword [ebp - 0x34], 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x58]
call sub.MFC42.DLL_CString::CString
jmp 0x41499b
lea ecx, [ebp - 0x54]
call fcn.004074d0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x54]
call fcn.0045ad44
jmp 0x4148b9
cmp dword [ebp - 0x34], 1
jne 0x414a9e
mov dword [ebp - 0x64], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call sub.MFC42.DLL_CFileFind::CFileFind
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x64]
jmp 0x414ac3
mov dword [ebp - 0x68], 0xffffffff
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call sub.MFC42.DLL_CFileFind::CFileFind
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4