Function at 0x1400fe4d0
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x280
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov rax, qword [0x1402de400]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov rsi, rcx
call fcn.1400fd760
mov rdi, rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8, rdi
lea edx, [r9 + 0x10]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x1400fe567
mov dword [rsp + 0x40], 1
lea rcx, [rsp + 0x60]
call fcn.1400019d0
mov rbx, rax
mov qword [rsp + 0x38], rax
mov r8, rax
lea rdx, str.desktop
mov rcx, rsi
call fcn.140004e80
nop
test rbx, rbx
je 0x1400fe567
mov rcx, rbx
call fcn.1401e36c8
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8, rdi
lea edx, [r9 + 5]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x1400fe5c1
mov dword [rsp + 0x40], 1
lea rcx, [rsp + 0x60]
call fcn.1400019d0
mov rbx, rax
mov qword [rsp + 0x38], rax
mov r8, rax
lea rdx, [0x14023c5c4]
mov rcx, rsi
call fcn.140004e80
nop
test rbx, rbx
je 0x1400fe5c1
mov rcx, rbx
call fcn.1401e36c8
xor r8d, r8d
xor edx, edx
lea ecx, [rdx + 6]
call fcn.14001ba20
test al, al
je 0x1400fe7e0
lea rdx, str.shell32.dll
lea rcx, [rsp + 0x38]
call fcn.1400fc860
xor ebp, ebp
mov qword [rsp + 0x40], rbp
lea rdx, str.SHGetKnownFolderPath
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x30], rbp
test rax, rax
je 0x1400fe67c
lea r9, [rsp + 0x30]
mov r8, rdi
xor edx, edx
lea rcx, [0x140287a80]
call rax
test eax, eax
js 0x1400fe677
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1400fe677
mov dword [rsp + 0x50], 1
call fcn.1400019d0
mov rbx, rax
mov qword [rsp + 0x48], rax
mov r8, rax
lea rdx, str.down
mov rcx, rsi
call fcn.140004e80
nop
test rbx, rbx
je 0x1400fe665
mov rcx, rbx
call fcn.1401e36c8
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rax, qword [rsp + 0x40]
jmp 0x1400fe67c
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x30], rbp
test rax, rax
je 0x1400fe6f3
lea r9, [rsp + 0x30]
mov r8, rdi
xor edx, edx
lea rcx, [0x140287a50]
call rax
test eax, eax
js 0x1400fe6ee
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1400fe6ee
mov dword [rsp + 0x50], 1
call fcn.1400019d0
mov rbx, rax
mov qword [rsp + 0x48], rax
mov r8, rax
lea rdx, [0x14023c5b8]
mov rcx, rsi
call fcn.140004e80
nop
test rbx, rbx
je 0x1400fe6dc
mov rcx, rbx
call fcn.1401e36c8
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rax, qword [rsp + 0x40]
jmp 0x1400fe6f3
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x30], rbp
test rax, rax
je 0x1400fe76a
lea r9, [rsp + 0x30]
mov r8, rdi
xor edx, edx
lea rcx, [0x140287a60]
call rax
test eax, eax
js 0x1400fe765
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1400fe765
mov dword [rsp + 0x50], 1
call fcn.1400019d0
mov rbx, rax
mov qword [rsp + 0x48], rax
mov r8, rax
lea rdx, str.music
mov rcx, rsi
call fcn.140004e80
nop
test rbx, rbx
je 0x1400fe753
mov rcx, rbx
call fcn.1401e36c8
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rax, qword [rsp + 0x40]
jmp 0x1400fe76a
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x30], rbp
test rax, rax
je 0x1400fe7d6
lea r9, [rsp + 0x30]
mov r8, rdi
xor edx, edx
lea rcx, [0x140287a70]
call rax
test eax, eax
js 0x1400fe7d6
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1400fe7d6
mov dword [rsp + 0x50], 1
call fcn.1400019d0
mov rbx, rax
mov qword [rsp + 0x48], rax
mov r8, rax
lea rdx, str.video
mov rcx, rsi
call fcn.140004e80
nop
test rbx, rbx
je 0x1400fe7ca
mov rcx, rbx
call fcn.1401e36c8
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop
lea rcx, [rsp + 0x38]
call fcn.1400fc890
test rdi, rdi
je 0x1400fe7f5
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
jmp 0x1400fe7fa
mov eax, 4
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.1401e42a0
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret