Function at 0x1400b4340
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x110]
sub rsp, 0x210
mov rax, qword [0x140138010]
xor rax, rsp
mov qword [rbp + 0x108], rax
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x50], rdx
xor r15d, r15d
mov qword [rbp - 0x50], r15
mov qword [rbp - 0x40], r15
mov qword [rbp - 0x38], 7
mov word [rbp - 0x50], r15w
mov edx, 0x105
lea rcx, [rbp - 0x50]
call fcn.1400a3ef0
mov eax, dword [rbp - 0x40]
add eax, eax
mov dword [rsp + 0x40], eax
lea rax, [rbp - 0x50]
cmp qword [rbp - 0x38], 8
cmovae rax, qword [rbp - 0x50]
lea r8, [0x14013bee0]
cmp qword [0x14013bef8], 8
cmovae r8, qword [0x14013bee0]
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
xor edx, edx
mov r9d, 0x10000004
mov rcx, qword [rdi + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov r14d, eax
test eax, eax
je 0x1400b4523
lea rax, str.D:_a_pia_desktop_pia_desktop_daemon_src_win_win_dnscachecontrol.cpp
mov qword [rsp + 0x58], rax
lea rax, [0x1400ffeb3]
mov qword [rsp + 0x60], rax
lea r8d, [r15 + 0x76]
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 0x70]
call qword [sym.imp.kapps_core.dll_public:_void___cdecl_kapps::core::SourceLocation::constructor_class_kapps::core::BasicStringSlice_char__struct_std::char_traits_char___const____ptr64__int____ptr64]
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x70], xmm0
movups xmm1, xmmword [rax + 0x10]
movaps xmmword [rbp - 0x80], xmm1
xor r9d, r9d
lea r8d, [r15 + 2]
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x30]
call qword [sym.imp.kapps_core.dll_public:_void___cdecl_kapps::core::LogWriter::constructor_class_kapps::core::SourceLocation__enum_kapps::core::LogMessage::Level__class_kapps::core::LogCategory_const____ptr64____ptr64]
mov rsi, rax
cmp byte [rax + 0x128], r15b
je 0x1400b4472
mov rcx, rax
call qword [sym.imp.kapps_core.dll_private:_void___cdecl_kapps::core::LogWriter::prepareForInsert_void____ptr64]
lea rdx, str.Cant_stub_Dnscache__unable_to_get_existing_image_path:
lea rcx, [rsi + 0x40]
call fcn.140008d80
mov dword [rsp + 0x50], r14d
cmp byte [rsi + 0x128], 0
je 0x1400b4499
mov rcx, rsi
call qword [sym.imp.kapps_core.dll_private:_void___cdecl_kapps::core::LogWriter::prepareForInsert_void____ptr64]
lea rdx, [rsp + 0x50]
lea rcx, [rsi + 0x40]
call qword [sym.imp.kapps_core.dll_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_kapps::core::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64__class_kapps::core::WinErrTracer_const____ptr64_]
nop
lea rcx, [rbp - 0x30]
call qword [sym.imp.kapps_core.dll_public:_void___cdecl_kapps::core::LogWriter::destructor_void____ptr64]
mov qword [rbx], r15
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], 7
mov word [rbx], r15w
mov dword [rbx + 0x20], r15d
mov rdx, qword [rbp - 0x38]
cmp rdx, 8
jb 0x1400b44fa
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400b44f5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400b46e1
call fcn.1400cdbac
mov rax, rbx
mov rcx, qword [rbp + 0x108]
xor rcx, rsp
call fcn.1400cdb50
mov rbx, qword [rsp + 0x250]
add rsp, 0x210
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov eax, dword [rsp + 0x40]
shr eax, 1
mov dword [rsp + 0x40], eax
cmp eax, 1
jb 0x1400b4538
dec eax
mov dword [rsp + 0x40], eax
mov edx, eax
mov rax, qword [rbp - 0x40]
cmp rdx, rax
ja 0x1400b455c
lea rax, [rbp - 0x50]
cmp qword [rbp - 0x38], 8
cmovae rax, qword [rbp - 0x50]
mov qword [rbp - 0x40], rdx
mov word [rax + rdx*2], r15w
jmp 0x1400b4568
sub rdx, rax
lea rcx, [rbp - 0x50]
call fcn.1400a3ef0
mov dword [rsp + 0x48], r15d
mov dword [rsp + 0x44], 4
lea r8, [0x14013bf00]
cmp qword [0x14013bf18], 8
cmovae r8, qword [0x14013bf00]
lea rax, [rsp + 0x44]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
xor edx, edx
lea r9d, [rdx + 0x10]
mov rcx, qword [rdi + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov r14d, eax
test eax, eax
jne 0x1400b45de
cmp dword [rsp + 0x44], 4
jne 0x1400b45de
movups xmm0, xmmword [rbp - 0x50]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rbp - 0x40]
movups xmmword [rbx + 0x10], xmm1
mov ecx, dword [rsp + 0x48]
mov dword [rbx + 0x20], ecx
jmp 0x1400b44fa
lea rax, str.D:_a_pia_desktop_pia_desktop_daemon_src_win_win_dnscachecontrol.cpp
mov qword [rsp + 0x58], rax
lea rax, [0x1400ffeb3]
mov qword [rsp + 0x60], rax
mov r8d, MsiSetPropertyW
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 0x70]
call qword [sym.imp.kapps_core.dll_public:_void___cdecl_kapps::core::SourceLocation::constructor_class_kapps::core::BasicStringSlice_char__struct_std::char_traits_char___const____ptr64__int____ptr64]
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x70], xmm0
movups xmm1, xmmword [rax + 0x10]
movaps xmmword [rbp - 0x80], xmm1
xor r9d, r9d
lea r8d, [r9 + 2]
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x30]
call qword [sym.imp.kapps_core.dll_public:_void___cdecl_kapps::core::LogWriter::constructor_class_kapps::core::SourceLocation__enum_kapps::core::LogMessage::Level__class_kapps::core::LogCategory_const____ptr64____ptr64]
mov rsi, rax
cmp byte [rax + 0x128], 0
je 0x1400b4656
mov rcx, rax
call qword [sym.imp.kapps_core.dll_private:_void___cdecl_kapps::core::LogWriter::prepareForInsert_void____ptr64]
lea rdx, str.Cant_stub_Dnscache__unable_to_get_existing_type:
lea rcx, [rsi + 0x40]
call fcn.140008d80
mov dword [rsp + 0x50], r14d
cmp byte [rsi + 0x128], 0
je 0x1400b467d
mov rcx, rsi
call qword [sym.imp.kapps_core.dll_private:_void___cdecl_kapps::core::LogWriter::prepareForInsert_void____ptr64]
lea rdx, [rsp + 0x50]
lea rcx, [rsi + 0x40]
call qword [sym.imp.kapps_core.dll_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_kapps::core::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64__class_kapps::core::WinErrTracer_const____ptr64_]
nop
lea rcx, [rbp - 0x30]
call qword [sym.imp.kapps_core.dll_public:_void___cdecl_kapps::core::LogWriter::destructor_void____ptr64]
mov qword [rbx], r15
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], 7
mov word [rbx], r15w
mov dword [rbx + 0x20], r15d
mov rdx, qword [rbp - 0x38]
cmp rdx, 8
jb 0x1400b44fa
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400b44f5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400b44f5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3