Function at 0x140014f20
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x7b8]
sub rsp, 0x8b0
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
mov rax, qword [0x140260d50]
xor rax, rsp
mov qword [rbp + 0x7a0], rax
xor r8d, r8d
lea rdx, str.Tool_CheckCopyUninstall
lea rcx, [rsp + 0x48]
call fcn.14000b870
nop
call fcn.140050920
mov rsi, qword [rax + 8]
xor ebx, ebx
mov rdx, qword [rsi + 0x90]
lea rcx, [rsp + 0x30]
call fcn.140001110
nop
mov rcx, qword [rsp + 0x30]
movsxd rdi, dword [rcx - 0x10]
test edi, edi
jns 0x140014fa6
mov ecx, 0x80070057
call fcn.140001000
int3
mov r12d, 1
mov edx, r12d
sub edx, dword [rcx - 8]
mov eax, dword [rcx - 0xc]
sub eax, edi
or eax, edx
jge 0x140014fcc
mov edx, edi
lea rcx, [rsp + 0x30]
call fcn.1400015c0
mov rcx, qword [rsp + 0x30]
lea eax, [rdi + 1]
movsxd rdx, eax
call fcn.14019178c
mov r11, qword [rsp + 0x30]
cmp edi, dword [r11 - 0xc]
jg 0x140015246
mov dword [r11 - 0x10], edi
mov rax, qword [rsp + 0x30]
mov word [rax + rdi*2], bx
mov rcx, qword [rsp + 0x30]
cmp dword [rcx - 0x10], 0
jl 0x140015020
lea rdx, str._ncopy
call fcn.140190f4c
test rax, rax
je 0x140015020
sub rax, qword [rsp + 0x30]
sar rax, 1
cmp eax, 0xffffffff
jne 0x1400151fc
mov word [rbp + 0x590], bx
xor edx, edx
mov r8d, 0x206
lea rcx, [rbp + 0x592]
call fcn.140193010
mov word [rsp + 0x60], bx
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x62]
call fcn.140193010
mov word [rbp + 0x380], bx
xor edx, edx
mov r8d, 0x206
lea rcx, [rbp + 0x382]
call fcn.140193010
lea r8, [rbp + 0x380]
lea rdx, [0x1402145dc]
mov rcx, rsi
call fcn.140034fe0
lea rdx, [rbp + 0x380]
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
lea rcx, [rsp + 0x60]
call qword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea rdx, str.Uninst.ini
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
lea r11, [rsp + 0x60]
mov qword [rsp + 0x28], r11
mov dword [rsp + 0x20], 0x104
lea r9, [rbp + 0x590]
lea r8, str.item_not_found__
lea rdx, str.PDL_NAME
lea rcx, str.Profiles
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea rdx, str.item_not_found__
lea rcx, [rbp + 0x590]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x1400151fc
mov qword [rsp + 0x40], rbx
mov word [rbp + 0x170], bx
xor edx, edx
mov r8d, 0x206
lea rcx, [rbp + 0x172]
call fcn.140193010
mov dword [rsp + 0x3c], 0x104
mov dword [rsp + 0x38], r12d
lea rdx, str.SOFTWARECanonPrnUninst
lea rcx, [rbp + 0x170]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
lea rcx, [rbp + 0x170]
call qword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea rdx, [rbp + 0x590]
lea rcx, [rbp + 0x170]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
lea r11, [rsp + 0x40]
mov qword [rsp + 0x20], r11
mov r9d, 0x20019
xor r8d, r8d
lea rdx, [rbp + 0x170]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400151fc
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x38]
xor r8d, r8d
lea rdx, str.exePath
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400151f1
lea rcx, [rsp + 0x60]
call qword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea rcx, [rbp + 0x380]
call qword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea rdx, [rbp + 0x380]
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
cmove ebx, r12d
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r9d, ebx
lea r8, str.return___08x
mov edx, 2
lea rcx, [rsp + 0x48]
call fcn.14000ba50
nop
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
or ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
dec ecx
test ecx, ecx
jg 0x140015238
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
nop
lea rcx, [rsp + 0x48]
call fcn.14000ba00
mov eax, ebx
jmp 0x140015251
mov ecx, 0x80070057
call fcn.140001000
nop
mov rcx, qword [rbp + 0x7a0]
xor rcx, rsp
call fcn.14018e5d0
lea r11, [rsp + 0x8b0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r12, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret