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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rsp - 0x30]
sub rsp, 0x130
mov rax, qword [0x14001e040]
xor rax, rsp
mov qword [rbp + 0x20], rax
xor r12d, r12d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
js 0x14000feef
mov qword [rsp + 0x40], r12
mov dword [rsp + 0x38], r12d
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
mov edx, 0xffffffff
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeSecurity]
mov qword [rbp - 0x78], r12
lea rax, [rbp - 0x78]
mov qword [rsp + 0x20], rax
lea r9, [0x1400169f8]
xor edx, edx
mov r8d, 1
lea rcx, [0x140016a08]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x14000fee9
mov qword [rbp - 0x80], r12
mov rax, qword [rbp - 0x78]
mov rcx, qword [rax]
mov rdi, qword [rcx + 0x18]
mov ecx, 0x18
call fcn.140012e40
mov rbx, rax
mov qword [rsp + 0x78], rax
test rax, rax
je 0x14000fe20
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rax
mov qword [rbx + 8], r12
mov dword [rbx + 0x10], 1
lea rcx, [0x140016ca0]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rbx], rax
test rax, rax
je 0x1400104fc
jmp 0x14000fe23
mov rbx, r12
mov qword [rsp + 0x78], rbx
test rbx, rbx
je 0x140010507
lea rax, [rbp - 0x80]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], r12
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rbx]
mov rcx, qword [rbp - 0x78]
call rdi
mov edi, eax
mov ecx, 0xffffffff
lock xadd dword [rbx + 0x10], ecx
cmp ecx, 1
jne 0x14000fe9e
mov rcx, qword [rbx]
test rcx, rcx
je 0x14000fe7f
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], r12
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14000fe91
call fcn.140012f4c
mov qword [rbx + 8], r12
mov edx, 0x18
mov rcx, rbx
call fcn.140012f4c
test edi, edi
js 0x14000fedf
mov dword [rsp + 0x38], r12d
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0xa
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
jns 0x14000ff21
mov rcx, qword [rbp - 0x80]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x78]
mov rax, qword [rcx]
call qword [rax + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
mov eax, 1
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.140012e20
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
mov qword [rbp - 0x70], r12
mov rax, qword [rbp - 0x80]
mov rcx, qword [rax]
mov r14, qword [rcx + 0xa0]
mov ecx, 0x18
call fcn.140012e40
mov rbx, rax
mov qword [rsp + 0x78], rax
test rax, rax
je 0x14000ff72
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rax
mov qword [rbx + 8], r12
mov dword [rbx + 0x10], 1
lea rcx, str.SELECT__FROM_Win32_OperatingSystem
call fcn.140012100
mov qword [rbx], rax
jmp 0x14000ff75
mov rbx, r12
mov qword [rsp + 0x78], rbx
test rbx, rbx
je 0x140010507
mov rsi, qword [rbx]
mov ecx, 0x18
call fcn.140012e40
mov rdi, rax
mov qword [rsp + 0x70], rax
test rax, rax
je 0x14000ffc5
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rax
mov qword [rdi + 8], r12
mov dword [rdi + 0x10], 1
lea rcx, [0x140016cdc]
call fcn.140012100
mov qword [rdi], rax
jmp 0x14000ffc8
mov rdi, r12
mov qword [rsp + 0x70], rdi
test rdi, rdi
je 0x140010512
lea rax, [rbp - 0x70]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r12
mov r9d, 0x30
mov r8, rsi
mov rdx, qword [rdi]
mov rcx, qword [rbp - 0x80]
call r14
nop
mov eax, 0xffffffff
lock xadd dword [rdi + 0x10], eax
cmp eax, 1
jne 0x140010038
mov rcx, qword [rdi]
test rcx, rcx
je 0x140010018
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rdi], r12
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x14001002a
call fcn.140012f4c
mov qword [rdi + 8], r12
mov edx, 0x18
mov rcx, rdi
call fcn.140012f4c
nop
mov eax, 0xffffffff
lock xadd dword [rbx + 0x10], eax
cmp eax, 1
jne 0x140010077
mov rcx, qword [rbx]
test rcx, rcx
je 0x140010058
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], r12
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14001006a
call fcn.140012f4c
mov qword [rbx + 8], r12
mov edx, 0x18
mov rcx, rbx
call fcn.140012f4c
mov qword [rbp - 0x68], r12
mov dword [rbp - 0x48], r12d
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], r12
mov qword [rbp - 0x28], 0xf
mov byte [rbp - 0x40], 0
mov rcx, qword [rbp - 0x70]
test rcx, rcx
je 0x140010420
nop dword [rax]
nop word [rax + rax]
mov rax, qword [rcx]
lea rdx, [rbp - 0x48]
mov qword [rsp + 0x20], rdx
lea r9, [rbp - 0x68]
mov edx, 0xffffffff
mov r8d, 1
call qword [rax + 0x20]
cmp dword [rbp - 0x48], 0
je 0x140010420
mov rcx, qword [rbp - 0x68]
mov rax, qword [rcx]
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
lea r9, [rbp - 0x60]
xor r8d, r8d
lea rdx, [0x140016ce0]
call qword [rax + 0x20]
test eax, eax
js 0x1400103ff
xorps xmm0, xmm0
movups xmmword [rbp], xmm0
mov qword [rbp + 0x10], r12
mov qword [rbp + 0x18], r12
mov rdx, qword [rbp - 0x58]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x140010120
lea rcx, [rbp]
call fcn.140009100
nop
lea rdx, [rbp]
cmp qword [rbp + 0x18], 7
cmova rdx, qword [rbp]
mov rax, qword [rbp + 0x10]
lea r8, [rdx + rax*2]
lea rdx, [rbp]
cmova rdx, qword [rbp]
lea rcx, [rbp - 0x20]
call fcn.14000d0a0
nop
lea r14, [rbp - 0x20]
mov rdi, qword [rbp - 0x20]
mov rsi, qword [rbp - 8]
cmp rsi, 0xf
cmova r14, rdi
mov r15, qword [rbp - 0x10]
cmp r15, 7
jb 0x140010378
lea rbx, [r15 + r14]
lea r8, [rbx - 6]
sub r8, r14
mov edx, 0x57
mov rcx, r14
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x140010378
cmp dword [rax], 0x646e6957
jne 0x1400101b7
cmp word [rax + 4], 0x776f
jne 0x1400101b7
cmp byte [rax + 6], 0x73
je 0x1400101d8
inc rax
lea r8, [rbx - 6]
sub r8, rax
mov edx, 0x57
mov rcx, rax
call sub.VCRUNTIME140.dll_memchr
test rax, rax
jne 0x1400101a1
jmp 0x140010378
sub rax, r14
cmp rax, 0xffffffffffffffff
je 0x140010378
lea rbx, [rax + 8]
cmp rbx, r15
jae 0x140010378
lea rax, [rbp - 0x20]
cmp rsi, 0xf
cmova rax, rdi
movsx ecx, byte [rax + rbx]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isdigit]
test eax, eax
je 0x140010370
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x68], r12
mov rax, qword [rbp - 0x10]
cmp rax, rbx
jb 0x1400104f6
sub rax, rbx
mov r8d, 2
cmp rax, r8
cmovb r8, rax
lea rdx, [rbp - 0x20]
cmp qword [rbp - 8], 0xf
cmova rdx, qword [rbp - 0x20]
add rdx, rbx
lea rcx, [rsp + 0x50]
call fcn.140003120
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x140010295
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140010290
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140010489
call fcn.140012f4c
movups xmm0, xmmword [rsp + 0x50]
movups xmmword [rbp - 0x40], xmm0
movups xmm1, xmmword [rsp + 0x60]
movups xmmword [rbp - 0x30], xmm1
lea rbx, [rbp - 0x40]
movq rsi, xmm0
movdqa xmm0, xmm1
psrldq xmm0, 8
movq r14, xmm0
cmp r14, 0xf
cmova rbx, rsi
movq rdi, xmm1
test rdi, rdi
je 0x1400102ea
mov r8, rdi
mov edx, 0x20
mov rcx, rbx
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x1400102ea
sub rax, rbx
jmp 0x1400102f1
mov rax, 0xffffffffffffffff
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x68], r12
cmp rdi, rax
cmovb rax, rdi
lea rdx, [rbp - 0x40]
cmp r14, 0xf
cmova rdx, rsi
mov r8, rax
lea rcx, [rsp + 0x50]
call fcn.140003120
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x14001035e
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140010359
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140010489
call fcn.140012f4c
movups xmm0, xmmword [rsp + 0x50]
movups xmmword [rbp - 0x40], xmm0
movups xmm1, xmmword [rsp + 0x60]
movups xmmword [rbp - 0x30], xmm1
mov rdi, qword [rbp - 0x20]
mov rsi, qword [rbp - 8]
cmp rsi, 0xf
jbe 0x1400103af
lea rdx, [rsi + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x1400103a7
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140010490
mov rcx, rdi
call fcn.140012f4c
mov qword [rbp - 0x10], r12
mov qword [rbp - 8], 0xf
mov byte [rbp - 0x20], 0
mov rdx, qword [rbp + 0x18]
cmp rdx, 7
jbe 0x1400103ff
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400103fa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140010497
call fcn.140012f4c
lea rcx, [rbp - 0x60]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rcx, qword [rbp - 0x68]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x70]
test rcx, rcx
jne 0x1400100b0
mov rcx, qword [rbp - 0x80]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x78]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x70]
mov rax, qword [rcx]
call qword [rax + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov rdi, rax
lea rbx, [rbp - 0x40]
cmp qword [rbp - 0x28], 0xf
cmova rbx, qword [rbp - 0x40]
mov dword [rax], r12d
mov r8d, 0xa
lea rdx, [rsp + 0x78]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtol]
mov esi, eax
cmp rbx, qword [rsp + 0x78]
jne 0x14001049e
lea rcx, str.invalid_stoi_argument
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xinvalid_argument_char_const____ptr64_]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp dword [rdi], 0x22
jne 0x1400104b1
lea rcx, str.stoi_argument_out_of_range
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const____ptr64_]
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x1400104ef
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400104ea
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400104ea
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140012f4c
mov eax, esi
jmp 0x14000fef4
call fcn.1400080c0
nop
mov ecx, 0x8007000e
call fcn.140011fd0
nop
mov ecx, 0x8007000e
call fcn.140011fd0
nop
mov ecx, 0x8007000e
call fcn.140011fd0
int3