Function at 0x14000f2e4
Capabilities:
Delete file
Move file

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], r8
mov qword [r11 + 0x10], rdx
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x60
mov qword [r11 - 0x48], 0xfffffffffffffffe
mov rax, r8
mov r14, rdx
mov rsi, rcx
mov ebx, 0x8007000e
xor edi, edi
mov qword [r11 - 0x58], rdi
mov qword [r11 - 0x50], rdi
mov rcx, qword [rcx + 0x68]
test rcx, rcx
je 0x14000f33f
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
nop dword [rax + rax]
mov qword [rsi + 0x68], rdi
mov rax, qword [rsp + 0xb0]
test r14, r14
je 0x14000f61a
test rax, rax
je 0x14000f61a
mov r13d, 1
mov ecx, r13d
call fcn.14000a2b4
mov r15, rax
mov qword [rsp + 0xa0], rax
test rax, rax
je 0x14000f61f
mov rcx, rax
call qword [sym.imp.msvcrt.dll_wcslen]
nop dword [rax + rax]
mov r12, rax
mov rcx, r14
call qword [sym.imp.msvcrt.dll_wcslen]
nop dword [rax + rax]
lea esi, [rax + 1]
add esi, r12d
lea eax, [r13 + 1]
mul rsi
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.14001a244
mov r14, rax
mov qword [rsp + 0x40], rax
test rax, rax
je 0x14000f459
lea eax, [r12 + 1]
mov ecx, eax
mov ebx, edi
dec rax
mov r12d, 0x80070057
cmp rax, 0x7ffffffe
cmova ebx, r12d
mov dword [rsp + 0x34], ebx
test ebx, ebx
js 0x14000f3fe
mov r9, r15
mov edx, ecx
mov rcx, r14
call fcn.14000a170
mov ebx, eax
mov dword [rsp + 0x34], eax
jmp 0x14000f407
test rcx, rcx
je 0x14000f407
mov word [r14], di
mov dword [rsp + 0x30], ebx
test ebx, ebx
js 0x14000f45f
lea r8, [rsp + 0xb8]
mov rdx, rsi
mov rcx, r14
call fcn.14000a0fc
mov ebx, eax
test eax, eax
js 0x14000f449
mov rax, qword [rsp + 0xb8]
sub rsi, rax
lea rcx, [r14 + rax*2]
mov r9, qword [rsp + 0xa8]
mov rdx, rsi
call fcn.14000a170
mov ebx, eax
mov dword [rsp + 0x30], ebx
test ebx, ebx
cmovns ebx, r13d
mov dword [rsp + 0x30], ebx
jmp 0x14000f45f
mov r12d, 0x80070057
jmp 0x14000f47e
or rsi, 0xffffffffffffffff
test ebx, ebx
js 0x14000f5f5
mov rcx, r15
call qword [sym.imp.msvcrt.dll_wcslen]
nop dword [rax + rax]
mov rbx, rax
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.msvcrt.dll_wcslen]
nop dword [rax + rax]
lea edx, [rax + 1]
add edx, ebx
mov qword [rsp + 0xa8], rdx
lea eax, [rsi + 3]
mul rdx
cmovo rax, rsi
mov rcx, rax
call fcn.14001a244
mov rsi, rax
mov qword [rsp + 0x48], rax
test rax, rax
je 0x14000f570
lea eax, [rbx + 1]
mov ecx, eax
mov ebx, edi
dec rax
cmp rax, 0x7ffffffe
cmova ebx, r12d
mov dword [rsp + 0x38], ebx
test ebx, ebx
js 0x14000f511
mov r9, r15
mov edx, ecx
mov rcx, rsi
call fcn.14000a170
mov ebx, eax
mov dword [rsp + 0x38], eax
jmp 0x14000f519
test rcx, rcx
je 0x14000f519
mov word [rsi], di
mov dword [rsp + 0x30], ebx
test ebx, ebx
js 0x14000f579
lea r8, [rsp + 0xb8]
mov r12, qword [rsp + 0xa8]
mov rdx, r12
mov rcx, rsi
call fcn.14000a0fc
mov ebx, eax
test eax, eax
js 0x14000f563
mov rax, qword [rsp + 0xb8]
sub r12, rax
lea rcx, [rsi + rax*2]
mov r9, qword [rsp + 0xb0]
mov rdx, r12
call fcn.14000a170
mov ebx, eax
mov dword [rsp + 0x30], ebx
test ebx, ebx
js 0x14000f579
mov ebx, r13d
jmp 0x14000f575
mov ebx, 0x8007000e
mov dword [rsp + 0x30], ebx
jmp 0x14000f597
test ebx, ebx
js 0x14000f5e1
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_DeleteFileW]
nop dword [rax + rax]
mov r8d, r13d
mov rdx, rsi
mov rcx, r14
call qword [sym.imp.api_ms_win_core_file_l2_1_0.dll_MoveFileExW]
nop dword [rax + rax]
test eax, eax
jne 0x14000f5df
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
jmp 0x14000f5e1
mov ebx, edi
test rsi, rsi
je 0x14000f5f5
mov rcx, rsi
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void____ptr64_]
nop dword [rax + rax]
test r14, r14
je 0x14000f609
mov rcx, r14
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void____ptr64_]
nop dword [rax + rax]
mov rcx, r15
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void____ptr64_]
nop dword [rax + rax]
jmp 0x14000f61f
mov ebx, 0x80070057
mov eax, ebx
add rsp, 0x60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret