Function at 0x100001880
Capabilities:
Print debug messages

Disassembly:
push rbp
mov rbp, rsp
lea rsp, [rsp - 0x1f0]
mov qword [rbp - 0x1c0], rbx
mov qword [rbp - 0x1b8], rdi
mov qword [rbp - 0x1b0], rsi
mov qword [rbp - 0x1a8], r12
mov qword [rbp - 0x1a0], r13
mov qword [rbp - 0x198], r14
mov qword [rbp - 0x190], r15
mov qword [rbp - 8], rcx
mov qword [rbp - 0x10], rdx
mov rcx, qword [rbp - 8]
call fcn.100006040
mov rcx, qword [rbp - 0x10]
call fcn.100006040
mov qword [rbp - 0x20], 0
mov qword [rbp - 0x28], 0
mov qword [rbp - 0x80], 0
mov qword [rbp - 0x58], 0
nop
mov byte [rbp - 0x188], 0
mov rax, qword [0x10002a170]
mov qword [rbp - 0x38], rax
mov rax, qword [0x10002a178]
mov qword [rbp - 0x30], rax
lea rcx, [rbp - 0x38]
mov r9d, 0x12
xor r8, r8
xor edx, edx
call sub.setupapi.dll_SetupDiGetClassDevsA
mov r15, rax
cmp r15, 0xffffffffffffffff
je 0x100001be8
nop
lea rcx, [rbp - 0x58]
call fcn.100005ff0
lea rax, str.Vid_
mov qword [rbp - 0x78], rax
mov rax, qword [rbp - 8]
mov qword [rbp - 0x70], rax
lea rax, str.Pid_
mov qword [rbp - 0x68], rax
mov rax, qword [rbp - 0x10]
mov qword [rbp - 0x60], rax
lea rdx, [rbp - 0x78]
xor r9d, r9d
mov r8d, 3
lea rcx, [rbp - 0x58]
call fcn.100006460
mov rdx, qword [rbp - 0x58]
lea rcx, [rbp - 0x28]
call fcn.100010d70
xor r13d, r13d
nop dword [rax]
mov ecx, 0x20
call fcn.10000b6d0
mov rsi, rax
mov dword [rsi], 0x20
mov qword [rsp + 0x20], rsi
lea r8, [rbp - 0x38]
mov r9d, r13d
mov rcx, r15
xor edx, edx
call sub.setupapi.dll_SetupDiEnumDeviceInterfaces
mov ebx, eax
call sub.kernel32.dll_GetLastError
mov r12d, eax
test ebx, ebx
je 0x100001bd8
mov ecx, 0x20
call fcn.10000b6d0
mov rdi, rax
mov dword [rdi], 0x20
mov dword [rbp - 0x14], 0
mov qword [rsp + 0x28], rdi
lea rax, [rbp - 0x14]
mov qword [rsp + 0x20], rax
mov rdx, rsi
mov rcx, r15
xor r9d, r9d
xor r8, r8
call sub.setupapi.dll_SetupDiGetDeviceInterfaceDetailA
call sub.kernel32.dll_GetLastError
mov r12d, eax
cmp dword [rbp - 0x14], 0
je 0x100001bd8
cmp r12d, 0x7a
jne 0x100001bd8
mov ecx, dword [rbp - 0x14]
call fcn.10000b690
mov r14, rax
mov dword [r14], 8
mov qword [rsp + 0x28], rdi
lea rax, [rbp - 0x14]
mov qword [rsp + 0x20], rax
mov r9d, dword [rbp - 0x14]
mov r8, r14
mov rdx, rsi
mov rcx, r15
call sub.setupapi.dll_SetupDiGetDeviceInterfaceDetailA
test eax, eax
je 0x100001bc0
lea rdx, [r14 + 4]
lea rcx, [rbp - 0x20]
xor r8d, r8d
call fcn.100006ae0
mov rdx, qword [rbp - 0x20]
lea rcx, [rbp - 0x80]
call fcn.100010d70
mov rdx, qword [rbp - 0x80]
mov rcx, qword [rbp - 0x28]
mov r8d, 1
call fcn.1000070e0
test rax, rax
jle 0x100001bbc
mov dword [rbp - 0x4c], 8
mov dword [rbp - 0x48], 0x12
mov dword [rbp - 0x44], 3
mov dword [rbp - 0x40], 2
mov dword [rbp - 0x3c], 0
lea r8, [rbp - 0x4c]
mov rdx, rdi
mov rcx, r15
mov r9d, 0x14
call sub.setupapi.dll_SetupDiSetClassInstallParamsA
test eax, eax
je 0x100001bbc
mov r8, rdi
mov rdx, r15
mov ecx, 0x12
call sub.setupapi.dll_SetupDiCallClassInstaller
test eax, eax
je 0x100001af3
mov byte [rbp - 0x188], 1
jmp 0x100001bbb
call sub.kernel32.dll_GetLastError
mov r12d, eax
cmp r12d, 0xe0000235
jne 0x100001b15
lea rcx, str.GetLastError__ERROR_IN_WOW64____SetupDiCallClassInstaller
call sub.kernel32.dll_OutputDebugStringA
jmp 0x100001bbb
cmp r12d, 5
jne 0x100001b2c
lea rcx, str.GetLastError__ERROR_ACCESS_DENIED____SetupDiCallClassInstaller
call sub.kernel32.dll_OutputDebugStringA
jmp 0x100001bbb
lea rcx, [rbp - 0x58]
call fcn.100005ff0
lea rax, str.GetLastError_
mov qword [rbp - 0x70], rax
mov ecx, r12d
mov r9d, 0xff
lea r8, [rbp - 0x180]
mov rdx, 0xffffffffffffffff
call fcn.1000033b0
xor r8d, r8d
lea rdx, [rbp - 0x180]
lea rcx, [rbp - 0x80]
call fcn.1000069f0
xor r8b, r8b
xor edx, edx
lea rcx, [rbp - 0x80]
call fcn.100007870
mov rax, qword [rbp - 0x80]
mov qword [rbp - 0x68], rax
lea rax, str.____SetupDiCallClassInstaller
mov qword [rbp - 0x60], rax
lea rdx, [rbp - 0x70]
xor r9d, r9d
mov r8d, 2
lea rcx, [rbp - 0x58]
call fcn.100006460
mov rcx, qword [rbp - 0x58]
test rcx, rcx
jne 0x100001bb6
lea rcx, [0x10003c450]
call sub.kernel32.dll_OutputDebugStringA
nop
add r13d, 1
mov rcx, r14
call fcn.10000b670
mov rcx, rsi
call fcn.10000b6f0
mov rcx, rdi
call fcn.10000b6f0
test ebx, ebx
jne 0x100001990
mov rcx, r15
call sub.setupapi.dll_SetupDiDestroyDeviceInfoList
nop
mov rcx, rbp
call fcn.100001830
mov al, byte [rbp - 0x188]
mov rbx, qword [rbp - 0x1c0]
mov rdi, qword [rbp - 0x1b8]
mov rsi, qword [rbp - 0x1b0]
mov r12, qword [rbp - 0x1a8]
mov r13, qword [rbp - 0x1a0]
mov r14, qword [rbp - 0x198]
mov r15, qword [rbp - 0x190]
lea rsp, [rbp]
pop rbp
ret