Function at 0x140099f8c
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 [0x14017a608]
xor rax, rsp
mov qword [rbp + 0x350], rax
xor r14d, r14d
lea rbx, str.base_stor_blbutil_blbtrace.cpp
mov edi, edx
mov rsi, rcx
test rcx, rcx
jne 0x140099fe6
lea r8, str.pwszLogFile
mov edx, 0xc2
mov rcx, rbx
call fcn.14008ac24
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], r14w
jne 0x140099fea
cmp rax, 0xfd
jb 0x14009a010
lea r8, str.wcslen_pwszLogFile_____MAX_PATH___7_
mov edx, 0xc3
mov rcx, rbx
call fcn.14008ac24
cmp edi, 2
jae 0x14009a029
lea r8, str.ulNumLogs___2
mov edx, 0xc4
mov rcx, rbx
call fcn.14008ac24
mov rcx, qword [0x14017a048]
lea r12, [0x14017a048]
lea r13, [0x14015ef98]
cmp rcx, r12
je 0x14009a060
test byte [rcx + 0x1c], 1
je 0x14009a060
cmp byte [rcx + 0x19], 4
jb 0x14009a060
mov rcx, qword [rcx + 0x10]
mov edx, 0x11
mov r8, r13
call fcn.140006b98
mov ebx, 0x208
lea rcx, [rbp + 0x140]
mov r8d, ebx
xor edx, edx
call sub.msvcrt.dll_memset
mov r8d, ebx
lea rcx, [rsp + 0x30]
xor edx, edx
call sub.msvcrt.dll_memset
lea rax, [0x14015f028]
mov r9, rsi
mov qword [rsp + 0x28], rax
lea r8, str._s._d._s
mov edx, 0x104
mov qword [rsp + 0x20], r14
lea rcx, [rsp + 0x30]
call fcn.1400102c4
mov ebx, eax
test eax, eax
js 0x14009a2f0
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
nop dword [rax + rax]
cmp eax, 0xffffffff
jne 0x14009a10e
mov rcx, qword [0x14017a048]
cmp rcx, r12
je 0x14009a319
test byte [rcx + 0x1c], 1
je 0x14009a2f7
cmp byte [rcx + 0x19], 4
jb 0x14009a2f7
mov rcx, qword [rcx + 0x10]
lea r9, [rsp + 0x30]
mov edx, 0x12
mov r8, r13
call fcn.1400112c8
jmp 0x14009a2f0
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x208
call sub.msvcrt.dll_memset
lea rax, [0x14015f028]
mov r9, rsi
mov qword [rsp + 0x28], rax
lea r8, str._s._d._s
mov edx, 0x104
mov dword [rsp + 0x20], edi
lea rcx, [rsp + 0x30]
call fcn.1400102c4
mov ebx, eax
test eax, eax
js 0x14009a2f0
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop dword [rax + rax]
test eax, eax
jne 0x14009a198
mov rcx, qword [0x14017a048]
cmp rcx, r12
je 0x14009a19f
test byte [rcx + 0x1c], 1
je 0x14009a19f
cmp byte [rcx + 0x19], 3
jb 0x14009a19f
mov rcx, qword [rcx + 0x10]
lea edx, [rax + 0x13]
lea r9, [rsp + 0x30]
mov dword [rsp + 0x20], ebx
mov r8, r13
call fcn.140011330
mov rcx, qword [0x14017a048]
test edi, edi
je 0x14009a2f7
lea rcx, [0x14015f028]
mov r9, rsi
mov qword [rsp + 0x28], rcx
lea eax, [rdi - 1]
lea rcx, [rbp + 0x140]
mov dword [rsp + 0x20], eax
lea r8, str._s._d._s
mov edx, 0x104
call fcn.1400102c4
mov ebx, eax
test eax, eax
js 0x14009a2f0
mov r8d, 1
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x140]
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
nop dword [rax + rax]
test eax, eax
jne 0x14009a216
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 2
jne 0x14009a2a1
lea rcx, [rsp + 0x30]
call fcn.140099ad4
mov edx, 4
lea rcx, [rsp + 0x30]
lea rax, [rbp + 0x140]
lea r8d, [rdx + 0x7c]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx], xmm0
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x10], xmm1
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x20], xmm0
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rcx + 0x30], xmm1
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rcx + 0x40], xmm0
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rcx + 0x50], xmm1
movups xmm1, xmmword [rax + 0x70]
add rax, r8
movups xmmword [rcx + 0x60], xmm0
add rcx, r8
movups xmmword [rcx - 0x10], xmm1
sub rdx, 1
jne 0x14009a235
mov rax, qword [rax]
mov r8d, 0x208
mov qword [rcx], rax
lea rcx, [rbp + 0x140]
call sub.msvcrt.dll_memset
add edi, 0xffffffff
je 0x14009a2f0
jmp 0x14009a1a7
test eax, eax
jg 0x14009a2a9
mov ebx, eax
jmp 0x14009a2b2
movzx ebx, ax
or ebx, 0x80070000
mov rcx, qword [0x14017a048]
cmp rcx, r12
je 0x14009a319
test byte [rcx + 0x1c], 1
je 0x14009a2f7
cmp byte [rcx + 0x19], 3
jb 0x14009a2f7
mov rcx, qword [rcx + 0x10]
lea rax, [rsp + 0x30]
mov edx, 0x14
mov dword [rsp + 0x28], ebx
lea r9, [rbp + 0x140]
mov qword [rsp + 0x20], rax
mov r8, r13
call fcn.140011464
mov rcx, qword [0x14017a048]
cmp rcx, r12
je 0x14009a319
test byte [rcx + 0x1c], 1
je 0x14009a319
cmp byte [rcx + 0x19], 4
jb 0x14009a319
mov rcx, qword [rcx + 0x10]
mov edx, 0x15
mov r8, r13
call fcn.140006b98
mov eax, ebx
mov rcx, qword [rbp + 0x350]
xor rcx, rsp
call fcn.140001d90
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