Function at 0x1400a5000
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 0x1400a5041
cmp qword [rdi + 8], 0
jne 0x1400a5251
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
js 0x1400a5260
movzx eax, byte [rdi + 0x1b]
test al, al
jne 0x1400a50a0
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 0x1400a509c
cmp eax, 0x80010119
jne 0x1400a5221
mov byte [rdi + 0x1b], 1
mov qword [rsp + 0x20], rdi
lea r9, [0x1400cd200]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x1400cd2d0]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov ebx, eax
test eax, eax
jns 0x1400a50e0
call qword [sym.imp.ole32.dll_CoUninitialize]
mov rcx, rdi
call section..ertwtz
test al, al
je 0x1400a5230
jmp 0x1400a5030
mov ecx, Ordinal_27
call fcn.140051bb8
mov rbx, rax
mov qword [rsp + 0x98], rax
test rax, rax
je 0x1400a5120
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 0x1400a5239
jmp 0x1400a5123
mov rbx, r14
mov qword [rsp + 0x90], rbx
test rbx, rbx
je 0x1400a5255
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 0x1400a51a2
mov rcx, qword [rbx]
test rcx, rcx
je 0x1400a5183
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], r14
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x1400a5195
call fcn.140051bb0
mov qword [rbx + 8], r14
mov edx, Ordinal_27
mov rcx, rbx
call fcn.140051bb0
mov qword [rsp + 0x90], r14
test ebp, ebp
jns 0x1400a51d1
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 section..ertwtz
test al, al
je 0x1400a5244
jmp 0x1400a5030
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 0x1400a524d
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 0x1400a50c5
mov byte [rdi + 0x10], 1
mov dword [rdi + 0x14], eax
call qword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x1400a5267
mov byte [rdi + 0x10], 1
mov dword [rdi + 0x14], ebx
jmp 0x1400a5267
mov ecx, 0x8007000e
call fcn.1400552f0
nop
mov byte [rdi + 0x10], 1
mov dword [rdi + 0x14], ebp
jmp 0x1400a5267
mov byte [rdi + 0x10], 0
mov al, 1
jmp 0x1400a5269
mov ecx, 0x8007000e
call fcn.1400552f0
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