Function at 0x1400b7424
Capabilities:
Check if file exists
Delete file
Get file attributes
Move file

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r13
push r14
lea rbp, [rsp - 0x360]
sub rsp, 0x460
mov rax, qword [0x14017d140]
xor rax, rsp
mov qword [rbp + 0x350], rax
xor r14d, r14d
mov edi, edx
mov rsi, rcx
lea rbx, [0x14000a8e0]
test rcx, rcx
jne 0x1400b747e
lea r8, [0x14000a910]
mov edx, 0xc2
mov rcx, rbx
call fcn.1400a8be8
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], r14w
jne 0x1400b7482
cmp rax, 0xfd
jb 0x1400b74a8
lea r8, [0x14000a920]
mov edx, 0xc3
mov rcx, rbx
call fcn.1400a8be8
cmp edi, 2
jae 0x1400b74c1
lea r8, [0x14000a948]
mov edx, 0xc4
mov rcx, rbx
call fcn.1400a8be8
mov rcx, qword [0x14017d3a8]
lea r12, [0x14017d3a8]
lea r13, [0x14000aa00]
cmp rcx, r12
je 0x1400b74f8
test byte [rcx + 0x1c], 1
je 0x1400b74f8
cmp byte [rcx + 0x19], 4
jb 0x1400b74f8
mov rcx, qword [rcx + 0x10]
mov edx, reloc.ole32.dll_CoRevokeClassObject
mov r8, r13
call fcn.14001dd24
mov ebx, 0x208
lea rcx, [rbp + 0x140]
xor edx, edx
mov r8d, ebx
call sub.msvcrt.dll_memset
lea rcx, [rsp + 0x30]
mov r8d, ebx
xor edx, edx
call sub.msvcrt.dll_memset
lea rax, [0x1400026b8]
lea r8, [0x14000a958]
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x30]
mov r9, rsi
mov edx, 0x104
mov qword [rsp + 0x20], r14
call fcn.1400284c0
mov ebx, eax
test eax, eax
js 0x1400b771c
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, reloc.ADVAPI32.dll_TraceEvent
jne 0x1400b75a0
mov rcx, qword [0x14017d3a8]
cmp rcx, r12
je 0x1400b7745
test byte [rcx + 0x1c], 1
je 0x1400b7723
cmp byte [rcx + 0x19], 4
jb 0x1400b7723
mov rcx, qword [rcx + 0x10]
lea r9, [rsp + 0x30]
mov edx, CoDisconnectObject
mov r8, r13
call fcn.14001ec40
jmp 0x1400b771c
lea rcx, [rsp + 0x30]
xor edx, edx
mov r8d, 0x208
call sub.msvcrt.dll_memset
lea rax, [0x1400026b8]
lea r8, [0x14000a958]
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x30]
mov r9, rsi
mov edx, 0x104
mov dword [rsp + 0x20], edi
call fcn.1400284c0
mov ebx, eax
test eax, eax
js 0x1400b771c
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1400b7624
mov rcx, qword [0x14017d3a8]
cmp rcx, r12
je 0x1400b762b
test byte [rcx + 0x1c], 1
je 0x1400b762b
cmp byte [rcx + 0x19], 3
jb 0x1400b762b
mov rcx, qword [rcx + 0x10]
lea edx, [rax + 0x13]
lea r9, [rsp + 0x30]
mov r8, r13
mov dword [rsp + 0x20], ebx
call fcn.14001ecbc
mov rcx, qword [0x14017d3a8]
test edi, edi
je 0x1400b7723
lea rcx, [0x1400026b8]
lea eax, [rdi - 1]
lea r8, [0x14000a958]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp + 0x140]
mov r9, rsi
mov edx, 0x104
mov dword [rsp + 0x20], eax
call fcn.1400284c0
mov ebx, eax
test eax, eax
js 0x1400b771c
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x140]
mov r8d, 1
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x1400b7692
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x1400b76d0
lea rcx, [rsp + 0x30]
call fcn.1400b72f8
lea rcx, [rsp + 0x30]
lea rdx, [rbp + 0x140]
mov r8d, 0x208
call sub.msvcrt.dll_memcpy
lea rcx, [rbp + 0x140]
xor edx, edx
mov r8d, 0x208
call sub.msvcrt.dll_memset
dec edi
je 0x1400b771c
jmp 0x1400b7633
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov rcx, qword [0x14017d3a8]
cmp rcx, r12
je 0x1400b7745
test byte [rcx + 0x1c], 1
je 0x1400b7723
cmp byte [rcx + 0x19], 3
jb 0x1400b7723
mov rcx, qword [rcx + 0x10]
lea rax, [rsp + 0x30]
lea r9, [rbp + 0x140]
mov edx, 0x14
mov r8, r13
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rax
call fcn.140028ec8
mov rcx, qword [0x14017d3a8]
cmp rcx, r12
je 0x1400b7745
test byte [rcx + 0x1c], 1
je 0x1400b7745
cmp byte [rcx + 0x19], 4
jb 0x1400b7745
mov rcx, qword [rcx + 0x10]
mov edx, 0x15
mov r8, r13
call fcn.14001dd24
mov eax, ebx
mov rcx, qword [rbp + 0x350]
xor rcx, rsp
call fcn.140168920
lea r11, [rsp + 0x460]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rbp
ret