Function at 0x140005e80
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 [0x140040040]
xor rax, rsp
mov qword [rbp + 0x28], rax
xor r15d, r15d
mov dword [rsp + 0x78], r15d
lea r12, [0x140041590]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
jns 0x140005f4e
lea rdx, str.Failed_to_initialize_COM_library.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400287b0
lea rdx, [0x140028980]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
xorps xmm0, xmm0
movups xmmword [0x140041590], xmm0
mov qword [0x1400415a0], r15
mov qword [0x1400415a8], r15
lea r8d, [r15 + 0xb]
lea rdx, str.Unknown_COM
mov rcx, r12
call fcn.1400040c0
mov rax, r12
mov rcx, qword [rbp + 0x28]
xor rcx, rsp
call fcn.14002dd50
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 - 0x30], r15
lea rax, [rbp - 0x30]
mov qword [rsp + 0x20], rax
lea r9, [0x140032e38]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x140032e48]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x140005fcc
lea rdx, str.Failed_to_create_IWbemLocator_object.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400287b0
lea rdx, [0x140028980]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
call qword [sym.imp.ole32.dll_CoUninitialize]
xorps xmm0, xmm0
movups xmmword [0x140041590], xmm0
mov qword [0x1400415a0], r15
mov qword [0x1400415a8], r15
mov r8d, 0x14
lea rdx, str.Unknown_IWbemLocator
jmp 0x140005f16
mov qword [rbp - 0x38], r15
mov rax, qword [rbp - 0x30]
mov rcx, qword [rax]
mov rdi, qword [rcx + 0x18]
mov ecx, 0x18
call fcn.14002dd78
mov rbx, rax
mov qword [rsp + 0x50], rax
test rax, rax
je 0x140006024
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rax
mov qword [rbx + 8], r15
mov dword [rbx + 0x10], 1
lea rcx, str.ROOTCIMV2
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rbx], rax
test rax, rax
je 0x14000672a
jmp 0x140006027
mov rbx, r15
mov qword [rbp - 0x60], rbx
test rbx, rbx
je 0x140006746
lea rax, [rbp - 0x38]
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 rdx, qword [rbx]
mov rcx, qword [rbp - 0x30]
call rdi
mov edi, eax
mov ecx, 0xffffffff
lock xadd dword [rbx + 0x10], ecx
cmp ecx, 1
jne 0x1400060a1
mov rcx, qword [rbx]
test rcx, rcx
je 0x140006082
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], r15
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x140006094
call fcn.14002dd70
mov qword [rbx + 8], r15
mov edx, 0x18
mov rcx, rbx
call fcn.14002dd70
test edi, edi
jns 0x140006102
lea rdx, str.Could_not_connect_to_WMI.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400287b0
lea rdx, [0x140028980]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rcx, qword [rbp - 0x30]
mov rax, qword [rcx]
call qword [rax + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
xorps xmm0, xmm0
movups xmmword [0x140041590], xmm0
mov qword [0x1400415a0], r15
mov qword [0x1400415a8], r15
mov r8d, inet_ntoa
lea rdx, str.Unknown_WMI
jmp 0x140005f16
mov dword [rsp + 0x38], r15d
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0xa]
mov rcx, qword [rbp - 0x38]
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
jns 0x14000619b
lea rdx, str.Could_not_set_proxy_blanket.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400287b0
lea rdx, [0x140028980]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rcx, qword [rbp - 0x38]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x30]
mov rax, qword [rcx]
call qword [rax + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
xorps xmm0, xmm0
movups xmmword [0x140041590], xmm0
mov qword [0x1400415a0], r15
mov qword [0x1400415a8], r15
mov r8d, 0xf
lea rdx, str.Unknown_blanket
jmp 0x140005f16
mov qword [rbp - 0x20], r15
mov rax, qword [rbp - 0x38]
mov rcx, qword [rax]
mov r14, qword [rcx + 0xa0]
mov ecx, 0x18
call fcn.14002dd78
mov rbx, rax
mov qword [rsp + 0x50], rax
test rax, rax
je 0x1400061ec
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rax
mov qword [rbx + 8], r15
mov dword [rbx + 0x10], 1
lea rcx, str.SELECT__FROM_Win32_VideoController
call fcn.14002da20
mov qword [rbx], rax
jmp 0x1400061ef
mov rbx, r15
mov qword [rbp - 0x58], rbx
test rbx, rbx
je 0x140006746
mov rsi, qword [rbx]
mov ecx, 0x18
call fcn.14002dd78
mov rdi, rax
mov qword [rsp + 0x50], rax
test rax, rax
je 0x14000623e
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rax
mov qword [rdi + 8], r15
mov dword [rdi + 0x10], 1
lea rcx, [0x140033384]
call fcn.14002da20
mov qword [rdi], rax
jmp 0x140006241
mov rdi, r15
mov qword [rbp - 0x50], rdi
test rdi, rdi
je 0x140006751
lea rax, [rbp - 0x20]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
mov r9d, gethostbyname
mov r8, rsi
mov rdx, qword [rdi]
mov rcx, qword [rbp - 0x38]
call r14
mov esi, eax
mov ecx, 0xffffffff
lock xadd dword [rdi + 0x10], ecx
cmp ecx, 1
jne 0x1400062b1
mov rcx, qword [rdi]
test rcx, rcx
je 0x140006291
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rdi], r15
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x1400062a3
call fcn.14002dd70
mov qword [rdi + 8], r15
mov edx, 0x18
mov rcx, rdi
call fcn.14002dd70
nop
mov eax, 0xffffffff
lock xadd dword [rbx + 0x10], eax
cmp eax, 1
jne 0x1400062f0
mov rcx, qword [rbx]
test rcx, rcx
je 0x1400062d1
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], r15
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x1400062e3
call fcn.14002dd70
mov qword [rbx + 8], r15
mov edx, 0x18
mov rcx, rbx
call fcn.14002dd70
test esi, esi
jns 0x14000635b
lea rdx, str.Query_for_GPU_information_failed.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400287b0
lea rdx, [0x140028980]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rcx, qword [rbp - 0x38]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x30]
mov rax, qword [rcx]
call qword [rax + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
xorps xmm0, xmm0
movups xmmword [0x140041590], xmm0
mov qword [0x1400415a0], r15
mov qword [0x1400415a8], r15
mov r8d, 0x13
lea rdx, str.Unknown_information
jmp 0x140005f16
mov qword [rbp - 0x28], r15
mov dword [rbp], r15d
xorps xmm0, xmm0
movups xmmword [rbp + 8], xmm0
mov qword [rbp + 0x18], r15
mov qword [rbp + 0x20], 0xf
mov byte [rbp + 8], 0
mov bl, 1
mov esi, 2
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x1400064e9
nop
mov rax, qword [rcx]
lea rdx, [rbp]
mov qword [rsp + 0x20], rdx
lea r9, [rbp - 0x28]
mov edx, 0xffffffff
lea r8d, [rdx + 2]
call qword [rax + 0x20]
cmp dword [rbp], 0
je 0x1400064e9
mov rcx, qword [rbp - 0x28]
mov rax, qword [rcx]
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
lea r9, [rbp - 0x18]
xor r8d, r8d
lea rdx, str.Name
call qword [rax + 0x20]
test eax, eax
js 0x1400064d2
test bl, bl
jne 0x1400063f7
mov r8, rsi
lea rdx, [0x1400333d4]
lea rcx, [rbp + 8]
call fcn.140027300
mov rdi, qword [rbp - 0x10]
mov ecx, 0x18
call fcn.14002dd78
mov rbx, rax
mov qword [rbp - 0x48], rax
test rax, rax
je 0x140006444
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rax
mov qword [rbx + 8], r15
mov dword [rbx + 0x10], 1
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rbx], rax
test rax, rax
jne 0x140006447
test rdi, rdi
jne 0x140006735
jmp 0x140006447
mov rbx, r15
mov qword [rbp - 0x40], rbx
test rbx, rbx
je 0x14000675c
mov rax, qword [rbx + 8]
test rax, rax
jne 0x140006469
mov rcx, qword [rbx]
call fcn.14002d900
mov qword [rbx + 8], rax
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x140006470
mov rdx, rax
lea rcx, [rbp + 8]
call fcn.140027300
nop
mov eax, 0xffffffff
lock xadd dword [rbx + 0x10], eax
cmp eax, 1
jne 0x1400064c6
mov rcx, qword [rbx]
test rcx, rcx
je 0x1400064a7
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], r15
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x1400064b9
call fcn.14002dd70
mov qword [rbx + 8], r15
mov edx, 0x18
mov rcx, rbx
call fcn.14002dd70
lea rcx, [rbp - 0x18]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
xor bl, bl
mov rcx, qword [rbp - 0x28]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x20]
test rcx, rcx
jne 0x140006390
mov rcx, qword [rbp - 0x38]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x30]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x20]
mov rax, qword [rcx]
call qword [rax + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
mov rdi, qword [rbp + 0x18]
xorps xmm0, xmm0
test rdi, rdi
jne 0x140006542
movups xmmword [rbp - 0x80], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x70], xmm1
lea r8d, [rdi + 0xb]
lea rdx, str.Unknown_GPU
lea rcx, [rbp - 0x80]
call fcn.1400040c0
lea rax, [rbp - 0x80]
jmp 0x140006627
movups xmmword [rsp + 0x58], xmm0
lea rsi, [rbp + 8]
cmp qword [rbp + 0x20], 0xf
cmova rsi, qword [rbp + 8]
movabs rbx, 0x7fffffffffffffff
cmp rdi, rbx
ja 0x140006724
cmp rdi, 0xf
ja 0x140006589
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x70], 0xf
movups xmm0, xmmword [rsi]
movups xmmword [rsp + 0x58], xmm0
jmp 0x14000661d
mov rax, rdi
or rax, 0xf
cmp rax, rbx
jbe 0x1400065c5
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.14002dd78
mov rcx, rax
test rax, rax
je 0x1400066d0
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x1400065ff
mov rbx, rax
mov ecx, 0x16
cmp rax, rcx
cmovb rbx, rcx
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x1400065f0
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140006740
jmp 0x1400065a3
test rcx, rcx
je 0x1400065fc
call fcn.14002dd78
jmp 0x1400065ff
mov rax, r15
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x70], rbx
lea r8, [rdi + 1]
mov rdx, rsi
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rsp + 0x58]
mov esi, 4
movups xmm0, xmmword [rax]
movups xmmword [0x140041590], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [0x1400415a0], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
or esi, 1
test sil, 4
je 0x140006698
and esi, 0xfffffffb
mov rdx, qword [rsp + 0x70]
cmp rdx, 0xf
jbe 0x140006698
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006692
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140006692
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14002dd70
nop
test sil, 2
je 0x1400066dd
mov rdx, qword [rbp - 0x68]
cmp rdx, 0xf
jbe 0x1400066dd
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400066d7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400066d7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14002dd70
nop
mov rdx, qword [rbp + 0x20]
cmp rdx, 0xf
jbe 0x140005f1e
inc rdx
mov rcx, qword [rbp + 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000671a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000671a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14002dd70
jmp 0x140005f1e
call fcn.140001c30
nop
mov ecx, 0x8007000e
call fcn.14002d8f0
nop
mov ecx, 0x8007000e
call fcn.14002d8f0
nop
call fcn.140001b90
nop
mov ecx, 0x8007000e
call fcn.14002d8f0
nop
mov ecx, 0x8007000e
call fcn.14002d8f0
nop
mov ecx, 0x8007000e
call fcn.14002d8f0
int3