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

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xe8
mov qword [rsp + 0x78], 0xfffffffffffffffe
mov rax, qword [0x140322b20]
xor rax, rsp
mov qword [rsp + 0xd0], rax
mov rdx, qword [rsp + 0x100]
mov rcx, qword [rsp + 0xf8]
call fcn.140022c30
mov edx, 0x38
lea rcx, [rsp + 0x98]
call fcn.1400475d0
lea rcx, [rsp + 0x98]
call fcn.14006f568
nop
mov rcx, qword [rsp + 0xf8]
call fcn.1400462e0
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x98]
call fcn.14006f858
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
je 0x14002a5f4
lea rcx, [rsp + 0x98]
call fcn.14006fba4
mov dword [rsp + 0x34], eax
mov edx, 8
lea rcx, [rsp + 0x90]
call fcn.1400475d0
lea rcx, [rsp + 0x90]
call fcn.14001c580
nop
lea rcx, [rsp + 0x98]
call fcn.140070168
test eax, eax
jne 0x14002a5e2
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x98]
call fcn.14006fd44
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x50], rax
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x90]
call fcn.140020710
nop
lea rcx, [rsp + 0x70]
call fcn.14001f5e0
lea rcx, [rsp + 0x98]
call fcn.140035a50
test eax, eax
je 0x14002a534
lea rax, [rsp + 0x80]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x88]
mov qword [rsp + 0x40], rax
mov rdx, qword [rsp + 0x100]
mov rcx, qword [rsp + 0x60]
call fcn.14001c480
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x90]
mov rcx, qword [rsp + 0x40]
call fcn.14001c480
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x110]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x108]
mov r8, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0xf0]
call fcn.14002a310
lea rcx, [rsp + 0x90]
call fcn.1400462e0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
cmp dword [rsp + 0x108], 0
je 0x14002a52f
cmp qword [rsp + 0x110], 0
je 0x14002a52f
mov rax, qword [rsp + 0x110]
mov rax, qword [rax]
inc rax
mov rcx, qword [rsp + 0x110]
mov qword [rcx], rax
xor edx, edx
mov rax, qword [rsp + 0x110]
mov rax, qword [rax]
mov ecx, 0xa
div rcx
mov rax, rdx
test rax, rax
jne 0x14002a52f
mov ecx, dword [rsp + 0x108]
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14002a5e2
lea rcx, [rsp + 0x90]
call fcn.1400462e0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x30]
and eax, 0xfffffffe
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x90]
call fcn.1400462e0
mov edx, dword [rsp + 0x30]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea rcx, [rsp + 0x90]
call fcn.1400462e0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [rsp + 0x108], 0
je 0x14002a5e2
cmp qword [rsp + 0x110], 0
je 0x14002a5e2
mov rax, qword [rsp + 0x110]
mov rax, qword [rax]
inc rax
mov rcx, qword [rsp + 0x110]
mov qword [rcx], rax
xor edx, edx
mov rax, qword [rsp + 0x110]
mov rax, qword [rax]
mov ecx, 0xa
div rcx
mov rax, rdx
test rax, rax
jne 0x14002a5e2
mov ecx, dword [rsp + 0x108]
call qword [sym.imp.KERNEL32.dll_Sleep]
nop
lea rcx, [rsp + 0x90]
call fcn.14001f5e0
jmp 0x14002a39f
lea rcx, [rsp + 0x98]
call fcn.14006f7f8
nop
lea rcx, [rsp + 0x98]
call fcn.14006f6b0
nop
mov rcx, qword [rsp + 0xf8]
call fcn.14001f5e0
nop
mov rcx, qword [rsp + 0x100]
call fcn.14001f5e0
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.1401fe250
add rsp, 0xe8
ret