Function at 0x14001eca0
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 [0x14026fdb0]
xor rax, rsp
mov qword [rbp + 0x7a0], rax
xor r8d, r8d
lea rdx, str.Tool_CheckCopyUninstall
lea rcx, [rsp + 0x48]
call fcn.140001190
nop
call fcn.140059f20
mov rsi, qword [rax + 8]
xor ebx, ebx
mov rdx, qword [rsi + 0x90]
lea rcx, [rsp + 0x30]
call fcn.1400054e0
nop
mov rcx, qword [rsp + 0x30]
movsxd rdi, dword [rcx - 0x10]
test edi, edi
jns 0x14001ed26
mov ecx, 0x80070057
call fcn.140004550
int3
mov r12d, 1
mov edx, r12d
sub edx, dword [rcx - 8]
mov eax, dword [rcx - 0xc]
sub eax, edi
or eax, edx
jge 0x14001ed4c
mov edx, edi
lea rcx, [rsp + 0x30]
call fcn.140005ae0
mov rcx, qword [rsp + 0x30]
lea eax, [rdi + 1]
movsxd rdx, eax
call fcn.14019a838
mov r11, qword [rsp + 0x30]
cmp edi, dword [r11 - 0xc]
jg 0x14001efc6
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 0x14001eda0
lea rdx, str._ncopy
call fcn.1401998b4
test rax, rax
je 0x14001eda0
sub rax, qword [rsp + 0x30]
sar rax, 1
cmp eax, 0xffffffff
jne 0x14001ef7c
mov word [rbp + 0x590], bx
xor edx, edx
mov r8d, 0x206
lea rcx, [rbp + 0x592]
call fcn.14019d7c0
mov word [rsp + 0x60], bx
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x62]
call fcn.14019d7c0
mov word [rbp + 0x380], bx
xor edx, edx
mov r8d, 0x206
lea rcx, [rbp + 0x382]
call fcn.14019d7c0
lea r8, [rbp + 0x380]
lea rdx, [0x1402209ac]
mov rcx, rsi
call fcn.14003dc50
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 0x14001ef7c
mov qword [rsp + 0x40], rbx
mov word [rbp + 0x170], bx
xor edx, edx
mov r8d, 0x206
lea rcx, [rbp + 0x172]
call fcn.14019d7c0
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 0x14001ef7c
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 0x14001ef71
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.140001370
nop
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
or ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
dec ecx
test ecx, ecx
jg 0x14001efb8
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
nop
lea rcx, [rsp + 0x48]
call fcn.140001320
mov eax, ebx
jmp 0x14001efd1
mov ecx, 0x80070057
call fcn.140004550
nop
mov rcx, qword [rbp + 0x7a0]
xor rcx, rsp
call fcn.140198b40
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