Function at 0x140001d20
Capabilities:
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x478
mov rax, qword [0x14005b0c0]
xor rax, rsp
mov qword [rsp + 0x460], rax
lea rcx, [rsp + 0x21]
call fcn.1400055b0
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0xb8]
mov rcx, qword [rsp + 0x480]
call fcn.1400130a0
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0xc0]
mov rcx, qword [rsp + 0x480]
call fcn.140011490
mov rcx, qword [rsp + 0x48]
mov r9, rcx
mov rcx, qword [rsp + 0x50]
mov r8, qword [rcx]
mov rdx, qword [rax]
lea rcx, [rsp + 0x148]
call fcn.140003450
nop
lea r8, [0x140046ecc]
lea rdx, [rsp + 0x148]
lea rcx, [rsp + 0x188]
call fcn.140004760
nop
lea rcx, [rsp + 0x188]
call fcn.140011600
lea rdx, [rsp + 0x210]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0xffffffffffffffff
je 0x140002168
lea rdx, [rsp + 0x23c]
lea rcx, [rsp + 0xe8]
call fcn.140009660
nop
mov byte [rsp + 0x20], 0
mov rax, qword [rsp + 0x488]
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0x38]
call fcn.1400064a0
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x38]
call fcn.140010d90
mov qword [rsp + 0x58], rax
jmp 0x140001e44
mov rax, qword [rsp + 0x28]
add rax, 0x20
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x28], rax
je 0x140001f10
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x22]
call fcn.1400055b0
mov qword [rsp + 0x60], rax
lea rdx, [rsp + 0xc8]
mov rcx, qword [rsp + 0x40]
call fcn.1400130a0
mov qword [rsp + 0x68], rax
lea rdx, [rsp + 0xd0]
mov rcx, qword [rsp + 0x40]
call fcn.140011490
mov rcx, qword [rsp + 0x60]
mov r9, rcx
mov rcx, qword [rsp + 0x68]
mov r8, qword [rcx]
mov rdx, qword [rax]
lea rcx, [rsp + 0x108]
call fcn.140003450
lea rcx, [rsp + 0x108]
call fcn.140011600
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0xe8]
call fcn.140011600
mov rcx, qword [rsp + 0x70]
mov rdx, rcx
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_PathMatchSpecW]
test eax, eax
je 0x140001efe
mov byte [rsp + 0x20], 1
lea rcx, [rsp + 0x108]
call fcn.14000ab10
jmp 0x140001f10
lea rcx, [rsp + 0x108]
call fcn.14000ab10
jmp 0x140001e36
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x140001fd1
lea r8, [0x140046ed4]
lea rdx, [rsp + 0x148]
lea rcx, [rsp + 0x1a8]
call fcn.140004760
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x80], rax
lea r8, [rsp + 0xe8]
mov rdx, qword [rsp + 0x80]
lea rcx, [rsp + 0x128]
call fcn.140004700
nop
lea rcx, [rsp + 0x1a8]
call fcn.14000ab10
lea rdx, [0x140046ed8]
lea rcx, [0x14005da30]
call fcn.1400040f0
lea rdx, [rsp + 0x128]
mov rcx, rax
call fcn.140004450
lea rdx, [0x140008100]
mov rcx, rax
call fcn.14000b1d0
lea rcx, [rsp + 0x128]
call fcn.140011600
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
lea rcx, [rsp + 0x128]
call fcn.14000ab10
jmp 0x140002134
mov eax, dword [rsp + 0x210]
and eax, 0x10
test eax, eax
je 0x140002134
lea rdx, [0x140046f14]
lea rcx, [rsp + 0xe8]
call fcn.140004540
movzx eax, al
test eax, eax
je 0x140002134
lea rdx, [0x140046f18]
lea rcx, [rsp + 0xe8]
call fcn.140004540
movzx eax, al
test eax, eax
je 0x140002134
lea rcx, [rsp + 0x23]
call fcn.1400055b0
mov qword [rsp + 0x88], rax
lea rdx, [rsp + 0xd8]
lea rcx, [rsp + 0xe8]
call fcn.140013100
mov qword [rsp + 0x90], rax
lea rdx, [rsp + 0xe0]
lea rcx, [rsp + 0xe8]
call fcn.1400114f0
mov rcx, qword [rsp + 0x88]
mov r9, rcx
mov rcx, qword [rsp + 0x90]
mov r8, qword [rcx]
mov rdx, qword [rax]
lea rcx, [rsp + 0x1e8]
call fcn.140003530
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0xa8], rax
lea r8, [0x140046f20]
mov rdx, qword [rsp + 0x480]
lea rcx, [rsp + 0x1c8]
call fcn.140004630
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0xb0], rax
mov r8, qword [rsp + 0xa8]
mov rdx, qword [rsp + 0xb0]
lea rcx, [rsp + 0x168]
call fcn.140004580
nop
lea rcx, [rsp + 0x1c8]
call fcn.14000aae0
nop
lea rcx, [rsp + 0x1e8]
call fcn.14000aae0
mov rdx, qword [rsp + 0x488]
lea rcx, [rsp + 0x168]
call fcn.140001d20
nop
lea rcx, [rsp + 0x168]
call fcn.14000aae0
nop
lea rcx, [rsp + 0xe8]
call fcn.14000ab10
lea rdx, [rsp + 0x210]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140001dee
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
lea rcx, [rsp + 0x188]
call fcn.14000ab10
nop
lea rcx, [rsp + 0x148]
call fcn.14000ab10
mov rcx, qword [rsp + 0x460]
xor rcx, rsp
call fcn.14001d240
add rsp, 0x478
ret