Function at 0x14000dd2c
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x2f0
mov rax, qword [0x140066550]
xor rax, rsp
mov qword [rsp + 0x2e0], rax
and qword [rsp + 0x40], 0
and qword [rsp + 0x58], 0
and dword [rsp + 0x30], 0
and dword [rsp + 0x38], 0
and qword [rsp + 0x48], 0
xor edx, edx
lea rax, [rsp + 0x48]
lea r8d, [rdx + 0x15]
lea r9, [0x140053ae0]
lea rcx, [0x140053b40]
mov dword [rsp + 0x34], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ole32.dll_CoCreateInstance]
lea r8, [rsp + 0x40]
lea rdx, str.SoftwareIntelDisplayigfxcui3D
mov rcx, 0xffffffff80000002
mov esi, eax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
lea r8, [rsp + 0x58]
lea rdx, str.SoftwareIntelDisplayigfxcui3D
mov rcx, 0xffffffff80000001
mov ebp, eax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
and qword [rsp + 0x50], 0
xor ebx, ebx
mov edi, eax
lea rax, [rsp + 0x50]
lea r9, [0x140053ab0]
lea r8d, [rbx + 0x15]
lea rcx, [0x140053b10]
xor edx, edx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ole32.dll_CoCreateInstance]
lea r14d, [rbx + 1]
test eax, eax
js 0x14000de74
cmp qword [rsp + 0x50], rbx
je 0x14000de74
lea rcx, [rsp + 0xb0]
xor edx, edx
mov r8d, 0x228
call fcn.1400205b0
lea rdx, str.SupportAIL
lea rcx, [rsp + 0xcc]
mov dword [rsp + 0xc8], 5
call fcn.140020b90
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
lea r8, [rsp + 0xb0]
mov edx, 0x228
call qword [rax + 0xe0]
test eax, eax
js 0x14000de74
cmp dword [rsp + 0x2d4], r14d
cmove ebx, r14d
test ebp, ebp
je 0x14000de80
test edi, edi
jne 0x14000e079
cmp qword [rsp + 0x48], 0
je 0x14000e079
test esi, esi
js 0x14000e079
mov edi, 0x48
lea rcx, [rsp + 0x60]
xor edx, edx
mov r8, rdi
call fcn.1400205b0
mov rcx, qword [rsp + 0x40]
lea r11, [rsp + 0x34]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], r11
lea r9, [rsp + 0x38]
lea rdx, str.Basic
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, r14d
lea r9, [rsp + 0x38]
test eax, eax
lea rax, [rsp + 0x34]
lea rdx, str.VertexProcessing
cmove ecx, dword [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x30]
mov dword [rsp + 0x78], ecx
mov rcx, qword [rsp + 0x40]
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, r14d
test eax, eax
lea rax, [rsp + 0x34]
lea r9, [rsp + 0x38]
cmove ecx, dword [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x30]
mov dword [rsp + 0x80], ecx
mov rcx, qword [rsp + 0x40]
lea rdx, str.TextureQuality
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, r14d
lea r9, [rsp + 0x38]
test eax, eax
lea rax, [rsp + 0x34]
lea rdx, str.AnisotropicFiltering
cmove ecx, dword [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x30]
mov dword [rsp + 0x88], ecx
mov rcx, qword [rsp + 0x40]
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
xor ecx, ecx
test eax, eax
lea rax, [rsp + 0x34]
lea r9, [rsp + 0x38]
cmove ecx, dword [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x30]
mov dword [rsp + 0x90], ecx
mov rcx, qword [rsp + 0x40]
lea rdx, str.VSync
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
xor ecx, ecx
test eax, eax
cmove ecx, dword [rsp + 0x30]
mov dword [rsp + 0x98], ecx
cmp ebx, r14d
jne 0x14000e021
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x34]
lea r9, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x30]
lea rdx, [0x140054708]
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
xor ecx, ecx
test eax, eax
cmove ecx, dword [rsp + 0x30]
mov dword [rsp + 0xa0], ecx
mov rcx, qword [rsp + 0x48]
lea r8, [rsp + 0x60]
mov edx, edi
mov rax, qword [rcx]
call qword [rax + 0x48]
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14000e049
mov rax, qword [rcx]
call qword [rax + 0x10]
and qword [rsp + 0x48], 0
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14000e059
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14000e069
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14000e079
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x2e0]
xor rcx, rsp
call fcn.1400206b0
lea r11, [rsp + 0x2f0]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret