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

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xf0
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x14000f008]
xor rax, rsp
mov qword [rbp + 0x1f], rax
mov rsi, rcx
mov qword [rbp - 0x29], rcx
xor ebx, ebx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
jns 0x140003596
lea rdx, str.Failed_to_initialize_COM_library.
mov rcx, rsi
call fcn.140005290
mov rax, rsi
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.140007cb0
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
mov qword [rsp + 0x40], rbx
mov dword [rsp + 0x38], ebx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
mov r12, 0xffffffffffffffff
mov edx, r12d
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeSecurity]
test eax, eax
jns 0x1400035db
call qword [sym.imp.ole32.dll_CoUninitialize]
lea rdx, str.Failed_to_initialize_security.
jmp 0x14000355e
mov qword [rbp - 0x39], rbx
lea rax, [rbp - 0x39]
mov qword [rsp + 0x20], rax
lea r9, [0x14000a568]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x14000a578]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x1400036e1
call qword [sym.imp.ole32.dll_CoUninitialize]
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], rbx
mov qword [rsi + 0x18], 0xf
mov rdx, qword [rsi + 0x18]
mov rcx, rdx
shr rcx, 1
movabs rdi, 0x7fffffffffffffff
mov rax, rdi
sub rax, rcx
cmp rdx, rax
ja 0x140003651
lea rax, [rcx + rdx]
mov edi, 0x2f
cmp rax, rdi
cmova rdi, rax
mov rcx, rdi
add rcx, 1
cmovb rcx, r12
cmp rcx, 0x1000
jb 0x140003694
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140003aa3
mov rcx, rax
call fcn.140007cd8
test rax, rax
je 0x14000368d
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x1400036a1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x1400036a1
call fcn.140007cd8
mov rbx, rax
mov qword [rsi], rbx
mov qword [rsi + 0x10], 0x25
mov qword [rsi + 0x18], rdi
movups xmm0, xmmword [str.Failed_to_create_IWbemLocator_object.]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [0x14000a6e8]
movups xmmword [rbx + 0x10], xmm1
mov eax, dword [0x14000a6f8]
mov dword [rbx + 0x20], eax
movzx eax, byte [0x14000a6fc]
mov byte [rbx + 0x24], al
mov byte [rbx + 0x25], 0
jmp 0x140003566
mov qword [rbp - 0x41], rbx
mov ecx, 0x18
call fcn.140007cd8
mov rdi, rax
mov qword [rbp - 0x69], rax
test rax, rax
je 0x14000372d
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rax
mov qword [rdi + 8], rbx
mov dword [rdi + 0x10], 1
lea rcx, str.ROOTCIMV2
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rdi], rax
test rax, rax
je 0x140003a8d
jmp 0x140003730
mov rdi, rbx
mov qword [rbp - 0x59], rdi
test rdi, rdi
je 0x140003a98
mov rcx, qword [rbp - 0x39]
mov rax, qword [rcx]
lea rdx, [rbp - 0x41]
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rbx
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rdi]
call qword [rax + 0x18]
mov r14d, eax
mov ecx, r12d
lock xadd dword [rdi + 0x10], ecx
cmp ecx, 1
jne 0x1400037ac
mov rcx, qword [rdi]
test rcx, rcx
je 0x14000378d
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rdi], rbx
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x14000379f
call fcn.140007cd0
mov qword [rdi + 8], rbx
mov edx, 0x18
mov rcx, rdi
call fcn.140007cd0
test r14d, r14d
jns 0x1400037cd
mov rcx, qword [rbp - 0x39]
mov rax, qword [rcx]
call qword [rax + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
lea rdx, str.Failed_to_connect_to_ROOTCIMV2_WMI_namespace.
jmp 0x14000355e
mov dword [rsp + 0x38], ebx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0xa]
mov rcx, qword [rbp - 0x41]
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
jns 0x140003824
mov rcx, qword [rbp - 0x41]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x39]
mov rax, qword [rcx]
call qword [rax + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
lea rdx, str.Failed_to_set_proxy_blanket.
jmp 0x14000355e
mov qword [rbp - 0x31], rbx
mov ecx, 0x18
call fcn.140007cd8
mov rdi, rax
mov qword [rbp - 0x69], rax
test rax, rax
je 0x140003866
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rax
mov qword [rdi + 8], rbx
mov dword [rdi + 0x10], 1
lea rcx, str.SELECT__FROM_Win32_BaseBoard
call fcn.140008b40
mov qword [rdi], rax
jmp 0x140003869
mov rdi, rbx
mov qword [rbp - 0x51], rdi
test rdi, rdi
je 0x140003a98
mov ecx, 0x18
call fcn.140007cd8
mov r14, rax
mov qword [rbp - 0x69], rax
test rax, rax
je 0x1400038b6
xorps xmm0, xmm0
xor eax, eax
movups xmmword [r14], xmm0
mov qword [r14 + 0x10], rax
mov qword [r14 + 8], rbx
mov dword [r14 + 0x10], 1
lea rcx, [0x14000a770]
call fcn.140008b40
mov qword [r14], rax
jmp 0x1400038b9
mov r14, rbx
mov qword [rbp - 0x49], r14
test r14, r14
je 0x140003a82
mov rcx, qword [rbp - 0x41]
mov rax, qword [rcx]
lea rdx, [rbp - 0x31]
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rbx
mov r9d, 0x30
mov r8, qword [rdi]
mov rdx, qword [r14]
call qword [rax + 0xa0]
mov r15d, eax
mov ecx, r12d
lock xadd dword [r14 + 0x10], ecx
cmp ecx, 1
jne 0x14000392f
mov rcx, qword [r14]
test rcx, rcx
je 0x14000390f
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [r14], rbx
mov rcx, qword [r14 + 8]
test rcx, rcx
je 0x140003921
call fcn.140007cd0
mov qword [r14 + 8], rbx
mov edx, 0x18
mov rcx, r14
call fcn.140007cd0
nop
mov eax, r12d
lock xadd dword [rdi + 0x10], eax
cmp eax, 1
jne 0x14000396c
mov rcx, qword [rdi]
test rcx, rcx
je 0x14000394d
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rdi], rbx
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x14000395f
call fcn.140007cd0
mov qword [rdi + 8], rbx
mov edx, 0x18
mov rcx, rdi
call fcn.140007cd0
test r15d, r15d
jns 0x140003997
mov rcx, qword [rbp - 0x41]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x39]
mov rax, qword [rcx]
call qword [rax + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
lea rdx, str.Query_for_motherboard_information_failed.
jmp 0x14000355e
mov qword [rbp - 0x29], rbx
mov dword [rbp - 9], ebx
xorps xmm0, xmm0
movups xmmword [rbp - 1], xmm0
movdqa xmm6, xmmword [0x14000b1b0]
movdqu xmmword [rbp + 0xf], xmm6
mov byte [rbp - 1], 0
mov rcx, qword [rbp - 0x31]
test rcx, rcx
je 0x140003a4e
nop dword [rax]
nop word [rax + rax]
mov rax, qword [rcx]
lea rdx, [rbp - 9]
mov qword [rsp + 0x20], rdx
lea r9, [rbp - 0x29]
mov r8d, 1
mov edx, r12d
call qword [rax + 0x20]
cmp dword [rbp - 9], 0
je 0x140003a49
mov rcx, qword [rbp - 0x29]
mov rax, qword [rcx]
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
lea r9, [rbp - 0x21]
xor r8d, r8d
lea rdx, str.Product
call qword [rax + 0x20]
mov rcx, qword [rbp - 0x19]
call fcn.140008a20
mov r8, r12
inc r8
cmp byte [rax + r8], 0
jne 0x140003a20
mov rdx, rax
lea rcx, [rbp - 1]
call fcn.140005500
lea rcx, [rbp - 0x21]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rcx, qword [rbp - 0x31]
test rcx, rcx
jne 0x1400039d0
movdqu xmm6, xmmword [rbp + 0xf]
mov rcx, qword [rbp - 0x41]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x39]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x31]
mov rax, qword [rcx]
call qword [rax + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
movups xmm0, xmmword [rbp - 1]
movups xmmword [rsi], xmm0
movups xmmword [rsi + 0x10], xmm6
jmp 0x140003566
mov ecx, 0x8007000e
call fcn.140008a10
nop
mov ecx, 0x8007000e
call fcn.140008a10
nop
mov ecx, 0x8007000e
call fcn.140008a10
int3
call fcn.140001130
int3