Function at 0x140106610
Capabilities:
Delete file
Get common file path
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0xb48]
sub rsp, 0xc20
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
mov rax, qword [0x1402be5c8]
xor rax, rsp
mov qword [rbp + 0xaf0], rax
xor ebx, ebx
mov qword [rbp - 0x40], rbx
mov qword [rbp + 0x58], rbx
mov qword [rbp + 0x68], rbx
mov r14d, 7
mov qword [rbp + 0x70], r14
mov word [rbp + 0x58], bx
xor r8d, r8d
lea rdx, [0x14022de70]
lea rcx, [rbp + 0x58]
call fcn.140018360
nop
mov qword [rbp + 0x38], rbx
mov qword [rbp + 0x48], rbx
mov qword [rbp + 0x50], r14
mov word [rbp + 0x38], bx
xor r8d, r8d
lea rdx, [0x14022de70]
lea rcx, [rbp + 0x38]
call fcn.140018360
nop
mov qword [rbp + 0x80], rbx
mov qword [rbp + 0x90], rbx
mov qword [rbp + 0x98], r14
mov word [rbp + 0x80], bx
xor r8d, r8d
lea rdx, [0x14022de70]
lea rcx, [rbp + 0x80]
call fcn.140018360
nop
mov qword [rbp + 0xa0], rbx
movdqa xmm0, xmmword [0x14023bab0]
movdqu xmmword [rbp + 0xb0], xmm0
mov word [rbp + 0xa0], bx
xor r8d, r8d
lea rdx, [0x14022de70]
lea rcx, [rbp + 0xa0]
call fcn.140018360
nop
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 0x20119
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallAMD_Catalyst_Install_Manager
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea rsi, [rbx - 1]
test eax, eax
jne 0x14010690a
xor edx, edx
mov r8d, 0x800
lea rcx, [rbp + 0x2f0]
call fcn.1401cff00
mov dword [rbp + 0x10], 1
mov dword [rbp + 0x78], 0x104
lea rax, [rbp + 0x78]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x2f0]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x10]
xor r8d, r8d
lea rdx, str.InstallDir
mov rcx, qword [rbp - 0x40]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov r15d, eax
mov qword [rbp - 0x38], rbx
mov qword [rbp - 0x28], rbx
mov qword [rbp - 0x20], r14
mov word [rbp - 0x38], bx
mov edx, 0x400
lea rcx, [rbp - 0x38]
call fcn.140023c30
mov r8, rax
mov qword [rbp - 0x28], 0x3ff
mov qword [rbp - 0x20], 0x3ff
movzx eax, bx
mov rdi, r8
mov ecx, 0x3ff
rep stosw word [rdi], ax
mov word [r8 + 0x7fe], bx
mov qword [rbp - 0x38], r8
lea rcx, [rbp - 0x38]
mov rdx, qword [rbp - 0x20]
cmp rdx, 8
cmovae rcx, r8
lea r9, str.Creating_schedule_task_for_AUEP_Installation
mov r8, rsi
call fcn.14009d740
lea rdi, [rbp - 0x38]
cmp qword [rbp - 0x20], 8
cmovae rdi, qword [rbp - 0x38]
mov dword [rsp + 0x68], ebx
lea rax, [rsp + 0x68]
mov qword [rbp - 0x10], rax
lea rax, [rsp + 0x6c]
mov qword [rbp - 8], rax
lea rax, [rsp + 0x48]
mov qword [rbp - 0x70], rax
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], r14
lea r8d, [rbx + 0x18]
lea rdx, str.CreateAUEPInstallSchTask
lea rcx, [rsp + 0x48]
call fcn.140018360
nop
mov qword [rbp + 0x18], rbx
mov qword [rbp + 0x28], rbx
mov qword [rbp + 0x30], r14
lea r8d, [rbx + 0x72]
lea rdx, str.c:constructicon_buildsgfx_six23.19installNeomaInstallNeomaIN_Apps_srcCoreInstallManInstallManHelpers.cpp
lea rcx, [rbp + 0x18]
call fcn.140018360
movaps xmm0, xmmword [rbp - 0x10]
movdqa xmmword [rbp - 0x10], xmm0
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], ebx
lea r9, [rbp - 0x10]
mov r8d, 0x1a70
lea rdx, [rsp + 0x48]
lea rcx, [rbp + 0x18]
call fcn.1400b0fe0
nop
mov rdx, qword [rbp - 0x20]
cmp rdx, 8
jb 0x1401068d6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401068d1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140106f1e
call fcn.1401a9460
test r15d, r15d
jne 0x140106900
lea rax, [rbp + 0x2f0]
mov r8, rsi
inc r8
cmp word [rax + r8*2], 0
jne 0x1401068e5
lea rdx, [rbp + 0x2f0]
lea rcx, [rbp + 0x58]
call fcn.140018360
mov rcx, qword [rbp - 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r15, qword [rbp + 0x68]
test r15, r15
je 0x140106ea9
mov qword [rbp + 0x18], rbx
movdqa xmm0, xmmword [0x14023bab0]
movdqu xmmword [rbp + 0x28], xmm0
mov word [rbp + 0x18], bx
movabs rdx, 0x7ffffffffffffffe
mov rax, rdx
sub rax, r15
cmp rax, 6
jb 0x140106f18
lea rcx, [rbp + 0x58]
cmp qword [rbp + 0x70], 8
setae byte [rsp + 0x40]
cmovae rcx, qword [rbp + 0x58]
mov qword [rbp + 0x10], rcx
mov qword [rbp - 0x38], rbx
lea r13, [r15 + 6]
mov rdi, r14
lea r12, [rbp - 0x38]
mov eax, 0xa
cmp r13, r14
jbe 0x1401069ad
mov rdi, r13
or rdi, 7
cmp rdi, rdx
jbe 0x140106987
mov rdi, rdx
jmp 0x14010698e
cmp rdi, rax
cmovb rdi, rax
mov rdx, rdi
add rdx, 1
cmovb rdx, rsi
lea rcx, [rbp - 0x38]
call fcn.140023c30
mov r12, rax
mov qword [rbp - 0x38], rax
mov rcx, qword [rbp + 0x10]
mov qword [rbp - 0x28], r13
mov qword [rbp - 0x20], rdi
lea rdi, [r15 + r15]
mov qword [rbp + 0x10], rdi
mov r8, rdi
mov rdx, rcx
mov rcx, r12
call fcn.1401cf850
movsd xmm0, qword [0x140236b70]
movsd qword [r12 + rdi], xmm0
mov eax, dword [0x140236b78]
mov dword [r12 + rdi + 8], eax
mov word [r12 + r13*2], bx
lea rcx, [rbp + 0x80]
call fcn.1400272a0
movups xmm0, xmmword [rbp - 0x38]
movups xmmword [rbp + 0x80], xmm0
movups xmm1, xmmword [rbp - 0x28]
movups xmmword [rbp + 0x90], xmm1
lea r13, [rbp + 0x58]
cmp byte [rsp + 0x40], 0
cmovne r13, qword [rbp + 0x58]
mov qword [rsp + 0x48], rbx
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x58], xmm0
lea r12, [r15 + 1]
mov rdi, r14
lea r15, [rsp + 0x48]
cmp r12, r14
jbe 0x140106a7d
mov rdi, r12
or rdi, 7
movabs rax, 0x7ffffffffffffffe
cmp rdi, rax
jbe 0x140106a53
mov rdi, rax
jmp 0x140106a60
cmp rdi, 0xa
mov eax, 0xa
cmovb rdi, rax
mov rdx, rdi
add rdx, 1
cmovb rdx, rsi
lea rcx, [rsp + 0x48]
call fcn.140023c30
mov r15, rax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x60], rdi
mov rdi, qword [rbp + 0x10]
mov r8, rdi
mov rdx, r13
mov rcx, r15
call fcn.1401cf850
mov eax, 0x5c
mov word [rdi + r15], ax
mov word [r15 + r12*2], bx
lea r8d, [rax - 0x56]
lea rdx, str.Config
lea rcx, [rsp + 0x48]
call fcn.140023760
movups xmm7, xmmword [rax]
movups xmmword [rsp + 0x70], xmm7
movups xmm6, xmmword [rax + 0x10]
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], r14
mov word [rax], bx
lea rcx, [rbp + 0x38]
call fcn.1400272a0
movups xmmword [rbp + 0x38], xmm7
movups xmmword [rbp + 0x48], xmm6
movdqa xmm0, xmmword [0x14023bab0]
movdqu xmmword [rbp - 0x80], xmm0
mov word [rsp + 0x70], bx
lea rcx, [rsp + 0x70]
call fcn.1400272a0
nop
lea rcx, [rsp + 0x48]
call fcn.1400272a0
movabs r12, 0x7ffffffffffffffe
mov rax, r12
mov rcx, qword [rbp - 0x28]
sub rax, rcx
cmp rax, 0x16
jb 0x140106f18
lea r9, [rbp + 0x80]
cmp qword [rbp - 0x20], 8
cmovae r9, qword [rbp - 0x38]
mov qword [rsp + 0x30], 0x16
lea rax, str.InstallManagerApp.exe
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea r8, [rbp + 0x80]
movzx edx, byte [rsp + 0x40]
lea rcx, [rsp + 0x48]
call fcn.14002fc90
lea rcx, [rbp + 0x18]
call fcn.1400272a0
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [rbp + 0x18], xmm0
movups xmm1, xmmword [rsp + 0x58]
movups xmmword [rbp + 0x28], xmm1
movdqa xmm0, xmmword [0x14023bab0]
movdqu xmmword [rsp + 0x58], xmm0
mov word [rsp + 0x48], bx
lea rcx, [rsp + 0x48]
call fcn.1400272a0
xor edx, edx
mov r8d, 0x800
lea rcx, [rbp + 0x2f0]
call fcn.1401cff00
mov rax, r12
mov rdx, qword [rbp + 0x48]
sub rax, rdx
cmp rax, 0x15
jb 0x140106f18
lea r9, [rbp + 0x38]
cmp qword [rbp + 0x50], 8
cmovae r9, qword [rbp + 0x38]
mov qword [rsp + 0x30], 0x15
lea rdi, str.AMDAUEPInstaller.xml
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdx
lea r8, [rbp + 0x38]
movzx edx, byte [rsp + 0x40]
lea rcx, [rbp + 0xc0]
call fcn.14002fc90
nop
lea rdx, [rbp + 0xe0]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov qword [rbp - 0x10], rbx
mov qword [rbp], rbx
mov qword [rbp + 8], r14
mov word [rbp - 0x10], bx
lea rax, [rbp + 0xe0]
inc rsi
cmp word [rax + rsi*2], 0
jne 0x140106c32
mov r8, rsi
lea rdx, [rbp + 0xe0]
lea rcx, [rbp - 0x10]
call fcn.140018360
nop
mov rax, r12
mov rcx, qword [rbp]
sub rax, rcx
cmp rax, 0x15
jb 0x140106f12
lea r9, [rbp - 0x10]
cmp qword [rbp + 8], 8
cmovae r9, qword [rbp - 0x10]
mov qword [rsp + 0x30], 0x15
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rcx
lea r8, [rbp - 0x10]
movzx edx, byte [rsp + 0x40]
lea rcx, [rsp + 0x48]
call fcn.14002fc90
lea rcx, [rbp - 0x10]
call fcn.1400272a0
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [rbp - 0x10], xmm0
movups xmm1, xmmword [rsp + 0x58]
movups xmmword [rbp], xmm1
movdqa xmm0, xmmword [0x14023bab0]
movdqu xmmword [rsp + 0x58], xmm0
mov word [rsp + 0x48], bx
lea rcx, [rsp + 0x48]
call fcn.1400272a0
lea rcx, [rbp - 0x10]
cmp qword [rbp + 8], 8
cmovae rcx, qword [rbp - 0x10]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rax, [rsp + 0x70]
mov qword [rbp - 0x68], rax
mov qword [rsp + 0x70], rbx
mov qword [rbp - 0x80], rbx
mov qword [rbp - 0x78], r14
mov r8, r14
lea rdx, str.Command
lea rcx, [rsp + 0x70]
call fcn.140018360
nop
lea rax, [rbp - 0x38]
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x38], rbx
mov qword [rbp - 0x28], rbx
mov qword [rbp - 0x20], rbx
mov rsi, qword [rbp]
lea r15, [rbp - 0x10]
cmp qword [rbp + 8], 8
cmovae r15, qword [rbp - 0x10]
cmp rsi, 8
jae 0x140106d48
movups xmm0, xmmword [r15]
movups xmmword [rbp - 0x38], xmm0
mov rdi, r14
jmp 0x140106d7a
mov rdi, rsi
or rdi, 7
cmp rdi, r12
cmova rdi, r12
lea rdx, [rdi + 1]
lea rcx, [rbp - 0x38]
call fcn.140023c30
mov qword [rbp - 0x38], rax
lea r8, [rsi*2 + 2]
mov rdx, r15
mov rcx, rax
call fcn.1401cf850
mov qword [rbp - 0x28], rsi
mov qword [rbp - 0x20], rdi
lea rax, [rsp + 0x48]
mov qword [rbp + 0x10], rax
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], rbx
lea rdi, [rbp + 0x18]
cmp qword [rbp + 0x30], 8
cmovae rdi, qword [rbp + 0x18]
mov rbx, qword [rbp + 0x28]
cmp rbx, 8
jae 0x140106dbc
movups xmm0, xmmword [rdi]
movups xmmword [rsp + 0x48], xmm0
jmp 0x140106df0
mov r14, rbx
or r14, 7
cmp r14, r12
cmova r14, r12
lea rdx, [r14 + 1]
lea rcx, [rsp + 0x48]
call fcn.140023c30
mov qword [rsp + 0x48], rax
lea r8, [rbx*2 + 2]
mov rdx, rdi
mov rcx, rax
call fcn.1401cf850
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], r14
lea rdx, [rbp + 0xc0]
lea rcx, [rbp - 0x60]
call fcn.140018e70
nop
lea r9, [rsp + 0x70]
lea r8, [rbp - 0x38]
lea rdx, [rsp + 0x48]
mov rcx, rax
call fcn.140119970
lea r8, str.schtasks__delete__TN__AMDInstallLauncher___F
mov edx, 0x3ff
lea rcx, [rbp + 0x2f0]
call fcn.140014840
mov r8b, 1
lea rdx, [rbp + 0x38]
lea rcx, [rbp + 0x2f0]
call fcn.140118e50
lea r9, [rbp - 0x10]
cmp qword [rbp + 8], 8
cmovae r9, qword [rbp - 0x10]
lea r8, str.schtasks__Create__TN__AMDInstallLauncher___XML___s_
mov edx, 0x3ff
lea rcx, [rbp + 0x2f0]
call fcn.140014840
mov r8b, 1
lea rdx, [rbp + 0x38]
lea rcx, [rbp + 0x2f0]
call fcn.140118e50
movzx ebx, al
lea rcx, [rbp - 0x10]
call fcn.1400272a0
nop
lea rcx, [rbp + 0xc0]
call fcn.1400272a0
nop
lea rcx, [rbp + 0x18]
call fcn.1400272a0
nop
lea rcx, [rbp + 0xa0]
call fcn.1400272a0
nop
lea rcx, [rbp + 0x80]
call fcn.1400272a0
nop
lea rcx, [rbp + 0x38]
call fcn.1400272a0
nop
lea rcx, [rbp + 0x58]
call fcn.1400272a0
mov eax, ebx
mov rcx, qword [rbp + 0xaf0]
xor rcx, rsp
call fcn.1401a9440
lea r11, [rsp + 0xc20]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.1400153e0
nop
call fcn.1400153e0
nop
call fcn.1401e37cc
int3