Function at 0x1400701b0
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 [0x140241cc0]
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.14006fc10
nop
mov rdx, qword [rbp - 0x30]
cmp rdx, 4
jb 0x140070235
add rdx, 0xfffffffffffffffc
mov qword [rsp + 0x20], 4
lea r9, str..log
lea r8d, [r14 + 4]
lea rcx, [rbp - 0x40]
call fcn.140073810
test eax, eax
sete cl
jmp 0x140070238
mov ecx, r14d
test cl, cl
je 0x140070828
call fcn.1400a49c0
mov rdx, rax
lea rax, str..to_rotate.:016x
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], socket
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.140023580
nop
mov rdi, qword [rbp + 0xe8]
mov rcx, rdi
cmp qword [rdi + 0x18], 7
jbe 0x1400702ec
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.14009c050
nop
lea r8, [rbp + 0x68]
mov rdx, rax
lea rcx, [rbp]
call fcn.140050490
nop
lea rcx, [rbp + 0x88]
call fcn.140025f00
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.14006fed0
test al, al
je 0x140070814
movabs rax, 0x7ffffffffffffffe
mov rcx, qword [rbp - 0x30]
sub rax, rcx
cmp rax, 4
jb 0x14007085c
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.140015aa0
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.14006fed0
test al, al
jne 0x14007080a
mov rcx, rdi
cmp qword [rdi + 0x18], 7
jbe 0x140070409
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.14009c050
nop
lea r8, [rbp - 0x20]
mov rdx, rax
lea rcx, [rbp + 0x88]
call fcn.140050490
nop
lea rcx, [rbp + 0x20]
call fcn.140025f00
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 0x140070518
mov rcx, rsi
call fcn.1400700d0
test al, al
jne 0x1400707ed
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 0x1400704d0
mov r8, rdi
lea rcx, [rsp + 0x40]
call fcn.140025740
nop
cmp qword [rsp + 0x50], 0
je 0x14007050e
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 0x1400707e7
call fcn.1400a49c0
lea rcx, str..to_delete.:016x
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x48], socket
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.140023580
nop
mov rcx, rdi
cmp qword [rdi + 0x18], 7
jbe 0x1400705ac
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.14009c050
nop
lea r8, [rbp + 0x48]
mov rdx, rax
lea rcx, [rbp + 0x20]
call fcn.140050490
nop
lea rcx, [rsp + 0x60]
call fcn.140025f00
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.14006fed0
test al, al
je 0x140070754
mov rcx, rbx
call fcn.1400700d0
mov rdi, 0xffffffffffffffff
test al, al
jne 0x1400706a8
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 0x140070662
lea rcx, [rsp + 0x40]
call fcn.140025740
nop
cmp qword [rsp + 0x50], 0
je 0x14007069e
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.140025f00
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.14006fed0
test al, al
jne 0x1400707d9
mov rcx, rsi
call fcn.1400700d0
test al, al
jne 0x1400707d9
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 0x140070714
mov r8, rdi
lea rcx, [rsp + 0x40]
call fcn.140025740
nop
cmp qword [rsp + 0x50], 0
je 0x140070752
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 0x1400707ce
mov rcx, rsi
call fcn.1400700d0
test al, al
jne 0x1400707d9
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 0x140070790
mov r8, rdi
lea rcx, [rsp + 0x40]
call fcn.140025740
nop
cmp qword [rsp + 0x50], 0
je 0x1400707ce
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.140025f00
nop
lea rcx, [rbp + 0x20]
call fcn.140025f00
nop
lea rcx, [rbp + 0x48]
call fcn.140025f00
nop
cmp rbx, 0xffffffffffffffff
je 0x1400707fd
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rcx, [rbp + 0x88]
call fcn.140025f00
nop
lea rcx, [rbp - 0x20]
call fcn.140025f00
nop
lea rcx, [rbp]
call fcn.140025f00
nop
lea rcx, [rbp + 0x68]
call fcn.140025f00
nop
lea rcx, [rbp - 0x40]
call fcn.140025f00
mov rcx, qword [rbp + 0xa8]
xor rcx, rsp
call fcn.140144310
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.140025b80
nop
int3