Function at 0x100018fb4
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
sub rsp, 0x2b0
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rax + 0x20], rbx
mov rax, qword [0x1000341e0]
xor rax, rsp
mov qword [rsp + 0x2a0], rax
mov rsi, r8
mov qword [rsp + 0x40], r8
mov rdi, rdx
mov rbp, rcx
lea rcx, [rsp + 0x38]
call sub.MFC42u.dll_CDaoIndexFieldInfo::CDaoIndexFieldInfo
nop
lea rcx, [rsp + 0x28]
call sub.MFC42u.dll_CDaoIndexFieldInfo::CDaoIndexFieldInfo
nop
mov rdx, rdi
lea rcx, [rsp + 0x28]
call sub.MFC42u.dll_AfxDaoGetEngine
lea rdx, [0x100002d58]
lea rcx, [rsp + 0x20]
call sub.MFC42u.dll_CDaoException::CDaoException
mov rdi, rax
mov r8d, 1
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x28]
call sub.MFC42u.dll_CFormView::SetOccDialogInfo
mov rdi, qword [rdi]
mov rcx, qword [rax]
sub rdi, rcx
movzx edx, word [rcx]
movzx eax, word [rcx + rdi]
sub edx, eax
jne 0x100019056
add rcx, 2
test eax, eax
jne 0x100019043
test edx, edx
setne dil
lea rcx, [rsp + 0x30]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
nop
lea rcx, [rsp + 0x20]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
test dil, dil
je 0x1000190a0
lea rdx, [0x100002d58]
lea rcx, [rsp + 0x20]
call sub.MFC42u.dll_CDaoException::CDaoException
nop
mov rdx, rax
lea rcx, [rsp + 0x28]
call sub.MFC42u.dll_Ordinal_1284
nop
lea rcx, [rsp + 0x20]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
mov r8, rbp
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x20]
call sub.MFC42u.dll_AfxThrowNotSupportedException
nop
mov rdx, rax
lea rcx, [rsp + 0x38]
call sub.MFC42u.dll_AfxDaoGetEngine
nop
lea rcx, [rsp + 0x20]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x100019143
lea rdx, [rsp + 0x7c]
lea rcx, [rsp + 0x30]
call sub.MFC42u.dll_CDaoException::CDaoException
nop
mov r8, rax
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x20]
call sub.MFC42u.dll_AfxThrowNotSupportedException
nop
mov rdx, rax
mov rcx, rsi
call sub.MFC42u.dll_Ordinal_1358
nop
lea rcx, [rsp + 0x20]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
nop
lea rcx, [rsp + 0x30]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
lea rdx, [rsp + 0x50]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1000190e4
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
lea rdx, [0x100002cd0]
lea rcx, [rsp + 0x30]
call sub.MFC42u.dll_CDaoException::CDaoException
nop
mov r8, rax
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x20]
call sub.MFC42u.dll_AfxThrowNotSupportedException
nop
mov rdx, rax
lea rcx, [rsp + 0x38]
call sub.MFC42u.dll_AfxDaoGetEngine
nop
lea rcx, [rsp + 0x20]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
nop
lea rcx, [rsp + 0x30]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x100019244
test byte [rsp + 0x50], 0x10
je 0x100019224
lea rsi, [rsp + 0x7c]
lea rdi, [0x100002d28]
mov ecx, 2
repe cmpsw word [rsi], word [rdi]
je 0x100019224
lea rsi, [rsp + 0x7c]
lea rdi, [0x100008034]
mov ecx, 3
repe cmpsw word [rsi], word [rdi]
je 0x100019224
lea rdx, [rsp + 0x7c]
lea rcx, [rsp + 0x30]
call sub.MFC42u.dll_CDaoException::CDaoException
nop
mov r8, rax
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x20]
call sub.MFC42u.dll_AfxThrowNotSupportedException
nop
mov r8, qword [rsp + 0x40]
mov rdx, rax
mov rcx, rbp
call fcn.100018fb4
nop
lea rcx, [rsp + 0x20]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
nop
lea rcx, [rsp + 0x30]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1000191a8
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
lea rcx, [rsp + 0x28]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
nop
lea rcx, [rsp + 0x38]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
mov rcx, qword [rsp + 0x2a0]
xor rcx, rsp
call fcn.100020710
mov rbx, qword [rsp + 0x2e8]
add rsp, 0x2b0
pop rdi
pop rsi
pop rbp
ret