Function at 0x140086054
Capabilities:
Move file

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x308]
sub rsp, 0x3e0
mov rax, qword [0x14016a040]
xor rax, rsp
mov qword [rbp + 0x2d0], rax
mov eax, dword [0x14016ee08]
mov rsi, rcx
shr eax, 1
test al, 1
je 0x140086438
call fcn.140066cf4
xor r12d, r12d
test al, al
je 0x140086438
cmp qword [0x140172300], r12
jne 0x140086438
mov rbx, qword [rsi]
mov rcx, rbx
mov rax, qword [rbx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, rax
mov r15, rax
call fcn.1400b4efc
test al, al
je 0x140086438
mov rdx, qword [rbx]
mov rcx, rbx
call qword [rdx + 0x10]
or r13, 0xffffffffffffffff
mov rdi, rax
test rax, rax
jne 0x1400860f4
mov r14d, r12d
jmp 0x14008610a
call fcn.1400b2af0
mov r8, rax
mov rdx, r13
mov rcx, rdi
call fcn.1400be600
mov r14, rax
lea rax, [rbp + 0x98]
mov dword [rbp + 0xb8], r12d
lea rdx, [rbp + 0x80]
mov qword [rbp + 0x88], rax
mov rcx, rbx
mov qword [rbp + 0x80], r12
mov dword [rbp + 0x90], r12d
mov byte [rbp + 0x98], r12b
mov dword [rbp + 0x94], 0x101
call fcn.140085834
test al, al
jne 0x140086161
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x140086161
call qword [sym.imp.KERNEL32.dll_DebugBreak]
mov r8, rdi
lea rdx, [0x14014ce58]
lea rcx, [rbp + 0x80]
call fcn.1400b1a70
mov rcx, qword [rbp + 0x88]
lea r8, [0x14013ff40]
lea rdx, [0x14014cc74]
call fcn.1400b0b68
mov rcx, r15
call fcn.1400b412c
mov r8, rax
lea rcx, [rbp + 0xc0]
mov edx, 0x104
call fcn.1400b21a8
mov rdx, r14
lea rcx, [rbp + 0xc0]
call fcn.1400b1eec
xor edi, edi
test al, al
je 0x140086206
lea rcx, [rbp + 0xc0]
mov rax, r13
inc rax
cmp word [rcx + rax*2], di
jne 0x1400861cc
test r14, r14
je 0x1400861e9
mov rcx, r13
inc rcx
cmp word [r14 + rcx*2], di
jne 0x1400861dd
jmp 0x1400861eb
mov ecx, edi
sub eax, ecx
cdqe
add rax, rax
cmp rax, 0x208
jae 0x140086468
mov word [rbp + rax + 0xc0], di
test r15, r15
je 0x140086221
call fcn.1400b2af0
mov r8, rax
mov rdx, r13
mov rcx, r15
call fcn.1400be600
mov r12, rax
mov rcx, r12
call fcn.1400b4314
mov ebx, 0x98
lea rcx, [rsp + 0x60]
mov r8d, ebx
xor edx, edx
mov r13, rax
call fcn.14012a960
mov rcx, qword [rsi + 0x10]
lea rax, [rbp + 0xc0]
mov qword [rsp + 0x68], rcx
movsxd rcx, dword [rbp + 0x90]
mov dword [rsp + 0x60], ebx
mov qword [rbp - 0x70], rax
mov dword [rbp - 0x68], 0x104
test ecx, ecx
jne 0x14008626f
mov rax, rdi
jmp 0x14008628e
mov rdi, qword [rbp + 0x88]
mov rbx, rcx
call fcn.1400b2af0
mov r8, rax
mov rdx, rbx
mov rcx, rdi
call fcn.1400be600
xor edi, edi
lea rcx, str.Rename_To
mov qword [rsp + 0x78], rax
mov dword [rbp - 0x74], 1
call fcn.140099170
mov rbx, rax
test rax, rax
jne 0x1400862b3
mov rax, rdi
jmp 0x1400862c7
call fcn.1400b2af0
mov r8, rax
or rdx, 0xffffffffffffffff
mov rcx, rbx
call fcn.1400be600
mov qword [rbp - 0x48], rax
lea rcx, [rsp + 0x60]
lea rax, [r14 + 2]
mov qword [rbp - 0x50], r13
mov qword [rbp - 0x38], rax
mov dword [rbp - 0x40], 0x806
call qword [sym.imp.COMDLG32.dll_GetSaveFileNameW]
test eax, eax
je 0x140086404
mov rcx, rsi
call fcn.140066d68
mov rcx, rax
call fcn.140080788
mov r8b, 1
mov rcx, rsi
mov dl, r8b
call fcn.140084638
mov rcx, qword [rsi + 0x10]
call qword [sym.imp.USER32.dll_SetFocus]
mov r8d, 3
lea rdx, [rbp + 0xc0]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x1400863ac
xor ecx, ecx
call fcn.1400b5d58
mov r8, rsi
lea rcx, [rbp]
mov rdx, r15
call fcn.14007f674
lea rcx, [rbp]
mov byte [rbp + 0x11], 1
call fcn.140083b44
lea rax, str.responseToAction
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x30], rax
lea rcx, str.Failed_to_rename_the_file_
mov rax, qword [rsi + 0x18]
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x40], 0x3f800000
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], rdi
call fcn.140099170
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x48], rax
mov byte [rsp + 0x38], 1
mov dword [rsp + 0x3c], edi
call fcn.14006ddac
lea rcx, [rbp]
jmp 0x1400863ff
call fcn.1400b2af0
mov r9, rax
lea rdx, [rbp + 0xc0]
or r8, 0xffffffffffffffff
mov ecx, 0xfde9
call fcn.1400be6d0
mov rcx, rax
call fcn.1400b471c
mov rdx, rax
mov rcx, r15
mov rbx, rax
call fcn.140082f58
mov r8, rsi
lea rcx, [rbp + 0x40]
mov rdx, rbx
call fcn.14007f674
lea rcx, [rbp + 0x40]
mov byte [rbp + 0x51], 1
call fcn.140083b44
lea rcx, [rbp + 0x40]
call fcn.14007f82c
mov rdx, qword [rbp + 0x88]
test rdx, rdx
je 0x140086438
lea rax, [rbp + 0x98]
cmp rdx, rax
je 0x140086438
mov rcx, qword [rbp + 0x80]
test rcx, rcx
jne 0x140086432
mov rcx, rdx
call fcn.140107298
jmp 0x140086438
mov rax, qword [rcx]
call qword [rax + SafeArrayCopy]
mov rcx, qword [rbp + 0x2d0]
xor rcx, rsp
call fcn.1400f44c0
lea r11, [rsp + 0x3e0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.1400f4950
int3