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

Disassembly:
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x1b0]
sub rsp, 0x2b0
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rsp + 0x2e0], rbx
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
mov ebx, edx
mov dword [rsp + 0x24], edx
mov rdi, rcx
mov dword [rsp + 0x20], 1
lea rdx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x140095e01
test byte [rsp + 0x50], 0x10
jne 0x140095e13
test ebx, ebx
je 0x140095de3
mov edx, 0x80
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ebx, eax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindClose]
test ebx, ebx
jne 0x140095e09
cmp dword [rsp + 0x24], ebx
je 0x140095e09
mov rcx, rdi
call fcn.140095ae0
mov eax, 1
jmp 0x14009603a
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindClose]
xor edx, edx
mov r8d, 0x250
lea rcx, [rsp + 0x50]
call sub.MSVCR120.dll_memset
test ebx, ebx
je 0x140096025
xor eax, eax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x48], 7
mov qword [rsp + 0x40], rax
mov word [rsp + 0x30], ax
or rbx, 0xffffffffffffffff
cmp word [rdi], ax
jne 0x140095e63
mov r8d, eax
jmp 0x140095e70
mov r8, rbx
inc r8
cmp word [rdi + r8*2], ax
jne 0x140095e66
mov rdx, rdi
lea rcx, [rsp + 0x30]
call fcn.140007d00
nop
mov r8d, 2
lea rdx, [0x14017666c]
lea rcx, [rsp + 0x30]
call fcn.14000cd20
lea rcx, [rsp + 0x30]
cmp qword [rsp + 0x48], 8
cmovae rcx, qword [rsp + 0x30]
lea rdx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x140095fcd
nop
cmp word [rdi], 0
jne 0x140095ecb
xor r8d, r8d
jmp 0x140095edb
mov r8, rbx
nop
inc r8
cmp word [rdi + r8*2], 0
jne 0x140095ed0
mov rdx, rdi
lea rcx, [rsp + 0x30]
call fcn.140007d00
mov r8d, 1
lea rdx, [0x140162490]
lea rcx, [rsp + 0x30]
call fcn.14000cd20
movzx ecx, word [rsp + 0x7c]
movzx eax, word [rsp + 0x7e]
cmp cx, word [0x140162bc0]
jne 0x140095f1f
cmp ax, word [0x140162bc2]
je 0x140095fa5
cmp cx, word [0x140176674]
jne 0x140095f3e
cmp ax, word [0x140176676]
jne 0x140095f3e
movzx eax, word [rbp - 0x80]
cmp ax, word [0x140176678]
je 0x140095fa5
test cx, cx
jne 0x140095f48
xor r8d, r8d
jmp 0x140095f5b
lea rax, [rsp + 0x7c]
mov r8, rbx
inc r8
cmp word [rax + r8*2], 0
jne 0x140095f50
lea rdx, [rsp + 0x7c]
lea rcx, [rsp + 0x30]
call fcn.14000cd20
cmp dword [rsp + 0x20], 0
je 0x140095f9d
lea rcx, [rsp + 0x30]
cmp qword [rsp + 0x48], 8
cmovae rcx, qword [rsp + 0x30]
mov r8d, 1
mov edx, dword [rsp + 0x24]
call fcn.140095d70
test eax, eax
mov dword [rsp + 0x20], 1
jne 0x140095fa5
mov dword [rsp + 0x20], 0
mov r8d, 0x250
xor edx, edx
lea rcx, [rsp + 0x50]
call sub.MSVCR120.dll_memset
lea rdx, [rsp + 0x50]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140095ec0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindClose]
cmp word [rdi], 0
jne 0x140095fe2
xor esi, esi
mov ebx, esi
jmp 0x140095fee
inc rbx
cmp word [rdi + rbx*2], 0
jne 0x140095fe2
xor esi, esi
mov r8, rbx
mov rdx, rdi
lea rcx, [rsp + 0x30]
call fcn.140007d00
nop
cmp qword [rsp + 0x48], 8
jb 0x140096012
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_]
mov qword [rsp + 0x48], 7
mov qword [rsp + 0x40], rsi
mov word [rsp + 0x30], si
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x14009603a
mov rcx, rdi
call fcn.140095ae0
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.140108d90
mov rbx, qword [rsp + 0x2e0]
add rsp, 0x2b0
pop rdi
pop rsi
pop rbp
ret