Function at 0x14001f700
Capabilities:
Check if file exists

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x20200]
mov eax, 0x20300
call fcn.140181ce0
sub rsp, rax
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov rax, qword [0x1402a98a8]
xor rax, rsp
mov qword [rbp + 0x201f0], rax
mov r12d, r9d
mov rdi, r8
mov r15, rdx
mov rsi, rcx
mov rbx, qword [rbp + 0x20260]
xor r14b, r14b
test r8, r8
jne 0x14001f76c
xor r9d, r9d
mov edx, 0x947
mov rcx, qword [rcx + 8]
call fcn.14000fa10
mov rdi, rax
mov r14b, 1
xor r9d, r9d
lea r8, [rbp - 0x30]
mov edx, 0x104
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GetFullPathNameW]
mov edx, 0x7e
lea rcx, [rbp - 0x30]
call fcn.14019fed0
test rax, rax
je 0x14001f7a8
mov r8d, 0x104
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x30]
call qword [sym.imp.KERNEL32.dll_GetLongPathNameW]
test rbx, rbx
je 0x14001f7d9
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x14001f7d9
lea rcx, [rbp - 0x30]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x14001f7d9
mov r8, r15
mov edx, 0x104
lea rcx, [rbp - 0x30]
call fcn.1401a83c0
lea rcx, [rsp + 0x60]
call fcn.1401476d0
nop
mov dword [rsp + 0x34], r12d
mov byte [rsp + 0x38], 3
xor r15d, r15d
mov dword [rsp + 0x30], r15d
lea r8, [rbp - 0x30]
test rbx, rbx
cmovne r8, rbx
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x1e0]
mov rdx, rdi
mov rcx, rsi
call fcn.14001fa10
test al, al
je 0x14001f9bd
mov ecx, 0x1a0
call fcn.140181288
mov qword [rsp + 0x40], rax
test rax, rax
je 0x14001f86b
lea rcx, [rbp - 0x30]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 1
mov r9, rdi
mov r8, qword [rsi + 0x30]
mov rdx, rsi
mov rcx, rax
call fcn.14001c980
mov rdi, rax
jmp 0x14001f86e
mov rdi, r15
mov qword [rsp + 0x40], rdi
mov qword [rdi + 0x10], rdi
test rbx, rbx
je 0x14001f8bb
lea rcx, [rdi + 0xe0]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rbx + r8*2], 0
jne 0x14001f890
mov rdx, rbx
call fcn.140006d70
lea rcx, [rbp - 0x30]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x14001f8bb
mov dword [rdi + 0xa0], 2
mov qword [rsp + 0x48], r15
lea rdx, [rsp + 0x48]
lea rcx, [rbp + 0x20268]
call qword [sym.imp.KERNEL32.dll_CompareFileTime]
test eax, eax
je 0x14001f8e4
mov rax, qword [rbp + 0x20268]
mov qword [rdi + 0xa4], rax
mov rdx, qword [rsi + 0x20]
cmp qword [rsi + 0x28], rdx
je 0x14001f8f8
mov qword [rdx], rdi
add qword [rsi + 0x20], 8
jmp 0x14001f906
lea r8, [rsp + 0x40]
lea rcx, [rsi + 0x18]
call fcn.14001c1e0
inc qword [rsi + 0x38]
mov rcx, qword [rsi + 0x38]
dec rcx
mov rdx, qword [rsi + 0x18]
mov rax, qword [rsi + 0x20]
sub rax, rdx
sar rax, 3
cmp rax, rcx
jbe 0x14001fa07
mov rbx, qword [rdx + rcx*8]
mov dword [rbx + 0x50], 0xffffffff
cmp byte [rbx + 8], 0
je 0x14001f94e
mov rcx, qword [rbx]
mov r8d, 0xa
mov rdx, rbx
mov rcx, qword [rcx]
call fcn.1400956b0
cmp dword [rbx + 0x20], 0
jne 0x14001f995
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x14001f995
mov dword [rbx + 0x20], eax
cmp eax, 0xf
jne 0x14001f977
lea rcx, [rbx + 0x28]
xor r8d, r8d
lea rdx, [0x1401e6278]
call fcn.140006d70
mov byte [rbx + 0x55], 1
cmp byte [rbx + 8], 0
je 0x14001f995
mov rcx, qword [rbx]
mov r8d, 0x201
mov rdx, rbx
mov rcx, qword [rcx]
call fcn.1400956b0
movzx eax, byte [rsp + 0x38]
mov byte [rsp + 0x20], al
mov r9d, dword [rsp + 0x34]
lea r8, [rsp + 0x60]
mov rdx, rbx
mov rcx, rsi
call fcn.1400210e0
add qword [rsi + 0x30], 0x1a0
jmp 0x14001f9d9
test r14b, r14b
je 0x14001f9d6
mov r9, rdi
xor r8d, r8d
mov edx, 0x949
mov rcx, qword [rsi + 8]
call fcn.14000fa10
mov rdi, r15
lea rcx, [rsp + 0x60]
call fcn.140147720
mov rax, rdi
mov rcx, qword [rbp + 0x201f0]
xor rcx, rsp
call fcn.1401813e0
add rsp, 0x20300
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.14001cfb0
nop
int3