Function at 0x140050380
Capabilities:
Delete registry value
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x140
mov rax, qword [0x1402bf5c8]
xor rax, rsp
mov qword [rsp + 0x130], rax
mov rax, qword [rcx]
cmp byte [rax + 0xa95], 0
je 0x1400503b9
cmp byte [rax + 0xa94], 0
jne 0x1400503e2
call fcn.1400a82e0
test eax, eax
jne 0x1400503e2
lea r8, str.RebootRequired
lea rdx, str.SoftwareAMDCN_
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyValueW]
jmp 0x1400506b3
xor r8d, r8d
mov edx, 0x3ff
lea rcx, [rsp + 0x110]
call fcn.140023b20
nop
lea rcx, [rsp + 0x110]
mov rdx, qword [rsp + 0x128]
cmp rdx, 8
cmovae rcx, qword [rsp + 0x110]
lea r9, str.Install_has_completed._Reboot_is_required.
mov r8, 0xffffffffffffffff
call fcn.14009de10
lea rbx, [rsp + 0x110]
cmp qword [rsp + 0x128], 8
cmovae rbx, qword [rsp + 0x110]
xor esi, esi
mov dword [rsp + 0x108], esi
lea rax, [rsp + 0x108]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x10c]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0xa8], rax
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], 7
lea r8d, [rsi + 0x34]
lea rdx, str.InstallMan::performInstall::_lambda_17_::operator___
lea rcx, [rsp + 0x60]
call fcn.140018360
nop
mov qword [rsp + 0x80], rsi
mov qword [rsp + 0x90], rsi
mov qword [rsp + 0x98], 7
lea r8d, [rsi + 0x6b]
lea rdx, str.c:constructicon_buildsgfx_six23.19installNeomaInstallNeomaIN_Apps_srcCoreInstallManInstallMan.cpp
lea rcx, [rsp + 0x80]
call fcn.140018360
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 3
lea r9, [rsp + 0x50]
mov r8d, 0xc85
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x80]
call fcn.1400b16b0
nop
mov rdx, qword [rsp + 0x128]
cmp rdx, 8
jb 0x14005054d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x110]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140050548
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400506d8
call fcn.1401a9a50
xor ecx, ecx
call fcn.1401e32dc
mov rdi, rax
mov qword [rsp + 0x40], rsi
lea rax, [rsp + 0x108]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], esi
xor r9d, r9d
xor r8d, r8d
lea rdx, str.SoftwareAMDCN_
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov ebx, eax
test eax, eax
jne 0x1400506de
mov rbx, qword [rsp + 0x108]
mov qword [rsp + 0xa0], rbx
mov qword [rsp + 0x110], rsi
mov qword [rsp + 0x120], rsi
mov qword [rsp + 0x128], 7
mov word [rsp + 0x110], si
mov r8d, 0xe
lea rdx, str.RebootRequired
lea rcx, [rsp + 0x110]
call fcn.140018360
nop
mov qword [rsp + 0x108], rdi
lea rdx, [rsp + 0x110]
cmp qword [rsp + 0x128], 8
cmovae rdx, qword [rsp + 0x110]
mov dword [rsp + 0x28], 8
lea rax, [rsp + 0x108]
mov qword [rsp + 0x20], rax
mov r9d, 0xb
xor r8d, r8d
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, eax
test eax, eax
jne 0x140050711
mov rdx, qword [rsp + 0x128]
cmp rdx, 8
jb 0x140050688
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x110]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140050683
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005076a
call fcn.1401a9a50
mov qword [rsp + 0x120], rsi
mov qword [rsp + 0x128], 7
mov word [rsp + 0x110], si
test rbx, rbx
je 0x1400506b3
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.1401a9a30
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
call fcn.1401e3dbc
nop
call fcn.140015e70
mov r8, rax
lea r9, str.Unable_to_get_create_registry_key
mov edx, ebx
lea rcx, [rsp + 0xb8]
call fcn.140046020
lea rdx, [0x1402ba948]
lea rcx, [rsp + 0xb8]
call fcn.1401cfc8c
nop
lea r8, [rsp + 0x108]
lea rdx, [rsp + 0x110]
lea rcx, [rsp + 0x50]
call fcn.1400422b0
lea rdx, [rsp + 0x60]
mov rcx, rax
call fcn.140052120
mov rbx, rax
call fcn.140015e70
mov r9, rbx
mov r8, rax
mov edx, edi
lea rcx, [rsp + 0xe0]
call fcn.140045fe0
lea rdx, [0x1402ba948]
lea rcx, [rsp + 0xe0]
call fcn.1401cfc8c
nop
call fcn.1401e3dbc
int3
add rcx, 8
jmp 0x140050380