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

Disassembly:
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x720
mov qword [rsp + 0x78], 0xfffffffffffffffe
mov qword [rsp + 0x760], rbx
mov rax, qword [0x1400dc010]
xor rax, rsp
mov qword [rsp + 0x710], rax
mov r12, rdx
mov r14, rcx
call fcn.14000d980
mov rcx, rax
test rax, rax
je 0x14005f714
mov rax, qword [rax]
call qword [rax + 0x18]
mov qword [rsp + 0x80], rax
lea rbx, [rax + 0x18]
mov qword [rsp + 0x28], rbx
mov rcx, r14
lea rdx, [rsp + 0x500]
sub rdx, r14
nop
movzx eax, word [rcx]
mov word [rdx + rcx], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x14005f360
lea rcx, [rsp + 0x500]
sub rcx, 2
nop dword [rax]
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x14005f380
mov eax, dword [0x1400996c0]
mov dword [rcx], eax
movzx eax, word [0x1400996c4]
mov word [rcx + 4], ax
mov rcx, r14
lea rdx, [rsp + 0x2f0]
sub rdx, r14
nop dword [rax + rax]
movzx eax, word [rcx]
mov word [rdx + rcx], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x14005f3b0
lea rcx, [rsp + 0x2f0]
sub rcx, 2
nop dword [rax]
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x14005f3d0
mov eax, dword [0x14009a100]
mov dword [rcx], eax
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0x500]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov r15, rax
mov qword [rsp + 0x88], rax
cmp rax, 0xffffffffffffffff
jne 0x14005f434
add rbx, 0xffffffffffffffe8
mov qword [rsp + 0x30], rbx
mov rsi, rax
lock xadd dword [rbx + 0x10], esi
sub esi, 1
jg 0x14005f42d
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
xor eax, eax
jmp 0x14005f6ec
xor ecx, ecx
nop word [rax + rax]
movzx eax, word [rsp + rcx + 0x2f0]
mov word [rsp + rcx + 0x500], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x14005f440
mov dil, 1
mov byte [rsp + 0x20], dil
mov rsi, 0xffffffffffffffff
nop dword [rax + rax]
mov rcx, r15
test dil, dil
je 0x14005f6ba
lea rdx, [rsp + 0xa0]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x14005f62b
lea rcx, [rsp + 0xcc]
call fcn.14005e390
test eax, eax
je 0x14005f4a5
jmp 0x14005f470
mov rcx, r14
lea rdx, [rsp + 0x2f0]
sub rdx, r14
nop dword [rax]
nop word [rax + rax]
movzx eax, word [rcx]
mov word [rdx + rcx], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x14005f4c0
lea rcx, [rsp + 0x2f0]
sub rcx, 2
nop dword [rax]
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x14005f4e0
mov eax, dword [0x14009a100]
mov dword [rcx], eax
lea rcx, [rsp + 0x2f0]
sub rcx, 2
nop
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x14005f500
lea r8, [rsp + 0xcc]
xor edx, edx
nop dword [rax]
nop dword [rax + rax]
movzx eax, word [r8 + rdx*2]
mov word [rcx + rdx*2], ax
lea rdx, [rdx + 1]
test ax, ax
jne 0x14005f520
lea rcx, [rsp + 0x2f0]
call qword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
mov qword [rsp + 0x90], rax
test rax, rax
jne 0x14005f551
xor ecx, ecx
jmp 0x14005f55e
mov rcx, rsi
inc rcx
cmp word [rax + rcx*2], 0
jne 0x14005f554
mov dword [rsp + 0x24], ecx
mov r8d, ecx
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.14000d160
mov rbx, qword [rsp + 0x28]
mov rax, rbx
mov r8, r12
sub r8, rbx
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x14005f594
add rax, 2
test ecx, ecx
jne 0x14005f580
test edx, edx
jne 0x14005f63e
mov eax, dword [rsp + 0xa0]
test al, 0x10
je 0x14005f5db
mov rdx, r12
lea rcx, [rsp + 0x2f0]
call fcn.14005f2f0
xor ecx, ecx
nop dword [rax]
movzx eax, word [rsp + rcx + 0x500]
mov word [rsp + rcx + 0x2f0], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x14005f5c0
jmp 0x14005f63e
test al, 1
je 0x14005f5f2
mov edx, 0x80
lea rcx, [rsp + 0x2f0]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__chmod]
lea rcx, [rsp + 0x2f0]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
xor ecx, ecx
nop dword [rax]
nop word [rax + rax]
movzx eax, word [rsp + rcx + 0x500]
mov word [rsp + rcx + 0x2f0], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x14005f610
jmp 0x14005f63e
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
jne 0x14005f643
xor dil, dil
mov byte [rsp + 0x20], dil
jmp 0x14005f470
lea rax, [rsp + 0x38]
mov qword [rsp + 0x68], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x70], rax
lea rdx, [0x140099090]
lea rcx, [rsp + 0x38]
call fcn.14000c6f0
mov rdi, rax
lea rdx, str.DeleteSpecificFile_Error:_deleteSpecificFile_some_error_occured
lea rcx, [rsp + 0x40]
call fcn.14000c6f0
nop
mov r8d, esi
mov rdx, rdi
mov rcx, rax
call fcn.14005c670
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
add rbx, 0xffffffffffffffe8
mov qword [rsp + 0x48], rbx
lock xadd dword [rbx + 0x10], esi
sub esi, 1
jg 0x14005f6b6
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
xor eax, eax
jmp 0x14005f6ec
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
add rbx, 0xffffffffffffffe8
mov qword [rsp + 0x50], rbx
lock xadd dword [rbx + 0x10], esi
sub esi, 1
jg 0x14005f6e3
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov eax, 1
jmp 0x14005f6ec
mov rcx, qword [rsp + 0x710]
xor rcx, rsp
call fcn.1400691f0
mov rbx, qword [rsp + 0x760]
add rsp, 0x720
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
mov ecx, 0x80004005
call fcn.14000dd90
int3