Function at 0x1400422c0
Capabilities:
Enumerate files on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x1f0]
sub rsp, 0x2f0
mov rax, qword [0x140174940]
xor rax, rsp
mov qword [rbp + reloc.mfc140u.dll_CDocTemplate::CDocTemplate], rax
mov rbx, rdx
mov rsi, rcx
xor edi, edi
mov dword [rsp + 0x30], edi
lea rcx, [rbp + 0x1b8]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
lea rcx, [rbp + 0x1c0]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
lea rcx, [rbp + 0x1c8]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
lea rcx, [rbp + 0x1d0]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
mov qword [rsp + 0x60], 0xffffffffffffffff
mov r9d, 0xb0
lea r8, [case.0x14009db83.3]
lea rdx, [case.0x14009db83.3]
lea rcx, [rsp + 0x60]
call fcn.140043150
nop
xor r14d, r14d
mov rax, qword [rsi + 8]
movzx r8d, word [rax + 0x180]
mov qword [rsp + 0x20], rbx
lea r9, str.BinaryFileImporter::DoProcessFolder_Processing__s
lea edx, [rdi + 5]
mov rcx, qword [0x1401776d0]
call fcn.1400a5ff0
mov r9d, 0xb0
lea r8, [0x14010bdb8]
mov rdx, rbx
lea rcx, [rsp + 0x60]
call fcn.140043150
mov rcx, qword [rsi + 8]
mov rax, qword [rcx]
call qword [rax + 0x60]
test eax, eax
jne 0x1400425bc
mov rax, qword [rsp + 0x60]
lea rdx, [rsp + 0x68]
cmp rax, 0xffffffffffffffff
jne 0x1400423e9
mov rcx, qword [rbp + 0x1c8]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rsp + 0x60], rax
cmp rax, 0xffffffffffffffff
jne 0x1400423ff
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 0x1dc], eax
jmp 0x1400425bc
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x140042596
mov rax, qword [rsp + 0x60]
mov ecx, dword [rsp + 0x68]
test dword [rbp + 0x1d8], ecx
je 0x1400423b5
test cl, 0x10
je 0x140042571
lea rdx, [rbp - 0x6c]
lea rax, [rbp + 0x19c]
cmp word [rbp - 0x6c], 0
cmove rdx, rax
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__7]
nop
mov r8d, 1
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc140u.dll_CStringList::InsertBefore]
mov rbx, rax
or edi, 1
mov dword [rsp + 0x30], edi
mov rcx, rax
call qword [sym.imp.mfc140u.dll_CMFCRibbonUndoButton::GetIconSize]
mov r8, rax
lea rdx, [0x14010d09c]
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__2]
nop
mov rdx, qword [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.mfc140u.dll_Ordinal_2903]
mov ebx, eax
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
test ebx, ebx
jne 0x1400424a0
test byte [rsp + 0x68], 0x10
je 0x1400424a0
mov ebx, 1
jmp 0x1400424a2
xor ebx, ebx
test dil, 1
je 0x1400424bb
and edi, 0xfffffffe
mov dword [rsp + 0x30], edi
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
test ebx, ebx
jne 0x140042582
cmp dword [rsi + 0x1c], ebx
je 0x140042582
lea rbx, [rbp - 0x6c]
lea rax, [rbp + 0x19c]
cmp word [rbp - 0x6c], 0
cmove rbx, rax
lea rcx, [rbp + 0x1b8]
call qword [sym.imp.mfc140u.dll_CMFCRibbonUndoButton::GetIconSize]
mov rdx, rax
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc140u.dll_Ordinal_285]
or edi, 4
mov dword [rsp + 0x30], edi
mov rax, 0xffffffffffffffff
inc rax
cmp word [rbx + rax*2], 0
jne 0x140042514
mov rdx, qword [rbp + 0x1b8]
mov dword [rsp + 0x20], eax
mov r9, rbx
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc140u.dll_CMFCTasksPane::CollapseAllGroups]
lea rdx, [rsp + 0x38]
lea rcx, [rbp + 0x1d0]
call qword [sym.imp.mfc140u.dll_Ordinal_1501]
and edi, 0xfffffffb
mov dword [rsp + 0x30], edi
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov rax, qword [rsi]
mov rdx, qword [rbp + 0x1d0]
mov rcx, rsi
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
jmp 0x14004257f
mov rax, qword [rsi]
lea rdx, [rsp + 0x60]
mov rcx, rsi
call qword [rax + 0x18]
add r14d, eax
mov rcx, qword [rsi + 8]
mov rax, qword [rcx]
call qword [rax + 0x60]
test eax, eax
je 0x1400423b0
jmp 0x1400425bc
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 0x1dc], eax
mov rcx, qword [rsp + 0x60]
cmp rcx, 0xffffffffffffffff
je 0x1400425b3
call qword [sym.imp.KERNEL32.dll_FindClose]
mov qword [rsp + 0x60], 0xffffffffffffffff
mov rcx, qword [rsp + 0x60]
cmp rcx, 0xffffffffffffffff
je 0x1400425cd
call qword [sym.imp.KERNEL32.dll_FindClose]
mov qword [rsp + 0x60], 0xffffffffffffffff
lea rcx, [rbp + 0x1d0]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rbp + 0x1c8]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rbp + 0x1c0]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rbp + 0x1b8]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov eax, r14d
mov rcx, qword [rbp + reloc.mfc140u.dll_CDocTemplate::CDocTemplate]
xor rcx, rsp
call fcn.1400c7c30
lea r11, [rsp + 0x2f0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret