Function at 0x14001ca90
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x738]
sub rsp, 0x810
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
mov rax, qword [0x14007c668]
xor rax, rsp
mov qword [rbp + 0x6d0], rax
xor edx, edx
mov r8d, 0x19e0
lea rcx, [0x140087d10]
call fcn.14003fc80
mov edx, 0x17
lea rcx, [0x140089728]
call fcn.14000a850
mov rcx, rax
call fcn.140009eb0
mov rdx, rax
mov r9d, 6
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.SETUPAPI.dll_SetupDiGetClassDevsW]
mov r13, rax
cmp rax, 0xffffffffffffffff
je 0x14001d615
lea rcx, [0x14008e574]
call fcn.14003aa90
xor r14d, r14d
movzx ebx, r14w
mov word [rsp + 0x40], bx
mov qword [rbp - 0x68], r14
mov qword [rbp - 0x70], r14
xor edx, edx
mov r8d, 0x200
lea rcx, [rbp + 0x2d0]
call fcn.14003fc80
xor edx, edx
mov r8d, 0x200
lea rcx, [rbp + 0xd0]
call fcn.14003fc80
xor edx, edx
mov r8d, 0x200
lea rcx, [rbp + 0x4d0]
call fcn.14003fc80
xor eax, eax
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rax
mov r15d, 0x20
mov dword [rbp - 0x40], r15d
mov edi, r14d
mov dword [rsp + 0x44], r14d
lea r8, [rbp - 0x40]
xor edx, edx
mov rcx, r13
call qword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInfo]
cmp eax, 1
jne 0x14001d605
lea rsi, [0x1400943d0]
movsd xmm6, qword [0x140064510]
movsd xmm7, qword [0x140064488]
movsd xmm8, qword [0x140064498]
nop dword [rax]
nop word [rax + rax]
mov dword [rbp - 0x50], r14d
mov dword [rbp - 0x5c], r14d
xor edx, edx
mov r8d, 0x1000
mov rcx, rsi
call fcn.14003fc80
lea rax, [rbp - 0x5c]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x1000
mov qword [rsp + 0x20], rsi
lea r9, [rbp - 0x50]
mov r8d, 2
lea rdx, [rbp - 0x40]
mov rcx, r13
call qword [sym.imp.SETUPAPI.dll_SetupDiGetDeviceRegistryPropertyW]
test eax, eax
je 0x14001d5e7
mov ecx, dword [rbp - 0x5c]
sub ecx, 1
je 0x14001cc5c
mov rax, rsi
cmp word [rax], 0
jne 0x14001cc52
mov word [rax], r15w
add rax, 2
sub rcx, 1
jne 0x14001cc48
mov edx, 9
lea rcx, [0x140089728]
call fcn.14000a850
mov rcx, rax
call fcn.140009eb0
mov rdx, rax
mov rcx, rsi
call fcn.14003bb80
test rax, rax
jne 0x14001ccd7
lea edx, [rax + 0xa]
lea rcx, [0x140089728]
call fcn.14000a850
mov rcx, rax
call fcn.140009eb0
mov rdx, rax
mov rcx, rsi
call fcn.14003bb80
test rax, rax
jne 0x14001ccd7
lea edx, [rax + 0xb]
lea rcx, [0x140089728]
call fcn.14000a850
mov rcx, rax
call fcn.140009eb0
mov rdx, rax
mov rcx, rsi
call fcn.14003bb80
test rax, rax
je 0x14001d5e7
cmp bx, 0xc
je 0x14001d605
mov dword [rbp - 0x5c], r14d
xor edx, edx
mov r8d, 0x1000
mov rcx, rsi
call fcn.14003fc80
lea rax, [rbp - 0x5c]
mov qword [rsp + 0x20], rax
mov r9d, 0x1000
mov r8, rsi
lea rdx, [rbp - 0x40]
mov rcx, r13
call qword [sym.imp.SETUPAPI.dll_SetupDiGetDeviceInstanceIdW]
test eax, eax
je 0x14001cd32
mov rdx, 0xffffffffffffffff
nop
inc rdx
cmp word [rsi + rdx*2], 0
jne 0x14001cd20
mov rcx, rsi
call fcn.1400148c0
mov dword [rbp - 0x60], 0x200
xor edx, edx
mov r8d, 0x200
lea rcx, [rbp + 0xd0]
call fcn.14003fc80
mov edx, 0x1e
lea rcx, [0x140089728]
call fcn.14000a850
mov rcx, rax
call fcn.140009eb0
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rax
lea r9, [0x14008a8b4]
lea r8, str._s_s_s
mov edx, 0x100
lea rcx, [rbp + 0x2d0]
call fcn.14000e3d0
mov edx, 0x10
lea rcx, [rsp + 0x48]
call fcn.140012420
mov rdx, rsi
lea rcx, [rsp + 0x48]
call fcn.140010c80
mov r8, 0xffffffffffffffff
lea rdx, [0x14005c620]
lea rcx, [rsp + 0x48]
call fcn.140014cb0
cmp rax, 0xffffffffffffffff
je 0x14001cddd
add rax, rax
cmp rax, 0x1000
jae 0x14001d654
mov word [rax + rsi], r14w
movzx r12d, bx
imul r14, r12, 0x228
lea rbx, [0x140087d10]
lea rcx, [rbx + 0x128]
add rcx, r14
mov r8, 0xffffffffffffffff
mov rdx, rsi
call fcn.140016820
lea rdi, [rbx + 8]
add rdi, r14
mov r8d, 4
lea rdx, [0x1400943e0]
mov rcx, rdi
call fcn.1400167a0
lea r15, [rbx + 0x18]
add r15, r14
mov r8d, 4
lea rdx, [0x1400943f2]
mov rcx, r15
call fcn.1400167a0
lea rax, [rbp - 0x68]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, [rbp + 0x2d0]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edx, 0x19
lea rcx, [0x140089728]
call fcn.14000a850
mov rcx, rax
call fcn.140009eb0
lea rcx, [rbp - 0x60]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp + 0xd0]
mov qword [rsp + 0x20], rcx
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rbp - 0x68]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea rdx, [0x140055950]
lea rcx, [rbp + 0x28]
call fcn.14000a750
nop
lea rdx, [rbp + 0xd0]
lea rcx, [rsp + 0x60]
call fcn.14000a750
mov r9d, 1
lea r8, [0x1400770b8]
mov rdx, rax
lea rcx, [rbp + 8]
call fcn.140014f40
nop
xor esi, esi
lea rcx, [rbp + 8]
call fcn.140009eb0
mov rbx, rax
lea edx, [rsi + 0x1b]
lea rcx, [0x140089728]
call fcn.14000a850
mov rcx, rax
call fcn.140009eb0
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rax
lea r9, [0x14008a8b4]
lea r8, str._s_s_s
mov edx, 0x100
lea rcx, [rbp + 0x2d0]
call fcn.14000e3d0
lea rax, [rbp - 0x70]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, [rbp + 0x2d0]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea rdx, [0x1400770bc]
lea rcx, [rbp + 0xd0]
call fcn.14003bb80
test rax, rax
je 0x14001d3f8
xor eax, eax
mov qword [rbp + 0x90], rax
mov qword [rbp + 0x98], rax
mov qword [rbp + 0xa0], rax
mov qword [rbp + 0xa8], rax
mov qword [rbp + 0xb0], rax
mov qword [rbp + 0xb8], rax
mov qword [rbp + 0xc0], rax
mov qword [rbp + 0xc8], rax
mov qword [rbp + 0x50], rax
mov qword [rbp + 0x58], rax
mov qword [rbp + 0x60], rax
mov qword [rbp + 0x68], rax
mov qword [rbp + 0x70], rax
mov qword [rbp + 0x78], rax
mov qword [rbp + 0x80], rax
mov qword [rbp + 0x88], rax
xor ebx, ebx
mov qword [rbp - 0x58], rbx
mov dword [rbp - 0x60], 0x200
xor edx, edx
mov r8d, 0x200
lea rcx, [rbp + 0xd0]
call fcn.14003fc80
lea edx, [rsi + 0xc]
lea rcx, [0x140089728]
call fcn.14000a850
mov rcx, rax
call fcn.140009eb0
lea rcx, [rbp - 0x60]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp + 0xd0]
mov qword [rsp + 0x20], rcx
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea rdx, [0x140057238]
lea rcx, [rbp + 0xd0]
call qword [sym.imp.SHLWAPI.dll_StrTrimW]
lea edx, [rsi + 0xd]
lea rcx, [0x140089728]
call fcn.14000a850
mov rcx, rax
call fcn.140009eb0
mov rdx, rax
lea rcx, [rbp + 0xd0]
call fcn.140044670
test eax, eax
je 0x14001d3f8
mov dword [rbp - 0x60], 0x200
xor edx, edx
mov r8d, 0x200
lea rcx, [rbp + 0xd0]
call fcn.14003fc80
lea edx, [rsi + 0xe]
lea rcx, [0x140089728]
call fcn.14000a850
mov rcx, rax
call fcn.140009eb0
lea rcx, [rbp - 0x60]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp + 0xd0]
mov qword [rsp + 0x20], rcx
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea rdx, [0x140057238]
lea rcx, [rbp + 0xd0]
call qword [sym.imp.SHLWAPI.dll_StrTrimW]
lea edx, [rsi + 0xf]
lea rcx, [0x140089728]
call fcn.14000a850
mov rcx, rax
call fcn.140009eb0
mov rdx, rax
lea rcx, [rbp + 0xd0]
call fcn.140044670
test eax, eax
je 0x14001d3f8
mov dword [rbp - 0x60], 0x10
mov qword [rbp - 0x48], rbx
lea edx, [rsi + 0x56]
lea rcx, [0x140089728]
call fcn.14000a850
mov rcx, rax
call fcn.140009eb0
lea rcx, [rbp - 0x60]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp - 0x48]
mov qword [rsp + 0x20], rcx
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rbp - 0x60], 0x10
lea edx, [rsi + 0x57]
lea rcx, [0x140089728]
call fcn.14000a850
mov rcx, rax
call fcn.140009eb0
lea rcx, [rbp - 0x60]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp - 0x58]
mov qword [rsp + 0x20], rcx
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rbp - 0x58]
cmp qword [rbp - 0x48], rcx
cmova rcx, qword [rbp - 0x48]
mov qword [rbp - 0x58], rcx
mov dword [rbp - 0x60], 0x200
xor edx, edx
mov r8d, 0x200
lea rcx, [rbp + 0xd0]
call fcn.14003fc80
lea edx, [rsi + 0x38]
lea rcx, [0x140089728]
call fcn.14000a850
mov rcx, rax
call fcn.140009eb0
lea rcx, [rbp - 0x60]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp + 0xd0]
mov qword [rsp + 0x20], rcx
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rax, qword [rbp - 0x58]
test rax, rax
je 0x14001d274
mov esi, 1
mov dword [0x14008f450], esi
xorps xmm3, xmm3
cvtsi2sd xmm3, rax
cmp rax, 0x40000000
jb 0x14001d240
test rax, rax
jns 0x14001d233
addsd xmm3, xmm6
mulsd xmm3, xmm7
lea rax, [0x14005bfd8]
jmp 0x14001d255
test rax, rax
jns 0x14001d249
addsd xmm3, xmm6
mulsd xmm3, xmm8
lea rax, [0x14005bfd0]
mov qword [rsp + 0x20], rax
movq r9, xmm3
lea r8, str._1f_s
mov edx, 0x40
lea rcx, [rbp + 0x50]
call fcn.14000e3d0
xor edx, edx
mov r8d, 0x200
lea rcx, [rbp + 0x4d0]
call fcn.14003fc80
lea rax, [rbp - 0x60]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x200
lea rax, [rbp + 0x4d0]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x20]
xor r8d, r8d
lea rdx, [rbp - 0x40]
mov rcx, r13
call qword [sym.imp.SETUPAPI.dll_SetupDiGetDeviceRegistryPropertyW]
test eax, eax
je 0x14001d2f2
lea rdx, [0x140057238]
lea rcx, [rbp + 0x4d0]
call qword [sym.imp.SHLWAPI.dll_StrTrimW]
lea rcx, [0x140087d10]
add rcx, 0x28
add rcx, r14
mov r8, 0xffffffffffffffff
lea rdx, [rbp + 0x4d0]
call fcn.140016820
lea rbx, [0x140087d10]
add rbx, r14
cmp word [rbx + 0x28], 0
je 0x14001d3f0
lea rcx, [rbp - 0x18]
call fcn.14000a790
nop
lea rdx, [rbx + 0x28]
lea rcx, [rbp - 0x80]
call fcn.140010c80
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x60], xmm0
lea r8, [0x1400770b4]
lea rdx, [rbp - 0x18]
lea rcx, [rsp + 0x60]
call fcn.1400155a0
cmp esi, 1
jne 0x14001d3cf
lea rcx, [rbp - 0x18]
call fcn.140009eb0
lea r8, [rbp + 0x50]
sub r8, rax
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x14001d368
add rax, 2
test ecx, ecx
jne 0x14001d354
test edx, edx
je 0x14001d3be
mov rcx, 0xffffffffffffffff
inc rcx
cmp word [rbx + rcx*2 + 0x28], 0
jne 0x14001d373
imul rax, r12, 0x114
add rax, rcx
lea rbx, [0x140087d10]
mov ecx, 0x20
mov word [rbx + rax*2 + 0x28], cx
add rax, 0x15
lea rcx, [rbx + rax*2]
mov r9, 0xffffffffffffffff
lea r8, [rbp + 0x50]
mov rdx, r9
call fcn.14004458c
mov word [r14 + rbx + 2], 0x101
jmp 0x14001d3e2
lea rbx, [0x140087d10]
mov word [r14 + rbx + 2], 0x101
jmp 0x14001d3e2
test esi, esi
jne 0x14001d3e2
lea rax, [0x140087d10]
mov word [r14 + rax + 2], 1
lea rcx, [rbp - 0x18]
call fcn.140002990
jmp 0x14001d580
test esi, esi
jne 0x14001d580
mov edx, 0x11
lea rcx, [0x140089728]
call fcn.14000a850
mov rcx, rax
call fcn.140009eb0
mov rdx, rdi
sub rax, rdi
nop word [rax + rax]
movzx r9d, word [rdx]
movzx r8d, word [rdx + rax]
sub r9d, r8d
jne 0x14001d437
add rdx, 2
test r8d, r8d
jne 0x14001d420
test r9d, r9d
jne 0x14001d457
lea rdx, [0x140087d10]
add rdx, 0x28
add rdx, r14
mov rcx, r15
call fcn.14000f510
jmp 0x14001d580
mov edx, 0x12
lea rcx, [0x140089728]
call fcn.14000a850
mov rcx, rax
call fcn.140009eb0
mov rcx, rdi
sub rax, rdi
nop word [rax + rax]
movzx r8d, word [rcx]
movzx edx, word [rcx + rax]
sub r8d, edx
jne 0x14001d495
add rcx, 2
test edx, edx
jne 0x14001d480
test r8d, r8d
jne 0x14001d4b5
lea rdx, [0x140087d10]
add rdx, 0x28
add rdx, r14
mov rcx, r15
call fcn.14000f700
jmp 0x14001d580
mov edx, 0x13
lea rcx, [0x140089728]
call fcn.14000a850
mov rcx, rax
call fcn.140009eb0
mov rcx, rdi
sub rax, rdi
nop dword [rax]
nop dword [rax + rax]
movzx r8d, word [rcx]
movzx edx, word [rcx + rax]
sub r8d, edx
jne 0x14001d4f5
add rcx, 2
test edx, edx
jne 0x14001d4e0
test r8d, r8d
jne 0x14001d512
lea rdx, [0x140087d10]
add rdx, 0x28
add rdx, r14
mov rcx, r15
call fcn.14000f310
jmp 0x14001d580
mov edx, 0x14
lea rcx, [0x140089728]
call fcn.14000a850
mov rcx, rax
call fcn.140009eb0
sub rax, rdi
nop
movzx edx, word [rdi]
movzx ecx, word [rdi + rax]
sub edx, ecx
jne 0x14001d543
add rdi, 2
test ecx, ecx
jne 0x14001d530
test edx, edx
jne 0x14001d580
mov edx, 0x15
lea rcx, [0x140089728]
call fcn.14000a850
mov rcx, rax
call fcn.140009eb0
mov r8, rax
lea rcx, [0x140087d10]
add rcx, 0x28
add rcx, r14
mov rdx, 0xffffffffffffffff
mov r9, rdx
call fcn.14004458c
lea rbx, [0x140087d10]
lea rcx, [rbx + 0x28]
add rcx, r14
lea rdx, [0x140057238]
call qword [sym.imp.SHLWAPI.dll_StrTrimW]
movzx ebx, word [rsp + 0x40]
inc bx
mov word [rsp + 0x40], bx
mov rcx, qword [rbp - 0x70]
test rcx, rcx
je 0x14001d5b7
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp - 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
lea rcx, [rbp + 8]
call fcn.140002990
nop
lea rcx, [rbp + 0x28]
call fcn.140002990
mov edi, dword [rsp + 0x44]
lea rsi, [0x1400943d0]
xor r14d, r14d
lea r15d, [r14 + 0x20]
inc edi
mov dword [rsp + 0x44], edi
lea r8, [rbp - 0x40]
mov edx, edi
mov rcx, r13
call qword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInfo]
cmp eax, 1
je 0x14001cbf0
mov word [0x14008f314], bx
mov rcx, r13
call qword [sym.imp.SETUPAPI.dll_SetupDiDestroyDeviceInfoList]
mov rcx, qword [rbp + 0x6d0]
xor rcx, rsp
call fcn.14003e210
lea r11, [rsp + 0x810]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.14003e47c
int3