Function at 0x1400071c0
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Set file attributes

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
lea rbp, [rax - 0x198]
sub rsp, 0x290
mov rax, qword [0x140016018]
xor rax, rsp
mov qword [rbp + 0x180], rax
mov rsi, rcx
mov edi, 0x104
mov r8d, edi
lea rcx, [rbp + 0x70]
xor edx, edx
xor ebx, ebx
call sub.msvcrt.dll_memset
test rsi, rsi
je 0x140007436
cmp byte [rsi], bl
je 0x140007436
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
nop dword [rax + rax]
test eax, eax
jne 0x140007436
lea rax, [rbp + 0x70]
mov r8, rsi
sub r8, rax
lea rcx, [rbp + 0x70]
mov edx, edi
lea rax, [rdx + 0x7ffffefa]
test rax, rax
je 0x14000725e
mov al, byte [r8 + rcx]
test al, al
je 0x14000725e
mov byte [rcx], al
inc rcx
sub rdx, 1
jne 0x14000723f
test rdx, rdx
lea rax, [rcx - 1]
cmovne rax, rcx
mov byte [rax], bl
mov rax, rdx
neg rax
sbb ebx, ebx
not ebx
and ebx, 0x8007007a
test rdx, rdx
je 0x140007436
lea rcx, [rbp + 0x70]
or rax, 0xffffffffffffffff
inc rax
cmp byte [rcx + rax], 0
jne 0x14000728c
sub rdi, rax
lea r8, [0x140013288]
mov rdx, rdi
lea rcx, [rbp + 0x70]
call fcn.1400063b8
mov ebx, eax
test eax, eax
js 0x140007436
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x70]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
nop dword [rax + rax]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x1400072f2
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
jmp 0x140007436
lea rdx, [0x14001328c]
lea rcx, [rsp + 0x5c]
call qword [sym.imp.KERNEL32.dll_lstrcmpA]
nop dword [rax + rax]
test eax, eax
je 0x1400073b4
lea rdx, [0x140013290]
lea rcx, [rsp + 0x5c]
call qword [sym.imp.KERNEL32.dll_lstrcmpA]
nop dword [rax + rax]
test eax, eax
je 0x1400073b4
lea rax, [rsp + 0x5c]
mov r9, rsi
lea r8, [0x140013294]
mov qword [rsp + 0x20], rax
mov edx, 0x103
lea rcx, [rbp + 0x70]
call fcn.140006480
mov ebx, eax
test eax, eax
js 0x140007421
test byte [rsp + 0x30], 0x10
lea rcx, [rbp + 0x70]
je 0x14000738f
mov edx, 0x90
call qword [sym.imp.KERNEL32.dll_SetFileAttributesA]
nop dword [rax + rax]
lea rcx, [rbp + 0x70]
call fcn.1400071c0
mov ebx, eax
test eax, eax
js 0x140007421
jmp 0x1400073b4
mov edx, 0x80
call qword [sym.imp.KERNEL32.dll_SetFileAttributesA]
nop dword [rax + rax]
lea rcx, [rbp + 0x70]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
nop dword [rax + rax]
test eax, eax
je 0x140007407
lea rdx, [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
nop dword [rax + rax]
test eax, eax
jne 0x1400072f2
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 0x12
jne 0x140007407
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
nop dword [rax + rax]
mov rcx, rsi
or rdi, 0xffffffffffffffff
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
nop dword [rax + rax]
test eax, eax
jne 0x140007436
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
cmp rdi, 0xffffffffffffffff
je 0x140007436
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
nop dword [rax + rax]
mov eax, ebx
mov rcx, qword [rbp + 0x180]
xor rcx, rsp
call fcn.14000f1e0
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret