Function at 0x14008c0d0
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 0x14008c161
test byte [rsp + 0x50], 0x10
jne 0x14008c173
test ebx, ebx
je 0x14008c143
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 0x14008c169
cmp dword [rsp + 0x24], ebx
je 0x14008c169
mov rcx, rdi
call fcn.14008be40
mov eax, 1
jmp 0x14008c39a
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 0x14008c385
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 0x14008c1c3
mov r8d, eax
jmp 0x14008c1d0
mov r8, rbx
inc r8
cmp word [rdi + r8*2], ax
jne 0x14008c1c6
mov rdx, rdi
lea rcx, [rsp + 0x30]
call fcn.140007c60
nop
mov r8d, 2
lea rdx, [0x14015a42c]
lea rcx, [rsp + 0x30]
call fcn.14000cbc0
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 0x14008c32d
nop
cmp word [rdi], 0
jne 0x14008c22b
xor r8d, r8d
jmp 0x14008c23b
mov r8, rbx
nop
inc r8
cmp word [rdi + r8*2], 0
jne 0x14008c230
mov rdx, rdi
lea rcx, [rsp + 0x30]
call fcn.140007c60
mov r8d, 1
lea rdx, [0x140143ec8]
lea rcx, [rsp + 0x30]
call fcn.14000cbc0
movzx ecx, word [rsp + 0x7c]
movzx eax, word [rsp + 0x7e]
cmp cx, word [0x140144720]
jne 0x14008c27f
cmp ax, word [0x140144722]
je 0x14008c305
cmp cx, word [0x14015a410]
jne 0x14008c29e
cmp ax, word [0x14015a412]
jne 0x14008c29e
movzx eax, word [rbp - 0x80]
cmp ax, word [0x14015a414]
je 0x14008c305
test cx, cx
jne 0x14008c2a8
xor r8d, r8d
jmp 0x14008c2bb
lea rax, [rsp + 0x7c]
mov r8, rbx
inc r8
cmp word [rax + r8*2], 0
jne 0x14008c2b0
lea rdx, [rsp + 0x7c]
lea rcx, [rsp + 0x30]
call fcn.14000cbc0
cmp dword [rsp + 0x20], 0
je 0x14008c2fd
lea rcx, [rsp + 0x30]
cmp qword [rsp + 0x48], 8
cmovae rcx, qword [rsp + 0x30]
mov r8d, 1
mov edx, dword [rsp + 0x24]
call fcn.14008c0d0
test eax, eax
mov dword [rsp + 0x20], 1
jne 0x14008c305
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 0x14008c220
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindClose]
cmp word [rdi], 0
jne 0x14008c342
xor esi, esi
mov ebx, esi
jmp 0x14008c34e
inc rbx
cmp word [rdi + rbx*2], 0
jne 0x14008c342
xor esi, esi
mov r8, rbx
mov rdx, rdi
lea rcx, [rsp + 0x30]
call fcn.140007c60
nop
cmp qword [rsp + 0x48], 8
jb 0x14008c372
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 0x14008c39a
mov rcx, rdi
call fcn.14008be40
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.1400f5ff0
mov rbx, qword [rsp + 0x2e0]
add rsp, 0x2b0
pop rdi
pop rsi
pop rbp
ret