Function at 0x404960
Capabilities:
Delete directory
Delete file
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x411deb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x218
mov eax, dword [0x4161c0]
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x224], eax
lea eax, [esp + 0x14]
push eax
push 0x1a
push 0
mov bl, cl
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x1c]
push ecx
push edx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatW]
push str.MicrosoftInternet_ExplorerQuick_Launch_
lea eax, [esp + 0x20]
push eax
call edi
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
movzx eax, ax
cmp eax, 0x404
je 0x4049e3
xor ecx, ecx
cmp eax, 0x804
sete cl
dec ecx
and ecx, 0xc8
mov eax, ecx
jmp 0x4049e8
mov eax, 0x64
lea edx, [eax*2 + 0x4173b8]
push edx
lea eax, [esp + 0x20]
push eax
call edi
push str..lnk
lea ecx, [esp + 0x20]
push ecx
call edi
mov ebp, dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea edx, [esp + 0x1c]
push edx
call ebp
mov esi, dword [sym.imp.SHELL32.dll_SHChangeNotify]
push 0
lea eax, [esp + 0x20]
push eax
push 5
push 4
call esi
test bl, bl
je 0x404a30
lea ecx, [esp + 0x14]
push ecx
push 0x19
jmp 0x404a37
lea edx, [esp + 0x14]
push edx
push 0x10
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x1c]
push eax
push ecx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
push 0x4132b0
lea edx, [esp + 0x20]
push edx
call edi
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
movzx eax, ax
cmp eax, 0x404
je 0x404a80
xor ecx, ecx
cmp eax, 0x804
sete cl
dec ecx
and ecx, 0xc8
mov eax, ecx
jmp 0x404a85
mov eax, 0x64
lea edx, [eax*2 + 0x4173b8]
push edx
lea eax, [esp + 0x20]
push eax
call edi
push str..lnk
lea ecx, [esp + 0x20]
push ecx
call edi
lea edx, [esp + 0x1c]
push edx
call ebp
push 0
lea eax, [esp + 0x20]
push eax
push 5
push 4
call esi
mov edx, dword [0x4178f4]
mov ecx, 0x4178f4
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
test bl, bl
mov dword [esp + 0x230], 0
je 0x404ae1
lea eax, [esp + 0x14]
push eax
push 0x17
jmp 0x404ae8
lea ecx, [esp + 0x14]
push ecx
push 2
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x1c]
push edx
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
lea ecx, [esp + 0x1c]
push ecx
call fcn.004080d0
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov esi, eax
mov eax, dword [0x416d70]
add esp, 4
mov word [esp + esi*2 + 0x1c], 0x5c
inc esi
test eax, eax
je 0x404b76
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
movzx eax, ax
cmp eax, 0x404
je 0x404b4b
xor edx, edx
cmp eax, 0x804
sete dl
dec edx
and edx, 0xc8
mov eax, edx
jmp 0x404b50
mov eax, 0x64
lea eax, [eax*2 + 0x417160]
push eax
lea ecx, [esp + esi*2 + 0x20]
push ecx
call ebx
lea edx, [esp + 0x1c]
push edx
call fcn.004080d0
mov esi, eax
add esp, 4
mov word [esp + esi*2 + 0x1c], 0x5c
inc esi
lea eax, [esp + 0x10]
push eax
push 0x6b
call fcn.00404330
mov ecx, dword [esp + 0x10]
lea eax, [esp + esi*2 + 0x1c]
push ecx
push eax
mov dword [esp + 0x20], eax
call ebx
lea edx, [esp + 0x1c]
push edx
call fcn.004080d0
lea esi, [esp + eax*2 + 0x22]
add esp, 4
mov word [esp + eax*2 + 0x1c], 0x5c
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
push str..lnk
push esi
call edi
lea ecx, [esp + 0x1c]
push ecx
call ebp
lea edx, [esp + 0x10]
push edx
push 0x6e
call fcn.00404330
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
push str..lnk
push esi
call edi
lea ecx, [esp + 0x1c]
push ecx
call ebp
lea edx, [esp + 0x10]
push edx
push 0x77
call fcn.00404330
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
push str..lnk
push esi
call edi
lea ecx, [esp + 0x1c]
push ecx
call ebp
lea edx, [esp + 0x1c]
push edx
mov word [esi], 0
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x1c]
push ecx
mov word [eax], 0
call fcn.00408598
add esp, 4
push 0
lea edx, [esp + 0x20]
push edx
push 5
push 4
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov dword [esp + 0x230], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
pop edi
pop esi
pop ebp
pop ebx
test edx, edx
jg 0x404c6b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x218]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x214]
call fcn.004077be
add esp, 0x224
ret