Function at 0x1400c0990
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x230]
sub rsp, 0x330
mov rax, qword [0x1402a76c0]
xor rax, rsp
mov qword [rbp + 0x220], rax
mov r12, r9
mov r15, r8
mov rbx, rdx
lea rdx, str.UninstallerInstall::SetCanonRegistryKey
lea rcx, [rbp - 0x40]
call fcn.14001abe0
nop
lea rax, [0x1402a8360]
lea r13, [0x1402bbdb0]
mov rcx, qword [0x1402a8360]
cmp rcx, rax
je 0x1400c0a22
test byte [rcx + 0x1c], 1
je 0x1400c0a22
mov r9, r13
cmp qword [0x1402bbdc8], 8
cmovae r9, qword [0x1402bbdb0]
mov edx, 0x2b
lea r8, [0x14025b960]
mov rcx, qword [rcx + 0x10]
call fcn.140001ad0
xor r14d, r14d
mov esi, r14d
mov dword [rsp + 0x50], r14d
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x10]
call fcn.1401e7e40
mov rcx, qword [0x1402bbf50]
mov rax, qword [rcx]
mov rax, qword [rax + 0x48]
call qword [case.0x1400136d6.0]
mov rcx, rax
mov rax, qword [rax]
mov r8, rbx
lea rdx, str.UninstallerRegKeyName
mov rax, qword [rax + 0x18]
call qword [case.0x1400136d6.0]
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 + 0x68], rax
mov qword [rsp + 0x70], r14
mov dword [rsp + 0x78], reloc.COMCTL32.dll_InitCommonControls
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x80], xmm0
movdqa xmm1, xmmword [0x14026f400]
movdqa xmmword [rbp - 0x70], xmm1
mov qword [rbp - 0x60], r14
mov qword [rbp - 0x58], r14
lfence
lea ecx, [r14 + 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 - 0x60], rax
mov qword [rsp + 0x60], r14
mov r9, rbx
lea r8, str.SOFTWARECanonPrnUninst
lea rdx, [0x140252608]
lea rcx, [rbp + 0x10]
call qword [sym.imp.USER32.dll_wsprintfW]
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x1400c0b03
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x60]
test eax, eax
cmove rcx, r14
mov qword [rsp + 0x60], rcx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
neg rax
sbb rdi, rdi
test rcx, rcx
je 0x1400c0c65
nop dword [rax]
call fcn.1401bb0c4
mov rcx, rax
test rax, rax
je 0x1400c11f4
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x1400136d6.0]
lea rbx, [rax + 0x18]
mov qword [rbp - 0x50], rbx
mov r9, qword [rsp + 0x70]
test r9, r9
je 0x1400c11ff
mov rsi, rdi
test rdi, rdi
je 0x1400c11ff
mov r8d, dword [rsp + 0x78]
cmp rdi, 0xffffffffffffffff
jne 0x1400c0b8e
mov ecx, r14d
test r8d, r8d
je 0x1400c0b8e
mov eax, ecx
mov rsi, qword [r9 + rax*8]
test rsi, rsi
jne 0x1400c0b8e
inc ecx
cmp ecx, r8d
jb 0x1400c0b73
test rsi, rsi
je 0x1400c11ff
mov rdi, qword [rsi + 0x10]
test rdi, rdi
jne 0x1400c0bb6
xor edx, edx
mov eax, dword [rsi + 0x18]
div r8d
inc edx
cmp edx, r8d
jae 0x1400c0bb6
mov rdi, qword [r9 + rdx*8]
test rdi, rdi
jne 0x1400c0bb6
inc edx
cmp edx, r8d
jb 0x1400c0ba6
mov rdx, qword [rsi]
lea rcx, [rdx - 0x18]
lea r14, [rbx - 0x18]
cmp rcx, r14
je 0x1400c0c1e
cmp dword [r14 + 0x10], 0
jl 0x1400c0c0d
mov rax, qword [r14]
cmp qword [rcx], rax
jne 0x1400c0c0d
call fcn.140004d00
mov rbx, rax
mov ecx, 0xffffffff
lock xadd dword [r14 + 0x10], ecx
sub ecx, 1
jg 0x1400c0c03
lfence
mov rcx, qword [r14]
mov rax, qword [rcx]
mov rdx, r14
mov rax, qword [rax + 8]
call qword [case.0x1400136d6.0]
add rbx, 0x18
mov qword [rbp - 0x50], rbx
jmp 0x1400c0c1e
mov r8d, dword [rdx - 0x10]
lea rcx, [rbp - 0x50]
call fcn.140004e60
mov rbx, qword [rbp - 0x50]
mov rcx, qword [rsi + 8]
test rcx, rcx
je 0x1400c0c2d
call fcn.1400079c0
nop
lea rdx, [rbx - 0x18]
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400c0c53
lfence
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x1400136d6.0]
test rdi, rdi
mov r14d, 0
jne 0x1400c0b20
mov esi, r14d
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x1400c0cdb
mov edi, r14d
mov edx, dword [rsp + 0x78]
test edx, edx
je 0x1400c0cd1
nop word [rax + rax]
mov eax, edi
mov rbx, qword [rcx + rax*8]
test rbx, rbx
je 0x1400c0ccb
nop dword [rax + rax]
mov rdx, qword [rbx]
sub rdx, 0x18
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400c0cb9
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 0x1400c0c90
mov edx, dword [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
inc edi
cmp edi, edx
jb 0x1400c0c80
call fcn.1400079c0
mov qword [rsp + 0x70], r14
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x80], xmm0
mov rcx, qword [rbp - 0x70]
call fcn.1401bc020
mov qword [rbp - 0x70], r14
mov rbx, qword [rbp - 0x60]
mov r8, qword [rbx + 8]
lea rdx, [rbp - 0x60]
lea rcx, [rbp - 0x60]
call fcn.140008f00
mov qword [rbx + 8], rbx
mov qword [rbx], rbx
mov qword [rbx + 0x10], rbx
mov qword [rbp - 0x58], r14
mov qword [rsp + 0x40], r14
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x10]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x1400c0dc4
mov rcx, qword [0x1402a8360]
lea r15, [0x1402a8360]
cmp rcx, r15
je 0x1400c0db0
test byte [rcx + 0x1c], 2
je 0x1400c0db0
mov rbx, r13
cmp qword [0x1402bbdc8], 8
cmovae rbx, qword [0x1402bbdb0]
lea rcx, [rbp - 0x40]
call fcn.14001b0b0
mov edx, 0x2d
mov qword [rsp + 0x20], rax
mov r9, rbx
lea r8, [0x14025b960]
mov rcx, qword [0x1402a8360]
mov rcx, qword [rcx + 0x10]
call fcn.140006c90
mov rcx, qword [0x1402a8360]
mov esi, 0x80010024
mov dword [0x1402bbd98], 0x24
jmp 0x1400c110b
call fcn.1400d58e0
test eax, eax
mov rax, 0xffffffffffffffff
je 0x1400c0e04
lea rax, [rax + 1]
cmp word [r15 + rax*2], 0
jne 0x1400c0dd4
lea edx, [rax*2 + 2]
mov ebx, r14d
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x1400c0e53
test r15, r15
je 0x1400c0e53
mov dword [rsp + 0x28], edx
mov qword [rsp + 0x20], r15
jmp 0x1400c0e32
lea rax, [rax + 1]
cmp word [r12 + rax*2], 0
jne 0x1400c0e04
lea edx, [rax*2 + 2]
mov ebx, r14d
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x1400c0e53
test r12, r12
je 0x1400c0e53
mov dword [rsp + 0x28], edx
mov qword [rsp + 0x20], r12
mov r9d, 1
xor r8d, r8d
lea rdx, str.exePath
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x1400c0e58
mov ebx, 0x80010080
jmp 0x1400c0e58
mov ebx, 0x80010001
test ebx, ebx
je 0x1400c0eca
mov rax, qword [0x1402a8360]
lea r15, [0x1402a8360]
cmp rax, r15
je 0x1400c0eb5
test byte [rax + 0x1c], 2
je 0x1400c0eb5
mov rbx, r13
cmp qword [0x1402bbdc8], 8
cmovae rbx, qword [0x1402bbdb0]
lea rcx, [rbp - 0x40]
call fcn.14001b0b0
mov edx, 0x2c
mov qword [rsp + 0x20], rax
mov r9, rbx
lea r8, [0x14025b960]
mov rcx, qword [0x1402a8360]
mov rcx, qword [rcx + 0x10]
call fcn.140006c90
mov esi, 0x80010025
mov dword [rsp + 0x50], esi
mov dword [0x1402bbd98], 0x25
jmp 0x1400c0ed1
lea r15, [0x1402a8360]
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x1400c0ef1
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x60]
test eax, eax
cmove rcx, r14
mov qword [rsp + 0x60], rcx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
neg rax
sbb rdi, rdi
test rcx, rcx
je 0x1400c1056
call fcn.1401bb0c4
mov rcx, rax
test rax, rax
je 0x1400c11f4
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x1400136d6.0]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x58], rbx
mov r9, qword [rsp + 0x70]
test r9, r9
je 0x1400c11ee
mov rsi, rdi
test rdi, rdi
je 0x1400c11ee
mov r8d, dword [rsp + 0x78]
cmp rdi, 0xffffffffffffffff
jne 0x1400c0f7b
mov ecx, r14d
test r8d, r8d
je 0x1400c0f7b
nop dword [rax + rax]
mov eax, ecx
mov rsi, qword [r9 + rax*8]
test rsi, rsi
jne 0x1400c0f7b
inc ecx
cmp ecx, r8d
jb 0x1400c0f60
test rsi, rsi
je 0x1400c11ee
mov rdi, qword [rsi + 0x10]
test rdi, rdi
jne 0x1400c0fa3
xor edx, edx
mov eax, dword [rsi + 0x18]
div r8d
inc edx
cmp edx, r8d
jae 0x1400c0fa3
mov rdi, qword [r9 + rdx*8]
test rdi, rdi
jne 0x1400c0fa3
inc edx
cmp edx, r8d
jb 0x1400c0f93
mov rdx, qword [rsi]
lea rcx, [rdx - 0x18]
lea r14, [rbx - 0x18]
cmp rcx, r14
je 0x1400c100e
cmp dword [r14 + 0x10], 0
jl 0x1400c0ffb
mov rax, qword [r14]
cmp qword [rcx], rax
jne 0x1400c0ffb
call fcn.140004d00
mov rbx, rax
mov ecx, 0xffffffff
lock xadd dword [r14 + 0x10], ecx
sub ecx, 1
jg 0x1400c0ff0
lfence
mov rcx, qword [r14]
mov rax, qword [rcx]
mov rdx, r14
mov rax, qword [rax + 8]
call qword [case.0x1400136d6.0]
add rbx, 0x18
mov qword [rsp + 0x58], rbx
jmp 0x1400c100e
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x58]
call fcn.140004e60
mov rbx, qword [rsp + 0x58]
mov rcx, qword [rsi + 8]
test rcx, rcx
je 0x1400c101d
call fcn.1400079c0
nop
lea rdx, [rbx - 0x18]
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400c1043
lfence
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x1400136d6.0]
test rdi, rdi
mov r14d, 0
jne 0x1400c0f07
mov esi, dword [rsp + 0x50]
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x1400c10cb
mov edi, r14d
mov edx, dword [rsp + 0x78]
test edx, edx
je 0x1400c10c1
nop dword [rax + rax]
mov eax, edi
mov rbx, qword [rcx + rax*8]
test rbx, rbx
je 0x1400c10bb
nop dword [rax + rax]
mov rdx, qword [rbx]
sub rdx, 0x18
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400c10a9
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 0x1400c1080
mov edx, dword [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
inc edi
cmp edi, edx
jb 0x1400c1070
call fcn.1400079c0
mov qword [rsp + 0x70], r14
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x80], xmm0
mov rcx, qword [rbp - 0x70]
call fcn.1401bc020
mov qword [rbp - 0x70], r14
mov rbx, qword [rbp - 0x60]
mov r8, qword [rbx + 8]
lea rdx, [rbp - 0x60]
lea rcx, [rbp - 0x60]
call fcn.140008f00
mov qword [rbx + 8], rbx
mov qword [rbx], rbx
mov qword [rbx + 0x10], rbx
mov qword [rbp - 0x58], r14
mov rcx, qword [0x1402a8360]
mov byte [rbp - 0x38], 1
cmp rcx, r15
je 0x1400c1147
test byte [rcx + 0x1c], 1
je 0x1400c1147
mov r9, r13
cmp qword [0x1402bbdc8], 8
cmovae r9, qword [0x1402bbdb0]
mov edx, 0x2e
mov dword [rsp + 0x20], esi
lea r8, [0x14025b960]
mov rcx, qword [rcx + 0x10]
call fcn.140001b40
nop
lea rcx, [rsp + 0x60]
call fcn.140007a90
nop
lea rax, vtable.WppTrace.0
mov qword [rbp - 0x40], rax
cmp byte [rbp - 0x38], 0
jne 0x1400c11b0
mov rcx, qword [0x1402a8360]
cmp rcx, r15
je 0x1400c11b0
test byte [rcx + 0x1c], 1
je 0x1400c11b0
lea r8, [rbp - 0x30]
cmp qword [rbp - 0x18], 8
cmovae r8, qword [rbp - 0x30]
cmp qword [0x1402bbdc8], 8
cmovae r13, qword [0x1402bbdb0]
mov edx, 0xa
mov qword [rsp + 0x20], r8
mov r9, r13
lea r8, [0x140252818]
mov rcx, qword [rcx + 0x10]
call fcn.140006c90
lea rcx, [rbp - 0x10]
call fcn.1400048a0
lea rcx, [rbp - 0x30]
call fcn.1400048a0
mov eax, esi
mov rcx, qword [rbp + 0x220]
xor rcx, rsp
call fcn.1401e2900
mov rbx, qword [rsp + 0x370]
add rsp, 0x330
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
nop
call fcn.1401bb848
int3