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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r13
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0x90
mov rsi, rcx
mov rcx, qword [0x140015038]
lea rax, [0x140015038]
cmp rcx, rax
je 0x14000b73b
test dword [rcx + 0x1c], 0x20000000
je 0x14000b73b
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400120a0]
mov edx, 0x15
call fcn.140001800
mov r9d, 1
lea rdx, str.SxRotateLogs
mov r8d, 0x1d4
lea rcx, [rbp + 7]
call fcn.14000ab2c
xor r15d, r15d
lea rax, [0x1400122e0]
mov qword [rbp - 9], rax
mov qword [rbp - 0x19], rax
mov qword [rbp - 1], r15
mov qword [rbp - 0x11], r15
test rsi, rsi
jne 0x14000b7c6
mov ebx, 0x80070057
mov eax, 0x1dc
mov dword [rbp + 7], ebx
mov word [rbp + 0xd], ax
lea rcx, [rbp - 0x19]
call fcn.14000d4e8
lea rcx, [rbp - 9]
call fcn.14000d4e8
lea rcx, [rbp + 7]
call fcn.14000ac34
lea r11, [rsp + 0x90]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r13, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
mov eax, 0x1dd
mov dword [rbp + 7], r15d
mov rcx, rsi
mov word [rbp + 0xb], ax
call fcn.14000b438
lea rdi, [0x140012098]
xor r9d, r9d
mov r8, rsi
mov qword [rsp + 0x20], rdi
lea rdx, str._s._d._s
lea rcx, [rbp - 0x19]
call fcn.14000d9f8
mov ebx, eax
mov dword [rbp + 7], eax
test eax, eax
mov eax, 0x1e4
js 0x14000b783
mov rcx, qword [rbp - 0x19]
mov word [rbp + 0xb], ax
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_GetFileAttributesW]
nop dword [rax + rax]
cmp eax, 0xffffffff
jne 0x14000b850
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
add eax, 0xfffffffe
cmp eax, 1
ja 0x14000b850
mov ebx, r15d
mov eax, 0x1ec
mov dword [rbp + 7], ebx
mov word [rbp + 0xb], ax
jmp 0x14000b787
mov r14d, 4
mov qword [rsp + 0x20], rdi
mov r9d, r14d
lea rdx, str._s._d._s
mov r8, rsi
lea rcx, [rbp - 0x19]
call fcn.14000d9f8
mov ebx, eax
mov dword [rbp + 7], eax
test eax, eax
mov eax, 0x1f1
js 0x14000b783
mov rdi, qword [rbp - 0x19]
mov rcx, rdi
mov word [rbp + 0xb], ax
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_DeleteFileW]
nop dword [rax + rax]
mov r13d, 0x20c
lea rax, [0x140012098]
mov r8, rsi
lea r9d, [r14 - 1]
mov qword [rsp + 0x20], rax
lea rdx, str._s._d._s
lea rcx, [rbp - 9]
call fcn.14000d9f8
mov ebx, eax
mov dword [rbp + 7], eax
test eax, eax
mov eax, 0x1f8
js 0x14000b783
mov rcx, qword [rbp - 9]
mov r8d, 1
mov rdx, rdi
mov word [rbp + 0xb], ax
call qword [sym.imp.api_ms_win_core_file_l2_1_0.dll_MoveFileExW]
nop dword [rax + rax]
test eax, eax
jne 0x14000b924
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 0x20
ja 0x14000b968
movabs rdx, 0x100000024
bt rdx, rax
jae 0x14000b968
mov eax, 0x205
mov dword [rbp + 7], r15d
mov word [rbp + 0xb], ax
mov rcx, rdi
call fcn.14000b2d4
cmp dword [rbp - 0x11], r15d
je 0x14000b93a
mov dword [rbp - 0x11], r15d
mov word [rdi], r15w
mov rdx, qword [rbp - 9]
lea rcx, [rbp - 0x19]
call fcn.14000dee8
mov dword [rbp + 7], eax
mov ebx, eax
test eax, eax
js 0x14000b983
mov word [rbp + 0xb], r13w
add r14d, 0xffffffff
je 0x14000b787
mov rdi, qword [rbp - 0x19]
jmp 0x14000b8a0
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov eax, 0x205
mov dword [rbp + 7], ebx
jmp 0x14000b783
mov word [rbp + 0xd], r13w
jmp 0x14000b787