Function at 0x14005bb20
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 [0x1402be5c8]
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.140045bf0
mov esi, 1
mov dword [rsp + 0x30], esi
call fcn.1400d1ee0
movabs r13, 0x7ffffffffffffffe
cmp byte [rax + 0xd8], r12b
je 0x14005bc8e
call fcn.1400d1ee0
lea rsi, [rax + 0xb8]
cmp byte [rsi + 0x20], r12b
je 0x14005c128
mov r15, qword [rsi + 0x10]
cmp qword [rsi + 0x18], 8
jb 0x14005bbb2
mov rsi, qword [rsi]
cmp r15, 8
jae 0x14005bbcc
movups xmm0, xmmword [rsi]
movups xmmword [rsp + 0x38], xmm0
mov ebx, 7
mov r14, qword [rsp + 0x38]
jmp 0x14005bc08
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.1401cf850
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 0x14005bc53
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 0x14005bc8e
lea rdx, [rbx*2 + 2]
mov rax, r14
cmp rdx, 0x1000
jb 0x14005bc86
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005c122
mov rcx, r14
call fcn.1401a9460
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, [0x140247f10]
call sub.SHELL32.dll_SHGetKnownFolderPath
test eax, eax
jne 0x14005bd15
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 0x14005bce0
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 0x14005bdf0
lea rcx, [rbp - 0x60]
call fcn.1400a7400
mov rbx, rax
mov rcx, qword [rax + 0x10]
mov rdx, qword [rax + 0x18]
mov rax, rdx
sub rax, rcx
cmp rax, 0xd
jb 0x14005bd66
lea r15, [rcx + 0xd]
mov qword [rbx + 0x10], r15
mov r14, rbx
cmp rdx, 8
jb 0x14005bd49
mov r14, qword [rbx]
lea rcx, [r14 + rcx*2]
mov r8d, 0x1a
lea rdx, str.Program_Files
call fcn.1401cf850
mov word [r14 + r15*2], r12w
jmp 0x14005bd8c
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 0x14005bdb0
mov r8, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 8
jb 0x14005bda3
mov rbx, qword [rbx]
mov rdx, rbx
lea rcx, [rbp + 0x30]
call fcn.140018360
nop
mov rdx, qword [rbp - 0x48]
cmp rdx, 8
jb 0x14005bdf0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005bdeb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005c12e
call fcn.1401a9460
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, [0x14023a6dc]
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.140057210
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.140057210
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 0x14005bf2e
movups xmm0, xmmword [r15]
movups xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x50], 7
jmp 0x14005bf67
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.1401cf850
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 0x14005bfc5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005bfbf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005c134
call fcn.1401a9460
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.1400d1ee0
cmp byte [rax + 0xe4], 0
je 0x14005c0b6
mov eax, dword [rax + 0xe0]
test al, 1
je 0x14005c01a
mov dword [rdi + 0x40], 2
test al, 2
je 0x14005c025
mov dword [rdi + 0x68], 2
test al, 4
je 0x14005c033
mov dword [rdi + 0x90], 2
test al, 8
je 0x14005c041
mov dword [rdi + 0xb8], 2
test al, 0x20
je 0x14005c04f
mov dword [rdi + 0xe0], 2
test al, 0x40
je 0x14005c05d
mov dword [rdi + 0x108], 2
test al, al
jns 0x14005c06b
mov dword [rdi + 0x180], 2
bt eax, 8
jae 0x14005c07b
mov dword [rdi + 0x1a8], 2
bt eax, 9
jae 0x14005c08b
mov dword [rdi + 0x1d0], 2
bt eax, 0xa
jae 0x14005c09b
mov dword [rdi + 0x130], 2
bt eax, 0xb
jae 0x14005c0ab
mov dword [rdi + 0x158], 2
test eax, eax
jns 0x14005c0b6
mov byte [rdi + 0x1f8], 1
mov rdx, qword [rbp + 0x48]
cmp rdx, 8
jb 0x14005c0f2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005c0ed
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005c122
call fcn.1401a9460
mov rax, rdi
mov rcx, qword [rbp + 0x50]
xor rcx, rsp
call fcn.1401a9440
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.1401e37cc
int3
call fcn.140067e80
nop
call fcn.1401e37cc
nop
call fcn.1401e37cc
int3