Function at 0x100029b0
Capabilities:
Delete file
Get common file path

Disassembly:
call fcn.10005d90
test al, al
jne 0x10002b00
jmp 0x100029b0
sub esp, 0x314
mov eax, dword [0x1001cc50]
xor eax, esp
mov dword [esp + 0x310], eax
push esi
mov esi, dword [esp + 0x31c]
push 0x10014288
push str.CleanupCustomizedShortcutsA
push esi
call fcn.10004a10
push 0x104
lea eax, [esp + 0x11c]
push eax
push esi
call fcn.10003da0
add esp, 0x18
test eax, eax
jne 0x10002a08
lea eax, [esp + 0x10c]
push 1
push eax
call fcn.10003610
add esp, 8
push 0x103
lea eax, [esp + 0xd]
mov dword [esp + 8], 0
push 0
push eax
mov byte [esp + 0x14], 0
call fcn.10006cf0
add esp, 0xc
lea eax, [esp + 4]
push eax
push 0x19
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov eax, dword [esp + 4]
test eax, eax
je 0x10002a4c
lea ecx, [esp + 8]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
push 0x104
lea eax, [esp + 0x214]
push eax
push esi
call fcn.10004390
add esp, 0xc
pop esi
test eax, eax
jne 0x10002adf
lea ecx, [esp + 4]
lea edx, [ecx + 1]
mov edi, edi
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10002a70
sub ecx, edx
lea eax, [ecx - 1]
cmp eax, 0x102
ja 0x10002adf
mov al, byte [esp + ecx + 3]
cmp al, 0x5c
je 0x10002aa6
cmp al, 0x2f
je 0x10002aa6
push 0x10014a3c
lea eax, [esp + 8]
push 0x104
push eax
call fcn.10007287
add esp, 0xc
lea eax, [esp + 0x20c]
push eax
lea eax, [esp + 8]
push 0x104
push eax
call fcn.10007287
push str..lnk
lea eax, [esp + 0x14]
push 0x104
push eax
call fcn.10007287
add esp, 0x18
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [esp + 0x310]
xor ecx, esp
call fcn.10006cd8
add esp, 0x314
ret
sub esp, 0x620
mov eax, dword [0x1001cc50]
xor eax, esp
mov dword [esp + 0x61c], eax
push esi
mov esi, dword [esp + 0x628]
push 0x10014288
push str.CleanupCustomizedShortcutsW
push esi
call fcn.10004a10
push 0x104
lea eax, [esp + 0x220]
push eax
push esi
call fcn.10003e60
add esp, 0x18
test eax, eax
jne 0x10002b68
push str.Delete_menu_folder
push str.CleanupCustomizedShortcutsW
push esi
call fcn.10004a10
lea eax, [esp + 0x21c]
push 1
push eax
call fcn.100037e0
add esp, 0x14
xor eax, eax
mov dword [esp + 4], 0
push 0x206
push eax
mov word [esp + 0x10], ax
lea eax, [esp + 0x12]
push eax
call fcn.10006cf0
add esp, 0xc
lea eax, [esp + 4]
push eax
push 0x19
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov eax, dword [esp + 4]
test eax, eax
je 0x10002bad
lea ecx, [esp + 8]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
push 0x104
lea eax, [esp + 0x41c]
push eax
push esi
call fcn.10004430
add esp, 0xc
test eax, eax
jne 0x10002c5a
lea ecx, [esp + 8]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10002bd2
sub ecx, edx
sar ecx, 1
lea eax, [ecx - 1]
cmp eax, 0x102
ja 0x10002c5a
movzx eax, word [esp + ecx*2 + 6]
cmp eax, 0x5c
je 0x10002c11
cmp eax, 0x2f
je 0x10002c11
push 0x10014b58
lea eax, [esp + 0xc]
push 0x104
push eax
call fcn.100079b3
add esp, 0xc
lea eax, [esp + 0x418]
push eax
lea eax, [esp + 0xc]
push 0x104
push eax
call fcn.100079b3
push 0x10014ab0
lea eax, [esp + 0x18]
push 0x104
push eax
call fcn.100079b3
push str.Delete_desktop_shortcut
push str.CleanupCustomizedShortcutsW
push esi
call fcn.10004a10
add esp, 0x24
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [esp + 0x620]
pop esi
xor ecx, esp
call fcn.10006cd8
add esp, 0x620
ret