Function at 0x14007b5e8
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.14000717c
lea rcx, [rbp - 0x48]
call fcn.14000717c
lea rcx, [rsp + 0x58]
call fcn.14000717c
lea rdx, [rsp + 0x78]
mov rcx, rbx
call fcn.14000385c
lea rdx, [rbp - 0x48]
mov rcx, rdi
call fcn.14000385c
lea rdx, [rbp - 0x48]
lea rcx, [rsp + 0x78]
call fcn.14007cc44
mov rcx, qword [rsp + 0x78]
mov byte [rsp + 0x30], al
call fcn.14007cce8
test al, al
je 0x14007b682
lea rdx, [0x1400dd4d8]
lea rcx, [rsp + 0x78]
call fcn.14000534c
mov rcx, qword [rbp - 0x48]
call fcn.14007cce8
test al, al
je 0x14007b69f
lea rdx, [0x1400dd4d8]
lea rcx, [rbp - 0x48]
call fcn.14000534c
lea rcx, [rbp - 0x68]
call fcn.14000717c
lea rcx, [rbp - 0x28]
call fcn.14000717c
xor r9d, r9d
mov qword [rsp + 0x20], rsi
lea r8, [rbp - 0x28]
lea rdx, [rbp - 0x68]
lea rcx, [rsp + 0x78]
call fcn.1400054b8
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 0x14007b84f
mov r15, qword [rbp - 0x50]
mov r12, qword [rbp - 0x58]
mov r13, qword [rbp - 0x60]
cmp dil, 1
jne 0x14007b84f
test byte [rbp + 0x20], 0x10
jne 0x14007b81d
lea rdx, [rbp + 0x4c]
lea rcx, [rbp - 8]
call fcn.14000d54c
lea r8, [rsp + 0x58]
lea rdx, [rbp - 0x48]
lea rcx, [rbp - 8]
call fcn.14007c068
lea rcx, [rbp - 8]
call fcn.140008a8c
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.140005cac
lea rdx, [rbp + 0x4c]
lea rcx, [rsp + 0x38]
call fcn.14000534c
lea rcx, [rsp + 0x58]
call fcn.14007bbfc
test al, al
je 0x14007b7b5
cmp byte [rbp + 0x2c0], sil
je 0x14007b83a
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.1400209b0
test eax, eax
je 0x14007b7c5
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp byte [rbp + 0x2c8], 1
jne 0x14007b7fa
cmp byte [rsp + 0x30], sil
jne 0x14007b7d7
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
jmp 0x14007b80c
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x38]
call fcn.14007b8a8
movzx eax, al
test eax, eax
je 0x14007b83a
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x14007b80c
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x38]
call fcn.14007b8a8
movzx eax, al
test eax, eax
je 0x14007b83a
lea rcx, [rsp + 0x38]
call fcn.140008a8c
mov r14b, 1
lea rdx, [rbp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x14007b6f6
mov dil, sil
jmp 0x14007b6f6
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
lea rcx, [rsp + 0x38]
call fcn.140008a8c
jmp 0x14007b85b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
mov sil, r14b
lea rcx, [rbp - 0x28]
call fcn.140008a8c
lea rcx, [rbp - 0x68]
call fcn.140008a8c
lea rcx, [rsp + 0x58]
call fcn.140008a8c
lea rcx, [rbp - 0x48]
call fcn.140008a8c
lea rcx, [rsp + 0x78]
call fcn.140008a8c
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