Function at 0x7ff7901820c4
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x68
xor edi, edi
lea rdx, [rbp - 0x10]
mov qword [rbp - 0x10], rdi
mov r14, rcx
call fcn.7ff790186c2c
test eax, eax
js 0x7ff790212f2e
call fcn.7ff7901b9a94
neg al
mov dword [rbp + 0x48], edi
lea rax, [rbp + 0x48]
mov rcx, 0xffffffff80000002
sbb r15d, r15d
mov qword [rsp + 0x20], rax
lea r8, str.IsHvsiLogon
and r15d, 0x100000
lea rdx, str.SYSTEMControlSet001ControlHvsi
call fcn.7ff7901ae690
test eax, eax
jns 0x7ff790212f4c
mov ebx, edi
call fcn.7ff790167554
test al, al
jne 0x7ff790212f5f
mov rcx, qword [rbp - 0x10]
call fcn.7ff790185b20
mov dword [rbp + 0x58], edi
test al, al
jne 0x7ff790212f5f
call fcn.7ff790185a00
neg al
mov qword [rsp + 0x28], rdi
lea r8, str.TempProfile
mov qword [rsp + 0x20], rdi
sbb eax, eax
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionExplorerPostBootRemindersProfileError
and eax, 0x4000
xor r9d, r9d
mov rcx, 0xffffffff80000001
mov dword [rbp - 0x28], eax
call qword [sym.imp.api_ms_win_shcore_registry_l1_1_0.dll_SHGetValueW]
nop dword [rax + rax]
lea rcx, [rbp + 0x48]
mov dword [rbp + 0x48], edi
neg eax
sbb esi, esi
not esi
and esi, 0x8000
call qword [sym.imp.USERENV.dll_GetProfileType]
nop dword [rax + rax]
mov r12d, 1
test eax, eax
je 0x7ff790212f6b
test byte [rbp + 0x48], r12b
mov dword [rbp + 0x48], 0x2000
jne 0x7ff7901821d0
mov dword [rbp + 0x48], edi
call fcn.7ff7901b5fc4
neg al
sbb r13d, r13d
and r13d, 0x1000
call fcn.7ff7901671bc
neg al
sbb eax, eax
and eax, 0x800
mov dword [rbp - 0x24], eax
call fcn.7ff790168a14
test al, al
jne 0x7ff790212f96
lea rax, [rbp + 0x50]
mov rcx, 0xffffffff80000001
lea r8, [0x7ff790463820]
mov qword [rsp + 0x20], rax
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionExplorer
call fcn.7ff7901ae690
test eax, eax
js 0x7ff79018222f
cmp dword [rbp + 0x50], edi
jne 0x7ff790212f96
call fcn.7ff7901b9d30
neg al
mov ecx, 0x43
sbb eax, eax
and eax, 0x200
mov dword [rbp - 0x20], eax
call qword [sym.imp.api_ms_win_ntuser_sysparams_l1_1_0.dll_GetSystemMetrics]
nop dword [rax + rax]
neg eax
sbb eax, eax
and eax, 0x100
mov dword [rbp - 0x2c], eax
call fcn.7ff7901b76d8
neg al
sbb eax, eax
and eax, 0x40
mov dword [rbp - 0x1c], eax
call fcn.7ff7901b8458
neg eax
mov ecx, 0x1d
sbb eax, eax
and eax, 0x10
mov dword [rbp - 0x30], eax
call qword [sym.imp.api_ms_win_shcore_sysinfo_l1_1_0.dll_IsOS]
nop dword [rax + rax]
neg eax
sbb eax, eax
and eax, 8
mov dword [rbp - 0x34], eax
call fcn.7ff790186ae8
neg al
lea r8, str.UserSignedIn
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionExplorer
mov rcx, 0xffffffff80000001
sbb eax, eax
and eax, 4
mov dword [rbp - 0x18], eax
lea rax, [rbp + 0x50]
mov qword [rsp + 0x20], rax
call fcn.7ff7901ae690
test eax, eax
js 0x7ff790212fa0
cmp dword [rbp + 0x50], 0
je 0x7ff790212fa0
and dword [rbp + 0x50], 0
lea rax, [rbp + 0x60]
mov rcx, 0xffffffff80000002
lea r8, str.OOBEUserSignedIn
mov qword [rsp + 0x20], rax
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionOOBEStats
call fcn.7ff7901ae690
test eax, eax
js 0x7ff790212fac
cmp dword [rbp + 0x60], 0
je 0x7ff790212fac
xor r12d, r12d
or ebx, dword [rbp - 0x34]
or ebx, dword [rbp - 0x30]
or ebx, dword [rbp - 0x2c]
or ebx, dword [rbp + 0x48]
or ebx, esi
or ebx, edi
or ebx, dword [rbp + 0x50]
or ebx, dword [rbp + 0x58]
or ebx, r12d
or ebx, r15d
or ebx, dword [rbp - 0x28]
or ebx, r13d
or ebx, dword [rbp - 0x24]
or ebx, dword [rbp - 0x20]
or ebx, dword [rbp - 0x1c]
or ebx, dword [rbp - 0x18]
or dword [r14 + 0xc8], ebx
test byte [0x7ff7904d9cc4], 2
je 0x7ff79018237b
call fcn.7ff7901b9a38
neg al
sbb ebx, ebx
and ebx, 0x20000
call fcn.7ff7901b8e64
neg al
sbb ecx, ecx
and ecx, 0x10000
or ebx, ecx
or dword [r14 + 0xc8], ebx
mov rcx, qword [rbp - 0x10]
test rcx, rcx
je 0x7ff790182390
call qword [sym.imp.api_ms_win_core_heap_l2_1_0.dll_LocalFree]
nop dword [rax + rax]
add rsp, 0x68
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov rcx, qword [rbp + 0x40]
lea r8, str.shellliblogontaskslogontasks.cpp
mov r9d, eax
mov edx, 0x568
call fcn.7ff790182a30
nop
jmp 0x7ff7901820f2
mov ebx, 0x80000
cmp dword [rbp + 0x48], edi
jne 0x7ff790182133
jmp 0x7ff790182131
mov dword [rbp + 0x58], 0x40000
jmp 0x7ff790182154
call fcn.7ff79018056c
test eax, eax
jns 0x7ff7901821c0
mov rcx, qword [rbp + 0x40]
lea r8, str.shellliblogontaskslogontasks.cpp
mov r9d, eax
mov edx, 0x490
call fcn.7ff790182a30
nop
jmp 0x7ff7901821cd
mov edi, 0x400
jmp 0x7ff79018222f
mov dword [rbp + 0x50], 2
jmp 0x7ff7901822de
lea rcx, [rbp - 0x38]
call qword [sym.imp.api_ms_win_oobe_notification_l1_1_0.dll_OOBEComplete]
nop dword [rax + rax]
test eax, eax
je 0x7ff790182316
cmp dword [rbp - 0x38], 0
je 0x7ff790182316
jmp 0x7ff790182313