Function at 0x41fa60
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x4703d0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor ebx, ebx
push str.ResetVTP_here_n
mov dword [ebp - 0x214], 0xffffffff
mov dword [ebp - 0x21c], ebx
call fcn.0040ef30
add esp, 4
push ebx
push str.mfevtp
call fcn.0040b240
test al, al
jne 0x41faaa
push str.Unable_to_stop_mfevtp_service_n
jmp 0x41faaf
push str.mfevtps_service_stopped_n
call fcn.0040ef30
add esp, 4
push 0x104
lea eax, [ebp - 0x20c]
push eax
push str.vtp_catcache
push ebx
call fcn.0042db90
add esp, 0x10
test al, al
jne 0x41fae7
push str.Unable_to_get_system_core_location_from_registry__n
call fcn.0040ef30
add esp, 4
jmp 0x41feba
push edi
call fcn.00402fe0
mov edi, dword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov esi, eax
cmp esi, ebx
je 0x41fb17
cmp esi, 0xffffffff
je 0x41fb17
push 0
lea ecx, [ebp - 0x218]
push ecx
push 0
push 0
push 0
push 0
push 0x9edb6510
push esi
call edi
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x41fb36
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Warning:_unable_to_delete_vtp_catcache__it_may_not_have_existed_however__last_error__u_n
jmp 0x41fb42
lea eax, [ebp - 0x20c]
push eax
push str.Deleted__S_n
call fcn.0040ef30
add esp, 8
test esi, esi
je 0x41fb5a
cmp esi, 0xffffffff
je 0x41fb5a
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.00402fe0
mov esi, eax
test esi, esi
je 0x41fb83
cmp esi, 0xffffffff
je 0x41fb83
push 0
lea ecx, [ebp - 0x218]
push ecx
push 0
push 0
push 0
push 0
push 0x9edb6510
push esi
call edi
push str.SYSTEMCurrentControlSetServices
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.0042a610
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x41fbb3
push str.mfeavfk
push ebx
call fcn.0042a610
mov edi, eax
add esp, 8
mov dword [ebp - 0x21c], edi
jmp 0x41fbb9
mov edi, dword [ebp - 0x21c]
test esi, esi
je 0x41fbc9
cmp esi, 0xffffffff
je 0x41fbc9
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x41fea2
push 0x104
lea edx, [ebp - 0x20c]
push edx
push str.mfehida.dll
push 0
mov dword [ebp - 0x210], 0
call fcn.0042db90
add esp, 0x10
test al, al
jne 0x41fc09
push str.Unable_to_get_system_core_location_from_registry__n
call fcn.0040ef30
add esp, 4
jmp 0x41fc52
push 0
push 0
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
test eax, eax
jne 0x41fc3e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x20c]
push ecx
push str.Unable_to_load__S_last_error__u_n
call fcn.0040ef30
add esp, 0xc
jmp 0x41feb9
lea edx, [ebp - 0x20c]
push edx
push str.Loaded__S_for_cache_reset_n
call fcn.0040ef30
add esp, 8
call fcn.00402fe0
mov esi, eax
push esi
call fcn.00403050
lea eax, [ebp - 0x210]
push eax
push str.VTPOptions
push edi
call fcn.0042c3b0
add esp, 0xc
test al, al
jne 0x41fc91
push str.VTPOptions_is_not_set_presently_n
call fcn.0040ef30
add esp, 4
mov dword [ebp - 0x210], 0
jmp 0x41fca5
mov ecx, dword [ebp - 0x210]
push ecx
push str.VTPOptions_is_presently__x_n
call fcn.0040ef30
add esp, 8
push 2
push str.VTPOptions
push edi
call fcn.0042c2f0
add esp, 0xc
test al, al
jne 0x41fcc6
push str.Warning:_failed_to_set_VTPOptions_to_2_n
call fcn.0040ef30
add esp, 4
test esi, esi
je 0x41fcd6
cmp esi, 0xffffffff
je 0x41fcd6
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
push eax
lea edx, [ebp - 0x220]
push edx
push str.HidLinkLoadAsync
push str.mfehida.dll
mov dword [ebp - 0x218], eax
mov dword [ebp - 0x220], eax
call fcn.0041f8d0
test eax, eax
jne 0x41fd27
mov ecx, dword [ebp - 0x220]
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
lea edx, [ebp - 0x218]
push edx
push str.mfeavfk.sys
call eax
mov ecx, dword [ebp - 0x220]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
jmp 0x41fd3b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Unable_to_create_HidLinkLoadAsync_interface__last_error__u_n
call fcn.0040ef30
add esp, 8
mov ecx, dword [ebp - 0x218]
test ecx, ecx
je 0x41fd8e
push 0
push 0
push 0
push 4
lea eax, [ebp - 0x214]
mov dword [ebp - 0x214], 0x11
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
push eax
push 0x69
call edx
push eax
mov eax, dword [ebp - 0x214]
push eax
push str.FileCacheReset:_MCFILTER_IOCTL_CACHERESET_for_attribute__u_returned__u_n
call fcn.0040ef30
mov ecx, dword [ebp - 0x218]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
add esp, 0xc
call eax
jmp 0x41fe42
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Unable_to_load_mfeavfk.sys_last_error__u__perhaps_in_safe_mode___n
call fcn.0040ef30
add esp, 8
call fcn.00402fe0
mov esi, eax
push esi
call fcn.00403050
push str.mfeavfk
push ebx
call fcn.0042a610
add esp, 8
test esi, esi
mov edi, eax
je 0x41fdcf
cmp esi, 0xffffffff
je 0x41fdcf
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x41fe2f
call fcn.00402fe0
mov esi, eax
push esi
call fcn.00403050
push str.FileCache
push edi
call fcn.0042a9e0
add esp, 8
test al, al
jne 0x41fe14
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Warning:_unable_to_delete_FileCache_value__it_may_not_have_existed_however__last_error__u_n
call fcn.0040ef30
add esp, 8
push esi
call fcn.00403030
push edi
call fcn.0042a5f0
jmp 0x41fe39
push str.Deleted_FileCache_value_n
call fcn.0040ef30
add esp, 4
push esi
call fcn.00403030
push edi
call fcn.0042a5f0
jmp 0x41fe39
push str.Error:_unable_to_open_mfeavfk_key_n
call fcn.0040ef30
mov edi, dword [ebp - 0x21c]
add esp, 4
call fcn.00402fe0
mov esi, eax
push esi
call fcn.00403050
mov ecx, dword [ebp - 0x210]
push ecx
push str.VTPOptions
push edi
call fcn.0042c2f0
add esp, 0xc
test al, al
jne 0x41fe76
mov edx, dword [ebp - 0x210]
push edx
push str.Warning:_unable_to_reset_vtpOptions_value_to__x_n
jmp 0x41fe82
mov eax, dword [ebp - 0x210]
push eax
push str.Reset_vtpOptions_value_to__x_n
call fcn.0040ef30
add esp, 8
test esi, esi
je 0x41fe9a
cmp esi, 0xffffffff
je 0x41fe9a
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call fcn.0042a5f0
jmp 0x41feac
push str.Warning:_unable_to_open_mfeavfk_key_n
call fcn.0040ef30
add esp, 4
mov dword [ebp - 0x214], 0
pop edi
push 1
push str.mfevtp
call fcn.0040b7b0
test al, al
jne 0x41fee1
push str.Warning_unable_to_start_mfevtps_service__We_need_to_reboot._n
call fcn.0040ef30
add esp, 4
mov dword [ebp - 0x214], 1
mov eax, dword [ebp - 0x21c]
test eax, eax
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x41fef4
push eax
call esi
test ebx, ebx
je 0x41fefb
push ebx
call esi
mov esi, dword [ebp - 0x214]
push esi
push str.ResetVTP_returning__u_n
call fcn.0040ef30
mov ecx, dword [ebp - 4]
add esp, 8
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043c015
mov esp, ebp
pop ebp
ret