Function at 0x408930
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47bfa7
mov eax, dword fs:[0]
push eax
mov eax, 0x1480
call fcn.0042cec0
mov eax, dword [0x4be5b4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x1488], eax
mov dword [ebp - 0x148c], esi
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
test eax, eax
je 0x408ae6
push str..lnk
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x408ae6
mov dword [ebp - 0x147c], eax
xor edi, edi
mov dword [ebp - 4], eax
mov dword [ebp - 0x1484], edi
mov dword [ebp - 0x1474], edi
lea eax, [ebp - 0x1474]
mov byte [ebp - 4], 2
push eax
push 0x486a70
push 0x17
push edi
push 0x486110
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov ebx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
test eax, eax
mov eax, dword [ebp - 0x1474]
js 0x408bd0
test eax, eax
je 0x408bd0
test esi, esi
jne 0x4089f4
mov dword [ebp - 0x1480], esi
jmp 0x408a11
push esi
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov esi, eax
mov dword [ebp - 0x1480], esi
test esi, esi
je 0x408be7
mov eax, dword [ebp - 0x1474]
mov ecx, dword [eax]
push 0
push esi
push eax
mov byte [ebp - 4], 3
call dword [ecx + 0x14]
test eax, eax
jns 0x408a3b
push esi
call ebx
mov eax, dword [ebp - 0x1474]
mov byte [ebp - 4], 1
test eax, eax
je 0x408a96
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x408a96
mov eax, dword [ebp - 0x1474]
xor edi, edi
mov dword [ebp - 0x1478], edi
test eax, eax
je 0x408a71
mov ecx, dword [eax]
lea edx, [ebp - 0x1478]
push edx
push 0x486120
push eax
call dword [ecx]
mov edi, dword [ebp - 0x1478]
xor ecx, ecx
test eax, eax
cmovs edi, ecx
mov dword [ebp - 0x1478], edi
mov byte [ebp - 4], 4
test edi, edi
jne 0x408b04
push esi
call ebx
mov eax, dword [ebp - 0x1474]
mov byte [ebp - 4], 1
test eax, eax
je 0x408a94
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor edi, edi
mov eax, dword [ebp - 0x1488]
mov esi, dword [ebp - 0x147c]
push esi
push dword [eax]
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x408ae0
push dword [ebp - 0x148c]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
push 0x2a
push 0x1a
push 0xffff
call dword [sym.imp.USER32.dll_PostMessageW]
push 0
push 0
push 0x1000
push 0x8000000
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
push edi
call ebx
push esi
call ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042c75e
mov esp, ebp
pop ebp
ret 0x10
push 0x210
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.00432c40
push 0x250
lea eax, [ebp - 0x1470]
push 0
push eax
call fcn.00432c40
mov eax, dword [edi]
lea ecx, [ebp - 0x1470]
add esp, 0x18
push 4
push ecx
push 0x108
lea ecx, [ebp - 0x220]
push ecx
push edi
call dword [eax + 0xc]
mov edi, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
lea eax, [ebp - 0x220]
push eax
call edi
push 0x1000
mov dword [ebp - 0x147c], eax
lea eax, [ebp - 0x1220]
push 0
push eax
call fcn.00432c40
mov ecx, dword [ebp - 0x1478]
lea edx, [ebp - 0x1220]
add esp, 0xc
mov eax, dword [ecx]
push 0x800
push edx
push ecx
call dword [eax + 0x28]
lea eax, [ebp - 0x1220]
push eax
call edi
mov edi, eax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x1478]
mov dword [ebp - 0x1484], edi
test eax, eax
je 0x408bb0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push esi
call ebx
mov eax, dword [ebp - 0x1474]
mov byte [ebp - 4], 1
test eax, eax
je 0x408a96
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x408a96
mov byte [ebp - 4], 1
test eax, eax
je 0x408a96
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x408a96
push 0x8007000e
call fcn.004068b0
int3