Function at 0x140031e30
Capabilities:
Connect to wmi namespace via wbemlocator
Reference wmi statements

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xe0
mov rax, qword [0x140342fc0]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov rbx, rcx
mov qword [rbp - 0x29], rcx
xor r13d, r13d
mov qword [rbp - 0x31], r13
mov qword [rbp - 0x39], r13
mov qword [rbp - 0x29], r13
mov qword [rbp - 0x21], r13
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
xor r8d, r8d
test eax, eax
jns 0x140031eda
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r13
mov qword [rbx + 0x18], r13
lea rdx, [0x1402f3478]
mov rcx, rbx
call fcn.140039770
mov rax, rbx
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.14025e750
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov qword [rsp + 0x40], r13
mov dword [rsp + 0x38], r13d
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], r13d
xor r9d, r9d
mov rdi, 0xffffffffffffffff
mov edx, edi
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeSecurity]
test eax, eax
js 0x140032055
lea rax, [rbp - 0x31]
mov qword [rsp + 0x20], rax
lea r9, [0x1402e3d98]
xor edx, edx
lea r8d, [rdi + 2]
lea rcx, [0x1402e3da8]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x140032055
mov rax, qword [rbp - 0x31]
mov rcx, qword [rax]
mov r14, qword [rcx + 0x18]
lea ecx, [rdi + 0x19]
call fcn.14025e8a8
mov rsi, rax
mov qword [rbp - 0x59], rax
test rax, rax
je 0x140031f8e
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], rax
mov qword [rsi + 8], r13
mov dword [rsi + 0x10], 1
lea rcx, str.ROOTCIMV2
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rsi], rax
test rax, rax
je 0x1400322dd
jmp 0x140031f91
mov rsi, r13
mov qword [rbp - 1], rsi
test rsi, rsi
je 0x1400322e8
lea rax, [rbp - 0x39]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r13
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsi]
mov rcx, qword [rbp - 0x31]
call r14
mov r14d, eax
mov ecx, edi
lock xadd dword [rsi + 0x10], ecx
cmp ecx, 1
jne 0x14003200a
mov rcx, qword [rsi]
test rcx, rcx
je 0x140031feb
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rsi], r13
mov rcx, qword [rsi + 8]
test rcx, rcx
je 0x140031ffd
call fcn.14025e770
mov qword [rsi + 8], r13
mov edx, 0x18
mov rcx, rsi
call fcn.14025e770
test r14d, r14d
js 0x14003204b
mov dword [rsp + 0x38], r13d
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0xa]
mov rcx, qword [rbp - 0x39]
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
jns 0x140032063
mov rcx, qword [rbp - 0x39]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbp - 0x31]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
call qword [sym.imp.ole32.dll_CoUninitialize]
xor r8d, r8d
jmp 0x140031e8d
mov rax, qword [rbp - 0x39]
mov rcx, qword [rax]
mov r12, qword [rcx + 0xa0]
mov ecx, 0x18
call fcn.14025e8a8
mov rsi, rax
mov qword [rbp - 0x59], rax
test rax, rax
je 0x1400320af
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], rax
mov qword [rsi + 8], r13
mov dword [rsi + 0x10], 1
lea rcx, str.SELECT__FROM_Win32_OperatingSystem
call fcn.14025e1d0
mov qword [rsi], rax
jmp 0x1400320b2
mov rsi, r13
mov qword [rbp - 0x49], rsi
test rsi, rsi
je 0x1400322e8
mov r15, qword [rsi]
mov ecx, 0x18
call fcn.14025e8a8
mov r14, rax
mov qword [rbp - 0x59], rax
test rax, rax
je 0x140032102
xorps xmm0, xmm0
xor eax, eax
movups xmmword [r14], xmm0
mov qword [r14 + 0x10], rax
mov qword [r14 + 8], r13
mov dword [r14 + 0x10], 1
lea rcx, [0x1402f4568]
call fcn.14025e1d0
mov qword [r14], rax
jmp 0x140032105
mov r14, r13
mov qword [rbp - 0x41], r14
test r14, r14
je 0x1400322d2
lea rax, [rbp - 0x29]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r13
mov r9d, 0x30
mov r8, r15
mov rdx, qword [r14]
mov rcx, qword [rbp - 0x39]
call r12
mov r15d, eax
mov ecx, edi
lock xadd dword [r14 + 0x10], ecx
cmp ecx, 1
jne 0x140032174
mov rcx, qword [r14]
test rcx, rcx
je 0x140032154
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [r14], r13
mov rcx, qword [r14 + 8]
test rcx, rcx
je 0x140032166
call fcn.14025e770
mov qword [r14 + 8], r13
mov edx, 0x18
mov rcx, r14
call fcn.14025e770
nop
mov eax, edi
lock xadd dword [rsi + 0x10], eax
cmp eax, 1
jne 0x1400321b0
mov rcx, qword [rsi]
test rcx, rcx
je 0x140032191
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rsi], r13
mov rcx, qword [rsi + 8]
test rcx, rcx
je 0x1400321a3
call fcn.14025e770
mov qword [rsi + 8], r13
mov edx, 0x18
mov rcx, rsi
call fcn.14025e770
test r15d, r15d
js 0x140032041
mov rcx, qword [rbp - 0x29]
test rcx, rcx
je 0x140032041
nop word [rax + rax]
mov dword [rbp - 1], r13d
mov rax, qword [rcx]
lea rdx, [rbp - 1]
mov qword [rsp + 0x20], rdx
lea r9, [rbp - 0x21]
mov r8d, 1
mov edx, edi
call qword [rax + 0x20]
cmp dword [rbp - 1], 0
je 0x140032041
mov rcx, qword [rbp - 0x21]
mov rax, qword [rcx]
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
lea r9, [rbp - 0x19]
xor r8d, r8d
lea rdx, str.Caption
call qword [rax + 0x20]
test eax, eax
jns 0x140032241
lea rcx, [rbp - 0x19]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rcx, qword [rbp - 0x21]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbp - 0x29]
test rcx, rcx
jne 0x1400321d0
jmp 0x140032041
xorps xmm0, xmm0
movups xmmword [rbp + 7], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x17], xmm1
mov rdx, qword [rbp - 0x11]
inc rdi
cmp word [rdx + rdi*2], 0
jne 0x140032254
mov r8, rdi
lea rcx, [rbp + 7]
call fcn.140039770
nop
lea rcx, [rbp - 0x19]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rcx, qword [rbp - 0x21]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbp - 0x29]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbp - 0x39]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbp - 0x31]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
call qword [sym.imp.ole32.dll_CoUninitialize]
movups xmm0, xmmword [rbp + 7]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rbp + 0x17]
movups xmmword [rbx + 0x10], xmm1
movdqa xmm0, xmmword [0x1402f99c0]
movdqu xmmword [rbp + 0x17], xmm0
mov word [rbp + 7], r13w
lea rcx, [rbp + 7]
call fcn.140006630
jmp 0x140031eaa
mov ecx, 0x8007000e
call fcn.14025e1c0
nop
mov ecx, 0x8007000e
call fcn.14025e1c0
nop
mov ecx, 0x8007000e
call fcn.14025e1c0
int3