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

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
lea rbp, [rax - 0x1c8]
sub rsp, 0x2b0
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 0x20], rbx
mov rax, qword [0x140035868]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
lea rcx, [rsp + 0x38]
call qword [sym.imp.MFC42u.dll_CDaoIndexFieldInfo::CDaoIndexFieldInfo]
nop
lea rcx, [rsp + 0x28]
call qword [sym.imp.MFC42u.dll_CDaoIndexFieldInfo::CDaoIndexFieldInfo]
nop
mov rdx, rbx
lea rcx, [rsp + 0x28]
call qword [sym.imp.MFC42u.dll_AfxDaoGetEngine]
lea rdx, [0x1400239f8]
lea rcx, [rsp + 0x20]
call qword [sym.imp.MFC42u.dll_CDaoException::CDaoException]
mov rbx, rax
mov r8d, 1
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x28]
call qword [sym.imp.MFC42u.dll_CFormView::SetOccDialogInfo]
mov r9, qword [rbx]
mov rcx, qword [rax]
sub r9, rcx
movzx r8d, word [rcx]
movzx eax, word [rcx + r9]
sub r8d, eax
jne 0x140015e93
add rcx, 2
test eax, eax
jne 0x140015e7d
test r8d, r8d
setne bl
lea rcx, [rsp + 0x30]
call qword [sym.imp.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef]
nop
lea rcx, [rsp + 0x20]
call qword [sym.imp.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef]
test bl, bl
je 0x140015ee1
lea rdx, [0x1400239f8]
lea rcx, [rsp + 0x20]
call qword [sym.imp.MFC42u.dll_CDaoException::CDaoException]
nop
mov rdx, rax
lea rcx, [rsp + 0x28]
call qword [sym.imp.MFC42u.dll_Ordinal_1284]
nop
lea rcx, [rsp + 0x20]
call qword [sym.imp.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef]
mov r8, rdi
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x20]
call qword [sym.imp.MFC42u.dll_AfxThrowNotSupportedException]
nop
mov rdx, rax
lea rcx, [rsp + 0x38]
call qword [sym.imp.MFC42u.dll_AfxDaoGetEngine]
nop
lea rcx, [rsp + 0x20]
call qword [sym.imp.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 0x140015f8c
lea rdx, [rsp + 0x7c]
lea rcx, [rsp + 0x30]
call qword [sym.imp.MFC42u.dll_CDaoException::CDaoException]
nop
mov r8, rax
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x20]
call qword [sym.imp.MFC42u.dll_AfxThrowNotSupportedException]
nop
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.MFC42u.dll_Ordinal_1358]
nop
lea rcx, [rsp + 0x20]
call qword [sym.imp.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef]
nop
lea rcx, [rsp + 0x30]
call qword [sym.imp.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef]
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140015f28
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
lea rdx, [0x140023970]
lea rcx, [rsp + 0x30]
call qword [sym.imp.MFC42u.dll_CDaoException::CDaoException]
nop
mov r8, rax
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x20]
call qword [sym.imp.MFC42u.dll_AfxThrowNotSupportedException]
nop
mov rdx, rax
lea rcx, [rsp + 0x38]
call qword [sym.imp.MFC42u.dll_AfxDaoGetEngine]
nop
lea rcx, [rsp + 0x20]
call qword [sym.imp.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef]
nop
lea rcx, [rsp + 0x30]
call qword [sym.imp.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 0x1400160a7
test byte [rsp + 0x50], 0x10
je 0x140016087
movzx edx, word [rsp + 0x7c]
movzx ecx, word [rsp + 0x7e]
cmp dx, word [0x1400239c8]
jne 0x14001601d
cmp cx, word [0x1400239ca]
je 0x140016087
cmp dx, word [0x140028ee4]
jne 0x14001603c
cmp cx, word [0x140028ee6]
jne 0x14001603c
movzx eax, word [rbp - 0x80]
cmp ax, word [0x140028ee8]
je 0x140016087
lea rdx, [rsp + 0x7c]
lea rcx, [rsp + 0x30]
call qword [sym.imp.MFC42u.dll_CDaoException::CDaoException]
nop
mov r8, rax
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x20]
call qword [sym.imp.MFC42u.dll_AfxThrowNotSupportedException]
nop
mov r8, rsi
mov rdx, rax
mov rcx, rdi
call fcn.140015de8
nop
lea rcx, [rsp + 0x20]
call qword [sym.imp.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef]
nop
lea rcx, [rsp + 0x30]
call qword [sym.imp.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef]
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140015ff6
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
lea rcx, [rsp + 0x28]
call qword [sym.imp.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef]
nop
lea rcx, [rsp + 0x38]
call qword [sym.imp.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef]
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.14001cbc0
mov rbx, qword [rsp + 0x2e8]
add rsp, 0x2b0
pop rdi
pop rsi
pop rbp
ret