Function at 0x140014050
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x5e0]
sub rsp, 0x6e0
mov rax, qword [0x1400c9080]
xor rax, rsp
mov qword [rbp + 0x5d0], rax
xor esi, esi
mov r13d, esi
mov dword [rbp + 0x114], esi
mov qword [rbp + 0x168], rsi
xorps xmm0, xmm0
movups xmmword [rbp + 0x170], xmm0
mov qword [rbp + 0x180], rsi
mov qword [rbp + 0x188], rsi
mov r8d, 0x25
lea rdx, str.SYSTEMCurrentControlSetEnumDISPLAY
lea rcx, [rbp + 0x168]
call fcn.14000c830
nop
lea rdx, [rbp + 0x170]
cmp qword [rbp + 0x188], 7
cmova rdx, qword [rbp + 0x170]
lea rax, [rbp + 0xf0]
mov qword [rsp + 0x20], rax
mov r9d, 0x2001f
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x14001412b
lea rdx, str.Failed_to_open_DISPLAY_reg_key.
lea rcx, [0x1400cadc0]
call fcn.14000bd60
mov rcx, rax
call fcn.14000c010
xor bl, bl
jmp 0x1400149b4
mov dword [rbp + 0x110], esi
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rsi
lea rax, [rbp + 0x110]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp + 0xf0]
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
je 0x1400141a8
lea rdx, str.Failed_to_query_DISPLAY_key_info.
lea rcx, [0x1400cadc0]
call fcn.14000bd60
mov rcx, rax
call fcn.14000c010
mov rcx, qword [rbp + 0xf0]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor bl, bl
jmp 0x1400149b4
mov ebx, esi
mov dword [rsp + 0x60], ebx
cmp dword [rbp + 0x110], esi
jbe 0x1400149a5
movabs r14, 0x7ffffffffffffffe
lea rdi, [0x1400bba74]
lea r15, [0x1400bba78]
nop dword [rax]
nop word [rax + rax]
mov dword [rbp + 0x138], 0x100
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
lea r9, [rbp + 0x138]
lea r8, [rbp + 0x1d0]
mov edx, ebx
mov rcx, qword [rbp + 0xf0]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x140014993
mov rax, r14
mov rcx, qword [rbp + 0x180]
sub rax, rcx
cmp rax, 1
jb 0x140014a11
lea r9, [rbp + 0x170]
cmp qword [rbp + 0x188], 7
cmova r9, qword [rbp + 0x170]
mov qword [rsp + 0x30], 1
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rcx
lea rcx, [rbp - 8]
call fcn.1400167f0
or r13d, 4
lea rax, [rbp + 0x1d0]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp word [rax + r8*2], 0
jne 0x140014280
lea rdx, [rbp + 0x1d0]
lea rcx, [rbp - 8]
call fcn.140008b70
mov rdx, rax
lea rcx, [rbp + 0x1a8]
call fcn.140008c00
or r13d, 2
lea rcx, [rbp - 8]
call fcn.14000a220
mov rcx, qword [rbp - 8]
mov qword [rbp - 8], rsi
mov edx, 0x10
call fcn.14000d2e0
lea rdx, [rbp + 0x1b0]
cmp qword [rbp + 0x1c8], 7
cmova rdx, qword [rbp + 0x1b0]
lea rax, [rbp + 0xf8]
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 0x14001496f
mov dword [rbp + 0x10c], esi
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rsi
lea rax, [rbp + 0x10c]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp + 0xf8]
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x140014961
mov r12d, esi
cmp dword [rbp + 0x10c], eax
jbe 0x140014961
nop dword [rax + rax]
mov dword [rbp + 0x114], 0x100
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
lea r9, [rbp + 0x114]
lea r8, [rbp + 0x3d0]
mov edx, r12d
mov rcx, qword [rbp + 0xf8]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x14001494d
mov rax, r14
mov rcx, qword [rbp + 0x1c0]
sub rax, rcx
cmp rax, 1
jb 0x140014a0b
lea r9, [rbp + 0x1b0]
cmp qword [rbp + 0x1c8], 7
cmova r9, qword [rbp + 0x1b0]
mov qword [rsp + 0x30], 1
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rcx
lea rcx, [rbp + 0x20]
call fcn.1400167f0
nop
lea rax, [rbp + 0x3d0]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140014410
lea rdx, [rbp + 0x3d0]
lea rcx, [rbp + 0x20]
call fcn.140008b70
mov rdx, rax
lea rcx, [rbp + 0x140]
call fcn.140008c00
nop
lea rcx, [rbp + 0x20]
call fcn.14000a220
mov rcx, qword [rbp + 0x20]
mov qword [rbp + 0x20], rsi
mov edx, 0x10
call fcn.14000d2e0
xorps xmm0, xmm0
movups xmmword [rbp + 0x118], xmm0
movups xmmword [rbp + 0x128], xmm0
mov rax, r14
mov rcx, qword [rbp + 0x158]
sub rax, rcx
cmp rax, 0x12
jb 0x140014a29
lea r9, [rbp + 0x148]
cmp qword [rbp + 0x160], 7
cmova r9, qword [rbp + 0x148]
mov qword [rsp + 0x30], 0x12
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], rcx
lea rcx, [rbp + 0x70]
call fcn.1400167f0
nop
mov rax, r14
mov rcx, qword [rbp + 0x158]
sub rax, rcx
cmp rax, 0x1a
jb 0x140014a23
lea r9, [rbp + 0x148]
cmp qword [rbp + 0x160], 7
cmova r9, qword [rbp + 0x148]
mov qword [rsp + 0x30], 0x1a
lea rax, str.ControlDevice_Parameters
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rbp + 0x98]
call fcn.1400167f0
nop
mov rax, r14
mov rcx, qword [rbp + 0x158]
sub rax, rcx
cmp rax, 0x1a
jb 0x140014a1d
lea r9, [rbp + 0x148]
cmp qword [rbp + 0x160], 7
cmova r9, qword [rbp + 0x148]
mov qword [rsp + 0x30], 0x1a
lea rax, str.MonitorDevice_Parameters
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rbp + 0xc0]
call fcn.1400167f0
or r13d, 0xf8
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x118], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x128], xmm1
lea rax, [rbp + 0x108]
mov qword [rbp - 0x60], rax
mov ecx, 0x10
call fcn.140034c10
mov qword [rbp - 0x68], rax
lea rcx, [rbp + 0x118]
mov qword [rax], rcx
mov qword [rax + 8], rsi
mov rax, qword [rbp - 0x68]
mov qword [rbp + 0x118], rax
mov ecx, 0x78
call fcn.14000c280
mov rbx, rax
mov qword [rbp + 0x120], rax
mov qword [rbp + 0x128], rax
lea rcx, [rax + 0x78]
mov qword [rbp + 0x130], rcx
lea rax, [rbp + 0x118]
mov qword [rbp - 0x70], rax
lea rdi, [rbp + 0x70]
xorps xmm0, xmm0
movups xmmword [rbp + 0x190], xmm0
mov qword [rbp + 0x190], rbx
mov qword [rbp + 0x198], rbx
lea rax, [rbp + 0x118]
mov qword [rbp + 0x1a0], rax
mov rdx, rdi
mov rcx, rbx
call fcn.140008c90
add rbx, 0x28
mov qword [rbp + 0x198], rbx
add rdi, 0x28
lea rax, [rbp + 0xe8]
cmp rdi, rax
jne 0x140014605
mov qword [rbp + 0x190], rbx
mov qword [rbp + 0x128], rbx
mov qword [rbp - 0x70], rsi
mov qword [rbp - 0x68], rsi
lea r9, [fcn.140004ca0]
mov edx, 0x28
mov r8d, 3
lea rcx, [rbp + 0x70]
call fcn.140034c70
mov r15, qword [rbp + 0x128]
mov rbx, qword [rbp + 0x120]
cmp rbx, r15
je 0x1400148f6
add rbx, 8
nop word [rax + rax]
mov rcx, qword [rbx + 0x10]
mov rax, r14
sub rax, rcx
cmp rax, 5
jb 0x140014a17
mov r9, rbx
cmp qword [rbx + 0x18], 7
jbe 0x1400146a1
mov r9, qword [rbx]
mov qword [rsp + 0x30], 5
lea rax, [0x1400bbb10]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rbp - 0x30]
call fcn.1400167f0
or r13d, 1
lea rdx, [rbp - 0x28]
cmp qword [rbp - 0x10], 7
cmova rdx, qword [rbp - 0x28]
lea rax, [rbp + 0x100]
mov qword [rsp + 0x20], rax
mov r9d, 0x2001f
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
lea rcx, [rbp - 0x30]
call fcn.14000a220
mov rcx, qword [rbp - 0x30]
mov qword [rbp - 0x30], rsi
mov edx, 0x10
call fcn.14000d2e0
test edi, edi
jne 0x1400148e5
mov qword [rsp + 0x68], rsi
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], rsi
mov qword [rbp - 0x78], rsi
mov r8d, 4
lea rdx, str.EDID
lea rcx, [rsp + 0x68]
call fcn.14000c830
nop
mov qword [rbp - 0x58], rsi
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], rsi
mov qword [rbp - 0x38], rsi
mov r8d, 4
lea rdx, str.EDID
lea rcx, [rbp - 0x58]
call fcn.14000c830
nop
lea r8, [rsp + 0x68]
lea rdx, [rbp - 0x58]
mov rcx, qword [rbp + 0x100]
call fcn.140013810
movzx r14d, al
lea rcx, [rbp - 0x58]
call fcn.14000a220
mov rcx, qword [rbp - 0x58]
mov qword [rbp - 0x58], rsi
mov edx, 0x10
call fcn.14000d2e0
nop
lea rcx, [rsp + 0x68]
call fcn.140003160
mov rdi, qword [rbp - 0x78]
cmp rdi, 7
jbe 0x140014842
mov rsi, qword [rsp + 0x70]
inc rdi
test rsi, rsi
jne 0x140014834
test rdi, rdi
je 0x140014834
lea rax, str.null_pointer_cannot_point_to_a_block_of_non_zero_size
mov qword [rsp + 0x28], rax
lea rax, [0x1400b9fdc]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0x3b3
lea rdx, [0x1400b9fe0]
mov ecx, 2
call fcn.1400407b0
cmp eax, 1
jne 0x14001480b
int3
mov qword [rsp + 0x20], 0
mov r9d, 0x3b3
lea r8, str.C:Program_FilesMicrosoft_Visual_Studio2022CommunityVCToolsMSVC14.41.34120includexmemory
lea rdx, [0x1400ba114]
lea rcx, str._null_pointer_cannot_point_to_a_block_of_non_zero_size_
call fcn.140041260
lea rdx, [rdi + rdi]
mov rcx, rsi
call fcn.14000d2e0
xor esi, esi
mov qword [rbp - 0x80], rsi
mov qword [rbp - 0x78], 7
mov word [rsp + 0x70], si
mov rcx, qword [rsp + 0x68]
mov qword [rsp + 0x68], rsi
mov edx, 0x10
call fcn.14000d2e0
test r14b, r14b
je 0x1400148ce
lea rdx, str.Spoofed____EDID_::
lea rcx, [0x1400cac40]
call fcn.14000bd60
mov rdi, rax
lea rdx, [rbx - 8]
lea rcx, [rbp + 0x48]
call fcn.14002bd40
nop
lea rdx, [rax + 8]
cmp qword [rax + 0x20], 0xf
jbe 0x14001489e
mov rdx, qword [rdx]
mov r8, qword [rax + 0x18]
mov rcx, rdi
call fcn.14000e500
mov rcx, rax
call fcn.14000c010
nop
lea rcx, [rbp + 0x48]
call fcn.14000a300
mov rcx, qword [rbp + 0x48]
mov qword [rbp + 0x48], rsi
mov edx, 0x10
call fcn.14000d2e0
mov rcx, qword [rbp + 0x100]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movabs r14, 0x7ffffffffffffffe
add rbx, 0x28
lea rax, [rbx - 8]
cmp rax, r15
jne 0x140014680
lea rcx, [rbp + 0x118]
call fcn.140016080
mov rcx, qword [rbp + 0x118]
mov qword [rbp + 0x118], rsi
mov edx, 0x10
call fcn.14000d2e0
nop
lea rcx, [rbp + 0x140]
call fcn.14000a220
mov rcx, qword [rbp + 0x140]
mov qword [rbp + 0x140], rsi
mov edx, 0x10
call fcn.14000d2e0
lea rdi, [0x1400bba74]
lea r15, [0x1400bba78]
inc r12d
cmp r12d, dword [rbp + 0x10c]
jb 0x140014370
mov ebx, dword [rsp + 0x60]
mov rcx, qword [rbp + 0xf8]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
lea rcx, [rbp + 0x1a8]
call fcn.14000a220
mov rcx, qword [rbp + 0x1a8]
mov qword [rbp + 0x1a8], rsi
mov edx, 0x10
call fcn.14000d2e0
inc ebx
mov dword [rsp + 0x60], ebx
cmp ebx, dword [rbp + 0x110]
jb 0x1400141e0
mov rcx, qword [rbp + 0xf0]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov bl, 1
lea rcx, [rbp + 0x168]
call fcn.14000a220
mov rcx, qword [rbp + 0x168]
mov qword [rbp + 0x168], rsi
mov edx, 0x10
call fcn.14000d2e0
movzx eax, bl
mov rcx, qword [rbp + 0x5d0]
xor rcx, rsp
call fcn.140034bd0
lea r11, [rsp + 0x6e0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.140003250
nop
call fcn.140003250
nop
call fcn.140003250
nop
call fcn.140003250
nop
call fcn.140003250
nop
call fcn.140003250
int3