Function at 0x14024d07c
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 [0x140387a48]
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 0x14024d0fb
mov edi, 0x8000ffff
jmp 0x14024d3aa
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x70]
call fcn.14024cfcc
mov edi, eax
test eax, eax
js 0x14024d3aa
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.14024db0c
mov edi, eax
test eax, eax
js 0x14024d3aa
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0x60]
call fcn.14006e14c
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 0x14024d1bc
jle 0x14024d394
movzx edi, ax
or edi, 0x80070000
jmp 0x14024d394
lea rdx, [0x14038bc10]
mov ecx, 0x730
call fcn.1400a1c8c
test rax, rax
je 0x14024d23a
mov qword [rax + 0x10], r15
lea rcx, [0x1402fe9c0]
mov qword [rax], rcx
xorps xmm0, xmm0
mov qword [rax + 0x40], r15
lea rcx, [0x1402fea50]
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 0x14024d23d
mov rax, r15
test rax, rax
je 0x14024d38f
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.14024ce84
mov rbx, qword [rsp + 0x58]
test rbx, rbx
je 0x14024d38f
mov rdx, rsi
mov rcx, rbx
call fcn.14024f7f4
mov edi, eax
test eax, eax
js 0x14024d394
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 0x14024d1a8
mov eax, dword [rsp + 0x44]
lea r8, [rbp + 0x10]
mov rdx, r12
mov dword [rbx + 0x18], eax
mov rcx, rbx
call fcn.14024f8e8
mov edi, eax
test eax, eax
js 0x14024d394
lea r8, [rbp + 0x10]
mov rdx, r12
mov rcx, rbx
call fcn.14024f51c
mov edi, eax
test eax, eax
js 0x14024d394
lea r8, [rbp + 0x10]
mov rdx, r12
mov rcx, rbx
call fcn.14024f730
mov edi, eax
test eax, eax
js 0x14024d394
lea r8, [rbp + 0x10]
mov rdx, r12
mov rcx, rbx
call fcn.14024fafc
mov edi, eax
test eax, eax
js 0x14024d394
lea r8, [rbp + 0x10]
mov rdx, r12
mov rcx, rbx
call fcn.14024f9ac
mov edi, eax
test eax, eax
js 0x14024d394
lea r8, [rbp + 0x10]
mov rdx, r12
mov rcx, rbx
call fcn.14024fd4c
mov edi, eax
test eax, eax
js 0x14024d394
lea r8, [rbp + 0x10]
mov rdx, r12
mov rcx, rbx
call fcn.14024f5e0
mov edi, eax
test eax, eax
js 0x14024d394
lea r8, [rbp + 0x10]
mov rdx, r12
mov rcx, rbx
call fcn.14024fbfc
mov edi, eax
test eax, eax
js 0x14024d394
mov rax, rbx
mov rbx, r15
mov qword [r14], rax
jmp 0x14024d394
mov edi, 0x8007000e
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14024d3aa
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
test rbx, rbx
je 0x14024d3bf
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 0x10]
call qword [case.0x14006b68f.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.1400a15a0
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