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

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r15
lea rbp, [rsp - 0x240]
sub rsp, 0x340
mov rax, qword [0x140043db0]
xor rax, rsp
mov qword [rbp + 0x230], rax
mov r13b, dl
mov rbx, rcx
mov qword [rsp + 0x70], rcx
mov qword [rsp + 0x58], r8
xor edi, edi
or eax, 0xffffffff
cmp r8d, eax
jne 0x14000e5f5
shr r8, 0x20
cmp r8d, eax
mov r15b, 1
je 0x14000e5f8
mov r15b, dil
mov rax, qword [rcx + 0x10]
test rax, rax
jne 0x14000e60b
mov eax, 0x80070057
jmp 0x14000e9ce
movdqa xmm0, xmmword [0x1400300d0]
movdqu xmmword [rbp - 0x58], xmm0
mov word [rbp - 0x68], di
cmp qword [rcx + 0x18], 8
jb 0x14000e626
mov rcx, qword [rcx]
mov rdx, rbx
cmp word [rcx + rax*2 - 2], 0x5c
je 0x14000e65a
lea r8, [0x1400300c0]
lea rcx, [rsp + 0x78]
call fcn.140007840
mov rdx, rax
lea rcx, [rbp - 0x68]
call fcn.140008254
lea rcx, [rsp + 0x78]
call fcn.1400082a4
jmp 0x14000e663
lea rcx, [rbp - 0x68]
call fcn.140007cd0
lea r8, [0x140032e7c]
lea rdx, [rbp - 0x68]
lea rcx, [rbp - 0x48]
call fcn.140007840
nop
lea rcx, [rbp - 0x48]
cmp qword [rbp - 0x30], 8
cmovae rcx, qword [rbp - 0x48]
lea rdx, [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
nop dword [rax + rax]
mov r12, rax
cmp rax, 0xffffffffffffffff
jne 0x14000e719
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov edi, eax
call fcn.140008d5c
cmp dword [rax], 3
jbe 0x14000e703
mov dword [rsp + 0x40], edi
cmp qword [rbx + 0x18], 8
jb 0x14000e6c5
mov rbx, qword [rbx]
mov qword [rsp + 0x50], rbx
lea rcx, [0x140032e80]
mov qword [rsp + 0x60], rcx
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x20], rcx
lea rdx, [0x14003a347]
mov rcx, rax
call fcn.1400022ec
test edi, edi
jle 0x14000e9b9
movzx edi, di
or edi, 0x80070000
jmp 0x14000e9b9
mov esi, edi
mov ebx, 0x2e
lea r8, [rbp + 0xc]
lea rdx, [rbp - 0x68]
lea rcx, [rsp + 0x78]
call fcn.140007840
nop
test byte [rbp - 0x20], 0x10
je 0x14000e7ac
movzx ecx, word [rbp + 0xc]
movzx eax, bx
sub ecx, eax
jne 0x14000e74d
movzx ecx, word [rbp + 0xe]
movzx eax, di
sub ecx, eax
test ecx, ecx
je 0x14000e8d4
movzx ecx, word [rbp + 0xc]
movzx eax, bx
sub ecx, eax
jne 0x14000e774
movzx ecx, word [rbp + 0xe]
movzx eax, bx
sub ecx, eax
jne 0x14000e774
movzx ecx, word [rbp + 0x10]
movzx eax, di
sub ecx, eax
test ecx, ecx
je 0x14000e8d4
lea rcx, [rsp + 0x78]
test r15b, r15b
je 0x14000e79a
or eax, 0xffffffff
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x54], eax
mov r8, qword [rsp + 0x50]
mov dl, 1
jmp 0x14000e7a2
mov r8, qword [rsp + 0x58]
mov dl, r13b
call fcn.14000e5a4
jmp 0x14000e8d4
test r15b, r15b
jne 0x14000e84d
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 0xc]
call qword [sym.imp.KERNEL32.dll_CompareFileTime]
nop dword [rax + rax]
cmp eax, 1
jne 0x14000e84d
call fcn.140008d5c
cmp dword [rax], 4
jbe 0x14000e8d4
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0x60], rcx
mov rcx, qword [rbp - 0xc]
mov qword [rsp + 0x40], rcx
lea rcx, [rsp + 0x78]
cmp qword [rbp - 0x70], 8
cmovae rcx, qword [rsp + 0x78]
mov qword [rsp + 0x68], rcx
lea rcx, str.LastWriteTime_is_fresh._Skip_deleting_the_file
mov qword [rsp + 0x48], rcx
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x38], rcx
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x20], rcx
lea rdx, [0x14003a28a]
mov rcx, rax
call fcn.140001918
jmp 0x14000e8d4
lea rcx, [rsp + 0x78]
call fcn.14001ee0c
mov edi, eax
test eax, 0xfffffffc
jne 0x14000e865
cmp eax, 1
jne 0x14000e8d2
test edi, edi
jg 0x14000e86d
mov esi, edi
jmp 0x14000e876
movzx esi, di
or esi, 0x80070000
call fcn.140008d5c
cmp dword [rax], 3
jbe 0x14000e8d2
mov dword [rsp + 0x40], edi
lea rcx, [rsp + 0x78]
cmp qword [rbp - 0x70], 8
cmovae rcx, qword [rsp + 0x78]
mov qword [rsp + 0x48], rcx
lea rcx, str.Failed_deleting_file
mov qword [rsp + 0x68], rcx
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x20], rcx
lea rdx, [0x14003a24e]
mov rcx, rax
call fcn.1400022ec
xor edi, edi
lea rcx, [rsp + 0x78]
call fcn.1400082a4
lea rdx, [rbp - 0x20]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
nop dword [rax + rax]
test eax, eax
jne 0x14000e720
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FindClose]
nop dword [rax + rax]
test r13b, r13b
mov rbx, qword [rsp + 0x70]
je 0x14000e9b7
mov rdx, rbx
cmp qword [rbx + 0x18], 8
jb 0x14000e923
mov rdx, qword [rbx]
lea rcx, [rsp + 0x78]
call fcn.140007720
lea rcx, [rsp + 0x78]
call fcn.14001ee0c
mov edi, eax
lea rcx, [rsp + 0x78]
call fcn.1400082a4
test edi, 0xfffffffc
jne 0x14000e950
cmp edi, 1
jne 0x14000e9b7
test edi, edi
jg 0x14000e958
mov esi, edi
jmp 0x14000e961
movzx esi, di
or esi, 0x80070000
call fcn.140008d5c
cmp dword [rax], 3
jbe 0x14000e9b7
mov dword [rsp + 0x40], edi
cmp qword [rbx + 0x18], 8
jb 0x14000e979
mov rbx, qword [rbx]
mov qword [rsp + 0x70], rbx
lea rcx, str.Failed_deleting_folder
mov qword [rsp + 0x48], rcx
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x20], rcx
lea rdx, [0x14003a30a]
mov rcx, rax
call fcn.1400022ec
mov edi, esi
lea rcx, [rbp - 0x48]
call fcn.1400082a4
nop
lea rcx, [rbp - 0x68]
call fcn.1400082a4
mov eax, edi
mov rcx, qword [rbp + 0x230]
xor rcx, rsp
call fcn.14000f940
add rsp, 0x340
pop r15
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret