Function at 0x14000bf10
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x6b0]
sub rsp, 0x7b0
mov rax, qword [0x140073080]
xor rax, rsp
mov qword [rbp + 0x6a0], rax
xor eax, eax
mov dword [rsp + 0x50], 0x20
xor r12d, r12d
mov qword [rsp + 0x54], rax
mov rdi, rcx
mov qword [rsp + 0x5c], rax
xor r8d, r8d
mov qword [rsp + 0x64], rax
lea r9d, [rax + 2]
mov dword [rsp + 0x6c], eax
xor edx, edx
mov dword [rsp + 0x40], r12d
lea rcx, [0x14005f008]
mov r15d, r12d
mov esi, r12d
call qword [sym.imp.SETUPAPI.dll_SetupDiGetClassDevsW]
mov r14, rax
cmp rax, 0xffffffffffffffff
jne 0x14000bfa3
lea rdx, str.SetupDiGetClassDevs_fail
lea rcx, [0x140077e88]
call fcn.140004ef0
mov r13d, 4
mov qword [rsp + 0x7e8], rbx
lea r8, [rsp + 0x50]
mov edx, r15d
mov rcx, r14
call qword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInfo]
test eax, eax
jne 0x14000c027
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp eax, 0x103
jne 0x14000c370
inc r15d
cmp esi, 0x103
jne 0x14000bfb1
cmp r14, 0xffffffffffffffff
je 0x14000bff3
mov rcx, r14
call qword [sym.imp.SETUPAPI.dll_SetupDiDestroyDeviceInfoList]
mov rbx, qword [rsp + 0x7e8]
mov rcx, qword [rbp + 0x6a0]
xor rcx, rsp
call fcn.140023e40
lea r11, [rsp + 0x7b0]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
cmp esi, 0x103
je 0x14000bfd9
xor edx, edx
lea rcx, [rbp + 0x490]
mov r8d, 0x208
call fcn.140026cc0
xor edx, edx
lea rcx, [rbp + 0x280]
mov r8d, 0x208
call fcn.140026cc0
xor r9d, r9d
mov dword [rsp + 0x28], 0x20019
lea rdx, [rsp + 0x50]
mov dword [rsp + 0x20], 2
mov rcx, r14
lea r8d, [r9 + 1]
call qword [sym.imp.SETUPAPI.dll_SetupDiOpenDevRegKey]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14000bfdc
lea rax, [rsp + 0x44]
mov r9d, 2
mov qword [rsp + 0x30], rax
lea r8, str.NetCfgInstanceId
lea rax, [rbp + 0x280]
xor edx, edx
mov qword [rsp + 0x28], rax
mov rcx, rbx
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
je 0x14000c0e1
lea rdx, str.RegGetValue_for_NetCfgInstanceId_failed
lea rcx, [0x140077e88]
call fcn.140004170
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rax, [rsp + 0x40]
mov r9d, 0x208
lea r8, [rbp + 0x490]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x50]
mov rcx, r14
call qword [sym.imp.SETUPAPI.dll_SetupDiGetDeviceInstanceIdW]
test eax, eax
jne 0x14000c12b
lea rdx, str.SetupDiGetDeviceInstanceId_Failed
lea rcx, [0x140077e88]
call fcn.140004170
jmp 0x14000bfdc
lea rcx, [rbp + 0x490]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jle 0x14000bfd9
lea rcx, [rbp + 0x280]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jle 0x14000bfd9
xor edx, edx
lea rcx, [rsp + 0x70]
mov r8d, 0x208
call fcn.140026cc0
xor edx, edx
lea rcx, [rbp + 0x178]
mov r8d, 0x108
call fcn.140026cc0
mov qword [rsp + 0x38], r12
lea r8, [rbp + 0x280]
mov qword [rsp + 0x30], r12
mov r9d, 0xffffffff
mov dword [rsp + 0x28], r12d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
je 0x14000c358
cmp eax, 0x104
jg 0x14000c358
mov qword [rsp + 0x38], r12
lea r8, [rbp + 0x280]
mov qword [rsp + 0x30], r12
mov r9d, 0xffffffff
mov dword [rsp + 0x28], eax
xor edx, edx
lea rax, [rbp + 0x178]
xor ecx, ecx
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea rdx, [rbp + 0x490]
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
lea rcx, [0x14005efe0]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsxd r8, eax
lea rdx, [0x14005efe0]
lea rcx, [rsp + 0x70]
call fcn.14002f240
test eax, eax
jne 0x14000c230
mov dword [rbp + 0x27c], 2
jmp 0x14000c2c5
lea rcx, [0x14005efe8]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsxd r8, eax
lea rdx, [0x14005efe8]
lea rcx, [rsp + 0x70]
call fcn.14002f240
test eax, eax
jne 0x14000c261
mov dword [rbp + 0x27c], 3
jmp 0x14000c2c5
lea rcx, [0x14005eff0]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsxd r8, eax
lea rdx, [0x14005eff0]
lea rcx, [rsp + 0x70]
call fcn.14002f240
test eax, eax
jne 0x14000c292
mov dword [rbp + 0x27c], 1
jmp 0x14000c2c5
lea rcx, str.ROOT
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsxd r8, eax
lea rdx, str.ROOT
lea rcx, [rsp + 0x70]
call fcn.14002f240
mov ecx, dword [rbp + 0x27c]
test eax, eax
cmove ecx, r13d
mov dword [rbp + 0x27c], ecx
mov rdx, qword [rdi + 8]
cmp qword [rdi + 0x10], rdx
je 0x14000c346
lea rax, [rsp + 0x70]
mov ecx, 6
nop dword [rax]
lea rdx, [rdx + 0x80]
movups xmm0, xmmword [rax]
lea rax, [rax + 0x80]
movups xmmword [rdx - 0x80], xmm0
movups xmm1, xmmword [rax - 0x70]
movups xmmword [rdx - 0x70], xmm1
movups xmm0, xmmword [rax - 0x60]
movups xmmword [rdx - 0x60], xmm0
movups xmm1, xmmword [rax - 0x50]
movups xmmword [rdx - 0x50], xmm1
movups xmm0, xmmword [rax - 0x40]
movups xmmword [rdx - 0x40], xmm0
movups xmm1, xmmword [rax - 0x30]
movups xmmword [rdx - 0x30], xmm1
movups xmm0, xmmword [rax - 0x20]
movups xmmword [rdx - 0x20], xmm0
movups xmm1, xmmword [rax - 0x10]
movups xmmword [rdx - 0x10], xmm1
sub rcx, 1
jne 0x14000c2e0
movups xmm0, xmmword [rax]
movups xmmword [rdx], xmm0
add qword [rdi + 8], 0x310
jmp 0x14000bfd9
lea r8, [rsp + 0x70]
mov rcx, rdi
call fcn.14000c390
jmp 0x14000bfd9
lea rdx, str.szNetCfgInstanceID_convert__Failed
lea rcx, [0x140077e88]
call fcn.140004170
jmp 0x14000bfdc
lea rdx, str.SetupDiEnumDeviceInfo_Failed
lea rcx, [0x140077e88]
call fcn.140004ef0
jmp 0x14000bff3