Function at 0x14007df50
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r13
push r14
lea rbp, [rsp - 0x1d0]
sub rsp, 0x2d0
mov rax, qword [0x1400cb008]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
xor r14d, r14d
mov rdi, rcx
mov qword [rsp + 0x30], r14
lea rcx, [0x140097df0]
mov qword [rsp + 0x28], r14
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x48], r14
lea r9d, [r14 + 2]
mov qword [rsp + 0x50], r14
mov esi, r14d
mov qword [rsp + 0x20], r14
call qword [sym.imp.SETUPAPI.dll_SetupDiGetClassDevsExA]
mov r13, rax
cmp rax, 0xffffffffffffffff
jne 0x14007dffe
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [r14 + 0x10]
mov ebx, eax
call fcn.14000ec70
test al, al
je 0x14007dff2
mov rdx, rdi
mov ecx, ebx
call fcn.14000f4a0
mov r9, rax
lea rdx, str.Error___u__opening_device_information_set_key:__s
mov r8d, ebx
lea ecx, [r14 + 0x10]
call fcn.14000e820
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__exit]
int3
mov qword [rsp + 0x310], r15
mov ebx, r14d
mov r15, 0xffffffffffffffff
mov qword [rsp + 0x308], r12
movups xmm0, xmmword [str.NetCfgInstanceId]
movzx eax, byte [0x1400ba240]
lea r8, [rbp - 0x80]
mov edx, ebx
mov dword [rsp + 0x40], ebx
movups xmmword [rbp - 0x60], xmm0
mov byte [rbp - 0x50], al
mov rcx, r13
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
mov dword [rbp - 0x80], 0x20
movups xmmword [rbp - 0x70], xmm0
call qword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInfo]
test eax, eax
jne 0x14007e0a9
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x103
jne 0x14007e340
mov rcx, r13
call qword [sym.imp.SETUPAPI.dll_SetupDiDestroyDeviceInfoList]
mov r12, qword [rsp + 0x308]
mov rax, rsi
mov r15, qword [rsp + 0x310]
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.14008aca0
mov rbx, qword [rsp + 0x318]
add rsp, 0x2d0
pop r14
pop r13
pop rdi
pop rsi
pop rbp
ret
xor r9d, r9d
mov dword [rsp + 0x28], 1
lea rdx, [rbp - 0x80]
mov dword [rsp + 0x20], 2
mov rcx, r13
lea r8d, [r9 + 1]
call qword [sym.imp.SETUPAPI.dll_SetupDiOpenDevRegKey]
mov r12, rax
cmp rax, 0xffffffffffffffff
je 0x14007e340
lea rax, [rsp + 0x74]
mov dword [rsp + 0x74], 0x100
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x78]
lea rax, [rbp + 0xc0]
mov dword [rsp + 0x78], 1
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rbp - 0x60]
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x14007e337
lea rax, [rsp + 0x74]
mov dword [rsp + 0x74], 0x100
mov r9d, 0x100
mov qword [rsp + 0x20], rax
lea r8, [rbp - 0x40]
mov rcx, r13
lea rdx, [rbp - 0x80]
call qword [sym.imp.SETUPAPI.dll_SetupDiGetDeviceInstanceIdA]
test eax, eax
je 0x14007e337
xor r9d, r9d
lea r8, [rbp - 0x40]
lea rdx, [0x140097e30]
lea rcx, [rsp + 0x70]
call qword [sym.imp.SETUPAPI.dll_CM_Get_Device_Interface_List_SizeA]
test eax, eax
jne 0x14007e337
mov ebx, dword [rsp + 0x70]
mov ecx, ebx
cmp rbx, 0xf4240
jae 0x14007e347
mov dword [rsp + 0x58], ebx
mov dword [rsp + 0x5c], r14d
test rdi, rdi
je 0x14007e1b9
add rcx, 8
cmovb rcx, r15
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rcx, rax
test rax, rax
je 0x14007e34d
lea rsi, [rax + 8]
mov rax, qword [rdi]
mov qword [rcx], rax
mov qword [rdi], rcx
jmp 0x14007e1cb
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x14007e34d
test rbx, rbx
je 0x14007e1d3
mov byte [rsi], 0
test rsi, rsi
je 0x14007e1e9
mov rax, qword [rsp + 0x58]
shr rax, 0x20
movsxd r8, eax
add r8, rsi
jmp 0x14007e1ec
mov r8, r14
mov r9d, dword [rsp + 0x70]
lea rdx, [rbp - 0x40]
lea rcx, [0x140097e30]
mov dword [rsp + 0x20], r14d
call qword [sym.imp.SETUPAPI.dll_CM_Get_Device_Interface_ListA]
test eax, eax
jne 0x14007e32e
test rdi, rdi
je 0x14007e238
lea ecx, [rax + 0x20]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rcx, rax
test rax, rax
je 0x14007e34d
lea rbx, [rax + 8]
mov rax, qword [rdi]
mov qword [rcx], rax
mov qword [rdi], rcx
jmp 0x14007e24f
mov ecx, 0x18
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
test rax, rax
je 0x14007e34d
xor eax, eax
lea rcx, [rbp + 0xc0]
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rax
mov rax, r15
inc rax
cmp byte [rcx + rax], 0
jne 0x14007e265
inc eax
movsxd r15, eax
test rdi, rdi
je 0x14007e2ab
mov rax, 0xffffffffffffffff
mov rcx, r15
add rcx, 8
cmovb rcx, rax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rcx, rax
test rax, rax
je 0x14007e34d
lea r14, [rax + 8]
mov rax, qword [rdi]
mov qword [rcx], rax
mov qword [rdi], rcx
jmp 0x14007e2c5
mov rdx, r15
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
mov r14, rax
test rax, rax
je 0x14007e34d
mov r8, r15
lea rdx, [rbp + 0xc0]
mov rcx, r14
call sub.VCRUNTIME140.dll_memcpy
mov rdx, rdi
mov qword [rbx], r14
mov rcx, rsi
call fcn.1400037b0
mov rsi, qword [rsp + 0x48]
test rsi, rsi
mov qword [rbx + 8], rax
mov rax, rbx
cmovne rax, rsi
mov rsi, rax
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x50]
test rax, rax
je 0x14007e30e
mov qword [rax + 0x10], rbx
xor r14d, r14d
mov qword [rsp + 0x50], rbx
mov ebx, dword [rsp + 0x40]
mov rcx, r12
lea r15, [r14 - 1]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc ebx
jmp 0x14007e018
mov rsi, qword [rsp + 0x48]
mov ebx, dword [rsp + 0x40]
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc ebx
jmp 0x14007e018
call fcn.140002fa0
int3
call fcn.14000ede0
int3