Function at 0x140071814
Capabilities:
Delete file
Enumerate files on windows
Move file

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x298]
sub rsp, 0x370
mov rbx, rcx
lea rcx, [rbp - 0x68]
xor esi, esi
mov r12b, r9b
mov r13b, r8b
mov rdi, rdx
mov r14b, sil
call fcn.14001dfc0
lea rcx, [rbp - 0x48]
call fcn.14001dfc0
lea rcx, [rsp + 0x38]
call fcn.14001dfc0
lea rcx, [rsp + 0x78]
call fcn.14001dfc0
lea rdx, [rbp - 0x68]
mov rcx, rbx
call fcn.14001a038
lea rdx, [rbp - 0x48]
mov rcx, rdi
call fcn.14001a038
lea rdx, [rbp - 0x48]
lea rcx, [rbp - 0x68]
call fcn.140072ff4
mov rcx, qword [rbp - 0x68]
mov byte [rsp + 0x30], al
call fcn.140073088
test al, al
je 0x1400718b7
lea rdx, str..
lea rcx, [rbp - 0x68]
call fcn.14001e870
mov rcx, qword [rbp - 0x48]
call fcn.140073088
test al, al
je 0x1400718d4
lea rdx, str..
lea rcx, [rbp - 0x48]
call fcn.14001e870
lea rcx, [rbp - 0x28]
call fcn.14001dfc0
lea rcx, [rbp - 8]
call fcn.14001dfc0
lea r8, [rbp - 8]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x68]
xor r9d, r9d
mov qword [rsp + 0x20], rsi
call fcn.140019df4
mov rcx, qword [rbp - 0x68]
lea rdx, [rbp + 0x20]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov r15b, 1
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140071a96
cmp r15b, 1
jne 0x140071a96
test byte [rbp + 0x20], 0x10
jne 0x140071a6e
lea rdx, [rbp + 0x4c]
lea rcx, [rsp + 0x58]
call fcn.14001ea0c
lea r8, [rsp + 0x38]
lea rdx, [rbp - 0x48]
lea rcx, [rsp + 0x58]
call fcn.1400723ec
lea rcx, [rsp + 0x58]
call fcn.14001bc24
lea rdx, [rbp - 0x28]
lea rcx, [rsp + 0x78]
call fcn.14001ec74
lea rdx, [rbp - 8]
lea rcx, [rsp + 0x78]
call fcn.14001e5b0
lea rdx, [rbp + 0x4c]
lea rcx, [rsp + 0x78]
call fcn.14001e870
lea rcx, [rsp + 0x38]
call fcn.140071ddc
mov rdi, qword [rsp + 0x38]
test al, al
je 0x1400719c1
test r13b, r13b
je 0x140071a8b
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x78]
xor r8d, r8d
call fcn.14001e414
test eax, eax
je 0x1400719e1
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp r12b, 1
jne 0x140071a30
cmp byte [rsp + 0x30], sil
jne 0x1400719e8
mov rdx, rdi
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
jmp 0x140071a67
mov rdx, qword [rsp + 0x38]
jmp 0x1400719d1
mov rax, qword [rsp + 0x40]
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x78]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x50]
inc dword [rax]
mov qword [rsp + 0x70], rax
call fcn.140071b00
movzx eax, al
test eax, eax
je 0x140071a8b
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x140071a67
mov rax, qword [rsp + 0x40]
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x78]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x50]
inc dword [rax]
mov qword [rsp + 0x70], rax
call fcn.140071b00
movzx eax, al
test eax, eax
je 0x140071a8b
mov r14b, 1
lea rdx, [rbp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x14007191d
mov r15b, sil
jmp 0x14007191d
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x140071aa2
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
mov sil, r14b
lea rcx, [rbp - 8]
call fcn.14001bc24
lea rcx, [rbp - 0x28]
call fcn.14001bc24
lea rcx, [rsp + 0x78]
call fcn.14001bc24
lea rcx, [rsp + 0x38]
call fcn.14001bc24
lea rcx, [rbp - 0x48]
call fcn.14001bc24
lea rcx, [rbp - 0x68]
call fcn.14001bc24
lea r11, [rsp + 0x370]
mov al, sil
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret