Function at 0x14005ad40
Capabilities:
Reference wmi statements

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x3f0
mov qword [rax - 0x388], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x14035b8c0]
xor rax, rsp
mov qword [rsp + 0x3e0], rax
mov r13, rdx
mov rbx, rcx
xor r12d, r12d
mov esi, r12d
mov dword [rsp + 0x30], r12d
cmp byte [rcx + 0x28], sil
jne 0x14005ad96
xor al, al
jmp 0x14005b670
lea rcx, [rsp + 0x3c0]
call fcn.140009d24
nop
mov byte [rsp + 0x3b8], 0
mov r8d, 0x14
lea rdx, str.srl::WMI::GetCpuInfo
lea rcx, [rsp + 0x3c0]
call fcn.14000997c
nop
call fcn.140022280
cmp dword [rax + 8], 4
jl 0x14005ade8
mov byte [rsp + 0x3b8], 1
lea rcx, [rsp + 0x3b8]
call fcn.1400183a0
nop
lea r8, [rsp + 0x68]
lea rdx, str.SELECT__FROM_Win32_Processor
mov rcx, rbx
call fcn.14005c730
test al, al
je 0x14005b661
mov qword [rsp + 0x38], r12
mov dword [rsp + 0x40], r12d
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x20], rdx
lea r9, [rsp + 0x38]
mov edx, 0xffffffff
lea r8d, [rdx + 2]
call qword [rax + 0x20]
test eax, eax
jne 0x14005b655
lea rcx, [rsp + 0x50]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
nop
lea r9, [rsp + 0x50]
lea r8, str.Name
mov rdx, qword [rsp + 0x38]
call fcn.14005c040
test al, al
je 0x14005b42d
lea rcx, [r13 + 0x30]
lea rdx, [rsp + 0x50]
call fcn.14005d710
call fcn.140022280
cmp dword [rax + 8], 3
jl 0x14005b42d
call fcn.140022280
mov r15, rax
lea rcx, [rsp + 0xf0]
call fcn.14001b520
nop
lea rcx, [rsp + 0x370]
call fcn.140009d24
nop
mov r8d, 5
lea rdx, str.TRACE
lea rcx, [rsp + 0x370]
call fcn.14000997c
lea rcx, [rsp + 0x310]
call fcn.140009d24
nop
mov r14d, r12d
mov dword [rsp + 0x44], r12d
cmp r14d, dword [r15 + 0x10]
jge 0x14005af71
cmp r14d, 0xa
jge 0x14005af71
mov rcx, qword [rsp + 0x320]
mov rdx, qword [rsp + 0x328]
mov rax, rdx
sub rax, rcx
cmp rax, 2
jb 0x14005af42
lea rdi, [rcx + 2]
mov qword [rsp + 0x320], rdi
lea rbx, [rsp + 0x310]
cmp rdx, 8
cmovae rbx, qword [rsp + 0x310]
lea rcx, [rbx + rcx*2]
mov r8d, 4
lea rdx, [0x1402f0290]
call fcn.14022e100
mov word [rbx + rdi*2], r12w
jmp 0x14005af64
mov qword [rsp + 0x20], 2
lea r9, [0x1402f0290]
mov edx, 2
lea rcx, [rsp + 0x310]
call fcn.1400230d0
inc r14d
mov dword [rsp + 0x44], r14d
jmp 0x14005aed4
lea rcx, [rsp + 0x350]
call fcn.140009d24
nop
lea rcx, [rsp + 0x330]
call fcn.140009d24
nop
lea r8, [rsp + 0x330]
lea rdx, [rsp + 0x350]
mov rcx, r15
call fcn.1400223b0
lea r14, [rsp + 0x310]
cmp qword [rsp + 0x328], 8
cmovae r14, qword [rsp + 0x310]
mov edx, 0x2040
lea rcx, [rsp + 0x98]
call fcn.14022c1f4
mov rcx, qword [rsp + 0x100]
movsxd rdx, dword [rcx + 4]
lea rcx, [rsp + 0x100]
add rcx, rdx
mov edx, dword [rax + 8]
call qword [rax]
lea rdx, [rsp + 0x350]
cmp qword [rsp + 0x368], 8
cmovae rdx, qword [rsp + 0x350]
mov r8, qword [rsp + 0x360]
lea rcx, [rsp + 0x100]
call fcn.140018d10
mov rbx, rax
mov edx, reloc.OLEAUT32.dll_SafeArrayGetDim
lea rcx, [rsp + 0xa8]
call fcn.14022c1f4
mov rdi, rax
lea rdx, [0x1402eff50]
mov rcx, rbx
call fcn.140018930
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 + 0xb8]
call fcn.14022c21c
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 + 0xc8]
call fcn.14022c208
mov rcx, qword [rbx]
movsxd rcx, dword [rcx + 4]
add rcx, rbx
mov rdx, qword [rax + 8]
call qword [rax]
lea rdx, [rsp + 0x330]
cmp qword [rsp + 0x348], 8
cmovae rdx, qword [rsp + 0x330]
mov r8, qword [rsp + 0x340]
mov rcx, rbx
call fcn.140018d10
mov rbx, rax
mov edx, 5
lea rcx, [rsp + 0xd8]
call fcn.14022c21c
mov rdi, rax
lea rdx, [0x1402eff50]
mov rcx, rbx
call fcn.140018930
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov rdx, qword [rdi + 8]
call qword [rdi]
mov rcx, qword [rbx]
movsxd rdx, dword [rcx + 4]
mov eax, 0x20
mov word [rdx + rbx + 0x58], ax
lea edx, [rax + 0x20]
lea rcx, [rsp + 0x78]
call fcn.14022c1f4
mov rcx, qword [rbx]
movsxd rcx, dword [rcx + 4]
add rcx, rbx
mov edx, dword [rax + 8]
call qword [rax]
lea rdx, [rsp + 0x370]
cmp qword [rsp + 0x388], 8
cmovae rdx, qword [rsp + 0x370]
mov r8, qword [rsp + 0x380]
mov rcx, rbx
call fcn.140018d10
lea rdx, [0x1402f02e0]
mov rcx, rax
call fcn.140018930
mov rcx, rax
mov rdx, r14
call fcn.140018930
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x14036af98], eax
jle 0x14005b1d7
lea rcx, [0x14036af98]
call fcn.140229c6c
cmp dword [0x14036af98], 0xffffffff
jne 0x14005b1d7
lea rbx, [0x14036afa0]
mov rcx, rbx
call fcn.140009d24
lea rcx, [0x14027cd90]
call fcn.140229a10
lea rcx, [0x14036af98]
call fcn.140229c0c
jmp 0x14005b1de
lea rbx, [0x14036afa0]
lea rcx, [rsp + 0x2f0]
call fcn.140006790
mov qword [rsp + 0x300], r12
mov qword [rsp + 0x308], 7
mov word [rsp + 0x2f0], r12w
or esi, 2
mov dword [rsp + 0x30], esi
mov rdx, qword [rsp + 0x178]
test dl, 2
jne 0x14005b26d
mov rax, qword [rsp + 0x148]
mov rcx, qword [rax]
test rcx, rcx
je 0x14005b26d
mov rax, qword [rsp + 0x128]
mov rdx, qword [rax]
mov qword [rsp + 0x70], rcx
lea r8, [rsp + 0x170]
lea rax, [rsp + 0x70]
cmp rcx, qword [rsp + 0x170]
cmovae r8, rax
mov r8, qword [r8]
sub r8, rdx
sar r8, 1
lea rcx, [rsp + 0x2f0]
call fcn.14000997c
jmp 0x14005b2b1
test dl, 4
jne 0x14005b2b1
mov rax, qword [rsp + 0x140]
mov rcx, qword [rax]
test rcx, rcx
je 0x14005b2b1
mov rax, qword [rsp + 0x120]
mov rdx, qword [rax]
mov rax, qword [rsp + 0x158]
movsxd r8, dword [rax]
add r8, r8
sub r8, rdx
add r8, rcx
sar r8, 1
lea rcx, [rsp + 0x2f0]
call fcn.14000997c
and esi, 0xfffffffd
mov dword [rsp + 0x30], esi
or esi, 1
mov dword [rsp + 0x30], esi
mov rdx, qword [0x14036afb8]
cmp rdx, 8
jb 0x14005b315
lea rdx, [rdx*2 + 2]
mov qword [rsp + 0x3b0], rdx
mov rcx, qword [0x14036afa0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005b310
add rdx, 0x27
mov qword [rsp + 0x3b0], rdx
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005b69d
call fcn.140004154
mov qword [0x14036afb0], r12
mov qword [0x14036afb8], 7
mov word [0x14036afa0], r12w
movups xmm0, xmmword [rsp + 0x2f0]
movups xmmword [0x14036afa0], xmm0
movups xmm1, xmmword [rsp + 0x300]
movups xmmword [0x14036afb0], xmm1
mov qword [rsp + 0x300], r12
mov qword [rsp + 0x308], 7
mov word [rsp + 0x2f0], r12w
and esi, 0xfffffffe
mov dword [rsp + 0x30], esi
lea rcx, [rsp + 0x2f0]
call fcn.140009568
nop
lea rcx, [rsp + 0x330]
call fcn.140009568
nop
lea rcx, [rsp + 0x350]
call fcn.140009568
nop
lea rcx, [rsp + 0x310]
call fcn.140009568
nop
lea rcx, [rsp + 0x370]
call fcn.140009568
nop
lea rcx, [rsp + 0xf0]
call fcn.14001b1e0
call fcn.140022280
cmp qword [0x14036afb8], 8
cmovae rbx, qword [0x14036afa0]
mov r8, qword [0x14036afb0]
mov rdx, rbx
mov rcx, rax
call fcn.140018d10
lea rdx, str.WMI_CPU:
mov rcx, rax
call fcn.140017150
mov rbx, rax
mov rdx, qword [r13 + 0x30]
mov rcx, rax
call fcn.140018930
mov rcx, qword [rbx]
movsxd rcx, dword [rcx + 4]
add rcx, rbx
mov dl, 0xa
call fcn.140019200
movzx edx, ax
mov rcx, rbx
call fcn.140019040
mov rcx, rbx
call fcn.140019c40
lea r9, [rsp + 0x50]
lea r8, str.Manufacturer
mov rdx, qword [rsp + 0x38]
call fcn.14005c040
test al, al
je 0x14005b455
lea rcx, [r13 + 0x20]
lea rdx, [rsp + 0x50]
call fcn.14005d710
lea r9, [rsp + 0x50]
lea r8, str.MaxClockSpeed
mov rdx, qword [rsp + 0x38]
call fcn.14005c040
test al, al
je 0x14005b613
lea rcx, [rsp + 0x1f0]
call fcn.14001b520
nop
cmp word [rsp + 0x50], 0x13
jne 0x14005b48f
mov ebx, dword [rsp + 0x58]
jmp 0x14005b4ce
lea rcx, [rsp + 0x78]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
nop
mov r9d, 0x13
xor r8d, r8d
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x78]
call qword [sym.imp.OLEAUT32.dll_VariantTimeToDosDateTime]
test eax, eax
js 0x14005b6a3
mov ebx, dword [rsp + 0x80]
lea rcx, [rsp + 0x78]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov edx, ebx
lea rcx, [rsp + 0x200]
call fcn.14001b6b0
mov rcx, rax
lea rdx, str._MHz
call fcn.140018930
nop
lea rcx, [rsp + 0x390]
call fcn.140006790
mov qword [rsp + 0x3a0], r12
mov qword [rsp + 0x3a8], 7
mov word [rsp + 0x390], r12w
or esi, 8
mov dword [rsp + 0x30], esi
mov rdx, qword [rsp + 0x278]
test dl, 2
jne 0x14005b57c
mov rax, qword [rsp + 0x248]
mov rcx, qword [rax]
test rcx, rcx
je 0x14005b57c
mov rax, qword [rsp + 0x228]
mov rdx, qword [rax]
mov qword [rsp + 0x48], rcx
lea r8, [rsp + 0x270]
lea rax, [rsp + 0x48]
cmp rcx, qword [rsp + 0x270]
cmovae r8, rax
mov r8, qword [r8]
sub r8, rdx
sar r8, 1
lea rcx, [rsp + 0x390]
call fcn.14000997c
jmp 0x14005b5c0
test dl, 4
jne 0x14005b5c0
mov rax, qword [rsp + 0x240]
mov rcx, qword [rax]
test rcx, rcx
je 0x14005b5c0
mov rax, qword [rsp + 0x220]
mov rdx, qword [rax]
mov rax, qword [rsp + 0x258]
movsxd r8, dword [rax]
add r8, r8
sub r8, rdx
add r8, rcx
sar r8, 1
lea rcx, [rsp + 0x390]
call fcn.14000997c
and esi, 0xfffffff7
mov dword [rsp + 0x30], esi
or esi, 4
mov dword [rsp + 0x30], esi
lea rdx, [rsp + 0x390]
cmp qword [rsp + 0x3a8], 8
cmovae rdx, qword [rsp + 0x390]
lea rcx, [r13 + 0x10]
call fcn.140058ce0
and esi, 0xfffffffb
mov dword [rsp + 0x30], esi
lea rcx, [rsp + 0x390]
call fcn.140009568
nop
lea rcx, [rsp + 0x1f0]
call fcn.14001b1e0
lea r9, [rsp + 0x50]
lea r8, str.Caption
mov rdx, qword [rsp + 0x38]
call fcn.14005c040
test al, al
je 0x14005b63e
lea rcx, [r13 + 0x98]
lea rdx, [rsp + 0x50]
call fcn.14005d710
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
nop
lea rcx, [rsp + 0x50]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
nop
lea rcx, [rsp + 0x3b8]
call fcn.140019d90
mov al, 1
mov rcx, qword [rsp + 0x3e0]
xor rcx, rsp
call fcn.140229750
lea r11, [rsp + 0x3f0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
call fcn.140230b64
nop
mov ecx, eax
call fcn.14022aaf0
int3