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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xc0
mov r15, rdx
mov rsi, rcx
mov qword [rbp + 0xf], rcx
xor edi, edi
mov dword [rbp - 0x41], edi
mov qword [rcx], rdi
mov qword [rcx + 8], rdi
lea rbx, [rcx + 0x10]
mov qword [rbx], rdi
lea r14, [rcx + 0x18]
mov qword [r14], rdi
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
js 0x140181672
mov qword [rsp + 0x20], rbx
lea r9, [0x1405b71e0]
xor edx, edx
lea r8d, [rdi + 1]
lea rcx, [0x1405b71f0]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x1401816a1
mov r12, qword [rbx]
mov rax, qword [r12]
mov r13, qword [rax + 0x18]
lea ecx, [rdi + 0x18]
call fcn.1404a0cf4
mov rbx, rax
mov qword [rbp - 0x31], rax
test rax, rax
je 0x1401814e0
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rax
mov qword [rbx + 8], rdi
mov dword [rbx + 0x10], 1
lea rcx, str.._root_
call fcn.1404a1ce0
mov qword [rbx], rax
jmp 0x1401814e3
mov rbx, rdi
mov qword [rbp - 0x31], rbx
test rbx, rbx
je 0x1401816d6
mov ecx, 0x18
call fcn.1404a0cf4
mov rdi, rax
mov qword [rbp - 0x39], rax
test rax, rax
je 0x14018152d
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rax
mov qword [rdi + 8], rax
mov dword [rdi + 0x10], 1
mov rcx, qword [r15]
call fcn.1404a1ce0
mov qword [rdi], rax
xor r15d, r15d
jmp 0x140181533
xor r15d, r15d
mov edi, r15d
mov qword [rbp - 0x39], rdi
test rdi, rdi
je 0x1401816e1
mov qword [rbp - 0x49], rbx
lock inc dword [rbx + 0x10]
mov dword [rbp - 0x41], 1
mov ecx, 0x18
call fcn.1404a0cf4
mov qword [rbp + 0x17], rax
test rax, rax
je 0x140181583
xorps xmm0, xmm0
xor ecx, ecx
movups xmmword [rax], xmm0
mov qword [rax + 0x10], rcx
lea r8, [rbp - 0x39]
lea rdx, [rbp - 0x49]
mov rcx, rax
call fcn.140180c50
mov rbx, rax
jmp 0x140181586
mov rbx, r15
test rbx, rbx
je 0x1401816ec
lea rcx, [rbp - 0x49]
call fcn.140180be0
mov qword [rbp - 0x49], rbx
mov qword [rsp + 0x40], r14
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]
mov rcx, r12
call r13
mov ebx, eax
lea rcx, [rbp - 0x49]
call fcn.140180be0
nop
lea rcx, [rbp - 0x39]
call fcn.140180be0
nop
lea rcx, [rbp - 0x31]
call fcn.140180be0
test ebx, ebx
js 0x1401816f7
mov dword [rsp + 0x38], r15d
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], r15d
mov r9, 0xffffffffffffffff
xor r8d, r8d
mov edx, 0xffffffff
mov rcx, qword [r14]
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
js 0x14018163c
mov rax, rsi
mov rbx, qword [rsp + 0x110]
add rsp, 0xc0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.ole32.dll_CoUninitialize]
nop
lea rdx, str.Could_not_set_proxy_blanket
lea rcx, [rbp - 0x11]
call fcn.1401334e0
nop
lea rdx, [rbp - 0x11]
lea rcx, [rbp - 0x29]
call fcn.140180f60
lea rdx, [0x14061d870]
lea rcx, [rbp - 0x29]
call fcn.1404a3394
nop
lea rdx, str.Failed_to_initialize_the_COM_library
lea rcx, [rbp - 0x11]
call fcn.1401334e0
nop
lea rdx, [rbp - 0x11]
lea rcx, [rbp - 0x29]
call fcn.140180f60
lea rdx, [0x14061d870]
lea rcx, [rbp - 0x29]
call fcn.1404a3394
nop
call qword [sym.imp.ole32.dll_CoUninitialize]
lea rdx, str.Failed_to_create_WbemLocator_object
lea rcx, [rbp - 0x11]
call fcn.1401334e0
nop
lea rdx, [rbp - 0x11]
lea rcx, [rbp - 0x29]
call fcn.140180f60
lea rdx, [0x14061d870]
lea rcx, [rbp - 0x29]
call fcn.1404a3394
nop
mov ecx, 0x8007000e
call fcn.1404a1cd0
nop
mov ecx, 0x8007000e
call fcn.1404a1cd0
nop
mov ecx, 0x8007000e
call fcn.1404a1cd0
nop
call qword [sym.imp.ole32.dll_CoUninitialize]
lea rdx, str.Could_not_connect_to_WMI_service
lea rcx, [rbp - 0x11]
call fcn.1401334e0
nop
lea rdx, [rbp - 0x11]
lea rcx, [rbp - 0x29]
call fcn.140180f60
lea rdx, [0x14061d870]
lea rcx, [rbp - 0x29]
call fcn.1404a3394
int3