Function at 0x14000ed50
Capabilities:
Connect to wmi namespace via wbemlocator
Reference wmi statements

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xf0
mov rax, qword [0x140087048]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov rbx, rcx
mov qword [rbp - 0x39], rcx
mov dword [rbp - 0x69], 1
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
xor r12d, r12d
mov qword [rcx + 0x10], r12
mov qword [rcx + 0x18], 0xf
mov byte [rcx], r12b
mov dword [rbp - 0x69], 1
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
jns 0x14000edf7
lea r8d, [r12 + 0x19]
lea rdx, str.Failed_to_initialize_COM.
mov rcx, rbx
call fcn.140007110
nop
mov rax, rbx
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.14003dd50
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
mov qword [rsp + 0x40], r12
mov dword [rsp + 0x38], r12d
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
mov rsi, 0xffffffffffffffff
mov edx, esi
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeSecurity]
test eax, eax
jns 0x14000ee49
lea r8d, [rsi + 0x23]
lea rdx, str.Failed_to_initialize_COM_security.
mov rcx, rbx
call fcn.140007110
call qword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x14000edcc
mov qword [rbp - 0x29], r12
lea rax, [rbp - 0x29]
mov qword [rsp + 0x20], rax
lea r9, [0x14006baa0]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x14006bab0]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x14000ee94
mov r8d, 0x27
lea rdx, str.Failed_to_create_IWbemLocator_instance.
mov rcx, rbx
call fcn.140007110
call qword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x14000edcc
mov qword [rbp - 0x21], r12
mov rax, qword [rbp - 0x29]
mov rcx, qword [rax]
mov r14, qword [rcx + 0x18]
mov ecx, 0x18
call fcn.14003dd78
mov rdi, rax
mov qword [rbp - 0x61], rax
test rax, rax
je 0x14000eeeb
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rax
mov qword [rdi + 8], r12
mov dword [rdi + 0x10], 1
lea rcx, str.ROOTCIMV2
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rdi], rax
test rax, rax
je 0x14000f3aa
jmp 0x14000eeee
mov rdi, r12
mov qword [rbp - 0x31], rdi
test rdi, rdi
je 0x14000f3c0
lea rax, [rbp - 0x21]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], r12
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rdi]
mov rcx, qword [rbp - 0x29]
call r14
mov r14d, eax
mov ecx, esi
lock xadd dword [rdi + 0x10], ecx
cmp ecx, 1
jne 0x14000ef67
mov rcx, qword [rdi]
test rcx, rcx
je 0x14000ef48
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rdi], r12
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x14000ef5a
call fcn.14003dd70
mov qword [rdi + 8], r12
mov edx, 0x18
mov rcx, rdi
call fcn.14003dd70
test r14d, r14d
jns 0x14000ef96
mov r8d, 0x23
lea rdx, str.Failed_to_connect_to_WMI_namespace.
mov rcx, rbx
call fcn.140007110
mov rcx, qword [rbp - 0x29]
mov rax, qword [rcx]
call qword [rax + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x14000edcc
lea rcx, str.SELECT__FROM_Win32_Processor
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov r14, rax
lea rcx, str.Win32_Processor
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rbp - 0x11], r12
mov rcx, qword [rbp - 0x21]
mov rdx, qword [rcx]
mov r15, qword [rdx + 0xa0]
mov ecx, 0x18
call fcn.14003dd78
mov rdi, rax
mov qword [rbp - 0x61], rax
test rax, rax
je 0x14000f00d
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rax
mov qword [rdi + 8], r12
mov dword [rdi + 0x10], 1
lea rcx, [0x140077be0]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rdi], rax
test rax, rax
je 0x14000f3b5
jmp 0x14000f010
mov rdi, r12
mov qword [rbp - 0x61], rdi
test rdi, rdi
je 0x14000f3c0
lea rax, [rbp - 0x11]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r12
mov r9d, 0x30
mov r8, r14
mov rdx, qword [rdi]
mov rcx, qword [rbp - 0x21]
call r15
mov r14d, eax
mov ecx, esi
lock xadd dword [rdi + 0x10], ecx
cmp ecx, 1
jne 0x14000f07d
mov rcx, qword [rdi]
test rcx, rcx
je 0x14000f05e
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rdi], r12
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x14000f070
call fcn.14003dd70
mov qword [rdi + 8], r12
mov edx, 0x18
mov rcx, rdi
call fcn.14003dd70
test r14d, r14d
jns 0x14000f0b6
mov r8d, 0x1c
lea rdx, str.Failed_to_execute_WMI_query.
mov rcx, rbx
call fcn.140007110
mov rcx, qword [rbp - 0x21]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x29]
mov rax, qword [rcx]
call qword [rax + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x14000edcc
mov qword [rbp - 0x19], r12
mov dword [rbp + 0xf], r12d
mov rcx, qword [rbp - 0x11]
mov rax, qword [rcx]
lea rdx, [rbp + 0xf]
mov qword [rsp + 0x20], rdx
lea r9, [rbp - 0x19]
mov r8d, 1
mov edx, esi
call qword [rax + 0x20]
test eax, eax
js 0x14000f366
cmp dword [rbp + 0xf], 0
je 0x14000f366
lea rcx, [rbp - 9]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
mov rcx, qword [rbp - 0x19]
mov rax, qword [rcx]
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
lea r9, [rbp - 9]
xor r8d, r8d
lea rdx, str.Manufacturer
call qword [rax + 0x20]
test eax, eax
js 0x14000f17a
cmp word [rbp - 9], 8
jne 0x14000f17a
mov r8d, 0xc
lea rdx, str.CPU_Vendor:
mov rcx, rbx
call fcn.140006e40
mov rcx, qword [rbp - 1]
call fcn.14003b100
mov r8, rsi
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x14000f150
mov rdx, rax
mov rcx, rbx
call fcn.140006e40
mov r8d, 1
lea rdx, [0x14007769c]
mov rcx, rbx
call fcn.140006e40
mov rcx, qword [rbp - 0x19]
mov rax, qword [rcx]
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
lea r9, [rbp - 9]
xor r8d, r8d
lea rdx, str.Name
call qword [rax + 0x20]
test eax, eax
js 0x14000f1f1
cmp word [rbp - 9], 8
jne 0x14000f1f1
mov r8d, 0xc
lea rdx, str.Model_Name:
mov rcx, rbx
call fcn.140006e40
mov rcx, qword [rbp - 1]
call fcn.14003b100
inc rsi
cmp byte [rax + rsi], 0
jne 0x14000f1c5
mov r8, rsi
mov rdx, rax
mov rcx, rbx
call fcn.140006e40
mov r8d, 1
lea rdx, [0x14007769c]
mov rcx, rbx
call fcn.140006e40
mov rcx, qword [rbp - 0x19]
mov rax, qword [rcx]
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
lea r9, [rbp - 9]
xor r8d, r8d
lea rdx, str.MaxClockSpeed
call qword [rax + 0x20]
test eax, eax
js 0x14000f329
cmp word [rbp - 9], 0x13
jne 0x14000f329
mov r8d, 0x13
lea rdx, str.Clock_Speed__MHz_:
mov rcx, rbx
call fcn.140006e40
lea r9, [rbp + 0x2c]
mov r8d, dword [rbp - 1]
nop dword [rax]
nop word [rax + rax]
dec r9
mov eax, 0xcccccccd
mul r8d
shr edx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub r8b, cl
add r8b, 0x30
mov byte [r9], r8b
mov r8d, edx
test edx, edx
jne 0x14000f250
xorps xmm0, xmm0
movups xmmword [rbp - 0x59], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x49], xmm1
lea rax, [rbp + 0x2c]
cmp r9, rax
jne 0x14000f2a4
movdqa xmm0, xmmword [0x14007a5f0]
movdqu xmmword [rbp - 0x49], xmm0
mov byte [rbp - 0x59], dl
jmp 0x14000f2b7
lea r8, [rbp + 0x2c]
sub r8, r9
mov rdx, r9
lea rcx, [rbp - 0x59]
call fcn.140007670
mov dword [rbp - 0x69], 7
lea rdx, [rbp - 0x59]
cmp qword [rbp - 0x41], 0x10
cmovae rdx, qword [rbp - 0x59]
mov r8, qword [rbp - 0x49]
mov rcx, rbx
call fcn.140006e40
nop
mov rdx, qword [rbp - 0x41]
cmp rdx, 0x10
jb 0x14000f314
inc rdx
mov rcx, qword [rbp - 0x59]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000f30f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000f3a4
call fcn.14003dd70
mov r8d, 1
lea rdx, [0x14007769c]
mov rcx, rbx
call fcn.140006e40
lea rcx, [rbp - 9]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rcx, qword [rbp - 0x19]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x11]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x21]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x29]
mov rax, qword [rcx]
call qword [rax + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x14000edcc
mov r8d, 0x23
lea rdx, str.Failed_to_retrieve_CPU_information.
mov rcx, rbx
call fcn.140007110
mov rcx, qword [rbp - 0x11]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x21]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x29]
mov rax, qword [rcx]
call qword [rax + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x14000edcc
call fcn.1400447b4
nop
mov ecx, 0x8007000e
call fcn.14003b0f0
nop
mov ecx, 0x8007000e
call fcn.14003b0f0
nop
mov ecx, 0x8007000e
call fcn.14003b0f0
int3