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

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x180]
sub rsp, 0x280
mov rax, qword [0x1401d2800]
xor rax, rsp
mov qword [rbp + 0x170], rax
mov rdi, r8
mov rsi, rdx
mov r12, rcx
mov qword [rbp - 0x10], rcx
xor r13d, r13d
mov dword [rsp + 0x40], r13d
mov qword [rcx], r13
mov dword [rsp + 0x40], 1
xorps xmm0, xmm0
movups xmmword [rbp + 0xb0], xmm0
mov qword [rbp + 0xc0], r13
mov qword [rbp + 0xc8], 7
mov word [rbp + 0xb0], r13w
mov qword [rsp + 0x48], r13
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
mov cl, 1
call sub.MSVCP140.dll_private:_static_class_std::locale::_Locimp____ptr64___cdecl_std::locale::_Init_bool_
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x60]
call fcn.140076340
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x60]
call fcn.14004d5d0
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x20], 1
lea r9, [0x14014fc4a]
lea r8, str.__a_zA_Z0_9_
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x20]
call fcn.1400768c0
nop
lea rcx, [rbp + 0x20]
call fcn.14007e3a0
mov r15, rax
test rax, rax
je 0x140096ca7
lock inc dword [rax + 0x2c]
mov r14d, 0xffffffff
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140096cea
mov eax, r14d
lock xadd dword [rcx + 0x2c], eax
cmp eax, 1
jne 0x140096cea
mov rbx, qword [rsp + 0x48]
test rbx, rbx
je 0x140096cea
mov rcx, rbx
lea rax, [rbx + 0x10]
mov rbx, qword [rax]
mov qword [rax], r13
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
test rbx, rbx
jne 0x140096cce
mov qword [rsp + 0x48], r15
mov rcx, qword [rbp + 0x40]
test rcx, rcx
je 0x140096d44
mov rax, qword [rbp + 0x50]
sub rax, rcx
sar rax, 2
lea rdx, [rax*4]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140096d33
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140096d33
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14011ec48
mov qword [rbp + 0x40], r13
mov qword [rbp + 0x48], r13
mov qword [rbp + 0x50], r13
xor r8d, r8d
lea rdx, [rsp + 0x48]
mov rcx, rdi
call fcn.140095510
movzx r15d, al
mov rax, qword [rsp + 0x48]
test rax, rax
je 0x140096d94
lock xadd dword [rax + 0x2c], r14d
cmp r14d, 1
jne 0x140096d94
mov rbx, qword [rsp + 0x48]
test rbx, rbx
je 0x140096d94
mov rcx, rbx
lea rax, [rbx + 0x10]
mov rbx, qword [rax]
mov qword [rax], r13
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
test rbx, rbx
jne 0x140096d78
mov qword [rsp + 0x48], r13
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x140096dbb
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, rax
test rax, rax
je 0x140096dbb
mov rax, qword [rax]
mov edx, 1
call qword [rax]
test r15b, r15b
jne 0x140096e8f
mov rax, qword [rsi]
mov edx, 0x193
mov rcx, rsi
call qword [rax + 0x38]
mov rax, qword [rsi]
lea rdx, str.Forbidden
mov rcx, rsi
call qword [rax + 0x48]
mov r8d, 9
lea rdx, str.Forbidden
lea rcx, [rbp + 0xb0]
call fcn.1400105d0
mov rcx, rdi
cmp qword [rdi + 0x18], 7
jbe 0x140096e08
mov rcx, qword [rdi]
mov rax, qword [rdi + 0x10]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], rax
mov dword [rbp + 0xd8], 0x193
mov byte [rbp + 0xe8], 6
movups xmm2, xmmword [rsp + 0x30]
mov byte [rbp + 0x148], 0xf
lea rax, method.Microsoft::NativeHost::CBootHealthCheck.virtual_16
mov qword [rsp + 0x78], rax
movups xmm0, xmmword [rbp + 0xd8]
movups xmmword [rbp - 0x80], xmm0
movsd xmm1, qword [rbp + 0xe8]
movsd qword [rbp - 0x70], xmm1
lea rax, method.Microsoft::NativeHost::CBootHealthCheck.virtual_16
mov qword [rbp - 0x68], rax
movups xmmword [rbp - 0x60], xmm2
movsd xmm0, qword [rbp + 0x148]
movsd qword [rbp - 0x50], xmm0
lea rax, vtable.Microsoft::NativeHost::NavigationFailed.0
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x70]
call qword [sym.imp.nh.dll_void___cdecl_Microsoft::NativeHost::Log_struct_Microsoft::NativeHost::Logging::ILogEvent_const____ptr64_]
jmp 0x1400970b8
lea rcx, [rbp + 0x130]
call fcn.14011c660
nop
xor r8d, r8d
mov rdx, rdi
lea rcx, [rbp + 0x150]
call fcn.140032a10
nop
lea r8, [rbp + 0x150]
lea rdx, [rbp + 0x130]
lea rcx, [rbp + 0xf0]
call fcn.14000e500
nop
lea rcx, [rbp + 0x150]
call fcn.1400076d0
xor r8d, r8d
lea rdx, str..tmp
lea rcx, [rbp + 0xd0]
call fcn.14000d420
nop
lea rdx, [rbp + 0xd0]
cmp qword [rbp + 0xe8], 7
cmova rdx, qword [rbp + 0xd0]
mov r8, qword [rbp + 0xe0]
lea rcx, [rbp + 0xf0]
call fcn.140010540
lea rcx, [rbp + 0xf0]
cmp qword [rbp + 0x108], 7
cmova rcx, qword [rbp + 0xf0]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x140096f86
mov rax, qword [rsi]
mov edx, 0x194
mov rcx, rsi
call qword [rax + 0x38]
mov rax, qword [rsi]
lea rdx, str.Not_Found
mov rcx, rsi
call qword [rax + 0x48]
mov r8d, 0xe
lea rdx, str.File_not_found
lea rcx, [rbp + 0xb0]
call fcn.1400105d0
mov rcx, rdi
cmp qword [rdi + 0x18], 7
jbe 0x140096f7d
mov rcx, qword [rdi]
mov dword [rbp - 0x28], 0x194
jmp 0x140096ff7
lea rcx, [rbp + 0xf0]
cmp qword [rbp + 0x108], 7
cmova rcx, qword [rbp + 0xf0]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov r8, qword [rsi]
mov rcx, rsi
test eax, eax
jne 0x140097062
mov edx, 0x1f4
call qword [r8 + 0x38]
mov rax, qword [rsi]
lea rdx, str.Operation_failed
mov rcx, rsi
call qword [rax + 0x48]
mov r8d, 0xd
lea rdx, str.Delete_failed
lea rcx, [rbp + 0xb0]
call fcn.1400105d0
mov rcx, rdi
cmp qword [rdi + 0x18], 7
jbe 0x140096ff0
mov rcx, qword [rdi]
mov dword [rbp - 0x28], 0x1f4
mov rax, qword [rdi + 0x10]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rcx
mov byte [rbp - 0x18], 6
movups xmm2, xmmword [rsp + 0x30]
mov byte [rbp + 0x10], 0xf
lea rax, method.Microsoft::NativeHost::CBootHealthCheck.virtual_16
mov qword [rsp + 0x78], rax
movups xmm0, xmmword [rbp - 0x28]
movups xmmword [rbp - 0x80], xmm0
movsd xmm1, qword [rbp - 0x18]
movsd qword [rbp - 0x70], xmm1
lea rax, method.Microsoft::NativeHost::CBootHealthCheck.virtual_16
mov qword [rbp - 0x68], rax
movups xmmword [rbp - 0x60], xmm2
movsd xmm0, qword [rbp + 0x10]
movsd qword [rbp - 0x50], xmm0
lea rax, vtable.Microsoft::NativeHost::NavigationFailed.0
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x70]
call qword [sym.imp.nh.dll_void___cdecl_Microsoft::NativeHost::Log_struct_Microsoft::NativeHost::Logging::ILogEvent_const____ptr64_]
jmp 0x140097092
mov edx, reloc.OLEAUT32.dll_SetErrorInfo
call qword [r8 + 0x38]
mov rax, qword [rsi]
lea rdx, [0x14014fce4]
mov rcx, rsi
call qword [rax + 0x48]
xor r8d, r8d
lea rdx, [0x140138088]
lea rcx, [rbp + 0xb0]
call fcn.1400105d0
nop
lea rcx, [rbp + 0xd0]
call fcn.1400076d0
nop
lea rcx, [rbp + 0xf0]
call fcn.1400076d0
nop
lea rcx, [rbp + 0x130]
call fcn.1400076d0
lea rax, [rbp + 0xb0]
cmp qword [rbp + 0xc8], 7
cmova rax, qword [rbp + 0xb0]
mov qword [rbp - 0x40], rax
mov rax, qword [rbp + 0xc0]
mov qword [rbp - 0x38], rax
movaps xmm0, xmmword [rbp - 0x40]
movdqa xmmword [rbp - 0x40], xmm0
lea rdx, [rbp - 0x40]
lea rcx, [rbp + 0x110]
call qword [sym.imp.nh.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_Microsoft::NativeHost::ToString_class_std::basic_string_view_wchar_t__struct_std::char_traits_wchar_t___]
lea rcx, [rbp + 0x110]
cmp qword [rbp + 0x128], 0xf
cmova rcx, qword [rbp + 0x110]
mov edx, dword [rbp + 0x120]
call qword [sym.imp.SHLWAPI.dll_SHCreateMemStream]
nop
mov rcx, qword [r12]
mov qword [r12], rax
test rcx, rcx
je 0x140097130
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rdx, qword [rbp + 0x128]
cmp rdx, 0xf
jbe 0x140097174
inc rdx
mov rcx, qword [rbp + 0x110]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14009716f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14009716f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14011ec48
movdqa xmm0, xmmword [0x140139630]
movdqu xmmword [rbp + 0x120], xmm0
mov byte [rbp + 0x110], 0
mov rdx, qword [rbp + 0xc8]
cmp rdx, 7
jbe 0x1400971d4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xb0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400971cf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400971cf
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14011ec48
mov rax, r12
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.14011e980
mov rbx, qword [rsp + 0x2d8]
add rsp, 0x280
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret