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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x50
mov rdi, rcx
xor r14d, r14d
mov r15d, 0x80000000
nop dword [rax]
cmp qword [rdi], 0
je 0x1400671c1
cmp qword [rdi + 8], 0
jne 0x1400673c6
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
js 0x1400673ca
movzx eax, byte [rdi + 0x1b]
test al, al
jne 0x140067221
mov qword [rsp + 0x40], r14
mov dword [rsp + 0x38], r14d
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 - 1]
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeSecurity]
lea ecx, [rax + r15]
test r15d, ecx
jne 0x14006721d
cmp eax, 0x80010119
jne 0x1400673b3
mov byte [rdi + 0x1b], 1
mov qword [rsp + 0x20], rdi
lea r9, [0x14042d228]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x14042d1c8]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov ebx, eax
test eax, eax
jns 0x140067268
call qword [sym.imp.ole32.dll_CoUninitialize]
mov rcx, rdi
call fcn.140067460
test al, al
jne 0x1400671b0
mov byte [rdi + 0x10], 1
mov dword [rdi + 0x14], ebx
jmp 0x1400673d1
mov ecx, Ordinal_26
call fcn.140133e2c
mov rbx, rax
mov qword [rsp + 0x88], rax
test rax, rax
je 0x1400672a8
mov qword [rax + 8], r14
mov dword [rax + 0x10], 1
lea rcx, str.ROOTCIMV2
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rbx], rax
test rax, rax
je 0x1400673f2
jmp 0x1400672ab
mov rbx, r14
mov qword [rsp + 0x80], rbx
test rbx, rbx
je 0x1400673e7
mov rcx, qword [rdi]
lea rsi, [rdi + 8]
mov rax, qword [rcx]
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], r14
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rbx]
call qword [rax + Ordinal_26]
mov ebp, eax
mov ecx, 0xffffffff
lock xadd dword [rbx + 0x10], ecx
cmp ecx, 1
jne 0x14006732c
mov rcx, qword [rbx]
test rcx, rcx
je 0x14006730d
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], r14
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14006731f
call fcn.14013466c
mov qword [rbx + 8], r14
mov edx, Ordinal_26
mov rcx, rbx
call fcn.140133e68
mov qword [rsp + 0x80], r14
test ebp, ebp
jns 0x140067363
mov rcx, qword [rdi]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [rdi], r14
call qword [sym.imp.ole32.dll_CoUninitialize]
mov rcx, rdi
call fcn.140067460
test al, al
jne 0x1400671b0
mov byte [rdi + 0x10], 1
mov dword [rdi + 0x14], ebp
jmp 0x1400673d1
mov dword [rsp + 0x38], r14d
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0xa]
mov rcx, qword [rsi]
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov ebx, eax
test eax, eax
jns 0x1400673c2
mov rcx, qword [rsi]
mov rdx, qword [rcx]
call qword [rdx + reloc.WS2_32.dll_recv]
mov qword [rsi], r14
mov rcx, qword [rdi]
mov rdx, qword [rcx]
call qword [rdx + reloc.WS2_32.dll_recv]
mov qword [rdi], r14
jmp 0x140067246
mov byte [rdi + 0x10], 1
mov dword [rdi + 0x14], eax
call qword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x1400673d1
mov byte [rdi + 0x10], 0
mov al, 1
jmp 0x1400673d3
mov byte [rdi + 0x10], 1
mov dword [rdi + 0x14], eax
xor al, al
mov rbx, qword [rsp + 0x90]
add rsp, 0x50
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov ecx, 0x8007000e
call fcn.1401359f0
nop
mov ecx, 0x8007000e
call fcn.1401359f0
int3