Function at 0x14001c910
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, [0x140087d00]
call fcn.14003fab0
mov edx, 0x17
lea rcx, [0x140089720]
call fcn.14000a780
mov rcx, rax
call fcn.140009de0
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 0x14001d495
lea rcx, [0x14008e574]
call fcn.14003a900
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.14003fab0
xor edx, edx
mov r8d, 0x200
lea rcx, [rbp + 0xd0]
call fcn.14003fab0
xor edx, edx
mov r8d, 0x200
lea rcx, [rbp + 0x4d0]
call fcn.14003fab0
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 0x14001d485
lea rsi, [0x1400943c0]
movsd xmm6, qword [0x1400644c0]
movsd xmm7, qword [0x140064438]
movsd xmm8, qword [0x140064448]
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.14003fab0
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 0x14001d467
mov ecx, dword [rbp - 0x5c]
sub ecx, 1
je 0x14001cadc
mov rax, rsi
cmp word [rax], 0
jne 0x14001cad2
mov word [rax], r15w
add rax, 2
sub rcx, 1
jne 0x14001cac8
mov edx, 9
lea rcx, [0x140089720]
call fcn.14000a780
mov rcx, rax
call fcn.140009de0
mov rdx, rax
mov rcx, rsi
call fcn.14003b9f0
test rax, rax
jne 0x14001cb57
lea edx, [rax + 0xa]
lea rcx, [0x140089720]
call fcn.14000a780
mov rcx, rax
call fcn.140009de0
mov rdx, rax
mov rcx, rsi
call fcn.14003b9f0
test rax, rax
jne 0x14001cb57
lea edx, [rax + 0xb]
lea rcx, [0x140089720]
call fcn.14000a780
mov rcx, rax
call fcn.140009de0
mov rdx, rax
mov rcx, rsi
call fcn.14003b9f0
test rax, rax
je 0x14001d467
cmp bx, 0xc
je 0x14001d485
mov dword [rbp - 0x5c], r14d
xor edx, edx
mov r8d, 0x1000
mov rcx, rsi
call fcn.14003fab0
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 0x14001cbb2
mov rdx, 0xffffffffffffffff
nop
inc rdx
cmp word [rsi + rdx*2], 0
jne 0x14001cba0
mov rcx, rsi
call fcn.1400147c0
mov dword [rbp - 0x60], 0x200
xor edx, edx
mov r8d, 0x200
lea rcx, [rbp + 0xd0]
call fcn.14003fab0
mov edx, 0x1e
lea rcx, [0x140089720]
call fcn.14000a780
mov rcx, rax
call fcn.140009de0
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.14000e2d0
mov edx, 0x10
lea rcx, [rsp + 0x48]
call fcn.140012320
mov rdx, rsi
lea rcx, [rsp + 0x48]
call fcn.140010b80
mov r8, 0xffffffffffffffff
lea rdx, [0x14005c620]
lea rcx, [rsp + 0x48]
call fcn.140014bb0
cmp rax, 0xffffffffffffffff
je 0x14001cc5d
add rax, rax
cmp rax, 0x1000
jae 0x14001d4d4
mov word [rax + rsi], r14w
movzx r12d, bx
imul r14, r12, 0x228
lea rbx, [0x140087d00]
lea rcx, [rbx + 0x128]
add rcx, r14
mov r8, 0xffffffffffffffff
mov rdx, rsi
call fcn.140016720
lea rdi, [rbx + 8]
add rdi, r14
mov r8d, 4
lea rdx, [0x1400943d0]
mov rcx, rdi
call fcn.1400166a0
lea r15, [rbx + 0x18]
add r15, r14
mov r8d, 4
lea rdx, [0x1400943e2]
mov rcx, r15
call fcn.1400166a0
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, [0x140089720]
call fcn.14000a780
mov rcx, rax
call fcn.140009de0
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.14000a680
nop
lea rdx, [rbp + 0xd0]
lea rcx, [rsp + 0x60]
call fcn.14000a680
mov r9d, 1
lea r8, [0x1400770b8]
mov rdx, rax
lea rcx, [rbp + 8]
call fcn.140014e40
nop
xor esi, esi
lea rcx, [rbp + 8]
call fcn.140009de0
mov rbx, rax
lea edx, [rsi + 0x1b]
lea rcx, [0x140089720]
call fcn.14000a780
mov rcx, rax
call fcn.140009de0
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.14000e2d0
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.14003b9f0
test rax, rax
je 0x14001d278
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.14003fab0
lea edx, [rsi + 0xc]
lea rcx, [0x140089720]
call fcn.14000a780
mov rcx, rax
call fcn.140009de0
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, [0x140089720]
call fcn.14000a780
mov rcx, rax
call fcn.140009de0
mov rdx, rax
lea rcx, [rbp + 0xd0]
call fcn.1400444a0
test eax, eax
je 0x14001d278
mov dword [rbp - 0x60], 0x200
xor edx, edx
mov r8d, 0x200
lea rcx, [rbp + 0xd0]
call fcn.14003fab0
lea edx, [rsi + 0xe]
lea rcx, [0x140089720]
call fcn.14000a780
mov rcx, rax
call fcn.140009de0
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, [0x140089720]
call fcn.14000a780
mov rcx, rax
call fcn.140009de0
mov rdx, rax
lea rcx, [rbp + 0xd0]
call fcn.1400444a0
test eax, eax
je 0x14001d278
mov dword [rbp - 0x60], 0x10
mov qword [rbp - 0x48], rbx
lea edx, [rsi + 0x56]
lea rcx, [0x140089720]
call fcn.14000a780
mov rcx, rax
call fcn.140009de0
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, [0x140089720]
call fcn.14000a780
mov rcx, rax
call fcn.140009de0
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.14003fab0
lea edx, [rsi + 0x38]
lea rcx, [0x140089720]
call fcn.14000a780
mov rcx, rax
call fcn.140009de0
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 0x14001d0f4
mov esi, 1
mov dword [0x14008f410], esi
xorps xmm3, xmm3
cvtsi2sd xmm3, rax
cmp rax, 0x40000000
jb 0x14001d0c0
test rax, rax
jns 0x14001d0b3
addsd xmm3, xmm6
mulsd xmm3, xmm7
lea rax, [0x14005bfd8]
jmp 0x14001d0d5
test rax, rax
jns 0x14001d0c9
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.14000e2d0
xor edx, edx
mov r8d, 0x200
lea rcx, [rbp + 0x4d0]
call fcn.14003fab0
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 0x14001d172
lea rdx, [0x140057238]
lea rcx, [rbp + 0x4d0]
call qword [sym.imp.SHLWAPI.dll_StrTrimW]
lea rcx, [0x140087d00]
add rcx, 0x28
add rcx, r14
mov r8, 0xffffffffffffffff
lea rdx, [rbp + 0x4d0]
call fcn.140016720
lea rbx, [0x140087d00]
add rbx, r14
cmp word [rbx + 0x28], 0
je 0x14001d270
lea rcx, [rbp - 0x18]
call fcn.14000a6c0
nop
lea rdx, [rbx + 0x28]
lea rcx, [rbp - 0x80]
call fcn.140010b80
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x60], xmm0
lea r8, [0x1400770b4]
lea rdx, [rbp - 0x18]
lea rcx, [rsp + 0x60]
call fcn.1400154a0
cmp esi, 1
jne 0x14001d24f
lea rcx, [rbp - 0x18]
call fcn.140009de0
lea r8, [rbp + 0x50]
sub r8, rax
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x14001d1e8
add rax, 2
test ecx, ecx
jne 0x14001d1d4
test edx, edx
je 0x14001d23e
mov rcx, 0xffffffffffffffff
inc rcx
cmp word [rbx + rcx*2 + 0x28], 0
jne 0x14001d1f3
imul rax, r12, 0x114
add rax, rcx
lea rbx, [0x140087d00]
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.1400443bc
mov word [r14 + rbx + 2], 0x101
jmp 0x14001d262
lea rbx, [0x140087d00]
mov word [r14 + rbx + 2], 0x101
jmp 0x14001d262
test esi, esi
jne 0x14001d262
lea rax, [0x140087d00]
mov word [r14 + rax + 2], 1
lea rcx, [rbp - 0x18]
call fcn.140002990
jmp 0x14001d400
test esi, esi
jne 0x14001d400
mov edx, 0x11
lea rcx, [0x140089720]
call fcn.14000a780
mov rcx, rax
call fcn.140009de0
mov rdx, rdi
sub rax, rdi
nop word [rax + rax]
movzx r9d, word [rdx]
movzx r8d, word [rdx + rax]
sub r9d, r8d
jne 0x14001d2b7
add rdx, 2
test r8d, r8d
jne 0x14001d2a0
test r9d, r9d
jne 0x14001d2d7
lea rdx, [0x140087d00]
add rdx, 0x28
add rdx, r14
mov rcx, r15
call fcn.14000f410
jmp 0x14001d400
mov edx, 0x12
lea rcx, [0x140089720]
call fcn.14000a780
mov rcx, rax
call fcn.140009de0
mov rcx, rdi
sub rax, rdi
nop word [rax + rax]
movzx r8d, word [rcx]
movzx edx, word [rcx + rax]
sub r8d, edx
jne 0x14001d315
add rcx, 2
test edx, edx
jne 0x14001d300
test r8d, r8d
jne 0x14001d335
lea rdx, [0x140087d00]
add rdx, 0x28
add rdx, r14
mov rcx, r15
call fcn.14000f600
jmp 0x14001d400
mov edx, 0x13
lea rcx, [0x140089720]
call fcn.14000a780
mov rcx, rax
call fcn.140009de0
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 0x14001d375
add rcx, 2
test edx, edx
jne 0x14001d360
test r8d, r8d
jne 0x14001d392
lea rdx, [0x140087d00]
add rdx, 0x28
add rdx, r14
mov rcx, r15
call fcn.14000f210
jmp 0x14001d400
mov edx, 0x14
lea rcx, [0x140089720]
call fcn.14000a780
mov rcx, rax
call fcn.140009de0
sub rax, rdi
nop
movzx edx, word [rdi]
movzx ecx, word [rdi + rax]
sub edx, ecx
jne 0x14001d3c3
add rdi, 2
test ecx, ecx
jne 0x14001d3b0
test edx, edx
jne 0x14001d400
mov edx, 0x15
lea rcx, [0x140089720]
call fcn.14000a780
mov rcx, rax
call fcn.140009de0
mov r8, rax
lea rcx, [0x140087d00]
add rcx, 0x28
add rcx, r14
mov rdx, 0xffffffffffffffff
mov r9, rdx
call fcn.1400443bc
lea rbx, [0x140087d00]
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 0x14001d437
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, [0x1400943c0]
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 0x14001ca70
mov word [0x14008f300], bx
mov rcx, r13
call qword [sym.imp.SETUPAPI.dll_SetupDiDestroyDeviceInfoList]
mov rcx, qword [rbp + 0x6d0]
xor rcx, rsp
call fcn.14003e040
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.14003e2ac
int3