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

Disassembly:
mov qword [rsp + 8], rcx
push rsi
push rdi
mov eax, 0x1918
call fcn.1401fe1f0
sub rsp, rax
mov qword [rsp + 0x220], 0xfffffffffffffffe
mov rax, qword [0x140322b20]
xor rax, rsp
mov qword [rsp + 0x1900], rax
lea rcx, [0x14032aff0]
call fcn.1400250b0
lea rdx, [rsp + 0x460]
lea rcx, [0x14032af98]
call fcn.140031460
mov qword [rsp + 0x1e8], rax
mov rax, qword [rsp + 0x1e8]
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x50]
call fcn.14001bd90
mov r9d, 3
xor r8d, r8d
lea rdx, [rsp + 0x2f0]
mov rcx, rax
call fcn.140050980
mov qword [rsp + 0x1f8], rax
mov rax, qword [rsp + 0x1f8]
mov qword [rsp + 0x60], rax
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0xdf0]
call fcn.14001f430
nop
lea rcx, [rsp + 0x2f0]
call fcn.14001f8f0
nop
lea rcx, [rsp + 0x460]
call fcn.140020590
lea r8, str.ProgramDataMicrosoftWindowsStart_MenuProgramsZS_AgentExt
lea rdx, [rsp + 0x360]
lea rcx, [0x14032af98]
call fcn.14002bda0
mov qword [rsp + 0x208], rax
mov rax, qword [rsp + 0x208]
mov qword [rsp + 0x70], rax
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0xdf0]
call fcn.140022eb0
nop
lea rcx, [rsp + 0x360]
call fcn.140020590
lea rax, [rsp + 0x240]
mov qword [rsp + 0x218], rax
lea rax, [rsp + 0x228]
mov qword [rsp + 0x150], rax
lea rdx, [0x14025f140]
mov rcx, qword [rsp + 0x218]
call fcn.14001c4e0
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x90], rax
lea rcx, [rsp + 0xdf0]
call fcn.14001bd90
mov rcx, rax
call fcn.140048030
mov rdx, rax
mov rcx, qword [rsp + 0x150]
call fcn.14001c4e0
mov qword [rsp + 0x200], rax
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8, qword [rsp + 0x90]
mov rdx, qword [rsp + 0x200]
lea rcx, [0x14032af98]
call fcn.14002a310
lea rcx, [rsp + 0xdf0]
call fcn.140021b20
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
nop
lea rcx, [rsp + 0xdf0]
call fcn.140020590
lea rdx, [rsp + 0x560]
lea rcx, [0x14032af98]
call fcn.140031460
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x160], rax
mov rcx, qword [rsp + 0x160]
call fcn.14001bd90
mov r9d, 3
xor r8d, r8d
lea rdx, [rsp + 0x2a0]
mov rcx, rax
call fcn.140050980
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x1c0], rax
mov rdx, qword [rsp + 0x1c0]
lea rcx, [rsp + 0x11f0]
call fcn.14001f430
nop
lea rcx, [rsp + 0x2a0]
call fcn.14001f8f0
nop
lea rcx, [rsp + 0x560]
call fcn.140020590
mov rax, qword [rsp + 0x1930]
add rax, 0x790
mov rcx, rax
call fcn.14001bd90
mov rcx, rax
call fcn.140048030
mov r9, rax
lea r8, [0x14025f150]
lea rdx, [rsp + 0x760]
lea rcx, [0x14032af98]
call fcn.14002bda0
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x170], rax
mov rdx, qword [rsp + 0x170]
lea rcx, [rsp + 0x11f0]
call fcn.140022eb0
nop
lea rcx, [rsp + 0x760]
call fcn.140020590
lea rcx, [rsp + 0x11f0]
call fcn.140021b20
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
lea rcx, [rsp + 0x11f0]
call fcn.140020590
mov rax, qword [rsp + 0x1930]
add rax, 0x310
mov rdx, rax
lea rcx, [rsp + 0xd70]
call fcn.14001f3a0
nop
lea rdx, [0x14025f1cc]
lea rcx, [rsp + 0xd70]
call fcn.1400247d0
lea rdx, [0x14025f1d0]
lea rcx, [rsp + 0xd70]
call fcn.140022f20
lea rcx, [rsp + 0xd70]
call fcn.14001bd90
mov rcx, rax
call fcn.140048030
mov r9, rax
lea r8, [0x14025f200]
lea rdx, [rsp + 0x13f0]
lea rcx, [0x14032af98]
call fcn.14002bda0
nop
mov rax, qword [rsp + 0x1930]
add rax, 0x310
mov rdx, rax
lea rcx, [rsp + 0xef0]
call fcn.14001f3a0
nop
lea rdx, [0x14025f1fc]
lea rcx, [rsp + 0xef0]
call fcn.1400247d0
lea rdx, [0x14025f228]
lea rcx, [rsp + 0xef0]
call fcn.140022f20
lea rdx, [rsp + 0x660]
lea rcx, [0x14032af98]
call fcn.140031460
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0x1f0], rax
mov rcx, qword [rsp + 0x1f0]
call fcn.14001bd90
mov r9d, 3
xor r8d, r8d
lea rdx, [rsp + 0x2d0]
mov rcx, rax
call fcn.140050980
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0x180], rax
mov rdx, qword [rsp + 0x180]
lea rcx, [rsp + 0x1170]
call fcn.14001f430
nop
lea rcx, [rsp + 0x2d0]
call fcn.14001f8f0
nop
lea rcx, [rsp + 0x660]
call fcn.140020590
mov rax, qword [rsp + 0x1930]
add rax, 0x790
mov rcx, rax
call fcn.14001bd90
mov rcx, rax
call fcn.140048030
mov r9, rax
lea r8, [0x14025f260]
lea rdx, [rsp + 0x3e0]
lea rcx, [0x14032af98]
call fcn.14002bda0
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0x1d0], rax
mov rdx, qword [rsp + 0x1d0]
lea rcx, [rsp + 0x1170]
call fcn.140022eb0
nop
lea rcx, [rsp + 0x3e0]
call fcn.140020590
lea rax, [rsp + 0xae0]
mov qword [rsp + 0x100], rax
lea rdx, [rsp + 0xef0]
mov rcx, qword [rsp + 0x100]
call fcn.14001f3a0
mov qword [rsp + 0x190], rax
mov rax, qword [rsp + 0x190]
mov qword [rsp + 0x110], rax
lea rcx, [rsp + 0x1170]
call fcn.140021b20
mov qword [rsp + 0x210], rax
lea rcx, [rsp + 0x13f0]
call fcn.140021b20
nop
mov r9, qword [rsp + 0x110]
mov rcx, qword [rsp + 0x210]
mov r8, rcx
mov rdx, rax
lea rcx, [0x14032aff0]
call fcn.140028150
nop
lea rcx, [rsp + 0x1170]
call fcn.140020590
nop
lea rcx, [rsp + 0xef0]
call fcn.140020590
nop
lea rcx, [rsp + 0x13f0]
call fcn.140020590
nop
lea rcx, [rsp + 0xd70]
call fcn.140020590
mov rax, qword [rsp + 0x1930]
add rax, 0x310
mov rdx, rax
lea rcx, [rsp + 0xf70]
call fcn.14001f3a0
nop
lea rdx, [0x14025f224]
lea rcx, [rsp + 0xf70]
call fcn.1400247d0
lea rdx, str.ToolsAgentExtReg.exe
lea rcx, [rsp + 0xf70]
call fcn.140022f20
lea rcx, [rsp + 0xf70]
call fcn.14001bd90
mov rcx, rax
call fcn.140048030
mov r9, rax
lea r8, [0x14025f310]
lea rdx, [rsp + 0x15f0]
lea rcx, [0x14032af98]
call fcn.14002bda0
nop
mov rax, qword [rsp + 0x1930]
add rax, 0x310
mov rdx, rax
lea rcx, [rsp + 0xe70]
call fcn.14001f3a0
nop
lea rdx, [0x14025f30c]
lea rcx, [rsp + 0xe70]
call fcn.1400247d0
lea rdx, [0x14025f338]
lea rcx, [rsp + 0xe70]
call fcn.140022f20
mov qword [rsp + 0xbe0], 0
lea r8, [rsp + 0xbe0]
mov edx, 0x19
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jl 0x140060e0f
xor eax, eax
mov word [rsp + 0x16f0], ax
lea rax, [rsp + 0x16f2]
mov rdi, rax
xor eax, eax
mov ecx, 0x206
rep stosb byte [rdi], al
lea rdx, [rsp + 0x16f0]
mov rcx, qword [rsp + 0xbe0]
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x140060e0f
lea rdx, [0x14025f380]
lea rcx, [rsp + 0x16f0]
call fcn.14001c200
lea rdx, [rsp + 0x16f0]
lea rcx, [rsp + 0x14f0]
call fcn.14001f4b0
nop
lea rax, [rsp + 0xa60]
mov qword [rsp + 0x120], rax
lea rdx, [rsp + 0xe70]
mov rcx, qword [rsp + 0x120]
call fcn.14001f3a0
mov qword [rsp + 0x1a0], rax
mov rax, qword [rsp + 0x1a0]
mov qword [rsp + 0x130], rax
lea rcx, [rsp + 0x14f0]
call fcn.140021b20
mov qword [rsp + 0x1e0], rax
lea rcx, [rsp + 0x15f0]
call fcn.140021b20
nop
mov r9, qword [rsp + 0x130]
mov rcx, qword [rsp + 0x1e0]
mov r8, rcx
mov rdx, rax
lea rcx, [0x14032aff0]
call fcn.140028150
nop
lea rcx, [rsp + 0x14f0]
call fcn.140020590
nop
lea rcx, [rsp + 0xe70]
call fcn.140020590
nop
lea rcx, [rsp + 0x15f0]
call fcn.140020590
nop
lea rcx, [rsp + 0xf70]
call fcn.140020590
mov rax, qword [rsp + 0x1930]
add rax, 0x310
mov rdx, rax
lea rcx, [rsp + 0xff0]
call fcn.14001f3a0
nop
lea rdx, [0x14025f334]
lea rcx, [rsp + 0xff0]
call fcn.1400247d0
lea rdx, [0x14025f400]
lea rcx, [rsp + 0xff0]
call fcn.140022f20
lea rcx, [rsp + 0xff0]
call fcn.14001bd90
mov rcx, rax
call fcn.140048030
mov r9, rax
lea r8, [0x14025f498]
lea rdx, [rsp + 0x1470]
lea rcx, [0x14032af98]
call fcn.14002bda0
nop
mov rax, qword [rsp + 0x1930]
add rax, 0x310
mov rdx, rax
lea rcx, [rsp + 0x1070]
call fcn.14001f3a0
nop
lea rdx, [0x14025f36c]
lea rcx, [rsp + 0x1070]
call fcn.1400247d0
lea rdx, str.res_skinuninstaller_72px.ico
lea rcx, [rsp + 0x1070]
call fcn.140022f20
lea rdx, [rsp + 0x4e0]
lea rcx, [0x14032af98]
call fcn.140031460
mov qword [rsp + 0x140], rax
mov rax, qword [rsp + 0x140]
mov qword [rsp + 0x1b0], rax
mov rcx, qword [rsp + 0x1b0]
call fcn.14001bd90
mov r9d, 3
xor r8d, r8d
lea rdx, [rsp + 0x280]
mov rcx, rax
call fcn.140050980
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x88], rax
mov rdx, qword [rsp + 0x88]
lea rcx, [rsp + 0xcf0]
call fcn.14001f430
nop
lea rcx, [rsp + 0x280]
call fcn.14001f8f0
nop
lea rcx, [rsp + 0x4e0]
call fcn.140020590
mov rax, qword [rsp + 0x1930]
add rax, 0x790
mov rcx, rax
call fcn.14001bd90
mov rcx, rax
call fcn.140048030
mov r9, rax
lea r8, [0x14025f530]
lea rdx, [rsp + 0x5e0]
lea rcx, [0x14032af98]
call fcn.14002bda0
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0xa8], rax
mov rdx, qword [rsp + 0xa8]
lea rcx, [rsp + 0xcf0]
call fcn.140022eb0
nop
lea rcx, [rsp + 0x5e0]
call fcn.140020590
lea rax, [rsp + 0x960]
mov qword [rsp + 0xb8], rax
lea rdx, [rsp + 0x1070]
mov rcx, qword [rsp + 0xb8]
call fcn.14001f3a0
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0xd8], rax
lea rcx, [rsp + 0xcf0]
call fcn.140021b20
mov qword [rsp + 0xe8], rax
lea rcx, [rsp + 0x1470]
call fcn.140021b20
nop
mov r9, qword [rsp + 0xd8]
mov rcx, qword [rsp + 0xe8]
mov r8, rcx
mov rdx, rax
lea rcx, [0x14032aff0]
call fcn.140028150
test eax, eax
je 0x140061105
lea r9, str.InstallDlg.cpp:CInstallDlg::SetStartupMenu__:Line_1413
xor r8d, r8d
mov edx, 1
lea rcx, [rsp + 0x2c0]
call fcn.140038d20
lea rcx, [rsp + 0x230]
mov rdi, rcx
mov rsi, rax
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetDim
rep movsb byte [rdi], byte [rsi]
xor edx, edx
lea rcx, [rsp + 0xcf0]
call fcn.14002f250
lea rcx, [rsp + 0x250]
lea rdx, [rsp + 0x230]
mov rdi, rcx
mov rsi, rdx
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetDim
rep movsb byte [rdi], byte [rsi]
mov r8, rax
lea rdx, [0x14025f5c0]
lea rcx, [rsp + 0x250]
call fcn.14003b980
jmp 0x140061189
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x34], eax
lea r9, str.InstallDlg.cpp:CInstallDlg::SetStartupMenu__:Line_1418
xor r8d, r8d
mov edx, 3
lea rcx, [rsp + 0x330]
call fcn.140038d20
lea rcx, [rsp + 0x270]
mov rdi, rcx
mov rsi, rax
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetDim
rep movsb byte [rdi], byte [rsi]
xor edx, edx
lea rcx, [rsp + 0xcf0]
call fcn.14002f250
lea rcx, [rsp + 0x260]
lea rdx, [rsp + 0x270]
mov rdi, rcx
mov rsi, rdx
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetDim
rep movsb byte [rdi], byte [rsi]
mov r9d, dword [rsp + 0x34]
mov r8, rax
lea rdx, str._tStart_Menu___s_
lea rcx, [rsp + 0x260]
call fcn.14003b980
nop
lea rcx, [rsp + 0xcf0]
call fcn.140020590
nop
lea rcx, [rsp + 0x1070]
call fcn.140020590
nop
lea rcx, [rsp + 0x1470]
call fcn.140020590
nop
lea rcx, [rsp + 0xff0]
call fcn.140020590
mov rax, qword [rsp + 0x1930]
add rax, 0x310
mov rdx, rax
lea rcx, [rsp + 0xc70]
call fcn.14001f3a0
nop
lea rdx, [0x14025f37c]
lea rcx, [rsp + 0xc70]
call fcn.1400247d0
lea rdx, [0x14025f6a0]
lea rcx, [rsp + 0xc70]
call fcn.140022f20
lea rdx, [rsp + 0xc70]
lea rcx, [0x14032afa8]
call fcn.1400254b0
test eax, eax
je 0x14006142c
lea rcx, [rsp + 0xc70]
call fcn.14001bd90
mov rcx, rax
call fcn.140048030
mov r9, rax
lea r8, str.__s___remote_assistance_helper_
lea rdx, [rsp + 0x1670]
lea rcx, [0x14032af98]
call fcn.14002bda0
nop
lea rdx, [rsp + 0xc70]
lea rcx, [rsp + 0x12f0]
call fcn.14001f3a0
nop
lea rdx, [rsp + 0x6e0]
lea rcx, [0x14032af98]
call fcn.140031460
mov qword [rsp + 0xf8], rax
mov rax, qword [rsp + 0xf8]
mov qword [rsp + 0x108], rax
mov rcx, qword [rsp + 0x108]
call fcn.14001bd90
mov r9d, 3
xor r8d, r8d
lea rdx, [rsp + 0x310]
mov rcx, rax
call fcn.140050980
mov qword [rsp + 0x118], rax
mov rax, qword [rsp + 0x118]
mov qword [rsp + 0x128], rax
mov rdx, qword [rsp + 0x128]
lea rcx, [rsp + 0x10f0]
call fcn.14001f430
nop
lea rcx, [rsp + 0x310]
call fcn.14001f8f0
nop
lea rcx, [rsp + 0x6e0]
call fcn.140020590
mov rax, qword [rsp + 0x1930]
add rax, 0x790
mov rcx, rax
call fcn.14001bd90
mov rcx, rax
call fcn.140048030
mov r9, rax
lea r8, [0x14025f770]
lea rdx, [rsp + 0x7e0]
lea rcx, [0x14032af98]
call fcn.14002bda0
mov qword [rsp + 0x138], rax
mov rax, qword [rsp + 0x138]
mov qword [rsp + 0x148], rax
mov rdx, qword [rsp + 0x148]
lea rcx, [rsp + 0x10f0]
call fcn.140022eb0
nop
lea rcx, [rsp + 0x7e0]
call fcn.140020590
lea rax, [rsp + 0xb60]
mov qword [rsp + 0x158], rax
lea rdx, [rsp + 0x12f0]
mov rcx, qword [rsp + 0x158]
call fcn.14001f3a0
mov qword [rsp + 0x168], rax
mov rax, qword [rsp + 0x168]
mov qword [rsp + 0x178], rax
lea rcx, [rsp + 0x10f0]
call fcn.140021b20
mov qword [rsp + 0x188], rax
lea rcx, [rsp + 0x1670]
call fcn.140021b20
nop
mov r9, qword [rsp + 0x178]
mov rcx, qword [rsp + 0x188]
mov r8, rcx
mov rdx, rax
lea rcx, [0x14032aff0]
call fcn.140028150
nop
lea rcx, [rsp + 0x10f0]
call fcn.140020590
nop
lea rcx, [rsp + 0x12f0]
call fcn.140020590
nop
lea rcx, [rsp + 0x1670]
call fcn.140020590
nop
lea rcx, [rsp + 0xc70]
call fcn.140020590
mov rax, qword [rsp + 0x1930]
add rax, 0x310
mov rdx, rax
lea rcx, [rsp + 0xbf0]
call fcn.14001f3a0
nop
lea rdx, [0x14025f3fc]
lea rcx, [rsp + 0xbf0]
call fcn.1400247d0
lea rdx, str.RemoteAssistanceRemoteAssistanceTools.exe
lea rcx, [rsp + 0xbf0]
call fcn.140022f20
lea rdx, [rsp + 0xbf0]
lea rcx, [0x14032afa8]
call fcn.1400254b0
test eax, eax
je 0x140061687
lea rcx, [rsp + 0xbf0]
call fcn.14001bd90
mov rcx, rax
call fcn.140048030
mov r9, rax
lea r8, str.__s___remote_assistance_assisted_
lea rdx, [rsp + 0x1570]
lea rcx, [0x14032af98]
call fcn.14002bda0
nop
lea rdx, [rsp + 0xbf0]
lea rcx, [rsp + 0x1370]
call fcn.14001f3a0
nop
lea rdx, [rsp + 0x8e0]
lea rcx, [0x14032af98]
call fcn.140031460
mov qword [rsp + 0x198], rax
mov rax, qword [rsp + 0x198]
mov qword [rsp + 0x1a8], rax
mov rcx, qword [rsp + 0x1a8]
call fcn.14001bd90
mov r9d, 3
xor r8d, r8d
lea rdx, [rsp + 0x340]
mov rcx, rax
call fcn.140050980
mov qword [rsp + 0x1b8], rax
mov rax, qword [rsp + 0x1b8]
mov qword [rsp + 0x1c8], rax
mov rdx, qword [rsp + 0x1c8]
lea rcx, [rsp + 0x1270]
call fcn.14001f430
nop
lea rcx, [rsp + 0x340]
call fcn.14001f8f0
nop
lea rcx, [rsp + 0x8e0]
call fcn.140020590
mov rax, qword [rsp + 0x1930]
add rax, 0x790
mov rcx, rax
call fcn.14001bd90
mov rcx, rax
call fcn.140048030
mov r9, rax
lea r8, str.ProgramDataMicrosoftWindowsStart_MenuPrograms_s_
lea rdx, [rsp + 0x860]
lea rcx, [0x14032af98]
call fcn.14002bda0
mov qword [rsp + 0x1d8], rax
mov rax, qword [rsp + 0x1d8]
mov qword [rsp + 0x38], rax
mov rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0x1270]
call fcn.140022eb0
nop
lea rcx, [rsp + 0x860]
call fcn.140020590
lea rax, [rsp + 0x9e0]
mov qword [rsp + 0x40], rax
lea rdx, [rsp + 0x1370]
mov rcx, qword [rsp + 0x40]
call fcn.14001f3a0
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x58], rax
lea rcx, [rsp + 0x1270]
call fcn.140021b20
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x1570]
call fcn.140021b20
nop
mov r9, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x68]
mov r8, rcx
mov rdx, rax
lea rcx, [0x14032aff0]
call fcn.140028150
nop
lea rcx, [rsp + 0x1270]
call fcn.140020590
nop
lea rcx, [rsp + 0x1370]
call fcn.140020590
nop
lea rcx, [rsp + 0x1570]
call fcn.140020590
nop
lea rcx, [rsp + 0xbf0]
call fcn.140020590
lea rcx, [0x14032aff0]
call fcn.14002b600
mov rcx, qword [rsp + 0x1900]
xor rcx, rsp
call fcn.1401fe250
add rsp, 0x1918
pop rdi
pop rsi
ret