Function at 0x1400b48f0
Capabilities:
Set registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x1e0
mov rax, qword [0x140138010]
xor rax, rsp
mov qword [rsp + 0x1d8], rax
mov r14, r9
mov r12, rdx
mov rbp, rcx
mov dword [rsp + 0x30], r8d
mov r8, rdx
call fcn.1400b46f0
test al, al
je 0x1400b4adc
lea rdx, [0x14013bf00]
cmp qword [0x14013bf18], 8
cmovae rdx, qword [0x14013bf00]
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
mov rcx, qword [rbp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov r15d, eax
test eax, eax
je 0x1400b4b00
lea rax, str.D:_a_pia_desktop_pia_desktop_daemon_src_win_win_dnscachecontrol.cpp
mov qword [rsp + 0x48], rax
lea rax, [0x1400ffeb3]
mov qword [rsp + 0x50], rax
mov r8d, 0xaf
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x80]
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 + 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movaps xmmword [rsp + 0x70], xmm1
xor r9d, r9d
lea r8d, [r9 + 2]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0xa0]
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 rbx, rax
cmp byte [rax + 0x128], 0
je 0x1400b4a8e
mov rcx, rax
call qword [sym.imp.kapps_core.dll_private:_void___cdecl_kapps::core::LogWriter::prepareForInsert_void____ptr64]
lea rcx, [rbx + 0x40]
lea rdx, str.Cant_set_Dnscache_type_to
call fcn.140008d80
lea rsi, [rbx + 0x30]
cmp byte [rbx + 0x128], 0
je 0x1400b4a92
mov rcx, rbx
call qword [sym.imp.kapps_core.dll_private:_void___cdecl_kapps::core::LogWriter::prepareForInsert_void____ptr64]
lea rdi, [rsi + 0x10]
mov edx, dword [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int____ptr64]
movzx eax, byte [rbx + 0x128]
test al, al
je 0x1400b4a96
mov rcx, rbx
call qword [sym.imp.kapps_core.dll_private:_void___cdecl_kapps::core::LogWriter::prepareForInsert_void____ptr64]
lea rdx, str.after_setting_path_to
mov rcx, rdi
call fcn.140008d80
movzx eax, byte [rbx + 0x128]
test al, al
je 0x1400b4a96
mov rcx, rbx
call qword [sym.imp.kapps_core.dll_private:_void___cdecl_kapps::core::LogWriter::prepareForInsert_void____ptr64]
mov rdx, r12
mov rcx, rsi
call fcn.1400a4650
cmp byte [rbx + 0x128], 0
je 0x1400b4a96
mov rcx, rbx
call qword [sym.imp.kapps_core.dll_private:_void___cdecl_kapps::core::LogWriter::prepareForInsert_void____ptr64]
lea rdx, [0x1400eb5b0]
mov rcx, rdi
call fcn.140008d80
jmp 0x1400b4a96
lea rsi, [rax + 0x30]
lea rdi, [rsi + 0x10]
mov dword [rsp + 0x40], r15d
cmp byte [rbx + 0x128], 0
je 0x1400b4abc
mov rcx, rbx
call qword [sym.imp.kapps_core.dll_private:_void___cdecl_kapps::core::LogWriter::prepareForInsert_void____ptr64]
lea rdx, [rsp + 0x40]
mov rcx, rdi
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, [rsp + 0xa0]
call qword [sym.imp.kapps_core.dll_public:_void___cdecl_kapps::core::LogWriter::destructor_void____ptr64]
cmp qword [r14 + 0x10], 0
je 0x1400b4adc
mov r8, r14
mov rcx, rbp
call fcn.1400b46f0
xor al, al
mov rcx, qword [rsp + 0x1d8]
xor rcx, rsp
call fcn.1400cdb50
add rsp, 0x1e0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov al, 1
jmp 0x1400b4ade