Function at 0x18005ef20
Capabilities:
Reference wmi statements

Disassembly:
push rbp
push rbx
push r15
lea rbp, [rsp - 0x47]
sub rsp, 0x90
xor r15d, r15d
lea rdx, [rbp - 0x19]
lea rcx, [rbp + 0x7f]
mov qword [rbp + 0x7f], r15
mov qword [rbp - 0x19], r15
mov ebx, r15d
mov qword [rbp + 0x77], r15
call fcn.180061450
test eax, eax
je 0x18005f197
mov qword [rsp + 0x88], rsi
lea rcx, [0x1800fd7b8]
mov qword [rsp + 0x80], rdi
mov qword [rsp + 0x78], r12
mov qword [rsp + 0x70], r14
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
lea rcx, str.SELECT__FROM_Win32_BaseBoard
mov rsi, rax
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov r12d, 1
mov rdi, rax
mov r14d, r12d
test rsi, rsi
je 0x18005eff5
test rax, rax
je 0x18005efec
mov rcx, qword [rbp + 0x7f]
lea rax, [rbp + 0x77]
mov qword [rsp + 0x28], rax
lea r9d, [r15 + 0x30]
mov r8, rdi
mov qword [rsp + 0x20], r15
mov rdx, rsi
mov r10, qword [rcx]
call qword [r10 + 0xa0]
test eax, eax
jns 0x18005efec
mov rcx, qword [rbp + 0x7f]
mov r14d, r15d
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 rcx, rsi
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rsi, qword [rsp + 0x88]
test rdi, rdi
je 0x18005f00b
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rdi, qword [rsp + 0x80]
test r14d, r14d
mov r14, qword [rsp + 0x70]
je 0x18005f184
mov rcx, qword [rbp + 0x77]
xor eax, eax
mov qword [rbp + 0x6f], r15
mov dword [rbp + 0x67], r15d
mov word [rbp - 0x11], r15w
mov qword [rbp - 0xf], rax
mov qword [rbp - 7], rax
mov dword [rbp + 1], eax
mov word [rbp + 5], ax
test rcx, rcx
je 0x18005f164
nop dword [rax]
mov rax, qword [rcx]
lea rdx, [rbp + 0x67]
mov qword [rsp + 0x20], rdx
lea r9, [rbp + 0x6f]
or edx, 0xffffffff
mov r8d, r12d
call qword [rax + 0x20]
cmp dword [rbp + 0x67], r15d
je 0x18005f160
mov rcx, qword [rbp + 0x6f]
lea r9, [rbp - 0x11]
mov qword [rsp + 0x28], r15
lea rdx, str.Product
xor r8d, r8d
mov qword [rsp + 0x20], r15
mov rax, qword [rcx]
call qword [rax + 0x20]
test eax, eax
js 0x18005f0c7
cmp word [rbp - 0x11], r12w
je 0x18005f0c7
test byte [rbp - 0x11], 8
je 0x18005f0bd
mov rcx, qword [rbp - 9]
lea rdx, str.VirtualBox
call fcn.1800a8c80
test rax, rax
cmovne ebx, r12d
lea rcx, [rbp - 0x11]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rcx, qword [rbp + 0x6f]
lea r9, [rbp - 0x11]
xor eax, eax
mov word [rbp + 7], r15w
mov qword [rbp + 0x11], rax
lea rdx, str.Manufacturer
mov qword [rbp + 9], rax
xor r8d, r8d
movups xmm0, xmmword [rbp + 7]
mov dword [rbp + 0x19], eax
mov word [rbp + 0x1d], ax
movsd xmm1, qword [rbp + 0x17]
movups xmmword [rbp - 0x11], xmm0
mov qword [rsp + 0x28], r15
movsd qword [rbp - 1], xmm1
mov rax, qword [rcx]
mov qword [rsp + 0x20], r15
call qword [rax + 0x20]
test eax, eax
js 0x18005f143
cmp word [rbp - 0x11], r12w
je 0x18005f143
test byte [rbp - 0x11], 8
je 0x18005f139
mov rcx, qword [rbp - 9]
lea rdx, str.Oracle_Corporation
call fcn.1800a8c80
test rax, rax
cmovne ebx, r12d
lea rcx, [rbp - 0x11]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rcx, qword [rbp + 0x6f]
mov rax, qword [rcx]
call qword [rax + 0x10]
test ebx, ebx
jne 0x18005f160
mov rcx, qword [rbp + 0x77]
test rcx, rcx
jne 0x18005f050
jmp 0x18005f164
mov rcx, qword [rbp + 0x77]
mov rdx, qword [rcx]
call qword [rdx + 0x10]
mov rcx, qword [rbp + 0x7f]
mov rdx, qword [rcx]
call qword [rdx + 0x10]
mov rcx, qword [rbp - 0x19]
mov rdx, qword [rcx]
call qword [rdx + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
mov eax, ebx
mov r12, qword [rsp + 0x78]
add rsp, 0x90
pop r15
pop rbx
pop rbp
ret
mov eax, ebx
add rsp, 0x90
pop r15
pop rbx
pop rbp
ret