Function at 0x14002d980
Capabilities:
Query or enumerate registry key

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x518]
sub rsp, 0x5f0
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x1400c4040]
xor rax, rsp
mov qword [rbp + 0x4d0], rax
xor r12d, r12d
mov r14d, r12d
mov dword [rsp + 0x68], r12d
mov qword [rsp + 0x70], r12
xorps xmm0, xmm0
movups xmmword [rbp + 8], xmm0
mov qword [rbp + 0x18], r12
mov qword [rbp + 0x20], r12
mov r8d, 0x25
lea rdx, str.SYSTEMCurrentControlSetEnumDISPLAY
lea rcx, [rbp + 8]
call fcn.14000c420
nop
lea rdx, [rbp + 8]
cmp qword [rbp + 0x20], 7
cmova rdx, qword [rbp + 8]
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, 0x2001f
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14002da77
mov dword [rsp + 0x64], r12d
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r12
lea rax, [rsp + 0x64]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
je 0x14002dac3
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor bl, bl
mov rdx, qword [rbp + 0x20]
cmp rdx, 7
jbe 0x14002e1ac
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002e1a7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002e1a7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov r15d, r12d
cmp dword [rsp + 0x64], r12d
jbe 0x14002e16b
movabs r13, 0x7ffffffffffffffe
lea rbx, [0x1400ac450]
lea rdi, str.Device_Parameters
nop dword [rax]
mov dword [rbp - 0x78], 0x100
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
lea r9, [rbp - 0x78]
lea r8, [rbp + 0xd0]
mov edx, r15d
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x14002e15d
mov rax, r13
mov rcx, qword [rbp + 0x18]
sub rax, rcx
cmp rax, 1
jb 0x14002e1e4
lea r9, [rbp + 8]
cmp qword [rbp + 0x20], 7
cmova r9, qword [rbp + 8]
mov qword [rsp + 0x30], 1
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rcx
lea rcx, [rbp + 0x28]
call fcn.14002e7e0
or r14d, 2
lea rax, [rbp + 0xd0]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x14002db80
lea rdx, [rbp + 0xd0]
lea rcx, [rbp + 0x28]
call fcn.14000aa60
xorps xmm0, xmm0
movups xmmword [rbp - 0x18], xmm0
mov qword [rbp - 8], r12
mov qword [rbp], r12
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x18], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 8], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 7
mov word [rax], r12w
or r14d, 4
mov rdx, qword [rbp + 0x40]
cmp rdx, 7
jbe 0x14002dc0d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002dc08
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002e17d
call fcn.140092320
mov qword [rbp + 0x38], r12
mov qword [rbp + 0x40], 7
mov word [rbp + 0x28], r12w
mov qword [rsp + 0x78], r12
lea rdx, [rbp - 0x18]
cmp qword [rbp], 7
cmova rdx, qword [rbp - 0x18]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
mov r9d, 0x2001f
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14002e121
mov dword [rsp + 0x60], r12d
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r12
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x14002e115
mov esi, r12d
cmp dword [rsp + 0x60], r12d
jbe 0x14002e115
nop dword [rax]
nop dword [rax + rax]
mov dword [rsp + 0x68], 0x100
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x68]
lea r8, [rbp + 0x2d0]
mov edx, esi
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x14002e109
mov rax, r13
mov rcx, qword [rbp - 8]
sub rax, rcx
cmp rax, 1
jb 0x14002e202
lea r9, [rbp - 0x18]
cmp qword [rbp], 7
cmova r9, qword [rbp - 0x18]
mov qword [rsp + 0x30], 1
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rcx
lea rcx, [rbp - 0x58]
call fcn.14002e7e0
nop
lea rax, [rbp + 0x2d0]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x14002dd50
lea rdx, [rbp + 0x2d0]
lea rcx, [rbp - 0x58]
call fcn.14000aa60
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x38], xmm0
movups xmm6, xmmword [rax + 0x10]
movups xmmword [rbp - 0x28], xmm6
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 7
mov word [rax], r12w
mov rdx, qword [rbp - 0x40]
cmp rdx, 7
jbe 0x14002ddca
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002ddc5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002e184
call fcn.140092320
mov qword [rbp - 0x48], r12
mov qword [rbp - 0x40], 7
mov word [rbp - 0x58], r12w
mov rax, r13
movq rcx, xmm6
sub rax, rcx
cmp rax, 0x12
jb 0x14002e1fc
lea r9, [rbp - 0x38]
cmp qword [rbp - 0x20], 7
cmova r9, qword [rbp - 0x38]
mov qword [rsp + 0x30], 0x12
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rcx
lea rcx, [rbp + 0x70]
call fcn.14002e7e0
nop
mov rax, r13
mov rcx, qword [rbp - 0x28]
sub rax, rcx
cmp rax, 0x1a
jb 0x14002e1f6
lea r9, [rbp - 0x38]
cmp qword [rbp - 0x20], 7
cmova r9, qword [rbp - 0x38]
mov qword [rsp + 0x30], 0x1a
lea rax, str.ControlDevice_Parameters
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rbp + 0x90]
call fcn.14002e7e0
nop
mov rax, r13
mov rcx, qword [rbp - 0x28]
sub rax, rcx
cmp rax, 0x1a
jb 0x14002e1f0
lea r9, [rbp - 0x38]
cmp qword [rbp - 0x20], 7
cmova r9, qword [rbp - 0x38]
mov qword [rsp + 0x30], 0x1a
lea rax, str.MonitorDevice_Parameters
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rbp + 0xb0]
call fcn.14002e7e0
or r14d, 0xf8
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], r12
mov ecx, 0x60
call fcn.140091dd0
mov rbx, rax
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], rax
lea rcx, [rax + 0x60]
mov qword [rbp - 0x60], rcx
lea rax, [rbp - 0x70]
mov qword [rbp - 0x80], rax
lea rdi, [rbp + 0x70]
mov qword [rbp - 0x58], rbx
mov qword [rbp - 0x50], rbx
lea rax, [rbp - 0x70]
mov qword [rbp - 0x48], rax
nop dword [rax + rax]
mov rdx, rdi
mov rcx, rbx
call fcn.14000ab20
add rbx, 0x20
mov qword [rbp - 0x50], rbx
add rdi, 0x20
lea rax, [rbp + 0xd0]
cmp rdi, rax
jne 0x14002df00
mov rdx, rbx
mov rcx, rbx
call fcn.14002e520
mov qword [rbp - 0x68], rbx
lea r9, [fcn.140005170]
mov edx, 0x20
mov r8d, 3
lea rcx, [rbp + 0x70]
call fcn.1400925f8
mov rbx, qword [rbp - 0x70]
mov rdi, qword [rbp - 0x68]
cmp rbx, rdi
je 0x14002e0b1
nop
mov qword [rbp - 0x80], r12
mov rcx, qword [rbx + 0x10]
mov rax, r13
sub rax, rcx
cmp rax, 5
jb 0x14002e1ea
mov r9, rbx
cmp qword [rbx + 0x18], 7
jbe 0x14002df85
mov r9, qword [rbx]
mov qword [rsp + 0x30], 5
lea rax, [0x1400ac878]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rbp + 0x48]
call fcn.14002e7e0
or r14d, 1
lea rdx, [rbp + 0x48]
cmp qword [rbp + 0x60], 7
cmova rdx, qword [rbp + 0x48]
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
mov r9d, 0x2001f
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14002e064
xorps xmm0, xmm0
movups xmmword [rbp - 0x58], xmm0
mov qword [rbp - 0x48], r12
mov qword [rbp - 0x40], r12
mov r8d, 4
lea rdx, str.EDID
lea rcx, [rbp - 0x58]
call fcn.14000c420
nop
lea r8, [rbp - 0x58]
lea rdx, [rbp + 0x48]
mov rcx, qword [rbp - 0x80]
call fcn.14002c0e0
nop
mov rdx, qword [rbp - 0x40]
cmp rdx, 7
jbe 0x14002e059
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002e054
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002e18b
call fcn.140092320
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rdx, qword [rbp + 0x60]
cmp rdx, 7
jbe 0x14002e0a4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002e09f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002e192
call fcn.140092320
add rbx, 0x20
cmp rbx, rdi
jne 0x14002df60
lea rcx, [rbp - 0x70]
call fcn.14002e310
nop
mov rdx, qword [rbp - 0x20]
cmp rdx, 7
jbe 0x14002e0fb
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002e0f6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002e199
call fcn.140092320
lea rdi, str.Device_Parameters
lea rbx, [0x1400ac450]
inc esi
cmp esi, dword [rsp + 0x60]
jb 0x14002dcc0
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rdx, qword [rbp]
cmp rdx, 7
jbe 0x14002e15d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002e158
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002e1a0
call fcn.140092320
inc r15d
cmp r15d, dword [rsp + 0x64]
jb 0x14002daf0
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov bl, 1
jmp 0x14002da79
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.140092320
movzx eax, bl
mov rcx, qword [rbp + 0x4d0]
xor rcx, rsp
call fcn.140091db0
lea r11, [rsp + 0x5f0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.1400040e0
nop
call fcn.1400040e0
nop
call fcn.1400040e0
nop
call fcn.1400040e0
nop
call fcn.1400040e0
nop
call fcn.1400040e0
int3