Function at 0x14024065c
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x230]
sub rsp, 0x330
mov rax, qword [0x140379a08]
xor rax, rsp
mov qword [rbp + reloc.api_ms_win_shlwapi_winrt_storage_l1_1_1.dll_Ordinal_544], rax
xor r15d, r15d
mov rsi, rdx
mov r14, r8
mov qword [rsp + 0x60], r15
mov ebx, r15d
mov qword [rsp + 0x48], r15
lea rdx, [rsp + 0x70]
mov qword [rsp + 0x58], rbx
lea r8d, [r15 + 0x27]
mov word [rbp - 0x40], r15w
mov rcx, rsi
mov word [rsp + 0x70], r15w
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_StringFromGUID2]
nop dword [rax + rax]
cmp eax, 0x27
je 0x1402406db
mov edi, 0x8000ffff
jmp 0x14024098a
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x70]
call fcn.1402405ac
mov edi, eax
test eax, eax
js 0x14024098a
lea rax, [rbp + 0x10]
mov qword [rsp + 0x28], 0x104
mov r12, 0xffffffff80000002
mov qword [rsp + 0x20], rax
mov rcx, r12
lea r9, [rsp + 0x48]
mov r8d, 0x20019
lea rdx, [rbp - 0x40]
call fcn.1402410ec
mov edi, eax
test eax, eax
js 0x14024098a
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0x60]
call fcn.14006ee3c
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
lea r8, str.EnrollmentType
lea rax, [rsp + 0x40]
mov dword [rsp + 0x40], r15d
mov qword [rsp + 0x28], rax
mov r9d, reloc.OLEAUT32.dll_SafeArrayGetElement
xor edx, edx
mov qword [rsp + 0x20], r15
mov dword [rsp + 0x50], 4
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
mov edi, eax
test eax, eax
je 0x14024079c
jle 0x140240974
movzx edi, ax
or edi, 0x80070000
jmp 0x140240974
lea rdx, [0x14037db18]
mov ecx, 0x730
call fcn.1400a294c
test rax, rax
je 0x14024081a
mov qword [rax + 0x10], r15
lea rcx, [0x1402f1938]
mov qword [rax], rcx
xorps xmm0, xmm0
mov qword [rax + 0x40], r15
lea rcx, [0x1402f1930]
mov qword [rax + 8], rcx
mov ecx, Shell_MergeMenus
mov dword [rax + 0x18], ecx
mov dword [rax + 0x3c], ecx
mov qword [rax + 0x700], r15
mov qword [rax + 0x708], r15
mov qword [rax + 0x710], r15
mov qword [rax + 0x718], r15
mov qword [rax + 0x720], r15
mov qword [rax + 0x728], r15
movups xmmword [rax + 0x1c], xmm0
mov word [rax + 0x48], r15w
mov word [rax + 0x96], r15w
jmp 0x14024081d
mov rax, r15
test rax, rax
je 0x14024096f
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.140240464
mov rbx, qword [rsp + 0x58]
test rbx, rbx
je 0x14024096f
mov rdx, rsi
mov rcx, rbx
call fcn.140242de4
mov edi, eax
test eax, eax
js 0x140240974
mov eax, dword [rsp + 0x40]
lea r8, str.EnrollmentState
mov dword [rbx + 0x3c], eax
mov r9d, reloc.OLEAUT32.dll_SafeArrayGetElement
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x54]
mov qword [rsp + 0x30], rax
xor edx, edx
lea rax, [rsp + 0x44]
mov dword [rsp + 0x44], r15d
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
mov dword [rsp + 0x54], 4
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
mov edi, eax
test eax, eax
jne 0x140240788
mov eax, dword [rsp + 0x44]
lea r8, [rbp + 0x10]
mov rdx, r12
mov dword [rbx + 0x18], eax
mov rcx, rbx
call fcn.140242ed8
mov edi, eax
test eax, eax
js 0x140240974
lea r8, [rbp + 0x10]
mov rdx, r12
mov rcx, rbx
call fcn.140242b0c
mov edi, eax
test eax, eax
js 0x140240974
lea r8, [rbp + 0x10]
mov rdx, r12
mov rcx, rbx
call fcn.140242d20
mov edi, eax
test eax, eax
js 0x140240974
lea r8, [rbp + 0x10]
mov rdx, r12
mov rcx, rbx
call fcn.1402430ec
mov edi, eax
test eax, eax
js 0x140240974
lea r8, [rbp + 0x10]
mov rdx, r12
mov rcx, rbx
call fcn.140242f9c
mov edi, eax
test eax, eax
js 0x140240974
lea r8, [rbp + 0x10]
mov rdx, r12
mov rcx, rbx
call fcn.14024333c
mov edi, eax
test eax, eax
js 0x140240974
lea r8, [rbp + 0x10]
mov rdx, r12
mov rcx, rbx
call fcn.140242bd0
mov edi, eax
test eax, eax
js 0x140240974
lea r8, [rbp + 0x10]
mov rdx, r12
mov rcx, rbx
call fcn.1402431ec
mov edi, eax
test eax, eax
js 0x140240974
mov rax, rbx
mov rbx, r15
mov qword [r14], rax
jmp 0x140240974
mov edi, 0x8007000e
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14024098a
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
test rbx, rbx
je 0x14024099f
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 0x10]
call qword [case.0x14006c37f.0]
mov eax, edi
mov rcx, qword [rbp + reloc.api_ms_win_shlwapi_winrt_storage_l1_1_1.dll_Ordinal_544]
xor rcx, rsp
call fcn.1400a2260
lea r11, [rsp + 0x330]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret