Function at 0x14006a1f0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x1f0
mov rax, qword [0x1402bf5c8]
xor rax, rsp
mov qword [rsp + 0x1e0], rax
mov qword [rsp + 0x60], rcx
xor r15d, r15d
mov dword [rsp + 0x30], r15d
call fcn.14009ad00
mov qword [rsp + 0xc0], r15
mov qword [rsp + 0x108], r15
mov esi, r15d
mov qword [rsp + 0x118], r15
mov qword [rsp + 0x120], 7
mov word [rsp + 0x108], r15w
lea r9, [rsp + 0xc0]
xor r8d, r8d
xor edx, edx
lea rcx, [0x140248ee0]
call sub.SHELL32.dll_SHGetKnownFolderPath
test eax, eax
jne 0x14006a302
mov qword [rsp + 0xc8], r15
mov qword [rsp + 0xd8], r15
mov qword [rsp + 0xe0], 7
mov rdx, qword [rsp + 0xc0]
mov r14, 0xffffffffffffffff
mov r8, r14
nop dword [rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x14006a2b0
lea rcx, [rsp + 0xc8]
call fcn.140018360
lea rcx, [rsp + 0x108]
call fcn.1400272a0
movups xmm0, xmmword [rsp + 0xc8]
movups xmmword [rsp + 0x108], xmm0
movups xmm1, xmmword [rsp + 0xd8]
movups xmmword [rsp + 0x118], xmm1
mov rsi, qword [rsp + 0x118]
jmp 0x14006a3ff
lea rcx, [rsp + 0x128]
call fcn.1400a7ad0
mov rbx, rax
mov rcx, qword [rax + 0x10]
mov rdx, qword [rax + 0x18]
mov rax, rdx
sub rax, rcx
cmp rax, 0x10
jb 0x14006a357
lea r14, [rcx + 0x10]
mov qword [rbx + 0x10], r14
mov rdi, rbx
cmp rdx, 8
jb 0x14006a33a
mov rdi, qword [rbx]
lea rcx, [rdi + rcx*2]
mov r8d, 0x20
lea rdx, str.Windows_syswow64
call fcn.1401cfe40
mov word [rdi + r14*2], r15w
jmp 0x14006a37d
mov qword [rsp + 0x20], 0x10
lea r9, str.Windows_syswow64
movzx r8d, byte [rsp + 0x38]
mov edx, 0x10
mov rcx, rbx
call fcn.14002dc10
mov rbx, rax
lea rax, [rsp + 0x108]
cmp rax, rbx
je 0x14006a3b0
mov r8, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 8
jb 0x14006a398
mov rbx, qword [rbx]
mov rdx, rbx
lea rcx, [rsp + 0x108]
call fcn.140018360
mov rsi, qword [rsp + 0x118]
mov rdx, qword [rsp + 0x140]
cmp rdx, 8
jb 0x14006a3f8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x128]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006a3f3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006ad8e
call fcn.1401a9a50
mov r14, 0xffffffffffffffff
mov rcx, qword [rsp + 0xc0]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
movabs rcx, 0x7ffffffffffffffe
mov rax, rcx
sub rax, rsi
cmp rax, 0x15
jb 0x14006ad94
lea r13, [rsp + 0x108]
cmp qword [rsp + 0x120], 8
cmovae r13, qword [rsp + 0x108]
mov qword [rsp + 0xe8], r15
mov qword [rsp + 0xf8], r15
mov qword [rsp + 0x100], r15
lea r12, [rsi + 0x15]
mov ebx, 7
lea r15, [rsp + 0xe8]
lea edi, [rbx + 3]
cmp r12, rbx
jbe 0x14006a4ad
mov rbx, r12
or rbx, 7
cmp rbx, rcx
jbe 0x14006a483
mov rbx, rcx
jmp 0x14006a48a
cmp rbx, rdi
cmovb rbx, rdi
mov rdx, rbx
add rdx, 1
cmovb rdx, r14
lea rcx, [rsp + 0xe8]
call fcn.140023c30
mov r15, rax
mov qword [rsp + 0xe8], rax
mov qword [rsp + 0xf8], r12
mov qword [rsp + 0x100], rbx
lea rbx, [rsi + rsi]
mov r8, rbx
mov rdx, r13
mov rcx, r15
call fcn.1401cfe40
movups xmm0, xmmword [str.AMDBugReportTool.exe]
movups xmmword [r15 + rbx], xmm0
movups xmm1, xmmword [0x14023b080]
movups xmmword [r15 + rbx + 0x10], xmm1
movsd xmm0, qword [0x14023b090]
movsd qword [r15 + rbx + 0x20], xmm0
movzx eax, word [0x14023b098]
mov word [r15 + rbx + 0x28], ax
xor r13d, r13d
mov word [r15 + r12*2], r13w
lea rdx, [rsp + 0xe8]
cmp qword [rsp + 0x100], 8
cmovae rdx, qword [rsp + 0xe8]
mov qword [rsp + 0xc8], r13
mov qword [rsp + 0xd8], r13
mov qword [rsp + 0xe0], 7
mov word [rsp + 0xc8], r13w
mov r8, qword [rsp + 0xf8]
lea rcx, [rsp + 0xc8]
call fcn.140018360
nop
lea rcx, [rsp + 0xc8]
cmp qword [rsp + 0xe0], 8
cmovae rcx, qword [rsp + 0xc8]
mov r9d, 0xffffffff
lea r8d, [r13 + 3]
lea rdx, [rsp + 0x128]
call fcn.1401ab8d4
mov edx, eax
test eax, eax
jne 0x14006a5cc
mov ecx, dword [rsp + 0x138]
bt ecx, 0xa
jae 0x14006a5bf
mov eax, dword [rsp + 0x13c]
cmp eax, 0xa000000c
jne 0x14006a5b8
lea edi, [rdx + 4]
jmp 0x14006a5ea
cmp eax, 0xa0000003
je 0x14006a5ea
and ecx, 0x10
or ecx, 0x20
shr ecx, 4
mov edi, ecx
jmp 0x14006a5ea
sub eax, 2
je 0x14006a5e3
sub eax, 1
je 0x14006a5e3
sub eax, 0x32
je 0x14006a5e3
cmp eax, 0x46
mov eax, r13d
jne 0x14006a5e8
mov eax, 1
mov edi, eax
mov dword [rsp + 0xb0], edx
lea rax, [0x1402c05e0]
mov qword [rsp + 0xb8], rax
movaps xmm0, xmmword [rsp + 0xb0]
movdqa xmmword [rsp + 0x40], xmm0
test edi, edi
je 0x14006a84f
cmp edi, 1
setne bl
lea rcx, [rsp + 0xc8]
call fcn.1400272a0
test bl, bl
je 0x14006abfd
mov qword [rsp + 0x150], r13
movdqa xmm0, xmmword [0x14023cab0]
movdqa xmmword [rsp + 0x160], xmm0
mov word [rsp + 0x150], r13w
mov qword [rsp + 0x170], r13
movdqa xmmword [rsp + 0x180], xmm0
mov word [rsp + 0x170], r13w
mov qword [rsp + 0x190], r13
movdqa xmmword [rsp + 0x1a0], xmm0
mov word [rsp + 0x190], r13w
mov qword [rsp + 0x1b0], r13
movdqa xmmword [rsp + 0x1c0], xmm0
mov word [rsp + 0x1b0], r13w
mov r8d, 0x13
lea rdx, [0x14023b0a0]
lea rcx, [rsp + 0x150]
call fcn.140018360
lea rdx, [rsp + 0xe8]
cmp qword [rsp + 0x100], 8
cmovae rdx, qword [rsp + 0xe8]
mov r8, qword [rsp + 0xf8]
lea rcx, [rsp + 0x170]
call fcn.140018360
mov r8d, 0x13
lea rdx, [0x14023b0a0]
lea rcx, [rsp + 0x190]
call fcn.140018360
call fcn.140172740
mov rbx, rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x68], r13
mov qword [rsp + 0x78], r13
mov qword [rsp + 0x80], 7
mov qword [rsp + 0x88], r13
mov qword [rsp + 0x98], r13
mov qword [rsp + 0xa0], 7
mov r8d, 9
lea rdx, str.BUILDTYPE
lea rcx, [rsp + 0x88]
call fcn.140018360
nop
lea r9, [rsp + 0x68]
lea r8, [rsp + 0x88]
lea rdx, [rsp + 0x128]
mov rcx, rbx
call fcn.140172170
nop
mov qword [rsp + 0xc8], r13
mov qword [rsp + 0xd8], r13
mov qword [rsp + 0xe0], 7
mov word [rsp + 0xc8], r13w
mov r8d, 0xb
lea rdx, str.WORKSTATION
lea rcx, [rsp + 0xc8]
call fcn.140018360
nop
mov ebx, 0x1d
mov dword [rsp + 0x30], ebx
lea rdx, [rsp + 0xc8]
lea rcx, [rsp + 0x128]
call fcn.1400a8ed0
test eax, eax
je 0x14006a85e
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x58], 7
mov word [rsp + 0x40], r13w
lea r8d, [rbx - 0x16]
lea rdx, str.CREATOR
lea rcx, [rsp + 0x40]
call fcn.140018360
nop
mov ebx, 0x1f
mov dword [rsp + 0x30], ebx
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x128]
call fcn.1400a8ed0
mov rsi, qword [rsp + 0x60]
test eax, eax
je 0x14006a863
mov rcx, qword [rsi + 0xa98]
mov rax, qword [rcx]
call qword [rax + 0x110]
test al, al
jne 0x14006a863
xor dil, dil
jmp 0x14006a866
xor bl, bl
test edx, edx
jne 0x14006ad9a
jmp 0x14006a61c
mov rsi, qword [rsp + 0x60]
mov dil, 1
test bl, 2
je 0x14006a89f
and ebx, 0xfffffffd
mov r8, qword [rsp + 0x58]
cmp r8, 8
jb 0x14006a88b
inc r8
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x40]
call fcn.140023c60
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x58], 7
mov word [rsp + 0x40], r13w
test bl, 1
je 0x14006a8ca
mov r8, qword [rsp + 0xe0]
cmp r8, 8
jb 0x14006a8ca
inc r8
mov rdx, qword [rsp + 0xc8]
lea rcx, [rsp + 0xc8]
call fcn.140023c60
test dil, dil
je 0x14006a937
lea rdx, [rsi + 0x9a0]
lea r8, str.Bin64AMDSoftwarePro.ico
lea rcx, [rsp + 0xc8]
call fcn.14002bca0
mov rbx, rax
lea rax, [rsp + 0x1b0]
cmp rax, rbx
je 0x14006a9e0
lea rcx, [rsp + 0x1b0]
call fcn.1400272a0
movups xmm0, xmmword [rbx]
movaps xmmword [rsp + 0x1b0], xmm0
movups xmm1, xmmword [rbx + 0x10]
movaps xmmword [rsp + 0x1c0], xmm1
mov qword [rbx + 0x10], r13
mov qword [rbx + 0x18], 7
mov word [rbx], r13w
jmp 0x14006a9e0
mov qword [rsp + 0xc8], r13
movdqa xmm0, xmmword [0x14023cab0]
movdqu xmmword [rsp + 0xd8], xmm0
mov word [rsp + 0xc8], r13w
mov r8d, 5
lea rdx, str.CLOUD
lea rcx, [rsp + 0xc8]
call fcn.140018360
nop
lea rdx, [rsp + 0xc8]
lea rcx, [rsp + 0x128]
call fcn.1400a8ed0
mov ebx, eax
lea rcx, [rsp + 0xc8]
call fcn.1400272a0
lea rdx, [rsi + 0x9a0]
lea rcx, [rsp + 0xc8]
test ebx, ebx
jne 0x14006a9b9
lea r8, str.Bin64AMDSoftwareCloud.ico
call fcn.14002bca0
jmp 0x14006a9c5
lea r8, str.Bin64AMDSoftwareConsumer.ico
call fcn.14002bca0
mov rdx, rax
lea rcx, [rsp + 0x1b0]
call fcn.140023a40
nop word [rax + rax]
lea rcx, [rsp + 0xc8]
call fcn.1400272a0
mov dword [rsp + 0x1d0], r13d
lea rcx, [rsp + 0x170]
cmp qword [rsp + 0x188], 8
cmovae rcx, qword [rsp + 0x170]
call fcn.14011cfd0
lea rbx, [rsp + 0x1b0]
cmp qword [rsp + 0x1c8], 8
cmovae rbx, qword [rsp + 0x1b0]
lea rdi, [rsp + 0x190]
cmp qword [rsp + 0x1a8], 8
cmovae rdi, qword [rsp + 0x190]
lea rsi, [rsp + 0x170]
cmp qword [rsp + 0x188], 8
cmovae rsi, qword [rsp + 0x170]
lea rdx, [rsp + 0x150]
lea rcx, [rsp + 0xc8]
call fcn.140018e70
mov r9, rbx
mov r8, rdi
mov rdx, rsi
mov rcx, rax
call fcn.1400a6640
xor r8d, r8d
mov edx, 0x3ff
lea rcx, [rsp + 0xc8]
call fcn.140023b20
nop
lea rcx, [rsp + 0xc8]
mov rdx, qword [rsp + 0xe0]
cmp rdx, 8
cmovae rcx, qword [rsp + 0xc8]
lea r9, str.created_short_for_BugReportTool.
mov r8, r14
call fcn.14009de10
lea rbx, [rsp + 0xc8]
cmp qword [rsp + 0xe0], 8
cmovae rbx, qword [rsp + 0xc8]
mov dword [rsp + 0x30], r13d
lea rax, [rsp + 0x30]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x34]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x88]
mov qword [rsp + 0xb0], rax
mov qword [rsp + 0x88], r13
mov qword [rsp + 0x98], r13
mov qword [rsp + 0xa0], 7
mov r8d, 0x27
lea rdx, str.InstallMan::createBugReportToolShortcut
lea rcx, [rsp + 0x88]
call fcn.140018360
nop
mov qword [rsp + 0x68], r13
mov qword [rsp + 0x78], r13
mov qword [rsp + 0x80], 7
mov r8d, 0x6b
lea rdx, str.c:constructicon_buildsgfx_six23.19installNeomaInstallNeomaIN_Apps_srcCoreInstallManInstallMan.cpp
lea rcx, [rsp + 0x68]
call fcn.140018360
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 3
lea r9, [rsp + 0x40]
mov r8d, 0x19c8
lea rdx, [rsp + 0x88]
lea rcx, [rsp + 0x68]
call fcn.1400b16b0
nop
lea rcx, [rsp + 0xc8]
call fcn.1400272a0
nop
lea rcx, [rsp + 0x128]
call fcn.1400272a0
nop
lea rcx, [rsp + 0x1b0]
call fcn.1400272a0
lea rcx, [rsp + 0x190]
call fcn.1400272a0
lea rcx, [rsp + 0x170]
call fcn.1400272a0
lea rcx, [rsp + 0x150]
call fcn.1400272a0
nop
jmp 0x14006ad46
xor r8d, r8d
mov edx, 0x3ff
lea rcx, [rsp + 0xc8]
call fcn.140023b20
nop
lea rax, [rsp + 0xe8]
cmp qword [rsp + 0x100], 8
cmovae rax, qword [rsp + 0xe8]
lea rcx, [rsp + 0xc8]
mov rdx, qword [rsp + 0xe0]
cmp rdx, 8
cmovae rcx, qword [rsp + 0xc8]
mov qword [rsp + 0x20], rax
lea r9, str.BugReportTool_not_found_in_path_:___s
mov r8, r14
call fcn.14009de10
lea rbx, [rsp + 0xc8]
cmp qword [rsp + 0xe0], 8
cmovae rbx, qword [rsp + 0xc8]
mov dword [rsp + 0x30], r13d
lea rax, [rsp + 0x30]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x34]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0xb0], rax
mov qword [rsp + 0x68], r13
mov qword [rsp + 0x78], r13
mov qword [rsp + 0x80], 7
mov r8d, 0x27
lea rdx, str.InstallMan::createBugReportToolShortcut
lea rcx, [rsp + 0x68]
call fcn.140018360
nop
mov qword [rsp + 0x88], r13
mov qword [rsp + 0x98], r13
mov qword [rsp + 0xa0], 7
mov r8d, 0x6b
lea rdx, str.c:constructicon_buildsgfx_six23.19installNeomaInstallNeomaIN_Apps_srcCoreInstallManInstallMan.cpp
lea rcx, [rsp + 0x88]
call fcn.140018360
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 3
lea r9, [rsp + 0x40]
mov r8d, 0x19d3
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x88]
call fcn.1400b16b0
nop
lea rcx, [rsp + 0xc8]
call fcn.1400272a0
nop
lea rcx, [rsp + 0xe8]
call fcn.1400272a0
nop
lea rcx, [rsp + 0x108]
call fcn.1400272a0
mov rcx, qword [rsp + 0x1e0]
xor rcx, rsp
call fcn.1401a9a30
lea r11, [rsp + 0x1f0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
call fcn.1401e3dbc
nop
call fcn.1400153e0
nop
lea r8, [rsp + 0xc8]
lea rdx, [rsp + 0x40]
lea rcx, str.exists
call fcn.1400684b0
int3