Function at 0x14006c970
Capabilities:
Delete file
Move file

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
sub rsp, 0xe0
mov qword [rsp + 0xa0], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov rax, qword [0x1401043b8]
xor rax, rsp
mov qword [rsp + 0xd8], rax
mov rbx, rcx
lea r13, vtable.StringStorage.0
mov qword [rsp + 0x68], r13
mov ecx, 8
call fcn.1400797fc
xor r12d, r12d
test rax, rax
je 0x14006c9d4
lea rcx, [rsp + 0x70]
mov qword [rax], rcx
jmp 0x14006c9d7
mov rax, r12
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x88], r12
mov qword [rsp + 0x90], r12
mov qword [rsp + 0x98], r12
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [0x1400d1b20]
repne scasw ax, word [rdi]
not rcx
mov rdx, rcx
xor r8d, r8d
lea rcx, [rsp + 0x70]
call fcn.14002bfc0
mov rdx, qword [rsp + 0x90]
mov rsi, rdx
mov rdi, qword [rsp + 0x88]
sub rsi, rdi
sar rsi, 1
add rsi, rsi
cmp rdi, rdx
jbe 0x14006ca3d
call fcn.1400796a8
mov rax, qword [rsp + 0x70]
test rax, rax
jne 0x14006ca51
call fcn.1400796a8
mov rdx, r12
jmp 0x14006ca54
mov rdx, qword [rax]
cmp rdi, qword [rdx + 0x20]
jb 0x14006ca5f
call fcn.1400796a8
mov r8, rsi
lea rdx, [0x1400d1b20]
mov rcx, rdi
call fcn.14007ad70
nop
mov qword [rsp + 0x30], r13
mov ecx, 8
call fcn.1400797fc
test rax, rax
je 0x14006ca90
lea rcx, [rsp + 0x38]
mov qword [rax], rcx
jmp 0x14006ca93
mov rax, r12
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x60], r12
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [0x1400d1b20]
repne scasw ax, word [rdi]
not rcx
mov rdx, rcx
xor r8d, r8d
lea rcx, [rsp + 0x38]
call fcn.14002bfc0
mov rdx, qword [rsp + 0x58]
mov rsi, rdx
mov rdi, qword [rsp + 0x50]
sub rsi, rdi
sar rsi, 1
add rsi, rsi
cmp rdi, rdx
jbe 0x14006caea
call fcn.1400796a8
mov rax, qword [rsp + 0x38]
test rax, rax
jne 0x14006cafe
call fcn.1400796a8
mov rdx, r12
jmp 0x14006cb01
mov rdx, qword [rax]
cmp rdi, qword [rdx + 0x20]
jb 0x14006cb0c
call fcn.1400796a8
mov r8, rsi
lea rdx, [0x1400d1b20]
mov rcx, rdi
call fcn.14007ad70
nop
lea rcx, [rsp + 0xa8]
mov rax, qword [str._s_s._d.log]
mov qword [rcx], rax
mov rax, qword [0x1400dafd0]
mov qword [rcx + 8], rax
mov rax, qword [0x1400dafd8]
mov qword [rcx + 0x10], rax
movzx eax, word [0x1400dafe0]
mov word [rcx + 0x18], ax
mov ebp, 4
nop word [rax + rax]
mov rsi, qword [rbx + 0xd0]
cmp rsi, qword [rbx + 0xd8]
jbe 0x14006cb75
call fcn.1400796a8
mov rdx, qword [rbx + 0xb8]
test rdx, rdx
jne 0x14006cb8b
call fcn.1400796a8
mov rdx, r12
jmp 0x14006cb8e
mov rdx, qword [rdx]
cmp rsi, qword [rdx + 0x20]
jb 0x14006cb99
call fcn.1400796a8
mov rdi, qword [rbx + 0x98]
cmp rdi, qword [rbx + 0xa0]
jbe 0x14006cbae
call fcn.1400796a8
mov r11, qword [rbx + 0x80]
test r11, r11
jne 0x14006cbc4
call fcn.1400796a8
mov r11, r12
jmp 0x14006cbc7
mov r11, qword [r11]
cmp rdi, qword [r11 + 0x20]
jb 0x14006cbd2
call fcn.1400796a8
mov dword [rsp + 0x20], ebp
mov r9, rsi
mov r8, rdi
lea rdx, [rsp + 0xa8]
lea rcx, [rsp + 0x68]
call fcn.14002ecb0
mov rsi, qword [rbx + 0xd0]
cmp rsi, qword [rbx + 0xd8]
jbe 0x14006cc03
call fcn.1400796a8
mov rdx, qword [rbx + 0xb8]
test rdx, rdx
jne 0x14006cc19
call fcn.1400796a8
mov rdx, r12
jmp 0x14006cc1c
mov rdx, qword [rdx]
cmp rsi, qword [rdx + 0x20]
jb 0x14006cc27
call fcn.1400796a8
mov rdi, qword [rbx + 0x98]
cmp rdi, qword [rbx + 0xa0]
jbe 0x14006cc3c
call fcn.1400796a8
mov r11, qword [rbx + 0x80]
test r11, r11
jne 0x14006cc52
call fcn.1400796a8
mov r11, r12
jmp 0x14006cc55
mov r11, qword [r11]
cmp rdi, qword [r11 + 0x20]
jb 0x14006cc60
call fcn.1400796a8
lea eax, [rbp + 1]
mov dword [rsp + 0x20], eax
mov r9, rsi
mov r8, rdi
lea rdx, [rsp + 0xa8]
lea rcx, [rsp + 0x30]
call fcn.14002ecb0
mov rsi, qword [rsp + 0x88]
cmp rsi, qword [rsp + 0x90]
jbe 0x14006cc96
call fcn.1400796a8
mov rax, qword [rsp + 0x70]
test rax, rax
jne 0x14006ccaa
call fcn.1400796a8
mov rdx, r12
jmp 0x14006ccad
mov rdx, qword [rax]
cmp rsi, qword [rdx + 0x20]
jb 0x14006ccb8
call fcn.1400796a8
mov rdi, qword [rsp + 0x50]
cmp rdi, qword [rsp + 0x58]
jbe 0x14006ccc9
call fcn.1400796a8
mov rax, qword [rsp + 0x38]
test rax, rax
jne 0x14006ccdd
call fcn.1400796a8
mov r11, r12
jmp 0x14006cce0
mov r11, qword [rax]
cmp rdi, qword [r11 + 0x20]
jb 0x14006cceb
call fcn.1400796a8
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_MoveFileW]
dec ebp
test ebp, ebp
jg 0x14006cb60
mov rsi, qword [rbx + 0xd0]
cmp rsi, qword [rbx + 0xd8]
jbe 0x14006cd1f
call fcn.1400796a8
mov rdx, qword [rbx + 0xb8]
test rdx, rdx
jne 0x14006cd35
call fcn.1400796a8
mov rdx, r12
jmp 0x14006cd38
mov rdx, qword [rdx]
cmp rsi, qword [rdx + 0x20]
jb 0x14006cd43
call fcn.1400796a8
mov rdi, qword [rbx + 0x98]
cmp rdi, qword [rbx + 0xa0]
jbe 0x14006cd58
call fcn.1400796a8
mov r11, qword [rbx + 0x80]
test r11, r11
jne 0x14006cd6e
call fcn.1400796a8
mov r11, r12
jmp 0x14006cd71
mov r11, qword [r11]
cmp rdi, qword [r11 + 0x20]
jb 0x14006cd7c
call fcn.1400796a8
mov r9, rsi
mov r8, rdi
lea rdx, str._s_s.log
lea rcx, [rsp + 0x68]
call fcn.14002ecb0
mov rsi, qword [rbx + 0xd0]
cmp rsi, qword [rbx + 0xd8]
jbe 0x14006cda8
call fcn.1400796a8
mov rdx, qword [rbx + 0xb8]
test rdx, rdx
jne 0x14006cdbe
call fcn.1400796a8
mov rdx, r12
jmp 0x14006cdc1
mov rdx, qword [rdx]
cmp rsi, qword [rdx + 0x20]
jb 0x14006cdcc
call fcn.1400796a8
mov rdi, qword [rbx + 0x98]
cmp rdi, qword [rbx + 0xa0]
jbe 0x14006cde1
call fcn.1400796a8
mov r11, qword [rbx + 0x80]
test r11, r11
jne 0x14006cdf7
call fcn.1400796a8
mov r11, r12
jmp 0x14006cdfa
mov r11, qword [r11]
cmp rdi, qword [r11 + 0x20]
jb 0x14006ce05
call fcn.1400796a8
mov dword [rsp + 0x20], 1
mov r9, rsi
mov r8, rdi
lea rdx, [rsp + 0xa8]
lea rcx, [rsp + 0x30]
call fcn.14002ecb0
mov rbx, qword [rsp + 0x88]
cmp rbx, qword [rsp + 0x90]
jbe 0x14006ce3c
call fcn.1400796a8
mov rax, qword [rsp + 0x70]
test rax, rax
jne 0x14006ce50
call fcn.1400796a8
mov rdx, r12
jmp 0x14006ce53
mov rdx, qword [rax]
cmp rbx, qword [rdx + 0x20]
jb 0x14006ce5e
call fcn.1400796a8
mov rdi, qword [rsp + 0x50]
cmp rdi, qword [rsp + 0x58]
jbe 0x14006ce6f
call fcn.1400796a8
mov rax, qword [rsp + 0x38]
test rax, rax
jne 0x14006ce83
call fcn.1400796a8
mov r11, r12
jmp 0x14006ce86
mov r11, qword [rax]
cmp rdi, qword [r11 + 0x20]
jb 0x14006ce91
call fcn.1400796a8
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_MoveFileW]
nop
mov qword [rsp + 0x30], r13
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14006cebb
call fcn.140078e60
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x60], r12
mov rcx, qword [rsp + 0x38]
call fcn.140078e60
nop
mov qword [rsp + 0x68], r13
mov rcx, qword [rsp + 0x88]
test rcx, rcx
je 0x14006ceec
call fcn.140078e60
mov qword [rsp + 0x88], r12
mov qword [rsp + 0x90], r12
mov qword [rsp + 0x98], r12
mov rcx, qword [rsp + 0x70]
call fcn.140078e60
mov rcx, qword [rsp + 0xd8]
xor rcx, rsp
call fcn.140078e40
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r13
pop r12
pop rdi
ret