Function at 0x10006ccd
Capabilities:
Delete directory
Delete file
Get file attributes
Set file attributes

Disassembly:
push rbp
mov rbp, rsp
push rdi
sub rsp, 0x708
mov qword [rbp + 0x10], rcx
mov dword [rbp + 0x18], edx
mov dword [rbp - 0xf4], 0
lea rax, [rbp - 0x1e0]
mov qword [rax], 0
lea rax, [rbp - 0x1e0]
add rax, 8
mov qword [rax], 0
lea rax, [rbp - 0x1e0]
add rax, 0x10
mov qword [rax], 0
lea rax, [rbp - 0x1e0]
add rax, 0x18
mov qword [rax], 0x18
lea rax, [rbp - 0x1e0]
add rax, 0x20
mov qword [rax], 0
lea rax, [rbp - 0x1e0]
add rax, 0x28
mov ecx, 0xc0
mov r8d, 0
mov qword [rax], r8
mov edx, ecx
add rdx, rax
add rdx, 8
mov qword [rdx - 0x10], r8
lea rdx, [rax + 8]
and rdx, 0xfffffffffffffff8
sub rax, rdx
add ecx, eax
and ecx, 0xfffffff8
mov eax, ecx
shr eax, 3
mov ecx, eax
mov rdi, rdx
mov rax, r8
rep stosq qword [rdi], rax
lea rax, [rbp - 0x2d0]
mov qword [rax], 0
lea rax, [rbp - 0x2d0]
add rax, 8
mov qword [rax], 0
lea rax, [rbp - 0x2d0]
add rax, 0x10
mov qword [rax], 0
lea rax, [rbp - 0x2d0]
add rax, 0x18
mov qword [rax], 0x18
lea rax, [rbp - 0x2d0]
add rax, 0x20
mov qword [rax], 0
lea rax, [rbp - 0x2d0]
add rax, 0x28
mov ecx, 0xc0
mov r8d, 0
mov qword [rax], r8
mov edx, ecx
add rdx, rax
add rdx, 8
mov qword [rdx - 0x10], r8
lea rdx, [rax + 8]
and rdx, 0xfffffffffffffff8
sub rax, rdx
add ecx, eax
and ecx, 0xfffffff8
mov eax, ecx
shr eax, 3
mov ecx, eax
mov rdi, rdx
mov rax, r8
rep stosq qword [rdi], rax
mov dword [rbp - 0x2d4], 0
mov dword [rbp - 0x2d8], 0
mov dword [rbp - 0x2dc], 0
lea rax, [rbp - 0x6e0]
mov r8, rax
mov eax, 0
mov edx, pe_nt_image_headers64
mov rdi, r8
mov rcx, rdx
rep stosq qword [rdi], rax
mov dword [rbp - 0x2dc], 1
lea rax, [rbp - 0xf0]
mov qword [rax], 0
mov qword [rax + 8], 0
mov qword [rax + 0x10], 0
lea rax, [rbp - 0xf0]
mov dword [rsp + 0x20], 0
mov r9d, 4
lea r8, [0x100c703a]
mov rdx, 0xffffffffffffffff
mov rcx, rax
call fcn.100bf4b0
mov qword [rbp - 0x18], rax
lea rax, [rbp - 0xd0]
mov qword [rax], 0
mov qword [rax + 8], 0
mov qword [rax + 0x10], 0
lea rax, [rbp - 0xd0]
mov dword [rsp + 0x20], 0
mov r9, 0xffffffffffffffff
mov r8, qword [rbp + 0x10]
mov rdx, 0xffffffffffffffff
mov rcx, rax
call fcn.100bf4b0
mov qword [rbp - 0x20], rax
lea r8, [rbp - 0x2d0]
lea rcx, [rbp - 0x1e0]
lea rdx, [rbp - 0xf0]
lea rax, [rbp - 0xd0]
mov dword [rsp + 0x20], 0
mov r9, r8
mov r8, rcx
mov rcx, rax
call fcn.10007263
mov dword [rbp - 0x24], eax
mov eax, dword [rbp - 0x24]
mov dword [rbp - 0x2d4], eax
lea rax, [rbp - 0xf0]
mov rcx, rax
call fcn.100c0370
lea rax, [rbp - 0xd0]
mov rcx, rax
call fcn.100c0370
mov eax, dword [rbp - 0x2d4]
test eax, eax
jle 0x100071b4
lea rax, [rbp - 0x1e0]
mov edx, 1
mov rcx, rax
call fcn.100be0a0
mov qword [rbp - 0x30], rax
mov rax, qword [rbp - 0x30]
mov dword [rbp - 0x2d8], eax
lea rax, [rbp - 0x1e0]
mov edx, 1
mov rcx, rax
call fcn.100be650
mov qword [rbp - 0x38], rax
mov rax, qword [rbp - 0x38]
mov dword [rbp - 0x3c], eax
jmp 0x100070b0
nop
mov eax, dword [rbp - 0x2d8]
movsxd rdx, eax
mov rax, rdx
add rax, rax
add rax, rdx
shl rax, 3
mov rdx, rax
lea rax, [rbp - 0x1e0]
mov rax, qword [rax]
add rax, rdx
mov rax, qword [rax]
mov rcx, rax
call fcn.100c1a60
mov qword [rbp - 0x48], rax
mov rax, qword [rbp - 0x48]
mov qword [rbp - 0x50], rax
mov rdx, qword [rbp - 0x50]
lea rax, [rbp - 0x6e0]
mov r8, rdx
mov edx, 0x200
mov rcx, rax
call fcn.100c1060
mov qword [rbp - 0x58], rax
mov rax, qword [rbp - 0x50]
mov rcx, rax
call fcn.100c1d30
lea rax, [rbp - 0x6e0]
mov rcx, rax
call sub.KERNEL32.dll_DeleteFileW
mov dword [rbp - 0x5c], eax
mov eax, dword [rbp - 0x5c]
mov dword [rbp - 0x2d4], eax
mov eax, dword [rbp - 0x2d4]
test eax, eax
jne 0x1000709d
lea rax, [rbp - 0x6e0]
mov rcx, rax
call sub.KERNEL32.dll_GetFileAttributesW
mov dword [rbp - 0x60], eax
mov eax, dword [rbp - 0x60]
mov dword [rbp - 0x2d4], eax
lea rax, [rbp - 0x6e0]
mov edx, pe_nt_image_headers64
mov rcx, rax
call sub.KERNEL32.dll_SetFileAttributesW
lea rax, [rbp - 0x6e0]
mov rcx, rax
call sub.KERNEL32.dll_DeleteFileW
mov dword [rbp - 0x64], eax
mov eax, dword [rbp - 0x64]
mov dword [rbp - 0x2d4], eax
mov eax, dword [rbp - 0x2d4]
test eax, eax
jne 0x100070a0
mov dword [rbp - 0x2dc], 0
jmp 0x100070a1
nop
jmp 0x100070a1
nop
mov eax, dword [rbp - 0x2d8]
add eax, 1
mov dword [rbp - 0x2d8], eax
mov eax, dword [rbp - 0x2d8]
cmp dword [rbp - 0x3c], eax
jge 0x10006faf
nop
lea rax, [rbp - 0x2d0]
mov edx, 1
mov rcx, rax
call fcn.100be650
mov qword [rbp - 0x70], rax
mov rax, qword [rbp - 0x70]
mov dword [rbp - 0x2d8], eax
lea rax, [rbp - 0x2d0]
mov edx, 1
mov rcx, rax
call fcn.100be0a0
mov qword [rbp - 0x78], rax
mov rax, qword [rbp - 0x78]
mov dword [rbp - 0x7c], eax
jmp 0x100071a3
nop
mov eax, dword [rbp - 0x2d8]
movsxd rdx, eax
mov rax, rdx
add rax, rax
add rax, rdx
shl rax, 3
mov rdx, rax
lea rax, [rbp - 0x2d0]
mov rax, qword [rax]
add rax, rdx
mov rax, qword [rax]
mov rcx, rax
call fcn.100c1a60
mov qword [rbp - 0x88], rax
mov rax, qword [rbp - 0x88]
mov qword [rbp - 0x90], rax
mov rax, qword [rbp - 0x90]
mov rcx, rax
call sub.KERNEL32.dll_RemoveDirectoryW
mov dword [rbp - 0x94], eax
mov eax, dword [rbp - 0x94]
mov dword [rbp - 0x2d4], eax
mov rax, qword [rbp - 0x90]
mov rcx, rax
call fcn.100c1d30
mov eax, dword [rbp - 0x2d4]
test eax, eax
jne 0x10007193
mov dword [rbp - 0x2dc], 0
jmp 0x10007194
nop
mov eax, dword [rbp - 0x2d8]
sub eax, 1
mov dword [rbp - 0x2d8], eax
mov eax, dword [rbp - 0x2d8]
cmp dword [rbp - 0x7c], eax
jle 0x10007106
jmp 0x100071b5
nop
cmp dword [rbp + 0x18], 0
jne 0x10007225
mov rax, qword [rbp + 0x10]
mov rax, qword [rax]
mov rcx, rax
call fcn.100c1a60
mov qword [rbp - 0xa0], rax
mov rax, qword [rbp - 0xa0]
mov qword [rbp - 0xa8], rax
mov rax, qword [rbp - 0xa8]
mov rcx, rax
call sub.KERNEL32.dll_RemoveDirectoryW
mov dword [rbp - 0xac], eax
mov eax, dword [rbp - 0xac]
mov dword [rbp - 0x2d4], eax
mov rax, qword [rbp - 0xa8]
mov rcx, rax
call fcn.100c1d30
mov eax, dword [rbp - 0x2d4]
test eax, eax
jne 0x10007228
mov dword [rbp - 0x2dc], 0
jmp 0x10007229
nop
jmp 0x10007229
nop
mov eax, dword [rbp - 0x2dc]
mov dword [rbp - 0xf4], eax
lea rax, [rbp - 0x2d0]
mov rcx, rax
call fcn.100be090
lea rax, [rbp - 0x1e0]
mov rcx, rax
call fcn.100be090
mov eax, dword [rbp - 0xf4]
add rsp, 0x708
pop rdi
pop rbp
ret