Function at 0x1400064bc
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x6c0
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [r11 + 0x20], rbx
mov rax, qword [0x140066550]
xor rax, rsp
mov qword [rsp + 0x6b0], rax
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
xor ebx, ebx
cmp rdx, rbx
je 0x1400076bd
mov dword [rsp + 0x30], 4
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x3c], 1
mov qword [r11 - 0x298], rbx
mov qword [r11 - 0x270], 0xf
mov qword [r11 - 0x278], rbx
mov byte [rsp + 0x470], bl
lea rax, [r8 + 0x1c0]
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x34]
xor r8d, r8d
lea rdx, str.OperatingMode
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, ebx
jne 0x1400076b0
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x34]
xor r8d, r8d
lea rdx, str.PrimaryDevice
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov r15d, 0x410
mov r8, r15
xor edx, edx
lea rcx, [rsp + 0x50]
call fcn.1400208e0
mov dword [rsp + 0x38], r15d
mov r14d, 0x104
mov r8, r14
xor edx, edx
lea rcx, [rsp + 0x5a0]
call fcn.1400208e0
lea r11, [rsp + 0x38]
mov qword [rsp + 0x28], r11
lea rax, [rsp + 0x5a0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x3c]
xor r8d, r8d
lea rdx, str.PrimarySerialNo
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea rcx, [rsp + 0x5a0]
call fcn.14001f8f0
mov r8, rax
lea rdx, [rsp + 0x5a0]
lea rcx, [rsi + 0x40]
call fcn.140005324
mov r8, r15
xor edx, edx
lea rcx, [rsp + 0x50]
call fcn.1400208e0
mov dword [rsp + 0x38], r15d
mov r8, r14
xor edx, edx
lea rcx, [rsp + 0x5a0]
call fcn.1400208e0
lea r11, [rsp + 0x38]
mov qword [rsp + 0x28], r11
lea rax, [rsp + 0x5a0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x3c]
xor r8d, r8d
lea rdx, str.SecondarySerialNo
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea rcx, [rsp + 0x5a0]
call fcn.14001f8f0
mov r8, rax
lea rdx, [rsp + 0x5a0]
lea rcx, [rsi + 0xb0]
call fcn.140005324
mov r8, r15
xor edx, edx
lea rcx, [rsp + 0x50]
call fcn.1400208e0
mov dword [rsp + 0x38], r15d
mov r8, r14
xor edx, edx
lea rcx, [rsp + 0x5a0]
call fcn.1400208e0
lea r11, [rsp + 0x38]
mov qword [rsp + 0x28], r11
lea rax, [rsp + 0x5a0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x3c]
xor r8d, r8d
lea rdx, str.ThirdSerialNo
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea rcx, [rsp + 0x5a0]
call fcn.14001f8f0
mov r8, rax
lea rdx, [rsp + 0x5a0]
lea rcx, [rsi + 0x120]
call fcn.140005324
mov r8, r15
xor edx, edx
lea rcx, [rsp + 0x50]
call fcn.1400208e0
mov dword [rsp + 0x38], r15d
xor edx, edx
mov r8, r14
lea rcx, [rsp + 0x5a0]
call fcn.1400208e0
lea r11, [rsp + 0x38]
mov qword [rsp + 0x28], r11
lea rax, [rsp + 0x5a0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x3c]
xor r8d, r8d
lea rdx, str.FourthSerialNo
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea rcx, [rsp + 0x5a0]
call fcn.14001f8f0
mov r8, rax
lea rdx, [rsp + 0x5a0]
lea rcx, [rsi + 0x190]
call fcn.140005324
mov edx, dword [rsp + 0x40]
cmp edx, ebx
je 0x14000680c
lea r8, [rsp + 0x460]
mov rcx, rdi
call fcn.140006040
mov r11, qword [rsp + 0x480]
cmp r11, rbx
jbe 0x140006806
lea r9, [rsp + 0x470]
cmp qword [rsp + 0x488], 0x10
cmovae r9, qword [rsp + 0x470]
mov qword [rsp + 0x20], r11
mov r8, qword [rsi + 0x60]
xor edx, edx
lea rcx, [rsi + 0x40]
call fcn.140003c44
cmp eax, ebx
jne 0x1400067e6
mov eax, dword [rsp + 0x40]
mov dword [rsi], eax
jmp 0x14000680c
mov r9d, dword [rdi + 0x28]
mov r8d, dword [rsp + 0x40]
lea rdx, [rsi + 0x40]
mov rcx, rdi
call fcn.1400063e8
cmp eax, ebx
jbe 0x14000680c
mov dword [rsi], eax
xor dword [rdi + 0x28], eax
jmp 0x14000680c
mov eax, dword [rsp + 0x40]
mov dword [rsi], eax
mov dword [rsp + 0x40], ebx
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x34]
xor r8d, r8d
lea rdx, str.SecondaryDevice
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [rsp + 0x40]
cmp edx, ebx
je 0x1400068d1
lea r8, [rsp + 0x460]
mov rcx, rdi
call fcn.140006040
mov r11, qword [rsp + 0x480]
cmp r11, rbx
jbe 0x1400068ca
lea r9, [rsp + 0x470]
cmp qword [rsp + 0x488], 0x10
cmovae r9, qword [rsp + 0x470]
mov qword [rsp + 0x20], r11
mov r8, qword [rsi + 0xd0]
xor edx, edx
lea rcx, [rsi + 0xb0]
call fcn.140003c44
cmp eax, ebx
jne 0x1400068a6
mov eax, dword [rsp + 0x40]
mov dword [rsi + 0x70], eax
jmp 0x1400068d1
mov r9d, dword [rdi + 0x28]
mov r8d, dword [rsp + 0x40]
lea rdx, [rsi + 0xb0]
mov rcx, rdi
call fcn.1400063e8
cmp eax, ebx
jbe 0x1400068d1
mov dword [rsi + 0x70], eax
xor dword [rdi + 0x28], eax
jmp 0x1400068d1
mov eax, dword [rsp + 0x40]
mov dword [rsi + 0x70], eax
mov dword [rsp + 0x40], ebx
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x34]
xor r8d, r8d
lea rdx, str.ThirdDevice
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [rsp + 0x40]
cmp edx, ebx
je 0x14000699f
lea r8, [rsp + 0x460]
mov rcx, rdi
call fcn.140006040
mov r11, qword [rsp + 0x480]
cmp r11, rbx
jbe 0x140006995
lea r9, [rsp + 0x470]
cmp qword [rsp + 0x488], 0x10
cmovae r9, qword [rsp + 0x470]
mov qword [rsp + 0x20], r11
mov r8, qword [rsi + 0x140]
xor edx, edx
lea rcx, [rsi + 0x120]
call fcn.140003c44
cmp eax, ebx
jne 0x14000696e
mov eax, dword [rsp + 0x40]
mov dword [rsi + 0xe0], eax
jmp 0x14000699f
mov r9d, dword [rdi + 0x28]
mov r8d, dword [rsp + 0x40]
lea rdx, [rsi + 0x120]
mov rcx, rdi
call fcn.1400063e8
cmp eax, ebx
jbe 0x14000699f
mov dword [rsi + 0xe0], eax
xor dword [rdi + 0x28], eax
jmp 0x14000699f
mov eax, dword [rsp + 0x40]
mov dword [rsi + 0xe0], eax
mov dword [rsp + 0x40], ebx
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x34]
xor r8d, r8d
lea rdx, str.FourthDevice
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [rsp + 0x40]
cmp edx, ebx
je 0x140006a6d
lea r8, [rsp + 0x460]
mov rcx, rdi
call fcn.140006040
mov r11, qword [rsp + 0x480]
cmp r11, rbx
jbe 0x140006a63
lea r9, [rsp + 0x470]
cmp qword [rsp + 0x488], 0x10
cmovae r9, qword [rsp + 0x470]
mov qword [rsp + 0x20], r11
mov r8, qword [rsi + 0x1b0]
xor edx, edx
lea rcx, [rsi + 0x190]
call fcn.140003c44
cmp eax, ebx
jne 0x140006a3c
mov eax, dword [rsp + 0x40]
mov dword [rsi + 0x150], eax
jmp 0x140006a6d
mov r9d, dword [rdi + 0x28]
mov r8d, dword [rsp + 0x40]
lea rdx, [rsi + 0x190]
mov rcx, rdi
call fcn.1400063e8
cmp eax, ebx
jbe 0x140006a6d
mov dword [rsi + 0x150], eax
xor dword [rdi + 0x28], eax
jmp 0x140006a6d
mov eax, dword [rsp + 0x40]
mov dword [rsi + 0x150], eax
lea rax, [rsi + 4]
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x34]
xor r8d, r8d
lea rdx, str.PrimaryXX
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea r11, [rsi + 8]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r11
lea r9, [rsp + 0x34]
xor r8d, r8d
lea rdx, str.PrimaryYY
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea r11, [rsi + 0xc]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r11
lea r9, [rsp + 0x34]
xor r8d, r8d
lea rdx, str.PrimaryRR
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea r11, [rsi + 0x10]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r11
lea r9, [rsp + 0x34]
xor r8d, r8d
lea rdx, str.PrimaryBPP
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea r11, [rsi + 0x74]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r11
lea r9, [rsp + 0x34]
xor r8d, r8d
lea rdx, str.SecondaryXX
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea r11, [rsi + 0x78]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r11
lea r9, [rsp + 0x34]
xor r8d, r8d
lea rdx, str.SecondaryYY
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea r11, [rsi + 0x7c]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r11
lea r9, [rsp + 0x34]
xor r8d, r8d
lea rdx, str.SecondaryRR
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea r11, [rsi + 0x80]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r11
lea r9, [rsp + 0x34]
xor r8d, r8d
lea rdx, str.SecondaryBPP
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea r11, [rsi + 0xe4]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r11
lea r9, [rsp + 0x34]
xor r8d, r8d
lea rdx, str.ThirdXX
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea r11, [rsi + 0xe8]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r11
lea r9, [rsp + 0x34]
xor r8d, r8d
lea rdx, str.ThirdYY
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea r11, [rsi + 0xec]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r11
lea r9, [rsp + 0x34]
xor r8d, r8d
lea rdx, str.ThirdRR
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea r11, [rsi + 0xf0]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r11
lea r9, [rsp + 0x34]
xor r8d, r8d
lea rdx, str.ThirdBPP
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea r11, [rsi + 0x154]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r11
lea r9, [rsp + 0x34]
xor r8d, r8d
lea rdx, str.FourthXX
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea r11, [rsi + 0x158]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r11
lea r9, [rsp + 0x34]
xor r8d, r8d
lea rdx, str.FourthYY
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea r11, [rsi + 0x15c]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r11
lea r9, [rsp + 0x34]
xor r8d, r8d
lea rdx, str.FourthRR
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea r11, [rsi + 0x160]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r11
lea r9, [rsp + 0x34]
xor r8d, r8d
lea rdx, str.FourthBPP
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea r11, [rsi + 0x14]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r11
lea r9, [rsp + 0x34]
xor r8d, r8d
lea rdx, str.PrimaryAspectScaling
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea r11, [rsi + 0x84]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r11
lea r9, [rsp + 0x34]
xor r8d, r8d
lea rdx, str.SecondaryAspectScaling
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea r11, [rsi + 0xf4]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r11
lea r9, [rsp + 0x34]
xor r8d, r8d
lea rdx, str.ThirdAspectScaling
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea r11, [rsi + 0x164]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r11
lea r9, [rsp + 0x34]
xor r8d, r8d
lea rdx, str.FourthAspectScaling
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea r11, [rsi + 0x38]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r11
lea r9, [rsp + 0x34]
xor r8d, r8d
lea rdx, str.PrimaryScalingCustomX
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea r11, [rsi + 0x3c]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r11
lea r9, [rsp + 0x34]
xor r8d, r8d
lea rdx, str.PrimaryScalingCustomy
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea r11, [rsi + 0xa8]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r11
lea r9, [rsp + 0x34]
xor r8d, r8d
lea rdx, str.SecondaryScalingCustomX
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea r11, [rsi + 0xac]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r11
lea r9, [rsp + 0x34]
xor r8d, r8d
lea rdx, str.SecondaryScalingCustomy
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea r11, [rsi + 0x18]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r11
lea r9, [rsp + 0x34]
xor r8d, r8d
lea rdx, str.PrimaryDisplayOrientation
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea r11, [rsi + 0x88]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r11
lea r9, [rsp + 0x34]
xor r8d, r8d
lea rdx, str.SecondaryDisplayOrientation
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea r11, [rsi + 0xf8]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r11
lea r9, [rsp + 0x34]
xor r8d, r8d
lea rdx, str.ThirdDisplayOrientation
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea r11, [rsi + 0x168]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r11
lea r9, [rsp + 0x34]
xor r8d, r8d
lea rdx, str.FourthDisplayOrientation
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea r11, [rsi + 0x20]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r11
lea r9, [rsp + 0x34]
xor r8d, r8d
lea rdx, str.PrimaryTop
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea r11, [rsi + 0x24]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r11
lea r9, [rsp + 0x34]
xor r8d, r8d
lea rdx, str.PrimaryLeft
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea r11, [rsi + 0x28]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r11
lea r9, [rsp + 0x34]
xor r8d, r8d
lea rdx, str.PrimaryRight
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea r11, [rsi + 0x2c]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r11
lea r9, [rsp + 0x34]
xor r8d, r8d
lea rdx, str.PrimaryBottom
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rbx, r14
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0x490]
call fcn.1400208e0
mov dword [rsp + 0x38], ebx
mov edi, 1
mov dword [rsp + 0x3c], edi
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x490]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x3c]
xor r8d, r8d
lea rdx, str.SecondaryTop
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea rcx, [rsp + 0x490]
call fcn.140021ad0
mov dword [rsi + 0x90], eax
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0x490]
call fcn.1400208e0
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x3c], edi
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x490]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x3c]
xor r8d, r8d
lea rdx, str.SecondaryLeft
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea rcx, [rsp + 0x490]
call fcn.140021ad0
mov dword [rsi + 0x94], eax
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0x490]
call fcn.1400208e0
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x3c], edi
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x490]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x3c]
xor r8d, r8d
lea rdx, str.SecondaryRight
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea rcx, [rsp + 0x490]
call fcn.140021ad0
mov dword [rsi + 0x98], eax
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0x490]
call fcn.1400208e0
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x3c], edi
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x490]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x3c]
xor r8d, r8d
lea rdx, str.SecondaryBottom
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea rcx, [rsp + 0x490]
call fcn.140021ad0
mov dword [rsi + 0x9c], eax
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0x490]
call fcn.1400208e0
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0x490]
call fcn.1400208e0
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x3c], edi
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x490]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x3c]
xor r8d, r8d
lea rdx, str.ThirdTop
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea rcx, [rsp + 0x490]
call fcn.140021ad0
mov dword [rsi + 0x100], eax
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0x490]
call fcn.1400208e0
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x3c], edi
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x490]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x3c]
xor r8d, r8d
lea rdx, str.ThirdLeft
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea rcx, [rsp + 0x490]
call fcn.140021ad0
mov dword [rsi + 0x104], eax
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0x490]
call fcn.1400208e0
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x3c], edi
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x490]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x3c]
xor r8d, r8d
lea rdx, str.ThirdRight
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea rcx, [rsp + 0x490]
call fcn.140021ad0
mov dword [rsi + 0x108], eax
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0x490]
call fcn.1400208e0
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x3c], edi
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x490]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x3c]
xor r8d, r8d
lea rdx, str.ThirdBottom
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea rcx, [rsp + 0x490]
call fcn.140021ad0
mov dword [rsi + 0x10c], eax
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0x490]
call fcn.1400208e0
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0x490]
call fcn.1400208e0
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x3c], edi
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x490]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x3c]
xor r8d, r8d
lea rdx, str.FourthTop
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea rcx, [rsp + 0x490]
call fcn.140021ad0
mov dword [rsi + 0x170], eax
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0x490]
call fcn.1400208e0
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x3c], edi
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x490]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x3c]
xor r8d, r8d
lea rdx, str.FourthLeft
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea rcx, [rsp + 0x490]
call fcn.140021ad0
mov dword [rsi + 0x174], eax
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0x490]
call fcn.1400208e0
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x3c], edi
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x490]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x3c]
xor r8d, r8d
lea rdx, str.FourthRight
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea rcx, [rsp + 0x490]
call fcn.140021ad0
mov dword [rsi + 0x178], eax
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0x490]
call fcn.1400208e0
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x3c], edi
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x490]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x3c]
xor r8d, r8d
lea rdx, str.FourthBottom
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea rcx, [rsp + 0x490]
call fcn.140021ad0
mov dword [rsi + 0x17c], eax
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0x490]
call fcn.1400208e0
lea r11, [rsi + 0x1c]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r11
lea r9, [rsp + 0x34]
xor r8d, r8d
lea rdx, str.PrimaryTVStandard
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea r11, [rsi + 0x8c]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r11
lea r9, [rsp + 0x34]
xor r8d, r8d
lea rdx, str.SecondaryTVStandard
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea r11, [rsi + 0xfc]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r11
lea r9, [rsp + 0x34]
xor r8d, r8d
lea rdx, str.ThirdTVStandard
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea r11, [rsi + 0x16c]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r11
lea r9, [rsp + 0x34]
xor r8d, r8d
lea rdx, str.FourthTVStandard
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea r11, [rsi + 0x30]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r11
lea r9, [rsp + 0x34]
xor r8d, r8d
lea rdx, str.PrimaryTVHDTV
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea r11, [rsi + 0xa0]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r11
lea r9, [rsp + 0x34]
xor r8d, r8d
lea rdx, str.SecondaryTVHDTV
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea r11, [rsi + 0x110]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r11
lea r9, [rsp + 0x34]
xor r8d, r8d
lea rdx, str.ThirdTVHDTV
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea r11, [rsi + 0x180]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r11
lea r9, [rsp + 0x34]
xor r8d, r8d
lea rdx, str.FourthTVHDTV
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea r11, [rsi + 0x34]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r11
lea r9, [rsp + 0x34]
xor r8d, r8d
lea rdx, str.PrimaryInterlaced
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea r11, [rsi + 0xa4]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r11
lea r9, [rsp + 0x34]
xor r8d, r8d
lea rdx, str.SecondaryInterlaced
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea r11, [rsi + 0x114]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r11
lea r9, [rsp + 0x34]
xor r8d, r8d
lea rdx, str.ThirdInterlaced
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea r11, [rsi + 0x184]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r11
lea r9, [rsp + 0x34]
xor r8d, r8d
lea rdx, str.FourthInterlaced
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov bl, dil
lea rcx, [rsp + 0x460]
call fcn.140004f10
mov al, bl
mov rcx, qword [rsp + 0x6b0]
xor rcx, rsp
call fcn.1400209e0
mov rbx, qword [rsp + 0x718]
add rsp, 0x6c0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret