Function at 0x14005a480
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1240]
mov eax, 0x1340
call fcn.1400e6f00
sub rsp, rax
mov rax, qword [0x1403486d0]
xor rax, rsp
mov qword [rbp + 0x1230], rax
mov r13, rcx
mov qword [rbp - 0x78], rcx
xor r14d, r14d
mov dword [rbp - 0x80], r14d
mov qword [rcx], r14
mov qword [rcx + 8], r14
mov qword [rcx + 0x10], r14
mov dword [rbp - 0x80], 1
mov qword [rsp + 0x78], r14
mov qword [rsp + 0x68], r14
mov dword [rsp + 0x64], r14d
mov dword [rbp - 0x7c], r14d
xor edx, edx
mov r8d, 0x800
lea rcx, [rbp + 0xa30]
call sub.VCRUNTIME140.dll_memset
xor edx, edx
mov r8d, 0x200
lea rcx, [rbp + 0x430]
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x60], r14d
xor edx, edx
mov r8d, 0x200
lea rcx, [rbp + 0x630]
call sub.VCRUNTIME140.dll_memset
xor edx, edx
mov r8d, 0x200
lea rcx, [rbp + 0x230]
call sub.VCRUNTIME140.dll_memset
xor edx, edx
mov r8d, 0x200
lea rcx, [rbp + 0x30]
call sub.VCRUNTIME140.dll_memset
mov qword [rbp - 0x50], r14
mov qword [rbp - 0x40], r14
mov qword [rbp - 0x38], 7
mov word [rbp - 0x50], r14w
lea r8d, [r14 + 0x33]
lea rdx, str._r_n_r_n_________________PCI_Devices__________________r_n
lea rcx, [rbp - 0x50]
call fcn.1400523d0
nop
mov rdx, qword [r13 + 8]
cmp rdx, qword [r13 + 0x10]
je 0x14005a5aa
movups xmm0, xmmword [rbp - 0x50]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rbp - 0x40]
movups xmmword [rdx + 0x10], xmm1
lea edx, [r14 + 7]
mov word [rbp - 0x50], r14w
add qword [r13 + 8], 0x20
jmp 0x14005a5ba
lea r8, [rbp - 0x50]
mov rcx, r13
call fcn.140058270
mov rdx, qword [rbp - 0x38]
cmp rdx, 8
jb 0x14005a5f9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005a5f4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005a5f4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400e6a28
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
mov r9d, 9
xor r8d, r8d
mov rdx, qword [str.SYSTEMCurrentControlSetEnumPCI]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14005adb8
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r14
lea rax, [rsp + 0x64]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x14005adb8
mov ebx, r14d
mov dword [rsp + 0x70], ebx
cmp dword [rsp + 0x64], r14d
jbe 0x14005adb8
mov dword [rsp + 0x60], 0xff
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x60]
lea r8, [rbp + 0xa30]
mov edx, ebx
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x14005ada8
mov eax, dword [rsp + 0x60]
add rax, rax
cmp rax, 0x800
jae 0x14005aeb7
mov word [rbp + rax + 0xa30], r14w
mov qword [rbp - 0x70], r14
mov qword [rbp - 0x60], r14
mov qword [rbp - 0x58], 7
mov word [rbp - 0x70], r14w
mov rdx, qword [str.SYSTEMCurrentControlSetEnumPCI]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp word [rdx + r8*2], 0
jne 0x14005a700
lea rcx, [rbp - 0x70]
call fcn.1400523d0
nop
mov r8d, 1
lea rdx, [0x14026f670]
lea rcx, [rbp - 0x70]
call fcn.140052250
lea rax, [rbp + 0xa30]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x14005a740
lea rdx, [rbp + 0xa30]
lea rcx, [rbp - 0x70]
call fcn.140052250
lea rdx, [rbp - 0x70]
cmp qword [rbp - 0x58], 8
cmovae rdx, qword [rbp - 0x70]
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, 9
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14005ae6f
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r14
lea rax, [rbp - 0x7c]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x14005ae2e
mov dword [rsp + 0x60], 0xff
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x60]
lea r8, [rbp + 0x430]
xor edx, edx
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov eax, dword [rsp + 0x60]
add rax, rax
cmp rax, 0x200
jae 0x14005aeb1
mov word [rbp + rax + 0x430], r14w
mov r8d, 1
lea rdx, [0x14026f670]
lea rcx, [rbp - 0x70]
call fcn.140052250
lea rax, [rbp + 0x430]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x14005a850
lea rdx, [rbp + 0x430]
lea rcx, [rbp - 0x70]
call fcn.140052250
lea rcx, [rbp + 0xa30]
sub rcx, 2
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x14005a876
mov eax, dword [0x14026f670]
mov dword [rcx], eax
lea rcx, [rbp + 0xa30]
sub rcx, 2
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x14005a893
lea r8, [rbp + 0x430]
xor edx, edx
nop word [rax + rax]
movzx eax, word [r8 + rdx*2]
mov word [rcx + rdx*2], ax
lea rdx, [rdx + 1]
test ax, ax
jne 0x14005a8b0
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x68], r14
lea rdx, [rbp - 0x70]
cmp qword [rbp - 0x58], 8
cmovae rdx, qword [rbp - 0x70]
mov dword [rsp + 0x20], 0xff
lea r9, [rbp + 0x630]
mov r8, qword [str.Class]
mov rcx, 0xffffffff80000002
call fcn.14005e4d0
test al, al
jne 0x14005a94e
mov rdx, qword [rbp - 0x58]
cmp rdx, 8
jb 0x14005ada8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005ada3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005aeaa
jmp 0x14005ada3
lea rdx, [rbp - 0x70]
cmp qword [rbp - 0x58], 8
cmovae rdx, qword [rbp - 0x70]
mov dword [rsp + 0x20], 0xff
lea r9, [rbp + 0x30]
lea r8, [0x1402711f8]
mov rcx, 0xffffffff80000002
call fcn.14005e4d0
cmp al, 1
jne 0x14005ad68
lea rdx, [rbp - 0x70]
cmp qword [rbp - 0x58], 8
cmovae rdx, qword [rbp - 0x70]
mov dword [rsp + 0x20], 0xff
lea r9, [rbp + 0x230]
lea r8, str.DeviceDesc
mov rcx, 0xffffffff80000002
call fcn.14005e4d0
cmp al, 1
jne 0x14005ad68
xor edx, edx
mov r8d, 0x200
lea rcx, [rbp + 0x830]
call sub.VCRUNTIME140.dll_memset
mov qword [rbp - 0x10], r14
mov qword [rbp], r14
mov qword [rbp + 8], 7
mov word [rbp - 0x10], r14w
lea rax, [rbp + 0x230]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x14005a9f2
lea rdx, [rbp + 0x230]
lea rcx, [rbp - 0x10]
call fcn.1400523d0
nop
mov qword [rbp - 0x50], r14
mov qword [rbp - 0x40], r14
mov qword [rbp - 0x38], 7
mov word [rbp - 0x50], r14w
lea rax, [rbp + 0x30]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp word [rax + r8*2], 0
jne 0x14005aa30
lea rdx, [rbp + 0x30]
lea rcx, [rbp - 0x50]
call fcn.1400523d0
nop
lea rcx, [rbp + 0x30]
mov rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], 0
jne 0x14005aa54
dec eax
movsxd rcx, eax
test eax, eax
jle 0x14005aaa9
cmp word [rbp + rcx*2 + 0x30], 0x3b
jne 0x14005aa77
cmp word [rbp + rcx*2 + 0x2e], 0x25
je 0x14005aa81
dec eax
dec rcx
test rcx, rcx
jmp 0x14005aa65
inc eax
movsxd rcx, eax
lea rdx, [rbp + 0x30]
lea rdx, [rdx + rcx*2]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], 0
jne 0x14005aa95
lea rcx, [rbp - 0x50]
call fcn.1400523d0
lea rcx, [rbp + 0x230]
mov rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x14005aac0
dec eax
movsxd rcx, eax
test eax, eax
jle 0x14005ab24
cmp word [rbp + rcx*2 + 0x230], 0x3b
jne 0x14005aae9
cmp word [rbp + rcx*2 + 0x22e], 0x25
je 0x14005aaf3
dec eax
dec rcx
test rcx, rcx
jmp 0x14005aad1
inc eax
movsxd rcx, eax
lea rdx, [rbp + 0x230]
lea rdx, [rdx + rcx*2]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x14005ab10
lea rcx, [rbp - 0x10]
call fcn.1400523d0
mov qword [rbp - 0x30], r14
mov r12, r14
mov qword [rbp - 0x20], r14
mov esi, 7
mov qword [rbp - 0x18], rsi
mov word [rbp - 0x30], r14w
lea rax, [rbp - 0x10]
cmp qword [rbp + 8], 8
cmovae rax, qword [rbp - 0x10]
lea r9, [rbp - 0x50]
cmp qword [rbp - 0x38], 8
cmovae r9, qword [rbp - 0x50]
lea rcx, [rbp + 0x830]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
lea r8, [rbp + 0x630]
lea rdx, str.__14s:_t_s___s___s.sys_
lea rcx, [rbp + 0x10]
call fcn.1400c48a0
lea rcx, [rbp - 0x30]
cmp rcx, rax
je 0x14005abad
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x30], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x20], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], rsi
mov word [rax], r14w
mov rsi, qword [rbp - 0x18]
mov r12, qword [rbp - 0x20]
mov rdx, qword [rbp + 0x28]
cmp rdx, 8
jb 0x14005abed
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005abe8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005ae0b
call fcn.1400e6a28
mov rdx, qword [r13 + 8]
cmp rdx, qword [r13 + 0x10]
je 0x14005ac7e
mov rbx, rdx
mov qword [rdx], r14
mov qword [rdx + 0x10], r14
mov qword [rdx + 0x18], r14
lea r15, [rbp - 0x30]
mov rdi, qword [rbp - 0x30]
cmp rsi, 8
cmovae r15, rdi
cmp r12, 8
jae 0x14005ac2e
movups xmm0, xmmword [r15]
movups xmmword [rdx], xmm0
mov r14d, 7
jmp 0x14005ac68
mov r14, r12
or r14, 7
movabs rax, 0x7ffffffffffffffe
cmp r14, rax
cmova r14, rax
lea rdx, [r14 + 1]
mov rcx, rbx
call fcn.1400521e0
mov qword [rbx], rax
lea r8, [r12*2 + 2]
mov rdx, r15
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x18], r14
add qword [r13 + 8], 0x20
mov ebx, dword [rsp + 0x70]
xor r14d, r14d
jmp 0x14005ac92
lea r8, [rbp - 0x30]
mov rcx, r13
call fcn.140057f70
mov rsi, qword [rbp - 0x18]
mov rdi, qword [rbp - 0x30]
cmp rsi, 8
jb 0x14005acce
lea rdx, [rsi*2 + 2]
mov rax, rdi
cmp rdx, 0x1000
jb 0x14005acc5
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005ae12
mov rcx, rdi
call fcn.1400e6a28
nop
mov rdx, qword [rbp - 0x38]
cmp rdx, 8
jb 0x14005ad0e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005ad09
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005ae19
call fcn.1400e6a28
mov qword [rbp - 0x40], r14
mov qword [rbp - 0x38], 7
mov word [rbp - 0x50], r14w
mov rdx, qword [rbp + 8]
cmp rdx, 8
jb 0x14005a906
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005ad5e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005ae20
call fcn.1400e6a28
jmp 0x14005a906
mov rdx, qword [rbp - 0x58]
cmp rdx, 8
jb 0x14005ada8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005ada3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005ae27
call fcn.1400e6a28
inc ebx
mov dword [rsp + 0x70], ebx
cmp ebx, dword [rsp + 0x64]
jb 0x14005a682
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14005adc8
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x14005add8
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rax, r13
mov rcx, qword [rbp + 0x1230]
xor rcx, rsp
call fcn.1400e6b50
lea r11, [rsp + 0x1340]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rdx, qword [rbp - 0x58]
cmp rdx, 8
jb 0x14005adb8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005ae65
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005aeaa
call fcn.1400e6a28
jmp 0x14005adb8
mov rdx, qword [rbp - 0x58]
cmp rdx, 8
jb 0x14005adb8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005ae65
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005ae65
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.1400e6cac
nop
call fcn.1400e6cac
int3