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

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x5c8]
sub rsp, 0x6a0
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x140065010]
xor rax, rsp
mov qword [rbp + 0x590], rax
mov rbx, rcx
mov qword [rsp + 0x40], rcx
lea rax, vtable.CSamplingControl.0
mov qword [rcx], rax
xor r12d, r12d
mov dword [rcx + 8], r12d
mov qword [rcx + 0x10], r12
mov qword [rcx + 0x18], rdx
mov qword [rcx + 0x20], r12
mov qword [rcx + 0x28], r12
lea r15, [rcx + 0x30]
mov qword [rsp + 0x20], r15
call fcn.140001424
mov rcx, rax
test rax, rax
jne 0x14001d8ed
mov ecx, 0x80004005
call fcn.140003cb0
int3
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [r15], rax
mov qword [rbx + 0x38], r12
mov qword [rbx + 0x40], r12
mov qword [rbx + 0x48], r12
mov dword [rbx + 0x50], 1
lea r14, [rbx + 0x58]
mov qword [rsp + 0x20], r14
call fcn.140001424
mov rcx, rax
test rax, rax
jne 0x14001d92e
mov ecx, 0x80004005
call fcn.140003cb0
int3
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [r14], rax
lea rdi, [rbx + 0x60]
mov qword [rsp + 0x20], rdi
call fcn.140001424
mov rcx, rax
test rax, rax
jne 0x14001d95c
mov ecx, 0x80004005
call fcn.140003cb0
int3
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rdi], rax
lea rdi, [rbx + 0x68]
mov qword [rsp + 0x20], rdi
call fcn.140001424
mov rcx, rax
test rax, rax
jne 0x14001d98a
mov ecx, 0x80004005
call fcn.140003cb0
int3
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rdi], rax
mov dword [rbx + 0x88], r12d
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x170]
call fcn.1400280e0
mov edi, 0x104
mov r8d, edi
lea rdx, [rbp + 0x170]
mov rcx, qword [rbx + 0x28]
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
cmp r12w, word [rbp + 0x170]
jne 0x14001d9ff
xor r9d, r9d
mov edx, 0xe1232723
mov r8d, 0xa0e
lea rcx, [rsp + 0x50]
call fcn.14001d7a0
lea rdx, [0x140062940]
lea rcx, [rsp + 0x50]
call fcn.140028338
int3
mov qword [rsp + 0x28], r12
lea r9, [rsp + 0x28]
lea r8, [rbp + 0x380]
mov edx, edi
lea rcx, [rbp + 0x170]
call qword [sym.imp.KERNEL32.dll_GetFullPathNameW]
mov rcx, qword [rsp + 0x28]
or rdi, 0xffffffffffffffff
test rcx, rcx
je 0x14001da53
mov rax, rdi
inc rax
cmp word [rcx + rax*2], r12w
jne 0x14001da30
lea rcx, [rbp + 0x380]
mov rsi, rdi
inc rsi
cmp word [rcx + rsi*2], r12w
jne 0x14001da44
sub rsi, rax
jmp 0x14001da67
lea rax, [rbp + 0x380]
mov rsi, rdi
inc rsi
cmp word [rax + rsi*2], r12w
jne 0x14001da5d
call fcn.140001424
mov r9, rax
mov r8d, esi
lea rdx, [rbp + 0x380]
lea rcx, [rsp + 0x30]
call fcn.14000dc1c
nop
lea rdx, [rsp + 0x30]
mov rcx, r15
call fcn.14000d7c4
nop
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, edi
test eax, eax
jg 0x14001dab1
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.14001d6f0
nop
mov rdx, rax
mov rcx, r14
call fcn.14000d7c4
nop
mov rdx, qword [rsp + 0x20]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, edi
test eax, eax
jg 0x14001daea
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
lea rdx, str.SamplingRuntime.dll
inc rdi
cmp word [rdx + rdi*2], r12w
jne 0x14001daf1
mov r8d, edi
mov rcx, r14
call fcn.140006dc4
mov rcx, qword [r14]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x14001db3c
xor r9d, r9d
mov edx, 0xe12305a2
mov r8d, 0x8d8
lea rcx, [rbp + 0x60]
call fcn.14001d7a0
lea rdx, [0x140062940]
lea rcx, [rbp + 0x60]
call fcn.140028338
nop
mov rax, rbx
mov rcx, qword [rbp + 0x590]
xor rcx, rsp
call fcn.140026390
lea r11, [rsp + 0x6a0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret