Function at 0x14004f240
Capabilities:
Reference wmi statements

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x930
mov rax, qword [0x14030a918]
xor rax, rsp
mov qword [rsp + 0x920], rax
mov rsi, rdx
mov rdi, rcx
xor r15d, r15d
mov qword [rsp + 0x218], r15
movdqa xmm0, xmmword [0x1402c55e0]
movdqu xmmword [rsp + 0x228], xmm0
mov word [rsp + 0x218], r15w
mov byte [rsp + 0x210], r15b
lea rdx, str.srl::WMI::GetGpuInfo
lea rcx, [rsp + 0x218]
call fcn.140009b0c
nop
call fcn.14001ff80
cmp dword [rax + 8], 4
jl 0x14004f2c6
lea rcx, [rsp + 0x210]
call fcn.140015b20
cmp byte [rdi + 0x28], 0
jne 0x14004f2e0
lea rcx, [rsp + 0x210]
call fcn.140017440
xor al, al
jmp 0x14004fb9e
xor bl, bl
mov byte [rsp + 0x30], bl
lea r8, [rsp + 0x80]
lea rdx, str.SELECT__FROM_Win32_VideoController
mov rcx, rdi
call fcn.140051c10
test al, al
je 0x14004fb87
mov dword [rsp + 0x38], r15d
mov rcx, qword [rsp + 0x80]
mov rax, qword [rcx]
lea rdx, [rsp + 0x38]
mov qword [rsp + 0x20], rdx
lea r9, [rsp + 0x2e0]
mov edx, 0xffffffff
mov r8d, MsiSourceListClearAllW
call qword [rax + 0x20]
test eax, eax
js 0x14004fb78
mov r14d, r15d
lea r12, vtable.srl::DeviceID.0
nop word [rax + rax]
cmp r14d, dword [rsp + 0x38]
jae 0x14004fb78
lea rcx, [rsp + 0xd0]
call fcn.140024f60
nop
lea rcx, [rsp + 0x40]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
nop
mov eax, r14d
lea rdi, [rsp + 0x2e0]
lea rdi, [rdi + rax*8]
lea r9, [rsp + 0x40]
lea r8, str.DeviceID
mov rdx, qword [rdi]
call fcn.140051480
lea r9, [rsp + 0x40]
lea r8, str.Name
mov rdx, qword [rdi]
call fcn.140051480
test al, al
je 0x14004f4e6
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x58]
call fcn.140052ba0
nop
mov rax, qword [rax]
test rax, rax
je 0x14004f3d1
mov rdx, qword [rax]
jmp 0x14004f3d4
mov rdx, r15
lea rcx, [rsp + 0x238]
call fcn.140009744
mov rdx, rax
cmp qword [rax + 0x18], 8
jb 0x14004f3ee
mov rdx, qword [rax]
test rdx, rdx
je 0x14004f41c
mov rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp word [rdx + rax*2], 0
jne 0x14004f400
mov r8d, eax
lea rcx, [rsp + 0xd8]
call fcn.140002aa8
jmp 0x14004f429
lea rcx, [rsp + 0xd8]
call fcn.1400028b4
mov rdx, qword [rsp + 0x250]
cmp rdx, 8
jb 0x14004f471
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x238]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004f46c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004fbc6
call fcn.14000410c
mov qword [rsp + 0x248], r15
mov qword [rsp + 0x250], 7
mov word [rsp + 0x238], r15w
mov rbx, qword [rsp + 0x58]
test rbx, rbx
je 0x14004f4e1
mov eax, 0xffffffff
lock xadd dword [rbx + 0x10], eax
cmp eax, 1
jne 0x14004f4dc
test rbx, rbx
je 0x14004f4dc
mov rcx, qword [rbx]
test rcx, rcx
je 0x14004f4bd
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], r15
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14004f4cf
call fcn.140074804
mov qword [rbx + 8], r15
mov edx, 0x18
mov rcx, rbx
call fcn.14000410c
mov qword [rsp + 0x58], r15
mov byte [rsp + 0x30], 1
lea r9, [rsp + 0x40]
lea r8, str.VideoProcessor
mov rdx, qword [rdi]
call fcn.140051480
test al, al
je 0x14004f631
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x60]
call fcn.140052ba0
nop
mov rax, qword [rax]
test rax, rax
je 0x14004f51f
mov rdx, qword [rax]
jmp 0x14004f522
mov rdx, r15
lea rcx, [rsp + 0x258]
call fcn.140009744
mov rdx, rax
cmp qword [rax + 0x18], 8
jb 0x14004f53c
mov rdx, qword [rax]
test rdx, rdx
je 0x14004f56c
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp word [rdx + rax*2], 0
jne 0x14004f550
mov r8d, eax
lea rcx, [rsp + 0xe8]
call fcn.140002aa8
jmp 0x14004f579
lea rcx, [rsp + 0xe8]
call fcn.1400028b4
mov rdx, qword [rsp + 0x270]
cmp rdx, 8
jb 0x14004f5c1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x258]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004f5bc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004fbcc
call fcn.14000410c
mov qword [rsp + 0x268], r15
mov qword [rsp + 0x270], 7
mov word [rsp + 0x258], r15w
mov rbx, qword [rsp + 0x60]
test rbx, rbx
je 0x14004f631
mov eax, 0xffffffff
lock xadd dword [rbx + 0x10], eax
cmp eax, 1
jne 0x14004f62c
test rbx, rbx
je 0x14004f62c
mov rcx, qword [rbx]
test rcx, rcx
je 0x14004f60d
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], r15
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14004f61f
call fcn.140074804
mov qword [rbx + 8], r15
mov edx, 0x18
mov rcx, rbx
call fcn.14000410c
mov qword [rsp + 0x60], r15
lea r9, [rsp + 0x40]
lea r8, str.AdapterDACType
mov rdx, qword [rdi]
call fcn.140051480
test al, al
je 0x14004f774
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x68]
call fcn.140052ba0
nop
mov rax, qword [rax]
test rax, rax
je 0x14004f66a
mov rdx, qword [rax]
jmp 0x14004f66d
mov rdx, r15
lea rcx, [rsp + 0x278]
call fcn.140009744
mov rdx, rax
cmp qword [rax + 0x18], 8
jb 0x14004f687
mov rdx, qword [rax]
test rdx, rdx
je 0x14004f6af
mov rax, 0xffffffffffffffff
inc rax
cmp word [rdx + rax*2], 0
jne 0x14004f693
mov r8d, eax
lea rcx, [rsp + 0x108]
call fcn.140002aa8
jmp 0x14004f6bc
lea rcx, [rsp + 0x108]
call fcn.1400028b4
mov rdx, qword [rsp + 0x290]
cmp rdx, 8
jb 0x14004f704
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x278]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004f6ff
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004fbd2
call fcn.14000410c
mov qword [rsp + 0x288], r15
mov qword [rsp + 0x290], 7
mov word [rsp + 0x278], r15w
mov rbx, qword [rsp + 0x68]
test rbx, rbx
je 0x14004f774
mov eax, 0xffffffff
lock xadd dword [rbx + 0x10], eax
cmp eax, 1
jne 0x14004f76f
test rbx, rbx
je 0x14004f76f
mov rcx, qword [rbx]
test rcx, rcx
je 0x14004f750
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], r15
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14004f762
call fcn.140074804
mov qword [rbx + 8], r15
mov edx, 0x18
mov rcx, rbx
call fcn.14000410c
mov qword [rsp + 0x68], r15
lea r9, [rsp + 0x40]
lea r8, str.AdapterRAM
mov rdx, qword [rdi]
call fcn.140051480
test al, al
je 0x14004f7f1
cmp word [rsp + 0x40], 0x17
jne 0x14004f79a
mov ebx, dword [rsp + 0x48]
jmp 0x14004f7e2
lea rcx, [rsp + 0xb0]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
nop
mov r9d, 0x17
xor r8d, r8d
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0xb0]
call qword [sym.imp.OLEAUT32.dll_VariantTimeToDosDateTime]
test eax, eax
js 0x14004fbd8
mov ebx, dword [rsp + 0xb8]
lea rcx, [rsp + 0xb0]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov edx, ebx
lea rcx, [rsp + 0x180]
call fcn.140069110
lea r9, [rsp + 0x40]
lea r8, str.DriverVersion
mov rdx, qword [rdi]
call fcn.140051480
test al, al
je 0x14004f932
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x70]
call fcn.140052ba0
nop
mov rax, qword [rax]
test rax, rax
je 0x14004f82a
mov rdx, qword [rax]
jmp 0x14004f82d
mov rdx, r15
lea rcx, [rsp + 0x298]
call fcn.140009744
mov rdx, rax
cmp qword [rax + 0x18], 8
jb 0x14004f847
mov rdx, qword [rax]
test rdx, rdx
jne 0x14004f851
mov eax, r15d
jmp 0x14004f86a
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp word [rdx + rax*2], 0
jne 0x14004f860
mov r8d, eax
lea rcx, [rsp + 0x128]
call fcn.140002aa8
mov rdx, qword [rsp + 0x2b0]
cmp rdx, 8
jb 0x14004f8c2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x298]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004f8bd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004fbe0
call fcn.14000410c
mov qword [rsp + 0x2a8], r15
mov qword [rsp + 0x2b0], 7
mov word [rsp + 0x298], r15w
mov rbx, qword [rsp + 0x70]
test rbx, rbx
je 0x14004f932
mov eax, 0xffffffff
lock xadd dword [rbx + 0x10], eax
cmp eax, 1
jne 0x14004f92d
test rbx, rbx
je 0x14004f92d
mov rcx, qword [rbx]
test rcx, rcx
je 0x14004f90e
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], r15
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14004f920
call fcn.140074804
mov qword [rbx + 8], r15
mov edx, 0x18
mov rcx, rbx
call fcn.14000410c
mov qword [rsp + 0x70], r15
lea r9, [rsp + 0x40]
lea r8, str.InstalledDisplayDrivers
mov rdx, qword [rdi]
call fcn.140051480
lea r9, [rsp + 0x40]
lea r8, str.PNPDeviceID
mov rdx, qword [rdi]
call fcn.140051480
test al, al
je 0x14004fb10
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x78]
call fcn.140052ba0
nop
mov rax, qword [rax]
test rax, rax
je 0x14004f97f
mov rdx, qword [rax]
jmp 0x14004f982
mov rdx, r15
lea rcx, [rsp + 0x2b8]
call fcn.140009744
mov rbx, rax
mov qword [rsp + 0x88], r12
call fcn.140010210
mov rcx, rax
test rax, rax
je 0x14004fbe6
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x90], rax
cmp qword [rbx + 0x18], 8
jb 0x14004f9c7
mov rbx, qword [rbx]
mov rdx, rbx
lea rcx, [rsp + 0x88]
call fcn.14005e460
nop
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x198]
call fcn.140002bd8
mov eax, dword [rsp + 0x98]
mov dword [rsp + 0x1a0], eax
mov eax, dword [rsp + 0x9c]
mov dword [rsp + reloc.OLEAUT32.dll_OleTranslateColor], eax
mov eax, dword [rsp + 0xa0]
mov dword [rsp + 0x1a8], eax
mov eax, dword [rsp + 0xa4]
mov dword [rsp + 0x1ac], eax
mov eax, dword [rsp + 0xa8]
mov dword [rsp + 0x1b0], eax
mov rdx, qword [rsp + 0x90]
add rdx, 0xffffffffffffffe8
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14004fa58
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x2d0]
cmp rdx, 8
jb 0x14004faa0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x2b8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004fa9b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004fbf1
call fcn.14000410c
mov qword [rsp + 0x2c8], r15
mov qword [rsp + 0x2d0], 7
mov word [rsp + 0x2b8], r15w
mov rbx, qword [rsp + 0x78]
test rbx, rbx
je 0x14004fb10
mov eax, 0xffffffff
lock xadd dword [rbx + 0x10], eax
cmp eax, 1
jne 0x14004fb0b
test rbx, rbx
je 0x14004fb0b
mov rcx, qword [rbx]
test rcx, rcx
je 0x14004faec
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], r15
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14004fafe
call fcn.140074804
mov qword [rbx + 8], r15
mov edx, 0x18
mov rcx, rbx
call fcn.14000410c
mov qword [rsp + 0x78], r15
mov rax, qword [rsi + 8]
cmp rax, qword [rsi + 0x10]
je 0x14004fb34
lea rdx, [rsp + 0xd0]
mov rcx, rax
call fcn.1400266f0
add qword [rsi + 8], 0x138
jmp 0x14004fb47
lea r8, [rsp + 0xd0]
mov rdx, rax
mov rcx, rsi
call fcn.140026450
mov bl, 1
mov byte [rsp + 0x30], bl
mov rcx, qword [rdi]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
nop
lea rcx, [rsp + 0x40]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
nop
lea rcx, [rsp + 0xd0]
call fcn.140026b00
inc r14d
jmp 0x14004f350
mov rcx, qword [rsp + 0x80]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
nop
jmp 0x14004fb8e
lea rcx, [rsp + 0x210]
call fcn.140017440
movzx eax, bl
mov rcx, qword [rsp + 0x920]
xor rcx, rsp
call fcn.140211820
mov rbx, qword [rsp + 0x970]
add rsp, 0x930
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
call fcn.14021a85c
nop
call fcn.14021a85c
nop
call fcn.14021a85c
nop
mov ecx, eax
call fcn.140212ab0
nop
call fcn.14021a85c
nop
mov ecx, 0x80004005
call fcn.140002d2c
nop
call fcn.14021a85c
int3