Function at 0x14004cba0
Capabilities:
Delete directory
Delete file
Enumerate files on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
lea rbp, [rsp - 0x220]
sub rsp, 0x320
mov rax, qword [0x1400fe4a8]
xor rax, rsp
mov qword [rbp + 0x210], rax
lea rdx, [rbp - 0x60]
call fcn.14004e670
mov rsi, qword [rbp - 0x50]
lea rdi, [rbp - 0x60]
xor r13d, r13d
movabs r12, 0x7ffffffffffffffe
cmp qword [rbp - 0x48], 8
mov qword [rsp + 0x20], r13
cmovae rdi, qword [rbp - 0x60]
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x38], r13
cmp rsi, 8
jae 0x14004cc20
movups xmm0, xmmword [rdi]
mov qword [rsp + 0x38], 7
lea ebx, [r13 + 7]
movups xmmword [rsp + 0x20], xmm0
jmp 0x14004cc59
mov rbx, rsi
lea rcx, [rsp + 0x20]
or rbx, 7
cmp rbx, r12
cmova rbx, r12
lea rdx, [rbx + 1]
call fcn.14001e3a0
lea r8, [rsi*2 + 2]
mov qword [rsp + 0x20], rax
mov rdx, rdi
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov qword [rsp + 0x38], rbx
mov rax, r12
mov qword [rsp + 0x30], rsi
sub rax, rsi
cmp rax, 4
jb 0x14004d0de
cmp rbx, 8
mov qword [rsp + 0x350], r14
mov qword [rsp + 0x358], r15
lea r14, [rsi + 4]
mov ebx, 7
mov qword [rsp + 0x40], r13
lea r15, [rsp + 0x20]
mov qword [rsp + 0x50], r13
cmovae r15, qword [rsp + 0x20]
lea rdi, [rsp + 0x40]
mov qword [rsp + 0x58], r13
movabs rdx, 0x7fffffffffffffff
lea eax, [rbx + 3]
cmp r14, rbx
jbe 0x14004cd34
mov rbx, r14
or rbx, 7
cmp rbx, r12
jbe 0x14004ccd1
mov rbx, r12
lea rcx, [rax - 0xc]
jmp 0x14004ccf1
cmp rbx, rax
cmovb rbx, rax
lea rcx, [rbx + 1]
cmp rcx, rdx
ja 0x14004d0e4
add rcx, rcx
cmp rcx, 0x1000
jb 0x14004cd1d
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14004d0e4
mov rcx, rax
call fcn.1400ceac0
test rax, rax
je 0x14004d06b
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x14004cd2f
test rcx, rcx
je 0x14004cd2c
call fcn.1400ceac0
mov rdi, rax
jmp 0x14004cd2f
mov rdi, r13
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x58], rbx
mov rdx, r15
lea rbx, [rsi + rsi]
mov qword [rsp + 0x50], r14
mov r8, rbx
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
movabs rax, 0x2a002e002a005c
lea rcx, [rsp + 0x40]
mov qword [rbx + rdi], rax
lea rdx, [rbp - 0x40]
mov word [rdi + r14*2], r13w
cmp qword [rsp + 0x58], 8
cmovae rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov r12, rax
cmp rax, 0xffffffffffffffff
je 0x14004cfc9
nop dword [rax + rax]
movzx edx, word [rbp - 0x14]
movzx ecx, word [rbp - 0x12]
cmp dx, 0x2e
jne 0x14004cdbc
test cx, cx
je 0x14004cfab
cmp dx, dx
jne 0x14004cdbc
cmp cx, dx
jne 0x14004cdbc
cmp word [rbp - 0x10], r13w
je 0x14004cfab
mov rsi, qword [rsp + 0x30]
movabs rcx, 0x7ffffffffffffffe
mov rax, rcx
sub rax, rsi
cmp rax, 1
jb 0x14004d0d8
cmp qword [rsp + 0x38], 8
lea r15, [rsp + 0x20]
lea r14, [rsi + 1]
mov qword [rsp + 0x60], r13
cmovae r15, qword [rsp + 0x20]
lea rdi, [rsp + 0x60]
mov ebx, 7
mov qword [rsp + 0x70], r13
mov qword [rsp + 0x78], r13
cmp r14, rbx
jbe 0x14004ce9d
mov rbx, r14
or rbx, 7
cmp rbx, rcx
jbe 0x14004ce2a
mov rbx, rcx
mov rcx, 0xfffffffffffffffe
jmp 0x14004ce5a
cmp rbx, 0xa
mov eax, 0xa
cmovb rbx, rax
movabs rax, 0x7fffffffffffffff
lea rcx, [rbx + 1]
cmp rcx, rax
ja 0x14004d0ea
add rcx, rcx
cmp rcx, 0x1000
jb 0x14004ce86
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14004d0ea
mov rcx, rax
call fcn.1400ceac0
test rax, rax
je 0x14004d072
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x14004ce98
test rcx, rcx
je 0x14004ce95
call fcn.1400ceac0
mov rdi, rax
jmp 0x14004ce98
mov rdi, r13
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x78], rbx
mov rdx, r15
lea rbx, [rsi + rsi]
mov qword [rsp + 0x70], r14
mov r8, rbx
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov eax, 0x5c
mov r8, 0xffffffffffffffff
mov word [rdi + rbx], ax
lea rax, [rbp - 0x14]
mov word [rdi + r14*2], r13w
inc r8
cmp word [rax + r8*2], r13w
jne 0x14004ced2
lea rdx, [rbp - 0x14]
lea rcx, [rsp + 0x60]
call fcn.14002a720
mov qword [rbp - 0x80], r13
mov qword [rbp - 0x70], r13
mov qword [rbp - 0x68], r13
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x80], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x70], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 7
mov word [rax], r13w
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x14004cf57
mov rcx, qword [rsp + 0x60]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004cf52
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004d072
call fcn.1400ceafc
cmp qword [rbp - 0x68], 8
lea rcx, [rbp - 0x80]
cmovae rcx, qword [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rdx, qword [rbp - 0x68]
cmp rdx, 8
jb 0x14004cfab
mov rcx, qword [rbp - 0x80]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004cfa6
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004d079
call fcn.1400ceafc
lea rdx, [rbp - 0x40]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x14004cd90
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FindClose]
cmp qword [rsp + 0x38], 8
lea rcx, [rsp + 0x20]
cmovae rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x14004d01e
mov rcx, qword [rsp + 0x40]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004d019
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004d06b
call fcn.1400ceafc
mov rdx, qword [rsp + 0x38]
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x58], 7
mov word [rsp + 0x40], r13w
cmp rdx, 8
jb 0x14004d085
mov rcx, qword [rsp + 0x20]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004d080
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004d080
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ceafc
lea rcx, [rbp - 0x60]
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x38], 7
mov word [rsp + 0x20], r13w
call fcn.140029580
mov r14, qword [rsp + 0x350]
mov r15, qword [rsp + 0x358]
mov rcx, qword [rbp + 0x210]
xor rcx, rsp
call fcn.1400cebd0
mov rbx, qword [rsp + 0x360]
add rsp, 0x320
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.14000cec0
int3
call fcn.14000cec0
int3
call fcn.140008170
int3
call fcn.140008170
int3