Function at 0x140050420
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 [0x1400b7a38]
xor rax, rsp
mov qword [rbp + 0x270], rax
mov r15, rdx
mov rsi, rcx
call fcn.1400157c4
test al, al
je 0x140050462
mov al, 1
jmp 0x140050a7d
mov ecx, dword [rsi + 0x448]
sub ecx, 1
je 0x1400508fe
sub ecx, 1
je 0x1400508f5
sub ecx, 1
je 0x1400508fe
sub ecx, 1
je 0x1400508f5
sub ecx, 1
je 0x1400508f5
cmp ecx, 1
je 0x1400504fe
mov ebx, 0x2712
mov dword [r15], ebx
or edi, 0xffffffff
mov r8d, edi
lea rdx, [0x14009b62c]
lea rcx, [rbp + 0x50]
call fcn.14002c244
nop
mov r8d, edi
lea rdx, str.Not_supported_operation_type
lea rcx, [rsp + 0x40]
call fcn.14002c244
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.140048750
nop
lea rcx, [rsp + 0x40]
call fcn.14002c340
nop
lea rcx, [rbp + 0x50]
jmp 0x140050a71
xor bl, bl
xor dil, dil
mov qword [rsp + 0x30], rsi
add rsi, 8
lea rdx, str.win10rt.7z
mov rcx, rsi
call fcn.14002c808
test eax, eax
jne 0x140050535
lea r8, str.d66a72c3698f819ef306f08276aaeb7be0f9bcd3caa02040a2dc448f703368fa
lea rcx, [rsp + 0x30]
call fcn.14005108c
mov bl, al
mov dil, 1
lea rdx, str.zrc.7z
mov rcx, rsi
call fcn.14002c808
test eax, eax
jne 0x14005055e
lea r8, str.8aa36b2a5b7cbd52d11d1dc8b8b6e6e8
lea rcx, [rsp + 0x30]
call fcn.14005108c
mov bl, al
mov dil, 1
lea rdx, str.WebView2Loader.dll
mov rcx, rsi
call fcn.14002c808
test eax, eax
jne 0x140050587
lea r8, str.fb82ac089963e1dee932acce2f86ba34c128770cec4b60bcfd86f95d29e971ab
lea rcx, [rsp + 0x30]
call fcn.14005108c
mov bl, al
mov dil, 1
lea rdx, str.snsr.7z
mov rcx, rsi
call fcn.14002c808
lea r14, [0x14009b62c]
test eax, eax
jne 0x1400505b3
mov r8, r14
lea rcx, [rsp + 0x30]
call fcn.14005108c
mov bl, al
mov dil, 1
lea rdx, str.voice_commands_media.7z
mov rcx, rsi
call fcn.14002c808
test eax, eax
jne 0x1400505d8
mov r8, r14
lea rcx, [rsp + 0x30]
call fcn.14005108c
mov bl, al
mov dil, 1
lea rdx, str.vcomp140.dll
mov rcx, rsi
call fcn.14002c808
test eax, eax
jne 0x140050601
lea r8, str.84dc49d58f590743fcb9de49f79d874194f28c987d152cf87e324fbe3e2041f0
lea rcx, [rsp + 0x30]
call fcn.14005108c
mov bl, al
mov dil, 1
lea rdx, str.Processing.NDI.Lib.x86.dll
mov rcx, rsi
call fcn.14002c808
test eax, eax
jne 0x140050626
mov r8, r14
lea rcx, [rsp + 0x30]
call fcn.14005108c
mov bl, al
mov dil, 1
lea rdx, str.Processing.NDI.Lib.x64.dll
mov rcx, rsi
call fcn.14002c808
test eax, eax
jne 0x14005064b
mov r8, r14
lea rcx, [rsp + 0x30]
call fcn.14005108c
mov bl, al
mov dil, 1
lea rdx, str.d3dcompiler_47.dll
mov rcx, rsi
call fcn.14002c808
test eax, eax
jne 0x140050674
lea r8, str.d1b50f7075e2ee47c8d184e38862a83b880a90fd2ff00da7bb1eb61e24e00f5d
lea rcx, [rsp + 0x30]
call fcn.14005108c
mov bl, al
mov dil, 1
lea rdx, str.clDNNPlugin.dll
mov rcx, rsi
call fcn.14002c808
test eax, eax
jne 0x14005069d
lea r8, str.53998e66345a0357141bb02e037ca8bd50296a65c4b655db7904789f06d14efe
lea rcx, [rsp + 0x30]
call fcn.14005108c
mov bl, al
mov dil, 1
lea rdx, str.inference_engine.dll
mov rcx, rsi
call fcn.14002c808
test eax, eax
jne 0x1400506c6
lea r8, str.6b0e0d0cd8ee7877bc6272e38628075d5c2de0b9e153a6893314b036667ca318
lea rcx, [rsp + 0x30]
call fcn.14005108c
mov bl, al
mov dil, 1
lea rdx, str.inference_engine_c_api.dll
mov rcx, rsi
call fcn.14002c808
test eax, eax
jne 0x1400506ef
lea r8, str.70797d550e63610f512e0a98105ca8eefa362256e03df779a4b7d22a7087c875
lea rcx, [rsp + 0x30]
call fcn.14005108c
mov bl, al
mov dil, 1
lea rdx, str.inference_engine_ir_reader.dll
mov rcx, rsi
call fcn.14002c808
test eax, eax
jne 0x140050718
lea r8, str.07d6c33f7c67c581bab73817b0c13dd9c3938b65eef4db959b02db1fe08f939f
lea rcx, [rsp + 0x30]
call fcn.14005108c
mov bl, al
mov dil, 1
lea rdx, str.inference_engine_lp_transformations.dll
mov rcx, rsi
call fcn.14002c808
test eax, eax
jne 0x140050741
lea r8, str.ebed9baad3e6641782911695eccdc0b1f7e0068e1edbf24c53fe59edd7502024
lea rcx, [rsp + 0x30]
call fcn.14005108c
mov bl, al
mov dil, 1
lea rdx, str.inference_engine_transformations.dll
mov rcx, rsi
call fcn.14002c808
test eax, eax
jne 0x14005076a
lea r8, str.db3e852d5fcb30ff8d8b5cac139b007c8cbb1d01341ba84272bf9b7c9eb2c670
lea rcx, [rsp + 0x30]
call fcn.14005108c
mov bl, al
mov dil, 1
lea rdx, str.MKLDNNPlugin.dll
mov rcx, rsi
call fcn.14002c808
test eax, eax
jne 0x140050793
lea r8, str.d01dee4e9cea0d275c155b1e9bd1f6e30a58f9930a22c192d7c2cdc0fe16e9ec
lea rcx, [rsp + 0x30]
call fcn.14005108c
mov bl, al
mov dil, 1
lea rdx, str.ngraph.dll
mov rcx, rsi
call fcn.14002c808
test eax, eax
jne 0x1400507bc
lea r8, str.5682b7f98641fd62e3d7348b855a8aa50d1b03856164bc9183af6255427440af
lea rcx, [rsp + 0x30]
call fcn.14005108c
mov bl, al
mov dil, 1
lea rdx, str.tbb.dll
mov rcx, rsi
call fcn.14002c808
test eax, eax
jne 0x1400507e5
lea r8, str.943a1e1d1f32c5bf6369bb7d15cc6888547244f671c6e8b8133c9b7effab7680
lea rcx, [rsp + 0x30]
call fcn.14005108c
mov bl, al
mov dil, 1
lea rdx, str.win10rt_x64.7z
mov rcx, rsi
call fcn.14002c808
test eax, eax
jne 0x14005080e
lea r8, str.d66a72c3698f819ef306f08276aaeb7be0f9bcd3caa02040a2dc448f703368fa
lea rcx, [rsp + 0x30]
call fcn.14005108c
mov bl, al
mov dil, 1
lea rdx, str.mDNSResponder.exe
mov rcx, rsi
call fcn.14002c808
test eax, eax
jne 0x140050833
mov r8, r14
lea rcx, [rsp + 0x30]
call fcn.14005108c
mov bl, al
mov dil, 1
lea rdx, str.WebView2.7z
mov rcx, rsi
call fcn.14002c808
test eax, eax
jne 0x140050858
mov r8, r14
lea rcx, [rsp + 0x30]
call fcn.14005108c
mov bl, al
mov dil, 1
mov rdx, r14
mov rcx, rsi
call fcn.14002c808
test eax, eax
jne 0x140050879
mov r8, r14
lea rcx, [rsp + 0x30]
call fcn.14005108c
mov bl, al
mov dil, 1
mov esi, 0x2713
test bl, bl
jne 0x1400508e5
test dil, dil
jne 0x1400508e5
or edi, 0xffffffff
mov r8d, edi
mov rdx, r14
lea rcx, [rsp + 0x40]
call fcn.14002c244
nop
mov r8d, edi
lea rdx, str.Failed_to_pass_security_check__File_not_defined
lea rcx, [rbp + 0x50]
call fcn.14002c244
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.140048750
nop
lea rcx, [rbp + 0x50]
call fcn.14002c340
nop
lea rcx, [rsp + 0x40]
call fcn.14002c340
neg bl
sbb eax, eax
not eax
and eax, esi
mov dword [r15], eax
jmp 0x140050a76
and dword [r15], 0
jmp 0x140050a76
lea rdx, [rsi + 0x118]
lea rcx, [rsp + 0x40]
call fcn.14002c29c
nop
lea rdx, [rsi + 8]
lea rcx, [rsp + 0x40]
call fcn.14002c70c
lea rcx, [rsp + 0x40]
call fcn.14002c3d0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1400509ab
mov esi, 0x2713
mov dword [r15], esi
or edi, 0xffffffff
mov r8d, edi
lea rdx, [0x14009b62c]
lea rcx, [rbp + 0x160]
call fcn.14002c244
nop
mov r8d, edi
lea rdx, str.Failed_to_pass_security_check__file_not_exist
lea rcx, [rbp + 0x50]
call fcn.14002c244
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.140048750
nop
lea rcx, [rbp + 0x50]
call fcn.14002c340
nop
lea rcx, [rbp + 0x160]
call fcn.14002c340
jmp 0x140050a6c
lea rcx, [rsp + 0x40]
call fcn.14002c3d0
mov rcx, rax
call fcn.14004a330
test eax, eax
je 0x140050a68
mov qword [rsp + 0x30], rsi
lea rax, [rsp + 0x40]
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x40]
call fcn.14002c3d0
mov rcx, rax
call fcn.140002cd8
test eax, eax
jne 0x140050a68
lea rcx, [rsp + 0x30]
call fcn.140050aa4
test al, al
jne 0x140050a68
mov esi, 0x2713
mov dword [r15], esi
or edi, 0xffffffff
mov r8d, edi
lea rdx, [0x14009b62c]
lea rcx, [rbp + 0x50]
call fcn.14002c244
nop
mov r8d, edi
lea rdx, str.Failed_to_pass_security_check
lea rcx, [rbp + 0x160]
call fcn.14002c244
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.140048750
nop
lea rcx, [rbp + 0x160]
call fcn.14002c340
nop
lea rcx, [rbp + 0x50]
jmp 0x1400509a1
and dword [r15], 0
lea rcx, [rsp + 0x40]
call fcn.14002c340
cmp dword [r15], 0
sete al
mov rcx, qword [rbp + 0x270]
xor rcx, rsp
call fcn.140077b20
mov rbx, qword [rsp + 0x3c0]
add rsp, 0x380
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret