Function at 0x14000e494
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 [0x140037db0]
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 0x14000e4e5
shr r8, 0x20
cmp r8d, eax
mov r15b, 1
je 0x14000e4e8
mov r15b, dil
mov rax, qword [rcx + 0x10]
test rax, rax
jne 0x14000e4fb
mov eax, 0x80070057
jmp 0x14000e8be
movdqa xmm0, xmmword [0x140027c20]
movdqu xmmword [rbp - 0x58], xmm0
mov word [rbp - 0x68], di
cmp qword [rcx + 0x18], 8
jb 0x14000e516
mov rcx, qword [rcx]
mov rdx, rbx
cmp word [rcx + rax*2 - 2], 0x5c
je 0x14000e54a
lea r8, [0x140027c10]
lea rcx, [rsp + 0x78]
call fcn.140007590
mov rdx, rax
lea rcx, [rbp - 0x68]
call fcn.140007f94
lea rcx, [rsp + 0x78]
call fcn.140007fe4
jmp 0x14000e553
lea rcx, [rbp - 0x68]
call fcn.140007a10
lea r8, [0x14002aa6c]
lea rdx, [rbp - 0x68]
lea rcx, [rbp - 0x48]
call fcn.140007590
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 0x14000e609
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov edi, eax
call fcn.140008bdc
cmp dword [rax], 3
jbe 0x14000e5f3
mov dword [rsp + 0x40], edi
cmp qword [rbx + 0x18], 8
jb 0x14000e5b5
mov rbx, qword [rbx]
mov qword [rsp + 0x50], rbx
lea rcx, [0x14002aa70]
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, [0x14002e877]
mov rcx, rax
call fcn.1400022ec
test edi, edi
jle 0x14000e8a9
movzx edi, di
or edi, 0x80070000
jmp 0x14000e8a9
mov esi, edi
mov ebx, 0x2e
lea r8, [rbp + 0xc]
lea rdx, [rbp - 0x68]
lea rcx, [rsp + 0x78]
call fcn.140007590
nop
test byte [rbp - 0x20], 0x10
je 0x14000e69c
movzx ecx, word [rbp + 0xc]
movzx eax, bx
sub ecx, eax
jne 0x14000e63d
movzx ecx, word [rbp + 0xe]
movzx eax, di
sub ecx, eax
test ecx, ecx
je 0x14000e7c4
movzx ecx, word [rbp + 0xc]
movzx eax, bx
sub ecx, eax
jne 0x14000e664
movzx ecx, word [rbp + 0xe]
movzx eax, bx
sub ecx, eax
jne 0x14000e664
movzx ecx, word [rbp + 0x10]
movzx eax, di
sub ecx, eax
test ecx, ecx
je 0x14000e7c4
lea rcx, [rsp + 0x78]
test r15b, r15b
je 0x14000e68a
or eax, 0xffffffff
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x54], eax
mov r8, qword [rsp + 0x50]
mov dl, 1
jmp 0x14000e692
mov r8, qword [rsp + 0x58]
mov dl, r13b
call fcn.14000e494
jmp 0x14000e7c4
test r15b, r15b
jne 0x14000e73d
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 0xc]
call qword [sym.imp.KERNEL32.dll_CompareFileTime]
nop dword [rax + rax]
cmp eax, 1
jne 0x14000e73d
call fcn.140008bdc
cmp dword [rax], 4
jbe 0x14000e7c4
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, [0x14002e7ba]
mov rcx, rax
call fcn.140001918
jmp 0x14000e7c4
lea rcx, [rsp + 0x78]
call fcn.14001ebcc
mov edi, eax
test eax, 0xfffffffc
jne 0x14000e755
cmp eax, 1
jne 0x14000e7c2
test edi, edi
jg 0x14000e75d
mov esi, edi
jmp 0x14000e766
movzx esi, di
or esi, 0x80070000
call fcn.140008bdc
cmp dword [rax], 3
jbe 0x14000e7c2
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, [0x14002e77e]
mov rcx, rax
call fcn.1400022ec
xor edi, edi
lea rcx, [rsp + 0x78]
call fcn.140007fe4
lea rdx, [rbp - 0x20]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
nop dword [rax + rax]
test eax, eax
jne 0x14000e610
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FindClose]
nop dword [rax + rax]
test r13b, r13b
mov rbx, qword [rsp + 0x70]
je 0x14000e8a7
mov rdx, rbx
cmp qword [rbx + 0x18], 8
jb 0x14000e813
mov rdx, qword [rbx]
lea rcx, [rsp + 0x78]
call fcn.140007470
lea rcx, [rsp + 0x78]
call fcn.14001ebcc
mov edi, eax
lea rcx, [rsp + 0x78]
call fcn.140007fe4
test edi, 0xfffffffc
jne 0x14000e840
cmp edi, 1
jne 0x14000e8a7
test edi, edi
jg 0x14000e848
mov esi, edi
jmp 0x14000e851
movzx esi, di
or esi, 0x80070000
call fcn.140008bdc
cmp dword [rax], 3
jbe 0x14000e8a7
mov dword [rsp + 0x40], edi
cmp qword [rbx + 0x18], 8
jb 0x14000e869
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, [0x14002e83a]
mov rcx, rax
call fcn.1400022ec
mov edi, esi
lea rcx, [rbp - 0x48]
call fcn.140007fe4
nop
lea rcx, [rbp - 0x68]
call fcn.140007fe4
mov eax, edi
mov rcx, qword [rbp + 0x230]
xor rcx, rsp
call fcn.14000f830
add rsp, 0x340
pop r15
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret