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

Disassembly:
mov eax, 0x44dad3
call fcn.0044b2e0
sub esp, 0x3c
push ebx
push esi
lea eax, [ebp - 0x24]
push edi
push eax
call fcn.0041f979
mov dword [esp], str.xlUnPromptRecommendhistory.xml
push eax
lea eax, [ebp - 0x20]
xor edi, edi
push eax
mov dword [ebp - 4], edi
call fcn.004026cd
add esp, 0xc
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
mov byte [ebp - 4], 2
call fcn.004021db
mov esi, dword [ebp - 0x20]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push esi
lea ecx, [ebp - 0x28]
call fcn.00402143
mov dword [ebp - 0x14], edi
lea eax, [ebp - 0x14]
push eax
push 0x4517b0
push 0x17
push edi
push 0x451848
mov byte [ebp - 4], 4
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, edi
jge 0x416d53
mov eax, dword [ebp - 0x14]
cmp eax, edi
mov byte [ebp - 4], 3
je 0x416d42
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [ebp - 0x28]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea ecx, [esi - 0x10]
jmp 0x416f00
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
mov ebx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
jne 0x416d8d
push str._UnPromptRecommendHistory__
lea ecx, [ebp - 0x24]
call fcn.00402143
mov eax, dword [eax]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
lea esi, [ebp - 0xe]
push esi
push eax
push ecx
mov byte [ebp - 4], 5
call dword [edx + 0x104]
push dword [ebp - 0x24]
call ebx
push dword [ebp - 0x14]
lea ecx, [ebp - 0x24]
call fcn.0040ef5b
mov dword [ebp - 0x1c], edi
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
lea edx, [ebp - 0x1c]
push edx
push eax
mov byte [ebp - 4], 7
call dword [ecx + 0x34]
lea ecx, [ebp - 0x38]
call fcn.0041ffc0
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
mov esi, dword [eax]
cmp esi, eax
je 0x416e85
mov edi, dword [esi + 8]
and dword [ebp - 0x18], 0
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
push 0x452784
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xa
call fcn.00403aaa
mov eax, dword [eax]
lea ecx, [ebp - 0x48]
push ecx
push eax
mov ecx, edi
mov byte [ebp - 4], 0xb
call fcn.0040b3a1
push dword [ebp - 0x2c]
mov edi, eax
mov byte [ebp - 4], 0xa
call ebx
test edi, edi
jne 0x416e67
push dword [ebp - 0x40]
lea ecx, [ebp - 0x18]
call fcn.0040c745
and dword [ebp - 0x10], edi
mov eax, 0x451a60
push eax
push eax
push 0x4530e0
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0xc
call fcn.0041ffff
push dword [ebp - 0x18]
lea ecx, [ebp - 0x38]
push 0x452b54
push dword [ebp - 0x10]
call fcn.0041fa07
mov eax, dword [ebp - 0x10]
test eax, eax
mov byte [ebp - 4], 0xa
je 0x416e58
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
push dword [ebp - 0x18]
jmp 0x416e73
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
push 0
call ebx
mov esi, dword [esi]
mov eax, dword [ebp + 8]
cmp esi, dword [eax + 4]
jne 0x416dc4
xor edi, edi
push dword [ebp - 0x20]
lea ecx, [ebp - 0x48]
mov word [ebp - 0x48], di
call fcn.00404434
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
sub esp, 0x10
mov edi, esp
lea esi, [ebp - 0x48]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push eax
mov byte [ebp - 4], 0xd
movsd dword es:[edi], dword [esi]
call dword [ecx + 0x108]
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 7
call fcn.0041ffd6
mov eax, dword [ebp - 0x1c]
test eax, eax
mov byte [ebp - 4], 6
je 0x416ed7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
push eax
mov byte [ebp - 4], 4
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
test eax, eax
mov byte [ebp - 4], 3
je 0x416ef5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [ebp - 0x28]
call ebx
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.004021db
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4