Function at 0x1800068d0
Capabilities:
Delete file

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xe0
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x1800d9060]
xor rax, rsp
mov qword [rbp + 0x17], rax
movaps xmm6, xmm1
xor r12d, r12d
mov ebx, r12d
mov dword [rbp - 0x69], ebx
mov r8, rcx
lea rdx, str.C:WindowsTemp_FAB234CD3_09434_8898D_BFFC_4E23123DF2C_
lea rcx, [rbp - 9]
call fcn.18000a260
nop
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x21], xmm0
mov qword [rbp - 0x11], rax
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x21], xmm1
mov qword [rbp - 0x11], r12
lea rdx, [rbp - 0x21]
lea rcx, [rbp - 9]
call fcn.180006450
movabs r13, 0x6666666666666667
mov rcx, qword [rbp - 0x21]
mov r10, qword [rbp - 0x19]
cmp rcx, r10
jne 0x180006afa
movabs rsi, 0x7fffffffffffffff
mov rcx, qword [rbp + 7]
sub rsi, rcx
cmp rsi, 0x2e
jb 0x180006d23
lea rax, [rbp - 9]
cmp qword [rbp + 0xf], 0x10
cmovae rax, qword [rbp - 9]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0x2e
lea r9, str.DeleteFilesByPercentage_No_files_to_delete_in
lea rcx, [rbp - 0x61]
call fcn.18000bd00
mov eax, 2
mov dword [rbp - 0x69], eax
and eax, 0xfffffffd
mov dword [rbp - 0x69], eax
mov rdx, qword [rbp - 0x49]
cmp rdx, 0x10
jb 0x1800069fb
inc rdx
mov rcx, qword [rbp - 0x61]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800069f6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180006d29
call fcn.18006d82c
mov qword [rbp - 0x51], r12
mov qword [rbp - 0x49], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x61], 0
mov rcx, qword [rbp - 0x21]
test rcx, rcx
je 0x180006a7d
mov rdx, qword [rbp - 0x19]
call fcn.18000b610
mov rcx, qword [rbp - 0x11]
mov r8, qword [rbp - 0x21]
sub rcx, r8
mov rax, r13
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
lea rdx, [rdx + rdx*4]
shl rdx, 3
mov rax, r8
cmp rdx, 0x1000
jb 0x180006a69
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180006d2f
mov rcx, r8
call fcn.18006d82c
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x21], xmm0
mov qword [rbp - 0x11], r12
mov rdx, qword [rbp + 0xf]
cmp rdx, 0x10
jb 0x180006ab8
inc rdx
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180006ab3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180006d1d
call fcn.18006d82c
mov qword [rbp + 7], r12
mov qword [rbp + reloc.WS2_32.dll_ntohs], 0xf
mov byte [rbp - 9], 0
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.18006d7e0
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov r8, r10
sub r8, rcx
mov rax, r13
imul r8
sar rdx, 4
mov r8, rdx
shr r8, 0x3f
add r8, rdx
movzx r9d, byte [rbp - 0x65]
mov rdx, r10
call fcn.18000c390
mov rcx, qword [rbp - 0x19]
mov r8, qword [rbp - 0x21]
sub rcx, r8
mov rax, r13
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
xorps xmm0, xmm0
js 0x180006b4c
cvtsi2sd xmm0, rdx
jmp 0x180006b61
mov rax, rdx
shr rax, 1
and edx, 1
or rax, rdx
cvtsi2sd xmm0, rax
addsd xmm0, xmm0
mulsd xmm0, xmm6
xor eax, eax
movsd xmm1, qword [0x1800c3b60]
comisd xmm0, xmm1
jb 0x180006b8c
subsd xmm0, xmm1
comisd xmm0, xmm1
jae 0x180006b8c
movabs rcx, 0x8000000000000000
mov rax, rcx
cvttsd2si r15, xmm0
add r15, rax
mov r14, r12
je 0x180006a0b
mov rdi, r12
movabs rsi, 0x7fffffffffffffff
nop word [rax + rax]
lea rcx, [r8 + rdi]
cmp qword [rcx + 0x18], 0x10
jb 0x180006bbe
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov rcx, qword [rbp - 0x21]
add rcx, rdi
test eax, eax
je 0x180006c70
mov rdx, qword [rcx + 0x10]
mov rax, rsi
sub rax, rdx
cmp rax, 0x21
jb 0x180006d3b
cmp qword [rcx + 0x18], 0x10
jb 0x180006bf1
mov rcx, qword [rcx]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], 0x21
lea r9, str.DeleteFilesByPercentage_Deleted:
lea rcx, [rbp - 0x61]
call fcn.18000bd00
or ebx, 4
mov dword [rbp - 0x69], ebx
and ebx, 0xfffffffb
mov dword [rbp - 0x69], ebx
mov rdx, qword [rbp - 0x49]
cmp rdx, 0x10
jb 0x180006c5b
inc rdx
mov rcx, qword [rbp - 0x61]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180006c56
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180006d35
call fcn.18006d82c
mov qword [rbp - 0x51], r12
mov qword [rbp - 0x49], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x61], 0
jmp 0x180006d04
mov rdx, qword [rcx + 0x10]
mov rax, rsi
sub rax, rdx
cmp rax, 0x2a
jb 0x180006d47
cmp qword [rcx + 0x18], 0x10
jb 0x180006c8e
mov rcx, qword [rcx]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], 0x2a
lea r9, str.DeleteFilesByPercentage_Failed_to_delete:
lea rcx, [rbp - 0x41]
call fcn.18000bd00
or ebx, 8
mov dword [rbp - 0x69], ebx
and ebx, 0xfffffff7
mov dword [rbp - 0x69], ebx
mov rdx, qword [rbp - 0x29]
cmp rdx, 0x10
jb 0x180006cf4
inc rdx
mov rcx, qword [rbp - 0x41]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180006cef
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180006d41
call fcn.18006d82c
mov qword [rbp - 0x31], r12
mov qword [rbp - 0x29], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x41], 0
inc r14
add rdi, 0x28
cmp r14, r15
jae 0x180006a0b
mov r8, qword [rbp - 0x21]
jmp 0x180006bb0
call fcn.1800742a4
nop
call fcn.18000daa0
nop
call fcn.1800742a4
nop
call fcn.1800742a4
nop
call fcn.1800742a4
nop
call fcn.18000daa0
nop
call fcn.1800742a4
nop
call fcn.18000daa0
int3