Function at 0x1400819f0
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r13
push r14
lea rbp, [rax - 0x5f]
sub rsp, 0xc0
mov qword [rbp - 1], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x1401411c8]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov rsi, rdx
mov rdi, rcx
mov dword [rdx], 3
xor r14d, r14d
cmp byte [0x140141559], r14b
je 0x140081b3d
mov dword [rbp - 0x41], r14d
lea ebx, [r14 + 4]
mov dword [rbp - 0x49], ebx
lea rax, [rbp - 0x49]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x41]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
lea r9d, [r14 + 0x10]
lea r8, str.NoUninstallFromStart
lea rdx, str.SoftwarePoliciesMicrosoftWindowsExplorer
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
test eax, eax
jne 0x140081a96
cmp dword [rbp - 0x41], r14d
je 0x140081a96
mov dword [rsi], 1
jmp 0x140081fe0
mov qword [rbp - 0x39], r14
lea rdx, [rbp - 0x39]
mov ecx, 0x20019
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenCurrentUser]
test eax, eax
je 0x140081ac9
mov rcx, qword [rbp + 0x5f]
mov r9d, eax
lea r8, str.onecoreuap_adminwebbwindowsrest_appxmanager.cpp
mov edx, 0x964
call fcn.140008688
mov ebx, eax
jmp 0x140081b18
mov dword [rbp - 0x41], r14d
mov dword [rbp - 0x49], ebx
lea rax, [rbp - 0x49]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x41]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
mov r9d, 0x10
lea r8, str.NoUninstallFromStart
lea rdx, str.SoftwarePoliciesMicrosoftWindowsExplorer
mov rcx, qword [rbp - 0x39]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
test eax, eax
jne 0x140081b2e
cmp dword [rbp - 0x41], r14d
je 0x140081b2e
mov dword [rsi], 1
mov ebx, r14d
mov rcx, qword [rbp - 0x39]
test rcx, rcx
je 0x140081b27
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov eax, ebx
jmp 0x140081fe2
mov rcx, qword [rbp - 0x39]
test rcx, rcx
je 0x140081b3d
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
cmp byte [0x14014155a], r14b
je 0x140081b8e
mov rax, qword [rdi]
lea rdx, [rbp - 0x49]
mov rcx, rdi
mov rax, qword [rax + 0x2d0]
call qword [0x1400f5e38]
mov ebx, eax
test eax, eax
jns 0x140081b7d
mov rcx, qword [rbp + 0x5f]
mov r9d, eax
lea r8, str.onecoreuap_adminwebbwindowsrest_appxmanager.cpp
mov edx, 0x97a
call fcn.140003684
jmp 0x140081b27
cmp dword [rbp - 0x49], 2
jne 0x140081b8e
mov dword [rsi], 2
jmp 0x140081fe0
cmp byte [0x14014155b], r14b
je 0x140081fdd
mov qword [rbp - 9], r14
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsDeleteString]
mov qword [rbp - 9], r14
mov rax, qword [rdi]
lea rdx, [rbp - 9]
mov rcx, rdi
mov rax, qword [rax + 0xb0]
call qword [0x1400f5e38]
mov ebx, eax
test eax, eax
jns 0x140081be5
mov rcx, qword [rbp + 0x5f]
mov r9d, eax
lea r8, str.onecoreuap_adminwebbwindowsrest_appxmanager.cpp
mov edx, 0x988
call fcn.140003684
jmp 0x140082118
mov qword [rbp - 0x11], r14
mov rax, qword [rdi]
lea rdx, [rbp - 0x11]
mov rcx, rdi
mov rax, qword [rax + 0x60]
call qword [0x1400f5e38]
mov ebx, eax
test eax, eax
jns 0x140081c20
mov rcx, qword [rbp + 0x5f]
mov r9d, eax
lea r8, str.onecoreuap_adminwebbwindowsrest_appxmanager.cpp
mov edx, 0x98a
call fcn.140003684
jmp 0x1400820fd
mov qword [rbp - 0x19], r14
mov rbx, qword [rbp - 0x11]
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsDeleteString]
mov qword [rbp - 0x19], r14
mov rax, qword [rbx]
lea rdx, [rbp - 0x19]
mov rcx, rbx
mov rax, qword [rax + 0x70]
call qword [0x1400f5e38]
mov ebx, eax
test eax, eax
jns 0x140081c6b
mov rcx, qword [rbp + 0x5f]
mov r9d, eax
lea r8, str.onecoreuap_adminwebbwindowsrest_appxmanager.cpp
mov edx, 0x98c
call fcn.140003684
jmp 0x1400820ef
mov qword [rbp - 0x21], r14
mov rbx, qword [rbp - 0x11]
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsDeleteString]
mov qword [rbp - 0x21], r14
mov rax, qword [rbx]
lea rdx, [rbp - 0x21]
mov rcx, rbx
mov rax, qword [rax + 0x50]
call qword [0x1400f5e38]
mov ebx, eax
test eax, eax
jns 0x140081cb6
mov rcx, qword [rbp + 0x5f]
mov r9d, eax
lea r8, str.onecoreuap_adminwebbwindowsrest_appxmanager.cpp
mov edx, 0x98e
call fcn.140003684
jmp 0x1400820e1
mov qword [rbp - 0x41], r14
lea r9, [rbp + 7]
lea r8, [rbp + 0xf]
mov edx, 0x2c
lea rcx, str.Windows.Internal.StateRepository.Application
call qword [sym.imp.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsCreateStringReference]
test eax, eax
jns 0x140081ced
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
mov ecx, 0xc000000d
call qword [sym.imp.api_ms_win_downlevel_kernel32_l1_1_0.dll_RaiseException]
mov rbx, qword [rbp + 7]
mov rcx, qword [rbp - 0x41]
test rcx, rcx
je 0x140081d0b
mov qword [rbp - 0x41], r14
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x1400f5e38]
lea r8, [rbp - 0x41]
lea rdx, [0x140105820]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_winrt_l1_1_0.dll_RoGetActivationFactory]
mov ebx, eax
test eax, eax
jns 0x140081d42
mov rcx, qword [rbp + 0x5f]
mov r9d, eax
lea r8, str.onecoreuap_adminwebbwindowsrest_appxmanager.cpp
mov edx, 0x992
call fcn.140003684
jmp 0x1400820c6
mov qword [rbp - 0x29], r14
mov rcx, qword [rbp - 0x41]
mov rax, qword [rcx]
lea r8, [rbp - 0x29]
mov rdx, rdi
mov rax, qword [rax + 0x90]
call qword [0x1400f5e38]
mov ebx, eax
test eax, eax
jns 0x140081d6e
mov edx, 0x994
jmp 0x140081d8e
mov rcx, qword [rbp - 0x29]
mov rax, qword [rcx]
lea rdx, [rbp - 0x49]
mov rax, qword [rax + 0x38]
call qword [0x1400f5e38]
mov ebx, eax
test eax, eax
jns 0x140081da6
mov edx, 0x996
lea r8, str.onecoreuap_adminwebbwindowsrest_appxmanager.cpp
mov r9d, eax
mov rcx, qword [rbp + 0x5f]
call fcn.140003684
jmp 0x1400820ab
mov edi, r14d
cmp dword [rbp - 0x49], r14d
jbe 0x140081f66
mov r12d, 7
or r13, 0xffffffffffffffff
mov qword [rbp - 0x39], r14
mov rcx, qword [rbp - 0x29]
mov rax, qword [rcx]
lea r8, [rbp - 0x39]
mov edx, edi
mov rax, qword [rax + 0x30]
call qword [0x1400f5e38]
mov ebx, eax
test eax, eax
js 0x140082077
mov qword [rbp - 0x31], r14
mov rbx, qword [rbp - 0x39]
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsDeleteString]
mov qword [rbp - 0x31], r14
mov rax, qword [rbx]
lea rdx, [rbp - 0x31]
mov rcx, rbx
mov rax, qword [rax + 0x100]
call qword [0x1400f5e38]
mov ebx, eax
test eax, eax
js 0x14008204e
xor edx, edx
mov rcx, qword [rbp - 0x21]
call qword [sym.imp.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsGetStringRawBuffer]
mov qword [rbp + 0x1f], r12
mov qword [rbp + 0x17], r14
mov word [rbp + 7], r14w
cmp word [rax], r14w
jne 0x140081e3b
mov r8, r14
jmp 0x140081e48
mov r8, r13
inc r8
cmp word [rax + r8*2], r14w
jne 0x140081e3e
mov rdx, rax
lea rcx, [rbp + 7]
call fcn.140007004
nop
mov r8d, 1
lea rdx, [0x140107774]
lea rcx, [rbp + 7]
call fcn.140008328
xor edx, edx
mov rcx, qword [rbp - 0x19]
call qword [sym.imp.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsGetStringRawBuffer]
cmp word [rax], r14w
jne 0x140081e82
mov r8, r14
jmp 0x140081e8f
mov r8, r13
inc r8
cmp word [rax + r8*2], r14w
jne 0x140081e85
mov rdx, rax
lea rcx, [rbp + 7]
call fcn.140008328
mov r8d, 1
lea rdx, [0x1401077a4]
lea rcx, [rbp + 7]
call fcn.140008328
xor edx, edx
mov rcx, qword [rbp - 0x31]
call qword [sym.imp.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsGetStringRawBuffer]
cmp word [rax], r14w
jne 0x140081ec8
mov r8, r14
jmp 0x140081ed5
mov r8, r13
inc r8
cmp word [rax + r8*2], r14w
jne 0x140081ecb
mov rdx, rax
lea rcx, [rbp + 7]
call fcn.140008328
cmp byte [0x14014155b], r14b
je 0x140081f15
lea rcx, [rbp + 7]
cmp qword [rbp + 0x1f], 8
cmovae rcx, qword [rbp + 7]
lea rdx, [rbp - 0x45]
call fcn.140074d78
mov ebx, eax
test eax, eax
js 0x140082015
cmp byte [rbp - 0x45], r14b
je 0x14008200a
cmp qword [rbp + 0x1f], 8
jb 0x140081f26
mov rcx, qword [rbp + 7]
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
mov qword [rbp + 0x1f], r12
mov qword [rbp + 0x17], r14
mov word [rbp + 7], r14w
mov rcx, qword [rbp - 0x31]
call qword [sym.imp.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsDeleteString]
mov qword [rbp - 0x31], r14
mov rcx, qword [rbp - 0x39]
test rcx, rcx
je 0x140081f5b
mov qword [rbp - 0x39], r14
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x1400f5e38]
inc edi
cmp edi, dword [rbp - 0x49]
jb 0x140081dbd
mov rcx, qword [rbp - 0x29]
test rcx, rcx
je 0x140081f81
mov qword [rbp - 0x29], r14
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x1400f5e38]
nop
mov rcx, qword [rbp - 0x41]
test rcx, rcx
je 0x140081f9c
mov qword [rbp - 0x41], r14
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x1400f5e38]
nop
mov rcx, qword [rbp - 0x21]
call qword [sym.imp.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsDeleteString]
mov qword [rbp - 0x21], r14
mov rcx, qword [rbp - 0x19]
call qword [sym.imp.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsDeleteString]
mov qword [rbp - 0x19], r14
mov rcx, qword [rbp - 0x11]
test rcx, rcx
je 0x140081fd3
mov qword [rbp - 0x11], r14
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x1400f5e38]
nop
mov rcx, qword [rbp - 9]
call qword [sym.imp.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsDeleteString]
mov dword [rsi], r14d
xor eax, eax
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.1400c20a0
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rbp
ret
mov dword [rsi], 2
mov ebx, r14d
jmp 0x14008202e
mov rcx, qword [rbp + 0x5f]
mov r9d, eax
lea r8, str.onecoreuap_adminwebbwindowsrest_appxmanager.cpp
mov edx, 0x9a9
call fcn.140003684
nop
cmp qword [rbp + 0x1f], 8
jb 0x14008203f
mov rcx, qword [rbp + 7]
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
mov qword [rbp + 0x1f], r12
mov qword [rbp + 0x17], r14
mov word [rbp + 7], r14w
jmp 0x140082067
mov rcx, qword [rbp + 0x5f]
mov r9d, eax
lea r8, str.onecoreuap_adminwebbwindowsrest_appxmanager.cpp
mov edx, 0x99c
call fcn.140003684
nop
mov rcx, qword [rbp - 0x31]
call qword [sym.imp.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsDeleteString]
mov qword [rbp - 0x31], r14
jmp 0x140082090
mov rcx, qword [rbp + 0x5f]
mov r9d, eax
lea r8, str.onecoreuap_adminwebbwindowsrest_appxmanager.cpp
mov edx, 0x99a
call fcn.140003684
nop
mov rcx, qword [rbp - 0x39]
test rcx, rcx
je 0x1400820ab
mov qword [rbp - 0x39], r14
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x1400f5e38]
nop
mov rcx, qword [rbp - 0x29]
test rcx, rcx
je 0x1400820c6
mov qword [rbp - 0x29], r14
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x1400f5e38]
nop
mov rcx, qword [rbp - 0x41]
test rcx, rcx
je 0x1400820e1
mov qword [rbp - 0x41], r14
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x1400f5e38]
nop
mov rcx, qword [rbp - 0x21]
call qword [sym.imp.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsDeleteString]
mov qword [rbp - 0x21], r14
mov rcx, qword [rbp - 0x19]
call qword [sym.imp.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsDeleteString]
mov qword [rbp - 0x19], r14
mov rcx, qword [rbp - 0x11]
test rcx, rcx
je 0x140082118
mov qword [rbp - 0x11], r14
mov rdx, qword [rcx]
mov rax, qword [rdx + 0x10]
call qword [0x1400f5e38]
nop
mov rcx, qword [rbp - 9]
call qword [sym.imp.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsDeleteString]
jmp 0x140081b27