Function at 0x140049a70
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x280]
sub rsp, 0x380
mov rax, qword [0x1400c4a20]
xor rax, rsp
mov qword [rbp + 0x270], rax
mov r15, rdx
mov rsi, rcx
call fcn.1400124e4
test al, al
je 0x140049ab2
mov al, 1
jmp 0x14004a134
mov ecx, dword [rsi + 0x448]
sub ecx, 1
je 0x140049fb5
sub ecx, 1
je 0x140049fac
sub ecx, 1
je 0x140049fb5
sub ecx, 1
je 0x140049fac
sub ecx, 1
je 0x140049fac
cmp ecx, 1
je 0x140049b4e
mov ebx, 0x2712
mov dword [r15], ebx
or edi, 0xffffffff
mov r8d, edi
lea rdx, [0x1400a74e4]
lea rcx, [rbp + 0x50]
call fcn.140023694
nop
mov r8d, edi
lea rdx, str.Not_supported_operation_type
lea rcx, [rsp + 0x40]
call fcn.140023694
nop
lea rax, [rbp + 0x50]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rsp + 0x40]
lea edx, [rdi + 7]
mov ecx, ebx
call fcn.140041f8c
nop
lea rcx, [rsp + 0x40]
call fcn.140023720
nop
lea rcx, [rbp + 0x50]
jmp 0x14004a128
xor bl, bl
xor dil, dil
mov qword [rsp + 0x30], rsi
add rsi, 8
lea rdx, str.win10rt.7z
mov rcx, rsi
call fcn.140023bd8
test eax, eax
jne 0x140049b85
lea r8, str.d66a72c3698f819ef306f08276aaeb7be0f9bcd3caa02040a2dc448f703368fa
lea rcx, [rsp + 0x30]
call fcn.14004a808
mov bl, al
mov dil, 1
lea rdx, str.zrc.7z
mov rcx, rsi
call fcn.140023bd8
test eax, eax
jne 0x140049bae
lea r8, str.8aa36b2a5b7cbd52d11d1dc8b8b6e6e8
lea rcx, [rsp + 0x30]
call fcn.14004a808
mov bl, al
mov dil, 1
lea rdx, str.WebView2Loader.dll
mov rcx, rsi
call fcn.140023bd8
test eax, eax
jne 0x140049bd7
lea r8, str.31423e905e29c8a40a483e81dae1491990805fa066634d218b35bb96692bef0d
lea rcx, [rsp + 0x30]
call fcn.14004a808
mov bl, al
mov dil, 1
lea rdx, str.snsr.7z
mov rcx, rsi
call fcn.140023bd8
lea r14, [0x1400a74e4]
test eax, eax
jne 0x140049c03
mov r8, r14
lea rcx, [rsp + 0x30]
call fcn.14004a808
mov bl, al
mov dil, 1
lea rdx, str.voice_commands_media.7z
mov rcx, rsi
call fcn.140023bd8
test eax, eax
jne 0x140049c28
mov r8, r14
lea rcx, [rsp + 0x30]
call fcn.14004a808
mov bl, al
mov dil, 1
lea rdx, str.dynamic_api_media.7z
mov rcx, rsi
call fcn.140023bd8
test eax, eax
jne 0x140049c4d
mov r8, r14
lea rcx, [rsp + 0x30]
call fcn.14004a808
mov bl, al
mov dil, 1
lea rdx, str.vcomp140.dll
mov rcx, rsi
call fcn.140023bd8
test eax, eax
jne 0x140049c76
lea r8, str.84dc49d58f590743fcb9de49f79d874194f28c987d152cf87e324fbe3e2041f0
lea rcx, [rsp + 0x30]
call fcn.14004a808
mov bl, al
mov dil, 1
lea rdx, str.Processing.NDI.Lib.x86.dll
mov rcx, rsi
call fcn.140023bd8
test eax, eax
jne 0x140049c9b
mov r8, r14
lea rcx, [rsp + 0x30]
call fcn.14004a808
mov bl, al
mov dil, 1
lea rdx, str.Processing.NDI.Lib.x64.dll
mov rcx, rsi
call fcn.140023bd8
test eax, eax
jne 0x140049cc0
mov r8, r14
lea rcx, [rsp + 0x30]
call fcn.14004a808
mov bl, al
mov dil, 1
lea rdx, str.d3dcompiler_47.dll
mov rcx, rsi
call fcn.140023bd8
test eax, eax
jne 0x140049ce9
lea r8, str.d1b50f7075e2ee47c8d184e38862a83b880a90fd2ff00da7bb1eb61e24e00f5d
lea rcx, [rsp + 0x30]
call fcn.14004a808
mov bl, al
mov dil, 1
lea rdx, str.openvino.dll
mov rcx, rsi
call fcn.140023bd8
test eax, eax
jne 0x140049d12
lea r8, str.21baabbe6853dfb2e90cd435550d25b22dc5cfef1b8d5672395a3582ecbbe92c
lea rcx, [rsp + 0x30]
call fcn.14004a808
mov bl, al
mov dil, 1
lea rdx, str.openvino_c.dll
mov rcx, rsi
call fcn.140023bd8
test eax, eax
jne 0x140049d3b
lea r8, str.23faca1b4a9f74f82b0dd7e9576dc8fd07d50c8f1823fa59b2f78605ae475494
lea rcx, [rsp + 0x30]
call fcn.14004a808
mov bl, al
mov dil, 1
lea rdx, str.openvino_intel_cpu_plugin.dll
mov rcx, rsi
call fcn.140023bd8
test eax, eax
jne 0x140049d64
lea r8, str.f37b2acbf2aff43b768de8409cd71b054ed5620ecf03366df23e808d020857e2
lea rcx, [rsp + 0x30]
call fcn.14004a808
mov bl, al
mov dil, 1
lea rdx, str.openvino_intel_gpu_plugin.dll
mov rcx, rsi
call fcn.140023bd8
test eax, eax
jne 0x140049d8d
lea r8, str.666f496d81323013fedeede05a9302e4f1b397bac2936d0a7c1df6007b62c176
lea rcx, [rsp + 0x30]
call fcn.14004a808
mov bl, al
mov dil, 1
lea rdx, str.openvino_ir_frontend.dll
mov rcx, rsi
call fcn.140023bd8
test eax, eax
jne 0x140049db6
lea r8, str.fa44ac39626e4931c2538725e20ba80b567a3e44a99ed5a69e624d4b2ed28dff
lea rcx, [rsp + 0x30]
call fcn.14004a808
mov bl, al
mov dil, 1
lea rdx, str.tbb.dll
mov rcx, rsi
call fcn.140023bd8
test eax, eax
jne 0x140049ddf
lea r8, str.943a1e1d1f32c5bf6369bb7d15cc6888547244f671c6e8b8133c9b7effab7680
lea rcx, [rsp + 0x30]
call fcn.14004a808
mov bl, al
mov dil, 1
lea rdx, str.tbb12.dll
mov rcx, rsi
call fcn.140023bd8
test eax, eax
jne 0x140049e08
lea r8, str.8b1255cdab634e34316688cfb8b4806c4fd18b108e645b03ad6a8a20f4439d2a
lea rcx, [rsp + 0x30]
call fcn.14004a808
mov bl, al
mov dil, 1
lea rdx, str.win10rt_x64.7z
mov rcx, rsi
call fcn.140023bd8
test eax, eax
jne 0x140049e31
lea r8, str.d66a72c3698f819ef306f08276aaeb7be0f9bcd3caa02040a2dc448f703368fa
lea rcx, [rsp + 0x30]
call fcn.14004a808
mov bl, al
mov dil, 1
lea rdx, str.mDNSResponder.exe
mov rcx, rsi
call fcn.140023bd8
test eax, eax
jne 0x140049e56
mov r8, r14
lea rcx, [rsp + 0x30]
call fcn.14004a808
mov bl, al
mov dil, 1
lea rdx, str.WebView2.7z
mov rcx, rsi
call fcn.140023bd8
test eax, eax
jne 0x140049e7b
mov r8, r14
lea rcx, [rsp + 0x30]
call fcn.14004a808
mov bl, al
mov dil, 1
lea rdx, str.dal.dll
mov rcx, rsi
call fcn.140023bd8
test eax, eax
jne 0x140049ea0
mov r8, r14
lea rcx, [rsp + 0x30]
call fcn.14004a808
mov bl, al
mov dil, 1
lea rdx, str.apec3.exe
mov rcx, rsi
call fcn.140023bd8
test eax, eax
jne 0x140049ec5
mov r8, r14
lea rcx, [rsp + 0x30]
call fcn.14004a808
mov bl, al
mov dil, 1
lea rdx, str.conmon_server.exe
mov rcx, rsi
call fcn.140023bd8
test eax, eax
jne 0x140049eea
mov r8, r14
lea rcx, [rsp + 0x30]
call fcn.14004a808
mov bl, al
mov dil, 1
lea rdx, str.ptp.exe
mov rcx, rsi
call fcn.140023bd8
test eax, eax
jne 0x140049f0f
mov r8, r14
lea rcx, [rsp + 0x30]
call fcn.14004a808
mov bl, al
mov dil, 1
mov rdx, r14
mov rcx, rsi
call fcn.140023bd8
test eax, eax
jne 0x140049f30
mov r8, r14
lea rcx, [rsp + 0x30]
call fcn.14004a808
mov bl, al
mov dil, 1
mov esi, 0x2713
test bl, bl
jne 0x140049f9c
test dil, dil
jne 0x140049f9c
or edi, 0xffffffff
mov r8d, edi
mov rdx, r14
lea rcx, [rsp + 0x40]
call fcn.140023694
nop
mov r8d, edi
lea rdx, str.Failed_to_pass_security_check__File_not_defined
lea rcx, [rbp + 0x50]
call fcn.140023694
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r8, [rbp + 0x50]
lea edx, [rdi + 7]
mov ecx, esi
call fcn.140041f8c
nop
lea rcx, [rbp + 0x50]
call fcn.140023720
nop
lea rcx, [rsp + 0x40]
call fcn.140023720
neg bl
sbb eax, eax
not eax
and eax, esi
mov dword [r15], eax
jmp 0x14004a12d
and dword [r15], 0
jmp 0x14004a12d
lea rdx, [rsi + 0x118]
lea rcx, [rsp + 0x40]
call fcn.1400236ec
nop
lea rdx, [rsi + 8]
lea rcx, [rsp + 0x40]
call fcn.140023b04
lea rcx, [rsp + 0x40]
call fcn.1400237a0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x14004a062
mov esi, 0x2713
mov dword [r15], esi
or edi, 0xffffffff
mov r8d, edi
lea rdx, [0x1400a74e4]
lea rcx, [rbp + 0x160]
call fcn.140023694
nop
mov r8d, edi
lea rdx, str.Failed_to_pass_security_check__file_not_exist
lea rcx, [rbp + 0x50]
call fcn.140023694
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
lea rax, [rbp + 0x160]
mov qword [rsp + 0x20], rax
lea r8, [rbp + 0x50]
lea edx, [rdi + 7]
mov ecx, esi
call fcn.140041f8c
nop
lea rcx, [rbp + 0x50]
call fcn.140023720
nop
lea rcx, [rbp + 0x160]
call fcn.140023720
jmp 0x14004a123
lea rcx, [rsp + 0x40]
call fcn.1400237a0
mov rcx, rax
call fcn.140043a10
test eax, eax
je 0x14004a11f
mov qword [rsp + 0x30], rsi
lea rax, [rsp + 0x40]
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x40]
call fcn.1400237a0
mov rcx, rax
call fcn.140055b30
test eax, eax
jne 0x14004a11f
lea rcx, [rsp + 0x30]
call fcn.14004a15c
test al, al
jne 0x14004a11f
mov esi, 0x2713
mov dword [r15], esi
or edi, 0xffffffff
mov r8d, edi
lea rdx, [0x1400a74e4]
lea rcx, [rbp + 0x50]
call fcn.140023694
nop
mov r8d, edi
lea rdx, str.Failed_to_pass_security_check
lea rcx, [rbp + 0x160]
call fcn.140023694
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
lea rax, [rbp + 0x50]
mov qword [rsp + 0x20], rax
lea r8, [rbp + 0x160]
lea edx, [rdi + 7]
mov ecx, esi
call fcn.140041f8c
nop
lea rcx, [rbp + 0x160]
call fcn.140023720
nop
lea rcx, [rbp + 0x50]
jmp 0x14004a058
and dword [r15], 0
lea rcx, [rsp + 0x40]
call fcn.140023720
cmp dword [r15], 0
sete al
mov rcx, qword [rbp + 0x270]
xor rcx, rsp
call fcn.140080bf0
mov rbx, qword [rsp + 0x3c0]
add rsp, 0x380
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret