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

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x880]
sub rsp, 0x980
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rsp + 0x9d8], rbx
mov rax, qword [0x1403ad830]
xor rax, rsp
mov qword [rbp + 0x870], rax
mov r12, r8
mov r15, rdx
mov r14, rcx
mov rcx, rdx
call fcn.14001f170
mov rcx, r12
call fcn.14001f170
mov qword [rsp + 0x58], 0xffffffff80000002
lea rdx, str.SYSTEMCurrentControlSetControlClass4D36E972_E325_11CE_BFC1_08002bE10318
lea rcx, [rbp - 0x40]
call fcn.14001c950
nop
lea rcx, [rbp - 0x68]
call fcn.14001cac0
nop
mov dword [rsp + 0x50], 0x100
lea rcx, [rbp + 0x60]
call fcn.14001cac0
nop
mov dword [rsp + 0x40], 0x3e8
lea rcx, [rbp - 0x40]
call fcn.14002aa20
mov rdx, rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140134861
xor r13d, r13d
mov edi, r13d
nop
mov dword [rsp + 0x50], 0x100
lea rax, [rsp + 0x68]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
lea r9, [rsp + 0x50]
lea r8, [rbp + 0x480]
mov edx, edi
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov esi, eax
test eax, eax
jne 0x14013484c
lea rdx, [rbp + 0x480]
lea rcx, [rsp + 0x70]
call fcn.14001c950
nop
lea rdx, [0x1402d54f8]
lea rcx, [rbp - 0x18]
call fcn.14001c840
nop
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x40]
lea rcx, [rbp + 0x38]
call fcn.14001da00
nop
lea r8, [rsp + 0x70]
mov rdx, rax
lea rcx, [rbp + 0x10]
call fcn.14001da00
nop
mov rdx, rax
lea rcx, [rbp - 0x68]
call fcn.14001d690
nop
lea rcx, [rbp + 0x10]
call fcn.14001d440
nop
lea rcx, [rbp + 0x38]
call fcn.14001d440
nop
lea rcx, [rbp - 0x18]
call fcn.14001d440
nop
lea rcx, [rsp + 0x70]
call fcn.14001d440
mov qword [rsp + 0x48], 0xffffffff80000002
lea rcx, [rbp - 0x68]
call fcn.14002aa20
mov rdx, rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14013484c
mov dword [rsp + 0x44], 1
mov dword [rsp + 0x40], 0x3e8
xor edx, edx
mov r8d, 0x3e8
lea rcx, [rbp + 0x90]
call fcn.140285450
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x90]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x44]
xor r8d, r8d
lea rdx, str.NetCfgInstanceId
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea rdx, [rbp + 0x90]
lea rcx, [rsp + 0x70]
call fcn.14001c950
nop
mov rdx, r14
lea rcx, [rsp + 0x70]
call fcn.14001d880
movzx ebx, al
lea rcx, [rsp + 0x70]
call fcn.14001d440
test bl, bl
jne 0x1401348ad
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc edi
test esi, esi
je 0x1401346c0
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor bl, bl
lea rcx, [rbp + 0x60]
call fcn.14001d440
nop
lea rcx, [rbp - 0x68]
call fcn.14001d440
nop
lea rcx, [rbp - 0x40]
call fcn.14001d440
movzx eax, bl
mov rcx, qword [rbp + 0x870]
xor rcx, rsp
call fcn.140283120
mov rbx, qword [rsp + 0x9d8]
add rsp, 0x980
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov dword [rsp + 0x44], 1
mov dword [rsp + 0x40], 0x3e8
xor edx, edx
mov r8d, 0x3e8
lea rcx, [rbp + 0x90]
call fcn.140285450
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x90]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x44]
xor r8d, r8d
lea rdx, str.DriverDesc
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea rdx, [rbp + 0x90]
lea rcx, [rsp + 0x70]
call fcn.14001c950
nop
lea rdx, [rsp + 0x70]
mov rcx, r15
call fcn.14001d690
nop
lea rcx, [rsp + 0x70]
call fcn.14001d440
mov dword [rsp + 0x44], 1
mov dword [rsp + 0x40], 0x3e8
xor edx, edx
mov r8d, 0x3e8
lea rcx, [rbp + 0x90]
call fcn.140285450
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x90]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x44]
xor r8d, r8d
lea rdx, str.ProviderName
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea rdx, [rbp + 0x90]
lea rcx, [rsp + 0x70]
call fcn.14001c950
nop
lea rdx, [rsp + 0x70]
mov rcx, r12
call fcn.14001d690
nop
lea rcx, [rsp + 0x70]
call fcn.14001d440
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov bl, 1
jmp 0x140134863