Function at 0x140004f80
Capabilities:
Create process on windows
Query or enumerate registry value
Schedule task via schtasks

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x8f8]
sub rsp, 0x9f0
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
mov rax, qword [0x14006b1e0]
xor rax, rsp
mov qword [rbp + 0x8c0], rax
xor r14d, r14d
mov esi, r14d
mov qword [rsp + 0x58], r14
mov qword [rbp + 0x58], 7
mov word [rbp + 0x40], r14w
mov qword [rbp + 0x50], r14
xor r8d, r8d
lea rdx, [0x14005de04]
lea rcx, [rbp + 0x40]
call fcn.14002a930
mov word [rbp + 0x40], r14w
mov qword [rbp + 0x38], 7
mov word [rbp + 0x20], r14w
mov qword [rbp + 0x30], r14
xor r8d, r8d
lea rdx, [0x14005de04]
lea rcx, [rbp + 0x20]
call fcn.14002a930
mov word [rbp + 0x20], r14w
mov qword [rbp + 0x18], 7
mov word [rbp], r14w
mov qword [rbp + 0x10], r14
xor r8d, r8d
lea rdx, [0x14005de04]
lea rcx, [rbp]
call fcn.14002a930
mov word [rbp], r14w
mov qword [rbp + 0x98], 7
mov word [rbp + 0x80], r14w
mov qword [rbp + 0x90], r14
xor r8d, r8d
lea rdx, [0x14005de04]
lea rcx, [rbp + 0x80]
call fcn.14002a930
mov word [rbp + 0x80], r14w
lea rax, [rsp + 0x58]
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]
test eax, eax
jne 0x140005170
xor edx, edx
mov r8d, 0x800
lea rcx, [rbp + 0xc0]
call fcn.14002b210
mov dword [rsp + 0x54], 1
mov dword [rsp + 0x50], 0x104
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0xc0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x54]
xor r8d, r8d
lea rdx, str.InstallDir
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140005165
lea rax, [rbp + 0xc0]
or rdx, 0xffffffffffffffff
inc rdx
cmp word [rax + rdx*2], 0
jne 0x140005114
mov rax, qword [rbp + 0x58]
cmp rdx, rax
ja 0x140005155
lea rdi, [rbp + 0x40]
cmp rax, 8
cmovae rdi, qword [rbp + 0x40]
mov qword [rbp + 0x50], rdx
lea rbx, [rdx + rdx]
mov r8, rbx
lea rdx, [rbp + 0xc0]
mov rcx, rdi
call fcn.14002a930
mov word [rdi + rbx], r14w
jmp 0x140005165
lea r9, [rbp + 0xc0]
lea rcx, [rbp + 0x40]
call fcn.1400029f0
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movabs rdi, 0x7fffffffffffffff
cmp qword [rbp + 0x50], 0
je 0x140005671
movdqa xmm0, xmmword [0x14005ed00]
movdqu xmmword [rbp + 0x70], xmm0
mov word [rbp + 0x60], r14w
call fcn.140008b00
lea rdx, [rbp + 0x40]
lea rcx, [rbp - 0x20]
test al, al
je 0x14000523a
lea r8, str.Bin64
call fcn.140002640
mov rbx, rax
lea rax, [rbp]
cmp rax, rbx
je 0x1400051ec
lea rcx, [rbp]
call fcn.140001f50
movups xmm0, xmmword [rbx]
movups xmmword [rbp], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rbp + 0x10], xmm1
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], 7
mov word [rbx], r14w
mov rax, qword [rbp - 8]
cmp rax, 8
jb 0x1400052c4
inc rax
mov rcx, qword [rbp - 0x20]
cmp rax, rdi
ja 0x140005234
add rax, rax
cmp rax, 0x1000
jb 0x1400052bf
test cl, 0x1f
jne 0x140005234
mov rax, qword [rcx - 8]
cmp rax, rcx
jae 0x140005234
sub rcx, rax
sub rcx, 8
cmp rcx, 0x1f
jbe 0x1400052bc
call fcn.140030cc0
int3
lea r8, str.Bin
call fcn.140002640
mov rbx, rax
lea rax, [rbp]
cmp rax, rbx
je 0x14000527a
lea rcx, [rbp]
call fcn.140001f50
movups xmm0, xmmword [rbx]
movups xmmword [rbp], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rbp + 0x10], xmm1
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], 7
mov word [rbx], r14w
mov rax, qword [rbp - 8]
cmp rax, 8
jb 0x1400052c4
inc rax
mov rcx, qword [rbp - 0x20]
cmp rax, rdi
ja 0x1400052b6
add rax, rax
cmp rax, 0x1000
jb 0x1400052bf
test cl, 0x1f
jne 0x1400052b6
mov rax, qword [rcx - 8]
cmp rax, rcx
jae 0x1400052b6
sub rcx, rax
sub rcx, 8
cmp rcx, 0x1f
jbe 0x1400052bc
call fcn.140030cc0
int3
mov rcx, rax
call fcn.14000b84c
lea r8, [0x14005de08]
lea rdx, [rbp + 0x40]
lea rcx, [rbp - 0x20]
call fcn.140002640
nop
lea rdx, str.Config
mov rcx, rax
call fcn.140002c20
movups xmm6, xmmword [rax]
movups xmm7, xmmword [rax + 0x10]
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 7
mov word [rax], r14w
lea rcx, [rbp + 0x20]
call fcn.140001f50
movups xmmword [rbp + 0x20], xmm6
movups xmmword [rbp + 0x30], xmm7
mov rax, qword [rbp - 8]
cmp rax, 8
jb 0x14000535c
inc rax
mov rcx, qword [rbp - 0x20]
cmp rax, rdi
ja 0x140005356
add rax, rax
cmp rax, 0x1000
jb 0x14000534f
test cl, 0x1f
jne 0x140005356
mov rax, qword [rcx - 8]
cmp rax, rcx
jae 0x140005356
sub rcx, rax
sub rcx, 8
cmp rcx, 0x1f
ja 0x140005356
mov rcx, rax
call fcn.14000b84c
jmp 0x14000535c
call fcn.140030cc0
int3
lea r8, [0x14005e5b0]
lea rdx, [rbp]
lea rcx, [rbp - 0x20]
call fcn.140002640
mov rbx, rax
lea rax, [rbp + 0x60]
cmp rax, rbx
je 0x1400053a4
lea rcx, [rbp + 0x60]
call fcn.140001f50
movups xmm0, xmmword [rbx]
movups xmmword [rbp + 0x60], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rbp + 0x70], xmm1
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], 7
mov word [rbx], r14w
mov rax, qword [rbp - 8]
cmp rax, 8
jb 0x1400053f0
inc rax
mov rcx, qword [rbp - 0x20]
cmp rax, rdi
ja 0x1400053ea
add rax, rax
cmp rax, 0x1000
jb 0x1400053e3
test cl, 0x1f
jne 0x1400053ea
mov rax, qword [rcx - 8]
cmp rax, rcx
jae 0x1400053ea
sub rcx, rax
sub rcx, 8
cmp rcx, 0x1f
ja 0x1400053ea
mov rcx, rax
call fcn.14000b84c
jmp 0x1400053f0
call fcn.140030cc0
int3
xor edx, edx
mov r8d, 0x800
lea rcx, [rbp + 0xc0]
call fcn.14002b210
lea r8, str.AMDLinkDriverUpdate.xml
lea rdx, [rbp + 0x20]
lea rcx, [rbp + 0xa0]
call fcn.140002640
lea r9, [rbp + 0xa0]
cmp qword [rbp + 0xb8], 8
cmovae r9, qword [rbp + 0xa0]
lea r8, str.schtasks__Create__TN__AMDLinkUpdate___XML___s_
mov edx, 0x3ff
lea rcx, [rbp + 0xc0]
call fcn.140001390
xor edx, edx
lea r8d, [rdx + 0x68]
lea rcx, [rsp + 0x70]
call fcn.14002b210
mov dword [rsp + 0x70], 0x68
xor eax, eax
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x20]
cmp qword [rbp + 0x38], 8
cmovae rax, qword [rbp + 0x20]
lea rcx, [rbp - 0x20]
mov qword [rsp + 0x48], rcx
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0xc0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x1400055b2
or edx, 0xffffffff
mov rcx, qword [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x18]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor edx, edx
mov r8d, 0x400
lea rcx, [rbp + 0xc0]
call fcn.14002b210
lea r9, [rbp + 0x60]
cmp qword [rbp + 0x78], 8
cmovae r9, qword [rbp + 0x60]
lea r8, str.schtasks__change__TN__AMDLinkUpdate___TR____s___AMDLinkUpdate_
mov edx, 0x3ff
lea rcx, [rbp + 0xc0]
call fcn.140001390
xor edx, edx
lea r8d, [rdx + 0x68]
lea rcx, [rsp + 0x70]
call fcn.14002b210
mov dword [rsp + 0x70], 0x68
xor eax, eax
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x10], rax
lea rax, [rbp]
cmp qword [rbp + 0x18], 8
cmovae rax, qword [rbp]
lea rcx, [rbp - 0x20]
mov qword [rsp + 0x48], rcx
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0xc0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x1400055b2
mov rcx, qword [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x18]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, 1
jmp 0x1400055bb
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, r14d
mov rax, qword [rbp + 0xb8]
cmp rax, 8
jb 0x14000560d
inc rax
mov rcx, qword [rbp + 0xa0]
cmp rax, rdi
ja 0x140005607
add rax, rax
cmp rax, 0x1000
jb 0x140005600
test cl, 0x1f
jne 0x140005607
mov rax, qword [rcx - 8]
cmp rax, rcx
jae 0x140005607
sub rcx, rax
sub rcx, 8
cmp rcx, 0x1f
ja 0x140005607
mov rcx, rax
call fcn.14000b84c
jmp 0x14000560d
call fcn.140030cc0
int3
movdqa xmm0, xmmword [0x14005ed00]
movdqu xmmword [rbp + 0xb0], xmm0
mov word [rbp + 0xa0], r14w
mov rax, qword [rbp + 0x78]
cmp rax, 8
jb 0x140005671
inc rax
mov rcx, qword [rbp + 0x60]
cmp rax, rdi
ja 0x14000566b
add rax, rax
cmp rax, 0x1000
jb 0x140005664
test cl, 0x1f
jne 0x14000566b
mov rax, qword [rcx - 8]
cmp rax, rcx
jae 0x14000566b
sub rcx, rax
sub rcx, 8
cmp rcx, 0x1f
ja 0x14000566b
mov rcx, rax
call fcn.14000b84c
jmp 0x140005671
call fcn.140030cc0
nop
mov rax, qword [rbp + 0x98]
cmp rax, 8
jb 0x1400056c3
inc rax
mov rcx, qword [rbp + 0x80]
cmp rax, rdi
ja 0x1400056bd
add rax, rax
cmp rax, 0x1000
jb 0x1400056b6
test cl, 0x1f
jne 0x1400056bd
mov rax, qword [rcx - 8]
cmp rax, rcx
jae 0x1400056bd
sub rcx, rax
sub rcx, 8
cmp rcx, 0x1f
ja 0x1400056bd
mov rcx, rax
call fcn.14000b84c
jmp 0x1400056c3
call fcn.140030cc0
int3
movdqa xmm0, xmmword [0x14005ed00]
movdqu xmmword [rbp + 0x90], xmm0
mov word [rbp + 0x80], r14w
mov rax, qword [rbp + 0x18]
cmp rax, 8
jb 0x140005727
inc rax
mov rcx, qword [rbp]
cmp rax, rdi
ja 0x140005721
add rax, rax
cmp rax, 0x1000
jb 0x14000571a
test cl, 0x1f
jne 0x140005721
mov rax, qword [rcx - 8]
cmp rax, rcx
jae 0x140005721
sub rcx, rax
sub rcx, 8
cmp rcx, 0x1f
ja 0x140005721
mov rcx, rax
call fcn.14000b84c
jmp 0x140005727
call fcn.140030cc0
int3
movdqa xmm0, xmmword [0x14005ed00]
movdqu xmmword [rbp + 0x10], xmm0
mov word [rbp], r14w
mov rax, qword [rbp + 0x38]
cmp rax, 8
jb 0x140005785
inc rax
mov rcx, qword [rbp + 0x20]
cmp rax, rdi
ja 0x14000577f
add rax, rax
cmp rax, 0x1000
jb 0x140005778
test cl, 0x1f
jne 0x14000577f
mov rax, qword [rcx - 8]
cmp rax, rcx
jae 0x14000577f
sub rcx, rax
sub rcx, 8
cmp rcx, 0x1f
ja 0x14000577f
mov rcx, rax
call fcn.14000b84c
jmp 0x140005785
call fcn.140030cc0
int3
movdqa xmm0, xmmword [0x14005ed00]
movdqu xmmword [rbp + 0x30], xmm0
mov word [rbp + 0x20], r14w
mov rax, qword [rbp + 0x58]
cmp rax, 8
jb 0x1400057e3
inc rax
mov rcx, qword [rbp + 0x40]
cmp rax, rdi
ja 0x1400057dd
add rax, rax
cmp rax, 0x1000
jb 0x1400057d6
test cl, 0x1f
jne 0x1400057dd
mov rax, qword [rcx - 8]
cmp rax, rcx
jae 0x1400057dd
sub rcx, rax
sub rcx, 8
cmp rcx, 0x1f
ja 0x1400057dd
mov rcx, rax
call fcn.14000b84c
jmp 0x1400057e3
call fcn.140030cc0
int3
mov eax, esi
mov rcx, qword [rbp + 0x8c0]
xor rcx, rsp
call fcn.14000b460
lea r11, [rsp + 0x9f0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop rbp
ret