Function at 0x1400bc904
Capabilities:
Enumerate files on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x1d0]
sub rsp, 0x2d0
mov rax, qword [0x14049e048]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
mov rbx, r8
mov r15d, edx
mov r12, rcx
xor edi, edi
mov dword [rsp + 0x20], edi
lea r8, [0x14034d954]
mov rdx, rcx
lea rcx, [rsp + 0x68]
call fcn.140037a38
nop
lea rcx, [rsp + 0x68]
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___2]
mov rcx, rax
lea rdx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov r14, rax
cmp rax, 0xffffffffffffffff
je 0x1400bcb46
lea rdx, [rbp - 0x64]
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__11]
nop
lea rcx, [rsp + 0x50]
call fcn.1400bc37c
nop
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc140u.dll_Ordinal_1501]
lea r8, [0x140334cb4]
mov rdx, r12
lea rcx, [rsp + 0x30]
call fcn.140037a38
nop
lea r8, [rsp + 0x48]
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.1400392cc
nop
mov rdx, rax
lea rcx, [rsp + 0x58]
call qword [sym.imp.mfc140u.dll_Ordinal_1501]
nop
lea rcx, [rsp + 0x28]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
test byte [rsp + 0x70], 0x10
je 0x1400bca43
cmp r15d, 1
jne 0x1400bcb10
lea rdx, [0x140331050]
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc140u.dll_Ordinal_2903]
test eax, eax
je 0x1400bcb10
lea rdx, [0x14034d95c]
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc140u.dll_Ordinal_2903]
test eax, eax
je 0x1400bcb10
jmp 0x1400bcae1
test r15d, r15d
jne 0x1400bca7d
lea r8d, [r15 + 4]
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc140u.dll_Ordinal_12600]
nop
or edi, 1
mov dword [rsp + 0x20], edi
lea rdx, [0x140334e00]
mov rcx, rax
call qword [sym.imp.mfc140u.dll_CFileFind::CloseContext]
test eax, eax
jne 0x1400bca7d
mov sil, 1
jmp 0x1400bca80
xor sil, sil
test dil, 1
je 0x1400bca94
and edi, 0xfffffffe
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
test sil, sil
je 0x1400bcb10
lea rcx, [rsp + 0x58]
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___2]
mov rcx, rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.acdb24.dll_public:_static_class_AcDwgFileHandle____ptr64___cdecl_AcDwgFileHandle::open_wchar_t_const____ptr64__int__enum_Acad::ErrorStatus____ptr64__int____cdecl___int__int__int__int__]
mov qword [rsp + 0x40], rax
test rax, rax
je 0x1400bcae1
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x68]
mov rdx, rax
lea rcx, [rsp + 0x60]
call qword [sym.imp.mfc140u.dll_CMFCControlRendererInfo::CMFCControlRendererInfo]
lea rcx, [rsp + 0x40]
call qword [sym.imp.acdb24.dll_public:_static_enum_Acad::ErrorStatus___cdecl_AcDwgFileHandle::close_class_AcDwgFileHandle____ptr64____ptr64_]
mov rax, qword [rbx + 8]
cmp rax, qword [rbx + 0x10]
je 0x1400bcaff
lea rdx, [rsp + 0x50]
mov rcx, rax
call fcn.1400bc314
add qword [rbx + 8], 0x18
jmp 0x1400bcb10
lea r8, [rsp + 0x50]
mov rdx, rax
mov rcx, rbx
call fcn.1400bb44c
nop
lea rcx, [rsp + 0x50]
call fcn.1400bc40c
nop
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
lea rdx, [rsp + 0x70]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1400bc980
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
lea rcx, [rsp + 0x68]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.140088c50
lea r11, [rsp + 0x2d0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret