Function at 0x1400a42d0
Capabilities:
Get common file path

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x3e0]
sub rsp, 0x4e0
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rsp + 0x530], rbx
mov rax, qword [0x1403b8c08]
xor rax, rsp
mov qword [rbp + 0x3d0], rax
mov r15, rdx
mov rbx, rcx
mov qword [rsp + 0x68], rdx
xor r13d, r13d
mov dword [rsp + 0x58], r13d
mov qword [rdx], r13
mov qword [rdx + 8], r13
xor r8d, r8d
xor edx, edx
mov rcx, r15
call fcn.1400ac570
mov qword [r15], rax
mov dword [rsp + 0x58], 1
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x1c0]
call fcn.140289490
lea rax, [rbp + 0x1c0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r13 + 0x17]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x40], r13
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x38]
call fcn.140098480
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
call fcn.14000b190
mov rcx, rax
test rax, rax
je 0x1400a46bc
mov rax, qword [rax]
call qword [rax + SafeArrayCopy]
add rax, 0x18
mov qword [rsp + 0x48], rax
lea rax, [rbp + 0x1c0]
cmp rax, 0x10000
jae 0x1400a43de
lea rax, [rbp + 0x1c0]
movzx edx, ax
lea rcx, [rsp + 0x48]
call fcn.14000b690
jmp 0x1400a440f
lea rcx, [rbp + 0x1c0]
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x1400a43f0
mov r8d, eax
lea rdx, [rbp + 0x1c0]
lea rcx, [rsp + 0x48]
call fcn.140010860
nop
xor r9d, r9d
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x48]
mov rcx, rbx
call fcn.1400a1aa0
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x50]
call fcn.140289490
lea rax, [rbp - 0x50]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x1a]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea rdx, str.MicrosoftWindowsStart_MenuPrograms
lea rcx, [rbp - 0x50]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
call fcn.14000b190
mov rcx, rax
test rax, rax
je 0x1400a46a4
mov rax, qword [rax]
call qword [rax + SafeArrayCopy]
add rax, 0x18
mov qword [rsp + 0x50], rax
lea rax, [rbp - 0x50]
cmp rax, 0x10000
jae 0x1400a44aa
lea rax, [rbp - 0x50]
movzx edx, ax
lea rcx, [rsp + 0x50]
call fcn.14000b690
jmp 0x1400a44d1
lea rcx, [rbp - 0x50]
mov rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], 0
jne 0x1400a44b5
mov r8d, eax
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x50]
call fcn.140010860
nop
xor r9d, r9d
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.1400a1aa0
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rdi]
cmp rbx, rdi
je 0x1400a4608
movabs r12, 0x38e38e38e38e38d
mov rcx, qword [rbx + 0x10]
sub rcx, 0x18
call fcn.14000ae30
lea rcx, [rax + 0x18]
mov qword [rsp + 0x30], rcx
call fcn.1400cfc20
test eax, eax
je 0x1400a45d6
xor r8d, r8d
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x70]
call fcn.1400aeba0
nop
mov rsi, qword [r15]
mov r14, qword [rsi + 8]
lea r9, [rsp + 0x70]
mov r8, r14
mov rdx, rsi
mov rcx, r15
call fcn.14009f650
mov rdx, qword [r15 + 8]
mov rcx, r12
sub rcx, rdx
cmp rcx, 1
jb 0x1400a46af
lea rcx, [rdx + 1]
mov qword [r15 + 8], rcx
mov qword [rsi + 8], rax
mov qword [r14], rax
mov rdx, qword [rbp - 0x70]
add rdx, 0xffffffffffffffe8
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400a4594
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rdx, qword [rbp - 0x80]
add rdx, 0xffffffffffffffe8
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400a45b4
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rdx, qword [rsp + 0x78]
add rdx, 0xffffffffffffffe8
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400a45d6
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400a45f7
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rbx, qword [rbx]
cmp rbx, rdi
jne 0x1400a4501
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rdi]
mov qword [rdi], rdi
mov rax, qword [rsp + 0x38]
mov qword [rax + 8], rax
mov qword [rsp + 0x40], r13
mov rcx, qword [rsp + 0x38]
cmp rbx, rcx
je 0x1400a466d
nop word [rax + rax]
mov rdi, qword [rbx]
mov rdx, qword [rbx + 0x10]
sub rdx, 0x18
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400a4653
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov edx, SafeArrayCopy
mov rcx, rbx
call fcn.140171af0
mov rbx, rdi
mov rcx, qword [rsp + 0x38]
cmp rdi, rcx
jne 0x1400a4630
mov edx, SafeArrayCopy
call fcn.140171af0
mov rax, r15
mov rcx, qword [rbp + 0x3d0]
xor rcx, rsp
call fcn.140172190
mov rbx, qword [rsp + 0x530]
add rsp, 0x4e0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov ecx, 0x80004005
call fcn.14000adf0
nop
lea rcx, str.list_T__too_long
call fcn.1400dcd88
nop
mov ecx, 0x80004005
call fcn.14000adf0
int3