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

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x60
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rsp + 0xa0], rbx
mov rdi, rcx
xor r14d, r14d
mov r15d, 0x80000000
nop dword [rax]
cmp qword [rdi], 0
je 0x1400f67c1
cmp qword [rdi + 8], 0
jne 0x1400f69d1
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
js 0x1400f69e0
movzx eax, byte [rdi + 0x1b]
test al, al
jne 0x1400f6820
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
or edx, 0xffffffff
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeSecurity]
lea ecx, [rax + r15]
test r15d, ecx
jne 0x1400f681c
cmp eax, 0x80010119
jne 0x1400f69a1
mov byte [rdi + 0x1b], 1
mov qword [rsp + 0x20], rdi
lea r9, [0x14014c7f0]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x14014c8c0]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov ebx, eax
test eax, eax
jns 0x1400f6860
call qword [sym.imp.ole32.dll_CoUninitialize]
mov rcx, rdi
call fcn.140121ad0
test al, al
je 0x1400f69b0
jmp 0x1400f67b0
mov ecx, Ordinal_27
call fcn.14006dac0
mov rbx, rax
mov qword [rsp + 0x98], rax
test rax, rax
je 0x1400f68a0
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 0x1400f69b9
jmp 0x1400f68a3
mov rbx, r14
mov qword [rsp + 0x90], rbx
test rbx, rbx
je 0x1400f69d5
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
or ecx, 0xffffffff
lock xadd dword [rbx + 0x10], ecx
cmp ecx, 1
jne 0x1400f6922
mov rcx, qword [rbx]
test rcx, rcx
je 0x1400f6903
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], r14
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x1400f6915
call fcn.14006dab8
mov qword [rbx + 8], r14
mov edx, Ordinal_27
mov rcx, rbx
call fcn.14006dab8
mov qword [rsp + 0x90], r14
test ebp, ebp
jns 0x1400f6951
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.140121ad0
test al, al
je 0x1400f69c4
jmp 0x1400f67b0
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 0x1400f69cd
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 0x1400f6845
mov byte [rdi + 0x10], 1
mov dword [rdi + 0x14], eax
call qword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x1400f69e7
mov byte [rdi + 0x10], 1
mov dword [rdi + 0x14], ebx
jmp 0x1400f69e7
mov ecx, 0x8007000e
call fcn.140098d20
nop
mov byte [rdi + 0x10], 1
mov dword [rdi + 0x14], ebp
jmp 0x1400f69e7
mov byte [rdi + 0x10], 0
mov al, 1
jmp 0x1400f69e9
mov ecx, 0x8007000e
call fcn.140098d20
int3
mov byte [rdi + 0x10], 1
mov dword [rdi + 0x14], eax
xor al, al
mov rbx, qword [rsp + 0xa0]
add rsp, 0x60
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret