Function at 0x10003f734
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.10001e06c
nop
mov rax, qword [rbp]
or r14, 0xffffffffffffffff
xor ebx, ebx
cmp dword [rax - 0x10], ebx
jne 0x10003f7a0
xor eax, eax
mov rcx, r14
lea rdx, [0x10000e0e8]
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
mov rcx, rbp
call fcn.10001e7fc
mov rax, qword [rsi]
cmp dword [rax - 0x10], ebx
jne 0x10003f7c9
xor eax, eax
mov rcx, r14
lea rdx, [0x10000e108]
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
mov rcx, rsi
call fcn.10001e7fc
mov rax, qword [r12]
cmp dword [rax - 0x10], ebx
jne 0x10003f7f3
xor eax, eax
mov rcx, r14
lea rdx, [0x10000e0c0]
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
mov rcx, r12
call fcn.10001e7fc
lea rax, [rsp + 0x20]
mov r14d, 0x57
cmp rax, rbx
jne 0x10003f80e
mov ecx, r14d
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x10003f828
lea r8, [rsp + 0x20]
mov edx, VariantTimeToDosDateTime
mov rcx, r13
call fcn.10003e3c8
cmp eax, ebx
jne 0x10003f8d3
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x10003f8a7
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.10001e09c
mov rdi, rax
lea rdx, [0x10000dfb0]
lea rcx, [rsp + 0x30]
call fcn.10001e134
nop
mov r8, rdi
mov rdx, rax
mov rcx, r13
call fcn.10003ee78
cmp eax, ebx
jne 0x10003f8d3
lea rcx, [rsp + 0x20]
call fcn.10001f3ec
nop
mov rcx, rbp
call fcn.10001f3ec
nop
mov rcx, rsi
call fcn.10001f3ec
nop
mov rcx, r12
call fcn.10001f3ec
xor eax, eax
jmp 0x10003faa3
lea rcx, [rsp + 0x20]
call fcn.10001f3ec
nop
mov rcx, rbp
call fcn.10001f3ec
nop
mov rcx, rsi
call fcn.10001f3ec
nop
mov rcx, r12
call fcn.10001f3ec
xor eax, eax
jmp 0x10003faa3
lea rax, [rsp + 0x20]
cmp rax, rbx
jne 0x10003f8e8
mov ecx, r14d
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x10003f902
lea r8, [rsp + 0x20]
mov edx, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
mov rcx, r13
call fcn.10003e3c8
cmp eax, ebx
jne 0x10003f9ad
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x10003f981
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.10001e09c
mov rdi, rax
lea rdx, [0x10000dfc8]
lea rcx, [rsp + 0x28]
call fcn.10001e134
nop
mov r8, rdi
mov rdx, rax
mov rcx, r13
call fcn.10003ee78
cmp eax, ebx
jne 0x10003f9ad
lea rcx, [rsp + 0x20]
call fcn.10001f3ec
nop
mov rcx, rbp
call fcn.10001f3ec
nop
mov rcx, rsi
call fcn.10001f3ec
nop
mov rcx, r12
call fcn.10001f3ec
xor eax, eax
jmp 0x10003faa3
lea rcx, [rsp + 0x20]
call fcn.10001f3ec
nop
mov rcx, rbp
call fcn.10001f3ec
nop
mov rcx, rsi
call fcn.10001f3ec
nop
mov rcx, r12
call fcn.10001f3ec
xor eax, eax
jmp 0x10003faa3
lea rax, [rsp + 0x20]
cmp rax, rbx
jne 0x10003f9c2
mov ecx, r14d
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x10003f9dc
lea r8, [rsp + 0x20]
mov edx, 0xd
mov rcx, r13
call fcn.10003e3c8
cmp eax, ebx
jne 0x10003fa77
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x10003fa58
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.10001e09c
mov rdi, rax
lea rdx, [0x10000b6a8]
lea rcx, [rsp + 0x28]
call fcn.10001e134
nop
mov r8, rdi
mov rdx, rax
mov rcx, r13
call fcn.10003ee78
cmp eax, ebx
jne 0x10003fa77
lea rcx, [rsp + 0x20]
call fcn.10001f3ec
nop
mov rcx, rbp
call fcn.10001f3ec
nop
mov rcx, rsi
call fcn.10001f3ec
nop
mov rcx, r12
call fcn.10001f3ec
xor eax, eax
jmp 0x10003faa3
lea rcx, [rsp + 0x20]
call fcn.10001f3ec
nop
mov rcx, rbp
call fcn.10001f3ec
nop
mov rcx, rsi
call fcn.10001f3ec
nop
jmp 0x10003fa99
lea rcx, [rsp + 0x20]
call fcn.10001f3ec
nop
mov rcx, rbp
call fcn.10001f3ec
nop
mov rcx, rsi
call fcn.10001f3ec
nop
mov ebx, 1
mov rcx, r12
call fcn.10001f3ec
mov eax, ebx
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret