Function at 0x14000ad30
Capabilities:
Move file

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x60
mov ebp, r8d
mov rdi, rdx
mov rsi, rcx
mov r14, qword [0x14003da78]
mov rax, qword [r14]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rcx, rdx
call fcn.140004400
mov ebx, eax
test eax, eax
jne 0x14000ada7
lea rdx, [rsp + 0x28]
mov rcx, rsi
call fcn.1400187b0
test eax, eax
je 0x14000adc8
movzx eax, byte [0x14005b818]
test al, al
je 0x14000aedb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov r9d, dword [rax]
lea rcx, [0x14005c900]
lea rdx, str.rename_file:_failed_to_read_file_status_info:__S__err:__d
mov r8, rsi
call fcn.140016400
mov ebx, 6
mov rax, qword [rsp + 0x58]
xor rax, rsp
mov rcx, qword [r14]
cmp rcx, rax
jne 0x14000aed6
mov eax, ebx
add rsp, 0x60
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
movzx eax, word [rsp + 0x2e]
and eax, 0xf000
cmp eax, 0x8000
je 0x14000ae38
movzx ecx, byte [0x14005b818]
test bpl, bpl
je 0x14000ae1d
movzx eax, ax
cmp eax, 0x4000
je 0x14000ae1d
test cl, cl
je 0x14000af6f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov r9d, dword [rax]
lea rcx, [0x14005c900]
lea rdx, str.rename_file:_path_present__but_not_a_file:__S__err:__d
mov r8, rsi
call fcn.140016400
mov ebx, 0x30
jmp 0x14000ada7
test cl, cl
je 0x14000afb9
lea rcx, [0x14005c900]
lea rdx, str.rename_file:_proceeding_to_rename_the_directory
call fcn.140016400
xor ebx, ebx
mov rcx, rdi
xor edx, edx
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__waccess]
test eax, eax
je 0x14000ae9b
mov rcx, rsi
mov rdx, rdi
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wrename]
test eax, eax
je 0x14000ada7
movzx eax, byte [0x14005b818]
test al, al
je 0x14000af25
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov eax, dword [rax]
mov dword [rsp + 0x20], eax
lea rcx, [0x14005c900]
lea rdx, str.rename_file:_failed_to_rename_file___src:__S__dst:_S__err:__d
mov r8, rsi
mov r9, rdi
call fcn.140016400
mov ebx, 7
jmp 0x14000ada7
mov rcx, rdi
call fcn.1400034e0
test eax, eax
je 0x14000ae49
movzx eax, byte [0x14005b818]
test al, al
je 0x14000b003
lea rcx, [0x14005c900]
lea rdx, str.rename_file:_destination_file_exists_and_could_not_be_removed:__S
mov r8, rdi
call fcn.140016400
mov ebx, 0x3e
jmp 0x14000ada7
call fcn.140018700
lea rcx, [0x14005b818]
call fcn.1400174a0
test eax, eax
je 0x14000ad83
lea rdi, [0x14005c900]
mov rcx, rdi
call fcn.140016350
lea rcx, [0x14000ad20]
lea r8, [0x14005b770]
mov rdx, rdi
call fcn.1400182f0
lea rcx, [0x14005b818]
call fcn.14001757b
jmp 0x14000ad83
lea rcx, [0x14005b818]
call fcn.1400174a0
test eax, eax
je 0x14000ae6c
lea rbx, [0x14005c900]
mov rcx, rbx
call fcn.140016350
lea rcx, [0x14000ad20]
lea r8, [0x14005b770]
mov rdx, rbx
call fcn.1400182f0
lea rcx, [0x14005b818]
call fcn.14001757b
jmp 0x14000ae6c
lea rcx, [0x14005b818]
call fcn.1400174a0
test eax, eax
je 0x14000adf7
lea rdi, [0x14005c900]
mov rcx, rdi
call fcn.140016350
lea rcx, [0x14000ad20]
lea r8, [0x14005b770]
mov rdx, rdi
call fcn.1400182f0
lea rcx, [0x14005b818]
call fcn.14001757b
jmp 0x14000adf7
lea rcx, [0x14005b818]
call fcn.1400174a0
test eax, eax
je 0x14000ae25
lea rbx, [0x14005c900]
mov rcx, rbx
call fcn.140016350
lea rcx, [0x14000ad20]
lea r8, [0x14005b770]
mov rdx, rbx
call fcn.1400182f0
lea rcx, [0x14005b818]
call fcn.14001757b
jmp 0x14000ae25
lea rcx, [0x14005b818]
call fcn.1400174a0
test eax, eax
je 0x14000aeb6
lea rsi, [0x14005c900]
mov rcx, rsi
call fcn.140016350
lea rcx, [0x14000ad20]
lea r8, [0x14005b770]
mov rdx, rsi
call fcn.1400182f0
lea rcx, [0x14005b818]
call fcn.14001757b
jmp 0x14000aeb6