Function at 0x140011480
Capabilities:
Reference wmi statements

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x140027040]
xor rax, rsp
mov qword [rbp - 0x10], rax
xor ebx, ebx
lea r8, [0x14001e8b0]
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.140016e60
test eax, eax
je 0x1400116d8
mov qword [rsp + 0x90], rsi
lea rcx, [0x1400224d8]
mov qword [rsp + 0x98], rdi
mov qword [rsp + 0xa0], r14
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
lea rcx, str.SELECT__FROM_Win32_BIOS
mov rsi, rax
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov r14d, 1
mov rdi, rax
test rsi, rsi
je 0x140011571
test rax, rax
je 0x140011568
mov rcx, qword [rbp - 0x48]
lea rax, [rbp - 0x40]
mov qword [rsp + 0x28], rax
mov r9d, 0x30
mov r8, rdi
mov qword [rsp + 0x20], rbx
mov rdx, qword [rcx]
mov r10, qword [rdx + 0xa0]
mov rdx, rsi
call r10
test eax, eax
jns 0x140011568
lea rcx, str.ExecQuery
mov r14d, ebx
call fcn.140014740
mov rcx, qword [rbp - 0x48]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x38]
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 + 0x90]
test rdi, rdi
je 0x140011587
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rdi, qword [rsp + 0x98]
test r14d, r14d
mov r14, qword [rsp + 0xa0]
je 0x1400116d8
mov rcx, qword [rbp - 0x40]
mov qword [rbp - 0x50], rbx
mov dword [rbp - 0x18], ebx
test rcx, rcx
je 0x1400116b4
nop dword [rax]
nop dword [rax + rax]
mov rax, qword [rcx]
lea rdx, [rbp - 0x18]
mov qword [rsp + 0x20], rdx
lea r9, [rbp - 0x50]
mov edx, 0xffffffff
mov r8d, 1
call qword [rax + 0x20]
cmp dword [rbp - 0x18], ebx
je 0x1400116b4
mov rcx, qword [rbp - 0x50]
lea r9, [rbp - 0x30]
mov qword [rsp + 0x28], rbx
lea rdx, str.SerialNumber
xor r8d, r8d
mov qword [rsp + 0x20], rbx
mov rax, qword [rcx]
call qword [rax + 0x20]
test eax, eax
js 0x140011682
cmp word [rbp - 0x30], 8
jne 0x140011678
mov rcx, qword [rbp - 0x28]
lea rdx, str.VMWare
call qword [sym.imp.SHLWAPI.dll_StrStrIW]
test rax, rax
jne 0x14001169b
mov rcx, qword [rbp - 0x28]
cmp word [rcx], 0x30
jne 0x14001163a
cmp word [rcx + 2], bx
je 0x14001169b
lea rdx, [0x14001eb58]
call qword [sym.imp.SHLWAPI.dll_StrStrIW]
test rax, rax
jne 0x14001169b
mov rcx, qword [rbp - 0x28]
lea rdx, str.Virtual
call qword [sym.imp.SHLWAPI.dll_StrStrIW]
test rax, rax
jne 0x14001169b
mov rcx, qword [rbp - 0x28]
lea rdx, str.A_M_I
call qword [sym.imp.SHLWAPI.dll_StrStrIW]
test rax, rax
jne 0x14001169b
lea rcx, [rbp - 0x30]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rcx, qword [rbp - 0x50]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x40]
test rcx, rcx
jne 0x1400115c0
jmp 0x1400116b4
lea rcx, [rbp - 0x30]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rcx, qword [rbp - 0x50]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov ebx, 1
mov rcx, qword [rbp - 0x48]
mov rdx, qword [rcx]
call qword [rdx + 0x10]
mov rcx, qword [rbp - 0x38]
mov rdx, qword [rcx]
call qword [rdx + 0x10]
mov rcx, qword [rbp - 0x40]
mov rdx, qword [rcx]
call qword [rdx + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
mov eax, ebx
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1400177b0
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rbp
ret