Function at 0x140015430
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 [0x14027bbd0]
xor rax, rsp
mov qword [rbp + 0x7a0], rax
xor r8d, r8d
lea rdx, str.Tool_CheckCopyUninstall
lea rcx, [rsp + 0x48]
call fcn.140017fc0
nop
call fcn.140054cb8
mov rsi, qword [rax + 8]
xor ebx, ebx
mov rdx, qword [rsi + 0x90]
lea rcx, [rsp + 0x30]
call fcn.1400020c0
nop
mov rcx, qword [rsp + 0x30]
movsxd rdi, dword [rcx - 0x10]
test edi, edi
jns 0x1400154b6
mov ecx, 0x80070057
call fcn.140001010
int3
mov r12d, 1
mov edx, r12d
sub edx, dword [rcx - 8]
mov eax, dword [rcx - 0xc]
sub eax, edi
or eax, edx
jge 0x1400154dc
mov edx, edi
lea rcx, [rsp + 0x30]
call fcn.1400018f0
mov rcx, qword [rsp + 0x30]
lea eax, [rdi + 1]
movsxd rdx, eax
call fcn.140196380
mov r11, qword [rsp + 0x30]
cmp edi, dword [r11 - 0xc]
jg 0x14001575c
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 0x140015530
lea rdx, str._ncopy
call fcn.140195de8
test rax, rax
je 0x140015530
sub rax, qword [rsp + 0x30]
sar rax, 1
cmp eax, 0xffffffff
jne 0x140015712
mov word [rbp + 0x590], bx
xor edx, edx
mov r8d, 0x206
lea rcx, [rbp + 0x592]
call fcn.140192cb0
mov word [rsp + 0x60], bx
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x62]
call fcn.140192cb0
mov word [rbp + 0x380], bx
xor edx, edx
mov r8d, 0x206
lea rcx, [rbp + 0x382]
call fcn.140192cb0
mov r9d, 0x104
lea r8, [rbp + 0x380]
lea rdx, [0x1401c6ea8]
mov rcx, rsi
call fcn.140031ac0
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 0x140015712
mov qword [rsp + 0x40], rbx
mov word [rbp + 0x170], bx
xor edx, edx
mov r8d, 0x206
lea rcx, [rbp + 0x172]
call fcn.140192cb0
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 0x140015712
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 0x140015707
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.140017c80
nop
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
or ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
dec ecx
test ecx, ecx
jg 0x14001574e
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
nop
lea rcx, [rsp + 0x48]
call fcn.140018150
mov eax, ebx
jmp 0x140015767
mov ecx, 0x80070057
call fcn.140001010
nop
mov rcx, qword [rbp + 0x7a0]
xor rcx, rsp
call fcn.1401945b0
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