Function at 0x140019ce8
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x108]
sub rsp, 0x1f0
mov rax, qword [0x1400354c8]
xor rax, rsp
mov qword [rbp + 0xe0], rax
mov sil, cl
xor r15d, r15d
test cl, cl
je 0x140019d50
mov dword [rsp + 0x40], r15d
lea rcx, [rsp + 0x40]
call qword [sym.imp.api_ms_win_appmodel_unlock_l1_1_0.dll_IsDeveloperModeEnabled]
nop dword [rax + rax]
test eax, eax
js 0x140019d46
cmp dword [rsp + 0x40], r15d
jne 0x140019d50
mov eax, 0x80070005
jmp 0x14001a480
mov qword [rsp + 0x70], r15
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
lea r9, [0x14002c8b8]
xor edx, edx
lea r8d, [rdx + 4]
lea rcx, [0x14002c958]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoCreateInstance]
nop dword [rax + rax]
mov edi, eax
test eax, eax
jns 0x140019da5
mov rcx, qword [rbp + 0x108]
mov r9d, eax
lea r8, str.mrcommon_sdk_simulation_settingsperceptionsimulationsettings.cpp
mov edx, 0xaf
call fcn.140003f3c
jmp 0x14001a457
mov qword [rsp + 0x78], r15
lea rdx, [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
call fcn.140019afc
mov edi, eax
mov rbx, qword [rsp + 0x78]
test eax, eax
jns 0x140019de4
mov rcx, qword [rbp + 0x108]
mov r9d, eax
lea r8, str.mrcommon_sdk_simulation_settingsperceptionsimulationsettings.cpp
mov edx, 0xb3
call fcn.140003f3c
jmp 0x14001a437
test sil, sil
je 0x14001a415
test rbx, rbx
jne 0x14001a434
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], r15
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea r9, [0x14002dbd8]
xor edx, edx
lea r8d, [rbx + 1]
lea rcx, [0x14002dea8]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoCreateInstance]
nop dword [rax + rax]
mov edi, eax
test eax, eax
jns 0x140019e3f
mov edx, 0xbd
jmp 0x140019f49
mov edi, 0x3c
xor edx, edx
mov r8d, 0xdc
lea rcx, [rbp]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
lea r8, [rbp]
or edx, 0xffffffff
xor ecx, ecx
call qword [sym.imp.api_ms_win_ntuser_sysparams_l1_1_0.dll_EnumDisplaySettingsW]
nop dword [rax + rax]
test eax, eax
cmovne edi, dword [rbp + 0xb8]
mov dword [rbp - 0x78], edi
mov dword [rbp - 0x74], 1
mov dword [rsp + 0x40], 0x30
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x68]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
mov edi, 0x10008
mov r9d, edi
lea r8, str.LeftTransform
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionPerceptionSimulationExtensions
mov rsi, 0xffffffff80000002
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
test eax, eax
jne 0x140019f1a
cmp dword [rsp + 0x40], 0x30
jne 0x140019f1a
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x38]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
mov r9d, edi
lea r8, str.RightTransform
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionPerceptionSimulationExtensions
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
test eax, eax
jne 0x140019f1a
cmp dword [rsp + 0x40], 0x30
mov sil, 1
je 0x140019f1d
mov sil, r15b
mov rcx, qword [rsp + 0x60]
mov rax, qword [rcx]
movabs r10, 0xd6bc96af78540170
lea rdx, [rsp + 0x50]
mov rax, qword [rax + 0x18]
call qword [0x14002acf0]
mov edi, eax
test eax, eax
jns 0x140019f64
mov edx, 0xdd
lea r8, str.mrcommon_sdk_simulation_settingsperceptionsimulationsettings.cpp
mov r9d, eax
mov rcx, qword [rbp + 0x108]
call fcn.140003f3c
jmp 0x14001a2d6
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x68], r15
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x70]
call fcn.14001a924
mov edi, eax
test eax, eax
jns 0x140019f8b
mov edx, 0xe3
jmp 0x14001a271
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
movabs r10, 0x8f30bfd432ddd870
lea rdx, [rbp - 0x70]
mov rax, qword [rax + 0x70]
call qword [0x14002acf0]
mov edi, eax
test eax, eax
jns 0x140019fbb
mov edx, 0xe4
jmp 0x14001a271
mov rdi, qword [rsp + 0x50]
mov rax, qword [rdi]
mov r14, qword [rax + 0x98]
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140019ff1
mov qword [rsp + 0x48], r15
mov rax, qword [rcx]
movabs r10, 0xbaac1f10365eb170
mov rax, qword [rax + 0x10]
call qword [0x14002acf0]
nop
movabs r10, 0xf5600f1072d3e970
lea r8, [rsp + 0x48]
xor edx, edx
mov rcx, rdi
mov rax, r14
call qword [0x14002acf0]
mov edi, eax
test eax, eax
jns 0x14001a01e
mov edx, 0xe5
jmp 0x14001a271
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
movabs r10, 0xd15d9e7270d67270
lea rdx, [rbp - 0x80]
mov rax, qword [rax + 0x40]
call qword [0x14002acf0]
mov edi, eax
test eax, eax
jns 0x14001a04e
mov edx, 0xe6
jmp 0x14001a271
test sil, sil
je 0x14001a083
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
movabs r10, 0xb3c50e445ed55270
lea rdx, [rbp - 0x68]
mov rax, qword [rax + 0x20]
call qword [0x14002acf0]
mov edi, eax
test eax, eax
jns 0x14001a083
mov edx, 0xe9
jmp 0x14001a271
mov rdi, qword [rsp + 0x50]
mov rax, qword [rdi]
mov r14, qword [rax + 0x98]
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14001a0b9
mov qword [rsp + 0x48], r15
mov rax, qword [rcx]
movabs r10, 0xbaac1f10365eb170
mov rax, qword [rax + 0x10]
call qword [0x14002acf0]
nop
movabs r10, 0xf5600f1072d3e970
lea r8, [rsp + 0x48]
mov edx, 1
mov rcx, rdi
mov rax, r14
call qword [0x14002acf0]
mov edi, eax
test eax, eax
jns 0x14001a0e9
mov edx, 0xeb
jmp 0x14001a271
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
movabs r10, 0xd15d9e7270d67270
lea rdx, [rbp - 0x80]
mov rax, qword [rax + 0x40]
call qword [0x14002acf0]
mov edi, eax
test eax, eax
jns 0x14001a119
mov edx, 0xec
jmp 0x14001a271
test sil, sil
je 0x14001a14e
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
movabs r10, 0xb3c50e445ed55270
lea rdx, [rbp - 0x38]
mov rax, qword [rax + 0x20]
call qword [0x14002acf0]
mov edi, eax
test eax, eax
jns 0x14001a14e
mov edx, 0xef
jmp 0x14001a271
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
movabs r10, 0xebf117967a5fe170
lea rdx, str.Perception_Simulation_Headset
mov rax, qword [rax + 0x20]
call qword [0x14002acf0]
mov edi, eax
test eax, eax
jns 0x14001a181
mov edx, 0xf2
jmp 0x14001a271
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
movabs r10, 0xdcb9beb458dc8a70
lea rdx, [rbp - 0x78]
mov rax, qword [rax + 0x80]
call qword [0x14002acf0]
mov edi, eax
test eax, eax
jns 0x14001a1b4
mov edx, 0xf3
jmp 0x14001a271
mov rdi, qword [rsp + 0x50]
mov rax, qword [rdi]
mov rsi, qword [rax]
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14001a1e6
mov qword [rsp + 0x58], r15
mov rax, qword [rcx]
movabs r10, 0xbaac1f10365eb170
mov rax, qword [rax + 0x10]
call qword [0x14002acf0]
nop
movabs r10, 0xdee01e7974d59970
lea r8, [rsp + 0x58]
lea rdx, [0x14002deb8]
mov rcx, rdi
mov rax, rsi
call qword [0x14002acf0]
mov edi, eax
test eax, eax
jns 0x14001a215
mov edx, 0xf5
jmp 0x14001a271
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
movabs r10, 0xb3e5369c1c5f1870
mov rax, qword [rax + 0xb0]
call qword [0x14002acf0]
mov edi, eax
test eax, eax
jns 0x14001a241
mov edx, 0xf6
jmp 0x14001a271
mov rcx, qword [rsp + 0x60]
mov rax, qword [rcx]
movabs r10, 0xfa8c86b61a5b4870
lea rdx, [rsp + 0x68]
mov rax, qword [rax + 0x20]
call qword [0x14002acf0]
mov edi, eax
test eax, eax
jns 0x14001a350
mov edx, 0xf8
mov r9d, eax
lea r8, str.mrcommon_sdk_simulation_settingsperceptionsimulationsettings.cpp
mov rcx, qword [rbp + 0x108]
call fcn.140003f3c
nop
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14001a2af
mov qword [rsp + 0x68], r15
mov rax, qword [rcx]
movabs r10, 0xbaac1f10365eb170
mov rax, qword [rax + 0x10]
call qword [0x14002acf0]
nop
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14001a2d6
mov qword [rsp + 0x48], r15
mov rax, qword [rcx]
movabs r10, 0xbaac1f10365eb170
mov rax, qword [rax + 0x10]
call qword [0x14002acf0]
nop
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14001a2fd
mov qword [rsp + 0x58], r15
mov rax, qword [rcx]
movabs r10, 0xbaac1f10365eb170
mov rax, qword [rax + 0x10]
call qword [0x14002acf0]
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14001a324
mov qword [rsp + 0x50], r15
mov rax, qword [rcx]
movabs r10, 0xbaac1f10365eb170
mov rax, qword [rax + 0x10]
call qword [0x14002acf0]
nop
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14001a34b
mov qword [rsp + 0x60], r15
mov rax, qword [rcx]
movabs r10, 0xbaac1f10365eb170
mov rax, qword [rax + 0x10]
call qword [0x14002acf0]
nop
jmp 0x14001a437
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14001a377
mov qword [rsp + 0x68], r15
mov rax, qword [rcx]
movabs r10, 0xbaac1f10365eb170
mov rax, qword [rax + 0x10]
call qword [0x14002acf0]
nop
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14001a39e
mov qword [rsp + 0x48], r15
mov rax, qword [rcx]
movabs r10, 0xbaac1f10365eb170
mov rax, qword [rax + 0x10]
call qword [0x14002acf0]
nop
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14001a3c5
mov qword [rsp + 0x58], r15
mov rax, qword [rcx]
movabs r10, 0xbaac1f10365eb170
mov rax, qword [rax + 0x10]
call qword [0x14002acf0]
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14001a3ec
mov qword [rsp + 0x50], r15
mov rax, qword [rcx]
movabs r10, 0xbaac1f10365eb170
mov rax, qword [rax + 0x10]
call qword [0x14002acf0]
nop
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14001a413
mov qword [rsp + 0x60], r15
mov rax, qword [rcx]
movabs r10, 0xbaac1f10365eb170
mov rax, qword [rax + 0x10]
call qword [0x14002acf0]
nop
jmp 0x14001a434
test rbx, rbx
je 0x14001a434
mov rax, qword [rbx]
movabs r10, 0xe09daec81c5aab70
mov rcx, rbx
mov rax, qword [rax + 0x38]
call qword [0x14002acf0]
mov edi, r15d
test rbx, rbx
je 0x14001a457
mov rax, qword [rbx]
movabs r10, 0xbaac1f10365eb170
mov rcx, rbx
mov rax, qword [rax + 0x10]
call qword [0x14002acf0]
nop
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x14001a47e
mov qword [rsp + 0x70], r15
mov rdx, qword [rcx]
movabs r10, 0xbaac1f10365eb170
mov rax, qword [rdx + 0x10]
call qword [0x14002acf0]
nop
mov eax, edi
mov rcx, qword [rbp + 0xe0]
xor rcx, rsp
call fcn.14001b420
lea r11, [rsp + 0x1f0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret