Function at 0x1400e8660
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbp
push rdi
lea rbp, [rsp - 0x608]
sub rsp, 0x708
mov rax, qword [0x14027aef8]
xor rax, rsp
mov qword [rbp + 0x5f0], rax
xor edx, edx
mov qword [rsp + 0x728], rsi
mov r8d, 0x104
lea rcx, [rbp + 0x3d0]
call fcn.140102230
xor edx, edx
lea rcx, [rbp + 0x1b0]
mov r8d, 0x104
call fcn.140102230
xor edx, edx
lea rcx, [rbp + 0x4e0]
mov r8d, 0x104
call fcn.140102230
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x104
call fcn.140102230
lea rcx, [0x14017e104]
call fcn.1400e7ce0
lea rcx, [0x14017e11c]
mov rsi, rax
call fcn.1400e7ce0
mov rdi, rax
test rsi, rsi
je 0x1400e89a7
test rax, rax
je 0x1400e899f
mov rcx, rsi
call fcn.1400e7790
test eax, eax
jne 0x1400e899f
lea r8, [rsp + 0x30]
mov qword [rsp + 0x720], rbx
lea rdx, str..dv
mov rcx, rdi
call fcn.1400e73b0
mov rbx, rax
test rax, rax
je 0x1400e8997
mov qword [rsp + 0x730], r14
lea r14, [0x14017d5dc]
mov qword [rsp + 0x700], r15
lea r15, [0x140231d08]
nop
lea rax, [rsp + 0x30]
mov r9, rdi
lea r8, str._s_s
mov qword [rsp + 0x20], rax
lea rdx, [rbp + 0x3d0]
mov ecx, 0x104
call fcn.1400e79e0
lea rax, [rsp + 0x30]
mov r9, rsi
mov qword [rsp + 0x28], rax
lea r8, [0x140231d18]
lea rdx, [rbp + 0x1b0]
mov qword [rsp + 0x20], r15
mov ecx, 0x104
call fcn.1400e79e0
lea rax, [rsp + 0x30]
mov r9, rsi
lea r8, str._s_s
mov qword [rsp + 0x20], rax
lea rdx, [rbp + 0x4e0]
mov ecx, 0x104
call fcn.1400e79e0
lea rcx, [rbp + 0x1b0]
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x1400e8820
bt eax, 0xa
jae 0x1400e8820
lea rcx, [rbp + 0x1b0]
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x1400e8810
test al, 0x10
je 0x1400e8810
lea rcx, [rbp + 0x1b0]
call fcn.14012db94
jmp 0x1400e881c
lea rcx, [rbp + 0x1b0]
call fcn.14011295c
test eax, eax
jne 0x1400e883b
lea rdx, [rbp + 0x40]
lea rcx, [rbp + 0x1b0]
call fcn.14012d64c
lea rcx, [rbp + 0x1b0]
test eax, eax
je 0x1400e8842
lea rcx, [rbp + 0x3d0]
mov r8b, 1
lea rdx, [rbp + 0x4e0]
call fcn.1400e6a20
xor edx, edx
lea rcx, [rbp + 0x70]
mov r8d, 0x140
call fcn.140102230
xor edx, edx
lea rcx, [rbp + 0x2c0]
mov r8d, 0x104
call fcn.140102230
nop word [rax + rax]
mov rcx, qword [rbx]
lea rdx, [rbp + 0x70]
call qword [sym.imp.KERNEL32.DLL_FindNextFileA]
cmp eax, 1
jne 0x1400e8943
lea rax, [rbp + 0x9c]
mov ecx, 0x104
mov qword [rsp + 0x28], rax
lea r9, [rbx + 8]
lea r8, [0x14017d5e0]
mov qword [rsp + 0x20], r14
lea rdx, [rbp + 0x2c0]
call fcn.1400e79e0
lea rcx, [rbp + 0x2c0]
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x1400e8934
bt eax, 0xa
jae 0x1400e8934
lea rcx, [rbp + 0x2c0]
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x1400e8923
bt eax, 0xa
jae 0x1400e8923
lea rcx, [rbp + 0x2c0]
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x1400e8917
test al, 0x10
je 0x1400e8917
lea rcx, [rbp + 0x2c0]
call fcn.14012db94
jmp 0x1400e8923
lea rcx, [rbp + 0x2c0]
call fcn.14011295c
xor edx, edx
lea rcx, [rbp + 0x70]
mov r8d, 0x140
call fcn.140102230
cmp byte [rbp + 0x9c], 0
je 0x1400e8880
jmp 0x1400e8947
test eax, eax
je 0x1400e8969
mov r9, 0xffffffffffffffff
lea r8, [rbp + 0x9c]
mov edx, 0x104
lea rcx, [rsp + 0x30]
call fcn.1401100d8
jmp 0x1400e8760
mov rcx, qword [rbx]
mov r15, qword [rsp + 0x700]
mov r14, qword [rsp + 0x730]
cmp rcx, 0xffffffffffffffff
je 0x1400e898f
call qword [sym.imp.KERNEL32.DLL_FindClose]
mov qword [rbx], 0xffffffffffffffff
mov rcx, rbx
call fcn.14010fff4
mov rbx, qword [rsp + 0x720]
mov rcx, rsi
call fcn.14010fff4
mov rsi, qword [rsp + 0x728]
test rdi, rdi
je 0x1400e89bc
mov rcx, rdi
call fcn.14010fff4
mov rcx, qword [rbp + 0x5f0]
xor rcx, rsp
call fcn.140100920
add rsp, 0x708
pop rdi
pop rbp
ret