Function at 0x14002927c
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 - 0x278]
sub rsp, 0x340
mov qword [rsp + 0x78], 0xfffffffffffffffe
mov qword [rax + 0x20], rbx
mov rax, qword [0x14004f0e8]
xor rax, rsp
mov qword [rbp + 0x230], rax
mov r13b, dl
mov rdi, rcx
mov qword [rsp + 0x70], rcx
mov qword [rsp + 0x58], r8
xor ebx, ebx
or eax, 0xffffffff
cmp r8d, eax
jne 0x1400292dc
shr r8, 0x20
cmp r8d, eax
mov r15b, 1
je 0x1400292df
mov r15b, bl
mov rax, qword [rcx + 0x10]
test rax, rax
jne 0x1400292f2
mov eax, 0x80070057
jmp 0x1400296a8
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
movdqa xmm1, xmmword [0x140036140]
movdqu xmmword [rbp - 0x50], xmm1
mov word [rbp - 0x60], bx
cmp qword [rcx + 0x18], 8
jb 0x140029314
mov rcx, qword [rcx]
mov rdx, rdi
cmp word [rcx + rax*2 - 2], 0x5c
je 0x140029346
lea r8, [0x140036100]
lea rcx, [rbp - 0x80]
call fcn.1400101cc
mov rdx, rax
lea rcx, [rbp - 0x60]
call fcn.14000e988
lea rcx, [rbp - 0x80]
call fcn.14000e904
jmp 0x14002934f
lea rcx, [rbp - 0x60]
call fcn.1400102b4
lea r8, [0x14003ca4c]
lea rdx, [rbp - 0x60]
lea rcx, [rbp - 0x40]
call fcn.1400101cc
nop
lea rcx, [rbp - 0x40]
cmp qword [rbp - 0x28], 8
cmovae rcx, qword [rbp - 0x40]
lea rdx, [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
nop dword [rax + rax]
mov r12, rax
cmp rax, 0xffffffffffffffff
jne 0x140029406
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
call fcn.14000d2fc
mov rsi, rax
cmp dword [rax], 3
jbe 0x1400293f0
mov dword [rsp + 0x40], ebx
mov rcx, rdi
call fcn.140007720
mov qword [rsp + 0x50], rax
lea rax, [0x14003ca50]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea rdx, [0x140043b97]
mov rcx, rsi
call fcn.1400075bc
test ebx, ebx
jle 0x140029693
movzx ebx, bx
or ebx, 0x80070000
jmp 0x140029693
mov esi, ebx
mov edi, 0x2e
mov r14d, 0x80070000
lea r8, [rbp + 0xc]
lea rdx, [rbp - 0x60]
lea rcx, [rbp - 0x80]
call fcn.1400101cc
nop
test byte [rbp - 0x20], 0x10
je 0x140029494
movzx ecx, word [rbp + 0xc]
sub ecx, edi
jne 0x14002943c
movzx ecx, word [rbp + 0xe]
movzx eax, bx
sub ecx, eax
test ecx, ecx
je 0x1400295b4
movzx ecx, word [rbp + 0xc]
sub ecx, edi
jne 0x14002945d
movzx ecx, word [rbp + 0xe]
sub ecx, edi
jne 0x14002945d
movzx ecx, word [rbp + 0x10]
movzx eax, bx
sub ecx, eax
test ecx, ecx
je 0x1400295b4
lea rcx, [rbp - 0x80]
test r15b, r15b
je 0x140029482
or eax, 0xffffffff
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x54], eax
mov r8, qword [rsp + 0x50]
mov dl, 1
jmp 0x14002948a
mov r8, qword [rsp + 0x58]
mov dl, r13b
call fcn.14002927c
jmp 0x1400295b4
test r15b, r15b
jne 0x140029533
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 0xc]
call qword [sym.imp.KERNEL32.dll_CompareFileTime]
nop dword [rax + rax]
cmp eax, 1
jne 0x140029533
call fcn.14000d2fc
cmp dword [rax], 4
jbe 0x1400295b4
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0x60], rcx
mov rcx, qword [rbp - 0xc]
mov qword [rsp + 0x40], rcx
lea rcx, [rbp - 0x80]
cmp qword [rbp - 0x68], 8
cmovae rcx, qword [rbp - 0x80]
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, [0x140043ada]
mov rcx, rax
call fcn.140002334
jmp 0x1400295b4
lea rcx, [rbp - 0x80]
call fcn.140029168
mov ebx, eax
test eax, 0xfffffffc
jne 0x14002954a
cmp eax, 1
jne 0x1400295b2
test ebx, ebx
jg 0x140029552
mov esi, ebx
jmp 0x140029558
movzx esi, bx
or esi, r14d
call fcn.14000d2fc
cmp dword [rax], 3
jbe 0x1400295b2
mov dword [rsp + 0x40], ebx
lea rcx, [rbp - 0x80]
cmp qword [rbp - 0x68], 8
cmovae rcx, qword [rbp - 0x80]
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, [0x140043a9e]
mov rcx, rax
call fcn.1400075bc
xor ebx, ebx
lea rcx, [rbp - 0x80]
call fcn.14000e904
lea rdx, [rbp - 0x20]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
nop dword [rax + rax]
test eax, eax
jne 0x140029413
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FindClose]
nop dword [rax + rax]
test r13b, r13b
mov rdi, qword [rsp + 0x70]
je 0x140029691
mov rdx, rdi
cmp qword [rdi + 0x18], 8
jb 0x140029602
mov rdx, qword [rdi]
lea rcx, [rbp - 0x80]
call fcn.14000e090
lea rcx, [rbp - 0x80]
call fcn.140029168
mov ebx, eax
lea rcx, [rbp - 0x80]
call fcn.14000e904
test ebx, 0xfffffffc
jne 0x14002962c
cmp ebx, 1
jne 0x140029691
test ebx, ebx
jg 0x140029634
mov esi, ebx
jmp 0x14002963a
movzx esi, bx
or esi, r14d
call fcn.14000d2fc
mov r14, rax
cmp dword [rax], 3
jbe 0x140029691
mov dword [rsp + 0x40], ebx
mov rcx, rdi
call fcn.140007720
mov qword [rsp + 0x70], rax
lea rax, str.Failed_deleting_folder
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
lea rdx, [0x140043b5a]
mov rcx, r14
call fcn.1400075bc
mov ebx, esi
lea rcx, [rbp - 0x40]
call fcn.14000e904
nop
lea rcx, [rbp - 0x60]
call fcn.14000e904
mov eax, ebx
mov rcx, qword [rbp + 0x230]
xor rcx, rsp
call fcn.140011260
mov rbx, qword [rsp + 0x398]
add rsp, 0x340
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret