Function at 0x1400d6460
Capabilities:
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push rbp
push rdi
push r14
lea rbp, [rsp - 0x2ab0]
mov eax, 0x2bb0
call fcn.1400f7780
sub rsp, rax
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rsp + 0x2be0], rbx
mov qword [rsp + 0x2be8], rsi
mov rax, qword [0x1401b5148]
xor rax, rsp
mov qword [rbp + 0x2aa0], rax
mov r14, rdx
mov rsi, rcx
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
mov r8, rsi
lea r9, [rbp + 0x180]
sub r9, rsi
nop dword [rax]
nop word [rax + rax]
movzx eax, word [r8]
mov word [r9 + r8], ax
lea r8, [r8 + 2]
test ax, ax
jne 0x1400d64d0
lea rcx, [rbp + 0x180]
sub rcx, 2
nop dword [rax]
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x1400d64f0
mov eax, dword [0x14015fdd4]
mov dword [rcx], eax
movzx eax, word [0x14015fdd8]
mov word [rcx + 4], ax
mov rcx, rsi
lea rbx, [rbp + 0x390]
sub rbx, rsi
nop word [rax + rax]
movzx eax, word [rcx]
mov word [rbx + rcx], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x1400d6520
lea rcx, [rbp + 0x390]
sub rcx, 2
nop dword [rax + rax]
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x1400d6540
mov eax, dword [0x140145a80]
mov dword [rcx], eax
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x180]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x1400d6733
xor edx, edx
nop dword [rax]
nop word [rax + rax]
movzx ecx, word [rbp + rdx + 0x390]
mov word [rbp + rdx + 0x180], cx
lea rdx, [rdx + 2]
test cx, cx
jne 0x1400d6580
nop dword [rax]
lea rdx, [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x1400d671e
lea rcx, [rsp + 0x5c]
call fcn.1400e1180
test eax, eax
jne 0x1400d65a0
mov rcx, rsi
nop word [rax + rax]
movzx eax, word [rcx]
mov word [rbx + rcx], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x1400d65d0
lea rcx, [rbp + 0x390]
sub rcx, 2
nop dword [rax + rax]
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x1400d65f0
mov eax, dword [0x140145a80]
mov dword [rcx], eax
lea rax, [rbp + 0x390]
sub rax, 2
nop dword [rax]
lea rax, [rax + 2]
cmp word [rax], 0
jne 0x1400d6610
lea r8, [rsp + 0x5c]
xor edx, edx
nop dword [rax]
nop word [rax + rax]
movzx ecx, word [r8 + rdx*2]
mov word [rax + rdx*2], cx
lea rdx, [rdx + 1]
test cx, cx
jne 0x1400d6630
lea rcx, [rbp + 0x390]
call qword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
mov rdx, rax
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc140u.dll_CMFCControlRendererInfo::CMFCControlRendererInfo]
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___1]
mov r8, r14
sub r8, rax
nop
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x1400d6684
add rax, 2
test ecx, ecx
jne 0x1400d6670
test edx, edx
jne 0x1400d65a0
mov eax, dword [rsp + 0x30]
test al, 0x10
je 0x1400d66ce
mov rdx, r14
lea rcx, [rbp + 0x390]
call fcn.1400d6460
xor ecx, ecx
nop word [rax + rax]
movzx eax, word [rbp + rcx + 0x180]
mov word [rbp + rcx + 0x390], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x1400d66b0
jmp 0x1400d65a0
test al, 1
je 0x1400d66e4
mov edx, 0x80
lea rcx, [rbp + 0x390]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wchmod]
lea rcx, [rbp + 0x390]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
xor ecx, ecx
nop dword [rax]
nop word [rax + rax]
movzx eax, word [rbp + rcx + 0x180]
mov word [rbp + rcx + 0x390], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x1400d6700
jmp 0x1400d65a0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, rdi
cmp eax, 0x12
je 0x1400d6767
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
xor eax, eax
mov rcx, qword [rbp + 0x2aa0]
xor rcx, rsp
call fcn.1400f76d0
lea r11, [rsp + 0x2bb0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
jmp 0x1400d6740