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

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x48]
sub rsp, 0x110
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x1401ea028]
xor rax, rsp
mov qword [rbp + 8], rax
mov rbx, rdx
mov r14, rcx
mov rdx, rcx
lea rcx, [rsp + 0x68]
call fcn.1400a1b80
nop
lea rcx, [rsp + 0x68]
cmp qword [rbp - 0x80], 8
cmovae rcx, qword [rsp + 0x68]
call qword [sym.imp.SHLWAPI.dll_PathIsRelativeW]
nop dword [rax + rax]
xor r13d, r13d
test eax, eax
je 0x14009f7ea
cmp qword [r14 + 0x30], r13
jne 0x14009f729
lea rsi, [r14 + 0x80]
mov rcx, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x14009f4a5
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
nop dword [rax + rax]
cmp eax, 0xffffffff
jne 0x14009f729
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.14009e788
nop
mov rdi, qword [rsp + 0x20]
mov r12, qword [rsp + 0x28]
cmp rdi, r12
je 0x14009f6a8
mov rdx, rdi
lea rcx, [rsp + 0x48]
call fcn.1400a1b80
nop
lea rdx, [0x140198d54]
lea rcx, [rsp + 0x48]
call fcn.140055b44
mov rdx, rsi
lea rcx, [rbp - 0x58]
call fcn.1400a1b80
nop
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.1400964e0
nop
lea rcx, [rbp - 0x58]
call fcn.140028ef4
lea rcx, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae rcx, qword [rsp + 0x48]
call qword [sym.imp.SHLWAPI.dll_PathIsRelativeW]
nop dword [rax + rax]
test eax, eax
je 0x14009f608
lea rcx, [rbp - 0x58]
call fcn.1400a21c0
nop
mov rdx, rax
lea rcx, [rbp - 0x18]
call fcn.1400a1b80
nop
lea rdx, [0x140198d54]
mov rcx, rax
call fcn.140055b44
mov qword [rbp - 0x68], r13
mov qword [rbp - 0x60], r13
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x78], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x68], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 7
mov word [rax], r13w
lea r8, [rsp + 0x48]
lea rdx, [rbp - 0x78]
lea rcx, [rbp - 0x38]
call fcn.1400a07b0
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.140028f5c
lea rcx, [rbp - 0x38]
call fcn.140028ef4
nop
lea rcx, [rbp - 0x78]
call fcn.140028ef4
nop
lea rcx, [rbp - 0x18]
call fcn.140028ef4
nop
mov rdx, qword [rbp - 0x40]
cmp rdx, 0x10
jb 0x14009f608
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14009f603
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14009f82f
call fcn.1401313f8
mov ecx, 0x10000
call fcn.140131404
mov rbx, rax
mov qword [rsp + 0x40], rax
lea r8, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae r8, qword [rsp + 0x48]
mov edx, 0x8000
mov r9d, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_core_path_l1_1_0.dll_PathCchCanonicalizeEx]
nop dword [rax + rax]
mov r15d, eax
test eax, eax
js 0x14009f6b7
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
nop dword [rax + rax]
cmp eax, 0xffffffff
jne 0x14009f681
test rbx, rbx
je 0x14009f66e
mov rcx, rbx
call fcn.1401313f8
nop
lea rcx, [rsp + 0x48]
call fcn.140028ef4
add rdi, 0x20
jmp 0x14009f4d2
mov rdx, rbx
lea rcx, [rsp + 0x68]
call fcn.140090d9c
nop
test rbx, rbx
je 0x14009f69d
mov rcx, rbx
call fcn.1401313f8
nop
lea rcx, [rsp + 0x48]
call fcn.140028ef4
nop
lea rcx, [rsp + 0x20]
call fcn.1400630b0
jmp 0x14009f7ea
mov rcx, qword [rbp + 0x48]
mov r9d, r15d
lea r8, str.com_rpcmidlmidlrtcommoncmdutil.cxx
mov edx, 0x26a
call fcn.14009d5a0
nop
test rbx, rbx
je 0x14009f6de
mov rcx, rbx
call fcn.1401313f8
nop
lea rcx, [rsp + 0x48]
call fcn.140028ef4
nop
lea rcx, [rsp + 0x20]
call fcn.1400630b0
nop
lea rcx, [rsp + 0x68]
call fcn.140028ef4
mov eax, r15d
mov rcx, qword [rbp + 8]
xor rcx, rsp
call fcn.1401313d0
mov rbx, qword [rsp + 0x160]
add rsp, 0x110
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea rcx, [rbp - 0x58]
call fcn.1400a21c0
nop
mov rdx, rax
lea rcx, [rbp - 0x38]
call fcn.1400a1b80
nop
lea rdx, [0x140198d54]
mov rcx, rax
call fcn.140055b44
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x68], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x78], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x68], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 7
mov word [rax], r13w
lea r8, [rsp + 0x68]
lea rdx, [rbp - 0x78]
lea rcx, [rbp - 0x18]
call fcn.1400a07b0
mov rdx, rax
lea rcx, [rsp + 0x68]
call fcn.140028f5c
lea rcx, [rbp - 0x18]
call fcn.140028ef4
nop
lea rcx, [rbp - 0x78]
call fcn.140028ef4
nop
lea rcx, [rbp - 0x38]
call fcn.140028ef4
nop
mov rdx, qword [rbp - 0x40]
cmp rdx, 0x10
jb 0x14009f7ea
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14009f7e5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14009f810
call fcn.1401313f8
cmp qword [rsp + 0x78], r13
je 0x14009f816
lea rdx, [rsp + 0x68]
mov rcx, r14
call fcn.14009fafc
nop
lea rcx, [rsp + 0x68]
call fcn.140028ef4
xor eax, eax
jmp 0x14009f701
call fcn.14010f9a4
int3
lea r8, str._wideFileName.empty__
mov edx, 0x27e
lea rcx, str.com_rpcmidlmidlrtcommoncmdutil.cxx
call fcn.14009bc1c
nop
call fcn.14010f9a4
int3