Function at 0x14005f4e0
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.14000db70
mov rcx, rax
test rax, rax
je 0x14005f904
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 0x14005f550
lea rcx, [rsp + 0x500]
sub rcx, 2
nop dword [rax]
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x14005f570
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 0x14005f5a0
lea rcx, [rsp + 0x2f0]
sub rcx, 2
nop dword [rax]
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x14005f5c0
mov eax, dword [0x14009a110]
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 0x14005f624
add rbx, 0xffffffffffffffe8
mov qword [rsp + 0x30], rbx
mov rsi, rax
lock xadd dword [rbx + 0x10], esi
sub esi, 1
jg 0x14005f61d
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
xor eax, eax
jmp 0x14005f8dc
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 0x14005f630
mov dil, 1
mov byte [rsp + 0x20], dil
mov rsi, 0xffffffffffffffff
nop dword [rax + rax]
mov rcx, r15
test dil, dil
je 0x14005f8aa
lea rdx, [rsp + 0xa0]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x14005f81b
lea rcx, [rsp + 0xcc]
call fcn.14005e580
test eax, eax
je 0x14005f695
jmp 0x14005f660
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 0x14005f6b0
lea rcx, [rsp + 0x2f0]
sub rcx, 2
nop dword [rax]
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x14005f6d0
mov eax, dword [0x14009a110]
mov dword [rcx], eax
lea rcx, [rsp + 0x2f0]
sub rcx, 2
nop
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x14005f6f0
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 0x14005f710
lea rcx, [rsp + 0x2f0]
call qword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
mov qword [rsp + 0x90], rax
test rax, rax
jne 0x14005f741
xor ecx, ecx
jmp 0x14005f74e
mov rcx, rsi
inc rcx
cmp word [rax + rcx*2], 0
jne 0x14005f744
mov dword [rsp + 0x24], ecx
mov r8d, ecx
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.14000d350
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 0x14005f784
add rax, 2
test ecx, ecx
jne 0x14005f770
test edx, edx
jne 0x14005f82e
mov eax, dword [rsp + 0xa0]
test al, 0x10
je 0x14005f7cb
mov rdx, r12
lea rcx, [rsp + 0x2f0]
call fcn.14005f4e0
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 0x14005f7b0
jmp 0x14005f82e
test al, 1
je 0x14005f7e2
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 0x14005f800
jmp 0x14005f82e
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
jne 0x14005f833
xor dil, dil
mov byte [rsp + 0x20], dil
jmp 0x14005f660
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.14000c8e0
mov rdi, rax
lea rdx, str.DeleteSpecificFile_Error:_deleteSpecificFile_some_error_occured
lea rcx, [rsp + 0x40]
call fcn.14000c8e0
nop
mov r8d, esi
mov rdx, rdi
mov rcx, rax
call fcn.14005c860
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 0x14005f8a6
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
xor eax, eax
jmp 0x14005f8dc
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 0x14005f8d3
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov eax, 1
jmp 0x14005f8dc
mov rcx, qword [rsp + 0x710]
xor rcx, rsp
call fcn.1400693e0
mov rbx, qword [rsp + 0x760]
add rsp, 0x720
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
mov ecx, 0x80004005
call fcn.14000df80
int3