Function at 0x140025920
Capabilities:
Reference wmi statements

Disassembly:
push rbp
push rbx
push r15
lea rbp, [rsp - 0x47]
sub rsp, 0x90
mov rax, qword [0x1400be080]
xor rax, rsp
mov qword [rbp + 0x3f], rax
xor r15d, r15d
lea r8, [0x1400aa750]
lea rdx, [rbp + 0x2f]
mov qword [rbp + 0xf], r15
lea rcx, [rbp + 0xf]
mov qword [rbp + 0x2f], r15
mov qword [rbp + 7], r15
mov ebx, r15d
call fcn.14002c580
test eax, eax
je 0x140025bb9
mov qword [rsp + 0xb0], rsi
lea rcx, [0x1400aed20]
mov qword [rsp + 0xb8], rdi
mov qword [rsp + 0xc0], r12
mov qword [rsp + 0xc8], 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 0x140025a1f
test rax, rax
je 0x140025a16
mov rcx, qword [rbp + 0xf]
lea rax, [rbp + 7]
mov qword [rsp + 0x28], rax
lea r9d, [r15 + 0x30]
mov r8, rdi
mov qword [rsp + 0x20], r15
mov rdx, qword [rcx]
mov r10, qword [rdx + 0xa0]
mov rdx, rsi
call r10
test eax, eax
jns 0x140025a16
lea rcx, str.ExecQuery
mov r14d, r15d
call fcn.140029bc0
mov rcx, qword [rbp + 0xf]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbp + 0x2f]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
call qword [sym.imp.ole32.dll_CoUninitialize]
mov rcx, rsi
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rsi, qword [rsp + 0xb0]
test rdi, rdi
je 0x140025a35
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rdi, qword [rsp + 0xb8]
test r14d, r14d
mov r14, qword [rsp + 0xc8]
je 0x140025b97
mov rcx, qword [rbp + 7]
xor eax, eax
mov qword [rbp - 1], r15
xorps xmm0, xmm0
mov dword [rbp + 0x37], r15d
mov qword [rbp + 0x27], rax
movups xmmword [rbp + 0x17], xmm0
test rcx, rcx
je 0x140025b77
mov rax, qword [rcx]
lea rdx, [rbp + 0x37]
mov qword [rsp + 0x20], rdx
lea r9, [rbp - 1]
mov edx, 0xffffffff
mov r8d, r12d
call qword [rax + reloc.WLDAP32.dll_Ordinal_32]
cmp dword [rbp + 0x37], r15d
je 0x140025b73
mov rcx, qword [rbp - 1]
lea r9, [rbp + 0x17]
mov qword [rsp + 0x28], r15
lea rdx, str.Product
xor r8d, r8d
mov qword [rsp + 0x20], r15
mov rax, qword [rcx]
call qword [rax + reloc.WLDAP32.dll_Ordinal_32]
test eax, eax
js 0x140025aea
cmp word [rbp + 0x17], r12w
je 0x140025aea
test byte [rbp + 0x17], 8
je 0x140025ae0
mov rcx, qword [rbp + 0x1f]
lea rdx, str.VirtualBox
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
test rax, rax
cmovne ebx, r12d
lea rcx, [rbp + 0x17]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rcx, qword [rbp - 1]
lea r9, [rbp + 0x17]
xorps xmm0, xmm0
mov qword [rsp + 0x28], r15
xor eax, eax
mov qword [rsp + 0x20], r15
mov qword [rbp - 9], rax
lea rdx, str.Manufacturer
movups xmmword [rbp + 0x17], xmm0
xor r8d, r8d
movsd xmm0, qword [rbp - 9]
movsd qword [rbp + 0x27], xmm0
mov rax, qword [rcx]
call qword [rax + reloc.WLDAP32.dll_Ordinal_32]
test eax, eax
js 0x140025b56
cmp word [rbp + 0x17], r12w
je 0x140025b56
test byte [rbp + 0x17], 8
je 0x140025b4c
mov rcx, qword [rbp + 0x1f]
lea rdx, str.Oracle_Corporation
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
test rax, rax
cmovne ebx, r12d
lea rcx, [rbp + 0x17]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rcx, qword [rbp - 1]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
test ebx, ebx
jne 0x140025b73
mov rcx, qword [rbp + 7]
test rcx, rcx
jne 0x140025a70
jmp 0x140025b77
mov rcx, qword [rbp + 7]
mov rdx, qword [rcx]
call qword [rdx + reloc.WS2_32.dll_recv]
mov rcx, qword [rbp + 0xf]
mov rdx, qword [rcx]
call qword [rdx + reloc.WS2_32.dll_recv]
mov rcx, qword [rbp + 0x2f]
mov rdx, qword [rcx]
call qword [rdx + reloc.WS2_32.dll_recv]
call qword [sym.imp.ole32.dll_CoUninitialize]
mov r12, qword [rsp + 0xc0]
mov eax, ebx
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.14008f700
add rsp, 0x90
pop r15
pop rbx
pop rbp
ret
mov eax, ebx
jmp 0x140025ba1