Function at 0x14005bec0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x60]
sub rsp, 0x160
mov rax, qword [0x1402bf5c8]
xor rax, rsp
mov qword [rbp + 0x50], rax
mov rdi, rdx
mov qword [rbp - 0x40], rdx
xor r12d, r12d
mov dword [rsp + 0x30], r12d
mov rcx, rdx
call fcn.140045e10
mov esi, 1
mov dword [rsp + 0x30], esi
call fcn.1400d25b0
movabs r13, 0x7ffffffffffffffe
cmp byte [rax + 0xd8], r12b
je 0x14005c02e
call fcn.1400d25b0
lea rsi, [rax + 0xb8]
cmp byte [rsi + 0x20], r12b
je 0x14005c4c8
mov r15, qword [rsi + 0x10]
cmp qword [rsi + 0x18], 8
jb 0x14005bf52
mov rsi, qword [rsi]
cmp r15, 8
jae 0x14005bf6c
movups xmm0, xmmword [rsi]
movups xmmword [rsp + 0x38], xmm0
mov ebx, 7
mov r14, qword [rsp + 0x38]
jmp 0x14005bfa8
mov rbx, r15
or rbx, 7
cmp rbx, r13
cmova rbx, r13
lea rdx, [rbx + 1]
lea rcx, [rsp + 0x38]
call fcn.140023c30
mov r14, rax
mov qword [rsp + 0x38], rax
lea r8, [r15*2 + 2]
mov rdx, rsi
mov rcx, rax
call fcn.1401cfe40
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x48], r15
mov esi, 3
mov dword [rsp + 0x30], esi
lea rax, [rsp + 0x38]
cmp rdi, rax
je 0x14005bff3
mov rcx, rdi
call fcn.1400272a0
movups xmm0, xmmword [rsp + 0x60]
movups xmmword [rdi], xmm0
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [rdi + 0x10], xmm0
mov ebx, 7
mov word [rsp + 0x38], r12w
mov r14, qword [rsp + 0x38]
cmp rbx, 8
jb 0x14005c02e
lea rdx, [rbx*2 + 2]
mov rax, r14
cmp rdx, 0x1000
jb 0x14005c026
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005c4c2
mov rcx, r14
call fcn.1401a9a50
mov qword [rbp + 0x28], r12
mov qword [rbp + 0x30], r12
mov qword [rbp + 0x40], r12
mov qword [rbp + 0x48], 7
mov word [rbp + 0x30], r12w
lea r9, [rbp + 0x28]
xor r8d, r8d
xor edx, edx
lea rcx, [0x140248f10]
call sub.SHELL32.dll_SHGetKnownFolderPath
test eax, eax
jne 0x14005c0b5
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x50], 7
mov rdx, qword [rbp + 0x28]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp word [rdx + r8*2], 0
jne 0x14005c080
lea rcx, [rsp + 0x38]
call fcn.140018360
lea rcx, [rbp + 0x30]
call fcn.1400272a0
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [rbp + 0x30], xmm0
movups xmm1, xmmword [rsp + 0x48]
movups xmmword [rbp + 0x40], xmm1
jmp 0x14005c190
lea rcx, [rbp - 0x60]
call fcn.1400a7ad0
mov rbx, rax
mov rcx, qword [rax + 0x10]
mov rdx, qword [rax + 0x18]
mov rax, rdx
sub rax, rcx
cmp rax, 0xd
jb 0x14005c106
lea r15, [rcx + 0xd]
mov qword [rbx + 0x10], r15
mov r14, rbx
cmp rdx, 8
jb 0x14005c0e9
mov r14, qword [rbx]
lea rcx, [r14 + rcx*2]
mov r8d, 0x1a
lea rdx, str.Program_Files
call fcn.1401cfe40
mov word [r14 + r15*2], r12w
jmp 0x14005c12c
mov qword [rsp + 0x20], 0xd
lea r9, str.Program_Files
movzx r8d, byte [rsp + 0x34]
mov edx, 0xd
mov rcx, rbx
call fcn.14002dc10
mov rbx, rax
lea rax, [rbp + 0x30]
cmp rax, rbx
je 0x14005c150
mov r8, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 8
jb 0x14005c143
mov rbx, qword [rbx]
mov rdx, rbx
lea rcx, [rbp + 0x30]
call fcn.140018360
nop
mov rdx, qword [rbp - 0x48]
cmp rdx, 8
jb 0x14005c190
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005c18b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005c4ce
call fcn.1401a9a50
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
lea rax, str.ROCm
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], 4
xor r8d, r8d
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x60]
call fcn.140039280
or esi, 4
mov dword [rsp + 0x30], esi
lea rax, [0x14023b6dc]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], 3
xor r8d, r8d
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x38]
call fcn.140039280
or esi, 8
mov dword [rsp + 0x30], esi
lea rdx, [rbp + 0x30]
cmp qword [rbp + 0x48], 8
cmovae rdx, qword [rbp + 0x30]
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x78], 7
mov word [rsp + 0x60], r12w
mov r8, qword [rbp + 0x40]
lea rcx, [rsp + 0x60]
call fcn.140018360
or esi, 0x30
mov dword [rsp + 0x30], esi
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x80]
call fcn.140018e70
nop
lea rdx, [rbp - 0x38]
lea rcx, [rbp - 0x80]
call fcn.1400575b0
mov rdx, rax
lea rcx, [rbp + 8]
call fcn.140018e70
or esi, 0x40
mov dword [rsp + 0x30], esi
lea rcx, [rbp - 0x80]
call fcn.1400272a0
nop
lea rdx, [rbp + 8]
lea rcx, [rbp - 0x18]
call fcn.140018e70
nop
lea rdx, [rbp - 0x60]
lea rcx, [rbp - 0x18]
call fcn.1400575b0
mov rdx, rax
lea rcx, [rbp - 0x80]
call fcn.140018e70
bts esi, 7
mov dword [rsp + 0x30], esi
lea rcx, [rbp - 0x18]
call fcn.1400272a0
nop
lea r15, [rbp - 0x80]
cmp qword [rbp - 0x68], 8
cmovae r15, qword [rbp - 0x80]
mov r14, qword [rbp - 0x70]
cmp r14, 8
jae 0x14005c2ce
movups xmm0, xmmword [r15]
movups xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x50], 7
jmp 0x14005c307
mov rbx, r14
or rbx, 7
cmp rbx, r13
cmova rbx, r13
lea rdx, [rbx + 1]
lea rcx, [rsp + 0x38]
call fcn.140023c30
mov qword [rsp + 0x38], rax
lea r8, [r14*2 + 2]
mov rdx, r15
mov rcx, rax
call fcn.1401cfe40
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x48], r14
bts esi, 8
mov dword [rsp + 0x30], esi
lea rcx, [rdi + 0x20]
lea rdx, [rsp + 0x38]
call fcn.140023a40
mov rdx, qword [rsp + 0x50]
cmp rdx, 8
jb 0x14005c365
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005c35f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005c4d4
call fcn.1401a9a50
nop
lea rcx, [rbp - 0x80]
call fcn.1400272a0
nop
lea rcx, [rbp + 8]
call fcn.1400272a0
nop
lea rcx, [rsp + 0x60]
call fcn.1400272a0
nop
lea rcx, [rbp - 0x38]
call fcn.1400272a0
nop
lea rcx, [rbp - 0x60]
call fcn.1400272a0
call fcn.1400d25b0
cmp byte [rax + 0xe4], 0
je 0x14005c456
mov eax, dword [rax + 0xe0]
test al, 1
je 0x14005c3ba
mov dword [rdi + 0x40], 2
test al, 2
je 0x14005c3c5
mov dword [rdi + 0x68], 2
test al, 4
je 0x14005c3d3
mov dword [rdi + 0x90], 2
test al, 8
je 0x14005c3e1
mov dword [rdi + 0xb8], 2
test al, 0x20
je 0x14005c3ef
mov dword [rdi + 0xe0], 2
test al, 0x40
je 0x14005c3fd
mov dword [rdi + 0x108], 2
test al, al
jns 0x14005c40b
mov dword [rdi + 0x180], 2
bt eax, 8
jae 0x14005c41b
mov dword [rdi + 0x1a8], 2
bt eax, 9
jae 0x14005c42b
mov dword [rdi + 0x1d0], 2
bt eax, 0xa
jae 0x14005c43b
mov dword [rdi + 0x130], 2
bt eax, 0xb
jae 0x14005c44b
mov dword [rdi + 0x158], 2
test eax, eax
jns 0x14005c456
mov byte [rdi + 0x1f8], 1
mov rdx, qword [rbp + 0x48]
cmp rdx, 8
jb 0x14005c492
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005c48d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005c4c2
call fcn.1401a9a50
mov rax, rdi
mov rcx, qword [rbp + 0x50]
xor rcx, rsp
call fcn.1401a9a30
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.1401e3dbc
int3
call fcn.140068480
nop
call fcn.1401e3dbc
nop
call fcn.1401e3dbc
int3