Function at 0x14007a660
Capabilities:
Delete file
Enumerate files on windows
Get file attributes
Move file

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov byte [rax + 0x20], r9b
mov byte [rax + 0x18], r8b
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x2a8]
sub rsp, 0x370
mov rbx, rcx
xor esi, esi
lea rcx, [rsp + 0x78]
mov r14b, sil
mov rdi, rdx
call fcn.140008ce8
lea rcx, [rbp - 0x48]
call fcn.140008ce8
lea rcx, [rsp + 0x58]
call fcn.140008ce8
lea rdx, [rsp + 0x78]
mov rcx, rbx
call fcn.140023940
lea rdx, [rbp - 0x48]
mov rcx, rdi
call fcn.140023940
lea rdx, [rbp - 0x48]
lea rcx, [rsp + 0x78]
call fcn.14007bce8
mov rcx, qword [rsp + 0x78]
mov byte [rsp + 0x30], al
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
or ebx, 0xffffffff
cmp eax, ebx
je 0x14007a702
test al, 0x10
je 0x14007a702
lea rdx, [0x1400dc208]
lea rcx, [rsp + 0x78]
call fcn.1400093ec
mov rcx, qword [rbp - 0x48]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, ebx
je 0x14007a724
test al, 0x10
je 0x14007a724
lea rdx, [0x1400dc208]
lea rcx, [rbp - 0x48]
call fcn.1400093ec
lea rcx, [rbp - 0x68]
call fcn.140008ce8
lea rcx, [rbp - 0x28]
call fcn.140008ce8
xor r9d, r9d
mov qword [rsp + 0x20], rsi
lea r8, [rbp - 0x28]
lea rdx, [rbp - 0x68]
lea rcx, [rsp + 0x78]
call fcn.140023a10
mov rcx, qword [rsp + 0x78]
lea rdx, [rbp + 0x20]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rbx, rax
mov dil, 1
cmp rax, 0xffffffffffffffff
je 0x14007a8d5
mov r15, qword [rbp - 0x50]
mov r12, qword [rbp - 0x58]
mov r13, qword [rbp - 0x60]
cmp dil, 1
jne 0x14007a8d5
test byte [rbp + 0x20], 0x10
jne 0x14007a8a3
lea rdx, [rbp + 0x4c]
lea rcx, [rbp - 8]
call fcn.1400094fc
lea r8, [rsp + 0x58]
lea rdx, [rbp - 0x48]
lea rcx, [rbp - 8]
call fcn.14007b0cc
lea rcx, [rbp - 8]
call fcn.1400079ac
mov rax, qword [rbp - 0x68]
lea rdx, [rbp - 0x28]
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x50], r15
inc dword [r15]
call fcn.1400091f4
lea rdx, [rbp + 0x4c]
lea rcx, [rsp + 0x38]
call fcn.1400093ec
mov rcx, qword [rsp + 0x58]
call fcn.14007b650
cmp eax, 0xffffffff
je 0x14007a83b
cmp byte [rbp + 0x2c0], sil
je 0x14007a8c0
mov rax, qword [rsp + 0x60]
mov r9, qword [rsp + 0x58]
mov r8, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x38]
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rax
call fcn.140008f8c
test eax, eax
je 0x14007a84b
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp byte [rbp + 0x2c8], 1
jne 0x14007a880
cmp byte [rsp + 0x30], sil
jne 0x14007a85d
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
jmp 0x14007a892
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x38]
call fcn.14007a930
movzx eax, al
test eax, eax
je 0x14007a8c0
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x14007a892
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x38]
call fcn.14007a930
movzx eax, al
test eax, eax
je 0x14007a8c0
lea rcx, [rsp + 0x38]
call fcn.1400079ac
mov r14b, 1
lea rdx, [rbp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x14007a77b
mov dil, sil
jmp 0x14007a77b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
lea rcx, [rsp + 0x38]
call fcn.1400079ac
jmp 0x14007a8e1
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
mov sil, r14b
lea rcx, [rbp - 0x28]
call fcn.1400079ac
lea rcx, [rbp - 0x68]
call fcn.1400079ac
lea rcx, [rsp + 0x58]
call fcn.1400079ac
lea rcx, [rbp - 0x48]
call fcn.1400079ac
lea rcx, [rsp + 0x78]
call fcn.1400079ac
mov rbx, qword [rsp + 0x3b0]
mov al, sil
add rsp, 0x370
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret