Function at 0x14007e8f8
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r15
push rbp
lea rbp, [rax - 0x1b8]
sub rsp, 0x2b0
mov rax, qword [0x1400ce2e8]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
call fcn.14007e7dc
xor ebx, ebx
mov r15, 0xffffffff80000002
test al, al
je 0x14007ead1
lea rax, [0x1400a23f8]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov edi, 0x20019
mov r9d, edi
xor r8d, r8d
lea rdx, str.DEVICESCurrentControlSetEnumROOTPERCEPTIONSIMULATION
mov rcx, r15
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
nop dword [rax + rax]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
cmp ecx, 0x80070002
jne 0x14007e9c7
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, edi
xor r8d, r8d
lea rdx, str.SYSTEMCurrentControlSetEnumROOTPERCEPTIONSIMULATION
mov rcx, r15
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
nop dword [rax + rax]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
test ecx, ecx
js 0x14007eac7
mov esi, ebx
mov dword [rsp + 0x48], 0x104
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x48]
lea r8, [rbp - 0x70]
mov edx, esi
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegEnumKeyExW]
nop dword [rax + rax]
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
test edi, edi
js 0x14007eabd
mov dword [rsp + 0x40], ebx
mov dword [rsp + 0x4c], 4
mov qword [rsp + 0x78], rbx
mov qword [rbp - 0x80], 7
mov word [rsp + 0x68], bx
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x68]
call fcn.140006ec8
nop
lea rdx, str.Device_ParametersVirtualDisplay
lea rcx, [rsp + 0x68]
call fcn.14000e3fc
lea rdx, [rsp + 0x68]
cmp qword [rbp - 0x80], 8
cmovae rdx, qword [rsp + 0x68]
lea rax, [rsp + 0x4c]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
mov r9d, 0x10
lea r8, str.Persistent
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
test eax, eax
jne 0x14007eab3
cmp dword [rsp + 0x40], 1
je 0x14007eb35
lea rcx, [rsp + 0x68]
call fcn.140006c64
inc esi
test edi, edi
jns 0x14007e9d1
lea rcx, [rsp + 0x58]
call fcn.1400677f4
mov dword [rsp + 0x44], ebx
mov dword [rsp + 0x50], 4
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x44]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
mov r9d, 0x10010
lea r8, [0x1400b42c0]
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionPerceptionSimulationExtensions
mov rcx, r15
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
test eax, eax
jne 0x14007eb51
mov edi, dword [rsp + 0x44]
call fcn.14007e7dc
test al, al
je 0x14007eb2f
cmp edi, 1
je 0x14007eb31
mov ebx, edi
mov eax, ebx
jmp 0x14007eb53
lea rcx, [rsp + 0x68]
call fcn.140006c64
nop
lea rcx, [rsp + 0x58]
call fcn.1400677f4
mov eax, 1
jmp 0x14007eb53
xor eax, eax
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.140097e50
lea r11, [rsp + 0x2b0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r15, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret