Function at 0x416a88
Capabilities:
Check if file exists
Delete file

Disassembly:
mov eax, 0x42480e
call fcn.00422230
sub esp, 0x450
mov eax, dword [0x430520]
push ebx
push esi
xor eax, ebp
push edi
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov esi, 0x104
push esi
mov dword [ebp - 0x43c], eax
xor edi, edi
lea eax, [ebp - 0x420]
push edi
push eax
call sub.MSVCR71.dll_memset
add esp, 0xc
push esi
lea eax, [ebp - 0x420]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push esi
lea eax, [ebp - 0x218]
push edi
push eax
call sub.MSVCR71.dll_memset
add esp, 0xc
push str...xlUnPromptRecommendhistory.xml
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x438]
call fcn.00402150
mov dword [ebp - 4], edi
mov dword [ebp - 0x424], edi
lea eax, [ebp - 0x424]
push eax
push 0x42750c
push 0x17
push edi
push 0x4275a4
mov byte [ebp - 4], 1
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, edi
jge 0x416b6e
mov eax, dword [ebp - 0x424]
cmp eax, edi
mov byte [ebp - 4], 0
je 0x416b5d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [ebp - 0x438]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
jmp 0x416d9b
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
mov ebx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
jne 0x416bba
push str._UnPromptRecommendHistory__
lea ecx, [ebp - 0x428]
call fcn.00402150
mov eax, dword [eax]
mov ecx, dword [ebp - 0x424]
mov edx, dword [ecx]
lea esi, [ebp - 0x42a]
push esi
push eax
push ecx
mov byte [ebp - 4], 2
call dword [edx + 0x104]
push dword [ebp - 0x428]
call ebx
push dword [ebp - 0x424]
lea ecx, [ebp - 0x428]
call fcn.00404416
mov dword [ebp - 0x434], edi
mov eax, dword [ebp - 0x428]
mov ecx, dword [eax]
lea edx, [ebp - 0x434]
push edx
push eax
mov byte [ebp - 4], 4
call dword [ecx + 0x34]
lea ecx, [ebp - 0x45c]
call fcn.0041e74d
mov eax, dword [ebp - 0x43c]
mov eax, dword [eax + 4]
mov esi, dword [eax]
cmp esi, eax
je 0x416d04
mov edi, dword [esi + 8]
and dword [ebp - 0x430], 0
lea eax, [ebp - 0x44c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
push 0x428338
lea ecx, [ebp - 0x450]
mov byte [ebp - 4], 7
call fcn.00403a75
mov eax, dword [eax]
lea ecx, [ebp - 0x44c]
push ecx
push eax
mov ecx, edi
mov byte [ebp - 4], 8
call fcn.0040adfa
push dword [ebp - 0x450]
mov edi, eax
mov byte [ebp - 4], 7
call ebx
test edi, edi
jne 0x416ce0
push dword [ebp - 0x444]
lea ecx, [ebp - 0x430]
call fcn.0040c061
and dword [ebp - 0x42c], edi
mov eax, 0x42771c
push eax
push eax
push 0x428b6c
lea eax, [ebp - 0x42c]
push eax
push dword [ebp - 0x434]
lea ecx, [ebp - 0x45c]
mov byte [ebp - 4], 9
call fcn.0041e78c
push dword [ebp - 0x430]
lea ecx, [ebp - 0x45c]
push 0x428624
push dword [ebp - 0x42c]
call fcn.0041e4f4
mov eax, dword [ebp - 0x42c]
test eax, eax
mov byte [ebp - 4], 7
je 0x416ccb
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea eax, [ebp - 0x44c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
push dword [ebp - 0x430]
jmp 0x416cef
lea eax, [ebp - 0x44c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
push 0
call ebx
mov esi, dword [esi]
mov eax, dword [ebp - 0x43c]
cmp esi, dword [eax + 4]
jne 0x416c06
xor edi, edi
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x44c]
mov word [ebp - 0x44c], di
call fcn.0040443e
mov eax, dword [ebp - 0x424]
mov ecx, dword [eax]
sub esp, 0x10
mov edi, esp
lea esi, [ebp - 0x44c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push eax
mov byte [ebp - 4], 0xa
movsd dword es:[edi], dword [esi]
call dword [ecx + 0x108]
lea eax, [ebp - 0x44c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea ecx, [ebp - 0x45c]
mov byte [ebp - 4], 4
call fcn.0041e763
mov eax, dword [ebp - 0x434]
test eax, eax
mov byte [ebp - 4], 3
je 0x416d6f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x428]
mov ecx, dword [eax]
push eax
mov byte [ebp - 4], 1
call dword [ecx + 8]
mov eax, dword [ebp - 0x424]
test eax, eax
mov byte [ebp - 4], 0
je 0x416d93
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [ebp - 0x438]
call ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00422213
leave
ret 4