Function at 0x1800071bc
Capabilities:
Check if file exists
Enumerate files on windows
Enumerate files recursively
Get file attributes

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov dword [rax + 0x20], r9d
mov dword [rax + 0x18], r8d
mov qword [rax + 8], rcx
push rbp
push rsi
push rdi
sub rsp, 0x2a0
xor eax, eax
mov ebx, r9d
mov ebp, eax
mov rsi, rdx
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x180007464
test al, 0x10
je 0x180007464
xor eax, eax
cmp dword [rsp + 0x2e0], eax
je 0x180007244
test ebx, ebx
jne 0x180007244
mov r9, rdi
lea r8, [0x1800a36fc]
xor edx, edx
lea rcx, str._sDirectory__s
call fcn.1800090bc
test rsi, rsi
je 0x180007238
mov rdx, rsi
lea rcx, str.___s_
call fcn.1800090bc
lea rcx, [0x1800a38e8]
call fcn.1800090bc
mov edx, 0x208
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rbx, rax
test rax, rax
je 0x18000745b
mov r8, rdi
mov edx, 0x104
mov rcx, rax
call fcn.180075cf0
test eax, eax
jne 0x18000745b
lea r8, [0x1800a96ec]
mov edx, 0x104
mov rcx, rbx
call fcn.180075d58
test eax, eax
jne 0x18000745b
test rsi, rsi
lea r8, [0x1800a96f0]
mov edx, 0x104
mov rcx, rbx
cmovne r8, rsi
call fcn.180075d58
test eax, eax
jne 0x18000745b
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rsp + 0x40], rax
cmp rax, 0xffffffffffffffff
je 0x18000745b
lea rdx, [0x1800a96f4]
lea rcx, [rsp + 0x7c]
call fcn.180075b78
test eax, eax
je 0x180007438
lea rdx, [0x1800a96f8]
lea rcx, [rsp + 0x7c]
call fcn.180075b78
test eax, eax
je 0x180007438
mov r8, rdi
mov edx, 0x104
mov rcx, rbx
call fcn.180075cf0
test eax, eax
jne 0x180007438
lea r8, [0x1800a96ec]
mov edx, 0x104
mov rcx, rbx
call fcn.180075d58
xor ecx, ecx
test eax, eax
jne 0x180007438
or rdi, 0xffffffffffffffff
inc rdi
cmp word [rbx + rdi*2], cx
jne 0x180007340
lea r8, [rsp + 0x7c]
mov edx, 0x104
mov rcx, rbx
call fcn.180075d58
xor edx, edx
test eax, eax
jne 0x180007430
mov ecx, dword [rsp + 0x2e0]
test ecx, ecx
je 0x1800073b6
mov ecx, dword [rsp + 0x2d8]
lea r8, [rsp + 0x7c]
mov eax, dword [rsp + 0x50]
mov r9d, ecx
shr eax, 3
not eax
mov qword [rsp + 0x28], r8
and eax, 2
lea edx, [rcx + rcx]
or eax, 0x44
lea r8, [0x1800a36fc]
lea rcx, str._s_3u__c_s_n
mov dword [rsp + 0x20], eax
call fcn.1800090bc
mov ecx, dword [rsp + 0x2e0]
xor edx, edx
test byte [rsp + 0x50], 0x10
jne 0x1800073e7
mov r10, qword [rsp + 0x2e8]
test r10, r10
je 0x180007430
mov r9, qword [rsp + 0x2f0]
mov rdx, rbx
mov ecx, dword [rsp + 0x2d8]
mov eax, edi
lea r8, [rbx + rax*2]
call r10
jmp 0x18000742a
cmp dword [rsp + 0x2d0], edx
je 0x180007430
mov rax, qword [rsp + 0x2f0]
mov r8d, 1
mov r9d, dword [rsp + 0x2d8]
mov rdx, rsi
mov qword [rsp + 0x30], rax
inc r9d
mov rax, qword [rsp + 0x2e8]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ecx
mov rcx, rbx
call fcn.1800071bc
mov ebp, eax
test eax, eax
jne 0x180007450
mov rdi, qword [rsp + 0x2c0]
mov rcx, qword [rsp + 0x40]
lea rdx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1800072d4
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, ebp
mov rbx, qword [rsp + 0x2c8]
add rsp, 0x2a0
pop rdi
pop rsi
pop rbp
ret