Function at 0x1400578e0
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 [0x140117240]
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.140057340
nop
mov rdx, qword [rbp - 0x30]
cmp rdx, 4
jb 0x140057965
add rdx, 0xfffffffffffffffc
mov qword [rsp + 0x20], 4
lea r9, str..log
lea r8d, [r14 + 4]
lea rcx, [rbp - 0x40]
call fcn.140029ca0
test eax, eax
sete cl
jmp 0x140057968
mov ecx, r14d
test cl, cl
je 0x140057f58
call fcn.140068620
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.140018850
nop
mov rdi, qword [rbp + 0xe8]
mov rcx, rdi
cmp qword [rdi + 0x18], 7
jbe 0x140057a1c
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.1400639a0
nop
lea r8, [rbp + 0x68]
mov rdx, rax
lea rcx, [rbp]
call fcn.140005f40
nop
lea rcx, [rbp + 0x88]
call fcn.140008760
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.140057600
test al, al
je 0x140057f44
movabs rax, 0x7ffffffffffffffe
mov rcx, qword [rbp - 0x30]
sub rax, rcx
cmp rax, 4
jb 0x140057f8c
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.140006510
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.140057600
test al, al
jne 0x140057f3a
mov rcx, rdi
cmp qword [rdi + 0x18], 7
jbe 0x140057b39
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.1400639a0
nop
lea r8, [rbp - 0x20]
mov rdx, rax
lea rcx, [rbp + 0x88]
call fcn.140005f40
nop
lea rcx, [rbp + 0x20]
call fcn.140008760
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 0x140057c48
mov rcx, rsi
call fcn.140057800
test al, al
jne 0x140057f1d
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 0x140057c00
mov r8, rdi
lea rcx, [rsp + 0x40]
call fcn.140007750
nop
cmp qword [rsp + 0x50], 0
je 0x140057c3e
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 0x140057f17
call fcn.140068620
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.140018850
nop
mov rcx, rdi
cmp qword [rdi + 0x18], 7
jbe 0x140057cdc
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.1400639a0
nop
lea r8, [rbp + 0x48]
mov rdx, rax
lea rcx, [rbp + 0x20]
call fcn.140005f40
nop
lea rcx, [rsp + 0x60]
call fcn.140008760
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.140057600
test al, al
je 0x140057e84
mov rcx, rbx
call fcn.140057800
mov rdi, 0xffffffffffffffff
test al, al
jne 0x140057dd8
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 0x140057d92
lea rcx, [rsp + 0x40]
call fcn.140007750
nop
cmp qword [rsp + 0x50], 0
je 0x140057dce
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.140008760
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.140057600
test al, al
jne 0x140057f09
mov rcx, rsi
call fcn.140057800
test al, al
jne 0x140057f09
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 0x140057e44
mov r8, rdi
lea rcx, [rsp + 0x40]
call fcn.140007750
nop
cmp qword [rsp + 0x50], 0
je 0x140057e82
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 0x140057efe
mov rcx, rsi
call fcn.140057800
test al, al
jne 0x140057f09
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 0x140057ec0
mov r8, rdi
lea rcx, [rsp + 0x40]
call fcn.140007750
nop
cmp qword [rsp + 0x50], 0
je 0x140057efe
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.140008760
nop
lea rcx, [rbp + 0x20]
call fcn.140008760
nop
lea rcx, [rbp + 0x48]
call fcn.140008760
nop
cmp rbx, 0xffffffffffffffff
je 0x140057f2d
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rcx, [rbp + 0x88]
call fcn.140008760
nop
lea rcx, [rbp - 0x20]
call fcn.140008760
nop
lea rcx, [rbp]
call fcn.140008760
nop
lea rcx, [rbp + 0x68]
call fcn.140008760
nop
lea rcx, [rbp - 0x40]
call fcn.140008760
mov rcx, qword [rbp + 0xa8]
xor rcx, rsp
call fcn.1400827b0
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.1400082a0
nop
int3