Function at 0x140001190
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
lea rbp, [rsp - 0x250]
sub rsp, 0x350
mov rax, qword [0x14004d010]
xor rax, rsp
mov qword [rbp + 0x240], rax
movaps xmm0, xmmword [str.systemCurrentControlSetControlClass4d36e972_e325_11ce_bfc1_08002be10318]
mov rsi, rcx
movaps xmm1, xmmword [0x14003bea0]
lea rcx, [rbp + 0x110]
mov eax, dword [0x14003bf28]
xor ebx, ebx
movaps xmmword [rbp + 0x40], xmm0
xor edx, edx
movaps xmm0, xmmword [0x14003beb0]
mov r8d, 0x12c
movaps xmmword [rbp + 0x60], xmm0
movaps xmm0, xmmword [0x14003bed0]
movaps xmmword [rbp + 0x50], xmm1
movaps xmm1, xmmword [0x14003bec0]
movaps xmmword [rbp + 0x80], xmm0
movaps xmm0, xmmword [0x14003bef0]
movaps xmmword [rbp + 0x70], xmm1
movaps xmm1, xmmword [0x14003bee0]
movaps xmmword [rbp + 0xa0], xmm0
movaps xmm0, xmmword [0x14003bf10]
movaps xmmword [rbp + 0x90], xmm1
movaps xmm1, xmmword [0x14003bf00]
movaps xmmword [rbp + 0xc0], xmm0
xorps xmm0, xmm0
movaps xmmword [rbp + 0xb0], xmm1
movsd xmm1, qword [0x14003bf20]
mov dword [rbp + 0xd8], eax
xor eax, eax
movups xmmword [rbp + 0xdc], xmm0
mov dword [rsp + 0x48], 0x64
movups xmmword [rbp + 0xec], xmm0
mov dword [rsp + 0x40], ebx
movsd qword [rbp + 0xd0], xmm1
mov qword [rbp + 0xfc], rax
mov dword [rbp + 0x104], eax
call fcn.14001b960
movsd xmm1, qword [0x14003bf40]
lea rcx, str.GetRegPanID_Enter___n
xorps xmm0, xmm0
movsd qword [rbp + 0x20], xmm1
xor eax, eax
mov qword [rbp], rax
mov dword [rbp + 8], eax
mov dword [rbp - 0x40], eax
mov eax, dword [0x14003bf48]
movups xmmword [rbp - 0x30], xmm0
mov dword [rbp + 0x28], eax
xor eax, eax
movups xmmword [rbp - 0x20], xmm0
mov qword [rbp + 0x2c], rax
movups xmmword [rbp - 0x10], xmm0
mov dword [rbp + 0x34], eax
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmm0, xmmword [str.BTHMS_BTHPAN]
movups xmmword [rbp + 0x10], xmm0
call fcn.14000db40
test rsi, rsi
jne 0x140001311
lea rcx, str.GetRegPanID__invalid_parameter_n
call fcn.14000db40
xor eax, eax
jmp 0x1400015a4
lea rax, [rsp + 0x50]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rbp + 0x40]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x14000134a
lea rcx, str.GetRegPanID__cant_find_net_class_key_n
call fcn.14000db40
jmp 0x14000155c
lea rcx, str.GetRegPanID__find_net_class_key_n
mov qword [rsp + 0x368], rdi
call fcn.14000db40
mov rcx, qword [rsp + 0x50]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x38], rbx
lea r8, [rbp - 0x30]
xor eax, eax
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rbx
xor edx, edx
mov qword [rsi], rax
mov edi, ebx
mov qword [rsp + 0x20], rbx
mov dword [rsp + 0x40], 0x3c
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x140001546
nop
lea r8, [rbp - 0x30]
mov edx, edi
lea rcx, str.GetRegPanID__find_net_class_sub_key__index__d__name__s_n
call fcn.14000db40
lea r8, [rbp + 0x40]
mov edx, 0x96
lea rcx, [rbp + 0x110]
call fcn.1400216f4
lea r8, [0x14003c140]
mov edx, 0x96
lea rcx, [rbp + 0x110]
call fcn.1400216f4
lea r8, [rbp - 0x30]
mov edx, 0x96
lea rcx, [rbp + 0x110]
call fcn.1400216f4
lea rax, [rsp + 0x58]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rbp + 0x110]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400015e1
mov rcx, qword [rsp + 0x58]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rdx, str.DeviceInstanceID
lea rax, [rsp + 0x60]
mov dword [rsp + 0x40], 0x64
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x140001464
lea rcx, str.GetRegPanID__cant_get_DeviceInstanceID_n
jmp 0x1400014cc
mov r8d, 0xd
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x10]
call fcn.140021b58
test eax, eax
je 0x140001485
lea rcx, str.GetRegPanID__DeviceInstanceID_doesnt_match_n
jmp 0x1400014cc
lea rdx, [rsp + 0x60]
lea rcx, str.GetRegPanID__DeviceInstanceID_is__s_n
call fcn.14000db40
mov rcx, qword [rsp + 0x58]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea rdx, str.NetCfgInstanceId
xor r9d, r9d
mov qword [rsp + 0x20], rsi
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x1400015c8
lea rcx, str.GetRegPanID__cant_get_NetCfgInstanceId_n
call fcn.14000db40
xor edx, edx
mov dword [rsp + 0x40], 0x3c
mov r8d, 0x12c
lea rcx, [rbp + 0x110]
inc edi
call fcn.14001b960
mov rcx, qword [rsp + 0x50]
lea r9, [rsp + 0x40]
xorps xmm0, xmm0
mov qword [rsp + 0x38], rbx
xor eax, eax
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rbx
lea r8, [rbp - 0x30]
mov edx, edi
mov dword [rbp - 0x40], eax
movups xmmword [rsp + 0x60], xmm0
mov qword [rsi], rax
movups xmmword [rsp + 0x70], xmm0
mov qword [rsp + 0x20], rbx
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x1400013a0
mov edx, edi
lea rcx, str.GetRegPanID__eum_net_class_sub_key_end__index__d_n
call fcn.14000db40
mov rdi, qword [rsp + 0x368]
mov rcx, qword [rsp + 0x50]
cmp rcx, 0xffffffffffffffff
je 0x140001579
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, str.GetRegPanID__close_hKey_n
call fcn.14000db40
mov rcx, qword [rsp + 0x58]
cmp rcx, 0xffffffffffffffff
je 0x140001596
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, str.GetRegPanID__close_hKey_n
call fcn.14000db40
lea rcx, str.GetRegPanID_Leave___n
call fcn.14000db40
mov eax, ebx
mov rcx, qword [rbp + 0x240]
xor rcx, rsp
call fcn.140019b40
lea r11, [rsp + 0x350]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
mov rdx, rsi
lea rcx, str.GetRegPanID__NetCfgInstanceId_is__s_n
call fcn.14000db40
mov ebx, 1
jmp 0x140001554
lea r8, [rbp - 0x30]
mov edx, edi
lea rcx, str.GetRegPanID__cant_open_net_class_sub_key__index__d__name__s_n
call fcn.14000db40
jmp 0x140001554