Function at 0x1400b46f0
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x1d0
mov rax, qword [0x140138010]
xor rax, rsp
mov qword [rsp + 0x1c8], rax
mov rsi, r8
mov eax, dword [r8 + 0x10]
lea r8d, [rax*2 + 2]
mov rax, rsi
cmp qword [rsi + 0x18], 8
jb 0x1400b4733
mov rax, qword [rsi]
lea rdx, [0x14013bee0]
cmp qword [0x14013bef8], 8
cmovae rdx, qword [0x14013bee0]
mov dword [rsp + 0x28], r8d
mov qword [rsp + 0x20], rax
mov r9d, 2
xor r8d, r8d
mov rcx, qword [rcx + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov r14d, eax
test eax, eax
je 0x1400b48c6
lea rax, str.D:_a_pia_desktop_pia_desktop_daemon_src_win_win_dnscachecontrol.cpp
mov qword [rsp + 0x38], rax
lea rax, [0x1400ffeb3]
mov qword [rsp + 0x40], rax
mov r8d, 0x9c
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 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 + 0x50], xmm0
movups xmm1, xmmword [rax + 0x10]
movaps xmmword [rsp + 0x60], xmm1
xor r9d, r9d
lea r8d, [r9 + 2]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x90]
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 0x1400b4886
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
call fcn.140008d80
movzx eax, byte [rbx + 0x128]
lea rdi, [rbx + 0x30]
test al, al
je 0x1400b488a
mov rcx, rbx
call qword [sym.imp.kapps_core.dll_private:_void___cdecl_kapps::core::LogWriter::prepareForInsert_void____ptr64]
lea rdx, [0x14013bee0]
mov rcx, rdi
call fcn.1400a4650
movzx eax, byte [rbx + 0x128]
test al, al
je 0x1400b488a
mov rcx, rbx
call qword [sym.imp.kapps_core.dll_private:_void___cdecl_kapps::core::LogWriter::prepareForInsert_void____ptr64]
lea rbp, [rdi + 0x10]
lea rdx, [0x1400e9edc]
mov rcx, rbp
call fcn.140008d80
cmp byte [rbx + 0x128], 0
je 0x1400b488e
mov rcx, rbx
call qword [sym.imp.kapps_core.dll_private:_void___cdecl_kapps::core::LogWriter::prepareForInsert_void____ptr64]
mov rdx, rsi
mov rcx, rdi
call fcn.1400a4650
cmp byte [rbx + 0x128], 0
je 0x1400b488e
mov rcx, rbx
call qword [sym.imp.kapps_core.dll_private:_void___cdecl_kapps::core::LogWriter::prepareForInsert_void____ptr64]
lea rdx, [0x1400eb5b0]
mov rcx, rbp
call fcn.140008d80
jmp 0x1400b488e
lea rdi, [rax + 0x30]
lea rbp, [rdi + 0x10]
mov dword [rsp + 0x30], r14d
cmp byte [rbx + 0x128], 0
je 0x1400b48b4
mov rcx, rbx
call qword [sym.imp.kapps_core.dll_private:_void___cdecl_kapps::core::LogWriter::prepareForInsert_void____ptr64]
lea rdx, [rsp + 0x30]
mov rcx, rbp
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 + 0x90]
call qword [sym.imp.kapps_core.dll_public:_void___cdecl_kapps::core::LogWriter::destructor_void____ptr64]
xor al, al
jmp 0x1400b48c8
mov al, 1
mov rcx, qword [rsp + 0x1c8]
xor rcx, rsp
call fcn.1400cdb50
lea r11, [rsp + 0x1d0]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret