Function at 0x140089840
Capabilities:
Reference wmi statements

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x140159080]
xor rax, rsp
mov qword [rbp - 0x10], rax
xor ebx, ebx
lea r8, [0x14013d910]
lea rdx, [rbp - 0x38]
mov qword [rbp - 0x48], rbx
lea rcx, [rbp - 0x48]
mov qword [rbp - 0x38], rbx
mov qword [rbp - 0x40], rbx
call fcn.140091570
test eax, eax
je 0x140089a7a
mov qword [rsp + 0x90], rsi
lea rcx, [0x140141da0]
mov qword [rsp + 0x98], rdi
mov qword [rsp + 0xa0], r14
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
lea rcx, str.SELECT__FROM_Win32_ComputerSystem
mov rsi, rax
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
lea r14d, [rbx + 1]
mov rdi, rax
test rsi, rsi
je 0x14008992a
test rax, rax
je 0x140089921
mov rcx, qword [rbp - 0x48]
lea rax, [rbp - 0x40]
mov qword [rsp + 0x28], rax
lea r9d, [rbx + 0x30]
mov r8, rdi
mov qword [rsp + 0x20], rbx
mov rdx, rsi
mov r10, qword [rcx]
call qword [r10 + 0xa0]
test eax, eax
jns 0x140089921
lea rcx, str.ExecQuery
mov r14d, ebx
call fcn.14008f300
mov rcx, qword [rbp - 0x48]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbp - 0x38]
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 + 0x90]
test rdi, rdi
je 0x140089940
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rdi, qword [rsp + 0x98]
test r14d, r14d
mov r14, qword [rsp + 0xa0]
je 0x140089a7a
mov rcx, qword [rbp - 0x40]
mov qword [rbp - 0x50], rbx
mov dword [rbp - 0x18], ebx
test rcx, rcx
je 0x140089a56
nop dword [rax]
mov rax, qword [rcx]
lea rdx, [rbp - 0x18]
mov qword [rsp + 0x20], rdx
lea r9, [rbp - 0x50]
mov edx, 0xffffffff
lea r8d, [rdx + 2]
call qword [rax + reloc.WLDAP32.dll_Ordinal_32]
cmp dword [rbp - 0x18], ebx
je 0x140089a56
mov rcx, qword [rbp - 0x50]
lea r9, [rbp - 0x30]
mov qword [rsp + 0x28], rbx
lea rdx, str.Manufacturer
xor r8d, r8d
mov qword [rsp + 0x20], rbx
mov rax, qword [rcx]
call qword [rax + reloc.WLDAP32.dll_Ordinal_32]
test eax, eax
js 0x140089a24
cmp word [rbp - 0x30], 8
jne 0x140089a1a
mov rcx, qword [rbp - 0x28]
lea rdx, str.VMWare
call qword [sym.imp.SHLWAPI.dll_StrStrIW]
test rax, rax
jne 0x140089a3d
mov rcx, qword [rbp - 0x28]
lea rdx, [0x14013dba8]
call qword [sym.imp.SHLWAPI.dll_StrStrIW]
test rax, rax
jne 0x140089a3d
mov rcx, qword [rbp - 0x28]
lea rdx, str.innotek_GmbH
call qword [sym.imp.SHLWAPI.dll_StrStrIW]
test rax, rax
jne 0x140089a3d
mov rcx, qword [rbp - 0x28]
lea rdx, str.QEMU
call qword [sym.imp.SHLWAPI.dll_StrStrIW]
test rax, rax
jne 0x140089a3d
lea rcx, [rbp - 0x30]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rcx, qword [rbp - 0x50]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbp - 0x40]
test rcx, rcx
jne 0x140089970
jmp 0x140089a56
lea rcx, [rbp - 0x30]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rcx, qword [rbp - 0x50]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov ebx, 1
mov rcx, qword [rbp - 0x48]
mov rdx, qword [rcx]
call qword [rdx + reloc.WS2_32.dll_recv]
mov rcx, qword [rbp - 0x38]
mov rdx, qword [rcx]
call qword [rdx + reloc.WS2_32.dll_recv]
mov rcx, qword [rbp - 0x40]
mov rdx, qword [rcx]
call qword [rdx + reloc.WS2_32.dll_recv]
call qword [sym.imp.ole32.dll_CoUninitialize]
mov eax, ebx
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1400f48b0
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rbp
ret