Function at 0x1400fcfd0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xb20]
sub rsp, 0xc20
mov rax, qword [0x14026eff8]
xor rax, rsp
mov qword [rbp + 0xb10], rax
mov rbx, rcx
mov qword [rbp - 0x40], rcx
mov qword [rbp - 0x60], rcx
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x58], xmm0
xor r15d, r15d
mov r13d, r15d
mov qword [rbp - 0x80], r15
mov qword [rbp - 0x48], r15
movups xmm0, xmmword [0x1402297e0]
movups xmmword [rbp + 0xd0], xmm0
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0xd0]
call qword [sym.imp.SETUPAPI.dll_SetupDiGetClassDevsExW]
mov rdi, rax
mov qword [rbp - 0x68], rax
cmp rax, 0xffffffffffffffff
jne 0x1400fd078
mov qword [rbx], r15
mov qword [rbx + 8], r15
mov qword [rbx + 0x10], r15
jmp 0x1400fdb45
xorps xmm0, xmm0
movups xmmword [rbp + 0x70], xmm0
movups xmmword [rbp + 0x80], xmm0
mov dword [rbp + 0x70], 0x20
xor edx, edx
mov r8d, 0x230
lea rcx, [rbp + 0xe0]
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x48], r15d
lea r8, [rbp + 0x70]
xor edx, edx
mov rcx, rdi
call qword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInfo]
mov r12, qword [rbp - 0x50]
test eax, eax
je 0x1400fdb2d
mov rbx, qword [rbp + 0xf8]
mov qword [rbp - 0x60], rbx
mov qword [rsp + 0x40], r12
nop dword [rax]
nop word [rax + rax]
mov qword [rbp - 0x10], r15
mov rax, r15
mov qword [rsp + 0x60], rax
mov qword [rbp], rax
mov r15d, 7
mov qword [rsp + 0x58], r15
mov qword [rbp + 8], r15
xor r13d, r13d
mov word [rbp - 0x10], r13w
mov qword [rbp + 0x10], r13
mov qword [rsp + 0x70], r13
mov qword [rbp + 0x20], r13
mov esi, r15d
mov qword [rsp + 0x50], r15
mov qword [rbp + 0x28], r15
mov word [rbp + 0x10], r13w
mov qword [rbp + 0x30], r13
mov qword [rbp + 0x40], r13
mov r14d, r15d
mov qword [rbp + 0x48], r15
mov word [rbp + 0x30], r13w
xor edx, edx
mov r8d, 0x200
lea rcx, [rbp + 0xe0]
call sub.VCRUNTIME140.dll_memset
mov qword [rsp + 0x20], rbx
xor r9d, r9d
mov r8d, 0xc8
lea rdx, [rbp + 0xe0]
mov ecx, dword [rbp + 0x84]
call qword [sym.imp.SETUPAPI.dll_CM_Get_Device_ID_ExW]
test eax, eax
jne 0x1400fd1c3
lea rax, [rbp + 0xe0]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x1400fd180
lea rdx, [rbp + 0xe0]
lea rcx, [rbp - 0x10]
call fcn.140021fb0
mov r14, qword [rbp + 0x48]
mov rsi, qword [rbp + 0x28]
mov qword [rsp + 0x50], rsi
mov rax, qword [rbp + 0x20]
mov qword [rsp + 0x70], rax
mov r15, qword [rbp + 8]
mov qword [rsp + 0x58], r15
mov rax, qword [rbp]
mov qword [rsp + 0x60], rax
mov r9d, 0xc
lea r8, [rbp + 0x70]
mov rdi, qword [rbp - 0x68]
mov rdx, rdi
lea rcx, [rbp + 0x50]
call fcn.1400fdb80
mov rbx, rax
lea rax, [rbp + 0x10]
cmp rax, rbx
je 0x1400fd256
cmp rsi, 8
jb 0x1400fd225
lea rdx, [rsi*2 + 2]
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400fd220
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400fdb02
call fcn.140101b3c
movups xmm0, xmmword [rbx]
movaps xmmword [rbp + 0x10], xmm0
movups xmm1, xmmword [rbx + 0x10]
movaps xmmword [rbp + 0x20], xmm1
mov qword [rbx + 0x10], r13
mov qword [rbx + 0x18], 7
mov word [rbx], r13w
mov rsi, qword [rbp + 0x28]
mov qword [rsp + 0x50], rsi
mov rax, qword [rbp + 0x20]
mov qword [rsp + 0x70], rax
mov rdx, qword [rbp + 0x68]
cmp rdx, 8
jb 0x1400fd296
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400fd291
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400fdb02
call fcn.140101b3c
mov r9d, 9
lea r8, [rbp + 0x70]
mov rdx, rdi
lea rcx, [rbp + 0x90]
call fcn.1400fdb80
nop
mov rdi, qword [rbp + 0xa0]
test rdi, rdi
jne 0x1400fd3bd
mov rdx, qword [rbp + 0xa8]
cmp rdx, 8
jb 0x1400fd307
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400fd301
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400fdb1e
call fcn.140101b3c
nop
cmp r14, 8
jb 0x1400fd33f
lea rdx, [r14*2 + 2]
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400fd33a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400fd3b6
call fcn.140101b3c
cmp rsi, 8
jb 0x1400fd377
lea rdx, [rsi*2 + 2]
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400fd372
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400fd3b6
call fcn.140101b3c
cmp r15, 8
jb 0x1400fdad5
lea rdx, [r15*2 + 2]
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400fdad0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400fdad0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov qword [rsp + 0x78], r13
mov r15, qword [0x14026efd8]
movabs r8, 0x7ffffffffffffffe
mov rax, r8
sub rax, r15
cmp rax, rdi
jb 0x1400fdb78
lea rax, [0x14026efc8]
cmp qword [0x14026efe0], 8
cmovae rax, qword [0x14026efc8]
mov qword [rsp + 0x68], rax
lea rcx, [rbp + 0x90]
mov r13, qword [rbp + 0x90]
mov rdx, qword [rbp + 0xa8]
mov qword [rbp - 0x70], rdx
cmp rdx, 8
cmovae rcx, r13
mov qword [rbp - 0x78], rcx
xor ecx, ecx
mov qword [rbp - 0x38], rcx
mov qword [rbp - 0x28], rcx
mov qword [rbp - 0x20], rcx
lea r12, [rdi + r15]
mov ebx, 7
lea rsi, [rbp - 0x38]
cmp r12, rbx
jbe 0x1400fd47a
mov rbx, r12
or rbx, 7
cmp rbx, r8
jbe 0x1400fd454
mov rbx, r8
jmp 0x1400fd461
cmp rbx, 0xa
mov eax, 0xa
cmovb rbx, rax
lea rdx, [rbx + 1]
lea rcx, [rbp - 0x38]
call fcn.140021f40
mov rsi, rax
mov qword [rbp - 0x38], rax
mov rax, qword [rsp + 0x68]
mov qword [rbp - 0x28], r12
mov qword [rbp - 0x20], rbx
lea rbx, [r15 + r15]
mov r8, rbx
mov rdx, rax
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
lea rcx, [rsi + rbx]
lea r8, [rdi + rdi]
mov rdx, qword [rbp - 0x78]
call sub.VCRUNTIME140.dll_memcpy
xor r15d, r15d
mov word [rsi + r12*2], r15w
lea rdx, [rbp - 0x38]
cmp qword [rbp - 0x20], 8
cmovae rdx, qword [rbp - 0x38]
lea r8, [rsp + 0x78]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
je 0x1400fd62e
mov rdx, qword [rbp - 0x20]
cmp rdx, 8
jb 0x1400fd515
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400fd510
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400fdb17
call fcn.140101b3c
mov qword [rbp - 0x28], r15
mov qword [rbp - 0x20], 7
mov word [rbp - 0x38], r15w
mov rdx, qword [rbp - 0x70]
cmp rdx, 8
jb 0x1400fd566
lea rdx, [rdx*2 + 2]
mov rax, r13
cmp rdx, 0x1000
jb 0x1400fd55d
add rdx, 0x27
mov r13, qword [r13 - 8]
sub rax, r13
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400fdb1e
mov rcx, r13
call fcn.140101b3c
nop
cmp r14, 8
jb 0x1400fd5a2
lea rdx, [r14*2 + 2]
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400fd59d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400fd3b6
call fcn.140101b3c
mov rax, qword [rsp + 0x50]
cmp rax, 8
jb 0x1400fd5e3
lea rdx, [rax*2 + 2]
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400fd5de
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400fd3b6
call fcn.140101b3c
mov rax, qword [rsp + 0x58]
cmp rax, 8
jb 0x1400fd624
lea rdx, [rax*2 + 2]
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400fd61f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400fd3b6
call fcn.140101b3c
mov r12, qword [rsp + 0x40]
jmp 0x1400fdad8
mov qword [rbp + 0xb0], r15
mov qword [rbp + 0xc0], r15
mov qword [rbp + 0xc8], 7
mov word [rbp + 0xb0], r15w
mov r8d, 0xd
lea rdx, str.DriverVersion
lea rcx, [rbp + 0xb0]
call fcn.140021fb0
nop
xor edx, edx
mov r8d, 0x800
lea rcx, [rbp + 0x310]
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x68], 0x400
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x310]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.DriverVersion
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov qword [rbp + 0x50], r15
mov qword [rbp + 0x60], r15
mov qword [rbp + 0x68], 7
lea rax, [rbp + 0x310]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x1400fd6d1
lea rdx, [rbp + 0x310]
lea rcx, [rbp + 0x50]
call fcn.140021fb0
cmp r14, 8
jb 0x1400fd728
lea rdx, [r14*2 + 2]
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400fd723
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400fdb09
call fcn.140101b3c
movups xmm0, xmmword [rbp + 0x50]
movaps xmmword [rbp + 0x30], xmm0
movups xmm1, xmmword [rbp + 0x60]
movaps xmmword [rbp + 0x40], xmm1
mov rdx, qword [rbp + 0xc8]
cmp rdx, 8
jb 0x1400fd77e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xb0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400fd779
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400fdb10
call fcn.140101b3c
mov rcx, qword [rsp + 0x40]
cmp rcx, qword [rbp - 0x80]
je 0x1400fd943
mov qword [rsp + 0x68], rcx
mov qword [rcx], r15
mov qword [rcx + 0x10], r15
mov qword [rcx + 0x18], r15
lea rdi, [rbp - 0x10]
mov r15, qword [rbp - 0x10]
cmp qword [rsp + 0x58], 8
cmovae rdi, r15
mov rsi, qword [rsp + 0x60]
cmp rsi, 8
jae 0x1400fd7c7
movups xmm0, xmmword [rdi]
movups xmmword [rcx], xmm0
mov ebx, 7
jmp 0x1400fd808
mov rbx, rsi
or rbx, 7
movabs rax, 0x7ffffffffffffffe
cmp rbx, rax
cmova rbx, rax
lea rdx, [rbx + 1]
call fcn.140021f40
mov rcx, qword [rsp + 0x40]
mov qword [rcx], rax
lea r8, [rsi*2 + 2]
mov rdx, rdi
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov rcx, qword [rsp + 0x40]
mov qword [rcx + 0x10], rsi
mov qword [rcx + 0x18], rbx
lea rbx, [rcx + 0x20]
xor edx, edx
mov qword [rbx], rdx
mov qword [rbx + 0x10], rdx
mov qword [rbx + 0x18], rdx
lea rsi, [rbp + 0x10]
mov r14, qword [rbp + 0x10]
cmp qword [rsp + 0x50], 8
cmovae rsi, r14
mov r12, qword [rsp + 0x70]
cmp r12, 8
jae 0x1400fd849
movups xmm0, xmmword [rsi]
movups xmmword [rbx], xmm0
lea edi, [rdx + 7]
jmp 0x1400fd88a
mov rdi, r12
or rdi, 7
movabs rax, 0x7ffffffffffffffe
cmp rdi, rax
cmova rdi, rax
lea rdx, [rdi + 1]
mov rcx, rbx
call fcn.140021f40
mov qword [rbx], rax
lea r8, [r12*2 + 2]
mov rdx, rsi
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov rcx, qword [rsp + 0x40]
xor edx, edx
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x18], rdi
lea rbx, [rcx + 0x40]
mov qword [rbx], rdx
mov qword [rbx + 0x10], rdx
mov qword [rbx + 0x18], rdx
lea r12, [rbp + 0x30]
mov rdi, qword [rbp + 0x30]
mov rax, qword [rbp + 0x48]
mov qword [rbp - 0x78], rax
cmp rax, 8
cmovae r12, rdi
mov rax, qword [rbp + 0x40]
mov qword [rsp + 0x60], rax
cmp rax, 8
jae 0x1400fd8d7
movups xmm0, xmmword [r12]
movups xmmword [rbx], xmm0
mov esi, 7
jmp 0x1400fd920
mov rsi, rax
or rsi, 7
movabs rax, 0x7ffffffffffffffe
cmp rsi, rax
cmova rsi, rax
lea rdx, [rsi + 1]
mov rcx, rbx
call fcn.140021f40
mov qword [rbx], rax
mov r8, qword [rsp + 0x60]
lea r8, [r8*2 + 2]
mov rdx, r12
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x40]
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x18], rsi
add rcx, 0x60
mov qword [rsp + 0x40], rcx
mov qword [rbp - 0x50], rcx
mov rbx, qword [rbp - 0x78]
mov rsi, qword [rsp + 0x50]
mov r12, rcx
jmp 0x1400fd981
lea r8, [rbp - 0x10]
mov rdx, rcx
lea rcx, [rbp - 0x58]
call fcn.1400fbe80
mov rax, qword [rbp - 0x48]
mov qword [rbp - 0x80], rax
mov r12, qword [rbp - 0x50]
mov qword [rsp + 0x40], r12
mov rbx, qword [rbp + 0x48]
mov rdi, qword [rbp + 0x30]
mov rsi, qword [rbp + 0x28]
mov r14, qword [rbp + 0x10]
mov rax, qword [rbp + 8]
mov qword [rsp + 0x58], rax
mov r15, qword [rbp - 0x10]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rdx, qword [rbp - 0x20]
cmp rdx, 8
jb 0x1400fd9cd
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400fd9c8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400fdb17
call fcn.140101b3c
xor ecx, ecx
mov qword [rbp - 0x28], rcx
mov qword [rbp - 0x20], 7
mov word [rbp - 0x38], cx
mov rdx, qword [rbp - 0x70]
cmp rdx, 8
jb 0x1400fda1f
lea rdx, [rdx*2 + 2]
mov rax, r13
cmp rdx, 0x1000
jb 0x1400fda16
add rdx, 0x27
mov r13, qword [r13 - 8]
sub rax, r13
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400fdb1e
mov rcx, r13
call fcn.140101b3c
nop
cmp rbx, 8
jb 0x1400fda5a
lea rdx, [rbx*2 + 2]
mov rax, rdi
cmp rdx, 0x1000
jb 0x1400fda52
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400fd3b6
mov rcx, rdi
call fcn.140101b3c
cmp rsi, 8
jb 0x1400fda95
lea rdx, [rsi*2 + 2]
mov rax, r14
cmp rdx, 0x1000
jb 0x1400fda8d
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400fd3b6
mov rcx, r14
call fcn.140101b3c
mov rax, qword [rsp + 0x58]
cmp rax, 8
jb 0x1400fdad5
lea rdx, [rax*2 + 2]
mov rax, r15
cmp rdx, 0x1000
jb 0x1400fdacd
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400fd3b6
mov rcx, r15
call fcn.140101b3c
xor r15d, r15d
mov eax, dword [rsp + 0x48]
inc eax
mov dword [rsp + 0x48], eax
lea r8, [rbp + 0x70]
mov edx, eax
mov rdi, qword [rbp - 0x68]
mov rcx, rdi
call qword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInfo]
test eax, eax
je 0x1400fdb25
mov rbx, qword [rbp - 0x60]
jmp 0x1400fd0e0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov rbx, qword [rbp - 0x40]
mov r13, qword [rbp - 0x80]
mov rcx, rdi
call qword [sym.imp.SETUPAPI.dll_SetupDiDestroyDeviceInfoList]
mov rax, qword [rbp - 0x58]
mov qword [rbx], rax
mov qword [rbx + 8], r12
mov qword [rbx + 0x10], r13
mov rax, rbx
mov rcx, qword [rbp + 0xb10]
xor rcx, rsp
call fcn.140102140
lea r11, [rsp + 0xc20]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.14000b970
nop
int3