Function at 0x14001c680
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 [0x14007b658]
xor rax, rsp
mov qword [rbp + 0x6d0], rax
xor edx, edx
mov r8d, 0x19e0
lea rcx, [0x140086cf0]
call fcn.14003f490
mov edx, 0x17
lea rcx, [0x140088710]
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 0x14001d205
lea rcx, [0x14008d564]
call fcn.14003a530
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.14003f490
xor edx, edx
mov r8d, 0x200
lea rcx, [rbp + 0xd0]
call fcn.14003f490
xor edx, edx
mov r8d, 0x200
lea rcx, [rbp + 0x4d0]
call fcn.14003f490
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 0x14001d1f5
lea rsi, [0x140090f30]
movsd xmm6, qword [0x140064490]
movsd xmm7, qword [0x140064408]
movsd xmm8, qword [0x140064418]
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.14003f490
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 0x14001d1d7
mov ecx, dword [rbp - 0x5c]
sub ecx, 1
je 0x14001c84c
mov rax, rsi
cmp word [rax], 0
jne 0x14001c842
mov word [rax], r15w
add rax, 2
sub rcx, 1
jne 0x14001c838
mov edx, 9
lea rcx, [0x140088710]
call fcn.14000a780
mov rcx, rax
call fcn.140009de0
mov rdx, rax
mov rcx, rsi
call fcn.14003b3c0
test rax, rax
jne 0x14001c8c7
lea edx, [rax + 0xa]
lea rcx, [0x140088710]
call fcn.14000a780
mov rcx, rax
call fcn.140009de0
mov rdx, rax
mov rcx, rsi
call fcn.14003b3c0
test rax, rax
jne 0x14001c8c7
lea edx, [rax + 0xb]
lea rcx, [0x140088710]
call fcn.14000a780
mov rcx, rax
call fcn.140009de0
mov rdx, rax
mov rcx, rsi
call fcn.14003b3c0
test rax, rax
je 0x14001d1d7
cmp bx, 0xc
je 0x14001d1f5
mov dword [rbp - 0x5c], r14d
xor edx, edx
mov r8d, 0x1000
mov rcx, rsi
call fcn.14003f490
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 0x14001c922
mov rdx, 0xffffffffffffffff
nop
inc rdx
cmp word [rsi + rdx*2], 0
jne 0x14001c910
mov rcx, rsi
call fcn.140014530
mov dword [rbp - 0x60], 0x200
xor edx, edx
mov r8d, 0x200
lea rcx, [rbp + 0xd0]
call fcn.14003f490
mov edx, 0x1e
lea rcx, [0x140088710]
call fcn.14000a780
mov rcx, rax
call fcn.140009de0
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rax
lea r9, [0x1400898a4]
lea r8, str._s_s_s
mov edx, 0x100
lea rcx, [rbp + 0x2d0]
call fcn.14000e0c0
mov edx, 0x10
lea rcx, [rsp + 0x48]
call fcn.140013fd0
mov rdx, rsi
lea rcx, [rsp + 0x48]
call fcn.1400164f0
mov r8, 0xffffffffffffffff
lea rdx, [0x14005c630]
lea rcx, [rsp + 0x48]
call fcn.140014920
cmp rax, 0xffffffffffffffff
je 0x14001c9cd
add rax, rax
cmp rax, 0x1000
jae 0x14001d244
mov word [rax + rsi], r14w
movzx r12d, bx
imul r14, r12, 0x228
lea rbx, [0x140086cf0]
lea rcx, [rbx + 0x128]
add rcx, r14
mov r8, 0xffffffffffffffff
mov rdx, rsi
call fcn.140016490
lea rdi, [rbx + 8]
add rdi, r14
mov r8d, 4
lea rdx, [0x140090f40]
mov rcx, rdi
call fcn.140016410
lea r15, [rbx + 0x18]
add r15, r14
mov r8d, 4
lea rdx, [0x140090f52]
mov rcx, r15
call fcn.140016410
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, [0x140088710]
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, [0x1400760a8]
mov rdx, rax
lea rcx, [rbp + 8]
call fcn.140014bb0
nop
xor esi, esi
lea rcx, [rbp + 8]
call fcn.140009de0
mov rbx, rax
lea edx, [rsi + 0x1b]
lea rcx, [0x140088710]
call fcn.14000a780
mov rcx, rax
call fcn.140009de0
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rax
lea r9, [0x1400898a4]
lea r8, str._s_s_s
mov edx, 0x100
lea rcx, [rbp + 0x2d0]
call fcn.14000e0c0
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, [0x1400760ac]
lea rcx, [rbp + 0xd0]
call fcn.14003b3c0
test rax, rax
je 0x14001cfe8
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.14003f490
lea edx, [rsi + 0xc]
lea rcx, [0x140088710]
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, [0x140088710]
call fcn.14000a780
mov rcx, rax
call fcn.140009de0
mov rdx, rax
lea rcx, [rbp + 0xd0]
call fcn.140043e80
test eax, eax
je 0x14001cfe8
mov dword [rbp - 0x60], 0x200
xor edx, edx
mov r8d, 0x200
lea rcx, [rbp + 0xd0]
call fcn.14003f490
lea edx, [rsi + 0xe]
lea rcx, [0x140088710]
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, [0x140088710]
call fcn.14000a780
mov rcx, rax
call fcn.140009de0
mov rdx, rax
lea rcx, [rbp + 0xd0]
call fcn.140043e80
test eax, eax
je 0x14001cfe8
mov dword [rbp - 0x60], 0x10
mov qword [rbp - 0x48], rbx
lea edx, [rsi + 0x56]
lea rcx, [0x140088710]
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, [0x140088710]
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.14003f490
lea edx, [rsi + 0x38]
lea rcx, [0x140088710]
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 0x14001ce64
mov esi, 1
mov dword [0x14008e400], esi
xorps xmm3, xmm3
cvtsi2sd xmm3, rax
cmp rax, 0x40000000
jb 0x14001ce30
test rax, rax
jns 0x14001ce23
addsd xmm3, xmm6
mulsd xmm3, xmm7
lea rax, [0x14005c528]
jmp 0x14001ce45
test rax, rax
jns 0x14001ce39
addsd xmm3, xmm6
mulsd xmm3, xmm8
lea rax, [0x14005c520]
mov qword [rsp + 0x20], rax
movq r9, xmm3
lea r8, str._1f_s
mov edx, 0x40
lea rcx, [rbp + 0x50]
call fcn.14000e0c0
xor edx, edx
mov r8d, 0x200
lea rcx, [rbp + 0x4d0]
call fcn.14003f490
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 0x14001cee2
lea rdx, [0x140057238]
lea rcx, [rbp + 0x4d0]
call qword [sym.imp.SHLWAPI.dll_StrTrimW]
lea rcx, [0x140086cf0]
add rcx, 0x28
add rcx, r14
mov r8, 0xffffffffffffffff
lea rdx, [rbp + 0x4d0]
call fcn.140016490
lea rbx, [0x140086cf0]
add rbx, r14
cmp word [rbx + 0x28], 0
je 0x14001cfe0
lea rcx, [rbp - 0x18]
call fcn.14000a6c0
nop
lea rdx, [rbx + 0x28]
lea rcx, [rbp - 0x80]
call fcn.1400164f0
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x60], xmm0
lea r8, [0x1400760a4]
lea rdx, [rbp - 0x18]
lea rcx, [rsp + 0x60]
call fcn.140015210
cmp esi, 1
jne 0x14001cfbf
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 0x14001cf58
add rax, 2
test ecx, ecx
jne 0x14001cf44
test edx, edx
je 0x14001cfae
mov rcx, 0xffffffffffffffff
inc rcx
cmp word [rbx + rcx*2 + 0x28], 0
jne 0x14001cf63
imul rax, r12, 0x114
add rax, rcx
lea rbx, [0x140086cf0]
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.140043d9c
mov word [r14 + rbx + 2], 0x101
jmp 0x14001cfd2
lea rbx, [0x140086cf0]
mov word [r14 + rbx + 2], 0x101
jmp 0x14001cfd2
test esi, esi
jne 0x14001cfd2
lea rax, [0x140086cf0]
mov word [r14 + rax + 2], 1
lea rcx, [rbp - 0x18]
call fcn.140002990
jmp 0x14001d170
test esi, esi
jne 0x14001d170
mov edx, 0x11
lea rcx, [0x140088710]
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 0x14001d027
add rdx, 2
test r8d, r8d
jne 0x14001d010
test r9d, r9d
jne 0x14001d047
lea rdx, [0x140086cf0]
add rdx, 0x28
add rdx, r14
mov rcx, r15
call fcn.14000f200
jmp 0x14001d170
mov edx, 0x12
lea rcx, [0x140088710]
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 0x14001d085
add rcx, 2
test edx, edx
jne 0x14001d070
test r8d, r8d
jne 0x14001d0a5
lea rdx, [0x140086cf0]
add rdx, 0x28
add rdx, r14
mov rcx, r15
call fcn.14000f3f0
jmp 0x14001d170
mov edx, 0x13
lea rcx, [0x140088710]
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 0x14001d0e5
add rcx, 2
test edx, edx
jne 0x14001d0d0
test r8d, r8d
jne 0x14001d102
lea rdx, [0x140086cf0]
add rdx, 0x28
add rdx, r14
mov rcx, r15
call fcn.14000f000
jmp 0x14001d170
mov edx, 0x14
lea rcx, [0x140088710]
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 0x14001d133
add rdi, 2
test ecx, ecx
jne 0x14001d120
test edx, edx
jne 0x14001d170
mov edx, 0x15
lea rcx, [0x140088710]
call fcn.14000a780
mov rcx, rax
call fcn.140009de0
mov r8, rax
lea rcx, [0x140086cf0]
add rcx, 0x28
add rcx, r14
mov rdx, 0xffffffffffffffff
mov r9, rdx
call fcn.140043d9c
lea rbx, [0x140086cf0]
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 0x14001d1a7
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, [0x140090f30]
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 0x14001c7e0
mov word [0x14008e2f0], bx
mov rcx, r13
call qword [sym.imp.SETUPAPI.dll_SetupDiDestroyDeviceInfoList]
mov rcx, qword [rbp + 0x6d0]
xor rcx, rsp
call fcn.14003da20
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.14003dc8c
int3