Function at 0x1400689b0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x2d0
mov rax, qword [0x140162010]
xor rax, rsp
mov qword [rsp + 0x2c8], rax
mov r15, rcx
mov qword [rsp + 0x80], rcx
mov qword [rsp + 0x90], rcx
xor edi, edi
mov r14d, edi
mov dword [rsp + 0x180], edi
mov qword [rsp + 0x178], rdi
lea rax, vtable.RegistryAccess.0
mov qword [rsp + 0x170], rax
lea rax, [rsp + 0x178]
mov qword [rsp + 0x20], rax
mov r9d, 0x20219
xor r8d, r8d
lea rdx, str.SOFTWARESophosAutoUpdateServiceCloudSubscriptions
mov rcx, qword [rcx + 8]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
test eax, eax
jne 0x1400692a9
lea rdx, [rsp + 0x2b0]
lea rcx, [rsp + 0x170]
call fcn.140078780
nop
mov rsi, qword [rsp + 0x2b0]
mov r13, qword [rsp + 0x2b8]
mov qword [rsp + 0x78], r13
lea r12, vtable.RegistryHandle.0
mov qword [rsp + 0x70], rsi
cmp rsi, r13
je 0x14006919e
xorps xmm0, xmm0
movups xmmword [rsp + 0x188], xmm0
mov rdx, rsi
cmp qword [rsi + 0x18], 8
jb 0x140068a9b
mov rdx, qword [rsi]
mov qword [rsp + 0x190], rdi
lea rax, vtable.RegistryAccess.0
mov qword [rsp + 0x188], rax
lea rax, [rsp + 0x190]
mov qword [rsp + 0x20], rax
mov r9d, 0x20219
xor r8d, r8d
mov rcx, qword [rsp + 0x178]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
test eax, eax
jne 0x1400692ce
lea rax, [rsp + 0x19c]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x198]
xor r8d, r8d
lea rdx, str.RigidName
mov rcx, qword [rsp + 0x190]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
test eax, eax
jne 0x1400692ed
mov ecx, dword [rsp + 0x198]
lea eax, [rcx - 1]
cmp eax, 1
jbe 0x140068b34
cmp ecx, 7
jne 0x14006930c
mov r9d, dword [rsp + 0x19c]
test r9b, 1
jne 0x140069334
lea r8, str.RigidName
lea rdx, [rsp + 0x250]
lea rcx, [rsp + 0x188]
call fcn.1400792e0
or r14d, 1
mov dword [rsp + 0x180], r14d
lea rax, [rsp + 0x1a4]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x1a0]
xor r8d, r8d
lea rdx, [0x140138490]
mov rcx, qword [rsp + 0x190]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
test eax, eax
jne 0x14006935d
mov ecx, dword [rsp + 0x1a0]
lea eax, [rcx - 1]
cmp eax, 1
jbe 0x140068bc2
cmp ecx, 7
jne 0x14006937c
mov r9d, dword [rsp + 0x1a4]
test r9b, 1
jne 0x1400693a4
lea r8, [0x140138490]
lea rdx, [rsp + 0x230]
lea rcx, [rsp + 0x188]
call fcn.1400792e0
or r14d, 2
mov dword [rsp + 0x180], r14d
lea rax, [rsp + 0x184]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x1a8]
xor r8d, r8d
lea rdx, str.BaseVersion
mov rcx, qword [rsp + 0x190]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
test eax, eax
jne 0x1400693cd
mov ecx, dword [rsp + 0x1a8]
lea eax, [rcx - 1]
cmp eax, 1
jbe 0x140068c50
cmp ecx, 7
jne 0x1400693ec
mov r9d, dword [rsp + 0x184]
test r9b, 1
jne 0x140069414
lea r8, str.BaseVersion
lea rdx, [rsp + 0x290]
lea rcx, [rsp + 0x188]
call fcn.1400792e0
or r14d, 4
mov dword [rsp + 0x180], r14d
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], 7
mov word [rsp + 0x30], di
lea r9, [rsp + 0x30]
lea r8, str.FixedVersion
lea rdx, [rsp + 0x270]
lea rcx, [rsp + 0x188]
call fcn.140078040
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 8
jb 0x140068d06
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140068d01
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006943d
call fcn.1400ada10
mov qword [rsp + 0x1b0], rdi
mov qword [rsp + 0x1c0], rdi
mov qword [rsp + 0x1c8], 0xf
mov byte [rsp + 0x1b0], 0
mov qword [rsp + 0x1d0], rdi
mov qword [rsp + 0x1e0], rdi
mov qword [rsp + 0x1e8], 0xf
mov byte [rsp + 0x1d0], 0
mov qword [rsp + 0x1f0], rdi
mov qword [rsp + 0x200], rdi
mov qword [rsp + 0x208], 0xf
mov byte [rsp + 0x1f0], 0
mov qword [rsp + 0x210], rdi
mov qword [rsp + 0x220], rdi
mov qword [rsp + 0x228], 0xf
mov byte [rsp + 0x210], 0
lea rax, [rsp + 0x250]
cmp qword [rsp + 0x268], 8
cmovae rax, qword [rsp + 0x250]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0x260]
mov qword [rsp + 0xa8], rax
movaps xmm0, xmmword [rsp + 0xa0]
movdqa xmmword [rsp + 0x30], xmm0
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.14008c040
mov rbx, rax
lea rax, [rsp + 0x1b0]
cmp rax, rbx
je 0x140068e30
lea rcx, [rsp + 0x1b0]
call fcn.14000ba30
movups xmm0, xmmword [rbx]
movaps xmmword [rsp + 0x1b0], xmm0
movups xmm1, xmmword [rbx + 0x10]
movaps xmmword [rsp + 0x1c0], xmm1
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
nop dword [rax + rax]
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x140068e6d
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140068e68
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140069443
call fcn.1400ada10
lea rax, [rsp + 0x230]
cmp qword [rsp + 0x248], 8
cmovae rax, qword [rsp + 0x230]
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0x240]
mov qword [rsp + 0xb8], rax
movaps xmm0, xmmword [rsp + 0xb0]
movdqa xmmword [rsp + 0x30], xmm0
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.14008c040
mov rbx, rax
lea rax, [rsp + 0x1d0]
cmp rax, rbx
je 0x140068f00
lea rcx, [rsp + 0x1d0]
call fcn.14000ba30
movups xmm0, xmmword [rbx]
movaps xmmword [rsp + 0x1d0], xmm0
movups xmm1, xmmword [rbx + 0x10]
movaps xmmword [rsp + 0x1e0], xmm1
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x140068f3d
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140068f38
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140069449
call fcn.1400ada10
lea rax, [rsp + 0x290]
cmp qword [rsp + 0x2a8], 8
cmovae rax, qword [rsp + 0x290]
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0x2a0]
mov qword [rsp + 0xc8], rax
movaps xmm0, xmmword [rsp + 0xc0]
movdqa xmmword [rsp + 0x30], xmm0
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.14008c040
mov rbx, rax
lea rax, [rsp + 0x1f0]
cmp rax, rbx
je 0x140068fd0
lea rcx, [rsp + 0x1f0]
call fcn.14000ba30
movups xmm0, xmmword [rbx]
movaps xmmword [rsp + 0x1f0], xmm0
movups xmm1, xmmword [rbx + 0x10]
movaps xmmword [rsp + 0x200], xmm1
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x14006900d
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140069008
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006944f
call fcn.1400ada10
lea rax, [rsp + 0x270]
cmp qword [rsp + 0x288], 8
cmovae rax, qword [rsp + 0x270]
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0x280]
mov qword [rsp + 0xd8], rax
movaps xmm0, xmmword [rsp + 0xd0]
movdqa xmmword [rsp + 0x30], xmm0
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.14008c040
mov rbx, rax
lea rax, [rsp + 0x210]
cmp rax, rbx
je 0x1400690a0
lea rcx, [rsp + 0x210]
call fcn.14000ba30
movups xmm0, xmmword [rbx]
movaps xmmword [rsp + 0x210], xmm0
movups xmm1, xmmword [rbx + 0x10]
movaps xmmword [rsp + 0x220], xmm1
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
nop
lea rcx, [rsp + 0x50]
call fcn.14000ba30
mov rax, qword [r15 + 0x60]
cmp rax, qword [r15 + 0x68]
je 0x1400690cb
lea rdx, [rsp + 0x1b0]
mov rcx, rax
call fcn.140070580
sub qword [r15 + 0x60], 0xffffffffffffff80
jmp 0x1400690e0
lea r8, [rsp + 0x1b0]
mov rdx, rax
lea rcx, [r15 + 0x58]
call fcn.1400702a0
nop
lea rcx, [rsp + 0x210]
call fcn.14000ba30
lea rcx, [rsp + 0x1f0]
call fcn.14000ba30
lea rcx, [rsp + 0x1d0]
call fcn.14000ba30
lea rcx, [rsp + 0x1b0]
call fcn.14000ba30
nop
lea rcx, [rsp + 0x270]
call fcn.14000b7d0
nop
lea rcx, [rsp + 0x290]
call fcn.14000b7d0
nop
lea rcx, [rsp + 0x230]
call fcn.14000b7d0
nop
lea rcx, [rsp + 0x250]
call fcn.14000b7d0
nop
jmp 0x140069172
mov qword [rsp + 0x188], r12
mov rcx, qword [rsp + 0x190]
test rcx, rcx
je 0x140069195
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x190], rdi
add rsi, 0x20
jmp 0x140068a75
lea rcx, [rsp + 0x2b0]
call fcn.14000b720
mov rax, qword [rsp + 0x90]
mov rdx, qword [rax + 0x60]
mov rcx, qword [r15 + 0x58]
mov r8, rdx
sub r8, rcx
sar r8, 7
xor r9d, r9d
call fcn.140070c70
nop
lea rax, [rsp + 0x180]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x184]
xor r8d, r8d
lea rdx, str.FixedVersionToken
mov rcx, qword [rsp + 0x178]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
test eax, eax
jne 0x140069455
mov edx, dword [rsp + 0x180]
mov ecx, dword [rsp + 0x184]
call fcn.140077f80
mov r9d, dword [rsp + 0x180]
lea r8, str.FixedVersionToken
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x170]
call fcn.1400792e0
lea rcx, [r15 + 0x78]
lea rdx, [rsp + 0x50]
call fcn.14000a2b0
lea rcx, [rsp + 0x50]
call fcn.14000b7d0
nop
jmp 0x140069260
mov qword [rsp + 0x170], r12
mov rcx, qword [rsp + 0x178]
test rcx, rcx
je 0x14006927c
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rcx, qword [rsp + 0x2c8]
xor rcx, rsp
call fcn.1400ad9f0
lea r11, [rsp + 0x2d0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
lea rdx, str.Failed_to_open_registry_key
lea rcx, [rsp + 0x250]
call fcn.14000a4a0
nop
lea rdx, [rsp + 0x250]
mov ecx, ebx
call fcn.140010730
nop
lea rdx, str.Failed_to_open_registry_key
lea rcx, [rsp + 0x50]
call fcn.14000a4a0
nop
lea rdx, [rsp + 0x50]
mov ecx, ebx
call fcn.140010730
nop
lea rdx, str.Failed_to_get_registry_value_length
lea rcx, [rsp + 0x30]
call fcn.14000a4a0
nop
lea rdx, [rsp + 0x30]
mov ecx, ebx
call fcn.140010730
nop
lea rdx, str.Registry_value_is_not_string
lea rcx, [rsp + 0xe0]
call fcn.140010540
lea rdx, [0x140160050]
lea rcx, [rsp + 0xe0]
call fcn.1400d4390
lea rdx, str.Invalid_registry_value_length_for_a_Unicode_string
lea rcx, [rsp + 0xf8]
call fcn.140010540
lea rdx, [0x140160050]
lea rcx, [rsp + 0xf8]
call fcn.1400d4390
nop
lea rdx, str.Failed_to_get_registry_value_length
lea rcx, [rsp + 0x50]
call fcn.14000a4a0
nop
lea rdx, [rsp + 0x50]
mov ecx, ebx
call fcn.140010730
nop
lea rdx, str.Registry_value_is_not_string
lea rcx, [rsp + 0x110]
call fcn.140010540
lea rdx, [0x140160050]
lea rcx, [rsp + 0x110]
call fcn.1400d4390
lea rdx, str.Invalid_registry_value_length_for_a_Unicode_string
lea rcx, [rsp + 0x128]
call fcn.140010540
lea rdx, [0x140160050]
lea rcx, [rsp + 0x128]
call fcn.1400d4390
nop
lea rdx, str.Failed_to_get_registry_value_length
lea rcx, [rsp + 0x30]
call fcn.14000a4a0
nop
lea rdx, [rsp + 0x30]
mov ecx, ebx
call fcn.140010730
nop
lea rdx, str.Registry_value_is_not_string
lea rcx, [rsp + 0x140]
call fcn.140010540
lea rdx, [0x140160050]
lea rcx, [rsp + 0x140]
call fcn.1400d4390
lea rdx, str.Invalid_registry_value_length_for_a_Unicode_string
lea rcx, [rsp + 0x158]
call fcn.140010540
lea rdx, [0x140160050]
lea rcx, [rsp + 0x158]
call fcn.1400d4390
nop
call fcn.1400e39e0
nop
call fcn.1400e39e0
int3
call fcn.1400e39e0
int3
call fcn.1400e39e0
nop
lea rdx, str.Failed_to_get_registry_value_length
lea rcx, [rsp + 0x230]
call fcn.14000a4a0
nop
lea rdx, [rsp + 0x230]
mov ecx, ebx
call fcn.140010730
int3