Function at 0x14007c5c0
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 - 0x1c0]
sub rsp, 0x2c0
mov rax, qword [0x1400c7008]
xor rax, rsp
mov qword [rbp + 0x1b0], rax
xor r14d, r14d
mov rdi, rcx
mov qword [rsp + 0x30], r14
lea rcx, [0x140095850]
mov qword [rsp + 0x28], r14
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x50], r14
lea r9d, [r14 + 2]
mov qword [rsp + 0x58], r14
mov esi, r14d
mov qword [rsp + 0x20], r14
call qword [sym.imp.SETUPAPI.dll_SetupDiGetClassDevsExA]
mov r13, rax
cmp rax, 0xffffffffffffffff
jne 0x14007c66e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [r14 + 0x10]
mov ebx, eax
call fcn.14000e3d0
test al, al
je 0x14007c662
mov rdx, rdi
mov ecx, ebx
call fcn.14000ebf0
mov r9, rax
lea rdx, str.Error___u__opening_device_information_set_key:__s
mov r8d, ebx
lea ecx, [r14 + 0x10]
call fcn.14000e000
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__exit]
int3
mov qword [rsp + 0x2f8], r12
mov ebx, r14d
mov qword [rsp + 0x300], r15
movups xmm0, xmmword [str.NetCfgInstanceId]
movzx eax, byte [0x1400b6fa0]
lea r8, [rsp + 0x78]
mov edx, ebx
mov dword [rsp + 0x44], ebx
movups xmmword [rbp - 0x68], xmm0
mov byte [rbp - 0x58], al
mov rcx, r13
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
mov dword [rsp + 0x78], 0x20
movups xmmword [rbp - 0x78], xmm0
call qword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInfo]
test eax, eax
jne 0x14007c715
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x103
jne 0x14007c99d
mov rcx, r13
call qword [sym.imp.SETUPAPI.dll_SetupDiDestroyDeviceInfoList]
mov r12, qword [rsp + 0x2f8]
mov rax, rsi
mov r15, qword [rsp + 0x300]
mov rcx, qword [rbp + 0x1b0]
xor rcx, rsp
call fcn.140088150
mov rbx, qword [rsp + 0x308]
add rsp, 0x2c0
pop r14
pop r13
pop rdi
pop rsi
pop rbp
ret
xor r9d, r9d
mov dword [rsp + 0x28], 1
lea rdx, [rsp + 0x78]
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 0x14007c99d
lea rax, [rsp + 0x40]
mov dword [rsp + 0x40], 0x100
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x4c]
lea rax, [rbp + 0xb0]
mov dword [rsp + 0x4c], 1
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rbp - 0x68]
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x14007c994
lea rax, [rsp + 0x40]
mov dword [rsp + 0x40], 0x100
mov r9d, 0x100
mov qword [rsp + 0x20], rax
lea r8, [rbp - 0x50]
mov rcx, r13
lea rdx, [rsp + 0x78]
call qword [sym.imp.SETUPAPI.dll_SetupDiGetDeviceInstanceIdA]
test eax, eax
je 0x14007c994
xor r9d, r9d
lea r8, [rbp - 0x50]
lea rdx, [0x140095890]
lea rcx, [rsp + 0x48]
call qword [sym.imp.SETUPAPI.dll_CM_Get_Device_Interface_List_SizeA]
test eax, eax
jne 0x14007c994
mov ebx, dword [rsp + 0x48]
cmp rbx, 0xf4240
jae 0x14007c9a4
mov dword [rsp + 0x60], ebx
mov dword [rsp + 0x64], r14d
test rdi, rdi
je 0x14007c821
lea rcx, [rbx + 8]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rcx, rax
test rax, rax
je 0x14007c9ad
lea rsi, [rax + 8]
mov rax, qword [rdi]
mov qword [rcx], rax
mov qword [rdi], rcx
jmp 0x14007c836
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x14007c9ad
test rbx, rbx
je 0x14007c83e
mov byte [rsi], 0
test rsi, rsi
je 0x14007c854
mov rax, qword [rsp + 0x60]
shr rax, 0x20
movsxd r8, eax
add r8, rsi
jmp 0x14007c857
mov r8, r14
mov r9d, dword [rsp + 0x48]
lea rdx, [rbp - 0x50]
lea rcx, [0x140095890]
mov dword [rsp + 0x20], r14d
call qword [sym.imp.SETUPAPI.dll_CM_Get_Device_Interface_ListA]
test eax, eax
jne 0x14007c98b
test rdi, rdi
je 0x14007c8a3
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 0x14007c9ad
lea rbx, [rax + 8]
mov rax, qword [rdi]
mov qword [rcx], rax
mov qword [rdi], rcx
jmp 0x14007c8ba
mov ecx, 0x18
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
test rax, rax
je 0x14007c9ad
xor eax, eax
lea rcx, [rbp + 0xb0]
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rax
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rcx + rax], 0
jne 0x14007c8d4
inc eax
movsxd r15, eax
test rdi, rdi
je 0x14007c90c
lea rcx, [r15 + 8]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rcx, rax
test rax, rax
je 0x14007c9ad
lea r14, [rax + 8]
mov rax, qword [rdi]
mov qword [rcx], rax
mov qword [rdi], rcx
jmp 0x14007c926
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 0x14007c9ad
mov r8, r15
lea rdx, [rbp + 0xb0]
mov rcx, r14
call sub.VCRUNTIME140.dll_memcpy
mov rdx, rdi
mov qword [rbx], r14
mov rcx, rsi
call fcn.1400035e0
mov rsi, qword [rsp + 0x50]
test rsi, rsi
mov qword [rbx + 8], rax
mov rax, rbx
cmovne rax, rsi
mov rsi, rax
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x58]
test rax, rax
je 0x14007c96f
mov qword [rax + 0x10], rbx
mov qword [rsp + 0x58], rbx
mov rcx, r12
mov ebx, dword [rsp + 0x44]
xor r14d, r14d
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc ebx
jmp 0x14007c681
mov rsi, qword [rsp + 0x50]
mov ebx, dword [rsp + 0x44]
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc ebx
jmp 0x14007c681
mov rcx, rbx
call fcn.140002d70
int3
call fcn.14000e540
int3