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

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x168]
sub rsp, 0x230
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rax + 0x20], rbx
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
mov rax, qword [0x1404716f0]
xor rax, rsp
mov qword [rbp + 0x100], rax
mov r13d, r8d
mov r15, rdx
mov r14, rcx
xor eax, eax
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], SafeArrayGetDim
mov byte [rsp + 0x60], al
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x70], xmm0
movdqa xmm1, xmmword [0x1403a8e90]
movdqu xmmword [rbp - 0x70], xmm1
mov byte [rbp - 0x80], al
movdqu xmmword [rsp + 0x50], xmm0
movdqu xmmword [rsp + 0x50], xmm1
mov byte [rsp + 0x40], al
mov dword [rsp + 0x30], 1
mov rdx, qword [rcx + 0x10]
add rdx, 4
lea rcx, [rsp + 0x40]
call fcn.1400056a0
mov r9, r14
cmp qword [r14 + 0x18], 0x10
jb 0x140006d0c
mov r9, qword [r14]
mov rdi, qword [r14 + 0x10]
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x58]
mov rax, rdx
sub rax, rcx
cmp rdi, rax
ja 0x140006d54
lea rax, [rcx + rdi]
mov qword [rsp + 0x50], rax
lea rbx, [rsp + 0x40]
cmp rdx, 0x10
cmovae rbx, qword [rsp + 0x40]
add rbx, rcx
mov r8, rdi
mov rdx, r9
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + rdi], 0
jmp 0x140006d69
mov qword [rsp + 0x20], rdi
xor r8d, r8d
mov rdx, rdi
lea rcx, [rsp + 0x40]
call fcn.140005410
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x58]
mov rax, rdx
sub rax, rcx
cmp rax, 4
jb 0x140006db5
lea rax, [rcx + 4]
mov qword [rsp + 0x50], rax
lea rbx, [rsp + 0x40]
cmp rdx, 0x10
cmovae rbx, qword [rsp + 0x40]
add rbx, rcx
mov r8d, 4
lea rdx, str..
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 4], 0
jmp 0x140006dd6
mov qword [rsp + 0x20], 4
lea r9, str..
xor r8d, r8d
lea edx, [r8 + 4]
lea rcx, [rsp + 0x40]
call fcn.140005410
lea rcx, [rbp - 0x80]
call fcn.140004900
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rbp - 0x80], xmm0
movups xmm1, xmmword [rsp + 0x50]
movups xmmword [rbp - 0x70], xmm1
movdqa xmm0, xmmword [0x1403a8e90]
movdqu xmmword [rsp + 0x50], xmm0
mov byte [rsp + 0x40], 0
mov esi, 1
and esi, 0xfffffffe
mov dword [rsp + 0x30], esi
movdqu xmmword [rsp + 0x50], xmm0
mov byte [rsp + 0x40], 0
lea rcx, [rbp - 0x80]
cmp qword [rbp - 0x68], 0x10
cmovae rcx, qword [rbp - 0x80]
lea rdx, [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov r12, rax
cmp rax, 0xffffffffffffffff
je 0x140007163
cmp byte [rbp - 0x14], 0x2e
je 0x140007113
test r15, r15
je 0x140006e7b
test r13d, r13d
jne 0x140006e7b
mov rax, r15
lea r8, [rbp - 0x14]
sub r8, r15
nop
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x140006e73
inc rax
test ecx, ecx
jne 0x140006e60
test edx, edx
je 0x140007113
lea rax, [rsp + 0x60]
cmp qword [rsp + 0x78], 0x10
cmovae rax, qword [rsp + 0x60]
xor ecx, ecx
mov qword [rsp + 0x70], rcx
mov byte [rax], cl
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x58], SafeArrayGetDim
mov byte [rsp + 0x40], cl
or esi, 2
mov dword [rsp + 0x30], esi
mov rdx, qword [r14 + 0x10]
inc rdx
lea rcx, [rsp + 0x40]
call fcn.1400056a0
mov r9, r14
cmp qword [r14 + 0x18], 0x10
jb 0x140006ed6
mov r9, qword [r14]
mov rdi, qword [r14 + 0x10]
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x58]
mov rax, rdx
sub rax, rcx
cmp rdi, rax
ja 0x140006f1e
lea rax, [rcx + rdi]
mov qword [rsp + 0x50], rax
lea rbx, [rsp + 0x40]
cmp rdx, 0x10
cmovae rbx, qword [rsp + 0x40]
add rbx, rcx
mov r8, rdi
mov rdx, r9
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + rdi], 0
jmp 0x140006f33
mov qword [rsp + 0x20], rdi
xor r8d, r8d
mov rdx, rdi
lea rcx, [rsp + 0x40]
call fcn.140005410
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x58]
mov rax, rdx
sub rax, rcx
cmp rax, 1
jb 0x140006f7f
lea rax, [rcx + 1]
mov qword [rsp + 0x50], rax
lea rbx, [rsp + 0x40]
cmp rdx, 0x10
cmovae rbx, qword [rsp + 0x40]
add rbx, rcx
mov r8d, 1
lea rdx, [0x14038e9a8]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 1], 0
jmp 0x140006fa1
mov qword [rsp + 0x20], 1
lea r9, [0x14038e9a8]
xor r8d, r8d
lea edx, [r8 + 1]
lea rcx, [rsp + 0x40]
call fcn.140005410
nop
lea rax, [rbp - 0x14]
mov rdi, 0xffffffffffffffff
nop dword [rax]
inc rdi
cmp byte [rax + rdi], 0
jne 0x140006fb0
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x58]
mov rax, rdx
sub rax, rcx
cmp rdi, rax
ja 0x140007003
lea rax, [rcx + rdi]
mov qword [rsp + 0x50], rax
lea rbx, [rsp + 0x40]
cmp rdx, 0x10
cmovae rbx, qword [rsp + 0x40]
add rbx, rcx
mov r8, rdi
lea rdx, [rbp - 0x14]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + rdi], 0
lea rax, [rsp + 0x40]
jmp 0x14000701c
mov qword [rsp + 0x20], rdi
lea r9, [rbp - 0x14]
xor r8d, r8d
mov rdx, rdi
lea rcx, [rsp + 0x40]
call fcn.140005410
xor ebx, ebx
mov qword [rbp - 0x50], rbx
mov qword [rbp - 0x48], rbx
movups xmm7, xmmword [rax]
movups xmmword [rbp - 0x60], xmm7
movups xmm6, xmmword [rax + 0x10]
movups xmmword [rbp - 0x50], xmm6
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], SafeArrayGetDim
mov byte [rax], bl
or esi, 4
mov dword [rsp + 0x30], esi
lea rcx, [rsp + 0x60]
call fcn.140004900
movups xmmword [rsp + 0x60], xmm7
movups xmmword [rsp + 0x70], xmm6
mov qword [rbp - 0x50], rbx
mov qword [rbp - 0x48], SafeArrayGetDim
mov byte [rbp - 0x60], bl
and esi, 0xfffffffb
mov dword [rsp + 0x30], esi
mov qword [rbp - 0x50], rbx
mov qword [rbp - 0x48], SafeArrayGetDim
mov byte [rbp - 0x60], bl
and esi, 0xfffffffd
mov dword [rsp + 0x30], esi
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x1400070c7
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400070c2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000715c
call fcn.14010a370
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], SafeArrayGetDim
mov byte [rsp + 0x40], 0
lea rcx, [rsp + 0x60]
test byte [rbp - 0x40], 0x10
je 0x140007102
lea r8d, [r13 + 1]
mov rdx, r15
call fcn.140006c50
test al, al
jne 0x140007113
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FindClose]
xor bl, bl
jmp 0x140007165
cmp qword [rsp + 0x78], 0x10
cmovae rcx, qword [rsp + 0x60]
call fcn.1400064d0
lea rdx, [rbp - 0x40]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x140006e40
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FindClose]
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
jne 0x140007158
test r13d, r13d
je 0x140007163
cmp qword [r14 + 0x18], 0x10
jb 0x14000714b
mov r14, qword [r14]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
jne 0x140007163
xor bl, bl
jmp 0x140007165
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov bl, 1
mov rdx, qword [rbp - 0x68]
cmp rdx, 0x10
jb 0x1400071a3
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000719e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000719e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14010a370
movdqa xmm0, xmmword [0x1403a8e90]
movdqu xmmword [rbp - 0x70], xmm0
mov byte [rbp - 0x80], 0
mov rdx, qword [rsp + 0x78]
cmp rdx, 0x10
jb 0x1400071f4
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400071ef
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400071ef
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14010a370
mov qword [rsp + 0x70], 0
mov qword [rsp + 0x78], SafeArrayGetDim
mov byte [rsp + 0x60], 0
movzx eax, bl
mov rcx, qword [rbp + 0x100]
xor rcx, rsp
call fcn.14010a310
lea r11, [rsp + 0x230]
mov rbx, qword [r11 + 0x58]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret