Function at 0x1400026ec
Capabilities:
Check if file exists

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x518
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x490], 0xfffffffffffffffe
mov rsi, rcx
push 2
pop r15
test r8, r8
je 0x140002864
js 0x140002a2d
mov rdi, r8
mov rbx, rdx
mov al, byte [0x140265cd8]
xor ecx, ecx
mov rdx, r8
call fcn.1400c47a0
test rax, rax
je 0x140002a32
mov qword [rbp + 0x480], rax
mov rcx, rax
mov rdx, rbx
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov al, byte [0x140265cd8]
xor ecx, ecx
mov rdx, rdi
call fcn.1400c47a0
test rax, rax
je 0x140002a3d
mov r14, rax
mov rcx, rax
mov rdx, rbx
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
lea rcx, [rbp + 0x1f0]
mov qword [rcx], rdi
mov qword [rcx + 8], r14
mov qword [rcx + 0x10], rdi
mov byte [rcx + 0x18], 0
lea rdx, [0x140211870]
push 1
pop rbx
mov r8, rbx
call case.0x1400d113b.1223
mov rax, qword [rbp + 0x1f0]
mov qword [rbp + 0x470], rax
mov rdx, qword [rbp + 0x1f8]
mov r8, qword [rbp + 0x200]
mov byte [rbp + 0x48e], 1
lea rcx, [rbp - 0x60]
mov qword [rbp + 0x478], rdx
call fcn.1400be1d0
mov rax, qword [rbp - 0x60]
mov r12, qword [rbp - 0x58]
movabs r14, 0x8000000000000000
cmp rax, r14
je 0x140002834
mov rcx, qword [rbp - 0x50]
lea rdx, [rbp + 0x1f0]
mov qword [rdx], rax
mov qword [rdx + 8], r12
mov qword [rdx + 0x10], rcx
mov byte [rbp + 0x48e], 1
lea rcx, [rbp + 0x440]
call fcn.1400c00c0
mov r13, qword [rbp + 0x440]
mov r12, qword [rbp + 0x448]
cmp r13, r14
jne 0x140002873
cmp qword [rbp + 0x470], 0
mov rdi, qword [rbp + 0x480]
je 0x140002854
push 1
pop rdx
mov rcx, qword [rbp + 0x478]
call fcn.140017ad0
push 1
pop rdx
mov rcx, rdi
call fcn.140017ad0
jmp 0x140002946
movabs r12, 0x300000002
jmp 0x140002946
lea r14, [rbp + 0x1f0]
mov r8d, 0x250
mov rcx, r14
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov rcx, r12
mov rdx, r14
call qword [sym.imp.kernel32.dll_FindFirstFileW]
cmp rax, 0xffffffffffffffff
je 0x140002961
mov qword [rbp + 0x468], rax
mov al, byte [0x140265cd8]
push 0x30
pop rdx
xor ecx, ecx
call fcn.1400c47a0
test rax, rax
je 0x140002a51
mov r14, rax
mov qword [rax], rbx
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
mov rax, qword [rbp + 0x480]
mov qword [r14 + 0x18], rax
mov qword [r14 + 0x20], rdi
mov byte [r14 + 0x28], 0
lea rcx, [rbp - 0x60]
lea rdx, [rbp + 0x1f0]
mov r8d, 0x250
call sub.VCRUNTIME140.dll_memcpy
test r13, r13
je 0x140002908
push 2
pop rdx
mov rcx, r12
call fcn.140017ad0
push 1
pop r15
cmp qword [rbp + 0x470], 0
je 0x140002925
push 1
pop rdx
mov rcx, qword [rbp + 0x478]
call fcn.140017ad0
mov rax, qword [rbp + 0x468]
mov qword [rsi + 8], rax
lea rcx, [rsi + 0x14]
lea rdx, [rbp - 0x60]
mov r8d, 0x250
call sub.VCRUNTIME140.dll_memcpy
mov r12, r14
mov qword [rsi], r12
mov dword [rsi + 0x10], r15d
add rsp, 0x518
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
call qword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 2
jne 0x1400029e5
mov al, byte [0x140265cd8]
push 0x30
pop rdx
xor ecx, ecx
call fcn.1400c47a0
test rax, rax
je 0x140002a6c
mov r14, rax
mov qword [rax], rbx
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
mov rax, qword [rbp + 0x480]
mov qword [r14 + 0x18], rax
mov qword [r14 + 0x20], rdi
mov byte [r14 + 0x28], 0
test r13, r13
je 0x1400029b7
push 2
pop rdx
mov rcx, r12
call fcn.140017ad0
push 0xffffffffffffffff
pop rax
xor r15d, r15d
cmp qword [rbp + 0x470], 0
je 0x14000292c
push 1
pop rdx
mov rcx, qword [rbp + 0x478]
mov rdi, rax
call fcn.140017ad0
mov rax, rdi
jmp 0x14000292c
mov r14d, eax
test r13, r13
je 0x1400029f8
push 2
pop rdx
mov rcx, r12
call fcn.140017ad0
shl r14, 0x20
cmp qword [rbp + 0x470], 0
je 0x140002a15
push 1
pop rdx
mov rcx, qword [rbp + 0x478]
call fcn.140017ad0
or r14, 2
push 1
pop rdx
mov rcx, qword [rbp + 0x480]
call fcn.140017ad0
jmp 0x140002943
call fcn.140017c00
push 1
pop rcx
mov rdx, rdi
call fcn.1401bdb00
mov byte [rbp + 0x48f], 1
push 1
pop rcx
mov rdx, rdi
call fcn.1401bdb00
jmp 0x140002a85
mov qword [rbp + 0x458], r13
mov qword [rbp + 0x460], r12
push 8
pop rcx
push 0x30
pop rdx
call fcn.1401bdb20
jmp 0x140002a85
mov qword [rbp + 0x458], r13
mov qword [rbp + 0x460], r12
push 8
pop rcx
push 0x30
pop rdx
call fcn.1401bdb20
ud2