Function at 0x14000fcf0
Capabilities:
Delete registry value
Query or enumerate registry value
Set registry value

Disassembly:
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x2400
call fcn.1400a12b0
sub rsp, rax
mov qword [rsp + 0x120], 0xfffffffffffffffe
cmp dword [0x1400df34c], 8
jae 0x14001074e
test byte [0x1400df4d4], 2
je 0x14001074e
lea rcx, [0x1400e0890]
call fcn.14003a7d0
mov r12d, eax
cmp eax, dword [0x1400e1a88]
jae 0x14001074e
mov edx, eax
lea rcx, [0x1400e0890]
call fcn.14003e420
mov rsi, rax
test rax, rax
je 0x14001074e
mov rcx, rax
call fcn.140046f50
mov rdi, rax
xor eax, eax
or rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
not rcx
sub rcx, 1
mov rbx, rcx
je 0x14001074e
add rcx, 1
call fcn.14007de00
mov r13, rax
mov qword [rsp + 0x50], rax
test rax, rax
je 0x14001074e
xor r14d, r14d
mov dword [rsp + 0x130], r14d
xor edx, edx
lea r8d, [r14 + 0x4c]
lea rcx, [rsp + 0x134]
call fcn.14007cd30
mov dword [rsp + 0x2440], r14d
lea r8, [rbx + 1]
xor edx, edx
mov rcx, r13
call fcn.14007cd30
mov rcx, rsi
call fcn.140046f50
mov rdx, rax
mov r8, rbx
mov rcx, r13
call fcn.14007cf10
mov dword [rsp + 0x130], 0x50
mov dword [rsp + 0x134], 4
lea rax, str.DisableVLD
mov qword [rsp + 0x138], rax
mov dword [rsp + 0x140], 4
lea rax, [rsp + 0x2440]
mov qword [rsp + 0x148], rax
cmp dword [0x1400df34c], 6
jae 0x14000fe47
mov dword [rsp + 0x158], 0x80000002
mov qword [rsp + 0x150], r13
mov edx, r12d
lea rcx, [0x1400e0890]
call fcn.14003a1c0
lea rcx, [rax + 4]
xor r8d, r8d
lea rdx, [rsp + 0x130]
call fcn.140065db0
test eax, eax
je 0x140010744
cmp dword [rsp + 0x2440], r14d
jne 0x140010744
mov qword [rsp + 0x40], r14
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 0x2001f
xor r8d, r8d
lea rdx, str.SoftwareATI_TechnologiesDriver
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x140010744
mov dword [rsp + 0x48], 1
mov dword [rsp + 0x2448], 0x21
xor eax, eax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rax
mov byte [rsp + 0x78], al
lea rax, [rsp + 0x2448]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x48]
xor r8d, r8d
lea rdx, str.SetVLDInitialMode
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x140010744
cmp dword [rsp + 0x2448], r14d
je 0x140010744
mov dword [rsp + 0xa0], r14d
xor edx, edx
lea r8d, [rax + 0x7c]
lea rcx, [rsp + 0xa4]
call fcn.14007cd30
mov dword [rsp + 0x280], r14d
xor edx, edx
mov r8d, 0x10bc
lea rcx, [rsp + 0x284]
call fcn.14007cd30
mov dword [rsp + 0x2458], r14d
mov dword [rsp + 0x2450], r14d
xor eax, eax
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x98], rax
mov dword [rsp + 0x28], 0x20
lea rax, [rsp + 0x80]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, str.SetVLDInitialMode
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea rdx, str.SetVLDInitialMode
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [rsp + 0x280], 0x10c0
lea rdx, [0x1400a780c]
lea rcx, [rsp + 0x58]
call fcn.14007e2a8
mov rdx, rax
xor ecx, ecx
test rax, rax
setne cl
test ecx, ecx
je 0x140010650
cmp dword [0x1400dd138], r14d
je 0x140010023
lea rcx, str.InitVLDSetting___width__s
call fcn.14000cbb0
mov rcx, rax
call fcn.14007e238
mov edi, eax
mov dword [rsp + 0x38], eax
lea rdx, [0x1400a780c]
xor ecx, ecx
call fcn.14007e2a8
mov rdx, rax
test rax, rax
je 0x140010669
test edi, edi
je 0x140010669
cmp dword [0x1400dd138], r14d
je 0x140010068
lea rcx, str.InitVLDSetting___height__s
call fcn.14000cbb0
mov rcx, rax
call fcn.14007e238
mov edi, eax
mov dword [rsp + 0x3c], eax
lea rdx, [0x1400a780c]
xor ecx, ecx
call fcn.14007e2a8
mov rdx, rax
test rax, rax
je 0x14001067e
test edi, edi
je 0x14001067e
cmp dword [0x1400dd138], r14d
je 0x1400100ad
lea rcx, str.InitVLDSetting___bpp__s
call fcn.14000cbb0
mov rcx, rax
call fcn.14007e238
mov edi, eax
mov dword [rsp + 0x4c], eax
lea rdx, [0x1400a780c]
xor ecx, ecx
call fcn.14007e2a8
mov rdx, rax
test rax, rax
je 0x140010693
test edi, edi
je 0x140010693
cmp dword [0x1400dd138], r14d
je 0x1400100f2
lea rcx, str.InitVLDSetting___hz__s
call fcn.14000cbb0
mov rcx, rax
call fcn.14007e238
mov r15d, eax
lea rdx, [0x1400a780c]
xor ecx, ecx
call fcn.14007e2a8
mov rdx, rax
test rax, rax
je 0x1400106a8
test r15d, r15d
je 0x1400106a8
xor eax, eax
mov dword [rsp + 0x30], eax
mov word [rsp + 0x34], ax
mov byte [rsp + 0x36], al
lea rcx, [rsp + 0x30]
sub rcx, rdx
nop
nop
nop
movzx eax, byte [rdx]
mov byte [rcx + rdx], al
add rdx, 1
test al, al
jne 0x140010140
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x30]
repne scasb al, byte [rdi]
not rcx
cmp rcx, 1
setne al
cmp dword [0x1400dd138], r14d
je 0x14001017f
lea rdx, [rsp + 0x30]
lea rcx, str.InitVLDSetting___config__s
call fcn.14000cbb0
test eax, eax
je 0x1400106bd
mov dword [rsp + 0xa0], 0x80
mov dword [rsp + 0xa4], 3
xor ebx, ebx
mov edx, 1
mov dword [rsp + 0xa8], edx
xor r8d, r8d
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x30]
repne scasb al, byte [rdi]
not rcx
sub rcx, rdx
mov r9, rcx
je 0x14001023c
lea rdi, [rsp + 0x30]
mov esi, dword [rsp + 0xac]
movzx eax, byte [rdi]
cmp al, 0x20
jne 0x1400101e5
add edx, 1
mov dword [rsp + 0xa8], edx
jmp 0x14001022c
cmp al, 0x30
jl 0x1400106bd
cmp al, 0x39
jg 0x1400106bd
movsx ecx, al
sub ecx, 0x30
mov eax, esi
mov dword [rsp + rax*4 + 0xb0], ecx
mov esi, dword [rsp + 0xac]
mov ecx, dword [rsp + rsi*4 + 0xb0]
mov eax, 1
shl eax, cl
or ebx, eax
add esi, 1
mov dword [rsp + 0xac], esi
mov edx, dword [rsp + 0xa8]
add r8d, 1
add rdi, 1
mov eax, r8d
cmp rax, r9
jb 0x1400101d2
xor edx, edx
mov r8d, 0x10bc
lea rcx, [rsp + 0x1344]
call fcn.14007cd30
mov dword [rsp + 0x1340], 0x10c0
mov edx, r12d
lea rcx, [0x1400e0890]
call fcn.14003a1c0
lea rcx, [rax + 4]
xor r8d, r8d
lea rdx, [rsp + 0x1340]
call fcn.140065ee0
test eax, eax
je 0x1400106bd
test byte [rsp + 0x1344], 4
je 0x1400106bd
mov eax, dword [rsp + 0x1390]
cmp eax, dword [rsp + 0xac]
jb 0x1400106bd
xor edi, edi
test eax, eax
je 0x1400102d5
lea rdx, [rsp + 0x1394]
mov rsi, rax
nop
nop
mov ecx, dword [rdx]
mov eax, 1
shl eax, cl
or edi, eax
add rdx, 4
sub rsi, 1
jne 0x1400102c0
and edi, ebx
cmp edi, ebx
jne 0x1400106bd
mov edx, r12d
lea rcx, [0x1400e0890]
call fcn.14003a1c0
lea rcx, [rax + 4]
lea r9, [rsp + 0x2458]
lea r8, [rsp + 0x2450]
xor edx, edx
call fcn.14002d760
test eax, eax
jne 0x140010324
cmp dword [0x1400dd138], r14d
je 0x140010339
lea rcx, str.InitVLDSetting___Cannot_set_PruningMode_value
call fcn.14000cbb0
jmp 0x140010339
cmp dword [0x1400dd138], r14d
je 0x140010339
lea rcx, str.InitVLDSetting___PruningMode_value_Set
call fcn.14000cbb0
mov edx, r12d
lea rcx, [0x1400e0890]
call fcn.14003a1c0
lea rcx, [rax + 4]
xor r9d, r9d
lea r8, [rsp + 0x280]
lea rdx, [rsp + 0xa0]
call fcn.140065ec0
test eax, eax
je 0x1400106d2
mov byte [rsp + 0x180], r14b
xor eax, eax
mov qword [rsp + 0x181], rax
mov qword [rsp + 0x189], rax
mov qword [rsp + 0x191], rax
mov dword [rsp + 0x199], eax
mov word [rsp + 0x19d], ax
mov byte [rsp + 0x19f], al
xor edx, edx
lea r8d, [rax + 0x7c]
lea rcx, [rsp + 0x1a0]
call fcn.14007cd30
mov word [rsp + 0x1a4], 0x9c
xor r13d, r13d
cmp r13d, 3
jae 0x1400104c3
xor ebx, ebx
mov edx, r12d
lea rcx, [0x1400e0890]
call fcn.14003a1c0
add rax, 4
je 0x140010425
lea rdi, [0x1400a6078]
mov rsi, rax
mov ecx, 8
repe cmpsb byte [rsi], byte [rdi]
je 0x140010425
cmp dword [0x1400df33c], 2
jne 0x14001040a
cmp dword [0x1400df34c], 3
jae 0x140010425
mov r9d, 2
lea r8, [rsp + 0x180]
mov edx, ebx
mov rcx, rax
call qword [sym.imp.USER32.dll_EnumDisplaySettingsExA]
jmp 0x14001043d
mov r9d, 2
lea r8, [rsp + 0x180]
mov edx, ebx
xor ecx, ecx
call qword [sym.imp.USER32.dll_EnumDisplaySettingsExA]
test eax, eax
je 0x1400104b4
mov eax, dword [rsp + 0x4c]
cmp dword [rsp + 0x1e8], eax
jne 0x140010472
mov eax, dword [rsp + 0x3c]
cmp dword [rsp + 0x1f0], eax
jne 0x140010472
mov eax, dword [rsp + 0x38]
cmp dword [rsp + 0x1ec], eax
jne 0x140010472
cmp dword [rsp + 0x1f8], r15d
je 0x140010499
xor edx, edx
mov r8d, 0x9c
lea rcx, [rsp + 0x180]
call fcn.14007cd30
mov word [rsp + 0x1a4], 0x9c
add ebx, 1
jmp 0x1400103d0
mov r14d, 1
cmp dword [0x1400dd138], 0
je 0x1400104b4
lea rcx, str.InitVLDSetting___Specified_VLD_Mode_found_in_mode_list
call fcn.14000cbb0
add r13d, 1
test r14d, r14d
je 0x1400103c4
jmp 0x1400104cc
test r14d, r14d
je 0x14001059f
mov edi, 0x2d
mov dword [rsp + 0x220], 0
xor edx, edx
lea r8d, [rdx + 0x5c]
lea rcx, [rsp + 0x224]
call fcn.14007cd30
mov edx, r12d
lea rcx, [0x1400e0890]
call fcn.14003a1c0
lea rcx, [rax + 4]
xor r8d, r8d
lea rdx, [rsp + 0x220]
call fcn.140065f00
test eax, eax
je 0x14001052a
cmp dword [rsp + 0x228], 0
jne 0x14001052a
cmp dword [rsp + 0x22c], 0
je 0x14001053a
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
add edi, 0xffffffff
jne 0x1400104d1
mov edx, r12d
lea rcx, [0x1400e0890]
call fcn.14003a1c0
lea rcx, [rax + 4]
mov r8d, 0x40000001
lea rdx, [rsp + 0x180]
call fcn.14000bab0
test eax, eax
jne 0x140010581
cmp dword [0x1400dd138], eax
je 0x140010744
lea rcx, str.InitVLDSetting___ChangeDisplaySettingsEx_passed
call fcn.14000cbb0
jmp 0x140010744
cmp dword [0x1400dd138], 0
je 0x140010744
lea rcx, str.InitVLDSetting___ChangeDisplaySettingsEx_failed__1_
call fcn.14000cbb0
jmp 0x140010744
cmp dword [0x1400dd138], 0
je 0x1400105b4
lea rcx, str.InitVLDSetting___Specified_VLD_Mode_is_not_in_OS_mode_list
call fcn.14000cbb0
xor edx, edx
mov r8d, 0x80
lea rcx, [rsp + 0xa0]
call fcn.14007cd30
xor edx, edx
mov r8d, 0x10c0
lea rcx, [rsp + 0x280]
call fcn.14007cd30
mov dword [rsp + 0x280], 0x10c0
mov dword [rsp + 0xa0], 0x80
mov dword [rsp + 0xa4], 1
mov edx, r12d
lea rcx, [0x1400e0890]
call fcn.14003a1c0
lea rcx, [rax + 4]
xor r9d, r9d
lea r8, [rsp + 0x280]
lea rdx, [rsp + 0xa0]
call fcn.140065ec0
test eax, eax
je 0x1400106d2
cmp dword [0x1400dd138], 0
je 0x1400106d2
lea rcx, str.InitVLDSetting___VLD_mode_UNSET
call fcn.14000cbb0
jmp 0x1400106d2
cmp dword [0x1400dd138], r14d
je 0x1400106d2
lea rcx, str.InitVLDSetting___error_with_width
call fcn.14000cbb0
cmp dword [0x1400dd138], r14d
je 0x1400106d2
lea rcx, str.InitVLDSetting___error_with_height
call fcn.14000cbb0
cmp dword [0x1400dd138], r14d
je 0x1400106d2
lea rcx, str.InitVLDSetting___error_with_bpp
call fcn.14000cbb0
cmp dword [0x1400dd138], r14d
je 0x1400106d2
lea rcx, str.InitVLDSetting___error_with_hz
call fcn.14000cbb0
cmp dword [0x1400dd138], r14d
je 0x1400106d2
lea rcx, str.InitVLDSetting___error_with_conig
call fcn.14000cbb0
cmp dword [0x1400dd138], r14d
je 0x1400106d2
lea rcx, str.InitialVLDSetting___Incorrect_info_in_SetVLDInitialMode
call fcn.14000cbb0
cmp dword [rsp + 0x2450], 0
je 0x140010744
mov edi, dword [rsp + 0x2458]
xor r14d, r14d
mov dword [rsp + 0x38], r14d
mov dword [rsp + 0x3c], r14d
mov edx, r12d
lea rcx, [0x1400e0890]
call fcn.14003a1c0
lea rcx, [rax + 4]
lea r9, [rsp + 0x38]
lea r8, [rsp + 0x3c]
mov edx, edi
call fcn.14002d760
test eax, eax
jne 0x14001072f
cmp dword [0x1400dd138], r14d
je 0x140010744
lea rcx, str.InitVLDSetting___Cannot_set_PruningMode_value
call fcn.14000cbb0
jmp 0x140010744
cmp dword [0x1400dd138], r14d
je 0x140010744
lea rcx, str.InitVLDSetting___PruningMode_value_Set
call fcn.14000cbb0
mov rcx, qword [rsp + 0x50]
call fcn.14007ddf8
add rsp, 0x2400
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret