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

Disassembly:
push rbp
push rdi
lea rbp, [rsp - 0x608]
sub rsp, 0x708
mov rax, qword [0x14008d558]
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.1400158a0
xor edx, edx
lea rcx, [rbp + 0x1b0]
mov r8d, 0x104
call fcn.1400158a0
xor edx, edx
lea rcx, [rbp + 0x4e0]
mov r8d, 0x104
call fcn.1400158a0
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x104
call fcn.1400158a0
lea rcx, [0x1400775ac]
call fcn.14000e5f0
lea rcx, [0x1400775b0]
mov rsi, rax
call fcn.14000e5f0
mov rdi, rax
test rsi, rsi
je 0x14000f127
test rax, rax
je 0x14000f11f
mov rcx, rsi
call fcn.14000d600
test eax, eax
jne 0x14000f11f
lea r8, [rsp + 0x30]
mov qword [rsp + 0x720], rbx
lea rdx, str..dv
mov rcx, rdi
call fcn.14000d220
mov rbx, rax
test rax, rax
je 0x14000f117
mov qword [rsp + 0x730], r14
lea r14, [0x140077578]
mov qword [rsp + 0x700], r15
lea r15, [0x1400775a0]
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.14000d850
lea rax, [rsp + 0x30]
mov r9, rsi
mov qword [rsp + 0x28], rax
lea r8, str._s_s_s
lea rdx, [rbp + 0x1b0]
mov qword [rsp + 0x20], r15
mov ecx, 0x104
call fcn.14000d850
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.14000d850
lea rcx, [rbp + 0x1b0]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14000efa0
bt eax, 0xa
jae 0x14000efa0
lea rcx, [rbp + 0x1b0]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14000ef90
test al, 0x10
je 0x14000ef90
lea rcx, [rbp + 0x1b0]
call fcn.140025f9c
jmp 0x14000ef9c
lea rcx, [rbp + 0x1b0]
call fcn.140024ba4
test eax, eax
jne 0x14000efbb
lea rdx, [rbp + 0x40]
lea rcx, [rbp + 0x1b0]
call fcn.140041fa8
lea rcx, [rbp + 0x1b0]
test eax, eax
je 0x14000efc2
lea rcx, [rbp + 0x3d0]
mov r8b, 1
lea rdx, [rbp + 0x4e0]
call fcn.14000c880
xor edx, edx
lea rcx, [rbp + 0x70]
mov r8d, 0x140
call fcn.1400158a0
xor edx, edx
lea rcx, [rbp + 0x2c0]
mov r8d, 0x104
call fcn.1400158a0
nop word [rax + rax]
mov rcx, qword [rbx]
lea rdx, [rbp + 0x70]
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
cmp eax, 1
jne 0x14000f0c3
lea rax, [rbp + 0x9c]
mov ecx, 0x104
mov qword [rsp + 0x28], rax
lea r9, [rbx + 8]
lea r8, [0x14007757c]
mov qword [rsp + 0x20], r14
lea rdx, [rbp + 0x2c0]
call fcn.14000d850
lea rcx, [rbp + 0x2c0]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14000f0b4
bt eax, 0xa
jae 0x14000f0b4
lea rcx, [rbp + 0x2c0]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14000f0a3
bt eax, 0xa
jae 0x14000f0a3
lea rcx, [rbp + 0x2c0]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14000f097
test al, 0x10
je 0x14000f097
lea rcx, [rbp + 0x2c0]
call fcn.140025f9c
jmp 0x14000f0a3
lea rcx, [rbp + 0x2c0]
call fcn.140024ba4
xor edx, edx
lea rcx, [rbp + 0x70]
mov r8d, 0x140
call fcn.1400158a0
cmp byte [rbp + 0x9c], 0
je 0x14000f000
jmp 0x14000f0c7
test eax, eax
je 0x14000f0e9
mov r9, 0xffffffffffffffff
lea r8, [rbp + 0x9c]
mov edx, 0x104
lea rcx, [rsp + 0x30]
call fcn.140025d24
jmp 0x14000eee0
mov rcx, qword [rbx]
mov r15, qword [rsp + 0x700]
mov r14, qword [rsp + 0x730]
cmp rcx, 0xffffffffffffffff
je 0x14000f10f
call qword [sym.imp.KERNEL32.dll_FindClose]
mov qword [rbx], 0xffffffffffffffff
mov rcx, rbx
call fcn.140023f98
mov rbx, qword [rsp + 0x720]
mov rcx, rsi
call fcn.140023f98
mov rsi, qword [rsp + 0x728]
test rdi, rdi
je 0x14000f13c
mov rcx, rdi
call fcn.140023f98
mov rcx, qword [rbp + 0x5f0]
xor rcx, rsp
call fcn.140014190
add rsp, 0x708
pop rdi
pop rbp
ret