Function at 0x140021880
Capabilities:
Reference wmi statements

Disassembly:
mov rax, rsp
push rsi
push rdi
push r14
sub rsp, 0x90
mov qword [rax - 0x70], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x20], rbp
mov rax, qword [0x140073080]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rbp, r8
mov rbx, rcx
cmp byte [rcx + 0x12], 0
jne 0x1400218dd
call fcn.1400215f0
test al, al
je 0x140021a44
mov byte [rbx + 0x12], 1
mov rcx, rbx
call fcn.140021670
test al, al
je 0x140021a44
mov rsi, qword [rbx + 8]
xor r14d, r14d
mov qword [rsp + 0x50], r14
lea ecx, [r14 + 0x18]
call fcn.140024108
mov rbx, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140021924
xor eax, eax
mov qword [rbx], rax
mov qword [rbx + 0x10], rax
mov qword [rbx + 8], r14
mov dword [rbx + 0x10], 1
lea rcx, str.SELECT__FROM_Win32_BaseBoard
call fcn.140025240
mov qword [rbx], rax
jmp 0x140021927
mov rbx, r14
mov qword [rsp + 0x40], rbx
test rbx, rbx
je 0x140021b84
mov ecx, 0x18
call fcn.140024108
mov rdi, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140021971
xor eax, eax
mov qword [rdi], rax
mov qword [rdi + 0x10], rax
mov qword [rdi + 8], r14
mov dword [rdi + 0x10], 1
lea rcx, [0x1400642b0]
call fcn.140025240
mov qword [rdi], rax
jmp 0x140021974
mov rdi, r14
mov qword [rsp + 0x48], rdi
test rdi, rdi
je 0x140021b79
mov rax, qword [rsi]
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], r14
mov r9d, 0x30
mov r8, qword [rbx]
mov rdx, qword [rdi]
mov rcx, rsi
call qword [rax + 0xa0]
mov esi, eax
mov ecx, 0xffffffff
lock xadd dword [rdi + 0x10], ecx
cmp ecx, 1
jne 0x1400219eb
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400219cb
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rdi], r14
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x1400219dd
call fcn.140023e64
mov qword [rdi + 8], r14
mov edx, 0x18
mov rcx, rdi
call fcn.140023e64
nop
mov eax, 0xffffffff
lock xadd dword [rbx + 0x10], eax
sub eax, 1
jne 0x140021a2a
mov rcx, qword [rbx]
test rcx, rcx
je 0x140021a0b
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], r14
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x140021a1d
call fcn.140023e64
mov qword [rbx + 8], r14
mov edx, 0x18
mov rcx, rbx
call fcn.140023e64
test esi, esi
jns 0x140021a4b
mov r8d, esi
lea rdx, str.Query_for_operating_system_name_failed.___lx
lea rcx, [0x140077e88]
call fcn.140004170
xor al, al
jmp 0x140021b51
mov qword [rsp + 0x58], r14
mov dword [rsp + 0x78], r14d
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140021b49
mov rax, qword [rcx]
lea rdx, [rsp + 0x78]
mov qword [rsp + 0x20], rdx
lea r9, [rsp + 0x58]
mov edx, 0xffffffff
lea r8d, [rdx + 2]
call qword [rax + 0x20]
cmp dword [rsp + 0x78], 0
je 0x140021b44
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x60]
xor r8d, r8d
lea rdx, str.Product
call qword [rax + 0x20]
test eax, eax
je 0x140021ad2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.Get_model_fail__lu
lea rcx, [0x140077e88]
call fcn.140004170
jmp 0x140021b34
mov r9, qword [rsp + 0x68]
test r9, r9
jne 0x140021af4
lea rdx, str.bstrVal_NULL
lea rcx, [0x140077e88]
call fcn.140004170
mov r9, qword [rsp + 0x68]
lea r8, [0x140064120]
mov edx, 0x104
mov rcx, rbp
call fcn.1400012b0
mov r8, rbp
lea rdx, str.result___S
lea rcx, [0x140077e88]
call fcn.140004170
lea rcx, [rsp + 0x60]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rsp + 0x50]
test rcx, rcx
jne 0x140021a63
jmp 0x140021b49
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov al, 1
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140023e40
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
mov ecx, 0x8007000e
call fcn.140025230
nop
mov ecx, 0x8007000e
call fcn.140025230
int3