Function at 0x140001f80
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xf0
mov rax, qword [0x14000d208]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov r15, rcx
xor r12d, r12d
mov edi, r12d
mov dword [rbp - 0x69], r12d
mov r8, rcx
lea rdx, [rbp - 0x31]
lea rcx, [rbp - 0x39]
call fcn.140002a90
movzx ebx, al
test al, al
je 0x140002522
mov dword [rbp - 0x69], r12d
lea rcx, str.kernel32
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.IsWow64Process
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
test rax, rax
je 0x14000201b
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea rdx, [rbp - 0x69]
call rbx
test eax, eax
je 0x14000201b
mov eax, r12d
cmp dword [rbp - 0x69], eax
setne al
jmp 0x14000201e
mov eax, r12d
shl eax, 8
add eax, 0xf003f
mov qword [rbp - 0x51], r12
mov qword [rsp + 0x40], r12
lea rcx, [rbp - 0x51]
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftWindows_NTCurrentVersionWinLogon
mov rcx, qword [rbp - 1]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov rsi, qword [rbp - 0x51]
test rsi, rsi
je 0x140002114
lea rcx, [rbp - 0x41]
call qword [sym.imp.Qt5Core.dll_public:_static_class_QString___cdecl_QCoreApplication::applicationDirPath_void_]
nop
mov rdx, rax
lea rcx, [rbp - 0x59]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QDir::constructor_class_QString_const____ptr64____ptr64]
nop
lea rcx, [rbp - 0x41]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
mov r8d, 0xffffffff
lea rdx, str.bspsh.exe
lea rcx, [rbp - 0x49]
call qword [sym.imp.Qt5Core.dll_public:_static_class_QString___cdecl_QString::fromWCharArray_wchar_t_const____ptr64__int_]
nop
mov r8, rax
lea rdx, [rbp - 0x61]
lea rcx, [rbp - 0x59]
call qword [sym.imp.Qt5Core.dll_public:_class_QString___cdecl_QDir::absoluteFilePath_class_QString_const____ptr64____ptr64]
nop
lea rcx, [rbp - 0x49]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
lea r8, str.Shell
mov rdx, rsi
lea rcx, [rbp - 0x41]
call fcn.140002750
lea rdx, [rbp - 0x61]
mov rcx, rax
call qword [sym.imp.Qt5Core.dll_bool___cdecl_operator_class_QString_const____ptr64__class_QString_const____ptr64_]
test al, al
setne bl
mov edi, r12d
lea rcx, [rbp - 0x41]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
lea rcx, [rbp - 0x61]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
lea rcx, [rbp - 0x59]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QDir::destructor_void____ptr64]
jmp 0x140002116
xor bl, bl
xor r8d, r8d
xor edx, edx
lea ecx, [rdx + 6]
call fcn.140001e90
test al, al
je 0x140002257
lea rdx, [rbp - 0x31]
lea rcx, str.SoftwareMicrosoftWindowsCurrentVersionPoliciesSystem
call fcn.140002640
mov rsi, rax
test rax, rax
je 0x14000219b
test bl, bl
je 0x14000217b
lea r8, str.SetVisualStyle
mov rdx, rax
lea rcx, [rbp - 0x49]
call fcn.140002750
nop
mov edi, 2
mov dword [rbp - 0x69], edi
lea rdx, str._WINDIR_ResourcesThemesAero_aero.msstyles
mov rcx, rax
call qword [sym.imp.Qt5Core.dll_public:_bool___cdecl_QString::operator_char_const____ptr64_const___ptr64]
test al, al
je 0x14000217b
mov bl, 1
jmp 0x14000217d
xor bl, bl
test dil, 2
je 0x140002190
and edi, 0xfffffffd
lea rcx, [rbp - 0x49]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14000219d
xor bl, bl
lea rdx, [rbp - 0x31]
lea rcx, str.SoftwareMicrosoftWindowsDWM
call fcn.140002640
mov rsi, rax
test rax, rax
je 0x140002255
test bl, bl
je 0x140002248
mov dword [rbp - 0x69], r12d
mov dword [rbp - 0x61], 4
lea rax, [rbp - 0x61]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x69]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.Composition
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140002248
cmp dword [rbp - 0x69], 1
jne 0x140002248
mov dword [rbp - 0x69], r12d
mov dword [rbp - 0x61], 4
lea rax, [rbp - 0x61]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x69]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.CompositionPolicy
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140002248
cmp dword [rbp - 0x69], 2
jne 0x140002248
mov bl, 1
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x140002257
xor bl, bl
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x140002257
xor bl, bl
xor r8d, r8d
lea edx, [r8 + 1]
lea ecx, [rdx + 5]
call fcn.140001e90
test al, al
je 0x1400023cd
lea rdx, [rbp - 0x31]
lea rcx, str.SoftwareMicrosoftWindows_NTCurrentVersionAppCompatFlagsLayers
call fcn.140002640
mov rsi, rax
test rax, rax
je 0x1400023cb
lea rcx, [rbp - 0x49]
call qword [sym.imp.Qt5Core.dll_public:_static_class_QString___cdecl_QCoreApplication::applicationDirPath_void_]
nop
mov rdx, rax
lea rcx, [rbp - 0x51]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QDir::constructor_class_QString_const____ptr64____ptr64]
nop
lea rcx, [rbp - 0x49]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
mov r8d, 0xffffffff
lea rdx, str.bsp.exe
lea rcx, [rbp - 0x61]
call qword [sym.imp.Qt5Core.dll_public:_static_class_QString___cdecl_QString::fromWCharArray_wchar_t_const____ptr64__int_]
nop
mov r8, rax
lea rdx, [rbp - 0x41]
lea rcx, [rbp - 0x51]
call qword [sym.imp.Qt5Core.dll_public:_class_QString___cdecl_QDir::absoluteFilePath_class_QString_const____ptr64____ptr64]
nop
mov rdx, rax
lea rcx, [rbp - 0x59]
call qword [sym.imp.Qt5Core.dll_public:_static_class_QString___cdecl_QDir::toNativeSeparators_class_QString_const____ptr64_]
nop
lea rcx, [rbp - 0x41]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
lea rcx, [rbp - 0x61]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
test bl, bl
je 0x14000234b
lea rdx, [rbp + 7]
lea rcx, [rbp - 0x59]
call qword [sym.imp.Qt5Core.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_QString::toStdWString_void____ptr64]
nop
or edi, 4
mov dword [rbp - 0x69], edi
cmp qword [rax + 0x18], 8
jb 0x14000231d
mov rax, qword [rax]
mov r8, rax
mov rdx, rsi
lea rcx, [rbp - 0x49]
call fcn.140002750
nop
or edi, 8
mov dword [rbp - 0x69], edi
lea rdx, str._HIGHDPIAWARE
mov rcx, rax
call qword [sym.imp.Qt5Core.dll_public:_bool___cdecl_QString::operator_char_const____ptr64_const___ptr64]
test al, al
je 0x14000234b
mov bl, 1
jmp 0x14000234d
xor bl, bl
test dil, 8
je 0x140002361
and edi, 0xfffffff7
lea rcx, [rbp - 0x49]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
test dil, 4
je 0x1400023aa
mov rdx, qword [rbp + 0x1f]
cmp rdx, 8
jb 0x1400023aa
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400023a5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400023a5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005368
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
lea rcx, [rbp - 0x59]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
lea rcx, [rbp - 0x51]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QDir::destructor_void____ptr64]
jmp 0x1400023cd
xor bl, bl
cmp qword [str.SoftwareMicrosoftWindowsCurrentVersionPoliciesSystem], 0
je 0x1400024f6
lea rdi, str.SoftwareMicrosoftWindowsCurrentVersionPoliciesSystem
test bl, bl
je 0x1400024fa
mov rbx, qword [rdi - 8]
mov rsi, qword [rdi]
cmp rbx, 0xffffffff80000001
jne 0x14000240e
lea rdx, [rbp - 0x31]
mov rcx, rsi
call fcn.140002640
mov rsi, rax
jmp 0x140002497
mov dword [rbp - 0x69], r12d
lea rcx, str.kernel32
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.IsWow64Process
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r14, rax
test rax, rax
je 0x140002456
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea rdx, [rbp - 0x69]
call r14
test eax, eax
je 0x140002456
mov eax, r12d
cmp dword [rbp - 0x69], eax
setne al
jmp 0x140002459
mov eax, r12d
mov qword [rbp - 0x59], r12
shl eax, 8
add eax, 0xf003f
mov qword [rsp + 0x40], r12
lea rcx, [rbp - 0x59]
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov rsi, qword [rbp - 0x59]
test rsi, rsi
je 0x14000254d
mov dword [rbp - 0x61], r12d
mov dword [rbp - 0x51], 4
lea rax, [rbp - 0x51]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x61]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rdi + 8]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [rbp - 0x61]
test eax, eax
cmovne ecx, r12d
cmp ecx, dword [rdi + 0x10]
sete bl
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
add rdi, 0x20
cmp qword [rdi], 0
jne 0x1400023e2
test bl, bl
jne 0x14000250a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov rdx, r15
call fcn.140001260
mov rdx, qword [rbp - 1]
mov rcx, qword [rbp - 0x39]
call qword [sym.imp.USERENV.dll_UnloadUserProfile]
mov rcx, qword [rbp - 0x39]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movzx eax, bl
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.140005480
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
xor bl, bl
jmp 0x1400024fa