Function at 0x10003ead4
Capabilities:
Check if file exists

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], r9
mov qword [rax + 0x18], r8
mov qword [rax + 0x10], rdx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x50
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov r12, r9
mov rsi, r8
mov rbp, rdx
mov r13, rcx
lea rcx, [rax - 0x68]
call fcn.100020360
nop
mov rax, qword [rbp]
or r14, 0xffffffffffffffff
xor ebx, ebx
cmp dword [rax - 0x10], ebx
jne 0x10003eb40
xor eax, eax
mov rcx, r14
lea rdx, [0x10000e4a8]
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
mov rcx, rbp
call fcn.10001ff98
mov rax, qword [rsi]
cmp dword [rax - 0x10], ebx
jne 0x10003eb69
xor eax, eax
mov rcx, r14
lea rdx, [0x10000e4c8]
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
mov rcx, rsi
call fcn.10001ff98
mov rax, qword [r12]
cmp dword [rax - 0x10], ebx
jne 0x10003eb93
xor eax, eax
mov rcx, r14
lea rdx, [0x10000e480]
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
mov rcx, r12
call fcn.10001ff98
lea rax, [rsp + 0x20]
mov r14d, 0x57
cmp rax, rbx
jne 0x10003ebae
mov ecx, r14d
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x10003ebc8
lea r8, [rsp + 0x20]
mov edx, VariantTimeToDosDateTime
mov rcx, r13
call fcn.10003d2d8
cmp eax, ebx
jne 0x10003ec73
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x10003ec47
lea rax, [rsp + 0x28]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x48], rax
mov rdx, rbp
lea rcx, [rsp + 0x28]
call fcn.100020390
mov rdi, rax
lea rdx, [0x10000e358]
lea rcx, [rsp + 0x30]
call fcn.100020428
nop
mov r8, rdi
mov rdx, rax
mov rcx, r13
call fcn.10003dfd0
cmp eax, ebx
jne 0x10003ec73
lea rcx, [rsp + 0x20]
call fcn.10002006c
nop
mov rcx, rbp
call fcn.10002006c
nop
mov rcx, rsi
call fcn.10002006c
nop
mov rcx, r12
call fcn.10002006c
xor eax, eax
jmp 0x10003ee43
lea rcx, [rsp + 0x20]
call fcn.10002006c
nop
mov rcx, rbp
call fcn.10002006c
nop
mov rcx, rsi
call fcn.10002006c
nop
mov rcx, r12
call fcn.10002006c
xor eax, eax
jmp 0x10003ee43
lea rax, [rsp + 0x20]
cmp rax, rbx
jne 0x10003ec88
mov ecx, r14d
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x10003eca2
lea r8, [rsp + 0x20]
mov edx, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
mov rcx, r13
call fcn.10003d2d8
cmp eax, ebx
jne 0x10003ed4d
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x10003ed21
lea rax, [rsp + 0x30]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x28]
mov qword [rsp + 0x40], rax
mov rdx, rsi
lea rcx, [rsp + 0x30]
call fcn.100020390
mov rdi, rax
lea rdx, [0x10000e370]
lea rcx, [rsp + 0x28]
call fcn.100020428
nop
mov r8, rdi
mov rdx, rax
mov rcx, r13
call fcn.10003dfd0
cmp eax, ebx
jne 0x10003ed4d
lea rcx, [rsp + 0x20]
call fcn.10002006c
nop
mov rcx, rbp
call fcn.10002006c
nop
mov rcx, rsi
call fcn.10002006c
nop
mov rcx, r12
call fcn.10002006c
xor eax, eax
jmp 0x10003ee43
lea rcx, [rsp + 0x20]
call fcn.10002006c
nop
mov rcx, rbp
call fcn.10002006c
nop
mov rcx, rsi
call fcn.10002006c
nop
mov rcx, r12
call fcn.10002006c
xor eax, eax
jmp 0x10003ee43
lea rax, [rsp + 0x20]
cmp rax, rbx
jne 0x10003ed62
mov ecx, r14d
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x10003ed7c
lea r8, [rsp + 0x20]
mov edx, 0xd
mov rcx, r13
call fcn.10003d2d8
cmp eax, ebx
jne 0x10003ee17
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x10003edf8
lea rax, [rsp + 0x30]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x28]
mov qword [rsp + 0x40], rax
mov rdx, r12
lea rcx, [rsp + 0x30]
call fcn.100020390
mov rdi, rax
lea rdx, [0x10000be18]
lea rcx, [rsp + 0x28]
call fcn.100020428
nop
mov r8, rdi
mov rdx, rax
mov rcx, r13
call fcn.10003dfd0
cmp eax, ebx
jne 0x10003ee17
lea rcx, [rsp + 0x20]
call fcn.10002006c
nop
mov rcx, rbp
call fcn.10002006c
nop
mov rcx, rsi
call fcn.10002006c
nop
mov rcx, r12
call fcn.10002006c
xor eax, eax
jmp 0x10003ee43
lea rcx, [rsp + 0x20]
call fcn.10002006c
nop
mov rcx, rbp
call fcn.10002006c
nop
mov rcx, rsi
call fcn.10002006c
nop
jmp 0x10003ee39
lea rcx, [rsp + 0x20]
call fcn.10002006c
nop
mov rcx, rbp
call fcn.10002006c
nop
mov rcx, rsi
call fcn.10002006c
nop
mov ebx, 1
mov rcx, r12
call fcn.10002006c
mov eax, ebx
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret