Function at 0x14000ae00
Capabilities:
Move file

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov ebp, r8d
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x140048010]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rcx, rdx
call fcn.140004020
mov ebx, eax
test eax, eax
jne 0x14000ae87
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.14001bd28
test eax, eax
je 0x14000ae9f
mov eax, dword [0x14004b098]
mov ecx, dword [0x140048e4c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14000b048
call fcn.14001b5f4
mov r9d, dword [rax]
lea rcx, [0x14004ae88]
lea rdx, str.rename_file:_failed_to_read_file_status_info:__S__err:__d
mov r8, rdi
call fcn.140011840
mov ebx, 6
movzx eax, word [rsp + 0x36]
and eax, 0xf000
cmp eax, 0x8000
je 0x14000af29
mov ecx, dword [0x14004b098]
mov edx, dword [0x140048e4c]
mov rbx, qword gs:[0x58]
mov rdx, qword [rbx + rdx*8]
mov edx, dword [rdx + 4]
test bpl, bpl
je 0x14000af0e
movzx eax, ax
cmp eax, 0x4000
je 0x14000af0e
cmp ecx, edx
jg 0x14000b0ca
call fcn.14001b5f4
mov r9d, dword [rax]
lea rcx, [0x14004ae88]
lea rdx, str.rename_file:_path_present__but_not_a_file:__S__err:__d
mov r8, rdi
call fcn.140011840
mov ebx, 0x30
jmp 0x14000ae87
cmp ecx, edx
jg 0x14000b10b
lea rcx, [0x14004ae88]
lea rdx, str.rename_file:_proceeding_to_rename_the_directory
call fcn.140011840
xor ebx, ebx
mov rcx, rsi
xor edx, edx
call fcn.14001f2c4
test eax, eax
je 0x14000af9f
mov rcx, rdi
mov rdx, rsi
call fcn.14001fe50
test eax, eax
je 0x14000ae87
mov rcx, rsi
mov edx, 0x180
call fcn.14001f598
mov rcx, rsi
call fcn.14001fe28
test eax, eax
je 0x14000af39
mov ebp, eax
mov eax, dword [0x14004b098]
mov ecx, dword [0x140048e4c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14000b14c
call fcn.14001b5f4
mov eax, dword [rax]
mov dword [rsp + 0x20], eax
lea rcx, [0x14004ae88]
lea rdx, str.ensure_remove:_failed_to_remove_file:__S__rv:__d__err:__d
mov r8, rsi
mov r9d, ebp
call fcn.140011840
mov eax, dword [0x14004b098]
mov ecx, dword [0x140048e4c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14000b18d
lea rcx, [0x14004ae88]
lea rdx, str.rename_file:_destination_file_exists_and_could_not_be_removed:__S
mov r8, rsi
call fcn.140011840
mov ebx, 0x3e
jmp 0x14000ae87
lea rcx, [0x14004b098]
call fcn.140013d00
cmp dword [0x14004b098], 0xffffffff
jne 0x14000ae64
mov qword [0x14004ae88], 0
lea rcx, [0x14000add0]
call fcn.140013eb8
lea rcx, [0x14004b098]
call fcn.140013d68
jmp 0x14000ae64
lea rcx, [0x14004b098]
call fcn.140013d00
cmp dword [0x14004b098], 0xffffffff
jne 0x14000aee6
mov qword [0x14004ae88], 0
lea rcx, [0x14000add0]
call fcn.140013eb8
lea rcx, [0x14004b098]
call fcn.140013d68
jmp 0x14000aee6
lea rcx, [0x14004b098]
call fcn.140013d00
cmp dword [0x14004b098], 0xffffffff
jne 0x14000af16
mov qword [0x14004ae88], 0
lea rcx, [0x14000add0]
call fcn.140013eb8
lea rcx, [0x14004b098]
call fcn.140013d68
jmp 0x14000af16
lea rcx, [0x14004b098]
call fcn.140013d00
cmp dword [0x14004b098], 0xffffffff
jne 0x14000afdf
mov qword [0x14004ae88], 0
lea rcx, [0x14000add0]
call fcn.140013eb8
lea rcx, [0x14004b098]
call fcn.140013d68
jmp 0x14000afdf
lea rcx, [0x14004b098]
call fcn.140013d00
cmp dword [0x14004b098], 0xffffffff
jne 0x14000b028
mov qword [0x14004ae88], 0
lea rcx, [0x14000add0]
call fcn.140013eb8
lea rcx, [0x14004b098]
call fcn.140013d68
jmp 0x14000b028