Function at 0x1400171d0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x3c0]
sub rsp, 0x4c0
mov rax, qword [0x1400691d8]
xor rax, rsp
mov qword [rbp + 0x3b0], rax
xor edx, edx
mov r8d, 0x400
lea rcx, [rbp - 0x50]
call fcn.140027ea0
mov edx, 0x104
lea rcx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
xor esi, esi
mov qword [rbp - 0x70], rsi
mov qword [rbp - 0x60], rsi
mov qword [rbp - 0x58], 7
mov word [rbp - 0x70], si
lea r8d, [rsi + 0x26]
lea rdx, str.SCHTASKS__Query__TN_AMDInstallLauncher
lea rcx, [rbp - 0x70]
call fcn.140006e00
nop
mov qword [rsp + 0x70], rsi
mov qword [rbp - 0x80], rsi
mov qword [rbp - 0x78], 7
mov word [rsp + 0x70], si
lea r8d, [rsi + 0x21]
lea rdx, str.SCHTASKS__Query__TN_AMDLinkUpdate
lea rcx, [rsp + 0x70]
call fcn.140006e00
nop
mov edi, 3
mov ebx, edi
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x70]
call fcn.140016540
cmp al, 1
jne 0x1400173d3
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], 7
lea r8d, [rsi + 0xd]
lea rdx, str.AMDLinkUpdate
lea rcx, [rsp + 0x20]
call fcn.140006e00
lea rcx, [rsp + 0x20]
call fcn.140016dd0
lea rax, [rsp + 0x20]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], 7
lea r8d, [rsi + 0x17]
lea rdx, str.AMDLinkDriverUpdate.xml
lea rcx, [rsp + 0x20]
call fcn.140006e00
nop
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], 7
lea r8d, [rsi + 0xd]
lea rdx, str.AMDLinkUpdate
lea rcx, [rsp + 0x40]
call fcn.140006e00
nop
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x40]
call fcn.140015940
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x70]
call fcn.140016540
cmp al, 1
je 0x1400173d3
lea rdx, str.InstallManagerApp.exe:_AMDLinkUpdate_schedule_task_is_not_created._Retrying..._r_n
lea rcx, [0x14006bd40]
call fcn.14001d6a0
lea rax, [rsp + 0x40]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], 7
mov r8d, 0x17
lea rdx, str.AMDLinkDriverUpdate.xml
lea rcx, [rsp + 0x40]
call fcn.140006e00
nop
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], 7
mov r8d, 0xd
lea rdx, str.AMDLinkUpdate
lea rcx, [rsp + 0x20]
call fcn.140006e00
nop
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x20]
call fcn.140015940
dec ebx
test ebx, ebx
jg 0x140017331
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x70]
call fcn.140016540
cmp al, 1
jne 0x140017531
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], 7
mov r8d, 0x12
lea rdx, str.AMDInstallLauncher
lea rcx, [rsp + 0x40]
call fcn.140006e00
lea rcx, [rsp + 0x40]
call fcn.140016dd0
lea rax, [rsp + 0x40]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], 7
mov r8d, 0x14
lea rdx, str.AMDAUEPInstaller.xml
lea rcx, [rsp + 0x40]
call fcn.140006e00
nop
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], 7
mov r8d, 0x12
lea rdx, str.AMDInstallLauncher
lea rcx, [rsp + 0x20]
call fcn.140006e00
nop
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x20]
call fcn.140015940
nop dword [rax + rax]
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x70]
call fcn.140016540
cmp al, 1
je 0x140017531
lea rdx, str.InstallManagerApp.exe:_AMDInstallLauncher_schedule_task_is_not_created._Retrying..._r_n
lea rcx, [0x14006bd40]
call fcn.14001d6a0
lea rax, [rsp + 0x40]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], 7
mov r8d, 0x14
lea rdx, str.AMDAUEPInstaller.xml
lea rcx, [rsp + 0x40]
call fcn.140006e00
nop
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], 7
mov r8d, 0x12
lea rdx, str.AMDInstallLauncher
lea rcx, [rsp + 0x20]
call fcn.140006e00
nop
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x20]
call fcn.140015940
dec edi
test edi, edi
jg 0x140017490
mov rdx, qword [rbp - 0x78]
cmp rdx, 8
jb 0x14001756f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140017569
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400175d9
call fcn.140025900
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, 8
jb 0x1400175ab
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400175a6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400175d3
call fcn.140025900
mov rcx, qword [rbp + 0x3b0]
xor rcx, rsp
call fcn.1400258e0
lea r11, [rsp + 0x4c0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
call fcn.14002e1d4
nop
call fcn.14002e1d4
nop
int3