Function at 0x140050010
Capabilities:
Reference wmi statements

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x2a0
mov rax, qword [0x14030a918]
xor rax, rsp
mov qword [rsp + 0x298], rax
mov r14, rdx
mov rbx, rcx
xor r12d, r12d
cmp byte [rcx + 0x28], r12b
jne 0x14005004c
xor al, al
jmp 0x1400508da
mov qword [rsp + 0x278], r12
movdqa xmm0, xmmword [0x1402c5590]
movdqu xmmword [rsp + 0x288], xmm0
mov word [rsp + 0x278], r12w
mov byte [rsp + 0x270], 0
lea rdx, str.srl::WMI::GetCpuInfo
lea rcx, [rsp + 0x278]
call fcn.140009b0c
nop
call fcn.14001ff60
cmp dword [rax + 8], 4
jl 0x1400500a4
lea rcx, [rsp + 0x270]
call fcn.140015b00
nop
lea r8, [rsp + 0x58]
lea rdx, str.SELECT__FROM_Win32_Processor
mov rcx, rbx
call fcn.140051bb0
test al, al
je 0x1400508cb
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x38], r12d
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
lea rdx, [rsp + 0x38]
mov qword [rsp + 0x20], rdx
lea r9, [rsp + 0x30]
mov edx, 0xffffffff
lea r8d, [rdx + 2]
call qword [rax + 0x20]
test eax, eax
jne 0x1400508bf
lea rcx, [rsp + 0x40]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
nop
lea r9, [rsp + 0x40]
lea r8, str.Name
mov rdx, qword [rsp + 0x30]
call fcn.140051420
test al, al
je 0x140050733
lea rdx, [rsp + 0x40]
lea rcx, [r14 + 0x30]
call fcn.140052630
call fcn.14001ff60
cmp dword [rax + 8], 3
jl 0x140050733
call fcn.14001ff60
mov rdi, rax
lea rcx, [rsp + 0xd0]
call fcn.140018c70
nop
mov qword [rsp + 0x208], 7
mov qword [rsp + 0x200], 5
movsd xmm0, qword [str.TRACE]
movsd qword [rsp + 0x1f0], xmm0
movzx eax, word [0x1402bec00]
mov word [rsp + 0x1f8], ax
mov word [rsp + 0x1fa], r12w
mov qword [rsp + 0x1d0], r12
mov rdx, r12
mov qword [rsp + 0x1e0], rdx
mov r8d, 7
mov qword [rsp + 0x1e8], r8
mov word [rsp + 0x1d0], r12w
mov ebx, r12d
cmp ebx, dword [rdi + 0x10]
jge 0x140050253
cmp ebx, 0xa
jge 0x140050253
mov rax, r8
sub rax, rdx
lea rcx, [rsp + 0x1d0]
cmp rax, 2
jb 0x140050222
lea rax, [rdx + 2]
mov qword [rsp + 0x1e0], rax
cmp r8, 8
cmovae rcx, qword [rsp + 0x1d0]
mov eax, dword [0x1402bebf0]
mov dword [rcx + rdx*2], eax
mov word [rcx + rdx*2 + 4], r12w
inc ebx
mov r8, qword [rsp + 0x1e8]
mov rdx, qword [rsp + 0x1e0]
jmp 0x1400501c0
mov qword [rsp + 0x20], 2
lea r9, [0x1402bebf0]
mov edx, 2
call fcn.140021050
inc ebx
mov r8, qword [rsp + 0x1e8]
mov rdx, qword [rsp + 0x1e0]
jmp 0x1400501c0
mov qword [rsp + 0x230], r12
mov qword [rsp + 0x240], r12
mov qword [rsp + 0x248], 7
mov word [rsp + 0x230], r12w
mov qword [rsp + 0x210], r12
mov qword [rsp + 0x220], r12
mov qword [rsp + 0x228], 7
mov word [rsp + 0x210], r12w
lea r8, [rsp + 0x210]
lea rdx, [rsp + 0x230]
mov rcx, rdi
call fcn.1400200b0
lea rsi, [rsp + 0x1d0]
cmp qword [rsp + 0x1e8], 8
cmovae rsi, qword [rsp + 0x1d0]
mov edx, 0x2040
lea rcx, [rsp + 0x78]
call fcn.1402140e8
mov rcx, qword [rsp + 0xe0]
movsxd rdx, dword [rcx + 4]
lea rcx, [rsp + 0xe0]
add rcx, rdx
mov edx, dword [rax + 8]
call qword [rax]
lea rdx, [rsp + 0x230]
cmp qword [rsp + 0x248], 8
cmovae rdx, qword [rsp + 0x230]
mov r8, qword [rsp + 0x240]
lea rcx, [rsp + 0xe0]
call fcn.140016440
mov rbx, rax
mov edx, reloc.OLEAUT32.dll_SafeArrayGetDim
lea rcx, [rsp + 0x88]
call fcn.1402140e8
mov rdi, rax
lea rdx, [0x1402be728]
mov rcx, rbx
call fcn.140016180
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov edx, dword [rdi + 8]
call qword [rdi]
mov edx, 6
lea rcx, [rsp + 0x98]
call fcn.140214110
mov rcx, qword [rbx]
movsxd rcx, dword [rcx + 4]
add rcx, rbx
mov rdx, qword [rax + 8]
call qword [rax]
mov rax, qword [rbx]
movsxd rcx, dword [rax + 4]
mov eax, 0x30
mov word [rcx + rbx + 0x58], ax
lea edx, [rax - 0x2d]
lea rcx, [rsp + 0xa8]
call fcn.1402140fc
mov rcx, qword [rbx]
movsxd rcx, dword [rcx + 4]
add rcx, rbx
mov rdx, qword [rax + 8]
call qword [rax]
lea rdx, [rsp + 0x210]
cmp qword [rsp + 0x228], 8
cmovae rdx, qword [rsp + 0x210]
mov r8, qword [rsp + 0x220]
mov rcx, rbx
call fcn.140016440
mov rbx, rax
mov edx, 5
lea rcx, [rsp + 0xb8]
call fcn.140214110
mov rdi, rax
lea rdx, [0x1402be728]
mov rcx, rbx
call fcn.140016180
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov rdx, qword [rdi + 8]
call qword [rdi]
mov rax, qword [rbx]
movsxd rcx, dword [rax + 4]
mov eax, 0x20
mov word [rcx + rbx + 0x58], ax
lea edx, [rax + 0x20]
lea rcx, [rsp + 0x60]
call fcn.1402140e8
mov rcx, qword [rbx]
movsxd rcx, dword [rcx + 4]
add rcx, rbx
mov edx, dword [rax + 8]
call qword [rax]
lea rdx, [rsp + 0x1f0]
cmp qword [rsp + 0x208], 8
cmovae rdx, qword [rsp + 0x1f0]
mov r8, qword [rsp + 0x200]
mov rcx, rbx
call fcn.140016440
lea rdx, [0x1402bec20]
mov rcx, rax
call fcn.140016180
mov rdx, rsi
mov rcx, rax
call fcn.140016180
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x14031a0b4], eax
jg 0x140050902
lea rdx, [rsp + 0x250]
lea rcx, [rsp + 0xe8]
call fcn.140019840
nop
mov rdx, qword [reloc.OLEAUT32.dll_VariantInit]
cmp rdx, 8
jb 0x140050506
lea rdx, [rdx*2 + 2]
mov rcx, qword [0x14030b5d0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140050501
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140050950
call fcn.14000410c
movups xmm0, xmmword [rsp + 0x250]
movups xmmword [0x14030b5d0], xmm0
movups xmm1, xmmword [rsp + 0x260]
movups xmmword [0x14030b5e0], xmm1
mov qword [rsp + 0x260], r12
mov qword [rsp + 0x268], 7
mov word [rsp + 0x250], r12w
mov rdx, qword [rsp + 0x228]
cmp rdx, 8
jb 0x140050589
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x210]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140050584
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140050956
call fcn.14000410c
mov qword [rsp + 0x220], r12
mov qword [rsp + 0x228], 7
mov word [rsp + 0x210], r12w
mov rdx, qword [rsp + 0x248]
cmp rdx, 8
jb 0x1400505ee
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x230]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400505e9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005095c
call fcn.14000410c
mov qword [rsp + 0x240], r12
mov qword [rsp + 0x248], 7
mov word [rsp + 0x230], r12w
mov rdx, qword [rsp + 0x1e8]
cmp rdx, 8
jb 0x140050653
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x1d0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005064e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140050962
call fcn.14000410c
mov qword [rsp + 0x1e0], r12
mov qword [rsp + 0x1e8], 7
mov word [rsp + 0x1d0], r12w
mov rdx, qword [rsp + 0x208]
cmp rdx, 8
jb 0x1400506b8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x1f0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400506b3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140050968
call fcn.14000410c
mov qword [rsp + 0x200], r12
mov qword [rsp + 0x208], 7
mov word [rsp + 0x1f0], r12w
lea rcx, [rsp + 0xd0]
call fcn.140018b60
call fcn.14001ff60
lea rdx, [0x14030b5d0]
cmp qword [reloc.OLEAUT32.dll_VariantInit], 8
cmovae rdx, qword [0x14030b5d0]
mov r8, qword [0x14030b5e0]
mov rcx, rax
call fcn.140016440
lea rdx, str.WMI_CPU:
mov rcx, rax
call fcn.140014b80
mov rbx, rax
mov rdx, qword [r14 + 0x30]
mov rcx, rax
call fcn.140016180
mov rcx, rbx
call fcn.140017390
lea r9, [rsp + 0x40]
lea r8, str.Manufacturer
mov rdx, qword [rsp + 0x30]
call fcn.140051420
test al, al
je 0x14005075b
lea rcx, [r14 + 0x20]
lea rdx, [rsp + 0x40]
call fcn.140052630
lea r9, [rsp + 0x40]
lea r8, str.MaxClockSpeed
mov rdx, qword [rsp + 0x30]
call fcn.140051420
test al, al
je 0x14005087d
lea rcx, [rsp + 0xd0]
call fcn.140018c70
nop
cmp word [rsp + 0x40], 0x13
jne 0x140050795
mov ebx, dword [rsp + 0x48]
jmp 0x1400507d1
lea rcx, [rsp + 0x60]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
nop
mov r9d, 0x13
xor r8d, r8d
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x60]
call qword [sym.imp.OLEAUT32.dll_VariantTimeToDosDateTime]
test eax, eax
js 0x14005096e
mov ebx, dword [rsp + 0x68]
lea rcx, [rsp + 0x60]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov edx, ebx
lea rcx, [rsp + 0xe0]
call fcn.140018e70
lea rdx, str._MHz
mov rcx, rax
call fcn.140016180
lea rdx, [rsp + 0x250]
lea rcx, [rsp + 0xe8]
call fcn.140019840
lea rdx, [rsp + 0x250]
cmp qword [rsp + 0x268], 8
cmovae rdx, qword [rsp + 0x250]
lea rcx, [r14 + 0x10]
call fcn.14004e4d0
mov rdx, qword [rsp + 0x268]
cmp rdx, 8
jb 0x140050870
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x250]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005086a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140050976
call fcn.14000410c
nop
lea rcx, [rsp + 0xd0]
call fcn.140018b60
lea r9, [rsp + 0x40]
lea r8, str.Caption
mov rdx, qword [rsp + 0x30]
call fcn.140051420
test al, al
je 0x1400508a8
lea rcx, [r14 + 0x98]
lea rdx, [rsp + 0x40]
call fcn.140052630
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
nop
lea rcx, [rsp + 0x40]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
nop
lea rcx, [rsp + 0x270]
call fcn.140017420
mov al, 1
mov rcx, qword [rsp + 0x298]
xor rcx, rsp
call fcn.1402117c0
mov rbx, qword [rsp + 0x2e0]
add rsp, 0x2a0
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
lea rcx, [0x14031a0b4]
call fcn.140211be4
cmp dword [0x14031a0b4], 0xffffffff
jne 0x1400504aa
mov qword [0x14030b5d0], r12
movdqa xmm0, xmmword [0x1402c5590]
movdqu xmmword [0x14030b5e0], xmm0
lea rcx, [0x14025d5d0]
call fcn.140211a18
lea rcx, [0x14031a0b4]
call fcn.140211b84
nop
jmp 0x1400504aa
call fcn.14021a7fc
nop
call fcn.14021a7fc
nop
call fcn.14021a7fc
nop
call fcn.14021a7fc
nop
call fcn.14021a7fc
nop
mov ecx, eax
call fcn.140212a50
nop
call fcn.14021a7fc
int3