Function at 0x140019000
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xf0
mov rax, qword [0x1402a76c0]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov rdi, r8
mov rbx, rdx
lea rdx, str.UninstUnInstaller::DeleteSoftwareReg
lea rcx, [rbp - 0x39]
call fcn.14001abe0
nop
lea r13, [0x1402a8360]
lea r15, [0x1402bbdb0]
mov rcx, qword [0x1402a8360]
cmp rcx, r13
je 0x140019089
test byte [rcx + 0x1c], 1
je 0x140019089
mov r9, r15
cmp qword [0x1402bbdc8], 8
cmovae r9, qword [0x1402bbdb0]
mov edx, 0xa
lea r8, [0x1402526c0]
mov rcx, qword [rcx + 0x10]
call fcn.140001ad0
lea rax, vtable.CMap_class_ATL::CStringT_unsigned_short_int__class_StrTraitMFC_unsigned_short_int__class_ATL::ChTraitsCRT_unsigned_short_int_____unsigned_short_int_const____ptr64__unsigned_char____ptr64__unsigned_char____ptr64_.0
mov qword [rsp + 0x48], rax
xor r12d, r12d
mov qword [rbp - 0x79], r12
mov dword [rbp - 0x71], reloc.COMCTL32.dll_InitCommonControls
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x69], xmm0
movdqa xmm1, xmmword [0x14026f400]
movdqa xmmword [rbp - 0x59], xmm1
mov qword [rbp - 0x49], r12
mov qword [rbp - 0x41], r12
lfence
lea ecx, [r12 + 0x48]
call fcn.1401baa78
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rbp - 0x49], rax
mov qword [rsp + 0x40], r12
mov r8, rdi
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.140008090
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x140019123
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x40]
test eax, eax
cmove rcx, r12
mov qword [rsp + 0x40], rcx
mov rcx, qword [rbp - 0x69]
mov rax, rcx
neg rax
sbb rdi, rdi
test rcx, rcx
je 0x14001927e
nop dword [rax]
call fcn.1401bb0c4
mov rcx, rax
test rax, rax
je 0x140019485
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x1400136d6.0]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x30], rbx
mov r9, qword [rbp - 0x79]
test r9, r9
je 0x14001947f
mov rsi, rdi
test rdi, rdi
je 0x14001947f
mov r8d, dword [rbp - 0x71]
cmp rdi, 0xffffffffffffffff
jne 0x1400191ad
mov ecx, r12d
test r8d, r8d
je 0x1400191ad
mov eax, ecx
mov rsi, qword [r9 + rax*8]
test rsi, rsi
jne 0x1400191ad
inc ecx
cmp ecx, r8d
jb 0x140019192
test rsi, rsi
je 0x14001947f
mov rdi, qword [rsi + 0x10]
test rdi, rdi
jne 0x1400191d5
xor edx, edx
mov eax, dword [rsi + 0x18]
div r8d
inc edx
cmp edx, r8d
jae 0x1400191d5
mov rdi, qword [r9 + rdx*8]
test rdi, rdi
jne 0x1400191d5
inc edx
cmp edx, r8d
jb 0x1400191c5
mov rdx, qword [rsi]
lea rcx, [rdx - 0x18]
lea r14, [rbx - 0x18]
cmp rcx, r14
je 0x140019240
cmp dword [r14 + 0x10], 0
jl 0x14001922d
mov rax, qword [r14]
cmp qword [rcx], rax
jne 0x14001922d
call fcn.140004d00
mov rbx, rax
mov ecx, 0xffffffff
lock xadd dword [r14 + 0x10], ecx
sub ecx, 1
jg 0x140019222
lfence
mov rcx, qword [r14]
mov r8, qword [rcx]
mov rdx, r14
mov rax, qword [r8 + 8]
call qword [case.0x1400136d6.0]
add rbx, 0x18
mov qword [rsp + 0x30], rbx
jmp 0x140019240
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x30]
call fcn.140004e60
mov rbx, qword [rsp + 0x30]
mov rcx, qword [rsi + 8]
test rcx, rcx
je 0x14001924f
call fcn.1400079c0
nop
lea rdx, [rbx - 0x18]
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140019275
lfence
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x1400136d6.0]
test rdi, rdi
jne 0x140019140
mov rcx, qword [rbp - 0x79]
test rcx, rcx
je 0x1400192e8
mov edi, r12d
mov edx, dword [rbp - 0x71]
test edx, edx
je 0x1400192df
mov eax, edi
mov rbx, qword [rcx + rax*8]
test rbx, rbx
je 0x1400192d9
nop dword [rax]
mov rdx, qword [rbx]
sub rdx, 0x18
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400192c9
lfence
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x1400136d6.0]
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x1400192a0
mov edx, dword [rbp - 0x71]
mov rcx, qword [rbp - 0x79]
inc edi
cmp edi, edx
jb 0x140019291
call fcn.1400079c0
mov qword [rbp - 0x79], r12
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x69], xmm0
mov rcx, qword [rbp - 0x59]
call fcn.1401bc020
mov qword [rbp - 0x59], r12
mov rbx, qword [rbp - 0x49]
mov r8, qword [rbx + 8]
lea rdx, [rbp - 0x49]
lea rcx, [rbp - 0x49]
call fcn.140008f00
mov qword [rbx + 8], rbx
mov qword [rbx], rbx
mov qword [rbx + 0x10], rbx
mov qword [rbp - 0x41], r12
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
lea rdx, str.SOFTWARE
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14001939e
lea r8, str.SOFTWARECanonPrnUninst
call fcn.1400085f0
test eax, eax
je 0x14001939e
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14001939e
lea rdx, str.CanonPrnUninst
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x14001939e
lea r8, str.SOFTWARECANON_
call fcn.1400085f0
test eax, eax
je 0x14001939e
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14001939e
lea rdx, str.CANON
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov byte [rbp - 0x31], 1
mov rcx, qword [0x1402a8360]
cmp rcx, r13
je 0x1400193dd
test byte [rcx + 0x1c], 1
je 0x1400193dd
mov r9, r15
cmp qword [0x1402bbdc8], 8
cmovae r9, qword [0x1402bbdb0]
mov edx, VariantTimeToDosDateTime
lea r8, [0x1402526c0]
mov rcx, qword [rcx + 0x10]
call fcn.140001ad0
nop
lea rcx, [rsp + 0x40]
call fcn.140007a90
nop
lea rax, vtable.WppTrace.0
mov qword [rbp - 0x39], rax
cmp byte [rbp - 0x31], 0
jne 0x140019446
mov rcx, qword [0x1402a8360]
cmp rcx, r13
je 0x140019446
test byte [rcx + 0x1c], 1
je 0x140019446
lea rax, [rbp - 0x29]
cmp qword [rbp - 0x11], 8
cmovae rax, qword [rbp - 0x29]
cmp qword [0x1402bbdc8], 8
cmovae r15, qword [0x1402bbdb0]
mov edx, 0xa
mov qword [rsp + 0x20], rax
mov r9, r15
lea r8, [0x140252818]
mov rcx, qword [rcx + 0x10]
call fcn.140006c90
lea rcx, [rbp - 9]
call fcn.1400048a0
lea rcx, [rbp - 0x29]
call fcn.1400048a0
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.1401e2900
mov rbx, qword [rsp + 0x130]
add rsp, 0xf0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.1401bb848
nop
mov ecx, 0x80004005
call fcn.140001470
int3