Function at 0x1401de370
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 [0x140415a10]
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, [0x140365048]
xor edx, edx
lea r8d, [rsi + 0x17]
lea rcx, [0x140365058]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x1401de630
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 0x1401de630
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.1401fcb40
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.1402ba94c
lea edx, [rsi + 5]
lea rcx, [rsp + 0x48]
call fcn.1401fde50
nop
lea rax, [rbp + 0x50]
or rbx, 0xffffffffffffffff
nop dword [rax + rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x1401de550
mov qword [rsp + 0x38], rsi
test ebx, ebx
jne 0x1401de571
lea rax, [0x140346ce0]
mov qword [rsp + 0x30], rax
jmp 0x1401de597
mov edx, ebx
lea rcx, [rsp + 0x30]
call fcn.1401fcb40
movsxd r9, ebx
mov eax, dword [rsp + 0x38]
inc eax
movsxd rdx, eax
lea r8, [rbp + 0x50]
mov rcx, qword [rsp + 0x30]
call fcn.1402ba94c
mov edx, ebx
lea rcx, [rsp + 0x30]
call fcn.1401fde50
nop
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x68]
call fcn.1400d2ba0
nop
cmp dword [rsp + 0x38], 0
jle 0x1401de5ca
mov rcx, qword [rsp + 0x30]
call fcn.1402b7350
nop
cmp dword [rsp + 0x50], 0
jle 0x1401de5db
mov rcx, qword [rsp + 0x48]
call fcn.1402b7350
lea rcx, [0x140345f98]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rbx, rax
mov qword [rbp + 0x10], rax
test rax, rax
jne 0x1401de5ff
mov ecx, 0x8007000e
call fcn.1401e01e0
nop
mov r9, rax
lea r8, [rbp - 0x68]
lea rdx, [rsp + 0x60]
mov rcx, rdi
call fcn.1401de680
nop
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov bl, 1
cmp dword [rbp - 0x60], 0
jle 0x1401de632
mov rcx, qword [rbp - 0x68]
call fcn.1402b7350
jmp 0x1401de632
xor bl, bl
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x1401de642
mov rdx, qword [rcx]
call qword [rdx + 0x10]
movzx eax, bl
mov rcx, qword [rbp + 0x260]
xor rcx, rsp
call fcn.1402b6d40
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