Function at 0x1401e27b0
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 [0x14041da10]
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, [0x14036bc58]
xor edx, edx
lea r8d, [rsi + 0x17]
lea rcx, [0x14036bc68]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x1401e2a70
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 0x1401e2a70
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.1402028a0
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.1402c06dc
lea edx, [rsi + 5]
lea rcx, [rsp + 0x48]
call fcn.140203bb0
nop
lea rax, [rbp + 0x50]
or rbx, 0xffffffffffffffff
nop dword [rax + rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x1401e2990
mov qword [rsp + 0x38], rsi
test ebx, ebx
jne 0x1401e29b1
lea rax, [0x14034d1a0]
mov qword [rsp + 0x30], rax
jmp 0x1401e29d7
mov edx, ebx
lea rcx, [rsp + 0x30]
call fcn.1402028a0
movsxd r9, ebx
mov eax, dword [rsp + 0x38]
inc eax
movsxd rdx, eax
lea r8, [rbp + 0x50]
mov rcx, qword [rsp + 0x30]
call fcn.1402c06dc
mov edx, ebx
lea rcx, [rsp + 0x30]
call fcn.140203bb0
nop
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x68]
call fcn.1400d4050
nop
cmp dword [rsp + 0x38], 0
jle 0x1401e2a0a
mov rcx, qword [rsp + 0x30]
call fcn.1402bd0e0
nop
cmp dword [rsp + 0x50], 0
jle 0x1401e2a1b
mov rcx, qword [rsp + 0x48]
call fcn.1402bd0e0
lea rcx, [0x14034c088]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rbx, rax
mov qword [rbp + 0x10], rax
test rax, rax
jne 0x1401e2a3f
mov ecx, 0x8007000e
call fcn.1401e4620
nop
mov r9, rax
lea r8, [rbp - 0x68]
lea rdx, [rsp + 0x60]
mov rcx, rdi
call fcn.1401e2ac0
nop
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov bl, 1
cmp dword [rbp - 0x60], 0
jle 0x1401e2a72
mov rcx, qword [rbp - 0x68]
call fcn.1402bd0e0
jmp 0x1401e2a72
xor bl, bl
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x1401e2a82
mov rdx, qword [rcx]
call qword [rdx + 0x10]
movzx eax, bl
mov rcx, qword [rbp + 0x260]
xor rcx, rsp
call fcn.1402bcad0
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