Function at 0x14006fb80
Capabilities:
Move file

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0xb0]
sub rsp, 0x1b0
mov rax, qword [0x1401761c0]
xor rax, rsp
mov qword [rbp + 0xa8], rax
mov rsi, qword [rbp + 0xe0]
xor r14d, r14d
mov rdx, rsi
lea rcx, [rbp - 0x40]
call fcn.14006f5e0
nop
mov rdx, qword [rbp - 0x30]
cmp rdx, 4
jb 0x14006fc05
add rdx, 0xfffffffffffffffc
mov qword [rsp + 0x20], 4
lea r9, str..log
lea r8d, [r14 + 4]
lea rcx, [rbp - 0x40]
call fcn.1400615c0
test eax, eax
sete cl
jmp 0x14006fc08
mov ecx, r14d
test cl, cl
je 0x1400701f8
call fcn.1400a7270
mov rdx, rax
lea rax, str..to_rotate.:016x
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], 0x14
lea rcx, [rbp - 0x40]
cmp qword [rbp - 0x28], 7
cmova rcx, qword [rbp - 0x40]
mov qword [rbp - 0x50], rcx
mov rax, qword [rbp - 0x30]
mov qword [rbp - 0x48], rax
movups xmm0, xmmword [rbp - 0x50]
movups xmmword [rbp + 0x30], xmm0
movabs r15, 0xc000000000000000
mov qword [rbp + 0x20], r15
mov qword [rbp + 0x40], rdx
movabs r12, 0x4000000000000010
mov qword [rbp + 0x28], r12
mov qword [rbp - 0x50], 2
lea rax, [rbp + 0x20]
mov qword [rbp - 0x48], rax
movaps xmm0, xmmword [rbp - 0x50]
movdqa xmmword [rsp + 0x40], xmm0
movaps xmm1, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x60], xmm1
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x68]
call fcn.14000f490
nop
mov rdi, qword [rbp + 0xe8]
mov rcx, rdi
cmp qword [rdi + 0x18], 7
jbe 0x14006fcbc
mov rcx, qword [rdi]
mov rax, qword [rdi + 0x10]
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x68], rax
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x40], xmm0
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x88]
call fcn.14009dba0
nop
lea r8, [rbp + 0x68]
mov rdx, rax
lea rcx, [rbp]
call fcn.14004a290
nop
lea rcx, [rbp + 0x88]
call fcn.14000c080
lea rax, [rbp + 0x68]
cmp qword [rbp + 0x80], 7
cmova rax, qword [rbp + 0x68]
mov qword [rsp + 0x60], rax
mov rax, qword [rbp + 0x78]
mov qword [rsp + 0x68], rax
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x40], xmm0
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.14006f8a0
test al, al
je 0x1400701e4
movabs rax, 0x7ffffffffffffffe
mov rcx, qword [rbp - 0x30]
sub rax, rcx
cmp rax, 4
jb 0x14007022c
lea r9, [rbp - 0x40]
cmp qword [rbp - 0x28], 7
cmova r9, qword [rbp - 0x40]
mov qword [rsp + 0x30], 4
lea rax, str..old
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rbp - 0x20]
call fcn.14000bae0
nop
lea rax, [rbp - 0x20]
cmp qword [rbp - 8], 7
cmova rax, qword [rbp - 0x20]
mov qword [rsp + 0x60], rax
mov rax, qword [rbp - 0x10]
mov qword [rsp + 0x68], rax
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x40], xmm0
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.14006f8a0
test al, al
jne 0x1400701da
mov rcx, rdi
cmp qword [rdi + 0x18], 7
jbe 0x14006fdd9
mov rcx, qword [rdi]
mov rax, qword [rdi + 0x10]
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x68], rax
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x40], xmm0
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x20]
call fcn.14009dba0
nop
lea r8, [rbp - 0x20]
mov rdx, rax
lea rcx, [rbp + 0x88]
call fcn.14004a290
nop
lea rcx, [rbp + 0x20]
call fcn.14000c080
lea rcx, [rbp + 0x88]
cmp qword [rbp + 0xa0], 7
cmova rcx, qword [rbp + 0x88]
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0x10000
lea r8d, [r9 + 7]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
mov qword [rbp - 0x50], rax
cmp rax, 0xffffffffffffffff
jne 0x14006fee8
mov rcx, rsi
call fcn.14006faa0
test al, al
jne 0x1400701bd
lea rdx, [rbp]
cmp qword [rbp + 0x18], 7
cmova rdx, qword [rbp]
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], r14
mov rdi, rbx
nop dword [rax]
inc rdi
cmp word [rdx + rdi*2], 0
jne 0x14006fea0
mov r8, rdi
lea rcx, [rsp + 0x40]
call fcn.14000c360
nop
cmp qword [rsp + 0x50], 0
je 0x14006fede
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 7
cmova rcx, qword [rsp + 0x40]
xor edx, edx
lea r8d, [rdx + 4]
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
nop
lea rcx, [rsp + 0x40]
jmp 0x1400701b7
call fcn.1400a7270
lea rcx, str..to_delete.:016x
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x48], 0x14
lea rcx, [rbp - 0x40]
cmp qword [rbp - 0x28], 7
cmova rcx, qword [rbp - 0x40]
mov qword [rsp + 0x60], rcx
mov rcx, qword [rbp - 0x30]
mov qword [rsp + 0x68], rcx
movups xmm0, xmmword [rsp + 0x60]
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x80], r15
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x78], r12
mov qword [rsp + 0x60], 2
lea rax, [rbp - 0x80]
mov qword [rsp + 0x68], rax
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x60], xmm0
movaps xmm1, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm1
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x48]
call fcn.14000f490
nop
mov rcx, rdi
cmp qword [rdi + 0x18], 7
jbe 0x14006ff7c
mov rcx, qword [rdi]
mov rax, qword [rdi + 0x10]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x48], rax
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x60]
call fcn.14009dba0
nop
lea r8, [rbp + 0x48]
mov rdx, rax
lea rcx, [rbp + 0x20]
call fcn.14004a290
nop
lea rcx, [rsp + 0x60]
call fcn.14000c080
lea rax, [rbp + 0x48]
cmp qword [rbp + 0x60], 7
cmova rax, qword [rbp + 0x48]
mov qword [rsp + 0x40], rax
mov rax, qword [rbp + 0x58]
mov qword [rsp + 0x48], rax
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.14006f8a0
test al, al
je 0x140070124
mov rcx, rbx
call fcn.14006faa0
mov rdi, 0xffffffffffffffff
test al, al
jne 0x140070078
lea rdx, [rbp + 0x20]
cmp qword [rbp + 0x38], 7
cmova rdx, qword [rbp + 0x20]
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], r14
mov r8, rdi
inc r8
cmp word [rdx + r8*2], 0
jne 0x140070032
lea rcx, [rsp + 0x40]
call fcn.14000c360
nop
cmp qword [rsp + 0x50], 0
je 0x14007006e
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 7
cmova rcx, qword [rsp + 0x40]
xor edx, edx
lea r8d, [rdx + 4]
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
nop
lea rcx, [rsp + 0x40]
call fcn.14000c080
lea rax, [rbp - 0x20]
cmp qword [rbp - 8], 7
cmova rax, qword [rbp - 0x20]
mov qword [rsp + 0x40], rax
mov rax, qword [rbp - 0x10]
mov qword [rsp + 0x48], rax
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.14006f8a0
test al, al
jne 0x1400701a9
mov rcx, rsi
call fcn.14006faa0
test al, al
jne 0x1400701a9
lea rdx, [rbp]
cmp qword [rbp + 0x18], 7
cmova rdx, qword [rbp]
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], r14
inc rdi
cmp word [rdx + rdi*2], 0
jne 0x1400700e4
mov r8, rdi
lea rcx, [rsp + 0x40]
call fcn.14000c360
nop
cmp qword [rsp + 0x50], 0
je 0x140070122
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 7
cmova rcx, qword [rsp + 0x40]
xor edx, edx
lea r8d, [rdx + 4]
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
nop
jmp 0x14007019e
mov rcx, rsi
call fcn.14006faa0
test al, al
jne 0x1400701a9
lea rdx, [rbp]
cmp qword [rbp + 0x18], 7
cmova rdx, qword [rbp]
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], r14
mov rdi, 0xffffffffffffffff
nop word [rax + rax]
inc rdi
cmp word [rdx + rdi*2], 0
jne 0x140070160
mov r8, rdi
lea rcx, [rsp + 0x40]
call fcn.14000c360
nop
cmp qword [rsp + 0x50], 0
je 0x14007019e
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 7
cmova rcx, qword [rsp + 0x40]
xor edx, edx
lea r8d, [rdx + 4]
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
nop
lea rcx, [rsp + 0x40]
call fcn.14000c080
nop
lea rcx, [rbp + 0x20]
call fcn.14000c080
nop
lea rcx, [rbp + 0x48]
call fcn.14000c080
nop
cmp rbx, 0xffffffffffffffff
je 0x1400701cd
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rcx, [rbp + 0x88]
call fcn.14000c080
nop
lea rcx, [rbp - 0x20]
call fcn.14000c080
nop
lea rcx, [rbp]
call fcn.14000c080
nop
lea rcx, [rbp + 0x68]
call fcn.14000c080
nop
lea rcx, [rbp - 0x40]
call fcn.14000c080
mov rcx, qword [rbp + 0xa8]
xor rcx, rsp
call fcn.1400b89f0
lea r11, [rsp + 0x1b0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.14000c110
nop
int3