Function at 0x10007fac0
Capabilities:
Check if file exists
Enumerate files on windows

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x5e8
mov qword [rsp + 0x558], 0xfffffffffffffffe
mov rax, qword [0x1000a81b8]
mov qword [rsp + 0x5d0], rax
mov dword [rsp + 0x280], 0
lea rcx, [rsp + 0x2a0]
call fcn.100014450
nop
lea rcx, [rsp + 0x298]
call fcn.100014450
nop
lea rcx, [rsp + 0x20]
call fcn.100014450
nop
lea rcx, [rsp + 0x288]
call fcn.100014450
nop
mov dword [rsp + 0x500], 1
cmp qword [rsp + 0x5f0], 0
jne 0x10007fb8d
mov dword [rsp + 0x504], 0x57
lea rcx, [rsp + 0x288]
call fcn.1000144b0
nop
lea rcx, [rsp + 0x20]
call fcn.1000144b0
nop
lea rcx, [rsp + 0x298]
call fcn.1000144b0
nop
lea rcx, [rsp + 0x2a0]
call fcn.1000144b0
mov eax, dword [rsp + 0x504]
jmp 0x10008005b
cmp dword [0x1000a9638], 0
jne 0x10007fbfa
call fcn.100080310
mov dword [rsp + 0x280], eax
cmp dword [rsp + 0x280], 0
je 0x10007fbfa
mov eax, dword [rsp + 0x280]
mov dword [rsp + 0x508], eax
lea rcx, [rsp + 0x288]
call fcn.1000144b0
nop
lea rcx, [rsp + 0x20]
call fcn.1000144b0
nop
lea rcx, [rsp + 0x298]
call fcn.1000144b0
nop
lea rcx, [rsp + 0x2a0]
call fcn.1000144b0
mov eax, dword [rsp + 0x508]
jmp 0x10008005b
lea rdx, [0x1000a9430]
lea rcx, [rsp + 0x2a0]
call fcn.100016d00
lea r8, [0x1000074a0]
lea rdx, [rsp + 0x2a0]
lea rcx, [rsp + 0x510]
call fcn.100016420
mov qword [rsp + 0x560], rax
mov rax, qword [rsp + 0x560]
mov qword [rsp + 0x568], rax
mov rdx, qword [rsp + 0x568]
lea rcx, [rsp + 0x298]
call fcn.100015fc0
nop
lea rcx, [rsp + 0x510]
call fcn.1000144b0
lea rcx, [rsp + 0x298]
call fcn.100013bb0
lea rdx, [rsp + 0x30]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rsp + 0x2a8], rax
cmp qword [rsp + 0x2a8], 0xffffffffffffffff
jne 0x10007fd03
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x280], eax
cmp dword [rsp + 0x280], 2
jne 0x10007fcb5
mov dword [rsp + 0x280], 0
mov eax, dword [rsp + 0x280]
mov dword [rsp + 0x518], eax
lea rcx, [rsp + 0x288]
call fcn.1000144b0
nop
lea rcx, [rsp + 0x20]
call fcn.1000144b0
nop
lea rcx, [rsp + 0x298]
call fcn.1000144b0
nop
lea rcx, [rsp + 0x2a0]
call fcn.1000144b0
mov eax, dword [rsp + 0x518]
jmp 0x10008005b
mov eax, dword [rsp + 0x30]
and eax, 0x10
test eax, eax
je 0x10007ffdf
lea rdx, [0x100007498]
lea rcx, [rsp + 0x5c]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x10007ffdf
lea rdx, [0x100007490]
lea rcx, [rsp + 0x5c]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x10007ffdf
lea r8, [0x10000748c]
lea rdx, [rsp + 0x2a0]
lea rcx, [rsp + 0x520]
call fcn.100016420
mov qword [rsp + 0x570], rax
mov rax, qword [rsp + 0x570]
mov qword [rsp + 0x578], rax
lea r8, [rsp + 0x5c]
mov rdx, qword [rsp + 0x578]
lea rcx, [rsp + 0x528]
call fcn.100016420
mov qword [rsp + 0x580], rax
mov rax, qword [rsp + 0x580]
mov qword [rsp + 0x588], rax
mov rdx, qword [rsp + 0x588]
lea rcx, [rsp + 0x20]
call fcn.100015fc0
nop
lea rcx, [rsp + 0x528]
call fcn.1000144b0
nop
lea rcx, [rsp + 0x520]
call fcn.1000144b0
lea r8, [0x10000748c]
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x530]
call fcn.100016420
mov qword [rsp + 0x590], rax
mov rax, qword [rsp + 0x590]
mov qword [rsp + 0x598], rax
lea r8, [0x100012650]
mov rdx, qword [rsp + 0x598]
lea rcx, [rsp + 0x538]
call fcn.100016420
mov qword [rsp + 0x5a0], rax
mov rax, qword [rsp + 0x5a0]
mov qword [rsp + 0x5a8], rax
mov rdx, qword [rsp + 0x5a8]
lea rcx, [rsp + 0x298]
call fcn.100015fc0
nop
lea rcx, [rsp + 0x538]
call fcn.1000144b0
nop
lea rcx, [rsp + 0x530]
call fcn.1000144b0
lea rcx, [rsp + 0x298]
call fcn.100013bb0
lea rdx, [rsp + 0x2b0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rsp + 0x290], rax
cmp qword [rsp + 0x290], 0xffffffffffffffff
jne 0x10007feda
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x280], eax
cmp dword [rsp + 0x280], 2
jne 0x10007feca
mov dword [rsp + 0x280], 0
jmp 0x10007ffdf
mov dword [rsp + 0x500], 0
jmp 0x100080004
mov eax, dword [rsp + 0x2b0]
and eax, 0x10
test eax, eax
jne 0x10007ffa9
lea r8, [0x10000748c]
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x540]
call fcn.100016420
mov qword [rsp + 0x5b0], rax
mov rax, qword [rsp + 0x5b0]
mov qword [rsp + 0x5b8], rax
lea r8, [rsp + 0x2dc]
mov rdx, qword [rsp + 0x5b8]
lea rcx, [rsp + 0x548]
call fcn.100016420
mov qword [rsp + 0x5c0], rax
mov rax, qword [rsp + 0x5c0]
mov qword [rsp + 0x5c8], rax
mov rdx, qword [rsp + 0x5c8]
lea rcx, [rsp + 0x288]
call fcn.100015fc0
nop
lea rcx, [rsp + 0x548]
call fcn.1000144b0
nop
lea rcx, [rsp + 0x540]
call fcn.1000144b0
lea rcx, [rsp + 0x288]
call fcn.100013bb0
mov rdx, qword [rsp + 0x5f8]
mov rcx, rax
call qword [rsp + 0x5f0]
mov dword [rsp + 0x500], eax
lea rdx, [rsp + 0x2b0]
mov rcx, qword [rsp + 0x290]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x10007ffd1
cmp dword [rsp + 0x500], 0
jne 0x10007feda
mov rcx, qword [rsp + 0x290]
call qword [sym.imp.KERNEL32.dll_FindClose]
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x2a8]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x100080004
cmp dword [rsp + 0x500], 0
jne 0x10007fd03
mov rcx, qword [rsp + 0x2a8]
call qword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [rsp + 0x280]
mov dword [rsp + 0x550], eax
lea rcx, [rsp + 0x288]
call fcn.1000144b0
nop
lea rcx, [rsp + 0x20]
call fcn.1000144b0
nop
lea rcx, [rsp + 0x298]
call fcn.1000144b0
nop
lea rcx, [rsp + 0x2a0]
call fcn.1000144b0
mov eax, dword [rsp + 0x550]
mov rcx, qword [rsp + 0x5d0]
call fcn.100087ed0
add rsp, 0x5e8
ret