Function at 0x14009a620
Capabilities:
Enumerate files on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x2f0]
sub rsp, 0x3f0
mov rax, qword [0x140174940]
xor rax, rsp
mov qword [rbp + 0x2e0], rax
mov rbx, rdx
mov rdi, rcx
xor esi, esi
mov dword [rsp + 0x30], esi
lea rcx, [rbp + 0x1a8]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
lea rcx, [rbp + 0x1b0]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
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
mov qword [rsp + 0x50], 0xffffffffffffffff
mov qword [rsp + 0x50], 0xffffffffffffffff
mov dword [rbp + 0x1c8], UnRegisterTypeLib
mov rdx, rbx
lea rcx, [rbp + 0x1a8]
call qword [sym.imp.mfc140u.dll_CMFCControlRendererInfo::CMFCControlRendererInfo]
lea r8d, [rsi + 1]
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x1a8]
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 + 0x40]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
test ebx, ebx
je 0x14009a704
lea rdx, [0x1400f6ad4]
lea rcx, [rbp + 0x1a8]
call qword [sym.imp.mfc140u.dll_COleCurrency::operator__1]
lea rdx, [0x14010bdb8]
lea rcx, [rbp + 0x1b0]
call qword [sym.imp.mfc140u.dll_CMFCControlRendererInfo::CMFCControlRendererInfo]
nop
lea rcx, [rbp + 0x1a8]
call qword [sym.imp.mfc140u.dll_CMFCRibbonUndoButton::GetIconSize]
mov rdx, rax
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc140u.dll_Ordinal_285]
mov dword [rsp + 0x30], 1
mov r9, qword [rbp + 0x1b0]
mov eax, dword [r9 - 0x10]
mov rdx, qword [rbp + 0x1a8]
mov dword [rsp + 0x20], eax
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc140u.dll_CMFCTasksPane::CollapseAllGroups]
lea rdx, [rsp + 0x38]
lea rcx, [rbp + 0x1b8]
call qword [sym.imp.mfc140u.dll_Ordinal_1501]
mov eax, 1
and eax, 0xfffffffe
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov dword [rbp + 0x1cc], esi
mov rax, qword [rsp + 0x50]
lea rdx, [rsp + 0x58]
cmp rax, 0xffffffffffffffff
jne 0x14009a7c9
mov rcx, qword [rbp + 0x1b8]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rsp + 0x50], rax
cmp rax, 0xffffffffffffffff
jne 0x14009a7db
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 0x1cc], eax
jmp 0x14009a84d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x14009a827
mov rax, qword [rsp + 0x50]
mov ecx, dword [rsp + 0x58]
test dword [rbp + 0x1c8], ecx
je 0x14009a795
test cl, 0x10
jne 0x14009a795
mov r8d, 0x80
lea rdx, [rbp - 0x7c]
lea rcx, [rbp + 0x1d0]
call fcn.14009f270
mov rax, qword [rsp + 0x6c]
mov qword [rbp + 0x2d4], rax
lea rdx, [rbp + 0x1d0]
mov rcx, rdi
call fcn.14009a8d0
test eax, eax
jne 0x14009a790
jmp 0x14009a852
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 0x1cc], eax
mov rcx, qword [rsp + 0x50]
cmp rcx, 0xffffffffffffffff
je 0x14009a844
call qword [sym.imp.KERNEL32.dll_FindClose]
mov qword [rsp + 0x50], 0xffffffffffffffff
mov esi, 1
mov rcx, qword [rsp + 0x50]
cmp rcx, 0xffffffffffffffff
je 0x14009a863
call qword [sym.imp.KERNEL32.dll_FindClose]
mov qword [rsp + 0x50], 0xffffffffffffffff
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]
nop
lea rcx, [rbp + 0x1b0]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rbp + 0x1a8]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov eax, esi
mov rcx, qword [rbp + 0x2e0]
xor rcx, rsp
call fcn.1400c7c30
mov rbx, qword [rsp + 0x420]
add rsp, 0x3f0
pop rdi
pop rsi
pop rbp
ret