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

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x218]
sub rsp, 0x318
mov rax, qword [0x140174940]
xor rax, rsp
mov qword [rbp + 0x200], rax
mov r15d, r9d
mov r12, r8
mov r13, rdx
mov rsi, rcx
mov dword [rsp + 0x40], 0
mov r14d, 1
mov rbx, qword [rdx]
lea rcx, [rbp + 0x1d8]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
lea rcx, [rbp + reloc.mfc140u.dll_CDocTemplate::CDocTemplate]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
lea rcx, [rbp + reloc.mfc140u.dll_CEnumArray::CEnumArray]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
lea rcx, [rbp + 0x1f0]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
mov qword [rbp - 0x80], 0xffffffffffffffff
mov qword [rbp - 0x80], 0xffffffffffffffff
mov dword [rbp + 0x1f8], UnRegisterTypeLib
mov rdx, rbx
lea rcx, [rbp + 0x1d8]
call qword [sym.imp.mfc140u.dll_CMFCControlRendererInfo::CMFCControlRendererInfo]
mov r8d, r14d
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x1d8]
call qword [sym.imp.mfc140u.dll_Ordinal_12600]
nop
lea rdx, [0x1400f6ad4]
mov rcx, rax
call qword [sym.imp.mfc140u.dll_Ordinal_2903]
mov ebx, eax
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
test ebx, ebx
je 0x1400446a7
lea rdx, [0x1400f6ad4]
lea rcx, [rbp + 0x1d8]
call qword [sym.imp.mfc140u.dll_COleCurrency::operator__1]
lea rdx, [0x14010bdb8]
lea rcx, [rbp + reloc.mfc140u.dll_CDocTemplate::CDocTemplate]
call qword [sym.imp.mfc140u.dll_CMFCControlRendererInfo::CMFCControlRendererInfo]
nop
lea rcx, [rbp + 0x1d8]
call qword [sym.imp.mfc140u.dll_CMFCRibbonUndoButton::GetIconSize]
mov rdx, rax
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc140u.dll_Ordinal_285]
mov dword [rsp + 0x40], 1
mov r9, qword [rbp + reloc.mfc140u.dll_CDocTemplate::CDocTemplate]
mov eax, dword [r9 - 0x10]
mov rdx, qword [rbp + 0x1d8]
mov dword [rsp + 0x20], eax
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc140u.dll_CMFCTasksPane::CollapseAllGroups]
lea rdx, [rsp + 0x48]
lea rcx, [rbp + reloc.mfc140u.dll_CEnumArray::CEnumArray]
call qword [sym.imp.mfc140u.dll_Ordinal_1501]
mov edi, 1
and edi, 0xfffffffe
mov dword [rsp + 0x40], edi
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov dword [rbp + 0x1fc], 0
mov edx, dword [rsi + 0x3e8]
lea rcx, [rsp + 0x58]
call fcn.14009efe0
mov rbx, rax
mov edx, r15d
lea rcx, [rsp + 0x50]
call fcn.14009efe0
mov rcx, rax
mov rax, qword [rbx]
mov qword [rsp + 0x30], rax
mov rax, qword [rcx]
mov qword [rsp + 0x28], rax
mov rax, qword [r12]
mov qword [rsp + 0x20], rax
mov r9, qword [r13]
lea r8, str.Checking_path___s_s__subdirs_s__readonly_s_
mov edx, 5
mov rcx, rsi
call fcn.14004b3e0
nop
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rsp + 0x58]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x60]
test eax, eax
jne 0x140044a1a
mov rcx, qword [rbp - 0x80]
nop dword [rax + rax]
lea rdx, [rbp - 0x78]
cmp rcx, 0xffffffffffffffff
jne 0x1400447f5
mov rcx, qword [rbp + reloc.mfc140u.dll_CEnumArray::CEnumArray]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rcx, rax
mov qword [rbp - 0x80], rax
cmp rax, 0xffffffffffffffff
jne 0x140044807
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 0x1fc], eax
jmp 0x140044a1a
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x1400449f6
mov rcx, qword [rbp - 0x80]
mov eax, dword [rbp - 0x78]
test dword [rbp + 0x1f8], eax
je 0x1400447c0
lea rdx, [rbp - 0x4c]
lea rax, [rbp + 0x1bc]
cmp word [rbp - 0x4c], 0
cmove rdx, rax
lea rcx, [rsp + 0x70]
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 + 0x60]
lea rcx, [rsp + 0x70]
call qword [sym.imp.mfc140u.dll_CStringList::InsertBefore]
mov rbx, rax
or edi, 2
mov dword [rsp + 0x40], edi
mov rcx, rax
call qword [sym.imp.mfc140u.dll_CMFCRibbonUndoButton::GetIconSize]
mov r8, rax
lea rdx, [0x14010d09c]
lea rcx, [rsp + 0x68]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__2]
nop
mov rdx, qword [rsp + 0x68]
mov rcx, rbx
call qword [sym.imp.mfc140u.dll_Ordinal_2903]
mov ebx, eax
lea rcx, [rsp + 0x68]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
test ebx, ebx
jne 0x14004489d
test byte [rbp - 0x78], 0x10
je 0x14004489d
mov ebx, 1
jmp 0x14004489f
xor ebx, ebx
test dil, 2
je 0x1400448b8
and edi, 0xfffffffd
mov dword [rsp + 0x40], edi
lea rcx, [rsp + 0x60]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rsp + 0x70]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
test ebx, ebx
jne 0x1400449eb
test byte [rbp - 0x78], 0x10
je 0x1400449a1
test r15d, r15d
je 0x1400449eb
lea rbx, [rbp - 0x4c]
lea rax, [rbp + 0x1bc]
cmp word [rbp - 0x4c], 0
cmove rbx, rax
lea rcx, [rbp + 0x1d8]
call qword [sym.imp.mfc140u.dll_CMFCRibbonUndoButton::GetIconSize]
mov rdx, rax
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc140u.dll_Ordinal_285]
or edi, 4
mov dword [rsp + 0x40], edi
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp word [rbx + rax*2], 0
jne 0x140044920
mov rdx, qword [rbp + 0x1d8]
mov dword [rsp + 0x20], eax
mov r9, rbx
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc140u.dll_CMFCTasksPane::CollapseAllGroups]
lea rdx, [rsp + 0x48]
lea rcx, [rbp + 0x1f0]
call qword [sym.imp.mfc140u.dll_Ordinal_1501]
and edi, 0xfffffffb
mov dword [rsp + 0x40], edi
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov rdx, qword [rbp + 0x1f0]
lea rcx, [rsp + 0x58]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__7]
nop
mov r9d, r15d
mov r8, r12
lea rdx, [rsp + 0x58]
mov rcx, rsi
call fcn.1400445b0
mov r14d, eax
lea rcx, [rsp + 0x58]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
jmp 0x1400449eb
lea rdx, [rbp - 0x4c]
lea rax, [rbp + 0x1bc]
cmp word [rbp - 0x4c], 0
cmove rdx, rax
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__7]
nop
mov rdx, r12
lea rcx, [rsp + 0x50]
call fcn.14009c010
mov ebx, eax
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
test ebx, ebx
je 0x1400449eb
lea rdx, [rbp - 0x80]
mov rcx, rsi
call fcn.140043d70
test r14d, r14d
jne 0x1400447a3
jmp 0x140044a1a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 0x1fc], eax
mov rcx, qword [rbp - 0x80]
cmp rcx, 0xffffffffffffffff
je 0x140044a12
call qword [sym.imp.KERNEL32.dll_FindClose]
mov qword [rbp - 0x80], 0xffffffffffffffff
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x60]
test eax, eax
jne 0x140044a97
test r14d, r14d
je 0x140044a97
mov edx, dword [rbp + 0x1fc]
test edx, 0xffffffed
jne 0x140044a3f
cmp edx, 0x10
jne 0x140044a97
mov dword [rsi + 0x3b0], edx
xor r8d, r8d
lea rcx, [rsp + 0x60]
call fcn.14009d3d0
nop
mov rdx, qword [r12]
mov qword [rsp + 0x30], rdx
mov rdx, qword [r13]
mov qword [rsp + 0x28], rdx
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsi + 0x3b0]
lea r8, str.Poll_error__d___s____s_s_
mov edx, 2
mov rcx, rsi
call fcn.14004b3e0
nop
lea rcx, [rsp + 0x60]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
xor r14d, r14d
mov rcx, qword [rbp - 0x80]
cmp rcx, 0xffffffffffffffff
je 0x140044aa7
call qword [sym.imp.KERNEL32.dll_FindClose]
mov qword [rbp - 0x80], 0xffffffffffffffff
lea rcx, [rbp + 0x1f0]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rbp + reloc.mfc140u.dll_CEnumArray::CEnumArray]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rbp + reloc.mfc140u.dll_CDocTemplate::CDocTemplate]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rbp + 0x1d8]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov eax, r14d
mov rcx, qword [rbp + 0x200]
xor rcx, rsp
call fcn.1400c7c30
add rsp, 0x318
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret