Function at 0x14000fc50
Capabilities:
Link many functions at runtime

Disassembly:
mov dword [rsp + 8], ecx
push rbp
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov rax, qword [0x140053cf8]
xor r13d, r13d
mov r14, r8
mov r12, rdx
mov r15d, r13d
test rax, rax
jne 0x14000fc95
lea rcx, str.Setupapi.dll
call fcn.14000b8a0
mov qword [0x140053cf8], rax
test rax, rax
je 0x14000fd95
cmp qword [0x140053d78], r13
jne 0x14000fcc5
lea rdx, str.SetupDiGetClassDevsW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140053d78], rax
test rax, rax
je 0x14000fd95
mov rax, qword [0x140053cf8]
cmp qword [0x140053d20], r13
jne 0x14000fcf5
lea rdx, str.SetupDiEnumDeviceInfo
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140053d20], rax
test rax, rax
je 0x14000fd95
mov rax, qword [0x140053cf8]
cmp qword [0x140053dc0], r13
jne 0x14000fd21
lea rdx, str.SetupDiGetDeviceRegistryPropertyW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140053dc0], rax
test rax, rax
je 0x14000fd95
mov rax, qword [0x140053cf8]
cmp qword [0x140053cd0], r13
jne 0x14000fd4d
lea rdx, str.SetupDiGetDeviceInterfaceDetailW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140053cd0], rax
test rax, rax
je 0x14000fd95
mov rax, qword [0x140053cf8]
cmp qword [0x140053d80], r13
jne 0x14000fd72
lea rdx, str.SetupDiDestroyDeviceInfoList
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140053d80], rax
test rax, rax
je 0x14000fd95
mov rax, qword [0x140053d78]
mov r9d, 6
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [0x14003a2f0]
mov rbp, rax
cmp rax, 0xffffffffffffffff
jne 0x14000fda5
xor eax, eax
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
xorps xmm0, xmm0
mov qword [rsp + 0x78], rbx
movups xmmword [r14], xmm0
mov qword [rsp + 0x80], rsi
mov r8, r14
movups xmmword [r14 + 0x10], xmm0
mov dword [r14], 0x20
xor edx, edx
mov rax, qword [0x140053d20]
mov rcx, rbp
mov qword [rsp + 0x88], rdi
call qword [0x14003a2f0]
test eax, eax
je 0x14000ff4f
nop word [rax + rax]
mov dword [rsp + 0x70], r13d
mov rsi, r13
lfence
xor r9d, r9d
lea rax, [rsp + 0x70]
mov qword [rsp + 0x30], rax
mov rdx, r14
mov rax, qword [0x140053dc0]
mov rcx, rbp
mov dword [rsp + 0x28], r13d
lea r8d, [r9 + 2]
mov qword [rsp + 0x20], r13
call qword [0x14003a2f0]
mov ebx, dword [rsp + 0x70]
test ebx, ebx
je 0x14000ff12
add ebx, 4
mov ecx, 0x40
mov edx, ebx
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rsi, rax
test rax, rax
je 0x14000ff12
xor r9d, r9d
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], ebx
mov rdx, r14
mov qword [rsp + 0x20], rax
mov rcx, rbp
mov rax, qword [0x140053dc0]
lea r8d, [r9 + 2]
call qword [0x14003a2f0]
test eax, eax
je 0x14000ff12
mov rdi, rsi
cmp word [rsi], r13w
je 0x14000ff0c
nop
mov rbx, qword [str.PCIVEN_10DECC_0300]
cmp word [rbx], r13w
je 0x14000fee2
nop dword [rax]
mov rdx, rbx
mov rcx, rdi
call fcn.140018c54
test rax, rax
jne 0x14000fedc
mov rax, 0xffffffffffffffff
nop word [rax + rax]
cmp word [rbx + rax*2 + 2], r13w
lea rax, [rax + 1]
jne 0x14000fec0
lea rbx, [rbx + rax*2]
add rbx, 2
cmp word [rbx], r13w
jne 0x14000fea0
jmp 0x14000fee2
cmp word [rbx], r13w
jne 0x14000ff0c
mov rax, 0xffffffffffffffff
nop dword [rax]
cmp word [rdi + rax*2 + 2], r13w
lea rax, [rax + 1]
jne 0x14000fef0
lea rdi, [rdi + rax*2]
add rdi, 2
cmp word [rdi], r13w
jne 0x14000fe90
jmp 0x14000ff12
cmp word [rdi], r13w
jne 0x14000ff84
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LocalFree]
xorps xmm0, xmm0
inc r15d
movups xmmword [r14], xmm0
mov r8, r14
mov edx, r15d
movups xmmword [r14 + 0x10], xmm0
mov dword [r14], 0x20
mov rcx, rbp
mov rax, qword [0x140053d20]
call qword [0x14003a2f0]
test eax, eax
jne 0x14000fdf0
mov rax, qword [0x140053d80]
mov rcx, rbp
call qword [0x14003a2f0]
xor eax, eax
mov rsi, qword [rsp + 0x80]
mov rbx, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x88]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, 1
mov qword [r12], rbp
jmp 0x14000ff61