Function at 0x140001800
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rsp - 0x47]
sub rsp, 0xd0
mov rax, qword [0x14001e018]
xor rax, rsp
mov qword [rbp + 0x37], rax
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
js 0x140001c54
xor r15d, r15d
mov qword [rsp + 0x40], r15
mov dword [rsp + 0x38], r15d
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
mov edi, 0xffffffff
mov edx, edi
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeSecurity]
test eax, eax
js 0x140001c54
mov qword [rbp - 0x19], r15
lea rax, [rbp - 0x19]
mov qword [rsp + 0x20], rax
lea r9, [0x140012418]
xor edx, edx
lea r8d, [r15 + 1]
lea rcx, [0x140012428]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x140001c54
mov qword [rbp - 0x29], r15
lea ecx, [rdi + 0x19]
call fcn.140001ea8
mov rbx, rax
mov qword [rbp - 0x39], rax
test rax, rax
je 0x1400018fa
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rax
mov qword [rbx + 8], r15
mov dword [rbx + 0x10], 1
lea rcx, str.ROOTStandardCimv2
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rbx], rax
test rax, rax
je 0x140001c9b
jmp 0x1400018fd
mov rbx, r15
mov qword [rbp - 0x31], rbx
test rbx, rbx
je 0x140001c90
mov rcx, qword [rbp - 0x19]
mov rax, qword [rcx]
lea rdx, [rbp - 0x29]
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], r15
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rbx]
call qword [rax + 0x18]
mov esi, eax
mov ecx, edi
lock xadd dword [rbx + 0x10], ecx
cmp ecx, 1
jne 0x140001978
mov rcx, qword [rbx]
test rcx, rcx
je 0x140001959
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], r15
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14000196b
call fcn.140001ea0
mov qword [rbx + 8], r15
mov edx, 0x18
mov rcx, rbx
call fcn.140001ea0
test esi, esi
js 0x140001c4a
mov dword [rsp + 0x38], r15d
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0xa]
mov rcx, qword [rbp - 0x29]
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
jns 0x1400019cc
mov rcx, qword [rbp - 0x29]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x19]
mov rax, qword [rcx]
call qword [rax + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
lea rcx, [0x14001b088]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rsi, rax
lea rcx, str.MSFT_PrinterDriver
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov r14, rax
mov qword [rbp - 0x11], r15
mov rcx, qword [rbp - 0x29]
mov r10, qword [rcx]
mov qword [rsp + 0x28], r15
lea rax, [rbp - 0x11]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov rdx, r14
call qword [r10 + 0x30]
mov qword [rbp - 9], r15
mov rcx, qword [rbp - 0x11]
mov r10, qword [rcx]
mov qword [rsp + 0x20], r15
lea r9, [rbp - 9]
xor r8d, r8d
mov rdx, rsi
call qword [r10 + 0x98]
mov qword [rbp - 0x21], r15
mov rcx, qword [rbp - 9]
mov rax, qword [rcx]
lea r8, [rbp - 0x21]
xor edx, edx
call qword [rax + 0x78]
mov r12d, 8
mov word [rbp + 7], r12w
lea ecx, [r12 + 0x10]
call fcn.140001ea8
mov rbx, rax
mov qword [rbp - 0x39], rax
test rax, rax
je 0x140001a9a
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rax
mov qword [rbx + 8], r15
mov dword [rbx + 0x10], 1
lea rcx, str.Generic___Text_Only
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rbx], rax
test rax, rax
je 0x140001ca6
jmp 0x140001a9d
mov rbx, r15
test rbx, rbx
je 0x140001c90
mov rax, qword [rbx]
mov qword [rbp + 0xf], rax
mov eax, edi
lock xadd dword [rbx + 0x10], eax
cmp eax, 1
jne 0x140001ae9
mov rcx, qword [rbx]
test rcx, rcx
je 0x140001aca
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], r15
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x140001adc
call fcn.140001ea0
mov qword [rbx + 8], r15
mov edx, 0x18
mov rcx, rbx
call fcn.140001ea0
mov word [rbp + 0x1f], r12w
mov ecx, 0x18
call fcn.140001ea8
mov rbx, rax
mov qword [rbp - 0x39], rax
test rax, rax
je 0x140001b36
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rax
mov qword [rbx + 8], r15
mov dword [rbx + 0x10], 1
lea rcx, str.C:WindowsSystem32DriverStoreFileRepositoryprnge001.inf_amd64_1daeee8f3aa30fcdprnge001.inf
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rbx], rax
test rax, rax
je 0x140001cb1
jmp 0x140001b39
mov rbx, r15
test rbx, rbx
je 0x140001c90
mov rax, qword [rbx]
mov qword [rbp + 0x27], rax
lock xadd dword [rbx + 0x10], edi
cmp edi, 1
jne 0x140001b83
mov rcx, qword [rbx]
test rcx, rcx
je 0x140001b64
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], r15
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x140001b76
call fcn.140001ea0
mov qword [rbx + 8], r15
mov edx, 0x18
mov rcx, rbx
call fcn.140001ea0
mov rcx, qword [rbp - 0x21]
mov rax, qword [rcx]
mov dword [rsp + 0x20], r15d
lea r9, [rbp + 7]
xor r8d, r8d
lea rdx, str.Name
call qword [rax + 0x28]
mov rcx, qword [rbp - 0x21]
mov rax, qword [rcx]
mov dword [rsp + 0x20], r15d
lea r9, [rbp + 0x1f]
xor r8d, r8d
lea rdx, str.InfPath
call qword [rax + 0x28]
mov qword [rbp - 1], r15
mov rcx, qword [rbp - 0x29]
mov r10, qword [rcx]
mov qword [rsp + 0x38], r15
lea rax, [rbp - 1]
mov qword [rsp + 0x30], rax
mov rax, qword [rbp - 0x21]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
xor r9d, r9d
mov r8, rsi
mov rdx, r14
call qword [r10 + 0xc0]
test eax, eax
jns 0x140001c89
lea rcx, [rbp + 7]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rcx, r14
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, rsi
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, qword [rbp - 0x11]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x21]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 9]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 1]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x29]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x19]
mov rax, qword [rcx]
call qword [rax + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.140001e80
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
mov eax, 1
jmp 0x140001c5c
mov ecx, 0x8007000e
call fcn.140001ce0
nop
mov ecx, 0x8007000e
call fcn.140001ce0
nop
mov ecx, 0x8007000e
call fcn.140001ce0
nop
mov ecx, 0x8007000e
call fcn.140001ce0
int3