Function at 0x14007ae88
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.14000c970
lea rcx, [rbp - 0x48]
call fcn.14000c970
lea rcx, [rsp + 0x58]
call fcn.14000c970
lea rdx, [rsp + 0x78]
mov rcx, rbx
call fcn.14000483c
lea rdx, [rbp - 0x48]
mov rcx, rdi
call fcn.14000483c
lea rdx, [rbp - 0x48]
lea rcx, [rsp + 0x78]
call fcn.14007c4e4
mov rcx, qword [rsp + 0x78]
mov byte [rsp + 0x30], al
call fcn.14007c588
test al, al
je 0x14007af22
lea rdx, [0x1400dc4d8]
lea rcx, [rsp + 0x78]
call fcn.140004990
mov rcx, qword [rbp - 0x48]
call fcn.14007c588
test al, al
je 0x14007af3f
lea rdx, [0x1400dc4d8]
lea rcx, [rbp - 0x48]
call fcn.140004990
lea rcx, [rbp - 0x68]
call fcn.14000c970
lea rcx, [rbp - 0x28]
call fcn.14000c970
xor r9d, r9d
mov qword [rsp + 0x20], rsi
lea r8, [rbp - 0x28]
lea rdx, [rbp - 0x68]
lea rcx, [rsp + 0x78]
call fcn.14001e13c
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 0x14007b0ef
mov r15, qword [rbp - 0x50]
mov r12, qword [rbp - 0x58]
mov r13, qword [rbp - 0x60]
cmp dil, 1
jne 0x14007b0ef
test byte [rbp + 0x20], 0x10
jne 0x14007b0bd
lea rdx, [rbp + 0x4c]
lea rcx, [rbp - 8]
call fcn.14000e3e4
lea r8, [rsp + 0x58]
lea rdx, [rbp - 0x48]
lea rcx, [rbp - 8]
call fcn.14007b908
lea rcx, [rbp - 8]
call fcn.140009250
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.14000ca68
lea rdx, [rbp + 0x4c]
lea rcx, [rsp + 0x38]
call fcn.140004990
lea rcx, [rsp + 0x58]
call fcn.14007b49c
test al, al
je 0x14007b055
cmp byte [rbp + 0x2c0], sil
je 0x14007b0da
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.140021820
test eax, eax
je 0x14007b065
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp byte [rbp + 0x2c8], 1
jne 0x14007b09a
cmp byte [rsp + 0x30], sil
jne 0x14007b077
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
jmp 0x14007b0ac
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x38]
call fcn.14007b148
movzx eax, al
test eax, eax
je 0x14007b0da
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x14007b0ac
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x38]
call fcn.14007b148
movzx eax, al
test eax, eax
je 0x14007b0da
lea rcx, [rsp + 0x38]
call fcn.140009250
mov r14b, 1
lea rdx, [rbp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x14007af96
mov dil, sil
jmp 0x14007af96
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
lea rcx, [rsp + 0x38]
call fcn.140009250
jmp 0x14007b0fb
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
mov sil, r14b
lea rcx, [rbp - 0x28]
call fcn.140009250
lea rcx, [rbp - 0x68]
call fcn.140009250
lea rcx, [rsp + 0x58]
call fcn.140009250
lea rcx, [rbp - 0x48]
call fcn.140009250
lea rcx, [rsp + 0x78]
call fcn.140009250
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