Function at 0x14007c554
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.1400053cc
lea rcx, [rbp - 0x48]
call fcn.1400053cc
lea rcx, [rsp + 0x58]
call fcn.1400053cc
lea rdx, [rsp + 0x78]
mov rcx, rbx
call fcn.14001d284
lea rdx, [rbp - 0x48]
mov rcx, rdi
call fcn.14001d284
lea rdx, [rbp - 0x48]
lea rcx, [rsp + 0x78]
call fcn.14007dcd0
mov rcx, qword [rsp + 0x78]
mov byte [rsp + 0x30], al
call fcn.14007dd74
test al, al
je 0x14007c5ee
lea rdx, str..
lea rcx, [rsp + 0x78]
call fcn.140003f78
mov rcx, qword [rbp - 0x48]
call fcn.14007dd74
test al, al
je 0x14007c60b
lea rdx, str..
lea rcx, [rbp - 0x48]
call fcn.140003f78
lea rcx, [rbp - 0x68]
call fcn.1400053cc
lea rcx, [rbp - 0x28]
call fcn.1400053cc
xor r9d, r9d
mov qword [rsp + 0x20], rsi
lea r8, [rbp - 0x28]
lea rdx, [rbp - 0x68]
lea rcx, [rsp + 0x78]
call fcn.14000ace8
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 0x14007c7bb
mov r15, qword [rbp - 0x50]
mov r12, qword [rbp - 0x58]
mov r13, qword [rbp - 0x60]
cmp dil, 1
jne 0x14007c7bb
test byte [rbp + 0x20], 0x10
jne 0x14007c789
lea rdx, [rbp + 0x4c]
lea rcx, [rbp - 8]
call fcn.14000c6d0
lea r8, [rsp + 0x58]
lea rdx, [rbp - 0x48]
lea rcx, [rbp - 8]
call fcn.14007cfe4
lea rcx, [rbp - 8]
call fcn.1400054ac
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.140004274
lea rdx, [rbp + 0x4c]
lea rcx, [rsp + 0x38]
call fcn.140003f78
lea rcx, [rsp + 0x58]
call fcn.14007cb68
test al, al
je 0x14007c721
cmp byte [rbp + 0x2c0], sil
je 0x14007c7a6
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.1400210e0
test eax, eax
je 0x14007c731
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp byte [rbp + 0x2c8], 1
jne 0x14007c766
cmp byte [rsp + 0x30], sil
jne 0x14007c743
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
jmp 0x14007c778
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x38]
call fcn.14007c814
movzx eax, al
test eax, eax
je 0x14007c7a6
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x14007c778
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x38]
call fcn.14007c814
movzx eax, al
test eax, eax
je 0x14007c7a6
lea rcx, [rsp + 0x38]
call fcn.1400054ac
mov r14b, 1
lea rdx, [rbp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x14007c662
mov dil, sil
jmp 0x14007c662
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
lea rcx, [rsp + 0x38]
call fcn.1400054ac
jmp 0x14007c7c7
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
mov sil, r14b
lea rcx, [rbp - 0x28]
call fcn.1400054ac
lea rcx, [rbp - 0x68]
call fcn.1400054ac
lea rcx, [rsp + 0x58]
call fcn.1400054ac
lea rcx, [rbp - 0x48]
call fcn.1400054ac
lea rcx, [rsp + 0x78]
call fcn.1400054ac
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