Function at 0x14000b620
Capabilities:
Delete registry key

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x60
xor r15d, r15d
lea rcx, [rax + 0x10]
mov dword [rax + 8], r15d
mov qword [rax + 0x10], r15
call fcn.14000b25c
mov r14, qword [rsp + 0xa8]
mov ebp, eax
test eax, eax
jne 0x14000b946
test r14, r14
je 0x14000b96b
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov edi, eax
call qword [sym.imp.WDSCORE.dll_CurrentIP]
nop dword [rax + rax]
mov r8, r14
lea rdx, str.Module_version_is___s_
mov ecx, 0x4000000
mov rbx, rax
call fcn.140004c0c
mov dword [rsp + 0x50], r15d
lea rbp, str.IncrementFailedInstallCount
mov qword [rsp + 0x48], r15
lea r12, [0x14000ed78]
mov dword [rsp + 0x40], edi
mov rcx, rax
mov qword [rsp + 0x38], rbx
lea rax, str.base_ntsetupdiagnosticslibdiagutil_src_setupfailurecount.cpp
mov qword [rsp + 0x30], rbp
mov r13d, 0x70000
mov qword [rsp + 0x28], rax
xor r9d, r9d
mov r8, r12
mov dword [rsp + 0x20], 0x98
mov edx, r13d
call qword [sym.imp.WDSCORE.dll_WdsSetupLogMessageW]
nop dword [rax + rax]
lea rcx, [rsp + 0xa0]
call fcn.14000b4c0
mov esi, eax
test eax, eax
je 0x14000b778
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov edi, eax
call qword [sym.imp.WDSCORE.dll_CurrentIP]
nop dword [rax + rax]
mov r8d, esi
lea rdx, str.Failed_to_get_saved_failed_install_count._GLE_is___d_
mov ecx, 0x300008b
mov rbx, rax
call fcn.140004c0c
mov dword [rsp + 0x50], r15d
lea rsi, str.base_ntsetupdiagnosticslibdiagutil_src_setupfailurecount.cpp
mov qword [rsp + 0x48], r15
mov rcx, rax
mov dword [rsp + 0x40], edi
xor r9d, r9d
mov qword [rsp + 0x38], rbx
mov r8, r12
mov qword [rsp + 0x30], rbp
mov edx, r13d
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], 0x9e
call qword [sym.imp.WDSCORE.dll_WdsSetupLogMessageW]
nop dword [rax + rax]
jmp 0x14000b77f
lea rsi, str.base_ntsetupdiagnosticslibdiagutil_src_setupfailurecount.cpp
lea rdx, str.SYSTEMSetupFailedInstallations
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
nop dword [rax + rax]
mov ebp, eax
test eax, eax
je 0x14000b817
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov edi, eax
call qword [sym.imp.WDSCORE.dll_CurrentIP]
nop dword [rax + rax]
mov r8d, ebp
lea rdx, str.Unable_to_delete_install_failure_count_REG_key._GLE_is___d_
mov ecx, 0x4000000
mov rbx, rax
call fcn.140004c0c
mov dword [rsp + 0x50], r15d
mov rcx, rax
mov qword [rsp + 0x48], r15
lea rax, str.IncrementFailedInstallCount
mov dword [rsp + 0x40], edi
xor r9d, r9d
mov qword [rsp + 0x38], rbx
mov r8, r12
mov qword [rsp + 0x30], rax
mov edx, r13d
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], 0xaa
call qword [sym.imp.WDSCORE.dll_WdsSetupLogMessageW]
nop dword [rax + rax]
mov ebp, r15d
mov esi, dword [rsp + 0xa0]
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov edi, eax
call qword [sym.imp.WDSCORE.dll_CurrentIP]
nop dword [rax + rax]
lea r9d, [rsi + 1]
mov r8, r14
lea rdx, str.Failed_install_count_for_build___s__is___d_
mov ecx, 0x4000000
mov rbx, rax
call fcn.140004c0c
mov dword [rsp + 0x50], r15d
mov rcx, rax
mov qword [rsp + 0x48], r15
lea rax, str.IncrementFailedInstallCount
mov dword [rsp + 0x40], edi
xor r9d, r9d
mov qword [rsp + 0x38], rbx
mov r8, r12
mov qword [rsp + 0x30], rax
mov edx, r13d
lea rax, str.base_ntsetupdiagnosticslibdiagutil_src_setupfailurecount.cpp
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0xb5
call qword [sym.imp.WDSCORE.dll_WdsSetupLogMessageW]
nop dword [rax + rax]
lea r9d, [rsi + 1]
mov r8, r14
call fcn.140008660
test eax, eax
jne 0x14000b946
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebp, eax
mov eax, 0x1f
test ebp, ebp
cmove ebp, eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov edi, eax
call qword [sym.imp.WDSCORE.dll_CurrentIP]
nop dword [rax + rax]
mov r8d, ebp
lea rdx, str.Failed_to_increment_failed_install_count._GLE_is___d_
mov ecx, 0x300008c
mov rbx, rax
call fcn.140004c0c
mov dword [rsp + 0x50], r15d
mov rcx, rax
mov qword [rsp + 0x48], r15
lea rax, str.IncrementFailedInstallCount
mov dword [rsp + 0x40], edi
xor r9d, r9d
mov qword [rsp + 0x38], rbx
mov r8, r12
mov qword [rsp + 0x30], rax
mov edx, r13d
lea rax, str.base_ntsetupdiagnosticslibdiagutil_src_setupfailurecount.cpp
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0xbe
call qword [sym.imp.WDSCORE.dll_WdsSetupLogMessageW]
nop dword [rax + rax]
test r14, r14
je 0x14000b96b
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
nop dword [rax + rax]
mov r8, r14
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
nop dword [rax + rax]
mov rbx, qword [rsp + 0xb0]
mov eax, ebp
add rsp, 0x60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret