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

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
lea rbp, [rax - 0x298]
sub rsp, 0x380
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rax + 0x20], rbx
mov rax, qword [0x14049e510]
xor rax, rsp
mov qword [rbp + 0x270], rax
mov byte [rsp + 0x31], dl
mov rbx, rcx
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x38], r8
mov rax, r8
shr rax, 0x20
xor edi, edi
or ecx, 0xffffffff
cmp r8d, ecx
jne 0x1401f7e4d
cmp eax, ecx
mov byte [rsp + 0x30], 1
je 0x1401f7e52
mov byte [rsp + 0x30], dil
mov rax, qword [rbx + 0x10]
test rax, rax
jne 0x1401f7e65
mov eax, 0x80070057
jmp 0x1401f83b3
movdqa xmm0, xmmword [0x14038ac40]
movdqu xmmword [rbp - 0x70], xmm0
mov word [rbp - 0x80], di
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x1401f7e83
mov rcx, qword [rbx]
mov rdx, rbx
cmp word [rcx + rax*2 - 2], 0x5c
je 0x1401f7ee2
lea r8, [0x140347380]
lea rcx, [rsp + 0x60]
call fcn.14005d2c0
mov rdi, rax
lea rax, [rbp - 0x80]
cmp rax, rdi
je 0x1401f7ed4
lea rcx, [rbp - 0x80]
call fcn.14004e0f0
movups xmm0, xmmword [rdi]
movups xmmword [rbp - 0x80], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rbp - 0x70], xmm1
xor eax, eax
mov qword [rdi + 0x10], rax
mov qword [rdi + 0x18], 7
mov word [rdi], ax
lea rcx, [rsp + 0x60]
call fcn.14004e0f0
xor edi, edi
jmp 0x1401f7eeb
lea rcx, [rbp - 0x80]
call fcn.140064f70
lea r8, [0x14035e440]
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x60]
call fcn.14005d2c0
nop
lea rcx, [rbp - 0x60]
cmp qword [rbp - 0x48], 8
cmovae rcx, qword [rbp - 0x60]
lea rdx, [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rsp + 0x48], rax
cmp rax, 0xffffffffffffffff
jne 0x1401f7ff1
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov esi, eax
call fcn.14004d8a4
mov rcx, qword [rax + 8]
cmp dword [rcx], 3
jbe 0x1401f7fde
lea rax, str.Failed_deleting_folder_content
mov qword [rbp + 0x230], rax
mov qword [rbp + 0x238], 0x3e
cmp qword [rbx + 0x18], 8
jb 0x1401f7f64
mov rbx, qword [rbx]
lea rdx, [0x140344690]
mov rax, rdi
test rbx, rbx
je 0x1401f7f83
mov rdx, rbx
or rax, 0xffffffffffffffff
inc rax
cmp word [rbx + rax*2], di
jne 0x1401f7f7a
mov qword [rbp + 0x240], rdx
lea eax, [rax*2 + 2]
mov dword [rbp + 0x248], eax
mov dword [rbp + 0x24c], edi
mov dword [rsp + 0x34], esi
lea rax, [rsp + 0x34]
mov qword [rbp + 0x250], rax
mov qword [rbp + 0x258], 4
lea rax, [rbp + 0x210]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 5
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x1403dfdfd]
call fcn.140001158
movzx edi, si
or edi, 0x80070000
test esi, esi
cmovle edi, esi
jmp 0x1401f839e
lea rsi, [0x140344690]
mov bl, byte [rsp + 0x30]
lea r8, [rbp - 0x14]
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x60]
call fcn.14005d2c0
nop
test byte [rbp - 0x40], 0x10
je 0x1401f8086
movzx ecx, word [rbp - 0x14]
movzx eax, word [rbp - 0x12]
cmp cx, word [0x14034d688]
jne 0x1401f8033
cmp ax, word [0x14034d68a]
je 0x1401f8256
cmp cx, word [0x140368180]
jne 0x1401f8056
cmp ax, word [0x140368182]
jne 0x1401f8056
movzx eax, word [rbp - 0x10]
cmp ax, word [0x140368184]
je 0x1401f8256
lea rcx, [rsp + 0x60]
test bl, bl
je 0x1401f8073
or eax, 0xffffffff
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x44], eax
mov r8, qword [rsp + 0x40]
mov dl, 1
jmp 0x1401f807c
mov r8, qword [rsp + 0x38]
mov dl, byte [rsp + 0x31]
call fcn.1401f7df0
jmp 0x1401f8256
test bl, bl
jne 0x1401f8175
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x2c]
call qword [sym.imp.KERNEL32.dll_CompareFileTime]
cmp eax, 1
jne 0x1401f8175
call fcn.14004d8a4
mov r10, qword [rax + 8]
cmp dword [r10], 4
jbe 0x1401f8256
lea rax, str.LastWriteTime_is_fresh._Skip_deleting_the_file
mov qword [rbp + 0x230], rax
mov qword [rbp + 0x238], 0x5e
xor r8d, r8d
lea rax, [rsp + 0x60]
cmp qword [rsp + 0x78], 8
cmovae rax, qword [rsp + 0x60]
mov rdx, rsi
mov ecx, r8d
test rax, rax
je 0x1401f8102
mov rdx, rax
or rcx, 0xffffffffffffffff
inc rcx
cmp word [rax + rcx*2], r8w
jne 0x1401f80f8
mov qword [rbp + 0x240], rdx
lea eax, [rcx*2 + 2]
mov dword [rbp + 0x248], eax
mov dword [rbp + 0x24c], r8d
lea rax, [rbp - 0x2c]
mov qword [rbp + 0x250], rax
mov qword [rbp + 0x258], 8
lea rax, [rsp + 0x38]
mov qword [rbp + 0x260], rax
mov qword [rbp + 0x268], 8
lea rax, [rbp + 0x210]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 6
xor r9d, r9d
lea rdx, [0x1403e005f]
mov rcx, r10
call fcn.140001158
jmp 0x1401f8256
lea rcx, [rsp + 0x60]
call fcn.1401f7d58
mov dword [rsp + 0x34], eax
test eax, 0xfffffffc
jne 0x1401f8193
cmp eax, 1
jne 0x1401f8256
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
call fcn.14004d8a4
mov r10, qword [rax + 8]
cmp dword [r10], 3
jbe 0x1401f8256
lea rax, str.Failed_deleting_file
mov qword [rbp + 0x230], rax
mov qword [rbp + 0x238], MsiGetActiveDatabase
xor r8d, r8d
lea rax, [rsp + 0x60]
cmp qword [rsp + 0x78], 8
cmovae rax, qword [rsp + 0x60]
mov rdx, rsi
mov ecx, r8d
test rax, rax
je 0x1401f81fd
mov rdx, rax
or rcx, 0xffffffffffffffff
inc rcx
cmp word [rax + rcx*2], r8w
jne 0x1401f81f3
mov qword [rbp + 0x240], rdx
lea eax, [rcx*2 + 2]
mov dword [rbp + 0x248], eax
mov dword [rbp + 0x24c], r8d
lea rax, [rsp + 0x34]
mov qword [rbp + 0x250], rax
mov qword [rbp + 0x258], 4
lea rax, [rbp + 0x210]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 5
xor r9d, r9d
lea rdx, [0x1403e0245]
mov rcx, r10
call fcn.140001158
nop
lea rcx, [rsp + 0x60]
call fcn.14004e0f0
lea rdx, [rbp - 0x40]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1401f7ffc
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
cmp byte [rsp + 0x31], al
mov rbx, qword [rsp + 0x50]
je 0x1401f839e
mov rdx, rbx
cmp qword [rbx + 0x18], 8
jb 0x1401f82a0
mov rdx, qword [rbx]
movdqa xmm0, xmmword [0x14038ac40]
movdqu xmmword [rsp + 0x70], xmm0
mov word [rsp + 0x60], ax
lea rcx, [rsp + 0x60]
call fcn.14004d5c4
lea rcx, [rsp + 0x60]
call fcn.1401f7d58
mov dword [rsp + 0x34], eax
lea rcx, [rsp + 0x60]
call fcn.14004e0f0
mov eax, dword [rsp + 0x34]
test eax, 0xfffffffc
jne 0x1401f82e9
cmp eax, 1
jne 0x1401f839e
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
call fcn.14004d8a4
mov rcx, qword [rax + 8]
cmp dword [rcx], 3
jbe 0x1401f839e
lea rax, str.Failed_deleting_folder
mov qword [rbp + 0x230], rax
mov qword [rbp + 0x238], 0x2e
xor edx, edx
cmp qword [rbx + 0x18], 8
jb 0x1401f832e
mov rbx, qword [rbx]
mov rax, rdx
test rbx, rbx
je 0x1401f8346
mov rsi, rbx
or rax, 0xffffffffffffffff
inc rax
cmp word [rbx + rax*2], dx
jne 0x1401f833d
mov qword [rbp + 0x240], rsi
lea eax, [rax*2 + 2]
mov dword [rbp + 0x248], eax
mov dword [rbp + 0x24c], edx
lea rax, [rsp + 0x34]
mov qword [rbp + 0x250], rax
mov qword [rbp + 0x258], 4
lea rax, [rbp + 0x210]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 5
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x1403e0022]
call fcn.140001158
nop
lea rcx, [rbp - 0x60]
call fcn.14004e0f0
nop
lea rcx, [rbp - 0x80]
call fcn.14004e0f0
mov eax, edi
mov rcx, qword [rbp + 0x270]
xor rcx, rsp
call fcn.1402dfdb0
mov rbx, qword [rsp + 0x3b8]
add rsp, 0x380
pop rdi
pop rsi
pop rbp
ret