Function at 0x1400608c0
Capabilities:
Copy file
Delete file
Set file attributes

Disassembly:
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x3ab0]
mov eax, 0x3bb0
call fcn.14024c240
sub rsp, rax
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov qword [rsp + 0x3be0], rbx
mov qword [rsp + 0x3be8], rsi
mov qword [rsp + 0x3bf0], rdi
mov rax, qword [0x140398250]
xor rax, rsp
mov qword [rbp + 0x3aa0], rax
mov r12d, edx
xor r8d, r8d
lea rdx, str.CBaseFuncMgr::FN_CreateUnInstShortCut
lea rcx, [rsp + 0x50]
call fcn.1400075a0
nop
xor r14d, r14d
mov esi, r14d
mov word [rbp + 0x850], r14w
xor edx, edx
mov r8d, 0x206
lea rcx, [rbp + 0x852]
call fcn.14024b970
mov word [rbp + 0x220], r14w
xor edx, edx
mov r8d, 0x206
lea rcx, [rbp + 0x222]
call fcn.14024b970
mov dword [rsp + 0x60], r14d
test r12d, r12d
jne 0x1400609c9
cmp dword [0x1403b97b8], r14d
je 0x1400609c9
mov rcx, qword [0x1403b9750]
mov rax, qword [rcx]
call qword [rax + 0x68]
mov rdi, qword [rax]
lea rdx, [rsp + 0x60]
mov rcx, rax
call qword [rdi + 0x88]
cmp dword [rsp + 0x60], 0x3c
jb 0x1400609c9
xor r9d, r9d
lea r8, str.return__08x
lea edx, [r14 + 2]
lea rcx, [rsp + 0x50]
call fcn.140007780
nop
lea rcx, [rsp + 0x50]
call fcn.140007730
xor eax, eax
jmp 0x140061541
mov rcx, qword [0x1403b9750]
mov rax, qword [rcx]
call qword [rax + 0x48]
mov rdi, qword [rax]
lea r8, [rbp + 0x1aa0]
lea rdx, str.SOURCEDIR
mov rcx, rax
call qword [rdi + 0x18]
lea rcx, [rbp + 0x1aa0]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsxd rcx, eax
cmp word [rbp + rcx*2 + 0x1a9e], 0x5c
je 0x140060a1c
lea rdx, [0x1402e5094]
lea rcx, [rbp + 0x1aa0]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
lea r9, str.UNINSTAL.exe
lea r8, [rbp + 0x1aa0]
lea rdx, [0x1402e3978]
lea rcx, [rbp + 0x1890]
call qword [sym.imp.USER32.dll_wsprintfW]
lea r9, str.Uninst.ini
lea r8, [rbp + 0x1aa0]
lea rdx, [0x1402e3978]
lea rcx, [rbp + 0xc70]
call qword [sym.imp.USER32.dll_wsprintfW]
lea r9, str.InsCmn.dll
lea r8, [rbp + 0x1aa0]
lea rdx, [0x1402e3978]
lea rcx, [rbp + 0x850]
call qword [sym.imp.USER32.dll_wsprintfW]
mov rbx, r14
mov qword [rbp - 0x70], 7
mov qword [rbp - 0x78], r14
mov word [rsp + 0x78], r14w
lea rax, vtable.CBaseInfoUninstIni.0
mov qword [rsp + 0x70], rax
mov qword [rbp - 0x48], 7
mov qword [rbp - 0x50], r14
mov word [rbp - 0x60], r14w
or r8, 0xffffffffffffffff
xor edx, edx
lea rcx, [rbp - 0x60]
call fcn.1400020a0
nop
lea r15, vtable.CPDLInfoUninstIni.0
mov qword [rsp + 0x70], r15
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0xe80]
call fcn.14024b970
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x430]
call fcn.14024b970
lea rdx, [rbp + 0xc70]
lea rcx, [rsp + 0x70]
call fcn.1400494c0
cmp eax, 1
jne 0x140060b96
lea rdi, [0x1402dc4e0]
mov qword [rsp + 0x20], rdi
lea r9, str.ResourceModule
lea r8, str.ModuleInfo
lea rdx, [rbp - 0x30]
lea rcx, [rsp + 0x70]
mov rax, qword [rsp + 0x70]
call qword [rax + 0x18]
nop
mov rdx, rax
lea rcx, [rbp - 0x60]
call fcn.140015cc0
nop
cmp qword [rbp - 0x18], 8
jb 0x140060b5b
mov rcx, qword [rbp - 0x30]
call fcn.1401026ec
lea rbx, [rbp - 0x60]
cmp qword [rbp - 0x48], 8
cmovae rbx, qword [rbp - 0x60]
mov rdx, rdi
mov rcx, rbx
call fcn.140247088
test eax, eax
je 0x140060b96
mov r9, rbx
lea r8, [rbp + 0x1aa0]
lea rdx, [0x1402e3978]
lea rcx, [rbp + 0xe80]
call qword [sym.imp.USER32.dll_wsprintfW]
mov rcx, qword [0x1403b9750]
mov rax, qword [rcx]
call qword [rax + 0x48]
mov rdi, qword [rax]
lea r8, [rbp + 0x1090]
lea rdx, str.UNINSTALLPATH
mov rcx, rax
call qword [rdi + 0x18]
lea rdx, str.DEFAULT
lea rcx, [rbp + 0x1090]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x140060bf6
mov rcx, qword [0x1403b9750]
mov rax, qword [rcx]
call qword [rax + 0x48]
mov rdi, qword [rax]
lea r8, [rbp + 0x1090]
lea rdx, str.UNINSTALLDEFAULTPATH
mov rcx, rax
call qword [rdi + 0x18]
lea rdx, [rbp + 0x1090]
lea rcx, [rbp + 0x22a0]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
lea rcx, [rbp + 0x1090]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsxd rcx, eax
cmp word [rbp + rcx*2 + 0x108e], 0x5c
je 0x140060c39
lea rdx, [0x1402e5094]
lea rcx, [rbp + 0x1090]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
mov rcx, qword [0x1403b9768]
mov rax, qword [rcx]
lea rdx, [rbp + 0x1090]
call qword [rax + 0x168]
test eax, eax
jne 0x140060ce2
mov qword [rsp + 0x40], r14
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], r14d
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 0x409
mov r8d, edi
xor edx, edx
mov ecx, 0x1300
call qword [sym.imp.KERNEL32.dll_FormatMessageW]
test eax, eax
je 0x140060cbe
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], edi
lea r9, str._t_t_tMakeSureDirectoryPathExists
lea r8, str.ApiName:__s__ErrorCode:__d_:__s
mov edx, 6
lea rcx, [rsp + 0x50]
call fcn.140007780
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x140060cce
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov esi, 0x80010009
mov dword [0x1403b95bc], 9
jmp 0x1400614b6
lea r9, str.UNINSTAL.exe
lea r8, [rbp + 0x1090]
lea rdx, [0x1402e3978]
lea rcx, [rbp + 0x10]
call qword [sym.imp.USER32.dll_wsprintfW]
mov edx, 0x20
lea rcx, [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea rcx, [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
xor r8d, r8d
lea rdx, [rbp + 0x10]
lea rcx, [rbp + 0x1890]
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x140060dbb
mov qword [rsp + 0x40], r14
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], r14d
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 0x409
mov r8d, edi
xor edx, edx
mov ecx, 0x1300
call qword [sym.imp.KERNEL32.dll_FormatMessageW]
test eax, eax
je 0x140060d9c
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], edi
lea r9, str._t_t_tCopyFile
lea r8, str.ApiName:__s__ErrorCode:__d_:__s
mov edx, 6
lea rcx, [rsp + 0x50]
call fcn.140007780
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x140060dac
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov esi, 0x8001000c
mov dword [0x1403b95bc], 0xc
mov edx, 0x20
lea rcx, [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea r9, str.Uninst.ini
lea r8, [rbp + 0x1090]
lea rdx, [0x1402e3978]
lea rcx, [rbp + 0x640]
call qword [sym.imp.USER32.dll_wsprintfW]
mov edx, 0x20
lea rcx, [rbp + 0x640]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea rcx, [rbp + 0x640]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
xor r8d, r8d
lea rdx, [rbp + 0x640]
lea rcx, [rbp + 0xc70]
call qword [sym.imp.KERNEL32.dll_CopyFileW]
mov r9, rbx
lea r8, [rbp + 0x1090]
lea rdx, [0x1402e3978]
lea rcx, [rbp + 0x430]
call qword [sym.imp.USER32.dll_wsprintfW]
mov edx, 0x20
lea rcx, [rbp + 0x430]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea rcx, [rbp + 0x430]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
xor r8d, r8d
lea rdx, [rbp + 0x430]
lea rcx, [rbp + 0xe80]
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x140060f03
mov qword [rsp + 0x40], r14
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], r14d
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 0x409
mov r8d, edi
xor edx, edx
mov ecx, 0x1300
call qword [sym.imp.KERNEL32.dll_FormatMessageW]
test eax, eax
je 0x140060ee4
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], edi
lea r9, str._t_t_tCopyFile
lea r8, str.ApiName:__s__ErrorCode:__d_:__s
mov edx, 6
lea rcx, [rsp + 0x50]
call fcn.140007780
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x140060ef4
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov esi, 0x8001000c
mov dword [0x1403b95bc], 0xc
mov edx, 0x20
lea rcx, [rbp + 0x430]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea r9, str.InsCmn.dll
lea r8, [rbp + 0x1090]
lea rdx, [0x1402e3978]
lea rcx, [rbp + 0x220]
call qword [sym.imp.USER32.dll_wsprintfW]
mov edx, 0x20
lea rcx, [rbp + 0x220]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea rcx, [rbp + 0x220]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
xor r8d, r8d
lea rdx, [rbp + 0x220]
lea rcx, [rbp + 0x850]
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x140060ffa
mov qword [rsp + 0x40], r14
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], r14d
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 0x409
mov r8d, edi
xor edx, edx
mov ecx, 0x1300
call qword [sym.imp.KERNEL32.dll_FormatMessageW]
test eax, eax
je 0x140060fdb
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], edi
lea r9, str._t_t_tCopyFile
lea r8, str.ApiName:__s__ErrorCode:__d_:__s
mov edx, 6
lea rcx, [rsp + 0x50]
call fcn.140007780
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x140060feb
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov esi, 0x8001000c
mov dword [0x1403b95bc], 0xc
mov edx, 0x20
lea rcx, [rbp + 0x220]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test esi, esi
jne 0x1400614b6
lea edx, [rsi + 0x20]
lea rcx, [rbp + 0x640]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov rcx, qword [0x1403b9750]
mov rax, qword [rcx]
call qword [rax + 0x48]
mov rdi, qword [rax]
lea r8, [rbp + 0x2aa0]
lea rdx, str.UninstallerRegKeyName
mov rcx, rax
call qword [rdi + 0x18]
lea r9, [rbp + 0x2aa0]
lea r8, str.SOFTWARECanonPrnUninst
lea rdx, [0x1402dd6b0]
lea rcx, [rbp + 0xa60]
call qword [sym.imp.USER32.dll_wsprintfW]
mov rcx, qword [0x1403b9768]
mov rax, qword [rcx]
mov qword [rsp + 0x28], r14
lea rdx, [rsp + 0x48]
mov qword [rsp + 0x20], rdx
mov r9d, 0xf003f
lea r8, [rbp + 0xa60]
mov rdx, 0xffffffff80000002
call qword [rax + 0xf8]
test eax, eax
jne 0x140061178
call fcn.140024580
test eax, eax
je 0x1400610f4
mov r10, qword [0x1403b9768]
mov r11, qword [r10]
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rbp + 0x10]
repne scasw ax, word [rdi]
not rcx
lea eax, [rcx + rcx]
mov dword [rsp + 0x28], eax
lea rax, [rbp + 0x10]
mov qword [rsp + 0x20], rax
lea r9d, [rsi + 1]
lea r8, str.exePath
mov rdx, qword [rsp + 0x48]
mov rcx, r10
call qword [r11 + 0x110]
jmp 0x14006113a
mov rdi, qword [0x1403b9768]
mov rbx, qword [rdi]
lea rcx, [rbp + 0x22a0]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [rax + rax + 2]
mov dword [rsp + 0x28], eax
lea rax, [rbp + 0x22a0]
mov qword [rsp + 0x20], rax
mov r9d, 1
lea r8, str.exePath
mov rdx, qword [rsp + 0x48]
mov rcx, rdi
call qword [rbx + 0x110]
test eax, eax
je 0x14006115e
lea rdx, str._t_t_tRegSetValueEx
lea rcx, [rsp + 0x50]
call fcn.140029dc0
mov esi, 0x80010025
mov dword [0x1403b95bc], 0x25
mov rcx, qword [0x1403b9768]
mov rax, qword [rcx]
mov rdx, qword [rsp + 0x48]
call qword [rax + pe_nt_image_headers64]
jmp 0x1400611fd
mov qword [rsp + 0x40], r14
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], r14d
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 0x409
mov r8d, edi
xor edx, edx
mov ecx, 0x1300
call qword [sym.imp.KERNEL32.dll_FormatMessageW]
test eax, eax
je 0x1400611de
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], edi
lea r9, str._t_t_tRegCreateKeyEx
lea r8, str.ApiName:__s__ErrorCode:__d_:__s
mov edx, 6
lea rcx, [rsp + 0x50]
call fcn.140007780
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x1400611ee
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov esi, 0x80010024
mov dword [0x1403b95bc], 0x24
call fcn.140024580
test eax, eax
jne 0x1400614b6
lea r9, [rbp + 0x2aa0]
lea r8, str.SOFTWAREMicrosoftWindowsCurrentVersion
lea rdx, str._sUninstall_s
lea rcx, [rbp + 0xa60]
call qword [sym.imp.USER32.dll_wsprintfW]
mov rcx, qword [0x1403b9768]
mov rax, qword [rcx]
mov qword [rsp + 0x28], r14
lea rdx, [rsp + 0x48]
mov qword [rsp + 0x20], rdx
mov r9d, 0xf003f
lea r8, [rbp + 0xa60]
mov rdx, 0xffffffff80000002
call qword [rax + 0xf8]
test eax, eax
jne 0x140061496
test esi, esi
jne 0x14006147f
mov rdi, qword [0x1403b9768]
mov rbx, qword [rdi]
lea r13, str.Canon_Inc.
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [rax + rax + 2]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], r13
lea r9d, [rsi + 1]
lea r8, str.Publisher
mov rdx, qword [rsp + 0x48]
mov rcx, rdi
call qword [rbx + 0x110]
test eax, eax
je 0x1400612bf
lea rdx, str._t_t_tRegSetValueEx_Publisher_
jmp 0x140061466
mov rcx, qword [0x1403b9750]
mov rax, qword [rcx]
call qword [rax + 0x48]
mov rdi, qword [rax]
lea r8, [rbp + 0x32a0]
lea rdx, str.UNINST_PDL_MENU
mov rcx, rax
call qword [rdi + 0x18]
mov rdi, qword [0x1403b9768]
mov rbx, qword [rdi]
lea rcx, [rbp + 0x32a0]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [rax + rax + 2]
mov dword [rsp + 0x28], eax
lea rax, [rbp + 0x32a0]
mov qword [rsp + 0x20], rax
mov r9d, 1
lea r8, str.DisplayName
mov rdx, qword [rsp + 0x48]
mov rcx, rdi
call qword [rbx + 0x110]
test eax, eax
je 0x140061339
lea rdx, str._t_t_tRegSetValueEx_DisplayName_
jmp 0x140061466
mov word [rbp - 0x30], r14w
xor eax, eax
mov qword [rbp - 0x2e], rax
mov qword [rbp - 0x26], rax
mov qword [rbp - 0x1e], rax
mov qword [rbp - 0x16], rax
mov qword [rbp - 0xe], rax
mov qword [rbp - 6], rax
mov qword [rbp + 2], rax
mov dword [rbp + 0xa], eax
mov word [rbp + 0xe], ax
mov rcx, qword [0x1403b9768]
mov rax, qword [rcx]
xor r9d, r9d
lea r8, [rbp - 0x30]
lea rdx, [rbp + 0x10]
call qword [rax + 0x98]
mov rdi, qword [0x1403b9768]
mov rbx, qword [rdi]
lea rcx, [rbp - 0x30]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [rax + rax + 2]
mov dword [rsp + 0x28], eax
lea rax, [rbp - 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 1
lea r8, str.DisplayVersion
mov rdx, qword [rsp + 0x48]
mov rcx, rdi
call qword [rbx + 0x110]
test eax, eax
je 0x1400613ce
lea rdx, str._t_t_tRegSetValueEx_DisplayVersion_
jmp 0x140061466
mov rdi, qword [0x1403b9768]
mov rbx, qword [rdi]
lea rcx, [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [rax + rax + 2]
mov dword [rsp + 0x28], eax
lea rax, [rbp + 0x10]
mov qword [rsp + 0x20], rax
mov r9d, 1
lea r8, str.DisplayIcon
mov rdx, qword [rsp + 0x48]
mov rcx, rdi
call qword [rbx + 0x110]
test eax, eax
je 0x14006141b
lea rdx, str._t_t_tRegSetValueEx_DisplayIcon_
jmp 0x140061466
mov rdi, qword [0x1403b9768]
mov rbx, qword [rdi]
lea rcx, [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [rax + rax + 2]
mov dword [rsp + 0x28], eax
lea rax, [rbp + 0x10]
mov qword [rsp + 0x20], rax
mov r9d, 1
lea r8, str.UninstallString
mov rdx, qword [rsp + 0x48]
mov rcx, rdi
call qword [rbx + 0x110]
test eax, eax
je 0x14006147f
lea rdx, str._t_t_tRegSetValueEx_UninstallString_
lea rcx, [rsp + 0x50]
call fcn.140029dc0
mov esi, 0x80010025
mov dword [0x1403b95bc], 0x25
mov rcx, qword [0x1403b9768]
mov rax, qword [rcx]
mov rdx, qword [rsp + 0x48]
call qword [rax + pe_nt_image_headers64]
jmp 0x1400614b6
lea rdx, str._t_t_tRegCreateKeyEx
lea rcx, [rsp + 0x50]
call fcn.140029dc0
mov esi, 0x80010024
mov dword [0x1403b95bc], 0x24
mov rcx, qword [0x1403b9750]
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x78]
test eax, eax
je 0x14006150b
test esi, esi
jne 0x14006150b
test r12d, r12d
jne 0x14006150b
mov rcx, qword [0x1403b9750]
mov rax, qword [rcx]
call qword [rax + 0x68]
mov rdi, qword [rax]
lea edx, [rsi + 0x3c]
mov rcx, rax
call qword [rdi + 0x80]
mov rcx, qword [0x1403b9750]
mov rax, qword [rcx]
call qword [rax + 0x48]
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x38]
mov r9d, esi
lea r8, str.return__08x
mov edx, 2
lea rcx, [rsp + 0x50]
call fcn.140007780
nop
mov qword [rsp + 0x70], r15
lea rcx, [rsp + 0x70]
call fcn.1400cc5b0
nop
lea rcx, [rsp + 0x50]
call fcn.140007730
mov eax, esi
mov rcx, qword [rbp + 0x3aa0]
xor rcx, rsp
call fcn.140245660
lea r11, [rsp + 0x3bb0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret