Function at 0x14002fd30
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rsi
push rdi
push r14
mov eax, 0x1050
call fcn.14004a590
sub rsp, rax
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rsp + 0x1080], rbx
mov rax, qword [0x14007d008]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r14, rdx
mov rdi, rcx
mov qword [rsp + 0x30], rcx
call qword [sym.imp.ac1st21.dll_protected:_void___cdecl_AcRxObject::constructor_void____ptr64]
mov byte [rdi + 8], 0
lea rax, vtable.AdRmDoc.0
mov qword [rdi], rax
xor esi, esi
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], rsi
lea rbx, [rdi + 0x20]
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x140053374]
mov rcx, rbx
call fcn.140001e70
lea rcx, [rdi + 0x820]
lea rdx, [0x140053374]
call qword [sym.imp.acdb21.dll_public:_void___cdecl_AdXREFString::constructor_wchar_t_const____ptr64____ptr64]
nop
mov dword [rdi + 0x848], 0x7ffe
mov dword [rdi + 0x850], 0x1a
mov byte [rdi + 0x84c], sil
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 0x40]
test al, al
je 0x14002fdf3
mov dword [rdi + 0x850], 0xd
jmp 0x14002ff5e
mov rcx, r14
call qword [sym.imp.acdb21.dll_public:_wchar_t_const____ptr64___cdecl_AdXREFString::operator_wchar_t_const____ptr64_void_const___ptr64]
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.140001e70
cmp word [rsp + 0x40], 0
je 0x14002ff54
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14002ff54
lea rcx, [rsp + 0x40]
call fcn.14001b5b0
test eax, eax
jne 0x14002fe6a
cmp word [rsp + 0x40], ax
je 0x14002fe6a
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14002fe6a
shr eax, 4
and al, 1
je 0x14002fe6a
mov dword [rdi + 0x850], 2
jmp 0x14002ff5e
lea r9, [rsp + 0x38]
lea r8, [rsp + 0x840]
mov edx, 0x400
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetFullPathNameW]
test eax, eax
je 0x14002fea3
lea r8, [rsp + 0x840]
mov edx, 0x400
lea rcx, [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
mov ecx, 0x28
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonLinkCtrl::XElementButtonLinkCtrl]
mov qword [rsp + 0x38], rax
test rax, rax
je 0x14002fedb
xor ecx, ecx
mov qword [rax], rcx
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rcx
mov qword [rax + 0x18], rcx
mov qword [rax + 0x20], rcx
mov r8, rdi
mov rcx, rax
call fcn.1400424a0
mov rsi, rax
mov qword [rdi + 0x10], rsi
test rsi, rsi
jne 0x14002fef0
mov dword [rdi + 0x850], 4
jmp 0x14002ff5e
lea rax, [rsp + 0x40]
mov ecx, 0x10
nop word [rax + rax]
movups xmm0, xmmword [rax]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rbx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rbx + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rbx + 0x40], xmm0
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rbx + 0x50], xmm1
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rbx + 0x60], xmm0
lea rbx, [rbx + 0x80]
movups xmm1, xmmword [rax + 0x70]
movups xmmword [rbx - 0x10], xmm1
lea rax, [rax + 0x80]
sub rcx, 1
jne 0x14002ff00
jmp 0x14002ff5e
mov dword [rdi + 0x850], 0x13
mov rax, rdi
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.1400489c0
mov rbx, qword [rsp + 0x1080]
add rsp, 0x1050
pop r14
pop rdi
pop rsi
ret