Function at 0x140006680
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x260]
sub rsp, 0x360
mov rax, qword [0x14000f010]
xor rax, rsp
mov qword [rbp + 0x250], rax
mov r12, rdx
mov rdi, rcx
xor r13d, r13d
lea r8, [0x14000ac20]
lea rcx, [rsp + 0x58]
call fcn.140007940
mov rbx, rax
mov rdx, qword [rdi + 0x10]
cmp qword [rdi + 0x18], 8
jb 0x1400066db
mov rdi, qword [rdi]
mov rcx, qword [rax + 0x10]
mov r8, qword [rax + 0x18]
mov rax, r8
sub rax, rcx
cmp rdx, rax
ja 0x140006719
lea r14, [rcx + rdx]
mov qword [rbx + 0x10], r14
mov rsi, rbx
cmp r8, 8
jb 0x140006702
mov rsi, qword [rbx]
lea rcx, [rsi + rcx*2]
lea r8, [rdx + rdx]
mov rdx, rdi
call sub.VCRUNTIME140.dll_memmove
mov word [rsi + r14*2], r13w
jmp 0x14000672c
mov qword [rsp + 0x20], rdx
mov r9, rdi
mov rcx, rbx
call fcn.140007c10
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
movups xmm0, xmmword [rbx]
movups xmmword [rsp + 0x30], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rsp + 0x40], xmm1
mov qword [rbx + 0x10], r13
mov qword [rbx + 0x18], 7
mov word [rbx], r13w
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x48]
mov rax, rdx
sub rax, rcx
cmp rax, 1
jb 0x14000679a
lea rax, [rcx + 1]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x30]
cmp rdx, 8
cmovae rax, qword [rsp + 0x30]
mov dword [rax + rcx*2], 0x2a
lea rax, [rsp + 0x30]
jmp 0x1400067b9
mov qword [rsp + 0x20], 1
lea r9, [0x14000ac24]
mov edx, 1
lea rcx, [rsp + 0x30]
call fcn.140007c10
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x18], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x28], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x18], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 7
mov word [rax], r13w
mov rdx, qword [rsp + 0x48]
cmp rdx, 8
jb 0x14000682c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006827
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140006827
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140008604
movdqa xmm0, xmmword [0x14000af90]
movdqu xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x30], r13w
mov rdx, qword [rsp + 0x70]
cmp rdx, 8
jb 0x140006885
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006880
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140006880
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140008604
movdqa xmm0, xmmword [0x14000af90]
movdqu xmmword [rsp + 0x68], xmm0
mov word [rsp + 0x58], r13w
lea rcx, [rbp - 0x28]
cmp qword [rbp - 0x10], 8
cmovae rcx, qword [rbp - 0x28]
lea rdx, [rbp]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov r15, rax
cmp rax, 0xffffffffffffffff
je 0x140006aa1
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x68], xmm0
mov qword [rbp - 0x58], r13
mov qword [rbp - 0x50], r13
lea rax, [rbp + 0x2c]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x1400068e0
lea rdx, [rbp + 0x2c]
lea rcx, [rbp - 0x68]
call fcn.140007ad0
nop
test byte [rbp], 0x10
jne 0x140006a46
lea r8, [0x14000ac20]
mov rdx, r12
lea rcx, [rsp + 0x78]
call fcn.140007940
mov rbx, rax
lea r9, [rbp - 0x68]
mov rdi, qword [rbp - 0x50]
cmp rdi, 8
cmovae r9, qword [rbp - 0x68]
mov rcx, qword [rax + 0x10]
mov r8, qword [rax + 0x18]
mov rax, r8
sub rax, rcx
mov rdx, qword [rbp - 0x58]
cmp rdx, rax
ja 0x14000696d
lea r14, [rdx + rcx]
mov qword [rbx + 0x10], r14
mov rsi, rbx
cmp r8, 8
jb 0x140006956
mov rsi, qword [rbx]
lea rcx, [rsi + rcx*2]
lea r8, [rdx + rdx]
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
mov word [rsi + r14*2], r13w
jmp 0x140006981
mov qword [rsp + 0x20], rdx
mov rcx, rbx
call fcn.140007c10
mov rbx, rax
mov rdi, qword [rbp - 0x50]
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x38], r13
mov qword [rbp - 0x30], r13
movups xmm0, xmmword [rbx]
movups xmmword [rbp - 0x48], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rbp - 0x38], xmm1
mov qword [rbx + 0x10], r13
mov qword [rbx + 0x18], 7
mov word [rbx], r13w
mov rdx, qword [rbp - 0x70]
cmp rdx, 8
jb 0x1400069f0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400069eb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140006adf
call fcn.140008604
lea rcx, [rbp - 0x48]
cmp qword [rbp - 0x30], 8
cmovae rcx, qword [rbp - 0x48]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rdx, qword [rbp - 0x30]
cmp rdx, 8
jb 0x140006a4a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006a3f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140006ae6
call fcn.140008604
jmp 0x140006a4a
mov rdi, qword [rbp - 0x50]
cmp rdi, 8
jb 0x140006a82
lea rdx, [rdi*2 + 2]
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006a7d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140006aed
call fcn.140008604
lea rdx, [rbp]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1400068c0
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
mov rdx, qword [rbp - 0x10]
cmp rdx, 8
jb 0x140006af9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006af4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140006af4
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
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 fcn.140008604
mov rcx, qword [rbp + 0x250]
xor rcx, rsp
call fcn.1400085a0
mov rbx, qword [rsp + 0x3b0]
add rsp, 0x360
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret