Function at 0x180003a8f
Capabilities:
Query or enumerate registry value

Disassembly:
jmp 0x18002f0f0
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x30]
sub rsp, 0x130
mov rax, qword [0x18015a118]
xor rax, rsp
mov qword [rbp + 0x20], rax
mov rdi, r8
mov rbx, rdx
mov r14, rcx
mov qword [rbp - 0x70], rdx
xor r15d, r15d
mov dword [rsp + 0x48], r15d
mov dword [rsp + 0x40], r15d
mov dword [rsp + 0x44], r15d
cmp qword [r8 + 0x18], 0x10
jb 0x18002f13f
mov r8, qword [r8]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r15
lea rax, [rsp + 0x44]
mov qword [rsp + 0x20], rax
xor edx, edx
mov r9d, 0x10000006
mov rcx, qword [rcx]
call qword [sym.imp.ADVAPI32.dll_RegGetValueA]
mov esi, eax
test eax, eax
jne 0x18002f452
mov edx, dword [rsp + 0x44]
lea eax, [rdx - 1]
cmp eax, 1
ja 0x18002f495
mov qword [rbx], r15
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], 0xf
mov byte [rbx], r15b
mov dword [rsp + 0x48], 1
mov eax, dword [rsp + 0x40]
test eax, eax
je 0x18002f415
mov ecx, eax
call fcn.1800037c9
mov rsi, rax
test rax, rax
jne 0x18002f1d1
mov r8d, 0x257
lea rdx, str.Y:_scriptschrome_hide_installer_cpp_srcRegistry.hpp
lea rcx, str.data___nullptr
call fcn.1800015d2
cmp qword [rdi + 0x18], 0x10
jb 0x18002f1db
mov rdi, qword [rdi]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rsi
lea rax, [rsp + 0x44]
mov qword [rsp + 0x20], rax
mov r9d, 0x10000006
mov r8, rdi
xor edx, edx
mov rcx, qword [r14]
call qword [sym.imp.ADVAPI32.dll_RegGetValueA]
mov edi, eax
lea rcx, [rsp + 0x60]
call fcn.180003756
nop
test edi, edi
jne 0x18002f2f0
mov qword [rbp - 0x60], r15
mov qword [rbp - 0x50], r15
mov qword [rbp - 0x48], 0xf
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rsi + r8], 0
jne 0x18002f234
mov rdx, rsi
lea rcx, [rbp - 0x60]
call fcn.1800038af
lea rax, [rbp - 0x60]
cmp rbx, rax
je 0x18002f2ac
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x18002f28d
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x18002f288
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x18002f4e6
mov rcx, r8
call fcn.180005989
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
movups xmm0, xmmword [rbp - 0x60]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rbp - 0x50]
movups xmmword [rbx + 0x10], xmm1
jmp 0x18002f3f5
mov rdx, qword [rbp - 0x48]
cmp rdx, 0x10
jb 0x18002f3f5
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18002f2e6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18002f4e6
call fcn.180005989
jmp 0x18002f3f5
mov dword [rsp + 0x50], edi
lea rax, [0x18015a0f0]
mov qword [rsp + 0x58], rax
mov ecx, 0x20
call fcn.1800013cf
mov rcx, rax
mov qword [rbp - 0x30], 0x14
mov qword [rbp - 0x28], 0x1f
movups xmm0, xmmword [str.RegGetValue___failed]
movups xmmword [rax], xmm0
mov eax, dword [0x1801268e0]
mov dword [rcx + 0x10], eax
mov byte [rcx + 0x14], 0
mov qword [rbp - 0x40], rcx
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x50], xmm0
lea r8, [rbp - 0x40]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x70]
call fcn.1800013ed
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0x10
jb 0x18002f392
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18002f38d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18002f4ec
call fcn.180005989
lea rax, [0x180125330]
mov qword [rsp + 0x70], rax
lea rcx, [rbp - 0x40]
call fcn.180003756
lea r8, [0x1801592d0]
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x40]
call fcn.1800014b5
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x60]
call fcn.180001b04
lea rcx, [rbp - 0x40]
call fcn.1800023e2
lea rax, [0x180125230]
mov qword [rsp + 0x70], rax
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x60]
call fcn.180007199
lea rcx, [rbp - 0x60]
call fcn.1800023e2
mov rcx, rsi
call fcn.180003ba2
lea rcx, [rsp + 0x60]
call fcn.180002d29
test al, al
jne 0x18002f43b
lea rcx, [rsp + 0x60]
call fcn.1800023e2
mov rax, rbx
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.180003bd4
mov rbx, qword [rsp + 0x178]
add rsp, 0x130
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x60]
call fcn.180005fc9
mov rcx, rax
call fcn.180002054
nop
call fcn.180007428
mov r8, rax
mov edx, esi
lea rcx, [rbp - 0x60]
call fcn.1800065b4
movaps xmm0, xmmword [rbp - 0x60]
movdqa xmmword [rbp - 0x60], xmm0
lea r8, str.RegGetValue___failed
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x70]
call fcn.1800050bf
lea rdx, [0x1801592d0]
lea rcx, [rsp + 0x70]
call fcn.180007324
int3
lea rcx, [rbp - 0x40]
call fcn.180003102
nop
mov r8, rax
lea rdx, str.Wrong_registry_value_type
lea rcx, [rbp - 0x20]
call fcn.180006cb7
nop
lea r8, str._for_string_value.
mov rdx, rax
lea rcx, [rbp]
call fcn.180006217
nop
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.180003215
lea rdx, [0x180159390]
lea rcx, [rsp + 0x50]
call fcn.180007324
nop
call fcn.180002db0
int3
call fcn.180002db0
int3