Function at 0x14001f6a0
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.140180000
sub rsp, rax
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov rax, qword [0x1402a6808]
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 0x14001f70c
xor r9d, r9d
mov edx, 0x947
mov rcx, qword [rcx + 8]
call fcn.14000fa00
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.14019e1f0
test rax, rax
je 0x14001f748
mov r8d, 0x104
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x30]
call qword [sym.imp.KERNEL32.dll_GetLongPathNameW]
test rbx, rbx
je 0x14001f779
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x14001f779
lea rcx, [rbp - 0x30]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x14001f779
mov r8, r15
mov edx, 0x104
lea rcx, [rbp - 0x30]
call fcn.1401a66e0
lea rcx, [rsp + 0x60]
call fcn.140145a00
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.14001f9b0
test al, al
je 0x14001f95d
mov ecx, 0x1a0
call fcn.14017f5a8
mov qword [rsp + 0x40], rax
test rax, rax
je 0x14001f80b
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.14001c940
mov rdi, rax
jmp 0x14001f80e
mov rdi, r15
mov qword [rsp + 0x40], rdi
mov qword [rdi + 0x10], rdi
test rbx, rbx
je 0x14001f85b
lea rcx, [rdi + 0xe0]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rbx + r8*2], 0
jne 0x14001f830
mov rdx, rbx
call fcn.140006d60
lea rcx, [rbp - 0x30]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x14001f85b
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 0x14001f884
mov rax, qword [rbp + 0x20268]
mov qword [rdi + 0xa4], rax
mov rdx, qword [rsi + 0x20]
cmp qword [rsi + 0x28], rdx
je 0x14001f898
mov qword [rdx], rdi
add qword [rsi + 0x20], 8
jmp 0x14001f8a6
lea r8, [rsp + 0x40]
lea rcx, [rsi + 0x18]
call fcn.14001c1a0
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 0x14001f9a7
mov rbx, qword [rdx + rcx*8]
mov dword [rbx + 0x50], 0xffffffff
cmp byte [rbx + 8], 0
je 0x14001f8ee
mov rcx, qword [rbx]
mov r8d, 0xa
mov rdx, rbx
mov rcx, qword [rcx]
call fcn.140094370
cmp dword [rbx + 0x20], 0
jne 0x14001f935
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x14001f935
mov dword [rbx + 0x20], eax
cmp eax, 0xf
jne 0x14001f917
lea rcx, [rbx + 0x28]
xor r8d, r8d
lea rdx, [0x1401e4278]
call fcn.140006d60
mov byte [rbx + 0x55], 1
cmp byte [rbx + 8], 0
je 0x14001f935
mov rcx, qword [rbx]
mov r8d, 0x201
mov rdx, rbx
mov rcx, qword [rcx]
call fcn.140094370
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.140021080
add qword [rsi + 0x30], 0x1a0
jmp 0x14001f979
test r14b, r14b
je 0x14001f976
mov r9, rdi
xor r8d, r8d
mov edx, 0x949
mov rcx, qword [rsi + 8]
call fcn.14000fa00
mov rdi, r15
lea rcx, [rsp + 0x60]
call fcn.140145a50
mov rax, rdi
mov rcx, qword [rbp + 0x201f0]
xor rcx, rsp
call fcn.14017f700
add rsp, 0x20300
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.14001cf70
nop
int3