Function at 0x14000554c
Capabilities:
Get common file path
Get file system object information

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x270]
sub rsp, 0x370
mov rax, qword [0x140231ec8]
xor rax, rsp
mov qword [rbp + 0x260], rax
mov rdi, rcx
mov rcx, qword [rcx]
xor r14d, r14d
test rcx, rcx
je 0x14000585f
xor r9d, r9d
xor r8d, r8d
mov edx, 0x14b
call qword [sym.imp.USER32.dll_SendMessageW]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderLocation]
or r15, 0xffffffffffffffff
mov r12d, 0x1000
test eax, eax
jne 0x140005746
mov dword [rsp + 0x20], 0x4209
mov r9d, 0x2b8
lea r8, [rbp - 0x60]
xor edx, edx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov r9, rax
xor r8d, r8d
mov edx, 0x402
mov rcx, qword [rdi]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [0x14025af80]
mov rax, qword [rcx]
mov rdx, qword [rsp + 0x50]
mov rax, qword [rax + 0x28]
call qword [case.0x1400f1dc3.0]
mov qword [rbp - 0x80], r14
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x70], xmm0
lea rax, [rbp - 0x50]
mov r8, r15
inc r8
cmp word [rax + r8*2], r14w
jne 0x14000562c
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x80]
call fcn.1400041b8
nop
mov qword [rsp + 0x60], r14
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x70], xmm0
lea rax, [rbp - 0x50]
mov r8, r15
inc r8
cmp word [rax + r8*2], r14w
jne 0x140005659
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x60]
call fcn.1400041b8
nop
mov byte [rsp + 0x40], r14b
mov qword [rsp + 0x38], r15
mov dword [rsp + 0x30], r14d
lea rax, [rbp - 0x80]
mov qword [rsp + 0x28], rax
mov eax, dword [rbp - 0x58]
mov dword [rsp + 0x20], eax
xor r9d, r9d
lea r8d, [r9 + 1]
lea rdx, [rsp + 0x60]
mov rcx, rdi
call fcn.14000589c
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x1400056e4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, r12
jb 0x1400056df
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005896
call fcn.1401af9bc
movdqa xmm0, xmmword [0x1401dc090]
movdqu xmmword [rsp + 0x70], xmm0
mov word [rsp + 0x60], r14w
mov rdx, qword [rbp - 0x68]
cmp rdx, 8
jb 0x140005734
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, r12
jb 0x14000572f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000588a
call fcn.1401af9bc
movdqa xmm0, xmmword [0x1401dc090]
movdqu xmmword [rbp - 0x70], xmm0
mov word [rbp - 0x80], r14w
mov qword [rsp + 0x58], r14
lea rcx, [rsp + 0x58]
call qword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
test eax, eax
jne 0x140005775
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x58]
mov rcx, rdi
call fcn.140004ab4
test al, al
jne 0x140005857
call fcn.140161264
mov esi, eax
mov ebx, r14d
bt esi, ebx
jae 0x14000584c
lea r8d, [rbx + 0x41]
lea rdx, str._c:_
lea rcx, [rbp - 0x80]
call fcn.1400ff0a0
nop
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], r14
xor r8d, r8d
lea rdx, [0x1401dbff0]
lea rcx, [rsp + 0x60]
call fcn.1400041b8
nop
mov byte [rsp + 0x40], 1
mov qword [rsp + 0x38], r15
mov dword [rsp + 0x30], 2
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp - 0x80]
mov rcx, rdi
call fcn.14000589c
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x14000582f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, r12
jb 0x14000582a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005890
call fcn.1401af9bc
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], 7
mov word [rsp + 0x60], r14w
lea rcx, [rbp - 0x80]
int3
inc ebx
cmp ebx, 0x20
jl 0x14000577f
mov rcx, rdi
call fcn.140005e60
mov rcx, qword [rbp + 0x260]
xor rcx, rsp
call fcn.1401afad0
lea r11, [rsp + 0x370]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
int3
int3
int3