Function at 0x1400603f0
Capabilities:
Delete directory
Delete file
Delete registry key

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0xe78]
sub rsp, 0xf70
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rdi
mov rax, qword [0x140398250]
xor rax, rsp
mov qword [rbp + 0xe60], rax
mov rdi, rcx
xor r8d, r8d
lea rdx, str.CBaseFuncMgr::FN_DeleteOldInInstForPCL
lea rcx, [rsp + 0x48]
call fcn.1400075a0
nop
mov dword [rsp + 0x40], 0x104
mov dword [rsp + 0x3c], 0x104
movaps xmm0, xmmword [str.SOFTWARECanonPrnUninstPCL_PrinterDriver]
movaps xmmword [rbp - 0x70], xmm0
movaps xmm1, xmmword [0x1402f0b80]
movaps xmmword [rbp - 0x60], xmm1
movaps xmm0, xmmword [0x1402f0b90]
movaps xmmword [rbp - 0x50], xmm0
movaps xmm1, xmmword [0x1402f0ba0]
movaps xmmword [rbp - 0x40], xmm1
movaps xmm0, xmmword [0x1402f0bb0]
movaps xmmword [rbp - 0x30], xmm0
mov eax, dword [0x1402f0bc0]
mov dword [rbp - 0x20], eax
movzx eax, word [0x1402f0bc4]
mov word [rbp - 0x1c], ax
mov rcx, qword [0x1403b9768]
mov rax, qword [rcx]
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x20], rdx
mov r9d, 0xf003f
lea r8, str.SOFTWARECanonPrnUninst
mov rdx, 0xffffffff80000002
call qword [rax + 0xf0]
test eax, eax
jne 0x14006070d
mov rax, qword [str.PCL_PrinterDriver]
mov qword [rsp + 0x60], rax
mov rax, qword [0x1402f0bd0]
mov qword [rsp + 0x68], rax
mov rax, qword [0x1402f0bd8]
mov qword [rsp + 0x70], rax
mov rax, qword [0x1402f0be0]
mov qword [rsp + 0x78], rax
mov eax, dword [reloc.OLEAUT32.dll_VarBstrFromDisp]
mov dword [rbp - 0x80], eax
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x10]
call fcn.14024b970
mov dword [rsp + 0x44], 0x208
mov dword [rsp + 0x38], 1
mov rcx, qword [0x1403b9768]
mov rax, qword [rcx]
lea rdx, [rsp + 0x44]
mov qword [rsp + 0x28], rdx
lea rdx, [rbp - 0x10]
mov qword [rsp + 0x20], rdx
lea r9, [rsp + 0x38]
lea r8, [rsp + 0x60]
mov rdx, qword [rsp + 0x30]
call qword [rax + 0x108]
test eax, eax
jne 0x14006070d
mov rcx, qword [0x1403b9768]
mov rax, qword [rcx]
lea r8, [rsp + 0x60]
mov rdx, qword [rsp + 0x30]
call qword [rax + 0x120]
mov rcx, qword [0x1403b9768]
mov rax, qword [rcx]
mov rdx, qword [rsp + 0x30]
call qword [rax + pe_nt_image_headers64]
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0xc50]
call fcn.14024b970
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x410]
call fcn.14024b970
mov r11, qword [rdi]
mov rcx, rdi
call qword [r11 + 0x18]
mov r9, qword [rax]
lea r8, [rbp + 0xc50]
mov edx, 1
mov rcx, rax
call qword [r9 + 0x118]
mov ebx, eax
mov rdx, qword [rdi]
mov rcx, rdi
call qword [rdx + 0x20]
mov r8, qword [rax]
mov edx, ebx
mov rcx, rax
call qword [r8 + 0x220]
mov rbx, rax
lea r9, str.Canon_Printer_Uninstaller
mov r8, rax
lea rdx, [0x1402dd6b0]
mov rcx, rax
call qword [sym.imp.USER32.dll_wsprintfW]
test rbx, rbx
jne 0x140060630
xor r9d, r9d
lea r8, str._t_t_tShoutCutFolderPath__S_
lea edx, [rbx + 7]
lea rcx, [rsp + 0x48]
call fcn.140007780
jmp 0x14006067a
lea rax, str..LNK
mov qword [rsp + 0x28], rax
lea rax, str.Uninstaller
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x60]
mov r8, rbx
lea rdx, str._s_s__s_s
lea rcx, [rbp + 0x410]
call qword [sym.imp.USER32.dll_wsprintfW]
lea rcx, [rbp + 0x410]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov rcx, rbx
call qword [sym.imp.ole32.dll_CoTaskMemFree]
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0xa40]
call fcn.14024b970
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x620]
call fcn.14024b970
lea r9, str.UNINSTAL.exe
lea r8, [rbp - 0x10]
lea rdx, [0x1402dd6b0]
lea rcx, [rbp + 0xa40]
call qword [sym.imp.USER32.dll_wsprintfW]
lea r9, str.Uninst.ini
lea r8, [rbp - 0x10]
lea rdx, [0x1402dd6b0]
lea rcx, [rbp + 0x620]
call qword [sym.imp.USER32.dll_wsprintfW]
lea rcx, [rbp + 0xa40]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rcx, [rbp + 0x620]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rcx, [rbp - 0x10]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x200]
call fcn.14024b970
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x830]
call fcn.14024b970
mov rcx, qword [0x1403b9768]
mov rax, qword [rcx]
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x20], rdx
mov r9d, 0xf003f
lea r8, [rbp - 0x70]
mov rdx, 0xffffffff80000002
call qword [rax + 0xf0]
test eax, eax
jne 0x140060863
mov rcx, qword [0x1403b9768]
mov rax, qword [rcx]
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x28], rdx
lea rdx, [rbp + 0x200]
mov qword [rsp + 0x20], rdx
lea r9, [rsp + 0x38]
lea r8, str.exePath
mov rdx, qword [rsp + 0x30]
call qword [rax + 0x108]
test eax, eax
jne 0x14006084e
mov rcx, qword [0x1403b9768]
mov rax, qword [rcx]
lea rdx, [rsp + 0x3c]
mov qword [rsp + 0x28], rdx
lea rdx, [rbp + 0x830]
mov qword [rsp + 0x20], rdx
lea r9, [rsp + 0x38]
lea r8, str.IcnPath
mov rdx, qword [rsp + 0x30]
call qword [rax + 0x108]
test eax, eax
jne 0x14006084e
lea rcx, [rbp + 0x830]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea r9, str.UNINSTAL.exe
lea r8, [rbp + 0x200]
lea rdx, [0x1402dd6b0]
lea rcx, [rbp - 0x10]
call qword [sym.imp.USER32.dll_wsprintfW]
lea rcx, [rbp - 0x10]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea r9, str.Uninst.ini
lea r8, [rbp + 0x200]
lea rdx, [0x1402dd6b0]
lea rcx, [rbp - 0x10]
call qword [sym.imp.USER32.dll_wsprintfW]
lea rcx, [rbp - 0x10]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rcx, [rbp + 0x200]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov rcx, qword [0x1403b9768]
mov rax, qword [rcx]
mov rdx, qword [rsp + 0x30]
call qword [rax + pe_nt_image_headers64]
lea rdx, [rbp - 0x70]
mov rcx, 0xffffffff80000002
call qword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
lea r8, [0x1402dc4e0]
mov edx, 2
lea rcx, [rsp + 0x48]
call fcn.140007780
nop
lea rcx, [rsp + 0x48]
call fcn.140007730
mov rcx, qword [rbp + 0xe60]
xor rcx, rsp
call fcn.140245660
lea r11, [rsp + 0xf70]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret