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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x120]
sub rsp, 0x220
mov rax, qword [0x1401040f0]
xor rax, rsp
mov qword [rbp + 0x110], rax
movzx r15d, dl
mov r14, rcx
xor esi, esi
xor r12b, r12b
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x78], rsi
mov qword [rbp - 0x80], 0xf
mov byte [rsp + 0x68], sil
mov qword [rbp - 0x78], rsi
mov qword [rbp - 0x68], rsi
mov qword [rbp - 0x60], 0xf
mov byte [rbp - 0x78], r12b
mov rcx, qword [rcx + 0x10]
movabs rdi, 0x7fffffffffffffff
mov rax, rdi
sub rax, rcx
cmp rax, 4
jb 0x140012a3a
mov r9, r14
cmp qword [r14 + 0x18], 0x10
jb 0x140012662
mov r9, qword [r14]
mov qword [rsp + 0x30], 4
lea rax, str..
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
mov r8, r14
movzx edx, byte [rsp + 0x40]
lea rcx, [rbp - 0x58]
call fcn.14000dd20
mov rdx, qword [rbp - 0x60]
cmp rdx, 0x10
jb 0x1400126c8
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400126c3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140012a40
call fcn.14005ca58
movups xmm0, xmmword [rbp - 0x58]
movups xmmword [rbp - 0x78], xmm0
movups xmm1, xmmword [rbp - 0x48]
movups xmmword [rbp - 0x68], xmm1
lea rcx, [rbp - 0x78]
movq rdx, xmm0
psrldq xmm1, 8
movq rax, xmm1
cmp rax, 0x10
cmovae rcx, rdx
lea rdx, [rbp - 0x30]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov r13, rax
cmp rax, 0xffffffffffffffff
je 0x140012983
movzx ebx, byte [rsp + 0x40]
lea rdx, [0x1400d7344]
cmp byte [rbp - 4], 0x2e
je 0x140012900
lea rax, [rsp + 0x68]
cmp qword [rbp - 0x80], 0x10
cmovae rax, qword [rsp + 0x68]
mov qword [rsp + 0x78], rsi
mov byte [rax], 0
mov rcx, qword [r14 + 0x10]
mov rax, rdi
sub rax, rcx
cmp rax, 1
jb 0x140012a52
mov r9, r14
cmp qword [r14 + 0x18], 0x10
jb 0x140012759
mov r9, qword [r14]
mov qword [rsp + 0x30], 1
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rcx
mov r8, r14
movzx edx, bl
lea rcx, [rbp - 0x58]
call fcn.14000dd20
nop
lea rax, [rbp - 4]
mov rsi, 0xffffffffffffffff
inc rsi
cmp byte [rax + rsi], 0
jne 0x140012787
mov rcx, qword [rbp - 0x48]
mov rdx, qword [rbp - 0x40]
mov rax, rdx
sub rax, rcx
cmp rsi, rax
ja 0x1400127d4
lea rax, [rcx + rsi]
mov qword [rbp - 0x48], rax
lea rdi, [rbp - 0x58]
cmp rdx, 0x10
cmovae rdi, qword [rbp - 0x58]
add rdi, rcx
mov r8, rsi
lea rdx, [rbp - 4]
mov rcx, rdi
call fcn.14005f670
mov byte [rdi + rsi], 0
lea rax, [rbp - 0x58]
jmp 0x1400127ec
mov qword [rsp + 0x20], rsi
lea r9, [rbp - 4]
xor r8d, r8d
mov rdx, rsi
lea rcx, [rbp - 0x58]
call fcn.1400040d0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x48], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x58], xmm1
xor esi, esi
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 0xf
mov byte [rax], sil
mov rdx, qword [rbp - 0x80]
cmp rdx, 0x10
jb 0x140012854
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140012845
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140012a46
call fcn.14005ca58
movups xmm0, xmmword [rsp + 0x48]
movups xmm1, xmmword [rsp + 0x58]
movups xmmword [rsp + 0x68], xmm0
movups xmmword [rsp + 0x78], xmm1
mov rdx, qword [rbp - 0x40]
cmp rdx, 0x10
jb 0x140012899
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140012894
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140012a4c
call fcn.14005ca58
test byte [rbp - 0x30], 0x10
je 0x1400128c3
test r15b, r15b
je 0x1400128be
movzx edx, r15b
lea rcx, [rsp + 0x68]
call fcn.1400125d0
mov edi, eax
test eax, eax
jne 0x140012985
jmp 0x140012900
mov r12b, 1
jmp 0x140012900
lea rcx, [rsp + 0x68]
cmp qword [rbp - 0x80], 0x10
cmovae rcx, qword [rsp + 0x68]
mov edx, 0x80
call qword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
je 0x140012979
lea rcx, [rsp + 0x68]
cmp qword [rbp - 0x80], 0x10
cmovae rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
je 0x140012979
lea rdx, [rbp - 0x30]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
cmp eax, 1
jne 0x140012921
movabs rdi, 0x7fffffffffffffff
jmp 0x14001270f
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_FindClose]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp eax, 0x12
jne 0x140012985
test r12b, r12b
jne 0x140012983
mov rcx, r14
cmp qword [r14 + 0x18], 0x10
jb 0x140012949
mov rcx, qword [r14]
mov edx, 0x80
call qword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
jne 0x140012962
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x140012985
cmp qword [r14 + 0x18], 0x10
jb 0x14001296c
mov r14, qword [r14]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
jne 0x140012983
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x140012985
mov edi, esi
mov rdx, qword [rbp - 0x60]
cmp rdx, 0x10
jb 0x1400129c0
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400129bb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140012a58
call fcn.14005ca58
mov qword [rbp - 0x68], rsi
mov qword [rbp - 0x60], 0xf
mov byte [rbp - 0x78], 0
mov rdx, qword [rbp - 0x80]
cmp rdx, 0x10
jb 0x140012a08
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140012a03
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140012a34
call fcn.14005ca58
mov eax, edi
mov rcx, qword [rbp + 0x110]
xor rcx, rsp
call fcn.14005cfc0
mov rbx, qword [rsp + 0x270]
add rsp, 0x220
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.14006dea8
nop
call fcn.140018600
nop
call fcn.14006dea8
nop
call fcn.14006dea8
nop
call fcn.14006dea8
int3
call fcn.140018600
nop
call fcn.14006dea8
int3