Function at 0x140035d6c
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 [0x14006dfb8]
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 0x140035dcc
shr r8, 0x20
cmp r8d, eax
mov r15b, 1
je 0x140035dcf
mov r15b, bl
mov rax, qword [rcx + 0x10]
test rax, rax
jne 0x140035de2
mov eax, 0x80070057
jmp 0x1400361a9
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
movdqa xmm1, xmmword [0x14004c540]
movdqu xmmword [rbp - 0x50], xmm1
mov word [rbp - 0x60], bx
cmp qword [rcx + 0x18], 8
jb 0x140035e04
mov rcx, qword [rcx]
mov rdx, rdi
cmp word [rcx + rax*2 - 2], 0x5c
je 0x140035e36
lea r8, [0x14004c500]
lea rcx, [rbp - 0x80]
call fcn.140019a3c
mov rdx, rax
lea rcx, [rbp - 0x60]
call fcn.14001847c
lea rcx, [rbp - 0x80]
call fcn.1400183f8
jmp 0x140035e3f
lea rcx, [rbp - 0x60]
call fcn.140019b24
lea r8, [0x14005320c]
lea rdx, [rbp - 0x60]
lea rcx, [rbp - 0x40]
call fcn.140019a3c
nop
xor edx, edx
mov r8d, 0x250
lea rcx, [rbp - 0x20]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
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 0x140035f07
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
call fcn.140016c38
mov rsi, rax
cmp dword [rax], 3
jbe 0x140035ef1
mov dword [rsp + 0x40], ebx
mov rcx, rdi
call fcn.1400101b0
mov qword [rsp + 0x50], rax
lea rax, [0x140053210]
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, [0x14005d92a]
mov rcx, rsi
call fcn.140010054
test ebx, ebx
jle 0x140036194
movzx ebx, bx
or ebx, 0x80070000
jmp 0x140036194
mov esi, ebx
mov edi, 0x2e
mov r14d, 0x80070000
lea r8, [rbp + 0xc]
lea rdx, [rbp - 0x60]
lea rcx, [rbp - 0x80]
call fcn.140019a3c
nop
test byte [rbp - 0x20], 0x10
je 0x140035f95
movzx ecx, word [rbp + 0xc]
sub ecx, edi
jne 0x140035f3d
movzx ecx, word [rbp + 0xe]
movzx eax, bx
sub ecx, eax
test ecx, ecx
je 0x1400360b5
movzx ecx, word [rbp + 0xc]
sub ecx, edi
jne 0x140035f5e
movzx ecx, word [rbp + 0xe]
sub ecx, edi
jne 0x140035f5e
movzx ecx, word [rbp + 0x10]
movzx eax, bx
sub ecx, eax
test ecx, ecx
je 0x1400360b5
lea rcx, [rbp - 0x80]
test r15b, r15b
je 0x140035f83
or eax, 0xffffffff
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x54], eax
mov r8, qword [rsp + 0x50]
mov dl, 1
jmp 0x140035f8b
mov r8, qword [rsp + 0x58]
mov dl, r13b
call fcn.140035d6c
jmp 0x1400360b5
test r15b, r15b
jne 0x140036034
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 0xc]
call qword [sym.imp.KERNEL32.dll_CompareFileTime]
nop dword [rax + rax]
cmp eax, 1
jne 0x140036034
call fcn.140016c38
cmp dword [rax], 4
jbe 0x1400360b5
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, [0x14005d86d]
mov rcx, rax
call fcn.140002458
jmp 0x1400360b5
lea rcx, [rbp - 0x80]
call fcn.140035c58
mov ebx, eax
test eax, 0xfffffffc
jne 0x14003604b
cmp eax, 1
jne 0x1400360b3
test ebx, ebx
jg 0x140036053
mov esi, ebx
jmp 0x140036059
movzx esi, bx
or esi, r14d
call fcn.140016c38
cmp dword [rax], 3
jbe 0x1400360b3
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, [0x14005da0e]
mov rcx, rax
call fcn.140010054
xor ebx, ebx
lea rcx, [rbp - 0x80]
call fcn.1400183f8
lea rdx, [rbp - 0x20]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
nop dword [rax + rax]
test eax, eax
jne 0x140035f14
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FindClose]
nop dword [rax + rax]
test r13b, r13b
mov rdi, qword [rsp + 0x70]
je 0x140036192
mov rdx, rdi
cmp qword [rdi + 0x18], 8
jb 0x140036103
mov rdx, qword [rdi]
lea rcx, [rbp - 0x80]
call fcn.140017b3c
lea rcx, [rbp - 0x80]
call fcn.140035c58
mov ebx, eax
lea rcx, [rbp - 0x80]
call fcn.1400183f8
test ebx, 0xfffffffc
jne 0x14003612d
cmp ebx, 1
jne 0x140036192
test ebx, ebx
jg 0x140036135
mov esi, ebx
jmp 0x14003613b
movzx esi, bx
or esi, r14d
call fcn.140016c38
mov r14, rax
cmp dword [rax], 3
jbe 0x140036192
mov dword [rsp + 0x40], ebx
mov rcx, rdi
call fcn.1400101b0
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, [0x14005d8ed]
mov rcx, r14
call fcn.140010054
mov ebx, esi
lea rcx, [rbp - 0x40]
call fcn.1400183f8
nop
lea rcx, [rbp - 0x60]
call fcn.1400183f8
mov eax, ebx
mov rcx, qword [rbp + 0x230]
xor rcx, rsp
call fcn.14001ae20
mov rbx, qword [rsp + 0x398]
add rsp, 0x340
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret