Function at 0x140004450
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
jmp 0x14001da50
push rbp
push rdi
push r14
push r15
lea rbp, [rsp - 0xb98]
sub rsp, 0xc98
mov rax, qword [0x1400a00c8]
xor rax, rsp
mov qword [rbp + 0xb80], rax
mov r14d, ecx
xor r15d, r15d
lea rcx, [rsp + 0x38]
mov dword [rsp + 0x38], r15d
xor edx, edx
mov r8d, 0x100
mov edi, r15d
call qword [sym.imp.SETUPAPI.dll_CM_Get_Device_ID_List_SizeW]
test eax, eax
je 0x14001daa4
mov eax, r15d
jmp 0x14001dd78
mov ecx, dword [rsp + 0x38]
mov eax, 2
mul rcx
mov qword [rsp + 0xcd0], rsi
mov qword [rsp + 0xcd8], r12
mov r12, 0xffffffffffffffff
cmovo rax, r12
mov rcx, rax
call fcn.1400098a0
mov rsi, rax
test rax, rax
jne 0x14001dae3
mov eax, r15d
jmp 0x14001dd68
mov r8d, dword [rsp + 0x38]
mov r9d, 0x100
mov rdx, rsi
xor ecx, ecx
call qword [sym.imp.SETUPAPI.dll_CM_Get_Device_ID_ListW]
test eax, eax
jne 0x14001dd5e
mov qword [rsp + 0xcc8], rbx
mov rbx, rsi
cmp word [rsi], di
je 0x14001dd56
mov qword [rsp + 0xc90], r13
lea r13, str.Device_ParametersWinBioConfigurations
xor r8d, r8d
lea rcx, [rsp + 0x3c]
mov rdx, rbx
call qword [sym.imp.SETUPAPI.dll_CM_Locate_DevNodeW]
test eax, eax
jne 0x14001dd4e
mov ecx, dword [rsp + 0x3c]
lea rax, [rsp + 0x30]
mov dword [rsp + 0x28], r15d
lea r9, [rsp + 0x60]
lea r8, [rsp + 0x34]
mov qword [rsp + 0x20], rax
lea rdx, [0x140086220]
mov dword [rsp + 0x30], 0x208
call qword [sym.imp.CFGMGR32.dll_CM_Get_DevNode_PropertyW]
test eax, eax
jne 0x14001db9e
cmp dword [rsp + 0x34], 0xd
jne 0x14001db9e
mov rax, qword [0x1400887f8]
cmp rax, qword [rsp + 0x60]
jne 0x14001dd12
mov rax, qword [0x140088800]
cmp rax, qword [rsp + 0x68]
jne 0x14001dd12
mov ecx, dword [rsp + 0x3c]
lea rax, [rsp + 0x30]
mov dword [rsp + 0x28], r15d
lea r9, [rsp + 0x60]
lea r8, [rsp + 0x34]
mov qword [rsp + 0x20], rax
lea rdx, [0x1400861a8]
mov dword [rsp + 0x30], 0x208
call qword [sym.imp.CFGMGR32.dll_CM_Get_DevNode_PropertyW]
test eax, eax
jne 0x14001dd12
cmp dword [rsp + 0x34], 0x12
jne 0x14001dd12
lea rdx, str.Synaptics
lea rcx, [rsp + 0x60]
call qword [sym.imp.SHLWAPI.dll_StrStrIW]
test rax, rax
je 0x14001dd12
mov ecx, dword [rsp + 0x3c]
lea rax, [rsp + 0x30]
mov dword [rsp + 0x28], r15d
lea r9, [rbp + 0x170]
lea r8, [rsp + 0x34]
mov qword [rsp + 0x20], rax
lea rdx, [0x1400864d8]
call qword [sym.imp.CFGMGR32.dll_CM_Get_DevNode_PropertyW]
test eax, eax
jne 0x14001dd12
lea r9, [rbp + 0x170]
mov qword [rsp + 0x20], r13
lea r8, str.SYSTEMCurrentControlSetEnum_
lea rdx, str._s_s_s
lea rcx, [rbp + 0x380]
call qword [sym.imp.USER32.dll_wsprintfW]
lea rax, [rsp + 0x40]
mov dword [rsp + 0x48], 4
mov r9d, 0xf013f
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov dword [rsp + 0x50], r14d
lea rdx, [rbp + 0x380]
mov qword [rsp + 0x40], r15
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14001dd4b
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea rdx, str.SecureFingerprint
lea rax, [rsp + 0x4c]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14001dd95
lea edi, [rax + 1]
cmp dword [rsp + 0x4c], r14d
je 0x14001dd07
mov eax, dword [rsp + 0x48]
lea r9d, [rdi + 3]
mov rcx, qword [rsp + 0x40]
lea rdx, str.SecureFingerprint
mov dword [rsp + 0x28], eax
xor r8d, r8d
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x14001dd40
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rax, r12
nop word [rax + rax]
cmp word [rbx + rax*2 + 2], r15w
lea rax, [rax + 1]
jne 0x14001dd20
lea rbx, [rbx + rax*2]
add rbx, 2
cmp word [rbx], r15w
jne 0x14001db24
jmp 0x14001dd4e
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, r15d
mov r13, qword [rsp + 0xc90]
mov rbx, qword [rsp + 0xcc8]
mov rcx, rsi
call fcn.140007050
mov eax, edi
mov rsi, qword [rsp + 0xcd0]
mov r12, qword [rsp + 0xcd8]
mov rcx, qword [rbp + 0xb80]
xor rcx, rsp
call fcn.140003a10
add rsp, 0xc98
pop r15
pop r14
pop rdi
pop rbp
ret
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14001dd4e