Function at 0x14001a9b0
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Print debug messages
Set file attributes

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x848
mov qword [rsp + 0xd0], 0xfffffffffffffffe
mov rax, qword [0x14031f2d0]
xor rax, rsp
mov qword [rsp + 0x830], rax
mov edx, 0x88
lea rcx, [rsp + 0x550]
call fcn.140004bc0
lea rcx, [rsp + 0x550]
call fcn.1400ce610
nop
mov byte [rsp + 0x30], 0
mov qword [rsp + 0x40], 0
mov edx, 0x88
lea rcx, [rsp + 0x4c0]
call fcn.140004bc0
lea rcx, [rsp + 0x4c0]
call fcn.1400ce610
nop
mov edx, 0x88
lea rcx, [rsp + 0x430]
call fcn.140004bc0
lea rcx, [rsp + 0x430]
call fcn.1400ce610
nop
lea rcx, [0x1402a6990]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rdx, qword [rsp + 0x850]
lea rcx, [rsp + 0xe0]
call fcn.140015a50
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x60], rax
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x850]
call fcn.1400ce7e0
nop
lea rcx, [rsp + 0xe0]
call fcn.1400ce724
mov rdx, qword [rsp + 0x858]
lea rcx, [rsp + 0x170]
call fcn.140015a50
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x70], rax
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x858]
call fcn.1400ce7e0
nop
lea rcx, [rsp + 0x170]
call fcn.1400ce724
mov rcx, qword [rsp + 0x850]
call fcn.1400cf128
movzx eax, al
test eax, eax
jne 0x14001ab14
mov rcx, qword [rsp + 0x858]
call fcn.1400cf128
movzx eax, al
test eax, eax
je 0x14001ab7c
lea rdx, str.strFindPath_and_strFileName_cant_be_empty.
mov rcx, qword [rsp + 0x870]
call fcn.1400ce80c
mov byte [rsp + 0x31], 0
lea rcx, [rsp + 0x430]
call fcn.1400ce724
nop
lea rcx, [rsp + 0x4c0]
call fcn.1400ce724
nop
lea rcx, [rsp + 0x550]
call fcn.1400ce724
nop
mov rcx, qword [rsp + 0x850]
call fcn.1400ce724
nop
mov rcx, qword [rsp + 0x858]
call fcn.1400ce724
movzx eax, byte [rsp + 0x31]
jmp 0x14001b209
lea rcx, [0x1402a6978]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov r8d, 1
lea rdx, [rsp + 0x200]
mov rcx, qword [rsp + 0x850]
call fcn.1400cf5f8
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x80], rax
lea rdx, [0x1402a5a34]
mov rcx, qword [rsp + 0x80]
call fcn.1400ceba4
test eax, eax
jne 0x14001abd8
mov dword [rsp + 0x48], 1
jmp 0x14001abe0
mov dword [rsp + 0x48], 0
movzx eax, byte [rsp + 0x48]
mov byte [rsp + 0x32], al
lea rcx, [rsp + 0x200]
call fcn.1400ce724
movzx eax, byte [rsp + 0x32]
test eax, eax
je 0x14001ac41
mov rcx, qword [rsp + 0x850]
call fcn.1400ce874
lea r9, [0x1402a6a48]
mov r8, rax
lea rdx, [0x1402a6a50]
lea rcx, [rsp + 0x550]
call fcn.1400ceddc
mov rdx, qword [rsp + 0x850]
lea rcx, [rsp + 0x4c0]
call fcn.1400ce7e0
jmp 0x14001ac90
mov rcx, qword [rsp + 0x850]
call fcn.1400ce874
lea r9, [0x1402a6a60]
mov r8, rax
lea rdx, [0x1402a6a68]
lea rcx, [rsp + 0x550]
call fcn.1400ceddc
mov rcx, qword [rsp + 0x850]
call fcn.1400ce874
mov r8, rax
lea rdx, [0x1402a6a78]
lea rcx, [rsp + 0x4c0]
call fcn.1400ceddc
lea rcx, [rsp + 0x550]
call fcn.1400ce874
lea rdx, [rsp + 0x5e0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x38], 1
cmp qword [rsp + 0x40], 0xffffffffffffffff
je 0x14001ae3a
cmp dword [rsp + 0x38], 0
je 0x14001ae3a
lea rcx, [rsp + 0x4c0]
call fcn.1400ce874
lea r9, [rsp + 0x60c]
mov r8, rax
lea rdx, [0x1402a6a80]
lea rcx, [rsp + 0x430]
call fcn.1400ceddc
lea rcx, [rsp + 0x430]
call fcn.1400ce874
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea rcx, [0x1402a6a8c]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [rsp + 0x5e0]
and eax, 0x10
test eax, eax
jbe 0x14001ae1e
mov eax, 2
imul rax, rax, 0
movzx eax, word [rsp + rax + 0x60c]
cmp eax, 0x2e
je 0x14001ae1e
lea rcx, [rsp + 0x4c0]
call fcn.1400ce874
lea r9, [rsp + 0x60c]
mov r8, rax
lea rdx, [0x1402a6a98]
lea rcx, [rsp + 0x430]
call fcn.1400ceddc
lea rax, [rsp + 0x320]
mov qword [rsp + 0x88], rax
lea rax, [rsp + 0x3a8]
mov qword [rsp + 0x98], rax
mov rdx, qword [rsp + 0x858]
mov rcx, qword [rsp + 0x88]
call fcn.1400ce5b8
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0xa0], rax
lea rdx, [rsp + 0x430]
mov rcx, qword [rsp + 0x98]
call fcn.1400ce5b8
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0x870]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x868]
mov r8, qword [rsp + 0x860]
mov rdx, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0xa8]
call fcn.14001a9b0
mov byte [rsp + 0x30], al
movzx eax, byte [rsp + 0x30]
lea rdx, [rsp + 0x5e0]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
mov dword [rsp + 0x38], eax
jmp 0x14001acbb
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_FindClose]
mov qword [rsp + 0x40], 0
lea rcx, [0x1402a6aa8]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov r8d, 1
lea rdx, [rsp + 0x290]
mov rcx, qword [rsp + 0x850]
call fcn.1400cf5f8
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0xb8], rax
lea rdx, [0x1402a5a6c]
mov rcx, qword [rsp + 0xb8]
call fcn.1400ceba4
test eax, eax
jne 0x14001aeb0
mov dword [rsp + 0x4c], 1
jmp 0x14001aeb8
mov dword [rsp + 0x4c], 0
movzx eax, byte [rsp + 0x4c]
mov byte [rsp + 0x33], al
lea rcx, [rsp + 0x290]
call fcn.1400ce724
movzx eax, byte [rsp + 0x33]
test eax, eax
je 0x14001af32
mov rcx, qword [rsp + 0x858]
call fcn.1400ce874
mov qword [rsp + 0xc0], rax
mov rcx, qword [rsp + 0x850]
call fcn.1400ce874
mov rcx, qword [rsp + 0xc0]
mov r9, rcx
mov r8, rax
lea rdx, [0x1402a6ac0]
lea rcx, [rsp + 0x550]
call fcn.1400ceddc
mov rdx, qword [rsp + 0x850]
lea rcx, [rsp + 0x4c0]
call fcn.1400ce7e0
jmp 0x14001af9a
mov rcx, qword [rsp + 0x858]
call fcn.1400ce874
mov qword [rsp + 0xc8], rax
mov rcx, qword [rsp + 0x850]
call fcn.1400ce874
mov rcx, qword [rsp + 0xc8]
mov r9, rcx
mov r8, rax
lea rdx, [0x1402a6ad0]
lea rcx, [rsp + 0x550]
call fcn.1400ceddc
mov rcx, qword [rsp + 0x850]
call fcn.1400ce874
mov r8, rax
lea rdx, [0x1402a6ae0]
lea rcx, [rsp + 0x4c0]
call fcn.1400ceddc
lea rcx, [rsp + 0x550]
call fcn.1400ce874
lea rdx, [rsp + 0x5e0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x38], 1
cmp qword [rsp + 0x40], 0xffffffffffffffff
je 0x14001b138
cmp dword [rsp + 0x38], 0
je 0x14001b138
lea rcx, [rsp + 0x4c0]
call fcn.1400ce874
lea r9, [rsp + 0x60c]
mov r8, rax
lea rdx, [0x1402a6ae8]
lea rcx, [rsp + 0x430]
call fcn.1400ceddc
lea rcx, [rsp + 0x430]
call fcn.1400ce874
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea rcx, [0x1402a6af4]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [rsp + 0x5e0]
and eax, 0x10
test eax, eax
ja 0x14001b11c
lea rcx, [rsp + 0x4c0]
call fcn.1400ce874
lea r9, [rsp + 0x60c]
mov r8, rax
lea rdx, [0x1402a6b00]
lea rcx, [rsp + 0x430]
call fcn.1400ceddc
mov dword [rsp + 0x50], 0
mov dword [rsp + 0x54], 0
lea rdx, [rsp + 0x860]
lea rcx, [rsp + 0x5f4]
call qword [sym.imp.KERNEL32.dll_CompareFileTime]
mov dword [rsp + 0x50], eax
lea rdx, [rsp + 0x868]
lea rcx, [rsp + 0x5f4]
call qword [sym.imp.KERNEL32.dll_CompareFileTime]
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x50], 0
jl 0x14001b11c
cmp dword [rsp + 0x54], 0
jg 0x14001b11c
lea rcx, [rsp + 0x430]
call fcn.1400ce874
mov edx, 0x80
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea rcx, [rsp + 0x430]
call fcn.1400ce874
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rcx, [0x1402a6b10]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea rcx, [rsp + 0x430]
call fcn.1400ce874
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea rcx, [0x1402a6b24]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea rdx, [rsp + 0x5e0]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
mov dword [rsp + 0x38], eax
jmp 0x14001afc5
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_FindClose]
mov qword [rsp + 0x40], 0
mov rcx, qword [rsp + 0x850]
call fcn.1400ce874
mov edx, 0x80
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov rcx, qword [rsp + 0x850]
call fcn.1400ce874
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea rcx, str.Delete_:
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [rsp + 0x850]
call fcn.1400ce874
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea rcx, [0x1402a6b44]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea rcx, [0x1402a6b50]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov byte [rsp + 0x34], 1
lea rcx, [rsp + 0x430]
call fcn.1400ce724
nop
lea rcx, [rsp + 0x4c0]
call fcn.1400ce724
nop
lea rcx, [rsp + 0x550]
call fcn.1400ce724
nop
mov rcx, qword [rsp + 0x850]
call fcn.1400ce724
nop
mov rcx, qword [rsp + 0x858]
call fcn.1400ce724
movzx eax, byte [rsp + 0x34]
mov rcx, qword [rsp + 0x830]
xor rcx, rsp
call fcn.14013a450
add rsp, 0x848
ret