Function at 0x14007b7c0
Capabilities:
Delete file
Enumerate files on windows
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.140009640
lea rcx, [rbp - 0x48]
call fcn.140009640
lea rcx, [rsp + 0x58]
call fcn.140009640
lea rdx, [rsp + 0x78]
mov rcx, rbx
call fcn.1400056d4
lea rdx, [rbp - 0x48]
mov rcx, rdi
call fcn.1400056d4
lea rdx, [rbp - 0x48]
lea rcx, [rsp + 0x78]
call fcn.14007ce30
mov rcx, qword [rsp + 0x78]
mov byte [rsp + 0x30], al
call fcn.14007ced4
test al, al
je 0x14007b85a
lea rdx, [0x1400dd4e8]
lea rcx, [rsp + 0x78]
call fcn.1400071f8
mov rcx, qword [rbp - 0x48]
call fcn.14007ced4
test al, al
je 0x14007b877
lea rdx, [0x1400dd4e8]
lea rcx, [rbp - 0x48]
call fcn.1400071f8
lea rcx, [rbp - 0x68]
call fcn.140009640
lea rcx, [rbp - 0x28]
call fcn.140009640
xor r9d, r9d
mov qword [rsp + 0x20], rsi
lea r8, [rbp - 0x28]
lea rdx, [rbp - 0x68]
lea rcx, [rsp + 0x78]
call fcn.1400074ac
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 0x14007ba27
mov r15, qword [rbp - 0x50]
mov r12, qword [rbp - 0x58]
mov r13, qword [rbp - 0x60]
cmp dil, 1
jne 0x14007ba27
test byte [rbp + 0x20], 0x10
jne 0x14007b9f5
lea rdx, [rbp + 0x4c]
lea rcx, [rbp - 8]
call fcn.14000ec00
lea r8, [rsp + 0x58]
lea rdx, [rbp - 0x48]
lea rcx, [rbp - 8]
call fcn.14007c240
lea rcx, [rbp - 8]
call fcn.14000a07c
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.140007c24
lea rdx, [rbp + 0x4c]
lea rcx, [rsp + 0x38]
call fcn.1400071f8
lea rcx, [rsp + 0x58]
call fcn.14007bdd4
test al, al
je 0x14007b98d
cmp byte [rbp + 0x2c0], sil
je 0x14007ba12
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.140021ad0
test eax, eax
je 0x14007b99d
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.DLL_DeleteFileW]
cmp byte [rbp + 0x2c8], 1
jne 0x14007b9d2
cmp byte [rsp + 0x30], sil
jne 0x14007b9af
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.DLL_MoveFileW]
jmp 0x14007b9e4
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x38]
call fcn.14007ba80
movzx eax, al
test eax, eax
je 0x14007ba12
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.DLL_DeleteFileW]
jmp 0x14007b9e4
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x38]
call fcn.14007ba80
movzx eax, al
test eax, eax
je 0x14007ba12
lea rcx, [rsp + 0x38]
call fcn.14000a07c
mov r14b, 1
lea rdx, [rbp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_FindNextFileW]
test eax, eax
jne 0x14007b8ce
mov dil, sil
jmp 0x14007b8ce
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_FindClose]
lea rcx, [rsp + 0x38]
call fcn.14000a07c
jmp 0x14007ba33
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_FindClose]
mov sil, r14b
lea rcx, [rbp - 0x28]
call fcn.14000a07c
lea rcx, [rbp - 0x68]
call fcn.14000a07c
lea rcx, [rsp + 0x58]
call fcn.14000a07c
lea rcx, [rbp - 0x48]
call fcn.14000a07c
lea rcx, [rsp + 0x78]
call fcn.14000a07c
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