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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xf0
mov rax, qword [0x1400f8010]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov r14, rcx
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
mov r12d, 1
xor r15d, r15d
test eax, eax
js 0x140045109
mov qword [rbp - 0x61], r15
lea rcx, [rbp - 0x61]
mov qword [rsp + 0x20], rcx
lea r9, [0x1400c03d8]
mov r8d, r12d
xor edx, edx
lea rcx, [0x1400c03c8]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x140045103
mov qword [rbp - 0x69], r15
mov rax, qword [rbp - 0x61]
mov rcx, qword [rax]
mov rbx, qword [rcx + 0x18]
lea rdx, str.ROOTCIMV2
lea rcx, [rbp - 0x49]
call fcn.140042fc0
nop
mov rdx, qword [rax]
test rdx, rdx
je 0x140044e4b
mov rdx, qword [rdx]
jmp 0x140044e4e
mov rdx, r15
lea rax, [rbp - 0x69]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], r15
xor r9d, r9d
xor r8d, r8d
mov rcx, qword [rbp - 0x61]
call rbx
mov ebx, eax
lea rcx, [rbp - 0x49]
call fcn.140043044
test ebx, ebx
jns 0x140044e8f
mov rcx, qword [rbp - 0x61]
jmp 0x1400450fd
mov dword [rsp + 0x38], r15d
mov qword [rsp + 0x30], r15
mov eax, 3
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], eax
xor r9d, r9d
xor r8d, r8d
lea edx, [rax + 7]
mov rcx, qword [rbp - 0x69]
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
jns 0x140044ec9
mov rcx, qword [rbp - 0x69]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
jmp 0x140044e86
mov qword [rbp - 0x51], r15
mov rax, qword [rbp - 0x69]
mov rcx, qword [rax]
mov rsi, qword [rcx + 0xa0]
mov ecx, Ordinal_27
call fcn.140076f90
mov rbx, rax
mov qword [rbp - 0x39], rax
test rax, rax
je 0x140044f0a
mov qword [rax + 8], r15
mov dword [rax + 0x10], r12d
lea rcx, str.SELECT__FROM_Win32_OperatingSystem
call fcn.140078140
mov qword [rbx], rax
jmp 0x140044f0d
mov rbx, r15
mov qword [rbp - 0x39], rbx
test rbx, rbx
je 0x14004513f
mov rdi, qword [rbx]
mov ecx, Ordinal_27
call fcn.140076f90
mov rbx, rax
mov qword [rbp - 0x49], rax
test rax, rax
je 0x140044f4c
mov qword [rax + 8], r15
mov dword [rax + 0x10], r12d
lea rcx, [0x1400d0de0]
call fcn.140078140
mov qword [rbx], rax
jmp 0x140044f4f
mov rbx, r15
mov qword [rbp - 0x49], rbx
test rbx, rbx
je 0x140045134
lea rax, [rbp - 0x51]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
mov r9d, Ordinal_50
mov r8, rdi
mov rdx, qword [rbx]
mov rcx, qword [rbp - 0x69]
call rsi
mov ebx, eax
lea rcx, [rbp - 0x49]
call fcn.140043044
nop
lea rcx, [rbp - 0x39]
call fcn.140043044
test ebx, ebx
js 0x140044ebd
mov qword [rbp - 0x41], r15
mov dword [rbp - 0x59], r15d
mov rcx, qword [rbp - 0x51]
test rcx, rcx
je 0x1400450e5
mov rax, qword [rcx]
lea rdx, [rbp - 0x59]
mov qword [rsp + 0x20], rdx
lea r9, [rbp - 0x41]
mov r8d, r12d
or rbx, 0xffffffffffffffff
mov edx, ebx
call qword [rax + reloc.WLDAP32.dll_Ordinal_32]
cmp dword [rbp - 0x59], r15d
je 0x1400450e5
mov rcx, qword [rbp - 0x41]
mov rax, qword [rcx]
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
lea r9, [rbp - 0x31]
xor r8d, r8d
lea rdx, str.SystemDrive
call qword [rax + reloc.WLDAP32.dll_Ordinal_32]
mov rdx, qword [rbp - 0x29]
test rdx, rdx
je 0x140045109
mov qword [rbp + 7], r15
mov qword [rbp + 0x17], r15
mov qword [rbp + 0x1f], r15
mov qword [rbp + 0x17], r15
lea edi, [rbx + 8]
mov qword [rbp + 0x1f], rdi
mov word [rbp + 7], r15w
inc rbx
cmp word [rdx + rbx*2], r15w
jne 0x14004501f
mov r8, rbx
lea rcx, [rbp + 7]
call fcn.140011600
nop
lea rcx, [rbp - 0x31]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rcx, qword [rbp - 0x41]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbp - 0x69]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbp - 0x61]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbp - 0x51]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
call qword [sym.imp.ole32.dll_CoUninitialize]
lea rax, [rbp - 0x19]
mov qword [rbp - 0x39], rax
lea rdx, [rbp + 7]
lea rcx, [rbp - 0x19]
call fcn.1400106f0
nop
mov rdx, rax
mov rcx, r14
call fcn.1400444f4
mov ebx, eax
mov rdx, qword [rbp + 0x1f]
cmp rdx, 8
jb 0x1400450d4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400450cf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400450cf
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007721c
mov qword [rbp + 0x17], r15
mov qword [rbp + 0x1f], rdi
mov word [rbp + 7], r15w
mov eax, ebx
jmp 0x14004510c
mov rcx, qword [rbp - 0x69]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbp - 0x61]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbp - 0x51]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
call qword [sym.imp.ole32.dll_CoUninitialize]
mov eax, r12d
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.140076f70
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
mov ecx, 0x8007000e
call fcn.140078130
nop
mov ecx, 0x8007000e
call fcn.140078130
int3