Function at 0x14025ccb8
Capabilities:
Check if file exists

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x68]
sub rsp, 0x130
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rax + 0x20], rbx
mov rax, qword [0x14044e770]
xor rax, rsp
mov qword [rbp + 0x20], rax
mov r13d, r9d
mov rdi, r8
mov r12, rdx
mov rbx, rcx
mov qword [rsp + 0x68], rdx
mov r15, qword [rbp + 0x98]
lea r14, [0x14030cae0]
xor esi, esi
test r9d, r9d
jns 0x14025cdfc
call fcn.14004acb4
mov r10, qword [rax + 8]
cmp dword [r10], 3
jbe 0x14025cdfc
mov rax, r15
cmp qword [r15 + 0x18], 8
jb 0x14025cd36
mov rax, qword [r15]
mov rdx, r14
mov rcx, rsi
or r8, 0xffffffffffffffff
test rax, rax
je 0x14025cd54
mov rdx, rax
mov rcx, r8
inc rcx
cmp word [rax + rcx*2], si
jne 0x14025cd4b
mov qword [rbp - 0x10], rdx
lea eax, [rcx*2 + 2]
mov dword [rbp - 8], eax
mov dword [rbp - 4], esi
lea rax, [rbx + 8]
cmp qword [rax + 0x18], 8
jb 0x14025cd73
mov rax, qword [rax]
mov rdx, r14
mov rcx, rsi
test rax, rax
je 0x14025cd8d
mov rdx, rax
mov rcx, r8
inc rcx
cmp word [rax + rcx*2], si
jne 0x14025cd84
mov qword [rbp], rdx
lea eax, [rcx*2 + 2]
mov dword [rbp + 8], eax
mov dword [rbp + 0xc], esi
mov rax, rdi
cmp qword [rdi + 0x18], 8
jb 0x14025cdab
mov rax, qword [rdi]
mov rdx, r14
mov rcx, rsi
test rax, rax
je 0x14025cdc5
mov rdx, rax
mov rcx, r8
inc rcx
cmp word [rax + rcx*2], si
jne 0x14025cdbc
mov qword [rbp + 0x10], rdx
lea eax, [rcx*2 + 2]
mov dword [rbp + 0x18], eax
mov dword [rbp + 0x1c], esi
lea rax, [rbp - 0x30]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 5
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x1403a1e9c]
mov rcx, r10
call fcn.140001158
add rbx, 8
mov r8, rdi
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.1401af600
nop
lea rcx, [rsp + 0x34]
call qword [sym.imp.KERNEL32.dll_GetFirmwareType]
mov rsi, qword [rsp + 0x40]
test eax, eax
jne 0x14025cf0c
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
mov dword [rsp + 0x30], ecx
call fcn.14004acb4
mov r10, qword [rax + 8]
cmp dword [r10], 2
jbe 0x14025cf81
lea rax, [rsp + 0x30]
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], 4
xor edx, edx
lea rax, str.Failed_to_query_firmware_type
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], 0x3c
cmp qword [rbx + 0x18], 8
jb 0x14025ce84
mov rbx, qword [rbx]
mov rcx, r14
mov rax, rdx
test rbx, rbx
je 0x14025ce9f
mov rcx, rbx
or rax, 0xffffffffffffffff
inc rax
cmp word [rbx + rax*2], dx
jne 0x14025ce96
mov qword [rbp - 0x50], rcx
lea eax, [rax*2 + 2]
mov dword [rbp - 0x48], eax
mov dword [rbp - 0x44], edx
cmp qword [rdi + 0x18], 8
jb 0x14025ceba
mov rdi, qword [rdi]
mov rax, rdx
test rdi, rdi
je 0x14025ced2
mov r14, rdi
or rax, 0xffffffffffffffff
inc rax
cmp word [rdi + rax*2], dx
jne 0x14025cec9
mov qword [rbp - 0x40], r14
lea eax, [rax*2 + 2]
mov dword [rbp - 0x38], eax
mov dword [rbp - 0x34], edx
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 6
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x1403a1dec]
mov rcx, r10
call fcn.140001158
jmp 0x14025cf81
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetDim
call fcn.1402aee08
mov qword [rsp + 0x38], rax
mov ecx, dword [rsp + 0x34]
lea rdx, vtable.sense::cyberData::RestrictExecutionResponse.0
mov qword [rax], rdx
mov dword [rax + 8], ecx
mov rbx, rax
mov qword [rsp + 0x38], rax
lea rdx, [rsi + 0xf8]
lea rcx, [rsp + 0x38]
cmp rdx, rcx
je 0x14025cf68
xor edi, edi
mov ebx, edi
mov qword [rsp + 0x38], rbx
mov rcx, qword [rdx]
mov qword [rdx], rax
test rcx, rcx
je 0x14025cf81
mov rax, qword [rcx]
lea edx, [rdi + 1]
mov rax, qword [rax]
call qword [str.PM_]
test rbx, rbx
je 0x14025cf81
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
mov rax, qword [rax]
call qword [str.PM_]
mov al, byte [rbp + 0x90]
mov byte [rsi + 0x58], al
mov dword [rsi + 0x80], r13d
lea rcx, [rsi + 0x88]
mov rdx, r15
call fcn.140061d90
mov rcx, qword [r12]
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x50], xmm0
mov rbx, qword [rsp + 0x48]
test rbx, rbx
je 0x14025cfc0
lock inc dword [rbx + 8]
mov rbx, qword [rsp + 0x48]
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x50], xmm0
mov rax, qword [rcx]
lea rdx, [rsp + 0x50]
mov rax, qword [rax + 0x30]
call qword [str.PM_]
nop
test rbx, rbx
je 0x14025d024
or eax, 0xffffffff
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14025d024
mov rbx, qword [rsp + 0x48]
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [str.PM_]
or eax, 0xffffffff
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14025d024
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [str.PM_]
nop
mov rbx, qword [r12 + 8]
test rbx, rbx
je 0x14025d067
or eax, 0xffffffff
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14025d067
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [str.PM_]
or eax, 0xffffffff
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14025d067
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 8]
call qword [str.PM_]
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.1402ae860
mov rbx, qword [rsp + 0x188]
add rsp, 0x130
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret