Function at 0x1400517b0
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
sub rsp, 0x20
xor eax, eax
mov rbx, rcx
mov qword [rcx + 0x18], rax
mov qword [rcx + 0x20], rax
mov qword [rcx + 0x28], rax
mov qword [rcx + 0x30], rax
mov qword [rcx + 0x38], rax
mov qword [rcx + 0x40], rax
mov qword [rcx + 0x48], rax
mov qword [rcx + 0x50], rax
mov qword [rcx + 0x58], rax
mov qword [rcx + 0x60], rax
mov qword [rcx + 0x68], rax
mov qword [rcx + 0x70], rax
mov qword [rcx + 0x80], rax
mov qword [rcx + 0x88], rax
lea rcx, str.setupapi.dll
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_1.dll_LoadLibraryW]
mov qword [rbx], rax
test rax, rax
je 0x140051916
lea rdx, str.SetupDiGetINFClassW
mov rcx, rax
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov rcx, qword [rbx]
lea rdx, str.SetupDiCreateDeviceInfoList
mov qword [rbx + 0x18], rax
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov rcx, qword [rbx]
lea rdx, str.SetupDiCreateDeviceInfoW
mov qword [rbx + 0x20], rax
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov rcx, qword [rbx]
lea rdx, str.SetupDiSetDeviceRegistryPropertyW
mov qword [rbx + 0x28], rax
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov rcx, qword [rbx]
lea rdx, str.SetupDiCallClassInstaller
mov qword [rbx + 0x30], rax
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov rcx, qword [rbx]
lea rdx, str.SetupDiDestroyDeviceInfoList
mov qword [rbx + 0x38], rax
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov rcx, qword [rbx]
lea rdx, str.SetupDiGetClassDevsExW
mov qword [rbx + 0x40], rax
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov rcx, qword [rbx]
lea rdx, str.SetupDiEnumDeviceInfo
mov qword [rbx + 0x48], rax
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov rcx, qword [rbx]
lea rdx, str.SetupDiSetClassInstallParamsW
mov qword [rbx + 0x50], rax
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov rcx, qword [rbx]
lea rdx, str.SetupDiGetDeviceInstallParamsW
mov qword [rbx + 0x58], rax
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov rcx, qword [rbx]
lea rdx, str.SetupUninstallOEMInfW
mov qword [rbx + 0x60], rax
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov rcx, qword [rbx]
lea rdx, str.SetupDiGetDeviceRegistryPropertyW
mov qword [rbx + 0x68], rax
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov rcx, qword [rbx]
lea rdx, str.SetupDiGetDeviceInstanceIdW
mov qword [rbx + 0x70], rax
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov qword [rbx + 0x78], rax
lea rcx, str.newdev.dll
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_1.dll_LoadLibraryW]
mov qword [rbx + 8], rax
test rax, rax
je 0x140051943
lea rdx, str.UpdateDriverForPlugAndPlayDevicesW
mov rcx, rax
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov qword [rbx + 0x80], rax
lea rcx, str.Bthprops.cpl
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_1.dll_LoadLibraryW]
mov qword [rbx + 0x10], rax
test rax, rax
je 0x140051970
lea rdx, str.BluetoothSetLocalServiceInfo
mov rcx, rax
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov qword [rbx + 0x88], rax
mov rax, rbx
add rsp, 0x20
pop rbx
ret