Function at 0x14002bac0
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 [0x1400bf040]
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.14000bfe0
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 0x14002bbb7
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 0x14002bc03
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor bl, bl
mov rdx, qword [rbp + 0x20]
cmp rdx, 7
jbe 0x14002c2ec
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002c2e7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002c2e7
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 0x14002c2ab
movabs r13, 0x7ffffffffffffffe
lea rbx, [0x1400a8350]
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 0x14002c29d
mov rax, r13
mov rcx, qword [rbp + 0x18]
sub rax, rcx
cmp rax, 1
jb 0x14002c324
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.14002c940
or r14d, 2
lea rax, [rbp + 0xd0]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x14002bcc0
lea rdx, [rbp + 0xd0]
lea rcx, [rbp + 0x28]
call fcn.14000a620
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 0x14002bd4d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002bd48
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002c2bd
call fcn.14008e420
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 0x14002c261
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 0x14002c255
mov esi, r12d
cmp dword [rsp + 0x60], r12d
jbe 0x14002c255
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 0x14002c249
mov rax, r13
mov rcx, qword [rbp - 8]
sub rax, rcx
cmp rax, 1
jb 0x14002c342
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.14002c940
nop
lea rax, [rbp + 0x2d0]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x14002be90
lea rdx, [rbp + 0x2d0]
lea rcx, [rbp - 0x58]
call fcn.14000a620
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 0x14002bf0a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002bf05
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002c2c4
call fcn.14008e420
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 0x14002c33c
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.14002c940
nop
mov rax, r13
mov rcx, qword [rbp - 0x28]
sub rax, rcx
cmp rax, 0x1a
jb 0x14002c336
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.14002c940
nop
mov rax, r13
mov rcx, qword [rbp - 0x28]
sub rax, rcx
cmp rax, 0x1a
jb 0x14002c330
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.14002c940
or r14d, 0xf8
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], r12
mov ecx, 0x60
call fcn.14008ded0
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.14000a6e0
add rbx, 0x20
mov qword [rbp - 0x50], rbx
add rdi, 0x20
lea rax, [rbp + 0xd0]
cmp rdi, rax
jne 0x14002c040
mov rdx, rbx
mov rcx, rbx
call fcn.14002c680
mov qword [rbp - 0x68], rbx
lea r9, [fcn.140004db0]
mov edx, 0x20
mov r8d, 3
lea rcx, [rbp + 0x70]
call fcn.14008e6f8
mov rbx, qword [rbp - 0x70]
mov rdi, qword [rbp - 0x68]
cmp rbx, rdi
je 0x14002c1f1
nop
mov qword [rbp - 0x80], r12
mov rcx, qword [rbx + 0x10]
mov rax, r13
sub rax, rcx
cmp rax, 5
jb 0x14002c32a
mov r9, rbx
cmp qword [rbx + 0x18], 7
jbe 0x14002c0c5
mov r9, qword [rbx]
mov qword [rsp + 0x30], 5
lea rax, str.EDID
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rbp + 0x48]
call fcn.14002c940
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 0x14002c1a4
xorps xmm0, xmm0
movups xmmword [rbp - 0x58], xmm0
mov qword [rbp - 0x48], r12
mov qword [rbp - 0x40], r12
mov r8d, 4
lea rdx, [0x1400a8740]
lea rcx, [rbp - 0x58]
call fcn.14000bfe0
nop
lea r8, [rbp - 0x58]
lea rdx, [rbp + 0x48]
mov rcx, qword [rbp - 0x80]
call fcn.14002a1a0
nop
mov rdx, qword [rbp - 0x40]
cmp rdx, 7
jbe 0x14002c199
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002c194
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002c2cb
call fcn.14008e420
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rdx, qword [rbp + 0x60]
cmp rdx, 7
jbe 0x14002c1e4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002c1df
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002c2d2
call fcn.14008e420
add rbx, 0x20
cmp rbx, rdi
jne 0x14002c0a0
lea rcx, [rbp - 0x70]
call fcn.14002c450
nop
mov rdx, qword [rbp - 0x20]
cmp rdx, 7
jbe 0x14002c23b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002c236
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002c2d9
call fcn.14008e420
lea rdi, str.Device_Parameters
lea rbx, [0x1400a8350]
inc esi
cmp esi, dword [rsp + 0x60]
jb 0x14002be00
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rdx, qword [rbp]
cmp rdx, 7
jbe 0x14002c29d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002c298
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002c2e0
call fcn.14008e420
inc r15d
cmp r15d, dword [rsp + 0x64]
jb 0x14002bc30
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov bl, 1
jmp 0x14002bbb9
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.14008e420
movzx eax, bl
mov rcx, qword [rbp + 0x4d0]
xor rcx, rsp
call fcn.14008deb0
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.140003d20
nop
call fcn.140003d20
nop
call fcn.140003d20
nop
call fcn.140003d20
nop
call fcn.140003d20
nop
call fcn.140003d20
int3