Function at 0x140019e04
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 0x140019e6c
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 0x140019e62
cmp dword [rsp + 0x40], r15d
jne 0x140019e6c
mov eax, 0x80070005
jmp 0x14001a59c
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 0x140019ec1
mov rcx, qword [rbp + 0x108]
mov r9d, eax
lea r8, str.mrcommon_sdk_simulation_settingsperceptionsimulationsettings.cpp
mov edx, 0xaf
call fcn.140003f3c
jmp 0x14001a573
mov qword [rsp + 0x78], r15
lea rdx, [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
call fcn.140019c18
mov edi, eax
mov rbx, qword [rsp + 0x78]
test eax, eax
jns 0x140019f00
mov rcx, qword [rbp + 0x108]
mov r9d, eax
lea r8, str.mrcommon_sdk_simulation_settingsperceptionsimulationsettings.cpp
mov edx, 0xb3
call fcn.140003f3c
jmp 0x14001a553
test sil, sil
je 0x14001a531
test rbx, rbx
jne 0x14001a550
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, [0x14002dbe8]
xor edx, edx
lea r8d, [rbx + 1]
lea rcx, [0x14002dec0]
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 0x140019f5b
mov edx, 0xbd
jmp 0x14001a065
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 0x14001a036
cmp dword [rsp + 0x40], 0x30
jne 0x14001a036
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 0x14001a036
cmp dword [rsp + 0x40], 0x30
mov sil, 1
je 0x14001a039
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 0x14001a080
mov edx, 0xdd
lea r8, str.mrcommon_sdk_simulation_settingsperceptionsimulationsettings.cpp
mov r9d, eax
mov rcx, qword [rbp + 0x108]
call fcn.140003f3c
jmp 0x14001a3f2
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x68], r15
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x70]
call fcn.14001aa40
mov edi, eax
test eax, eax
jns 0x14001a0a7
mov edx, 0xe3
jmp 0x14001a38d
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 0x14001a0d7
mov edx, 0xe4
jmp 0x14001a38d
mov rdi, qword [rsp + 0x50]
mov rax, qword [rdi]
mov r14, qword [rax + 0x98]
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14001a10d
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 0x14001a13a
mov edx, 0xe5
jmp 0x14001a38d
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 0x14001a16a
mov edx, 0xe6
jmp 0x14001a38d
test sil, sil
je 0x14001a19f
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 0x14001a19f
mov edx, 0xe9
jmp 0x14001a38d
mov rdi, qword [rsp + 0x50]
mov rax, qword [rdi]
mov r14, qword [rax + 0x98]
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14001a1d5
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 0x14001a205
mov edx, 0xeb
jmp 0x14001a38d
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 0x14001a235
mov edx, 0xec
jmp 0x14001a38d
test sil, sil
je 0x14001a26a
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 0x14001a26a
mov edx, 0xef
jmp 0x14001a38d
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 0x14001a29d
mov edx, 0xf2
jmp 0x14001a38d
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 0x14001a2d0
mov edx, 0xf3
jmp 0x14001a38d
mov rdi, qword [rsp + 0x50]
mov rax, qword [rdi]
mov rsi, qword [rax]
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14001a302
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, [0x14002ded0]
mov rcx, rdi
mov rax, rsi
call qword [0x14002acf0]
mov edi, eax
test eax, eax
jns 0x14001a331
mov edx, 0xf5
jmp 0x14001a38d
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 0x14001a35d
mov edx, 0xf6
jmp 0x14001a38d
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 0x14001a46c
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 0x14001a3cb
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 0x14001a3f2
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 0x14001a419
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 0x14001a440
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 0x14001a467
mov qword [rsp + 0x60], r15
mov rax, qword [rcx]
movabs r10, 0xbaac1f10365eb170
mov rax, qword [rax + 0x10]
call qword [0x14002acf0]
nop
jmp 0x14001a553
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14001a493
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 0x14001a4ba
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 0x14001a4e1
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 0x14001a508
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 0x14001a52f
mov qword [rsp + 0x60], r15
mov rax, qword [rcx]
movabs r10, 0xbaac1f10365eb170
mov rax, qword [rax + 0x10]
call qword [0x14002acf0]
nop
jmp 0x14001a550
test rbx, rbx
je 0x14001a550
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 0x14001a573
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 0x14001a59a
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.14001b530
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