Function at 0x1400ff480
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x1e8
movaps xmmword [rsp + 0x1d0], xmm6
mov qword [rsp + 0x50], rcx
mov rax, qword [0x140327038]
xor rax, rsp
mov qword [rsp + 0x1c8], rax
cmp r8, 0x38
jne 0x1400ffa12
cmp qword [rsp + 0x250], 1
jne 0x1400ffa12
cmp qword [rsp + 0x260], 1
jne 0x1400ffa12
mov r14, rdx
mov eax, dword [rdx + 0xc]
test eax, eax
je 0x1400ffa12
mov ecx, dword [r14 + 8]
dec ecx
cmp ecx, eax
jae 0x1400ffa12
cmp dword [r14 + 0x18], eax
jae 0x1400ffa12
cmp dword [r14 + 0x1c], eax
ja 0x1400ffa12
mov rdi, r9
mov ecx, 8
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x1400ffbcc
mov rbx, qword [0x10]
test rbx, rbx
je 0x1400ffda1
mov ecx, 8
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
xorps xmm0, xmm0
lea r8, [rsp + 0xa0]
movaps xmmword [r8], xmm0
mov qword [r8 + 0x10], 0
mov rcx, qword [rbx + 0x20]
mov rdx, rdi
call fcn.140116db0
test eax, eax
jne 0x1400ffa2e
movaps xmm6, xmmword [0x1402e6d80]
movaps xmmword [rsp + 0x1b0], xmm6
movaps xmmword [rsp + 0x1a0], xmm6
mov rcx, qword [r14 + 0x21]
mov rax, qword [r14 + 0x29]
mov rdx, rcx
or rdx, rax
je 0x1400ffa2e
mov rdx, qword [rsp + 0x258]
movabs r13, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x1a8], rcx
mov qword [rsp + 0x1b0], rax
mov byte [rsp + 0x1a0], 1
lea rdi, [rsp + 0x98]
mov qword [rdi], r13
lea r15, [rsp + 0x88]
mov dword [r15], 0
mov qword [r15 + 8], 0
lea r12, [rsp + 0x78]
mov rcx, r12
call fcn.1400b76e2
mov rcx, rdi
mov rdx, r12
mov r8, r15
call fcn.1400bc290
mov qword [rsp + 0x190], r13
movaps xmmword [rsp + 0x180], xmm6
movaps xmmword [rsp + 0x170], xmm6
cmp byte [rsp + 0x1a0], 0
je 0x1400ffbc4
lea rsi, [rsp + 0x1a8]
mov edi, dword [r14 + 0xc]
xor eax, eax
mov qword [rsp + 0x70], rax
mov r15, qword [rsp + 0x98]
mov qword [rsp + 0x98], rax
test r15, r15
je 0x1400ff670
cmp r15, 0xffffffffffffffff
je 0x1400ffbdc
call fcn.1400a6030
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov qword [rsp + 0x70], r15
call fcn.1400a6030
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov qword [rsp + 0x20], rsi
lea r15, [rsp + 0x170]
lea rdx, [rsp + 0x70]
mov rcx, r15
mov r8d, 2
mov r9, rdi
call fcn.1400bd430
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x160], rax
movaps xmmword [rsp + 0x150], xmm6
movaps xmmword [rsp + 0x140], xmm6
xor eax, eax
mov qword [rsp + 0x118], rax
mov rsi, qword [r15]
mov qword [r15], rax
lea r12, [rsi + 1]
cmp r12, 2
jb 0x1400ff6dc
call fcn.1400a6030
mov rax, qword [rsp + 0x118]
cmp rax, rsi
je 0x1400ff719
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rax, qword [rsp + 0x118]
inc rax
cmp rax, 2
jae 0x1400ffd68
cmp r12, 2
jb 0x1400ff711
mov qword [rsp + 0x118], rsi
call fcn.1400a6030
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
movups xmm0, xmmword [rsp + 0x178]
movups xmm1, xmmword [rsp + 0x188]
lea rdx, [rsp + 0x118]
movups xmmword [rdx + 0x18], xmm1
movups xmmword [rdx + 8], xmm0
lea rdi, [rsp + 0x140]
mov rcx, rdi
call fcn.1400bc340
mov rsi, qword [rdi]
lea rax, [rsi + 1]
cmp rax, 1
jbe 0x1400ffa4a
mov ecx, 0xf8
call fcn.14013a6b4
mov rdi, rax
mov r12, qword [r14 + 0x10]
mov qword [rsp + 0x140], 0
call fcn.1400a6030
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
lea r15, [rsp + 0xf0]
mov qword [r15], rsi
call fcn.1400a6030
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
movups xmm0, xmmword [rsp + 0x148]
movups xmm1, xmmword [rsp + 0x158]
movups xmmword [r15 + 0x18], xmm1
movups xmmword [r15 + 8], xmm0
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r14
lea r8, [rsp + 0xa0]
mov rcx, rdi
mov rdx, rbx
mov r9, r15
call fcn.140100050
test rdi, rdi
je 0x1400ff7f0
mov eax, 1
lock xadd dword [rdi + 8], eax
cmp eax, 0x7fffffff
je 0x1400ffbc9
lea rbx, [rdi + 0x48]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x1400ffa3c
mov eax, dword [r14 + 0x18]
mov dword [rdi + 0xf0], eax
mov eax, dword [r14 + 0x1c]
mov dword [rdi + 0xf4], eax
mov al, byte [r14 + 0x20]
and al, 1
mov byte [rdi + 0xea], al
mov rcx, rdi
call fcn.1400ffe80
test al, al
je 0x1400ffa7f
mov eax, dword [r14 + 0xc]
cmp qword [rdi + 0xb8], rax
jb 0x1400ffa7f
mov sil, byte [rdi + 0xea]
mov bpl, byte [rdi + 0xeb]
mov r12d, dword [rdi + 0xf4]
lea r15, [rsp + 0xc0]
movaps xmmword [r15 + 0x10], xmm6
movaps xmmword [r15], xmm6
mov rax, qword [rdi + 0x20]
mov rcx, qword [rax + 0x20]
mov r14, rdi
add r14, 0x28
mov rdx, r14
mov r8, r15
call fcn.140116f90
test eax, eax
sete cl
cmp byte [r15 + 3], 0
setne dl
and dl, cl
mov byte [rdi + 0xeb], dl
test eax, eax
jne 0x1400ffa20
cmp byte [rsp + 0xc1], 0
je 0x1400ffa20
cmp byte [rsp + 0xc0], 0
jne 0x1400ffc55
mov al, byte [rdi + 0xea]
cmp al, sil
jne 0x1400ff8e0
cmp dword [rdi + 0xf4], r12d
jne 0x1400ff8e0
cmp bpl, byte [rdi + 0xeb]
je 0x1400ff97a
mov dword [rsp + 0xe8], 0
test al, al
jne 0x1400ffa5b
mov eax, 0x10
xor ecx, ecx
cmp byte [rdi + 0xed], 0
jne 0x1400ff931
mov rdx, qword [rdi + 0x88]
inc rdx
cmp rdx, 2
jb 0x1400ff931
cmp dword [rdi + 0xf4], 0
je 0x1400ff931
mov dword [rsp + 0xe8], 2
mov eax, 0x12
mov ecx, 2
mov edx, 0x16
cmp byte [rdi + 0xeb], 0
je 0x1400ff948
mov dword [rsp + 0xe8], eax
mov ecx, eax
mov dword [rsp + 0xec], edx
cmp byte [rdi + 0x78], 0
jne 0x1400ffb4b
mov rax, qword [rsp + 0xe8]
mov qword [rdi + 0x7c], rax
mov byte [rdi + 0x78], 1
mov rsi, qword [rdi + 0x60]
mov r15, qword [rdi + 0x68]
cmp rsi, r15
jne 0x1400ffb6f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov rax, qword [rsp + 0x50]
mov qword [rax], rdi
mov rax, qword [rsp + 0x140]
inc rax
cmp rax, 2
jae 0x1400ffb1e
mov rax, qword [rsp + 0x170]
inc rax
cmp rax, 2
jae 0x1400ffaed
mov rdi, qword [rsp + 0x98]
lea rax, [rdi + 1]
cmp rax, 2
jae 0x1400ffac4
mov rdi, qword [rsp + 0xb0]
test rdi, rdi
je 0x1400ff9e1
lock dec dword [rdi]
je 0x1400ffa6a
mov rcx, qword [rsp + 0x1c8]
xor rcx, rsp
call fcn.14013d520
mov rax, qword [rsp + 0x50]
movaps xmm6, xmmword [rsp + 0x1d0]
add rsp, 0x1e8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rax, qword [rsp + 0x50]
mov qword [rax], 0
jmp 0x1400ff9e1
mov byte [rdi + 0xea], 1
mov al, 1
jmp 0x1400ff8c5
mov rax, qword [rsp + 0x50]
mov qword [rax], 0
jmp 0x1400ff9cb
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
jmp 0x1400ff805
mov rax, qword [rsp + 0x50]
mov qword [rax], 0
jmp 0x1400ff98b
mov eax, 4
mov edx, 4
jmp 0x1400ff93f
mov rcx, rdi
call fcn.14009bd00
mov rcx, rdi
call fcn.14013a6ac
jmp 0x1400ff9e1
mov rax, qword [rsp + 0x50]
mov qword [rax], 0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
test rdi, rdi
je 0x1400ff98b
lock dec dword [rdi + 8]
jne 0x1400ff98b
mov rax, qword [rdi]
mov rax, qword [rax + 0xe0]
mov rcx, rdi
mov edx, 1
call qword [case.0x14017aab5.0]
jmp 0x1400ff98b
call fcn.1400a6030
mov rcx, qword [0x14033c3e8]
test rcx, rcx
je 0x1400ffbb3
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, rdi
call qword [case.0x14017aab5.0]
jmp 0x1400ff9cb
call fcn.1400a6030
mov rdi, qword [rsp + 0x170]
mov rcx, qword [0x14033c3e8]
test rcx, rcx
je 0x1400ffba2
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, rdi
call qword [case.0x14017aab5.0]
jmp 0x1400ff9b5
call fcn.1400a6030
mov rdi, qword [rsp + 0x140]
mov rcx, qword [0x14033c3e8]
test rcx, rcx
je 0x1400ffb94
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, rdi
call qword [case.0x14017aab5.0]
jmp 0x1400ff9a0
cmp ecx, dword [rdi + 0x7c]
je 0x1400ffb61
mov rax, qword [rsp + 0xe8]
mov qword [rdi + 0x7c], rax
jmp 0x1400ff969
cmp edx, dword [rdi + 0x80]
je 0x1400ff97a
jmp 0x1400ffb50
lea r14, [rsp + 0xe8]
mov rcx, qword [rsi]
mov rdx, qword [rdi + 0x50]
mov r8, r14
call fcn.1400ab860
add rsi, 0x28
cmp rsi, r15
jne 0x1400ffb77
jmp 0x1400ff97a
call fcn.1400515d0
mov rcx, qword [0x14033c3e8]
jmp 0x1400ffb37
call fcn.1400515d0
mov rcx, qword [0x14033c3e8]
jmp 0x1400ffb0a
call fcn.1400515d0
mov rcx, qword [0x14033c3e8]
jmp 0x1400ffad9
call fcn.1401a3145
int3
mov ecx, 8
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
jmp 0x1400ff520
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
jmp 0x1400ff668
lea rcx, [rsp + 0xe8]
call fcn.1400c65b0
call sub.KERNEL32.dll_GetCurrentThreadId
lea rcx, [rsp + 0xe8]
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x30], eax
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov dword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
lea rdx, [0x140329800]
lea r8, str.DataPipeProducerDispatcher_received_DATA_WAS_READ
mov cl, 0x58
mov qword [rsp + 0x60], rdx
mov qword [rsp + 0x68], r8
xor r9d, r9d
call fcn.140189ab0
jmp 0x1400ffce2
mov byte [rdi + 0xea], 1
jmp 0x1400ffc90
cmp byte [rdi + 0xe8], 0
jne 0x1400ff8bf
lea rax, [rsp + 0xb8]
mov qword [rax], 0
mov rax, qword [rdi + 0x20]
mov rcx, qword [rax + 0x20]
mov rdx, r14
lea r8, [rsp + 0xb8]
xor r9d, r9d
call fcn.1400c30e0
test eax, eax
jne 0x1400ffc4c
mov r15, qword [rsp + 0xb8]
test r15, r15
je 0x1400ff8bf
mov rax, qword [r15 + 0x70]
cmp qword [rax + 0x58], 8
jb 0x1400ffe0e
mov rax, qword [rax + 0x50]
mov qword [rsp + 0x58], rax
cmp dword [rax], 1
jne 0x1400ffe0e
mov r15b, byte [0x140329800]
test r15b, 0x19
jne 0x1400ffbe9
xor eax, eax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], r13
mov rax, r13
mov ecx, dword [rdi + 0xf4]
mov rdx, qword [rsp + 0x58]
add ecx, dword [rdx + 4]
mov edx, 0xaaaaaaaa
cmovb ecx, edx
jb 0x1400ffd32
cmp ecx, dword [rdi + 0x1c]
ja 0x1400ffd32
mov dword [rdi + 0xf4], ecx
mov cl, 1
mov dword [rsp + 0x58], ecx
test r15b, 0x19
jne 0x1400ffd3c
mov r15, qword [rsp + 0xb8]
cmp byte [rsp + 0x58], 0
je 0x1400ffdec
test r15, r15
jne 0x1400ffc71
jmp 0x1400ff8bf
mov dword [rsp + 0x58], 0
jmp 0x1400ffd0b
mov rcx, qword [rsp + 0x60]
cmp byte [rcx], 0
je 0x1400ffd11
mov rcx, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x68]
mov r8, rax
call fcn.14018add0
jmp 0x1400ffd11
call fcn.1400515d0
mov rcx, qword [0x14033c3e8]
jmp 0x1400ffd81
call fcn.1400a6030
mov r15, qword [rsp + 0x118]
mov rcx, qword [0x14033c3e8]
test rcx, rcx
je 0x1400ffd5a
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, r15
call qword [case.0x14017aab5.0]
mov qword [rsp + 0x118], 0
jmp 0x1400ff6fe
mov ecx, 0x220
call fcn.14013a6b4
mov rbx, rax
mov rcx, rax
call fcn.1400ef3f0
mov r15, qword [0x10]
mov qword [0x10], rbx
test r15, r15
je 0x1400ff531
mov rcx, r15
call fcn.1401b3090
mov rcx, r15
call fcn.14013a6ac
mov rbx, qword [0x10]
jmp 0x1400ff531
mov qword [rsp + 0xb8], 0
test r15, r15
je 0x1400ff8bf
jmp 0x1400ffe21
mov qword [r15 + 0x60], rcx
call fcn.14013a6ac
jmp 0x1400ffe56
mov byte [rdi + 0xea], 1
mov qword [rsp + 0xb8], 0
lea rax, fcn.140098d30
mov qword [r15], rax
mov rcx, qword [r15 + 0x70]
mov qword [r15 + 0x70], 0
test rcx, rcx
je 0x1400ffe4d
mov rax, qword [rcx]
mov rax, qword [rax]
mov edx, 1
call qword [case.0x14017aab5.0]
mov rcx, qword [r15 + 0x58]
test rcx, rcx
jne 0x1400ffe03
mov rcx, qword [r15 + 0x40]
test rcx, rcx
jne 0x1400ffe6c
mov rcx, r15
call fcn.14013a6ac
jmp 0x1400ff8bf
mov qword [r15 + 0x48], rcx
call fcn.14013a6ac
jmp 0x1400ffe5f