Function at 0x140019d20
Capabilities:
Query or enumerate 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::GetRegKeyValue
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 0x140019def
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 0x140019f52
mov r9d, 0x20019
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::GetKeyValue
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 0x140019ea6
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.Looking_for__keyName___s_:_Len___d__at_software_key_0x_p
mov edx, 4
lea rcx, [rsp + 0x40]
call fcn.1400134a0
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], r14
mov r9, r15
xor r8d, r8d
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
lea rcx, [rsp + 0x40]
test eax, eax
je 0x140019f0c
mov r9d, eax
lea r8, str.unexpected_error__RegQueryValueExW_return_Value_0x_08x
mov edx, 2
call fcn.1400134a0
jmp 0x140019f1e
lea r8, str.RegQueryValueExW_succeeded
mov edx, 4
call fcn.1400134a0
nop
mov qword [rsp + 0x40], r12
cmp byte [rbp - 0xf], 1
jne 0x140019f46
cmp byte [rbp - 0x10], 0
jne 0x140019f46
lea r8, [0x14005a254]
mov edx, 5
lea rcx, [rsp + 0x40]
call fcn.1400134a0
nop
mov rdx, qword [rsp + 0x30]
call fcn.1400192a0
jmp 0x140019f6c
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 0x140019f98
cmp byte [rbp + 0xb0], 0
jne 0x140019f98
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