Function at 0x14006eb70
Capabilities:
Set registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
lea rbp, [rax - 0x178]
sub rsp, 0x270
movaps xmmword [rax - 0x18], xmm6
mov rax, qword [0x140162010]
xor rax, rsp
mov qword [rbp + 0x150], rax
movzx edi, dl
mov rbx, rcx
mov byte [rbp + 0x20], dil
xor esi, esi
mov qword [rbp + 0x30], rsi
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], 7
mov word [rsp + 0x40], si
lea r8d, [rsi + 0x1a]
lea rdx, str.SOFTWARESophosAutoUpdate
lea rcx, [rsp + 0x40]
call fcn.14000b840
nop
mov dword [rsp + 0x20], 0x200
mov r9d, 0x20006
lea r8, [rsp + 0x40]
mov rdx, qword [rbx + 8]
lea rcx, [rbp + 0x30]
call fcn.1400825b0
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x14006ec44
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006ec3f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006ee8a
call fcn.1400ada10
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], 7
mov word [rsp + 0x40], si
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], 7
mov word [rsp + 0x60], si
mov r8d, 0x13
lea rdx, str.TerminatedTelemetry
lea rcx, [rsp + 0x60]
call fcn.14000b840
nop
mov dword [rbp + 0x28], edi
mov dword [rsp + 0x30], esi
lea rax, [0x140162ce0]
mov qword [rsp + 0x38], rax
movaps xmm6, xmmword [rsp + 0x30]
lea rdx, [rsp + 0x60]
cmp qword [rsp + 0x78], 8
cmovae rdx, qword [rsp + 0x60]
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x28]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
mov rcx, qword [rbp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x14006eced
mov dword [rsp + 0x30], eax
lea rax, [0x140166f50]
mov qword [rsp + 0x38], rax
movaps xmm6, xmmword [rsp + 0x30]
mov qword [rbp - 0x80], rsi
mov qword [rbp - 0x70], rsi
mov qword [rbp - 0x68], 0xf
mov byte [rbp - 0x80], 0
mov r8d, 0xd
lea rdx, str.SetDwordValue
lea rcx, [rbp - 0x80]
call fcn.14000bab0
nop
movd eax, xmm6
test eax, eax
jne 0x14006ee90
mov rdx, qword [rbp - 0x68]
cmp rdx, 0x10
jb 0x14006ed60
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006ed5a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006ef05
call fcn.1400ada10
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x14006eda2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006ed9d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006ee84
call fcn.1400ada10
xor edx, edx
mov r8d, 0x110
lea rcx, [rbp + 0x40]
call fcn.1400d41f0
mov rax, qword gs:[0x58]
mov rbx, qword [rax]
mov ecx, 0x13c8
mov eax, dword [rcx + rbx]
mov edi, 0x13c0
test al, 1
jne 0x14006ede5
or eax, 1
mov dword [rcx + rbx], eax
xor eax, eax
mov qword [rbx + rdi], rax
call fcn.1400890d0
mov qword [rbx + rdi], rax
mov rax, qword [rbx + rdi]
mov qword [rbp + 0x40], rax
mov dword [rbp + 0x48], 1
lea rcx, [rbp + 0x50]
call fcn.140018320
nop
mov rcx, qword [rbp + 0x40]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140032886.0]
cmp dword [rbp + 0x48], eax
setl byte [rbp + 0x148]
jl 0x14006ee3e
lea rdx, str.Set_terminated_telemetry_state:
lea rcx, [rbp + 0x40]
call fcn.14003fe20
lea rdx, [rbp + 0x20]
mov rcx, rax
call fcn.140070260
mov byte [rbp + 0x148], 1
lea rcx, [rbp + 0x40]
call fcn.140014330
nop
mov rcx, qword [rbp + 0x30]
test rcx, rcx
je 0x14006ee57
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp + 0x150]
xor rcx, rsp
call fcn.1400ad9f0
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop rbp
ret
call fcn.1400e39e0
nop
call fcn.1400e39e0
nop
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x60]
call fcn.14000a200
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x30], xmm0
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x60]
call fcn.14008c040
mov rbx, rax
lea r8, [0x140139e98]
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x40]
call fcn.14002cb80
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rbp - 0x20]
call fcn.140018b80
nop
lea r8, str.__failed
mov rdx, rax
lea rcx, [rbp]
call fcn.140010460
nop
movdqa xmmword [rsp + 0x30], xmm6
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.140082250
nop
call fcn.1400e39e0
int3