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

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x288]
sub rsp, 0x350
mov qword [rbp - 0x80], 0xfffffffffffffffe
mov qword [rax + 0x20], rbx
mov rax, qword [0x14006cfc0]
xor rax, rsp
mov qword [rbp + 0x240], rax
mov r15b, dl
mov byte [rsp + 0x40], dl
mov rsi, rcx
mov qword [rsp + 0x78], rcx
mov qword [rsp + 0x60], r8
xor edi, edi
or eax, 0xffffffff
cmp r8d, eax
jne 0x14002e87b
shr r8, 0x20
cmp r8d, eax
mov r12b, 1
je 0x14002e87e
mov r12b, dil
mov rbx, qword [rcx + 0x10]
test rbx, rbx
jne 0x14002e891
mov eax, 0x80070057
jmp 0x14002ec4e
xorps xmm0, xmm0
movups xmmword [rbp - 0x58], xmm0
movdqa xmm1, xmmword [0x14004bc00]
movdqu xmmword [rbp - 0x48], xmm1
mov word [rbp - 0x58], di
call fcn.140009b30
mov rdx, rsi
cmp word [rax + rbx*2 - 2], 0x5c
je 0x14002e8e0
lea r8, [0x14004bc88]
lea rcx, [rbp - 0x78]
call fcn.140014e28
mov rdx, rax
lea rcx, [rbp - 0x58]
call fcn.140013ec8
lea rcx, [rbp - 0x78]
call fcn.140013e34
jmp 0x14002e8e9
lea rcx, [rbp - 0x58]
call fcn.140014d68
lea r8, [0x14005233c]
lea rdx, [rbp - 0x58]
lea rcx, [rbp - 0x38]
call fcn.140014e28
nop
xor edx, edx
mov r8d, 0x250
lea rcx, [rbp - 0x10]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
lea rcx, [rbp - 0x38]
call fcn.140009b30
lea rdx, [rbp - 0x10]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
nop dword [rax + rax]
mov r13, rax
cmp rax, 0xffffffffffffffff
jne 0x14002e9af
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
call fcn.14001279c
mov rdi, rax
cmp dword [rax], 3
jbe 0x14002e999
mov dword [rsp + 0x48], ebx
mov rcx, rsi
call fcn.140009b30
mov qword [rsp + 0x58], rax
lea rax, [0x140052340]
mov qword [rsp + 0x68], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
lea rdx, [0x14005d203]
mov rcx, rdi
call fcn.1400099c8
test ebx, ebx
jle 0x14002ec39
movzx ebx, bx
or ebx, 0x80070000
jmp 0x14002ec39
mov ebx, edi
mov esi, 0x2e
mov r14d, 0x80070000
lea r8, [rbp + 0x1c]
lea rdx, [rbp - 0x58]
lea rcx, [rbp - 0x78]
call fcn.140014e28
nop
test byte [rbp - 0x10], 0x10
je 0x14002ea3d
movzx ecx, word [rbp + 0x1c]
sub ecx, esi
jne 0x14002e9e5
movzx ecx, word [rbp + 0x1e]
movzx eax, di
sub ecx, eax
test ecx, ecx
je 0x14002eb5d
movzx ecx, word [rbp + 0x1c]
sub ecx, esi
jne 0x14002ea06
movzx ecx, word [rbp + 0x1e]
sub ecx, esi
jne 0x14002ea06
movzx ecx, word [rbp + 0x20]
movzx eax, di
sub ecx, eax
test ecx, ecx
je 0x14002eb5d
lea rcx, [rbp - 0x78]
test r12b, r12b
je 0x14002ea2b
or eax, 0xffffffff
mov dword [rsp + 0x58], eax
mov dword [rsp + 0x5c], eax
mov r8, qword [rsp + 0x58]
mov dl, 1
jmp 0x14002ea33
mov r8, qword [rsp + 0x60]
mov dl, r15b
call fcn.14002e818
jmp 0x14002eb5d
test r12b, r12b
jne 0x14002ead9
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 4]
call qword [sym.imp.KERNEL32.dll_CompareFileTime]
nop dword [rax + rax]
cmp eax, 1
jne 0x14002ead9
call fcn.14001279c
mov rdi, rax
cmp dword [rax], 4
jbe 0x14002ead2
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x68], rcx
mov rcx, qword [rbp + 4]
mov qword [rsp + 0x48], rcx
lea rcx, [rbp - 0x78]
call fcn.140009b30
mov qword [rsp + 0x70], rax
lea rax, str.LastWriteTime_is_fresh._Skip_deleting_the_file
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea rdx, [0x14005d146]
mov rcx, rdi
call fcn.1400024c4
nop
xor edi, edi
jmp 0x14002eb5d
lea rcx, [rbp - 0x78]
call fcn.14002e704
mov edi, eax
test eax, 0xfffffffc
jne 0x14002eaf0
cmp eax, 1
jne 0x14002eb5b
test edi, edi
jg 0x14002eaf8
mov ebx, edi
jmp 0x14002eafe
movzx ebx, di
or ebx, r14d
call fcn.14001279c
mov r15, rax
cmp dword [rax], 3
jbe 0x14002eb56
mov dword [rsp + 0x48], edi
lea rcx, [rbp - 0x78]
call fcn.140009b30
mov qword [rsp + 0x50], rax
lea rax, str.Failed_deleting_file
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
lea rdx, [0x14005d10a]
mov rcx, r15
call fcn.1400099c8
mov r15b, byte [rsp + 0x40]
xor edi, edi
lea rcx, [rbp - 0x78]
call fcn.140013e34
lea rdx, [rbp - 0x10]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
nop dword [rax + rax]
test eax, eax
jne 0x14002e9bc
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_FindClose]
nop dword [rax + rax]
test r15b, r15b
mov rsi, qword [rsp + 0x78]
je 0x14002ec39
mov rcx, rsi
call fcn.140009b30
mov rdx, rax
lea rcx, [rbp - 0x78]
call fcn.14001356c
lea rcx, [rbp - 0x78]
call fcn.14002e704
mov edi, eax
lea rcx, [rbp - 0x78]
call fcn.140013e34
test edi, 0xfffffffc
jne 0x14002ebd3
cmp edi, 1
jne 0x14002ec39
test edi, edi
jg 0x14002ebdb
mov ebx, edi
jmp 0x14002ebe1
movzx ebx, di
or ebx, r14d
call fcn.14001279c
mov r14, rax
cmp dword [rax], 3
jbe 0x14002ec39
mov dword [rsp + 0x48], edi
mov rcx, rsi
call fcn.140009b30
mov qword [rsp + 0x78], rax
lea rax, str.Failed_deleting_folder
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea rdx, [0x14005d1c6]
mov rcx, r14
call fcn.1400099c8
nop
lea rcx, [rbp - 0x38]
call fcn.140013e34
nop
lea rcx, [rbp - 0x58]
call fcn.140013e34
mov eax, ebx
mov rcx, qword [rbp + 0x240]
xor rcx, rsp
call fcn.1400165f0
mov rbx, qword [rsp + 0x3a8]
add rsp, 0x350
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret