Function at 0x140024d50
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rdi
mov rbp, rsp
sub rsp, 0x40
xor edi, edi
lea rax, str.CPresetOrientationSettings::RestoreSettings.
mov qword [rsp + 0x30], rax
lea r8, [0x1400a73c8]
lea rax, [0x1400868d0]
mov rbx, rcx
mov qword [rsp + 0x28], rax
lea rcx, str...SharedPresetOrientationSettings.cpp
lea r9d, [rdi + 3]
mov qword [rsp + 0x20], rdi
lea edx, [rdi + 0x17]
call fcn.140002f50
lea rax, [rbp + 0x38]
mov dword [rbp + 0x20], 0x1e
mov r9d, 0x20019
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov qword [rbp + 0x38], rdi
lea rdx, str.SoftwareWaves_AudioOrientationSettingsGeneral
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov rcx, qword [rbp + 0x38]
test rcx, rcx
je 0x140024e08
lea rax, [rbp + 0x28]
mov dword [rbp + 0x28], 4
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0x30]
lea rax, [rbp + 0x20]
xor r8d, r8d
lea rdx, str.Landscape_Standing_X_Min
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rcx, qword [rbp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [rbp + 0x20]
lea rdx, str.SoftwareWaves_AudioOrientationSettingsGeneral
mov dword [rbx + 8], eax
mov r9d, 0x20019
lea rax, [rbp + 0x38]
mov dword [rbp + 0x20], 0x78
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rcx, 0xffffffff80000001
mov qword [rbp + 0x38], rdi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov rcx, qword [rbp + 0x38]
test rcx, rcx
je 0x140024e7f
lea rax, [rbp + 0x28]
mov dword [rbp + 0x28], 4
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0x30]
lea rax, [rbp + 0x20]
xor r8d, r8d
lea rdx, str.Landscape_Standing_X_Max
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rcx, qword [rbp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [rbp + 0x20]
lea rdx, str.SoftwareWaves_AudioOrientationSettingsGeneral
mov dword [rbx + 0xc], eax
mov r9d, 0x20019
lea rax, [rbp + 0x38]
mov dword [rbp + 0x20], 0xa
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rcx, 0xffffffff80000001
mov qword [rbp + 0x38], rdi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov rcx, qword [rbp + 0x38]
test rcx, rcx
je 0x140024ef6
lea rax, [rbp + 0x28]
mov dword [rbp + 0x28], 4
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0x30]
lea rax, [rbp + 0x20]
xor r8d, r8d
lea rdx, str.Landscape_Laying_X_Min
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rcx, qword [rbp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [rbp + 0x20]
lea rdx, str.SoftwareWaves_AudioOrientationSettingsGeneral
mov dword [rbx + 0x10], eax
mov r9d, 0x20019
lea rax, [rbp + 0x38]
mov dword [rbp + 0x20], 0x1e
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rcx, 0xffffffff80000001
mov qword [rbp + 0x38], rdi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov rcx, qword [rbp + 0x38]
test rcx, rcx
je 0x140024f6d
lea rax, [rbp + 0x28]
mov dword [rbp + 0x28], 4
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0x30]
lea rax, [rbp + 0x20]
xor r8d, r8d
lea rdx, str.Landscape_Laying_X_Max
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rcx, qword [rbp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [rbp + 0x20]
lea rdx, str.SoftwareWaves_AudioOrientationSettingsGeneral
mov dword [rbx + 0x14], eax
mov r9d, 0x20019
lea rax, [rbp + 0x38]
mov dword [rbp + 0x20], 0xffffffa6
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rcx, 0xffffffff80000001
mov qword [rbp + 0x38], rdi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov rcx, qword [rbp + 0x38]
test rcx, rcx
je 0x140024fe4
lea rax, [rbp + 0x28]
mov dword [rbp + 0x28], 4
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0x30]
lea rax, [rbp + 0x20]
xor r8d, r8d
lea rdx, str.Portrait_Standing_Y_Min
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rcx, qword [rbp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [rbp + 0x20]
lea rdx, str.SoftwareWaves_AudioOrientationSettingsGeneral
mov dword [rbx + 0x18], eax
mov r9d, 0x20019
lea rax, [rbp + 0x38]
mov dword [rbp + 0x20], 0xffffffe2
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rcx, 0xffffffff80000001
mov qword [rbp + 0x38], rdi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov rcx, qword [rbp + 0x38]
test rcx, rcx
je 0x14002505b
lea rax, [rbp + 0x28]
mov dword [rbp + 0x28], 4
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0x30]
lea rax, [rbp + 0x20]
xor r8d, r8d
lea rdx, str.Portrait_Standing_Y_Max
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rcx, qword [rbp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [rbp + 0x20]
lea rdx, str.SoftwareWaves_AudioOrientationSettingsGeneral
mov dword [rbx + 0x1c], eax
mov r9d, 0x20019
lea rax, [rbp + 0x38]
mov dword [rbp + 0x20], 0xffffffe2
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rcx, 0xffffffff80000001
mov qword [rbp + 0x38], rdi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov rcx, qword [rbp + 0x38]
test rcx, rcx
je 0x1400250d2
lea rax, [rbp + 0x28]
mov dword [rbp + 0x28], 4
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0x30]
lea rax, [rbp + 0x20]
xor r8d, r8d
lea rdx, str.Portrait_Laying_Y_Min
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rcx, qword [rbp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [rbp + 0x20]
lea rdx, str.SoftwareWaves_AudioOrientationSettingsGeneral
mov dword [rbx + 0x20], eax
mov r9d, 0x20019
lea rax, [rbp + 0x38]
mov dword [rbp + 0x20], 0xfffffff6
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rcx, 0xffffffff80000001
mov qword [rbp + 0x38], rdi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov rcx, qword [rbp + 0x38]
test rcx, rcx
je 0x140025149
lea rax, [rbp + 0x28]
mov dword [rbp + 0x28], 4
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0x30]
lea rax, [rbp + 0x20]
xor r8d, r8d
lea rdx, str.Portrait_Laying_Y_Max
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rcx, qword [rbp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [rbp + 0x20]
lea rdx, str.SoftwareWaves_AudioOrientationSettingsGeneral
mov dword [rbx + 0x24], eax
mov r9d, 0x20019
lea rax, [rbp + 0x38]
mov dword [rbp + 0x20], 0xf
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rcx, 0xffffffff80000001
mov qword [rbp + 0x38], rdi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov rcx, qword [rbp + 0x38]
test rcx, rcx
je 0x1400251c0
lea rax, [rbp + 0x28]
mov dword [rbp + 0x28], 4
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0x30]
lea rax, [rbp + 0x20]
xor r8d, r8d
lea rdx, str.Timeout
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rcx, qword [rbp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [rbp + 0x20]
mov dword [rbx + 0x28], eax
add rsp, 0x40
pop rdi
pop rbx
pop rbp
ret