Function at 0x14012ba70
Capabilities:
Delete registry key

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rsi
mov qword [r11 + 0x18], rdi
push r14
sub rsp, 0x120
mov rax, qword [0x1402bf5c8]
xor rax, rsp
mov qword [rsp + 0x110], rax
lea rax, [r11 - 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 0x2001f
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
test eax, eax
jne 0x14012bf28
mov rsi, qword [rsp + 0xe8]
mov qword [rsp + 0xb0], rsi
lea rdx, str.WUCCCApp
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegDeleteTreeW]
mov r14d, eax
test eax, eax
jne 0x14012bc67
xor r8d, r8d
mov edx, 0x3ff
lea rcx, [rsp + 0xf0]
call fcn.140023b20
nop
lea rcx, [rsp + 0xf0]
mov rdx, qword [rsp + 0x108]
cmp rdx, 8
cmovae rcx, qword [rsp + 0xf0]
lea r9, str.Successfully_deleted_WUCCCApp_uninstall_registry
mov r8, 0xffffffffffffffff
call fcn.14009de10
lea rdi, [rsp + 0xf0]
cmp qword [rsp + 0x108], 8
cmovae rdi, qword [rsp + 0xf0]
xor ebx, ebx
mov dword [rsp + 0xe8], ebx
lea rax, [rsp + 0xe8]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0xec]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0x80], rbx
mov qword [rsp + 0x90], rbx
mov qword [rsp + 0x98], 7
lea r8d, [r14 + 0x24]
lea rdx, str.deleteWindowsUpdateUninstallRegistry
lea rcx, [rsp + 0x80]
call fcn.140018360
nop
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], 7
lea r8d, [r14 + 0x72]
lea rdx, str.c:constructicon_buildsgfx_six23.19installNeomaInstallNeomaIN_Apps_srcCoreInstallManInstallManHelpers.cpp
lea rcx, [rsp + 0x60]
call fcn.140018360
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], ebx
lea r9, [rsp + 0x40]
mov r8d, 0x6f3
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x60]
call fcn.1400b16b0
nop
mov rdx, qword [rsp + 0x108]
cmp rdx, 8
jb 0x14012beef
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0xf0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14012bee9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14012bf5c
jmp 0x14012bee9
xor ebx, ebx
mov qword [rsp + 0xf0], rbx
mov qword [rsp + 0x100], rbx
mov qword [rsp + 0x108], 7
mov word [rsp + 0xf0], bx
mov edx, 0x400
lea rcx, [rsp + 0xf0]
call fcn.140023c30
mov rdx, rax
mov qword [rsp + 0x100], 0x3ff
mov qword [rsp + 0x108], 0x3ff
movzx eax, bx
mov rdi, rdx
mov ecx, 0x3ff
rep stosw word [rdi], ax
mov word [rdx + 0x7fe], bx
mov qword [rsp + 0xf0], rdx
mov qword [rsp + 0xe8], rbx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
lea rax, [rsp + 0xe8]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, r14d
xor edx, edx
mov ecx, 0x13ff
call qword [sym.imp.KERNEL32.dll_FormatMessageW]
mov r8d, eax
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], 7
mov rdx, qword [rsp + 0xe8]
lea rcx, [rsp + 0x40]
call fcn.140018360
mov rcx, qword [rsp + 0xe8]
call qword [sym.imp.KERNEL32.dll_LocalFree]
lea rax, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rax, qword [rsp + 0x40]
lea rcx, [rsp + 0xf0]
mov rdx, qword [rsp + 0x108]
cmp rdx, 8
cmovae rcx, qword [rsp + 0xf0]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r14d
lea r9, str.Unable_to_delete_WUCCCApp_uninstall_registry._Reason:__d__s
lea r8, [rbx - 1]
call fcn.14009de10
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x14012bdc8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14012bdc3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14012bf62
call fcn.1401a9a50
lea rdi, [rsp + 0xf0]
cmp qword [rsp + 0x108], 8
cmovae rdi, qword [rsp + 0xf0]
mov dword [rsp + 0xe8], ebx
lea rax, [rsp + 0xe8]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0xec]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0xa8], rax
mov qword [rsp + 0x80], rbx
mov qword [rsp + 0x90], rbx
mov qword [rsp + 0x98], 7
mov r8d, 0x24
lea rdx, str.deleteWindowsUpdateUninstallRegistry
lea rcx, [rsp + 0x80]
call fcn.140018360
nop
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], 7
mov r8d, MsiRecordSetStreamA
lea rdx, str.c:constructicon_buildsgfx_six23.19installNeomaInstallNeomaIN_Apps_srcCoreInstallManInstallManHelpers.cpp
lea rcx, [rsp + 0x60]
call fcn.140018360
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], 1
lea r9, [rsp + 0x40]
mov r8d, 0x6f6
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x60]
call fcn.1400b16b0
nop
mov rdx, qword [rsp + 0x108]
cmp rdx, 8
jb 0x14012beef
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0xf0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14012bee9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14012bf68
call fcn.1401a9a50
nop
test rsi, rsi
je 0x14012befe
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rcx, qword [rsp + 0x110]
xor rcx, rsp
call fcn.1401a9a30
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop r14
ret
call fcn.140015e70
nop
mov r8, rax
lea r9, str.Unable_to_open_registry_key
mov edx, edi
lea rcx, [rsp + 0xc0]
call fcn.140046020
lea rdx, [0x1402ba948]
lea rcx, [rsp + 0xc0]
call fcn.1401cfc8c
nop
call fcn.1401e3dbc
nop
call fcn.1401e3dbc
nop
call fcn.1401e3dbc
int3