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

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0x538
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov rax, qword [0x100082138]
xor rax, rsp
mov qword [rsp + 0x520], rax
mov r12, rdx
xor r13d, r13d
mov ebx, r13d
lea rcx, [rsp + 0x38]
call fcn.10001fee0
nop
lea rcx, [rsp + 0x20]
call fcn.10001fee0
nop
lea rcx, [rsp + 0x28]
call fcn.10001fee0
nop
lea rcx, [rsp + 0x30]
call fcn.10001fee0
nop
lea esi, [r13 + 1]
lea rax, [fcn.10004adbc]
cmp rax, r13
jne 0x100063f59
lea rcx, [rsp + 0x30]
call fcn.10001fba0
nop
lea rcx, [rsp + 0x28]
call fcn.10001fba0
nop
lea rcx, [rsp + 0x20]
call fcn.10001fba0
nop
lea ebx, [rsi + 0x56]
jmp 0x100064233
cmp dword [0x10008351c], r13d
jne 0x100063f94
call fcn.1000644a8
mov ebx, eax
cmp eax, r13d
je 0x100063f94
lea rcx, [rsp + 0x30]
call fcn.10001fba0
nop
lea rcx, [rsp + 0x28]
call fcn.10001fba0
nop
lea rcx, [rsp + 0x20]
call fcn.10001fba0
nop
jmp 0x100064233
xor eax, eax
lea rcx, [rax - 1]
lea rdx, [0x1000830a0]
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
sub rcx, rsi
mov r8d, ecx
lea rcx, [rsp + 0x38]
call fcn.10001fae8
lea r8, [0x100009ee8]
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x40]
call fcn.10001eff0
nop
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.10001ecdc
nop
lea rcx, [rsp + 0x40]
call fcn.10001fba0
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x10006403a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp eax, 2
cmove ebx, r13d
lea rcx, [rsp + 0x30]
call fcn.10001fba0
nop
lea rcx, [rsp + 0x28]
call fcn.10001fba0
nop
lea rcx, [rsp + 0x20]
call fcn.10001fba0
nop
jmp 0x100064233
test byte [rsp + 0x80], 0x10
je 0x1000641e9
lea rdx, [0x100009ef4]
lea rcx, [rsp + 0xac]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
cmp eax, r13d
je 0x1000641e9
lea rdx, [0x100009ef8]
lea rcx, [rsp + 0xac]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
cmp eax, r13d
je 0x1000641e9
lea r8, [0x100009f00]
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x58]
call fcn.10001eff0
nop
lea r8, [rsp + 0xac]
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.10001eff0
nop
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.10001ecdc
nop
lea rcx, [rsp + 0x40]
call fcn.10001fba0
nop
lea rcx, [rsp + 0x58]
call fcn.10001fba0
lea r8, [0x100009f00]
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x68]
call fcn.10001eff0
nop
lea r8, [0x100014ca8]
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.10001eff0
nop
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.10001ecdc
nop
lea rcx, [rsp + 0x48]
call fcn.10001fba0
nop
lea rcx, [rsp + 0x68]
call fcn.10001fba0
lea rdx, [rsp + 0x2d0]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rbp, rax
cmp rax, 0xffffffffffffffff
jne 0x100064158
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp eax, 2
jne 0x100064208
mov ebx, r13d
jmp 0x1000641e9
test byte [rsp + 0x2d0], 0x10
jne 0x1000641c1
lea r8, [0x100009f00]
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x50]
call fcn.10001eff0
nop
lea r8, [rsp + 0x2fc]
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.10001eff0
nop
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.10001ecdc
nop
lea rcx, [rsp + 0x60]
call fcn.10001fba0
nop
lea rcx, [rsp + 0x50]
call fcn.10001fba0
mov rdx, r12
mov rcx, qword [rsp + 0x30]
call fcn.10004adbc
mov esi, eax
lea rdx, [rsp + 0x2d0]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
cmp eax, r13d
je 0x1000641e0
cmp esi, r13d
jne 0x100064158
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 0x100064208
cmp esi, r13d
jne 0x10006403a
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
lea rcx, [rsp + 0x30]
call fcn.10001fba0
nop
lea rcx, [rsp + 0x28]
call fcn.10001fba0
nop
lea rcx, [rsp + 0x20]
call fcn.10001fba0
nop
lea rcx, [rsp + 0x38]
call fcn.10001fba0
mov eax, ebx
mov rcx, qword [rsp + 0x520]
xor rcx, rsp
call fcn.10006b1f0
add rsp, 0x538
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret