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

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
sub rsp, 0x530
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov rax, qword [0x100083138]
xor rax, rsp
mov qword [rsp + 0x520], rax
mov r12, rdx
xor r13d, r13d
mov ebx, r13d
lea rcx, [rsp + 0x38]
call fcn.100020360
nop
lea rcx, [rsp + 0x20]
call fcn.100020360
nop
lea rcx, [rsp + 0x28]
call fcn.100020360
nop
lea rcx, [rsp + 0x30]
call fcn.100020360
nop
lea esi, [r13 + 1]
lea rax, [fcn.10005fc80]
cmp rax, r13
jne 0x100064784
lea rcx, [rsp + 0x30]
call fcn.10002006c
nop
lea rcx, [rsp + 0x28]
call fcn.10002006c
nop
lea rcx, [rsp + 0x20]
call fcn.10002006c
nop
lea ebx, [rsi + 0x56]
jmp 0x100064a5e
cmp dword [0x10008451c], r13d
jne 0x1000647bf
call fcn.100064d00
mov ebx, eax
cmp eax, r13d
je 0x1000647bf
lea rcx, [rsp + 0x30]
call fcn.10002006c
nop
lea rcx, [rsp + 0x28]
call fcn.10002006c
nop
lea rcx, [rsp + 0x20]
call fcn.10002006c
nop
jmp 0x100064a5e
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdx, [0x1000840a0]
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
sub rcx, rsi
mov r8d, ecx
lea rcx, [rsp + 0x38]
call fcn.10001ff98
lea r8, [0x10000a108]
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x40]
call fcn.10001f418
nop
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.10001f050
nop
lea rcx, [rsp + 0x40]
call fcn.10002006c
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x100064865
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp eax, 2
cmove ebx, r13d
lea rcx, [rsp + 0x30]
call fcn.10002006c
nop
lea rcx, [rsp + 0x28]
call fcn.10002006c
nop
lea rcx, [rsp + 0x20]
call fcn.10002006c
nop
jmp 0x100064a5e
test byte [rsp + 0x80], 0x10
je 0x100064a14
lea rdx, [0x10000a114]
lea rcx, [rsp + 0xac]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
cmp eax, r13d
je 0x100064a14
lea rdx, [0x10000a118]
lea rcx, [rsp + 0xac]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
cmp eax, r13d
je 0x100064a14
lea r8, [0x10000a120]
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x58]
call fcn.10001f418
nop
lea r8, [rsp + 0xac]
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.10001f418
nop
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.10001f050
nop
lea rcx, [rsp + 0x40]
call fcn.10002006c
nop
lea rcx, [rsp + 0x58]
call fcn.10002006c
lea r8, [0x10000a120]
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x68]
call fcn.10001f418
nop
lea r8, [0x100014de8]
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.10001f418
nop
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.10001f050
nop
lea rcx, [rsp + 0x48]
call fcn.10002006c
nop
lea rcx, [rsp + 0x68]
call fcn.10002006c
lea rdx, [rsp + 0x2d0]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rbp, rax
cmp rax, 0xffffffffffffffff
jne 0x100064983
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp eax, 2
jne 0x100064a33
mov ebx, r13d
jmp 0x100064a14
test byte [rsp + 0x2d0], 0x10
jne 0x1000649ec
lea r8, [0x10000a120]
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x50]
call fcn.10001f418
nop
lea r8, [rsp + 0x2fc]
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.10001f418
nop
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.10001f050
nop
lea rcx, [rsp + 0x60]
call fcn.10002006c
nop
lea rcx, [rsp + 0x50]
call fcn.10002006c
mov rdx, r12
mov rcx, qword [rsp + 0x30]
call fcn.10005fc80
mov esi, eax
lea rdx, [rsp + 0x2d0]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
cmp eax, r13d
je 0x100064a0b
cmp esi, r13d
jne 0x100064983
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FindClose]
lea rdx, [rsp + 0x80]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
cmp eax, r13d
je 0x100064a33
cmp esi, r13d
jne 0x100064865
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
lea rcx, [rsp + 0x30]
call fcn.10002006c
nop
lea rcx, [rsp + 0x28]
call fcn.10002006c
nop
lea rcx, [rsp + 0x20]
call fcn.10002006c
nop
lea rcx, [rsp + 0x38]
call fcn.10002006c
mov eax, ebx
mov rcx, qword [rsp + 0x520]
xor rcx, rsp
call fcn.10006bd80
lea r11, [rsp + 0x530]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r13
pop r12
pop rdi
ret