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

Disassembly:
push rbp
push rdi
lea rbp, [rsp - 0x608]
sub rsp, 0x708
mov rax, qword [0x1402854d8]
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.140107f60
xor edx, edx
lea rcx, [rbp + 0x1b0]
mov r8d, 0x104
call fcn.140107f60
xor edx, edx
lea rcx, [rbp + 0x4e0]
mov r8d, 0x104
call fcn.140107f60
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x104
call fcn.140107f60
lea rcx, [0x140185454]
call fcn.1400eeea0
lea rcx, [0x14018546c]
mov rsi, rax
call fcn.1400eeea0
mov rdi, rax
test rsi, rsi
je 0x1400efb57
test rax, rax
je 0x1400efb4f
mov rcx, rsi
call fcn.1400ee950
test eax, eax
jne 0x1400efb4f
lea r8, [rsp + 0x30]
mov qword [rsp + 0x720], rbx
lea rdx, str..dv
mov rcx, rdi
call fcn.1400ee570
mov rbx, rax
test rax, rax
je 0x1400efb47
mov qword [rsp + 0x730], r14
lea r14, [0x140183f5c]
mov qword [rsp + 0x700], r15
lea r15, [0x140239bb8]
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.1400eeba0
lea rax, [rsp + 0x30]
mov r9, rsi
mov qword [rsp + 0x28], rax
lea r8, [0x140239bc8]
lea rdx, [rbp + 0x1b0]
mov qword [rsp + 0x20], r15
mov ecx, 0x104
call fcn.1400eeba0
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.1400eeba0
lea rcx, [rbp + 0x1b0]
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x1400ef9d0
bt eax, 0xa
jae 0x1400ef9d0
lea rcx, [rbp + 0x1b0]
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x1400ef9c0
test al, 0x10
je 0x1400ef9c0
lea rcx, [rbp + 0x1b0]
call fcn.1401338c4
jmp 0x1400ef9cc
lea rcx, [rbp + 0x1b0]
call fcn.14011868c
test eax, eax
jne 0x1400ef9eb
lea rdx, [rbp + 0x40]
lea rcx, [rbp + 0x1b0]
call fcn.14013337c
lea rcx, [rbp + 0x1b0]
test eax, eax
je 0x1400ef9f2
lea rcx, [rbp + 0x3d0]
mov r8b, 1
lea rdx, [rbp + 0x4e0]
call fcn.1400edbe0
xor edx, edx
lea rcx, [rbp + 0x70]
mov r8d, 0x140
call fcn.140107f60
xor edx, edx
lea rcx, [rbp + 0x2c0]
mov r8d, 0x104
call fcn.140107f60
nop word [rax + rax]
mov rcx, qword [rbx]
lea rdx, [rbp + 0x70]
call qword [sym.imp.KERNEL32.DLL_FindNextFileA]
cmp eax, 1
jne 0x1400efaf3
lea rax, [rbp + 0x9c]
mov ecx, 0x104
mov qword [rsp + 0x28], rax
lea r9, [rbx + 8]
lea r8, [0x140183f60]
mov qword [rsp + 0x20], r14
lea rdx, [rbp + 0x2c0]
call fcn.1400eeba0
lea rcx, [rbp + 0x2c0]
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x1400efae4
bt eax, 0xa
jae 0x1400efae4
lea rcx, [rbp + 0x2c0]
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x1400efad3
bt eax, 0xa
jae 0x1400efad3
lea rcx, [rbp + 0x2c0]
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x1400efac7
test al, 0x10
je 0x1400efac7
lea rcx, [rbp + 0x2c0]
call fcn.1401338c4
jmp 0x1400efad3
lea rcx, [rbp + 0x2c0]
call fcn.14011868c
xor edx, edx
lea rcx, [rbp + 0x70]
mov r8d, 0x140
call fcn.140107f60
cmp byte [rbp + 0x9c], 0
je 0x1400efa30
jmp 0x1400efaf7
test eax, eax
je 0x1400efb19
mov r9, 0xffffffffffffffff
lea r8, [rbp + 0x9c]
mov edx, 0x104
lea rcx, [rsp + 0x30]
call fcn.140115e08
jmp 0x1400ef910
mov rcx, qword [rbx]
mov r15, qword [rsp + 0x700]
mov r14, qword [rsp + 0x730]
cmp rcx, 0xffffffffffffffff
je 0x1400efb3f
call qword [sym.imp.KERNEL32.DLL_FindClose]
mov qword [rbx], 0xffffffffffffffff
mov rcx, rbx
call fcn.140115d24
mov rbx, qword [rsp + 0x720]
mov rcx, rsi
call fcn.140115d24
mov rsi, qword [rsp + 0x728]
test rdi, rdi
je 0x1400efb6c
mov rcx, rdi
call fcn.140115d24
mov rcx, qword [rbp + 0x5f0]
xor rcx, rsp
call fcn.140106650
add rsp, 0x708
pop rdi
pop rbp
ret