Function at 0x1400659a0
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 rbx, rcx
xor r14d, r14d
mov r15d, 0x80000000
nop dword [rax]
cmp qword [rbx], 0
je 0x1400659e1
cmp qword [rbx + 8], 0
jne 0x140065bbc
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
js 0x140065bcb
movzx eax, byte [rbx + 0x1b]
test al, al
jne 0x140065a40
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 0x140065a3c
cmp eax, 0x80010119
jne 0x140065b8c
mov byte [rbx + 0x1b], 1
mov qword [rsp + 0x20], rbx
lea r9, [0x14040bcf8]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x14040bc98]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov edi, eax
test eax, eax
jns 0x140065a80
call qword [sym.imp.ole32.dll_CoUninitialize]
mov rcx, rbx
call fcn.140065c40
test al, al
je 0x140065b9b
jmp 0x1400659d0
mov ecx, Ordinal_27
call fcn.1400eb7fc
mov rdi, rax
mov qword [rsp + 0x98], rax
test rax, rax
je 0x140065ac0
mov qword [rax + 8], r14
mov dword [rax + 0x10], 1
lea rcx, str.ROOTCIMV2
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rdi], rax
test rax, rax
je 0x140065ba4
jmp 0x140065ac3
mov rdi, r14
mov qword [rsp + 0x90], rdi
test rdi, rdi
je 0x140065bc0
mov rcx, qword [rbx]
lea rsi, [rbx + 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 [rdi]
call qword [rax + Ordinal_26]
mov ebp, eax
mov rcx, rdi
call fcn.140066be0
mov qword [rsp + 0x90], r14
test ebp, ebp
jns 0x140065b3c
mov rcx, qword [rbx]
mov rdx, qword [rcx]
call qword [rdx + reloc.WS2_32.dll_recv]
mov qword [rbx], r14
call qword [sym.imp.ole32.dll_CoUninitialize]
mov rcx, rbx
call fcn.140065c40
test al, al
je 0x140065baf
jmp 0x1400659d0
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 edi, eax
test eax, eax
jns 0x140065bb8
mov rcx, qword [rsi]
mov rdx, qword [rcx]
call qword [rdx + reloc.WS2_32.dll_recv]
mov qword [rsi], r14
mov rcx, qword [rbx]
mov rdx, qword [rcx]
call qword [rdx + reloc.WS2_32.dll_recv]
mov qword [rbx], r14
jmp 0x140065a65
mov byte [rbx + 0x10], 1
mov dword [rbx + 0x14], eax
call qword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x140065bd2
mov byte [rbx + 0x10], 1
mov dword [rbx + 0x14], edi
jmp 0x140065bd2
mov ecx, 0x8007000e
call fcn.1400ed380
nop
mov byte [rbx + 0x10], 1
mov dword [rbx + 0x14], ebp
jmp 0x140065bd2
mov byte [rbx + 0x10], 0
mov al, 1
jmp 0x140065bd4
mov ecx, 0x8007000e
call fcn.1400ed380
int3
mov byte [rbx + 0x10], 1
mov dword [rbx + 0x14], eax
xor al, al
mov rbx, qword [rsp + 0xa0]
add rsp, 0x60
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret