Function at 0x1401e0580
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x278]
sub rsp, 0x370
mov qword [rbp + 0x40], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x140418a10]
xor rax, rsp
mov qword [rbp + 0x260], rax
mov rdi, rcx
xor esi, esi
mov qword [rsp + 0x60], rsi
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea r9, [0x1403653a0]
xor edx, edx
lea r8d, [rsi + 0x17]
lea rcx, [0x1403653b0]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x1401e0840
xor eax, eax
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x70], rax
lea rcx, [rbp - 0x80]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
nop
movups xmm0, xmmword [rbp - 0x80]
movaps xmmword [rbp - 0x50], xmm0
movsd xmm1, qword [rbp - 0x70]
movsd qword [rbp - 0x40], xmm1
xor eax, eax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rax
lea rcx, [rsp + 0x68]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
nop
movups xmm0, xmmword [rsp + 0x68]
movaps xmmword [rbp - 0x30], xmm0
movsd xmm1, qword [rsp + 0x78]
movsd qword [rbp - 0x20], xmm1
xor eax, eax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x30]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
nop
movups xmm0, xmmword [rsp + 0x30]
movaps xmmword [rbp - 0x10], xmm0
movsd xmm1, qword [rsp + 0x40]
movsd qword [rbp], xmm1
xor eax, eax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rax
lea rcx, [rsp + 0x48]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
nop
movups xmm0, xmmword [rsp + 0x48]
movaps xmmword [rbp + 0x20], xmm0
movsd xmm1, qword [rsp + 0x58]
movsd qword [rbp + 0x30], xmm1
mov rcx, qword [rsp + 0x60]
mov rax, qword [rcx]
lea rdx, [rbp - 0x50]
mov qword [rsp + 0x20], rdx
lea r9, [rbp - 0x30]
lea r8, [rbp - 0x10]
lea rdx, [rbp + 0x20]
call qword [rax + 0x50]
mov ebx, eax
lea rcx, [rsp + 0x48]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
nop
lea rcx, [rsp + 0x30]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
nop
lea rcx, [rsp + 0x68]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
nop
lea rcx, [rbp - 0x80]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
test ebx, ebx
js 0x1401e0840
mov edx, 0x104
lea rcx, [rbp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov qword [rsp + 0x50], rsi
lea edx, [rsi + 5]
lea rcx, [rsp + 0x48]
call fcn.1401ff260
mov eax, dword [rsp + 0x50]
inc eax
movsxd rdx, eax
lea r9d, [rsi + 5]
lea r8, str.Tasks
mov rcx, qword [rsp + 0x48]
call fcn.1402bd21c
lea edx, [rsi + 5]
lea rcx, [rsp + 0x48]
call fcn.140200570
nop
lea rax, [rbp + 0x50]
or rbx, 0xffffffffffffffff
nop dword [rax + rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x1401e0760
mov qword [rsp + 0x38], rsi
test ebx, ebx
jne 0x1401e0781
lea rax, [0x140348ca0]
mov qword [rsp + 0x30], rax
jmp 0x1401e07a7
mov edx, ebx
lea rcx, [rsp + 0x30]
call fcn.1401ff260
movsxd r9, ebx
mov eax, dword [rsp + 0x38]
inc eax
movsxd rdx, eax
lea r8, [rbp + 0x50]
mov rcx, qword [rsp + 0x30]
call fcn.1402bd21c
mov edx, ebx
lea rcx, [rsp + 0x30]
call fcn.140200570
nop
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x68]
call fcn.1400d2bd0
nop
cmp dword [rsp + 0x38], 0
jle 0x1401e07da
mov rcx, qword [rsp + 0x30]
call fcn.1402b9c20
nop
cmp dword [rsp + 0x50], 0
jle 0x1401e07eb
mov rcx, qword [rsp + 0x48]
call fcn.1402b9c20
lea rcx, [0x140347f58]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rbx, rax
mov qword [rbp + 0x10], rax
test rax, rax
jne 0x1401e080f
mov ecx, 0x8007000e
call fcn.1401e23f0
nop
mov r9, rax
lea r8, [rbp - 0x68]
lea rdx, [rsp + 0x60]
mov rcx, rdi
call fcn.1401e0890
nop
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov bl, 1
cmp dword [rbp - 0x60], 0
jle 0x1401e0842
mov rcx, qword [rbp - 0x68]
call fcn.1402b9c20
jmp 0x1401e0842
xor bl, bl
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x1401e0852
mov rdx, qword [rcx]
call qword [rdx + 0x10]
movzx eax, bl
mov rcx, qword [rbp + 0x260]
xor rcx, rsp
call fcn.1402b9610
lea r11, [rsp + 0x370]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret