Function at 0x14010a500
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 [0x140293028]
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.14000b550
nop
mov dword [rsp + 0x20], 0x200
mov r9d, 0x20006
lea r8, [rsp + 0x40]
mov rdx, qword [rbx + 8]
lea rcx, [rbp + 0x30]
call fcn.140129b20
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x14010a5d4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14010a5cf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14010a81a
call fcn.1401853a0
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.14000b550
nop
mov dword [rbp + 0x28], edi
mov dword [rsp + 0x30], esi
lea rax, str.Py__
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 0x14010a67d
mov dword [rsp + 0x30], eax
lea rax, [0x1402984b8]
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.140010ea0
nop
movd eax, xmm6
test eax, eax
jne 0x14010a820
mov rdx, qword [rbp - 0x68]
cmp rdx, 0x10
jb 0x14010a6f0
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14010a6ea
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14010a895
call fcn.1401853a0
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x14010a732
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14010a72d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14010a814
call fcn.1401853a0
xor edx, edx
mov r8d, 0x110
lea rcx, [rbp + 0x40]
call fcn.1401a8d80
mov rax, qword gs:[0x58]
mov rbx, qword [rax]
mov ecx, 0x13c8
mov eax, dword [rcx + rbx]
mov edi, 0x13c0
test al, 1
jne 0x14010a775
or eax, 1
mov dword [rcx + rbx], eax
xor eax, eax
mov qword [rbx + rdi], rax
call fcn.140138a70
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.14000f010
nop
mov rcx, qword [rbp + 0x40]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x1400d90b6.0]
cmp dword [rbp + 0x48], eax
setl byte [rbp + 0x148]
jl 0x14010a7ce
lea rdx, str.Set_terminated_telemetry_state:
lea rcx, [rbp + 0x40]
call fcn.140012090
lea rdx, [rbp + 0x20]
mov rcx, rax
call fcn.14010bbf0
mov byte [rbp + 0x148], 1
lea rcx, [rbp + 0x40]
call fcn.14000afe0
nop
mov rcx, qword [rbp + 0x30]
test rcx, rcx
je 0x14010a7e7
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp + 0x150]
xor rcx, rsp
call fcn.140185380
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.1401b3c00
nop
call fcn.1401b3c00
nop
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x60]
call fcn.14000fc10
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x30], xmm0
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x60]
call fcn.1401577f0
mov rbx, rax
lea r8, [0x14024ddac]
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x40]
call fcn.140062490
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rbp - 0x20]
call fcn.14002f410
nop
lea r8, str.__failed
mov rdx, rax
lea rcx, [rbp]
call fcn.140027ce0
nop
movdqa xmmword [rsp + 0x30], xmm6
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.1401297c0
nop
call fcn.1401b3c00
int3