Function at 0x41e6d0
Capabilities:
Delete file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x42b130
push eax
mov dword fs:[0], esp
sub esp, 0x40
push ebp
push esi
push edi
mov edi, dword [esp + 0x5c]
mov esi, ecx
mov eax, dword [edi + 0xc]
test eax, eax
jg 0x41e72a
mov eax, dword [esi + 0x94]
push str.CXSyncExeDlg::HandleZipRegTypeFiles__ZipReg_file_item_is_0.
push 1
mov ecx, dword [eax + 0xd0]
push ecx
call fcn.00407c90
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
add esp, 0x4c
ret 8
mov eax, dword [esp + 0x60]
mov ebp, 1
cmp eax, ebp
jne 0x41e753
push 0x440b68
lea ecx, [esi + 0x37c]
call fcn.00405af0
push str.Zip_Reg
mov ecx, esi
call fcn.004198e0
lea ecx, [esp + 0x60]
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [esi + 0x94]
push 0
add ecx, 0x1a0
mov dword [esp + 0x58], 0
call sub.MFC42.DLL_CString::GetBuffer
push eax
lea edx, [esp + 0x64]
push str._s_regsvr32.exe
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [esp + 0x30]
call fcn.0042855e
mov eax, dword [esp + 0x60]
push 0
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x5c], 1
call sub.MFC42.DLL_CFileFind::FindFile
lea ecx, [esp + 0x30]
mov dword [esp + 0xc], eax
call sub.MFC42.DLL_CFileFind::Close
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x41e7d9
mov ecx, dword [esi + 0x94]
push str.CXSyncExeDlg::HandleZipRegTypeFiles__Can_not_find_the_regsvr32.exe_files_from_your_system.
push 3
mov edx, dword [ecx + 0xd0]
push edx
call fcn.00407c90
add esp, 0xc
mov eax, dword [edi + 4]
test eax, eax
je 0x41e9c9
jmp 0x41e7ea
mov eax, dword [esp + 0x10]
mov edi, dword [eax + 8]
mov ecx, dword [eax]
mov dword [esp + 0x10], ecx
cmp dword [edi + 0x1c], 9
jne 0x41e9b8
mov eax, dword [edi + 0x30]
test eax, eax
je 0x41e9b8
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CStringArray::CStringArray
lea edx, [esp + 0x1c]
mov ecx, esi
push edx
push edi
mov byte [esp + 0x5c], 2
call fcn.0041a7e0
test eax, eax
jge 0x41e8b4
add edi, 0x14
push 0
mov ecx, edi
call sub.MFC42.DLL_CString::GetBuffer
push eax
mov eax, dword [esi + 0x94]
push str.CXSyncExeDlg::HandleZipRegTypeFiles__Delete_Local_Flle___s
push 3
mov ecx, dword [eax + 0xd0]
push ecx
call fcn.00407c90
mov eax, dword [edi]
add esp, 0x10
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x41e8ad
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0
mov ecx, edi
call sub.MFC42.DLL_CString::GetBuffer
mov edx, dword [esi + 0x94]
push eax
push str.CXSyncExeDlg::HandleZipRegTypeFiles__DeleteFile__s__Error__ErrCode___d
push 4
mov eax, dword [edx + 0xd0]
push eax
call fcn.00407c90
mov edx, dword [esi + 0x94]
add esp, 0x14
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [edx + 0xd0]
call fcn.00407370
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString
xor ebp, ebp
jmp 0x41e9aa
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x41e8c3
xor ebp, ebp
jmp 0x41e9aa
mov eax, dword [esp + 0x24]
xor edi, edi
test eax, eax
jle 0x41e99d
mov eax, dword [esp + 0x20]
lea ecx, [eax + edi*4]
push ecx
lea ecx, [esp + 0x60]
call sub.MFC42.DLL_CString::CString_1
lea edx, [esp + 0x5c]
mov ecx, esi
push edx
mov byte [esp + 0x58], 3
call fcn.00418f80
test eax, eax
jge 0x41e982
push 0
lea ecx, [esp + 0x60]
call sub.MFC42.DLL_CString::GetBuffer
push eax
mov eax, dword [esi + 0x94]
push str.CXSyncExeDlg::HandleZipRegTypeFiles__Delete_Local_Flle___s
push 3
mov ecx, dword [eax + 0xd0]
push ecx
call fcn.00407c90
mov edx, dword [esp + 0x6c]
add esp, 0x10
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x41e980
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0
lea ecx, [esp + 0x64]
call sub.MFC42.DLL_CString::GetBuffer
push eax
mov eax, dword [esi + 0x94]
push str.CXSyncExeDlg::HandleZipRegTypeFiles__DeleteFile__s__Error__ErrCode___d
push 4
mov ecx, dword [eax + 0xd0]
push ecx
call fcn.00407c90
mov eax, dword [esi + 0x94]
add esp, 0x14
lea edx, [esp + 0x18]
mov ecx, dword [eax + 0xd0]
push edx
call fcn.00407370
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString
xor ebp, ebp
lea ecx, [esp + 0x5c]
mov byte [esp + 0x54], 2
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x24]
inc edi
cmp edi, eax
jl 0x41e8d1
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CStringArray::SetSize
lea ecx, [esp + 0x1c]
mov byte [esp + 0x54], 1
call fcn.00428744
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x41e7e6
cmp ebp, 1
jne 0x41e9fe
lea ecx, [esp + 0x30]
mov byte [esp + 0x54], 0
call sub.MFC42.DLL_CFileFind::CFileFind
lea ecx, [esp + 0x60]
mov dword [esp + 0x54], 0xffffffff
call sub.MFC42.DLL_CString::CString
pop edi
pop esi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
add esp, 0x4c
ret 8
lea ecx, [esp + 0x30]
mov byte [esp + 0x54], 0
call sub.MFC42.DLL_CFileFind::CFileFind
lea ecx, [esp + 0x60]
mov dword [esp + 0x54], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x4c]
pop edi
pop esi
or eax, 0xffffffff
pop ebp
mov dword fs:[0], ecx
add esp, 0x4c
ret 8