Function at 0x14012ab20
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xd0
mov rax, qword [0x1402bf5c8]
xor rax, rsp
mov qword [rbp + 0x47], rax
lea rdx, str.SOFTWAREATI_TechnologiesLinkDriverUpgrade
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegDeleteTreeW]
test eax, eax
setne dil
xor r8d, r8d
mov edx, 0x3ff
lea rcx, [rbp + 0x27]
call fcn.140023b20
nop
lea rcx, [rbp + 0x27]
mov rdx, qword [rbp + 0x3f]
cmp rdx, 8
cmovae rcx, qword [rbp + 0x27]
movzx eax, dil
mov dword [rsp + 0x20], eax
lea r9, str.HKEY_CURRENT_USERSOFTWAREATI_Technologies__d_:
mov r8, 0xffffffffffffffff
call fcn.14009de10
lea rdi, [rbp + 0x27]
cmp qword [rbp + 0x3f], 8
cmovae rdi, qword [rbp + 0x27]
xor esi, esi
mov dword [rbp - 0x49], esi
lea rax, [rbp - 0x49]
mov qword [rbp - 0x39], rax
lea rax, [rbp - 0x45]
mov qword [rbp - 0x31], rax
lea rax, [rbp - 0x29]
mov qword [rbp + 0x17], rax
mov qword [rbp - 0x29], rsi
mov qword [rbp - 0x19], rsi
mov qword [rbp - 0x11], 7
lea r8d, [rsi + 0x17]
lea rdx, str.deleteLeftoutRegistries
lea rcx, [rbp - 0x29]
call fcn.140018360
nop
mov qword [rbp - 9], rsi
mov qword [rbp + 7], rsi
mov qword [rbp + 0xf], 7
lea r8d, [rsi + 0x72]
lea rdx, str.c:constructicon_buildsgfx_six23.19installNeomaInstallNeomaIN_Apps_srcCoreInstallManInstallManHelpers.cpp
lea rcx, [rbp - 9]
call fcn.140018360
movaps xmm0, xmmword [rbp - 0x39]
movdqa xmmword [rbp - 0x39], xmm0
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], 1
lea r9, [rbp - 0x39]
mov r8d, 0x10e4
lea rdx, [rbp - 0x29]
lea rcx, [rbp - 9]
call fcn.1400b16b0
nop
mov rdx, qword [rbp + 0x3f]
cmp rdx, 8
jb 0x14012ac84
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x27]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14012ac7f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14012b201
call fcn.1401a9a50
lea rdx, str.SOFTWAREATI_Technologies
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegDeleteTreeW]
test eax, eax
setne bl
mov qword [rbp + 0x27], rsi
mov qword [rbp + 0x37], rsi
mov qword [rbp + 0x3f], 7
mov word [rbp + 0x27], si
mov edx, 0x400
lea rcx, [rbp + 0x27]
call fcn.140023c30
mov r8, rax
mov qword [rbp + 0x37], 0x3ff
mov qword [rbp + 0x3f], 0x3ff
movzx eax, si
mov rdi, r8
mov ecx, 0x3ff
rep stosw word [rdi], ax
mov word [r8 + 0x7fe], si
mov qword [rbp + 0x27], r8
lea rcx, [rbp + 0x27]
mov rdx, qword [rbp + 0x3f]
cmp rdx, 8
cmovae rcx, r8
movzx eax, bl
mov dword [rsp + 0x20], eax
lea r9, str.SOFTWAREATI_Technologies__d_:
mov r8, 0xffffffffffffffff
call fcn.14009de10
lea rdi, [rbp + 0x27]
cmp qword [rbp + 0x3f], 8
cmovae rdi, qword [rbp + 0x27]
mov dword [rbp - 0x49], esi
lea rax, [rbp - 0x49]
mov qword [rbp - 0x39], rax
lea rax, [rbp - 0x45]
mov qword [rbp - 0x31], rax
lea rax, [rbp - 9]
mov qword [rbp + 0x1f], rax
mov qword [rbp - 9], rsi
mov qword [rbp + 7], rsi
mov qword [rbp + 0xf], 7
mov r8d, 0x17
lea rdx, str.deleteLeftoutRegistries
lea rcx, [rbp - 9]
call fcn.140018360
nop
mov qword [rbp - 0x29], rsi
mov qword [rbp - 0x19], rsi
mov qword [rbp - 0x11], 7
mov r8d, MsiRecordSetStreamA
lea rdx, str.c:constructicon_buildsgfx_six23.19installNeomaInstallNeomaIN_Apps_srcCoreInstallManInstallManHelpers.cpp
lea rcx, [rbp - 0x29]
call fcn.140018360
movaps xmm0, xmmword [rbp - 0x39]
movdqa xmmword [rbp - 0x39], xmm0
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], 1
lea r9, [rbp - 0x39]
mov r8d, 0x10e7
lea rdx, [rbp - 9]
lea rcx, [rbp - 0x29]
call fcn.1400b16b0
nop
mov rdx, qword [rbp + 0x3f]
cmp rdx, 8
jb 0x14012adfa
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x27]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14012adf5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14012b207
call fcn.1401a9a50
lea rdx, str.SOFTWAREAIX_Installer
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegDeleteTreeW]
test eax, eax
setne bl
mov qword [rbp + 0x27], rsi
mov qword [rbp + 0x37], rsi
mov qword [rbp + 0x3f], 7
mov word [rbp + 0x27], si
mov edx, 0x400
lea rcx, [rbp + 0x27]
call fcn.140023c30
mov r8, rax
mov qword [rbp + 0x37], 0x3ff
mov qword [rbp + 0x3f], 0x3ff
movzx eax, si
mov rdi, r8
mov ecx, 0x3ff
rep stosw word [rdi], ax
mov word [r8 + 0x7fe], si
mov qword [rbp + 0x27], r8
lea rcx, [rbp + 0x27]
mov rdx, qword [rbp + 0x3f]
cmp rdx, 8
cmovae rcx, r8
movzx eax, bl
mov dword [rsp + 0x20], eax
lea r9, str.SOFTWAREAIX_Installer__d_:
mov r8, 0xffffffffffffffff
call fcn.14009de10
lea rdi, [rbp + 0x27]
cmp qword [rbp + 0x3f], 8
cmovae rdi, qword [rbp + 0x27]
mov dword [rbp - 0x49], esi
lea rax, [rbp - 0x49]
mov qword [rbp - 0x39], rax
lea rax, [rbp - 0x45]
mov qword [rbp - 0x31], rax
lea rax, [rbp - 9]
mov qword [rbp + 0x1f], rax
mov qword [rbp - 9], rsi
mov qword [rbp + 7], rsi
mov qword [rbp + 0xf], 7
mov r8d, 0x17
lea rdx, str.deleteLeftoutRegistries
lea rcx, [rbp - 9]
call fcn.140018360
nop
mov qword [rbp - 0x29], rsi
mov qword [rbp - 0x19], rsi
mov qword [rbp - 0x11], 7
mov r8d, MsiRecordSetStreamA
lea rdx, str.c:constructicon_buildsgfx_six23.19installNeomaInstallNeomaIN_Apps_srcCoreInstallManInstallManHelpers.cpp
lea rcx, [rbp - 0x29]
call fcn.140018360
movaps xmm0, xmmword [rbp - 0x39]
movdqa xmmword [rbp - 0x39], xmm0
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], 1
lea r9, [rbp - 0x39]
mov r8d, 0x10ea
lea rdx, [rbp - 9]
lea rcx, [rbp - 0x29]
call fcn.1400b16b0
nop
mov rdx, qword [rbp + 0x3f]
cmp rdx, 8
jb 0x14012af70
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x27]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14012af6b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14012b1fb
call fcn.1401a9a50
lea rdx, str.SOFTWAREAMD
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegDeleteTreeW]
test eax, eax
setne bl
mov qword [rbp + 0x27], rsi
mov qword [rbp + 0x37], rsi
mov qword [rbp + 0x3f], 7
mov word [rbp + 0x27], si
mov edx, 0x400
lea rcx, [rbp + 0x27]
call fcn.140023c30
mov r8, rax
mov qword [rbp + 0x37], 0x3ff
mov qword [rbp + 0x3f], 0x3ff
movzx eax, si
mov rdi, r8
mov ecx, 0x3ff
rep stosw word [rdi], ax
mov word [r8 + 0x7fe], si
mov qword [rbp + 0x27], r8
lea rcx, [rbp + 0x27]
mov rdx, qword [rbp + 0x3f]
cmp rdx, 8
cmovae rcx, r8
movzx eax, bl
mov dword [rsp + 0x20], eax
lea r9, str.SOFTWAREAMD__d_:
mov r8, 0xffffffffffffffff
call fcn.14009de10
lea rdi, [rbp + 0x27]
cmp qword [rbp + 0x3f], 8
cmovae rdi, qword [rbp + 0x27]
mov dword [rbp - 0x49], esi
lea rax, [rbp - 0x49]
mov qword [rbp - 0x39], rax
lea rax, [rbp - 0x45]
mov qword [rbp - 0x31], rax
lea rax, [rbp - 9]
mov qword [rbp + 0x1f], rax
mov qword [rbp - 9], rsi
mov qword [rbp + 7], rsi
mov qword [rbp + 0xf], 7
mov r8d, 0x17
lea rdx, str.deleteLeftoutRegistries
lea rcx, [rbp - 9]
call fcn.140018360
nop
mov qword [rbp - 0x29], rsi
mov qword [rbp - 0x19], rsi
mov qword [rbp - 0x11], 7
mov r8d, MsiRecordSetStreamA
lea rdx, str.c:constructicon_buildsgfx_six23.19installNeomaInstallNeomaIN_Apps_srcCoreInstallManInstallManHelpers.cpp
lea rcx, [rbp - 0x29]
call fcn.140018360
movaps xmm0, xmmword [rbp - 0x39]
movdqa xmmword [rbp - 0x39], xmm0
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], 1
lea r9, [rbp - 0x39]
mov r8d, 0x10ed
lea rdx, [rbp - 9]
lea rcx, [rbp - 0x29]
call fcn.1400b16b0
nop
mov r8, qword [rbp + 0x3f]
cmp r8, 8
jb 0x14012b0c0
inc r8
mov rdx, qword [rbp + 0x27]
lea rcx, [rbp + 0x27]
call fcn.140023c60
lea rdx, str.SOFTWAREWOW6432NodeATI_Technologies
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegDeleteTreeW]
test eax, eax
setne dil
xor r8d, r8d
mov edx, 0x3ff
lea rcx, [rbp + 0x27]
call fcn.140023b20
nop
lea rcx, [rbp + 0x27]
mov rdx, qword [rbp + 0x3f]
cmp rdx, 8
cmovae rcx, qword [rbp + 0x27]
movzx eax, dil
mov dword [rsp + 0x20], eax
lea r9, str.SOFTWAREWOW6432NodeATI_Technologies__d_:
mov r8, 0xffffffffffffffff
call fcn.14009de10
lea rdi, [rbp + 0x27]
cmp qword [rbp + 0x3f], 8
cmovae rdi, qword [rbp + 0x27]
mov dword [rbp - 0x49], esi
lea rax, [rbp - 0x49]
mov qword [rbp - 0x39], rax
lea rax, [rbp - 0x45]
mov qword [rbp - 0x31], rax
lea rax, [rbp - 9]
mov qword [rbp + 0x1f], rax
mov qword [rbp - 9], rsi
mov qword [rbp + 7], rsi
mov qword [rbp + 0xf], 7
mov r8d, 0x17
lea rdx, str.deleteLeftoutRegistries
lea rcx, [rbp - 9]
call fcn.140018360
nop
mov qword [rbp - 0x29], rsi
mov qword [rbp - 0x19], rsi
mov qword [rbp - 0x11], 7
mov r8d, MsiRecordSetStreamA
lea rdx, str.c:constructicon_buildsgfx_six23.19installNeomaInstallNeomaIN_Apps_srcCoreInstallManInstallManHelpers.cpp
lea rcx, [rbp - 0x29]
call fcn.140018360
movaps xmm0, xmmword [rbp - 0x39]
movdqa xmmword [rbp - 0x39], xmm0
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], 1
lea r9, [rbp - 0x39]
mov r8d, 0x10f0
lea rdx, [rbp - 9]
lea rcx, [rbp - 0x29]
call fcn.1400b16b0
nop
mov r8, qword [rbp + 0x3f]
cmp r8, 8
jb 0x14012b1d6
inc r8
mov rdx, qword [rbp + 0x27]
lea rcx, [rbp + 0x27]
call fcn.140023c60
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.1401a9a30
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
call fcn.1401e3dbc
int3
call fcn.1401e3dbc
int3
call fcn.1401e3dbc
int3