Function at 0x140078830
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, 0x70
mov rdi, rcx
xor r14d, r14d
mov r15d, 0x80000000
nop dword [rax]
cmp qword [rdi], 0
je 0x140078861
cmp qword [rdi + 8], 0
jne 0x140078aa0
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
js 0x1400788f8
cmp byte [rdi + 0x10], 0
jne 0x1400788bf
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 0x1400788bb
cmp eax, 0x80010119
jne 0x140078a91
mov byte [rdi + 0x10], 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]
test eax, eax
jns 0x14007890e
call qword [sym.imp.ole32.dll_CoUninitialize]
mov rcx, rdi
call fcn.140078b20
test al, al
jne 0x140078850
xor al, al
mov rbx, qword [rsp + 0xb0]
add rsp, 0x70
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov edx, VarDecFromUI1
lea rcx, [rsp + 0x50]
call fcn.1400177a0
mov rsi, rax
cmp qword [rax + 0x18], 8
jb 0x14007892a
mov rsi, qword [rax]
mov ecx, Ordinal_26
call fcn.140133e2c
mov rbx, rax
mov qword [rsp + 0xa8], rax
test rax, rax
je 0x14007896b
mov qword [rax + 8], r14
mov dword [rax + 0x10], 1
mov rcx, rsi
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rbx], rax
test rax, rax
jne 0x14007896e
test rsi, rsi
jne 0x140078aad
jmp 0x14007896e
mov rbx, r14
mov qword [rsp + 0xa0], rbx
test rbx, rbx
je 0x140078ab8
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 0x1400789f0
mov rcx, qword [rbx]
test rcx, rcx
je 0x1400789d0
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], r14
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x1400789e2
call fcn.14013466c
mov qword [rbx + 8], r14
mov edx, Ordinal_26
mov rcx, rbx
call fcn.140133e68
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x140078a2e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140078a29
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140078aa7
call fcn.140133e68
test ebp, ebp
jns 0x140078a43
mov rcx, qword [rdi]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [rdi], r14
jmp 0x1400788e2
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]
test eax, eax
jns 0x140078a9c
mov rcx, qword [rsi]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [rsi], r14
mov rcx, qword [rdi]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [rdi], r14
jmp 0x1400788e2
call qword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x1400788f8
mov byte [rdi + 0x11], 1
mov al, 1
jmp 0x1400788fa
call fcn.1401462a8
nop
mov ecx, 0x8007000e
call fcn.1401359f0
nop
mov ecx, 0x8007000e
call fcn.1401359f0
int3