Function at 0x140019fd0
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xd0]
sub rsp, 0x1d0
mov rax, qword [0x14006b020]
xor rax, rsp
mov qword [rbp + 0xc0], rax
mov r14, r9
mov rdi, r8
mov rbx, rcx
mov rsi, qword [rbp + 0x130]
mov r15, qword [rbp + 0x138]
lea r12, vtable.CTracePie.0
mov qword [rbp], r12
xor eax, eax
mov qword [rbp + 0xa8], rax
mov word [rbp + 0xb0], ax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [rbp + 0xa8], eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [rbp + 0xac], eax
mov r9d, 0x38
lea r8, str.COsRegistry::SetRegKeyValue
lea edx, [r9 + 0x40]
lea rcx, [rbp + 8]
call fcn.1400133b0
mov r9d, 0x12
lea r8, str.Reg_keys
lea edx, [r9 + 0x16]
lea rcx, [rbp + 0x80]
call fcn.1400133b0
cmp byte [rbp + 0xb1], 1
jne 0x14001a09f
lea r8, [0x14005a24c]
mov edx, 5
lea rcx, [rbp]
call fcn.1400134a0
lea r13, vtable.CTracePieCommonRegKeys.0
mov qword [rbp], r13
mov edx, dword [rbx + 8]
test edx, edx
je 0x14001a202
mov r9d, 0x20006
lea r8, [rsp + 0x30]
call fcn.1400193c0
mov r9, qword [rsp + 0x30]
lea r8, str.softwareKey_0x_p
mov edx, 4
lea rcx, [rbp]
call fcn.1400134a0
mov rbx, qword [rsp + 0x30]
mov qword [rsp + 0x40], r12
xor eax, eax
mov qword [rbp - 0x18], rax
mov word [rbp - 0x10], ax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [rbp - 0x18], eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [rbp - 0x14], eax
mov r9d, 0x32
lea r8, str.COsRegistry::SetKeyValue
lea edx, [r9 + 0x46]
lea rcx, [rsp + 0x48]
call fcn.1400133b0
mov r9d, 0x12
lea r8, str.Reg_keys
lea edx, [r9 + 0x16]
lea rcx, [rbp - 0x40]
call fcn.1400133b0
cmp byte [rbp - 0xf], 1
jne 0x14001a156
lea r8, [0x14005a24c]
mov edx, 5
lea rcx, [rsp + 0x40]
call fcn.1400134a0
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x28], rbx
mov eax, dword [rsi]
mov dword [rsp + 0x20], eax
mov r9, rdi
lea r8, str.Setting__keyName___s_:_Len___d__at_software_key_0x_p
mov edx, 4
lea rcx, [rsp + 0x40]
call fcn.1400134a0
mov eax, dword [rsi]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], r14
mov r9d, dword [r15]
mov r8, rdi
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegSetKeyValueW]
mov ebx, eax
lea rcx, [rsp + 0x40]
test eax, eax
je 0x14001a1bc
mov r9d, eax
lea r8, str.unexpected_error__RegSetKeyValueW_return_Value_0x_08x
mov edx, 2
call fcn.1400134a0
jmp 0x14001a1ce
lea r8, str.RegSetKeyValueW_succeeded
mov edx, 4
call fcn.1400134a0
nop
mov qword [rsp + 0x40], r12
cmp byte [rbp - 0xf], 1
jne 0x14001a1f6
cmp byte [rbp - 0x10], 0
jne 0x14001a1f6
lea r8, [0x14005a254]
mov edx, 5
lea rcx, [rsp + 0x40]
call fcn.1400134a0
nop
mov rdx, qword [rsp + 0x30]
call fcn.1400192a0
jmp 0x14001a21c
lea r8, str.Couldnt_find_dev_instance_for_device__:__
mov edx, 2
lea rcx, [rbp]
call fcn.1400134a0
mov ebx, 0x490
mov qword [rbp], r12
cmp byte [rbp + 0xb1], 1
jne 0x14001a248
cmp byte [rbp + 0xb0], 0
jne 0x14001a248
lea r8, [0x14005a254]
mov edx, 5
lea rcx, [rbp]
call fcn.1400134a0
nop
mov eax, ebx
mov rcx, qword [rbp + 0xc0]
xor rcx, rsp
call fcn.1400223c0
mov rbx, qword [rsp + 0x218]
add rsp, 0x1d0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret