Function at 0x140050cd0
Capabilities:
Reference wmi statements

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x2a0
mov rax, qword [0x14030b930]
xor rax, rsp
mov qword [rsp + 0x298], rax
mov r14, rdx
mov rbx, rcx
cmp byte [rcx + 0x28], 0
jne 0x140050d0b
xor al, al
jmp 0x14005159c
xor r15d, r15d
mov qword [rsp + 0x278], r15
movdqa xmm0, xmmword [0x1402c6510]
movdqu xmmword [rsp + 0x288], xmm0
mov word [rsp + 0x278], r15w
mov byte [rsp + 0x270], r15b
lea rdx, str.srl::WMI::GetCpuInfo
lea rcx, [rsp + 0x278]
call fcn.140009944
nop
call fcn.14001fe60
cmp dword [rax + 8], 4
jl 0x140050d66
lea rcx, [rsp + 0x270]
call fcn.140015c90
nop
lea r8, [rsp + 0x58]
lea rdx, str.SELECT__FROM_Win32_Processor
mov rcx, rbx
call fcn.1400527d0
test al, al
je 0x14005158d
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x38], r15d
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 0x140051581
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.140052040
test al, al
je 0x1400513f5
lea rcx, [r14 + 0x30]
lea rdx, [rsp + 0x40]
call fcn.140053320
call fcn.14001fe60
cmp dword [rax + 8], 3
jl 0x1400513f5
call fcn.14001fe60
mov rdi, rax
lea rcx, [rsp + 0xd0]
call fcn.140018dc0
nop
mov qword [rsp + 0x248], 7
mov qword [rsp + 0x240], 5
movsd xmm0, qword [str.TRACE]
movsd qword [rsp + 0x230], xmm0
movzx eax, word [0x1402bfb20]
mov word [rsp + 0x238], ax
mov word [rsp + 0x23a], r15w
mov qword [rsp + 0x1d0], r15
mov r8, r15
mov qword [rsp + 0x1e0], r15
mov r9d, 7
mov qword [rsp + 0x1e8], r9
mov word [rsp + 0x1d0], r15w
mov ebx, r15d
cmp ebx, dword [rdi + 0x10]
jge 0x140050f15
cmp ebx, 0xa
jge 0x140050f15
mov rax, r9
sub rax, r8
lea rcx, [rsp + 0x1d0]
cmp rax, 2
jb 0x140050ee4
lea rdx, [r8 + 2]
mov qword [rsp + 0x1e0], rdx
cmp r9, 8
cmovae rcx, qword [rsp + 0x1d0]
mov eax, dword [0x1402bfb10]
mov dword [rcx + r8*2], eax
mov word [rcx + rdx*2], r15w
inc ebx
mov r9, qword [rsp + 0x1e8]
mov r8, qword [rsp + 0x1e0]
jmp 0x140050e82
mov qword [rsp + 0x20], 2
lea r9, [0x1402bfb10]
mov edx, 2
call fcn.140020f80
inc ebx
mov r9, qword [rsp + 0x1e8]
mov r8, qword [rsp + 0x1e0]
jmp 0x140050e82
mov qword [rsp + 0x210], r15
mov qword [rsp + 0x220], r15
mov qword [rsp + 0x228], 7
mov word [rsp + 0x210], r15w
mov qword [rsp + 0x1f0], r15
mov qword [rsp + 0x200], r15
mov qword [rsp + 0x208], 7
mov word [rsp + 0x1f0], r15w
lea r8, [rsp + 0x1f0]
lea rdx, [rsp + 0x210]
mov rcx, rdi
call fcn.14001ffb0
lea rsi, [rsp + 0x1d0]
cmp qword [rsp + 0x1e8], 8
cmovae rsi, qword [rsp + 0x1d0]
mov edx, 0x2040
lea rcx, [rsp + 0x78]
call fcn.140215384
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 + 0x210]
cmp qword [rsp + 0x228], 8
cmovae rdx, qword [rsp + 0x210]
mov r8, qword [rsp + 0x220]
lea rcx, [rsp + 0xe0]
call fcn.1400165e0
mov rbx, rax
mov edx, reloc.OLEAUT32.dll_SafeArrayGetDim
lea rcx, [rsp + 0x88]
call fcn.140215384
mov rdi, rax
lea rdx, [0x1402bf648]
mov rcx, rbx
call fcn.140016310
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.1402153ac
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.140215398
mov rcx, qword [rbx]
movsxd rcx, dword [rcx + 4]
add rcx, rbx
mov rdx, qword [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.1400165e0
mov rbx, rax
mov edx, 5
lea rcx, [rsp + 0xb8]
call fcn.1402153ac
mov rdi, rax
lea rdx, [0x1402bf648]
mov rcx, rbx
call fcn.140016310
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.140215384
mov rcx, qword [rbx]
movsxd rcx, dword [rcx + 4]
add rcx, rbx
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]
mov rcx, rbx
call fcn.1400165e0
lea rdx, [0x1402bfb40]
mov rcx, rax
call fcn.140016310
mov rdx, rsi
mov rcx, rax
call fcn.140016310
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x14031b04c], eax
jg 0x1400515c5
lea rdx, [rsp + 0x250]
lea rcx, [rsp + 0xe8]
call fcn.1400199b0
nop
mov rdx, qword [reloc.OLEAUT32.dll_VariantInit]
cmp rdx, 8
jb 0x1400511c8
lea rdx, [rdx*2 + 2]
mov rcx, qword [0x14030c5e0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400511c3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140051613
call fcn.140004104
movups xmm0, xmmword [rsp + 0x250]
movups xmmword [0x14030c5e0], xmm0
movups xmm1, xmmword [rsp + 0x260]
movups xmmword [0x14030c5f0], xmm1
mov qword [rsp + 0x260], r15
mov qword [rsp + 0x268], 7
mov word [rsp + 0x250], r15w
mov rdx, qword [rsp + 0x208]
cmp rdx, 8
jb 0x14005124b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x1f0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140051246
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140051619
call fcn.140004104
mov qword [rsp + 0x200], r15
mov qword [rsp + 0x208], 7
mov word [rsp + 0x1f0], r15w
mov rdx, qword [rsp + 0x228]
cmp rdx, 8
jb 0x1400512b0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x210]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400512ab
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005161f
call fcn.140004104
mov qword [rsp + 0x220], r15
mov qword [rsp + 0x228], 7
mov word [rsp + 0x210], r15w
mov rdx, qword [rsp + 0x1e8]
cmp rdx, 8
jb 0x140051315
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x1d0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140051310
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140051625
call fcn.140004104
mov qword [rsp + 0x1e0], r15
mov qword [rsp + 0x1e8], 7
mov word [rsp + 0x1d0], r15w
mov rdx, qword [rsp + 0x248]
cmp rdx, 8
jb 0x14005137a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x230]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140051375
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005162b
call fcn.140004104
mov qword [rsp + 0x240], r15
mov qword [rsp + 0x248], 7
mov word [rsp + 0x230], r15w
lea rcx, [rsp + 0xd0]
call fcn.140018ca0
call fcn.14001fe60
lea rdx, [0x14030c5e0]
cmp qword [reloc.OLEAUT32.dll_VariantInit], 8
cmovae rdx, qword [0x14030c5e0]
mov r8, qword [0x14030c5f0]
mov rcx, rax
call fcn.1400165e0
lea rdx, str.WMI_CPU:
mov rcx, rax
call fcn.140014d10
mov rbx, rax
mov rdx, qword [r14 + 0x30]
mov rcx, rax
call fcn.140016310
mov rcx, rbx
call fcn.1400174d0
lea r9, [rsp + 0x40]
lea r8, str.Manufacturer
mov rdx, qword [rsp + 0x30]
call fcn.140052040
test al, al
je 0x14005141d
lea rcx, [r14 + 0x20]
lea rdx, [rsp + 0x40]
call fcn.140053320
lea r9, [rsp + 0x40]
lea r8, str.MaxClockSpeed
mov rdx, qword [rsp + 0x30]
call fcn.140052040
test al, al
je 0x14005153f
lea rcx, [rsp + 0xd0]
call fcn.140018dc0
nop
cmp word [rsp + 0x40], 0x13
jne 0x140051457
mov ebx, dword [rsp + 0x48]
jmp 0x140051493
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 0x140051631
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.140018fc0
lea rdx, str._MHz
mov rcx, rax
call fcn.140016310
lea rdx, [rsp + 0x250]
lea rcx, [rsp + 0xe8]
call fcn.1400199b0
lea rdx, [rsp + 0x250]
cmp qword [rsp + 0x268], 8
cmovae rdx, qword [rsp + 0x250]
lea rcx, [r14 + 0x10]
call fcn.14004f0a0
mov rdx, qword [rsp + 0x268]
cmp rdx, 8
jb 0x140051532
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x250]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005152c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140051639
call fcn.140004104
nop
lea rcx, [rsp + 0xd0]
call fcn.140018ca0
lea r9, [rsp + 0x40]
lea r8, str.Caption
mov rdx, qword [rsp + 0x30]
call fcn.140052040
test al, al
je 0x14005156a
lea rcx, [r14 + 0x98]
lea rdx, [rsp + 0x40]
call fcn.140053320
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.140017560
mov al, 1
mov rcx, qword [rsp + 0x298]
xor rcx, rsp
call fcn.140212a70
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
lea rcx, [0x14031b04c]
call fcn.140212e94
cmp dword [0x14031b04c], 0xffffffff
jne 0x14005116c
mov qword [0x14030c5e0], r15
movdqa xmm0, xmmword [0x1402c6510]
movdqu xmmword [0x14030c5f0], xmm0
lea rcx, [0x14025f1b0]
call fcn.140212cc8
lea rcx, [0x14031b04c]
call fcn.140212e34
nop
jmp 0x14005116c
call fcn.14021b87c
nop
call fcn.14021b87c
nop
call fcn.14021b87c
nop
call fcn.14021b87c
nop
call fcn.14021b87c
nop
mov ecx, eax
call fcn.140213cf0
nop
call fcn.14021b87c
int3