Function at 0x14000553c
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 [0x14022ff58]
xor rax, rsp
mov qword [rbp + 0x260], rax
mov rdi, rcx
mov rcx, qword [rcx]
xor r14d, r14d
test rcx, rcx
je 0x14000584f
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 0x140005736
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 [0x140256f70]
mov rax, qword [rcx]
mov rdx, qword [rsp + 0x50]
mov rax, qword [rax + 0x28]
call qword [case.0x1400f0cf3.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 0x14000561c
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x80]
call fcn.1400041a8
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 0x140005649
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x60]
call fcn.1400041a8
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.14000588c
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x1400056d4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, r12
jb 0x1400056cf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005886
call fcn.1401addcc
movdqa xmm0, xmmword [0x1401da070]
movdqu xmmword [rsp + 0x70], xmm0
mov word [rsp + 0x60], r14w
mov rdx, qword [rbp - 0x68]
cmp rdx, 8
jb 0x140005724
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, r12
jb 0x14000571f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000587a
call fcn.1401addcc
movdqa xmm0, xmmword [0x1401da070]
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 0x140005765
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x58]
mov rcx, rdi
call fcn.140004aa4
test al, al
jne 0x140005847
call fcn.14015fb34
mov esi, eax
mov ebx, r14d
bt esi, ebx
jae 0x14000583c
lea r8d, [rbx + 0x41]
lea rdx, str._c:_
lea rcx, [rbp - 0x80]
call fcn.1400fdfbc
nop
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], r14
xor r8d, r8d
lea rdx, [0x1401d9fd0]
lea rcx, [rsp + 0x60]
call fcn.1400041a8
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.14000588c
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x14000581f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, r12
jb 0x14000581a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005880
call fcn.1401addcc
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], 7
mov word [rsp + 0x60], r14w
lea rcx, [rbp - 0x80]
call fcn.140006b84
inc ebx
cmp ebx, 0x20
jl 0x14000576f
mov rcx, rdi
call fcn.140005e50
mov rcx, qword [rbp + 0x260]
xor rcx, rsp
call fcn.1401adee0
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
call fcn.1401b4fa4
nop
call fcn.1401b4fa4
nop
call fcn.1401b4fa4
int3