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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x210]
sub rsp, 0x310
mov rax, qword [0x14006f040]
xor rax, rsp
mov qword [rbp + 0x200], rax
mov r15, rcx
xor r12d, r12d
lea r8, [0x140063450]
mov rdx, rcx
lea rcx, [rsp + 0x48]
call fcn.140058470
cmp qword [rax + 0x18], 7
jbe 0x140051a5c
mov rax, qword [rax]
lea rdx, [rbp - 0x50]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov r14, rax
mov rdx, qword [rsp + 0x60]
cmp rdx, 7
jbe 0x140051ab1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140051aac
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140051aac
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14005a94c
movdqa xmm0, xmmword [0x140063a00]
movdqu xmmword [rsp + 0x58], xmm0
mov word [rsp + 0x48], r12w
cmp r14, 0xffffffffffffffff
je 0x140051d6f
lea r13, [0x14006340c]
nop word [rax + rax]
xorps xmm0, xmm0
movups xmmword [rbp - 0x78], xmm0
mov qword [rbp - 0x68], r12
mov qword [rbp - 0x60], r12
lea rax, [rbp - 0x24]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140051b00
lea rdx, [rbp - 0x24]
lea rcx, [rbp - 0x78]
call fcn.140058c40
nop
lea r8, [rbp - 0x78]
mov rbx, qword [rbp - 0x78]
mov rdi, qword [rbp - 0x60]
cmp rdi, 7
cmova r8, rbx
mov rsi, qword [rbp - 0x68]
cmp rsi, 1
jne 0x140051b56
mov rdx, rsi
mov rcx, r13
sub r8, r13
movzx eax, word [rcx + r8]
cmp ax, word [rcx]
jne 0x140051b56
add rcx, 2
sub rdx, 1
jne 0x140051b40
jmp 0x140051b94
lea r8, [rbp - 0x78]
cmp rdi, 7
cmova r8, rbx
cmp rsi, 2
jne 0x140051bd3
mov rdx, rsi
lea rcx, [0x140063410]
mov rax, rcx
sub r8, rcx
nop dword [rax + rax]
movzx ecx, word [rax + r8]
cmp cx, word [rax]
jne 0x140051bd3
add rax, 2
sub rdx, 1
jne 0x140051b80
cmp rdi, 7
jbe 0x140051d51
lea rdx, [rdi*2 + 2]
mov rax, rbx
cmp rdx, 0x1000
jb 0x140051bcb
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140051dad
mov rcx, rbx
jmp 0x140051d4c
lea r8, [0x1400633e4]
mov rdx, r15
lea rcx, [rsp + 0x28]
call fcn.140058470
nop
lea rdx, [rbp - 0x78]
cmp rdi, 7
cmova rdx, rbx
mov r8, rsi
mov rcx, rax
call fcn.140057ae0
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], r12
mov qword [rbp - 0x80], r12
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x68], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x78], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 7
mov word [rax], r12w
mov rdx, qword [rsp + 0x40]
cmp rdx, 7
jbe 0x140051c73
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140051c6e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140051d9f
call fcn.14005a94c
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x40], 7
mov word [rsp + 0x28], r12w
lea rcx, [rsp + 0x68]
test byte [rbp - 0x50], 0x10
je 0x140051caf
call fcn.140051a00
lea rcx, [rsp + 0x68]
cmp qword [rbp - 0x80], 7
cmova rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x140051cc1
cmp qword [rbp - 0x80], 7
cmova rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
mov rdx, qword [rbp - 0x80]
cmp rdx, 7
jbe 0x140051d02
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140051cfd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140051da6
call fcn.14005a94c
mov qword [rsp + 0x78], r12
mov qword [rbp - 0x80], 7
mov word [rsp + 0x68], r12w
mov rdx, qword [rbp - 0x60]
cmp rdx, 7
jbe 0x140051d51
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140051d4c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140051dad
call fcn.14005a94c
lea rdx, [rbp - 0x50]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140051ae0
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, qword [rbp + 0x200]
xor rcx, rsp
call fcn.14005a8f0
lea r11, [rsp + 0x310]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3