Function at 0x14004de00
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 [0x1402bf200]
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.14004d860
nop
mov rdx, qword [rbp - 0x30]
cmp rdx, 4
jb 0x14004de85
add rdx, 0xfffffffffffffffc
mov qword [rsp + 0x20], 4
lea r9, str..log
lea r8d, [r14 + 4]
lea rcx, [rbp - 0x40]
call fcn.140051790
test eax, eax
sete cl
jmp 0x14004de88
mov ecx, r14d
test cl, cl
je 0x14004e478
call fcn.14005ffd0
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.1400150d0
nop
mov rdi, qword [rbp + 0xe8]
mov rcx, rdi
cmp qword [rdi + 0x18], 7
jbe 0x14004df3c
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.1400579a0
nop
lea r8, [rbp + 0x68]
mov rdx, rax
lea rcx, [rbp]
call fcn.14003f2f0
nop
lea rcx, [rbp + 0x88]
call fcn.14002adf0
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.14004db20
test al, al
je 0x14004e464
movabs rax, 0x7ffffffffffffffe
mov rcx, qword [rbp - 0x30]
sub rax, rcx
cmp rax, 4
jb 0x14004e4ac
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.1400230c0
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.14004db20
test al, al
jne 0x14004e45a
mov rcx, rdi
cmp qword [rdi + 0x18], 7
jbe 0x14004e059
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.1400579a0
nop
lea r8, [rbp - 0x20]
mov rdx, rax
lea rcx, [rbp + 0x88]
call fcn.14003f2f0
nop
lea rcx, [rbp + 0x20]
call fcn.14002adf0
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 0x14004e168
mov rcx, rsi
call fcn.14004dd20
test al, al
jne 0x14004e43d
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 0x14004e120
mov r8, rdi
lea rcx, [rsp + 0x40]
call fcn.14002a920
nop
cmp qword [rsp + 0x50], 0
je 0x14004e15e
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 0x14004e437
call fcn.14005ffd0
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.1400150d0
nop
mov rcx, rdi
cmp qword [rdi + 0x18], 7
jbe 0x14004e1fc
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.1400579a0
nop
lea r8, [rbp + 0x48]
mov rdx, rax
lea rcx, [rbp + 0x20]
call fcn.14003f2f0
nop
lea rcx, [rsp + 0x60]
call fcn.14002adf0
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.14004db20
test al, al
je 0x14004e3a4
mov rcx, rbx
call fcn.14004dd20
mov rdi, 0xffffffffffffffff
test al, al
jne 0x14004e2f8
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 0x14004e2b2
lea rcx, [rsp + 0x40]
call fcn.14002a920
nop
cmp qword [rsp + 0x50], 0
je 0x14004e2ee
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.14002adf0
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.14004db20
test al, al
jne 0x14004e429
mov rcx, rsi
call fcn.14004dd20
test al, al
jne 0x14004e429
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 0x14004e364
mov r8, rdi
lea rcx, [rsp + 0x40]
call fcn.14002a920
nop
cmp qword [rsp + 0x50], 0
je 0x14004e3a2
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 0x14004e41e
mov rcx, rsi
call fcn.14004dd20
test al, al
jne 0x14004e429
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 0x14004e3e0
mov r8, rdi
lea rcx, [rsp + 0x40]
call fcn.14002a920
nop
cmp qword [rsp + 0x50], 0
je 0x14004e41e
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.14002adf0
nop
lea rcx, [rbp + 0x20]
call fcn.14002adf0
nop
lea rcx, [rbp + 0x48]
call fcn.14002adf0
nop
cmp rbx, 0xffffffffffffffff
je 0x14004e44d
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rcx, [rbp + 0x88]
call fcn.14002adf0
nop
lea rcx, [rbp - 0x20]
call fcn.14002adf0
nop
lea rcx, [rbp]
call fcn.14002adf0
nop
lea rcx, [rbp + 0x68]
call fcn.14002adf0
nop
lea rcx, [rbp - 0x40]
call fcn.14002adf0
mov rcx, qword [rbp + 0xa8]
xor rcx, rsp
call fcn.14019acb0
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.14002a900
nop
int3