Function at 0x14003c130
Capabilities:
Delete registry key

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xd0
mov qword [rbp + 0x2f], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov rdi, r9
mov r15, r8
mov r14, rdx
xor r8d, r8d
lea rdx, str.CUNINSTALLERDlg::CleanUpRegistryEveryPrinter
lea rcx, [rbp + 0x17]
call fcn.140017fc0
nop
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], r15
mov r9, r14
lea r8, str.lpszPrinter___s__lpszDriver___s__lpszVersion___s
mov edx, 1
lea rcx, [rbp + 0x17]
call fcn.140017c80
call fcn.140051e58
mov rcx, rax
xor esi, esi
mov eax, esi
test rcx, rcx
setne al
test eax, eax
jne 0x14003c1bb
mov ecx, 0x80004005
call fcn.140001010
int3
mov rax, qword [rcx]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x69], rax
call fcn.140051e58
mov rcx, rax
mov eax, esi
test rcx, rcx
setne al
test eax, eax
jne 0x14003c1e8
mov ecx, 0x80004005
call fcn.140001010
int3
mov rax, qword [rcx]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x61], rax
call fcn.140051e58
mov rcx, rax
mov eax, esi
test rcx, rcx
setne al
test eax, eax
jne 0x14003c215
mov ecx, 0x80004005
call fcn.140001010
int3
mov rax, qword [rcx]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp + 7], rax
call fcn.140051e58
mov rcx, rax
mov eax, esi
test rcx, rcx
setne al
test eax, eax
jne 0x14003c242
mov ecx, 0x80004005
call fcn.140001010
int3
mov rax, qword [rcx]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 9], rax
call fcn.140054cb8
mov r13, qword [rax + 8]
mov rdx, r15
lea rcx, [rbp - 0x59]
call fcn.1400020c0
nop
mov r8d, 5
lea rdx, [rbp + 0x27]
lea rcx, [rbp - 0x59]
call fcn.140017e80
nop
mov rdx, qword [rax]
lea rcx, [rdx - 0x18]
mov rdi, qword [rbp - 0x59]
add rdi, 0xffffffffffffffe8
or ebx, 0xffffffff
cmp rcx, rdi
je 0x14003c2d9
cmp dword [rdi + 0x10], 0
jl 0x14003c2cb
mov rax, qword [rdi]
cmp qword [rcx], rax
jne 0x14003c2cb
call fcn.140001950
mov r12, rax
mov eax, ebx
lock xadd dword [rdi + 0x10], eax
dec eax
test eax, eax
jg 0x14003c2c0
mov rcx, qword [rdi]
mov rax, qword [rcx]
mov rdx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rax, [r12 + 0x18]
mov qword [rbp - 0x59], rax
jmp 0x14003c2d9
mov r8d, dword [rdx - 0x10]
lea rcx, [rbp - 0x59]
call fcn.140001c20
nop
mov rdx, qword [rbp + 0x27]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14003c2f7
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rdx, r15
lea rcx, [rbp - 0x41]
call fcn.1400020c0
nop
call fcn.140051e58
mov rcx, rax
test rax, rax
setne sil
test esi, esi
jne 0x14003c322
mov ecx, 0x80004005
call fcn.140001010
int3
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x49], rax
mov rcx, qword [rbp - 0x41]
add rcx, 0xffffffffffffffe8
call fcn.140001950
add rax, 0x18
mov qword [rbp - 1], rax
lea rdx, [rbp - 0x49]
lea rcx, [rbp - 1]
call fcn.14001de40
mov rdx, r14
lea rcx, [rbp - 0x19]
call fcn.1400020c0
nop
mov rdx, r14
lea rcx, [rbp - 0x51]
call fcn.1400020c0
nop
mov rcx, qword [rbp - 0x51]
cmp dword [rcx - 0x10], 0
jle 0x14003c55e
mov edx, 0x5c
call fcn.140193da0
mov rdx, rax
test rax, rax
je 0x14003c55e
mov rax, qword [rbp - 0x51]
sub rdx, rax
sar rdx, 1
cmp edx, 0xffffffff
je 0x14003c55e
mov r8d, dword [rax - 0x10]
dec r8d
lea rdx, [rbp - 0x39]
lea rcx, [rbp - 0x51]
call fcn.140017e80
nop
mov r8, rax
lea rdx, [r13 + 0x1d8]
lea rcx, [rbp - 0x21]
call fcn.1400182c0
nop
mov rdx, qword [rax]
lea rcx, [rdx - 0x18]
mov rdi, qword [rbp - 0x69]
add rdi, 0xffffffffffffffe8
cmp rcx, rdi
je 0x14003c427
cmp dword [rdi + 0x10], 0
jl 0x14003c419
mov rax, qword [rdi]
cmp qword [rcx], rax
jne 0x14003c419
call fcn.140001950
mov rsi, rax
mov eax, ebx
lock xadd dword [rdi + 0x10], eax
dec eax
test eax, eax
jg 0x14003c40f
mov rcx, qword [rdi]
mov rax, qword [rcx]
mov rdx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rax, [rsi + 0x18]
mov qword [rbp - 0x69], rax
jmp 0x14003c427
mov r8d, dword [rdx - 0x10]
lea rcx, [rbp - 0x69]
call fcn.140001c20
nop
mov rdx, qword [rbp - 0x21]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14003c446
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x39]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14003c464
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rdx, qword [r13 + 0x1d8]
lea rcx, [rdx - 0x18]
mov rdi, qword [rbp - 0x61]
add rdi, 0xffffffffffffffe8
cmp rcx, rdi
je 0x14003c4c2
cmp dword [rdi + 0x10], 0
jl 0x14003c4b5
mov rax, qword [rdi]
cmp qword [rcx], rax
jne 0x14003c4b5
call fcn.140001950
mov rsi, rax
mov eax, ebx
lock xadd dword [rdi + 0x10], eax
dec eax
test eax, eax
jg 0x14003c4ab
mov rcx, qword [rdi]
mov rax, qword [rcx]
mov rdx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rax, [rsi + 0x18]
mov qword [rbp - 0x61], rax
jmp 0x14003c4c2
mov r8d, dword [rdx - 0x10]
lea rcx, [rbp - 0x61]
call fcn.140001c20
mov rdi, qword [rbp - 0x69]
mov rdx, rdi
mov rcx, 0xffffffff80000001
call fcn.140018e80
mov rdx, rdi
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov edx, 0x5c
mov rcx, rdi
call fcn.140193dc0
test rax, rax
jne 0x14003c4fb
mov eax, ebx
jmp 0x14003c501
sub rax, rdi
sar rax, 1
mov r8d, eax
lea rdx, [rbp - 0x11]
lea rcx, [rbp - 0x69]
call fcn.140017f20
nop
mov rdi, qword [rbp - 0x11]
mov rdx, rdi
mov rcx, 0xffffffff80000001
call fcn.140019030
cmp eax, 1
jne 0x14003c53b
mov rdx, rdi
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
nop
lea rdx, [rdi - 0x18]
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14003c6df
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x14003c6df
mov rdx, r14
lea rcx, [rbp - 0x31]
call fcn.1400020c0
nop
lea rdx, [r13 + 0x1d0]
mov r8, rax
lea rcx, [rbp + 0xf]
call fcn.1400182c0
nop
mov rdx, qword [rax]
lea rcx, [rdx - 0x18]
mov rdi, qword [rbp - 0x69]
add rdi, 0xffffffffffffffe8
cmp rcx, rdi
je 0x14003c5da
cmp dword [rdi + 0x10], 0
jl 0x14003c5cc
mov rax, qword [rdi]
cmp qword [rcx], rax
jne 0x14003c5cc
call fcn.140001950
mov rsi, rax
mov eax, ebx
lock xadd dword [rdi + 0x10], eax
dec eax
test eax, eax
jg 0x14003c5c2
mov rcx, qword [rdi]
mov rax, qword [rcx]
mov rdx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rax, [rsi + 0x18]
mov qword [rbp - 0x69], rax
jmp 0x14003c5da
mov r8d, dword [rdx - 0x10]
lea rcx, [rbp - 0x69]
call fcn.140001c20
nop
mov rdx, qword [rbp + 0xf]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14003c5f9
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x31]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14003c617
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rdx, qword [r13 + 0x1d8]
lea rcx, [rdx - 0x18]
mov rdi, qword [rbp - 0x61]
add rdi, 0xffffffffffffffe8
cmp rcx, rdi
je 0x14003c675
cmp dword [rdi + 0x10], 0
jl 0x14003c668
mov rax, qword [rdi]
cmp qword [rcx], rax
jne 0x14003c668
call fcn.140001950
mov rsi, rax
mov eax, ebx
lock xadd dword [rdi + 0x10], eax
dec eax
test eax, eax
jg 0x14003c65e
mov rcx, qword [rdi]
mov rax, qword [rcx]
mov rdx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rax, [rsi + 0x18]
mov qword [rbp - 0x61], rax
jmp 0x14003c675
mov r8d, dword [rdx - 0x10]
lea rcx, [rbp - 0x61]
call fcn.140001c20
mov rdi, qword [rbp - 0x69]
mov rdx, rdi
mov rcx, 0xffffffff80000001
call fcn.140018e80
mov rdx, rdi
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
xor eax, eax
lea rdi, str.CAPT
mov rsi, qword [r13 + 0x790]
mov ecx, 5
repe cmpsw word [rsi], word [rdi]
je 0x14003c6b7
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete al
test al, al
je 0x14003c6df
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x14003c6df
cmp dword [r13 + 0x818], 0
je 0x14003c6df
mov rcx, r14
call fcn.140025e10
mov rdi, qword [rbp - 0x61]
mov rdx, rdi
mov rcx, 0xffffffff80000001
call fcn.140019030
cmp eax, 1
jne 0x14003c733
mov rdx, rdi
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
lea rdx, str.SOFTWARECANON_
mov rcx, 0xffffffff80000001
call fcn.140019030
cmp eax, 1
jne 0x14003c733
lea rdx, str.SOFTWARECANON_
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov rcx, qword [rbp - 0x49]
add rcx, 0xffffffffffffffe8
call fcn.140001950
add rax, 0x18
mov qword [rbp - 0x29], rax
lea rcx, [rbp - 0x29]
call fcn.14001ce10
mov r9d, 1
lea r8, str.return___08x
lea edx, [r9 + 1]
lea rcx, [rbp + 0x17]
call fcn.140017c80
nop
mov rdx, qword [rbp - 0x51]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14003c78b
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x19]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14003c7aa
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x49]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14003c7c9
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x41]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14003c7e8
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x59]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14003c807
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 9]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14003c826
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp + 7]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14003c845
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x61]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14003c864
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x69]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ebx
dec ebx
test ebx, ebx
jg 0x14003c881
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
lea rcx, [rbp + 0x17]
call fcn.140018150
mov eax, 1
lea r11, [rsp + 0xd0]
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