Function at 0x140006260
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 - 0x47]
sub rsp, 0x100
mov rax, qword [0x14003a040]
xor rax, rsp
mov qword [rbp + 0x37], rax
xor r15d, r15d
mov dword [rbp - 0x59], r15d
lea r12, [0x14003b590]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
jns 0x140006333
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.140022d10
lea rdx, [0x140022ef0]
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 [0x14003b590], xmm0
mov qword [0x14003b5a0], r15
mov qword [0x14003b5a8], r15
mov r8d, inet_ntoa
lea rdx, str.Unknown_COM
mov rcx, r12
call fcn.140004070
mov rax, r12
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.140028320
lea r11, [rsp + 0x100]
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 - 0x29], r15
lea rax, [rbp - 0x29]
mov qword [rsp + 0x20], rax
lea r9, [0x14002dcc0]
xor edx, edx
mov r8d, 1
lea rcx, [0x14002dcd0]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x1400063b3
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.140022d10
lea rdx, [0x140022ef0]
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 [0x14003b590], xmm0
mov qword [0x14003b5a0], r15
mov qword [0x14003b5a8], r15
mov r8d, 0x14
lea rdx, str.Unknown_IWbemLocator
jmp 0x1400062fb
mov qword [rbp - 0x31], r15
mov rax, qword [rbp - 0x29]
mov rcx, qword [rax]
mov rdi, qword [rcx + 0x18]
mov ecx, 0x18
call fcn.140028348
mov rbx, rax
mov qword [rbp - 0x69], rax
test rax, rax
je 0x14000640a
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 0x140006b14
jmp 0x14000640d
mov rbx, r15
mov qword [rbp - 0x69], rbx
test rbx, rbx
je 0x140006b30
lea rax, [rbp - 0x31]
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 - 0x29]
call rdi
mov edi, eax
mov ecx, 0xffffffff
lock xadd dword [rbx + 0x10], ecx
cmp ecx, 1
jne 0x140006487
mov rcx, qword [rbx]
test rcx, rcx
je 0x140006468
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], r15
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14000647a
call fcn.140028340
mov qword [rbx + 8], r15
mov edx, 0x18
mov rcx, rbx
call fcn.140028340
test edi, edi
jns 0x1400064e8
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.140022d10
lea rdx, [0x140022ef0]
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 - 0x29]
mov rax, qword [rcx]
call qword [rax + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
xorps xmm0, xmm0
movups xmmword [0x14003b590], xmm0
mov qword [0x14003b5a0], r15
mov qword [0x14003b5a8], r15
mov r8d, inet_ntoa
lea rdx, str.Unknown_WMI
jmp 0x1400062fb
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
mov edx, 0xa
mov rcx, qword [rbp - 0x31]
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
jns 0x140006582
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.140022d10
lea rdx, [0x140022ef0]
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 - 0x31]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x29]
mov rax, qword [rcx]
call qword [rax + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
xorps xmm0, xmm0
movups xmmword [0x14003b590], xmm0
mov qword [0x14003b5a0], r15
mov qword [0x14003b5a8], r15
mov r8d, 0xf
lea rdx, str.Unknown_blanket
jmp 0x1400062fb
mov qword [rbp - 0x19], r15
mov rax, qword [rbp - 0x31]
mov rcx, qword [rax]
mov r14, qword [rcx + 0xa0]
mov ecx, 0x18
call fcn.140028348
mov rbx, rax
mov qword [rbp - 0x69], rax
test rax, rax
je 0x1400065d2
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.140027ff0
mov qword [rbx], rax
jmp 0x1400065d5
mov rbx, r15
mov qword [rbp - 0x69], rbx
test rbx, rbx
je 0x140006b30
mov rsi, qword [rbx]
mov ecx, 0x18
call fcn.140028348
mov rdi, rax
mov qword [rbp - 0x61], rax
test rax, rax
je 0x140006623
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, [0x14002e3a4]
call fcn.140027ff0
mov qword [rdi], rax
jmp 0x140006626
mov rdi, r15
mov qword [rbp - 0x61], rdi
test rdi, rdi
je 0x140006b3b
lea rax, [rbp - 0x19]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
mov r9d, gethostbyname
mov r8, rsi
mov rdx, qword [rdi]
mov rcx, qword [rbp - 0x31]
call r14
mov esi, eax
mov ecx, 0xffffffff
lock xadd dword [rdi + 0x10], ecx
cmp ecx, 1
jne 0x140006696
mov rcx, qword [rdi]
test rcx, rcx
je 0x140006676
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rdi], r15
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x140006688
call fcn.140028340
mov qword [rdi + 8], r15
mov edx, 0x18
mov rcx, rdi
call fcn.140028340
nop
mov eax, 0xffffffff
lock xadd dword [rbx + 0x10], eax
cmp eax, 1
jne 0x1400066d5
mov rcx, qword [rbx]
test rcx, rcx
je 0x1400066b6
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], r15
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x1400066c8
call fcn.140028340
mov qword [rbx + 8], r15
mov edx, 0x18
mov rcx, rbx
call fcn.140028340
test esi, esi
jns 0x140006740
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.140022d10
lea rdx, [0x140022ef0]
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 - 0x31]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x29]
mov rax, qword [rcx]
call qword [rax + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
xorps xmm0, xmm0
movups xmmword [0x14003b590], xmm0
mov qword [0x14003b5a0], r15
mov qword [0x14003b5a8], r15
mov r8d, 0x13
lea rdx, str.Unknown_information
jmp 0x1400062fb
mov qword [rbp - 0x21], r15
mov dword [rbp + 0xf], r15d
xorps xmm0, xmm0
movups xmmword [rbp + 0x17], xmm0
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], 0xf
mov byte [rbp + 0x17], 0
mov bl, 1
mov esi, 2
mov rcx, qword [rbp - 0x19]
test rcx, rcx
je 0x1400068db
nop dword [rax]
nop word [rax + rax]
mov rax, qword [rcx]
lea rdx, [rbp + 0xf]
mov qword [rsp + 0x20], rdx
lea r9, [rbp - 0x21]
mov edx, 0xffffffff
mov r8d, 1
call qword [rax + 0x20]
cmp dword [rbp + 0xf], 0
je 0x1400068db
mov rcx, qword [rbp - 0x21]
mov rax, qword [rcx]
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
lea r9, [rbp - 0x11]
xor r8d, r8d
lea rdx, str.Name
call qword [rax + 0x20]
test eax, eax
js 0x1400068c4
test bl, bl
jne 0x1400067e9
mov r8, rsi
lea rdx, [0x14002e3f4]
lea rcx, [rbp + 0x17]
call fcn.1400212c0
mov rdi, qword [rbp - 9]
mov ecx, 0x18
call fcn.140028348
mov rbx, rax
mov qword [rbp - 0x61], rax
test rax, rax
je 0x140006836
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 0x140006839
test rdi, rdi
jne 0x140006b1f
jmp 0x140006839
mov rbx, r15
mov qword [rbp - 0x69], rbx
test rbx, rbx
je 0x140006b46
mov rax, qword [rbx + 8]
test rax, rax
jne 0x14000685b
mov rcx, qword [rbx]
call fcn.140027ed0
mov qword [rbx + 8], rax
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x140006862
mov rdx, rax
lea rcx, [rbp + 0x17]
call fcn.1400212c0
nop
mov eax, 0xffffffff
lock xadd dword [rbx + 0x10], eax
cmp eax, 1
jne 0x1400068b8
mov rcx, qword [rbx]
test rcx, rcx
je 0x140006899
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], r15
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x1400068ab
call fcn.140028340
mov qword [rbx + 8], r15
mov edx, 0x18
mov rcx, rbx
call fcn.140028340
lea rcx, [rbp - 0x11]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
xor bl, bl
mov rcx, qword [rbp - 0x21]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x19]
test rcx, rcx
jne 0x140006780
mov rcx, qword [rbp - 0x31]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x29]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x19]
mov rax, qword [rcx]
call qword [rax + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
mov rdi, qword [rbp + 0x27]
xorps xmm0, xmm0
test rdi, rdi
jne 0x140006936
movups xmmword [rbp - 0x51], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x41], xmm1
mov r8d, inet_ntoa
lea rdx, str.Unknown_GPU
lea rcx, [rbp - 0x51]
call fcn.140004070
lea rax, [rbp - 0x51]
jmp 0x140006a13
movups xmmword [rbp - 0x11], xmm0
lea rsi, [rbp + 0x17]
cmp qword [rbp + 0x2f], 0xf
cmova rsi, qword [rbp + 0x17]
movabs rbx, 0x7fffffffffffffff
cmp rdi, rbx
ja 0x140006b0e
cmp rdi, 0xf
ja 0x140006979
mov qword [rbp - 1], rdi
mov qword [rbp + 7], 0xf
movups xmm0, xmmword [rsi]
movups xmmword [rbp - 0x11], xmm0
jmp 0x140006a0a
mov rax, rdi
or rax, 0xf
cmp rax, rbx
jbe 0x1400069b5
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.140028348
mov rcx, rax
test rax, rax
je 0x140006aba
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x1400069ef
mov rbx, rax
mov ecx, 0x16
cmp rax, rcx
cmovb rbx, rcx
lea rcx, [rbx + 1]
test rcx, rcx
jne 0x1400069d2
mov rax, r15
jmp 0x1400069ef
cmp rcx, 0x1000
jb 0x1400069ea
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140006b2a
jmp 0x140006993
call fcn.140028348
mov qword [rbp - 0x11], rax
mov qword [rbp - 1], rdi
mov qword [rbp + 7], rbx
lea r8, [rdi + 1]
mov rdx, rsi
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rbp - 0x11]
mov esi, 4
movups xmm0, xmmword [rax]
movups xmmword [0x14003b590], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [0x14003b5a0], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
or esi, 1
test sil, 4
je 0x140006a82
and esi, 0xfffffffb
mov rdx, qword [rbp + 7]
cmp rdx, 0xf
jbe 0x140006a82
inc rdx
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006a7c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140006a7c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140028340
nop
test sil, 2
je 0x140006ac7
mov rdx, qword [rbp - 0x39]
cmp rdx, 0xf
jbe 0x140006ac7
inc rdx
mov rcx, qword [rbp - 0x51]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006ac1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140006ac1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140028340
nop
mov rdx, qword [rbp + 0x2f]
cmp rdx, 0xf
jbe 0x140006303
inc rdx
mov rcx, qword [rbp + 0x17]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006b04
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140006b04
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140028340
jmp 0x140006303
call fcn.1400018d0
nop
mov ecx, 0x8007000e
call fcn.140027ec0
nop
mov ecx, 0x8007000e
call fcn.140027ec0
nop
call fcn.140001830
nop
mov ecx, 0x8007000e
call fcn.140027ec0
nop
mov ecx, 0x8007000e
call fcn.140027ec0
nop
mov ecx, 0x8007000e
call fcn.140027ec0
int3