Function at 0x1400286f0
Capabilities:
Delete registry key

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
lea rbp, [rsp - 0x37]
sub rsp, 0x90
mov qword [rbp + 0x27], 0xfffffffffffffffe
mov qword [rsp + 0xc0], rbx
mov rbx, rcx
xor r8d, r8d
lea rdx, str.Tool_DeleteNetworkPrinterSubForFax
lea rcx, [rbp + 0xf]
call fcn.14000b870
nop
mov r9, rbx
lea r8, str.lpszPrinter___s
mov edx, 1
lea rcx, [rbp + 0xf]
call fcn.14000ba50
call fcn.140050920
mov r12, qword [rax + 8]
call fcn.14004cde4
mov r11, rax
xor esi, esi
mov ecx, esi
test rax, rax
setne cl
test ecx, ecx
jne 0x14002876d
mov ecx, 0x80004005
call fcn.140001000
int3
mov rax, qword [rax]
mov rcx, r11
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x31], rax
mov rdx, rbx
lea rcx, [rbp - 0x39]
call fcn.140001110
nop
mov rax, qword [rbp - 0x39]
mov r13d, dword [rax - 0x10]
call fcn.14004cde4
mov r11, rax
mov ecx, esi
test rax, rax
setne cl
test ecx, ecx
jne 0x1400287b2
mov ecx, 0x80004005
call fcn.140001000
int3
mov rax, qword [rax]
mov rcx, r11
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rbp + 0x7f], rbx
call fcn.14004cde4
mov r11, rax
mov ecx, esi
test rax, rax
setne cl
test ecx, ecx
jne 0x1400287e2
mov ecx, 0x80004005
call fcn.140001000
int3
mov rax, qword [rax]
mov rcx, r11
call qword [rax + 0x18]
lea rdi, [rax + 0x18]
mov qword [rbp + 0x6f], rdi
call fcn.14004cde4
mov rcx, rax
test rax, rax
setne sil
test esi, esi
jne 0x140028811
mov ecx, 0x80004005
call fcn.140001000
int3
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp + 0x77], rax
mov rcx, qword [rbp - 0x39]
add rcx, 0xffffffffffffffe8
call fcn.140001620
add rax, 0x18
mov qword [rbp - 9], rax
lea rdx, [rbp - 0x31]
lea rcx, [rbp - 9]
call fcn.14001b680
lea rdx, str.NONE
mov rcx, qword [rbp - 0x31]
call fcn.14018ea5c
or esi, 0xffffffff
test eax, eax
je 0x140028af1
lea rdx, [r12 + 0x1d8]
lea r8, str._FAX
lea rcx, [rbp - 0x19]
call fcn.140006ef0
nop
mov rdx, qword [rax]
lea rcx, [rdx - 0x18]
add rbx, 0xffffffffffffffe8
cmp rcx, rbx
je 0x1400288cd
cmp dword [rbx + 0x10], 0
jl 0x1400288bf
mov rax, qword [rbx]
cmp qword [rcx], rax
jne 0x1400288bf
call fcn.140001620
mov rdi, rax
mov ecx, esi
lock xadd dword [rbx + 0x10], ecx
dec ecx
test ecx, ecx
jg 0x1400288b5
mov rcx, qword [rbx]
mov r8, qword [rcx]
mov rdx, rbx
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
lea rax, [rdi + 0x18]
mov qword [rbp + 0x7f], rax
jmp 0x1400288cd
mov r8d, dword [rdx - 0x10]
lea rcx, [rbp + 0x7f]
call fcn.1400014d0
nop
mov rdx, qword [rbp - 0x19]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1400288eb
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea r8d, [r13 - 1]
lea rdx, [rbp - 0x29]
lea rcx, [rbp - 0x39]
call fcn.1400166b0
nop
mov r8, rax
lea rdx, [rbp + 0x7f]
lea rcx, [rbp + 7]
call fcn.1400167f0
nop
mov rdx, qword [rax]
lea rcx, [rdx - 0x18]
mov rbx, qword [rbp + 0x6f]
add rbx, 0xffffffffffffffe8
cmp rcx, rbx
je 0x14002896a
cmp dword [rbx + 0x10], 0
jl 0x14002895c
mov rax, qword [rbx]
cmp qword [rcx], rax
jne 0x14002895c
call fcn.140001620
mov rdi, rax
mov ecx, esi
lock xadd dword [rbx + 0x10], ecx
dec ecx
test ecx, ecx
jg 0x140028952
mov rcx, qword [rbx]
mov r8, qword [rcx]
mov rdx, rbx
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
lea rax, [rdi + 0x18]
mov qword [rbp + 0x6f], rax
jmp 0x14002896a
mov r8d, dword [rdx - 0x10]
lea rcx, [rbp + 0x6f]
call fcn.1400014d0
nop
mov rdx, qword [rbp + 7]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140028989
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x29]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1400289a7
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov edx, 0x5c
mov rbx, qword [rbp + 0x6f]
mov rcx, rbx
call fcn.14018f7cc
test rax, rax
jne 0x1400289c1
mov eax, esi
jmp 0x1400289c7
sub rax, rbx
sar rax, 1
mov r8d, eax
lea rdx, [rbp + 0x1f]
lea rcx, [rbp + 0x6f]
call fcn.140016750
nop
mov rdx, qword [rax]
lea rcx, [rdx - 0x18]
mov rbx, qword [rbp + 0x77]
add rbx, 0xffffffffffffffe8
cmp rcx, rbx
je 0x140028a34
cmp dword [rbx + 0x10], 0
jl 0x140028a26
mov rax, qword [rbx]
cmp qword [rcx], rax
jne 0x140028a26
call fcn.140001620
mov rdi, rax
mov ecx, esi
lock xadd dword [rbx + 0x10], ecx
dec ecx
test ecx, ecx
jg 0x140028a1c
mov rcx, qword [rbx]
mov r8, qword [rcx]
mov rdx, rbx
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
lea rax, [rdi + 0x18]
mov qword [rbp + 0x77], rax
jmp 0x140028a34
mov r8d, dword [rdx - 0x10]
lea rcx, [rbp + 0x77]
call fcn.1400014d0
nop
mov rdx, qword [rbp + 0x1f]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140028a52
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rdi, qword [rbp + 0x6f]
mov rdx, rdi
mov rcx, 0xffffffff80000001
call fcn.1400184c0
mov rdx, rdi
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov rbx, qword [rbp + 0x77]
mov rdx, rbx
mov rcx, 0xffffffff80000001
call fcn.140018670
cmp eax, 1
jne 0x140028a9d
mov rdx, rbx
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov rbx, qword [rbp + 0x7f]
mov rdx, rbx
mov rcx, 0xffffffff80000001
call fcn.140018670
cmp eax, 1
jne 0x140028af1
mov rdx, rbx
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
lea rdx, str.SOFTWARECANON_
mov rcx, 0xffffffff80000001
call fcn.140018670
cmp eax, 1
jne 0x140028af1
lea rdx, str.SOFTWARECANON_
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov rdx, qword [r12 + 0x1d8]
lea rcx, [rdx - 0x18]
add rbx, 0xffffffffffffffe8
cmp rcx, rbx
je 0x140028b51
cmp dword [rbx + 0x10], 0
jl 0x140028b44
mov rax, qword [rbx]
cmp qword [rcx], rax
jne 0x140028b44
call fcn.140001620
mov rdi, rax
mov ecx, esi
lock xadd dword [rbx + 0x10], ecx
dec ecx
test ecx, ecx
jg 0x140028b36
mov rcx, qword [rbx]
mov r8, qword [rcx]
mov rdx, rbx
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
lea rax, [rdi + 0x18]
mov qword [rbp + 0x7f], rax
mov rdi, qword [rbp + 0x6f]
jmp 0x140028b51
mov r8d, dword [rdx - 0x10]
lea rcx, [rbp + 0x7f]
call fcn.1400014d0
lea r8d, [r13 - 1]
lea rdx, [rbp - 0x11]
lea rcx, [rbp - 0x39]
call fcn.1400166b0
nop
mov r8, rax
lea rdx, [r12 + 0x1d8]
lea rcx, [rbp - 0x21]
call fcn.1400167f0
nop
mov rdx, qword [rax]
lea rcx, [rdx - 0x18]
add rdi, 0xffffffffffffffe8
cmp rcx, rdi
je 0x140028bd0
cmp dword [rdi + 0x10], 0
jl 0x140028bc2
mov rax, qword [rdi]
cmp qword [rcx], rax
jne 0x140028bc2
call fcn.140001620
mov rbx, rax
mov ecx, esi
lock xadd dword [rdi + 0x10], ecx
dec ecx
test ecx, ecx
jg 0x140028bb8
mov rcx, qword [rdi]
mov r8, qword [rcx]
mov rdx, rdi
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
lea rax, [rbx + 0x18]
mov qword [rbp + 0x6f], rax
jmp 0x140028bd0
mov r8d, dword [rdx - 0x10]
lea rcx, [rbp + 0x6f]
call fcn.1400014d0
nop
mov rdx, qword [rbp - 0x21]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140028bef
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x11]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140028c0d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov edx, 0x5c
mov rbx, qword [rbp + 0x6f]
mov rcx, rbx
call fcn.14018f7cc
test rax, rax
jne 0x140028c27
mov eax, esi
jmp 0x140028c2d
sub rax, rbx
sar rax, 1
mov r8d, eax
lea rdx, [rbp - 1]
lea rcx, [rbp + 0x6f]
call fcn.140016750
nop
mov rdx, qword [rax]
lea rcx, [rdx - 0x18]
mov rbx, qword [rbp + 0x77]
add rbx, 0xffffffffffffffe8
cmp rcx, rbx
je 0x140028c9a
cmp dword [rbx + 0x10], 0
jl 0x140028c8c
mov rax, qword [rbx]
cmp qword [rcx], rax
jne 0x140028c8c
call fcn.140001620
mov rdi, rax
mov ecx, esi
lock xadd dword [rbx + 0x10], ecx
dec ecx
test ecx, ecx
jg 0x140028c82
mov rcx, qword [rbx]
mov r8, qword [rcx]
mov rdx, rbx
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
lea rax, [rdi + 0x18]
mov qword [rbp + 0x77], rax
jmp 0x140028c9a
mov r8d, dword [rdx - 0x10]
lea rcx, [rbp + 0x77]
call fcn.1400014d0
nop
mov rdx, qword [rbp - 1]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140028cb8
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rbx, qword [rbp + 0x6f]
mov rdx, rbx
mov rcx, 0xffffffff80000001
call fcn.1400184c0
mov rdx, rbx
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov rbx, qword [rbp + 0x77]
mov rdx, rbx
mov rcx, 0xffffffff80000001
call fcn.140018670
cmp eax, 1
jne 0x140028d03
mov rdx, rbx
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov rdi, qword [rbp + 0x7f]
mov rdx, rdi
mov rcx, 0xffffffff80000001
call fcn.140018670
cmp eax, 1
jne 0x140028d57
mov rdx, rdi
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
lea rdx, str.SOFTWARECANON_
mov rcx, 0xffffffff80000001
call fcn.140018670
cmp eax, 1
jne 0x140028d57
lea rdx, str.SOFTWARECANON_
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
xor r9d, r9d
lea r8, str.return___08x
lea edx, [r9 + 2]
lea rcx, [rbp + 0xf]
call fcn.14000ba50
nop
lea rdx, [rbx - 0x18]
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140028d8a
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp + 0x6f]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140028da9
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp + 0x7f]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140028dc8
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, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140028de7
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x31]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], esi
dec esi
test esi, esi
jg 0x140028e04
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
lea rcx, [rbp + 0xf]
call fcn.14000ba00
xor eax, eax
mov rbx, qword [rsp + 0xc0]
add rsp, 0x90
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret