Function at 0x14002bb80
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Get file attributes
Move file
Set file attributes

Disassembly:
push rbp
push rbx
push rdi
push r12
push r13
push r15
lea rbp, [rsp - 0x5b8]
sub rsp, 0x6b8
mov rax, qword [0x14035dc30]
xor rax, rsp
mov qword [rbp + 0x5a0], rax
mov r13d, edx
mov rbx, rcx
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x250
call fcn.14026c200
xor edx, edx
lea rcx, [rbp + 0x180]
mov r8d, 0x208
call fcn.14026c200
test rbx, rbx
je 0x14002bf90
xor edi, edi
cmp di, word [rbx]
je 0x14002bf90
mov edx, 0x104
mov rcx, rbx
call fcn.1402782ec
cmp rax, 3
jbe 0x14002bf90
lea rax, [rbp + 0x180]
mov rcx, rbx
sub rcx, rax
lea rdx, [rbp + 0x180]
mov r8d, 0x104
nop dword [rax + rax]
lea rax, [r8 + 0x7ffffefa]
test rax, rax
je 0x14002bc42
movzx eax, word [rcx + rdx]
test ax, ax
je 0x14002bc42
mov word [rdx], ax
add rdx, 2
sub r8, 1
jne 0x14002bc20
lea rax, [rdx - 2]
test r8, r8
lea rcx, [rbp + 0x180]
cmovne rax, rdx
mov edx, 0x5c
mov word [rax], di
call fcn.14026b9c8
mov r15, rax
test rax, rax
je 0x14002bf90
lea rdx, [rsp + 0x30]
mov rcx, rbx
add r15, 2
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov r12, rax
cmp rax, 0xffffffffffffffff
je 0x14002bf90
mov qword [rsp + 0x700], rsi
lea rax, [rbp + 0x180]
mov qword [rsp + 0x6b0], r14
lea rbx, [0x1402f8038]
mov rcx, r15
mov esi, 1
sub rcx, rax
mov r14d, 0x104
sar rcx, 1
sub r14, rcx
lea ecx, [rsi + 0x2d]
lea rax, [r14 - 1]
cmp rax, 0x7ffffffe
ja 0x14002bd1c
mov r8d, 0x7ffffffe
lea r9, [rsp + 0x5c]
sub r8, r14
mov rdx, r14
sub r9, r15
mov rax, r15
lea rcx, [r8 + rdx]
test rcx, rcx
je 0x14002bd07
movzx ecx, word [r9 + rax]
test cx, cx
je 0x14002bd07
mov word [rax], cx
add rax, 2
sub rdx, 1
jne 0x14002bce7
test rdx, rdx
lea rcx, [rax - 2]
cmovne rcx, rax
mov word [rcx], di
mov ecx, 0x2e
jmp 0x14002bd25
test r14, r14
je 0x14002bd25
mov word [r15], di
test byte [rsp + 0x30], 0x10
je 0x14002be8c
cmp cx, word [rsp + 0x5c]
je 0x14002bf53
test r13d, r13d
je 0x14002bf53
cmp di, word [rbp + 0x180]
je 0x14002be70
mov edx, 0x104
lea rcx, [rbp + 0x180]
call fcn.1402782ec
cmp rax, 3
jbe 0x14002be70
xor edx, edx
lea rcx, [rbp + 0x390]
mov r8d, 0x208
call fcn.14026c200
lea r9, [rbp + 0x180]
mov qword [rsp + 0x20], rbx
lea r8, [0x1402f8040]
mov edx, 0x104
lea rcx, [rbp + 0x390]
call fcn.14002b650
mov edx, r13d
lea rcx, [rbp + 0x390]
call fcn.14002bb80
lea rcx, [rbp + 0x180]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
and eax, 0xfffffffe
lea rcx, [rbp + 0x180]
mov edx, eax
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea rcx, [rbp + 0x180]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x14002be72
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
je 0x14002bdfb
cmp eax, 0x91
jne 0x14002be72
xor eax, eax
cmp ax, word [rbp + 0x180]
je 0x14002be5c
lea rcx, [rbp + 0x180]
call fcn.14002c270
test eax, eax
jne 0x14002be35
lea rcx, [rbp + 0x180]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
and eax, 0xfffffffe
lea rcx, [rbp + 0x180]
mov edx, eax
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
xor edx, edx
lea rcx, [rbp + 0x180]
lea r8d, [rdx + 4]
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x14002be61
call qword [sym.imp.KERNEL32.dll_GetLastError]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x14002be61
mov edi, 0x57
test ebx, ebx
je 0x14002be6e
test edi, edi
jne 0x14002be6e
lea ebx, [rdi + 1]
jmp 0x14002be72
xor edi, edi
mov ebx, edi
test esi, esi
je 0x14002bf4a
test ebx, ebx
je 0x14002bf4a
mov esi, 1
jmp 0x14002bf4c
lea rcx, [rbp + 0x180]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
and eax, 0xfffffffe
lea rcx, [rbp + 0x180]
mov edx, eax
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea rcx, [rbp + 0x180]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14002bf53
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xf
je 0x14002bf53
add eax, 0xfffffffe
cmp eax, 1
jbe 0x14002bf53
mov ebx, edi
cmp di, word [rbp + 0x180]
je 0x14002bf38
lea rcx, [rbp + 0x180]
call fcn.14002c270
test eax, eax
jne 0x14002bf11
lea rcx, [rbp + 0x180]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
and eax, 0xfffffffe
lea rcx, [rbp + 0x180]
mov edx, eax
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
xor edx, edx
lea rcx, [rbp + 0x180]
lea r8d, [rdx + 4]
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x14002bf3d
call qword [sym.imp.KERNEL32.dll_GetLastError]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x14002bf3d
mov ebx, 0x57
test esi, esi
je 0x14002bf4a
mov esi, 1
test ebx, ebx
je 0x14002bf4c
mov esi, edi
lea rbx, [0x1402f8038]
lea rdx, [rsp + 0x30]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
mov ecx, 0x2e
test eax, eax
jne 0x14002bcc4
mov r14, qword [rsp + 0x6b0]
test r12, r12
je 0x14002bf84
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FindClose]
mov eax, esi
mov rsi, qword [rsp + 0x700]
jmp 0x14002bf92
xor eax, eax
mov rcx, qword [rbp + 0x5a0]
xor rcx, rsp
call fcn.140269300
add rsp, 0x6b8
pop r15
pop r13
pop r12
pop rdi
pop rbx
pop rbp
ret