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

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x1a8
movaps xmmword [rsp + 0x190], xmm7
movaps xmmword [rsp + 0x180], xmm6
mov ebx, edx
mov rbp, rcx
mov rax, qword [0x140231040]
xor rax, rsp
mov qword [rsp + 0x178], rax
lea rcx, str.EnforceNoExecutableFileHandles
call fcn.1400e1200
mov dil, 1
test al, al
je 0x140012571
test bl, bl
jne 0x1400123dc
mov ecx, 4
call fcn.14012aa30
mov rdi, rax
mov dword [rax], 6
movabs rsi, 0xaaaaaaaaaaaaaaaa
lea rcx, [rsp + 0x70]
mov qword [rcx + 0x10], rsi
movaps xmm6, xmmword [0x1401fd000]
movaps xmmword [rcx], xmm6
mov rdx, rbp
call fcn.14004c1b0
xorps xmm7, xmm7
lea rbx, [rsp + 0x50]
movaps xmmword [rbx], xmm7
mov qword [rbx + 0x10], 0
xor r12d, r12d
lea r14, [rsp + 0x100]
jmp 0x140012618
mov eax, 4
test rax, rax
je 0x14001239f
add rax, 0xfffffffffffffffc
mov rcx, rdi
add rcx, rax
jne 0x140012389
jmp 0x140012b58
mov rcx, rdi
call fcn.14012aa6c
jmp 0x1400123d1
mov rcx, qword [rsp + 0x50]
mov qword [rsp + 0x58], rsi
call fcn.14012aa6c
cmp byte [rsp + 0x87], 0
jns 0x1400123cc
mov rcx, qword [rsp + 0x70]
call fcn.14012aa6c
test rdi, rdi
jne 0x140012384
test bl, bl
je 0x1400123dc
xor edi, edi
jmp 0x140012571
movaps xmm0, xmmword [0x1401fd000]
movaps xmmword [rsp + 0x110], xmm0
movaps xmmword [rsp + 0x100], xmm0
lea rcx, [rsp + 0x158]
mov byte [rcx + 0x17], 2
lea rax, [0x14020f95c]
cmp rcx, rax
ja 0x14001241c
lea rcx, [rsp + 0x15c]
cmp rcx, rax
ja 0x140012b61
mov dword [rsp + 0x158], 0x440057
mov word [rsp + 0x15c], 0
mov ecx, 0x18
call fcn.14012aa30
mov qword [rsp + 0xc0], rax
lea rcx, [rax + 0x18]
mov qword [rsp + 0xd0], rcx
test rax, rax
je 0x140012b5b
mov rdx, qword [rsp + 0x168]
mov qword [rax + 0x10], rdx
movups xmm0, xmmword [rsp + 0x158]
movups xmmword [rax], xmm0
lea rdi, [rsp + 0xc0]
mov qword [rdi + 8], rcx
lea rcx, [rsp + 0x100]
mov rdx, rdi
call fcn.1400539a0
mov rsi, qword [rdi]
test rsi, rsi
je 0x1400124e3
mov rdi, qword [rsp + 0xc8]
mov rcx, rsi
cmp rdi, rsi
je 0x1400124d6
add rdi, 0xffffffffffffffe8
jmp 0x1400124bd
mov rcx, qword [rdi]
call fcn.14012aa6c
lea rax, [rdi - 0x18]
cmp rdi, rsi
mov rdi, rax
je 0x1400124ce
test rdi, rdi
je 0x140012b4f
cmp byte [rdi + 0x17], 0
js 0x1400124a9
jmp 0x1400124b1
mov rcx, qword [rsp + 0xc0]
mov qword [rsp + 0xc8], rsi
call fcn.14012aa6c
cmp byte [rsp + 0x16f], 0
jns 0x1400124fa
mov rcx, qword [rsp + 0x158]
call fcn.14012aa6c
cmp byte [rsp + 0x118], 0
je 0x140012b5e
mov dword [rsp + 0x28], 2
mov byte [rsp + 0x20], 0
lea rbx, [rsp + 0x100]
mov rcx, rbp
mov rdx, rbx
mov r8d, 0x20
xor r9d, r9d
call fcn.1400493c0
mov edi, eax
cmp byte [rbx + 0x18], 0
je 0x140012571
mov rsi, qword [rsp + 0x100]
test rsi, rsi
je 0x140012571
mov rbx, qword [rsp + 0x108]
mov rcx, rsi
cmp rbx, rsi
je 0x140012564
add rbx, 0xffffffffffffffe8
jmp 0x1400125bc
mov rcx, qword [rsp + 0x100]
mov qword [rsp + 0x108], rsi
call fcn.14012aa6c
mov rcx, qword [rsp + 0x178]
xor rcx, rsp
call fcn.14012d2c0
mov eax, edi
movaps xmm6, xmmword [rsp + 0x180]
movaps xmm7, xmmword [rsp + 0x190]
add rsp, 0x1a8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov qword [rbx + 8], rcx
call fcn.14012aa6c
lea rax, [rbx - 0x18]
cmp rbx, rsi
mov rbx, rax
je 0x14001255c
test rbx, rbx
je 0x140012b4c
mov rcx, qword [rbx]
test rcx, rcx
je 0x1400125b0
mov rax, qword [rbx + 8]
mov rdx, rax
sub rdx, rcx
dec rax
cmp rdx, rax
jbe 0x1400125a7
jmp 0x140012b55
mov rcx, rbx
mov rdx, r14
call fcn.14006c370
mov r15, rax
mov qword [rsp + 0x58], r15
cmp byte [rsp + 0x117], 0
jns 0x14001260e
mov rcx, qword [rsp + 0x100]
call fcn.14012aa6c
add r12, 4
cmp r12, 4
je 0x140012696
mov ecx, dword [rdi + r12]
movaps xmmword [rsp + 0x100], xmm7
mov qword [rsp + 0x110], 0
mov rdx, r14
call fcn.140050f30
test al, al
je 0x1400125f7
mov r15, qword [rsp + 0x58]
cmp r15, qword [rsp + 0x60]
jae 0x1400125e4
test r15, r15
je 0x140012b52
cmp byte [rsp + 0x117], 0
jns 0x14001267c
mov rdx, qword [rsp + 0x100]
mov r8, qword [rsp + 0x108]
mov rcx, r15
call fcn.140107a70
add r15, 0x18
jmp 0x1400125f2
mov rax, qword [rsp + 0x110]
mov qword [r15 + 0x10], rax
movaps xmm0, xmmword [rsp + 0x100]
movups xmmword [r15], xmm0
jmp 0x140012673
xorps xmm0, xmm0
movaps xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], 0
call qword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
je 0x140012a4d
lea r14, [rsp + 0xc0]
movaps xmmword [r14 + 0x30], xmm6
movaps xmmword [r14 + 0x20], xmm6
movaps xmmword [r14 + 0x10], xmm6
movaps xmmword [r14], xmm6
lea rdx, str.GetSecureSystemTemp
lea r8, str....._base_files_file_util_win.cc
lea rbx, [rsp + 0x100]
mov rcx, rbx
mov r9d, 0x2ba
call fcn.1400dc8d0
mov rcx, r14
xor edx, edx
xor r8d, r8d
call fcn.1400b0260
mov qword [rsp + 0x150], 0xa
mov al, byte [0x14024358a]
test al, al
jne 0x140012b8e
xorps xmm0, xmm0
lea rbx, [rsp + 0xa0]
movaps xmmword [rbx], xmm0
mov qword [rbx + 0x10], 0
mov ecx, 0x65
mov rdx, rbx
call fcn.140050f30
test al, al
je 0x140012b64
lea rax, str.SystemTemp
lea r8, [rsp + 0x90]
mov qword [r8], rax
mov qword [r8 + 8], 0xa
lea r14, [rsp + 0xa0]
lea rdx, [rsp + 0x100]
mov rcx, r14
call fcn.1400239f0
cmp byte [r14 + 0x17], 0
jns 0x14001278c
mov rcx, qword [rsp + 0xa0]
call fcn.14012aa6c
lea r12, [rsp + 0x100]
mov rax, qword [r12 + 0x10]
mov qword [rsp + 0xb0], rax
movups xmm0, xmmword [r12]
movaps xmmword [rsp + 0xa0], xmm0
movaps xmmword [r12 + 0x30], xmm6
movaps xmmword [r12 + 0x20], xmm6
movaps xmmword [r12 + 0x10], xmm6
movaps xmmword [r12], xmm6
lea rdx, str.PathExists
lea r8, str....._base_files_file_util_win.cc
lea r15, [rsp + 0x158]
mov rcx, r15
mov r9d, 0x20c
call fcn.1400dc8d0
mov rcx, r12
xor edx, edx
xor r8d, r8d
call fcn.1400b0260
mov qword [rsp + 0x140], 0xa
mov al, byte [0x14024358a]
test al, al
jne 0x140012bc0
mov r13, rbp
cmp byte [rsp + 0xb7], 0
jns 0x140012825
mov r14, qword [rsp + 0xa0]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebp, eax
lea rcx, [rsp + 0x100]
call fcn.1400d1270
cmp ebp, 0xffffffff
je 0x140012935
lea rcx, [rsp + 0xa0]
call fcn.14006bef0
test al, al
je 0x140012935
cmp byte [rsp + 0x47], 0
movzx r8d, byte [rsp + 0xb7]
mov rbp, r13
js 0x140012b22
test r8b, r8b
js 0x140012893
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x40], rax
movaps xmm0, xmmword [rsp + 0xa0]
movaps xmmword [rsp + 0x30], xmm0
jmp 0x1400128c4
mov rdx, qword [rsp + 0xa0]
mov r8, qword [rsp + 0xa8]
lea rcx, [rsp + 0x30]
call fcn.14000dcb0
cmp byte [rsp + 0xb7], 0
jns 0x1400128c4
mov rcx, qword [rsp + 0xa0]
call fcn.14012aa6c
lea rcx, [rsp + 0xc0]
call fcn.1400d1270
mov r14, qword [rsp + 0x58]
cmp r14, qword [rsp + 0x60]
jae 0x140012919
test r14, r14
je 0x140012b8b
cmp byte [rsp + 0x47], 0
jns 0x140012905
mov rdx, qword [rsp + 0x30]
mov r8, qword [rsp + 0x38]
mov rcx, r14
call fcn.140107a70
add r14, 0x18
jmp 0x14001292b
mov rax, qword [rsp + 0x40]
mov qword [r14 + 0x10], rax
movaps xmm0, xmmword [rsp + 0x30]
movups xmmword [r14], xmm0
jmp 0x1400128ff
lea rcx, [rsp + 0x50]
lea rdx, [rsp + 0x30]
call fcn.14006c370
mov r14, rax
mov qword [rsp + 0x58], r14
jmp 0x140012a52
cmp byte [rsp + 0xb7], 0
jns 0x14001294c
mov rcx, qword [rsp + 0xa0]
call fcn.14012aa6c
xorps xmm0, xmm0
lea r14, [rsp + 0xa0]
movaps xmmword [r14], xmm0
mov qword [r14 + 0x10], 0
mov ecx, 0x67
mov rdx, r14
call fcn.140050f30
test al, al
je 0x140012b6c
lea r12, [rsp + 0x100]
movaps xmmword [r12 + 0x30], xmm6
movaps xmmword [r12 + 0x20], xmm6
movaps xmmword [r12 + 0x10], xmm6
movaps xmmword [r12], xmm6
lea rdx, str.PathExists
lea r8, str....._base_files_file_util_win.cc
lea r15, [rsp + 0x158]
mov rcx, r15
mov r9d, 0x20c
call fcn.1400dc8d0
mov rcx, r12
xor edx, edx
xor r8d, r8d
call fcn.1400b0260
mov qword [rsp + 0x140], 0xa
mov al, byte [0x14024358a]
test al, al
jne 0x140012bf2
cmp byte [rsp + 0xb7], 0
jns 0x1400129f4
mov r14, qword [rsp + 0xa0]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebp, eax
lea rcx, [rsp + 0x100]
call fcn.1400d1270
cmp ebp, 0xffffffff
je 0x140012a26
lea rcx, [rsp + 0xa0]
call fcn.14006bef0
test al, al
jne 0x14001285b
cmp byte [rsp + 0xb7], 0
mov rbp, r13
jns 0x140012a40
mov rcx, qword [rsp + 0xa0]
call fcn.14012aa6c
lea rcx, [rsp + 0xc0]
call fcn.1400d1270
mov r14, qword [rsp + 0x58]
mov r15, qword [rsp + 0x50]
cmp r15, r14
je 0x140012a6b
lea r12, [rsp + 0x100]
lea r13, [rsp + 0x70]
jmp 0x140012a8c
mov bl, 1
jmp 0x140012ac6
mov rcx, qword [rsp + 0x100]
call fcn.14012aa6c
add r15, 0x18
cmp r15, r14
sete al
or al, bl
cmp al, 1
je 0x140012ac3
mov qword [rsp + 0x110], rsi
movaps xmmword [rsp + 0x100], xmm6
mov rcx, r12
mov rdx, r15
call fcn.14004c1b0
mov rcx, r12
mov rdx, r13
xor r8d, r8d
call fcn.140055cf0
mov ebx, eax
cmp byte [rsp + 0x117], 0
js 0x140012a6f
jmp 0x140012a7c
xor bl, 1
cmp byte [rsp + 0x47], 0
jns 0x140012ad7
mov rcx, qword [rsp + 0x30]
call fcn.14012aa6c
mov rsi, qword [rsp + 0x50]
test rsi, rsi
je 0x1400123b8
mov r14, qword [rsp + 0x58]
mov rcx, rsi
cmp r14, rsi
je 0x1400123ae
add r14, 0xffffffffffffffe8
jmp 0x140012b14
mov rcx, qword [r14]
call fcn.14012aa6c
lea rax, [r14 - 0x18]
cmp r14, rsi
mov r14, rax
je 0x1400123a9
test r14, r14
je 0x140012b49
cmp byte [r14 + 0x17], 0
js 0x140012afc
jmp 0x140012b04
test r8b, r8b
cmovs r8, qword [rsp + 0xa8]
cmovs rbx, qword [rsp + 0xa0]
lea rcx, [rsp + 0x30]
mov rdx, rbx
call fcn.14000dda0
jmp 0x1400128ad
int3
int3
int3
int3
int3
int3
int3
int3
int3
mov r13, rbp
jmp 0x140012935
cmp byte [rsp + 0xb7], 0
jns 0x140012b83
mov rcx, qword [rsp + 0xa0]
call fcn.14012aa6c
mov rbp, r13
jmp 0x140012a40
int3
movzx ecx, al
lea r9, [rsp + 0x158]
mov qword [r9], rbx
lea rax, str.ScopedBlockingCall
lea r8, [rsp + 0xa0]
mov qword [r8], rax
lea rdx, [rsp + 0x150]
call fcn.1401843b0
jmp 0x14001271b
movzx ecx, al
lea r9, [rsp + 0x150]
mov qword [r9], r15
lea rax, str.ScopedBlockingCall
lea r8, [rsp + 0x148]
mov qword [r8], rax
lea rdx, [rsp + 0x140]
call fcn.1401843b0
jmp 0x140012810
movzx ecx, al
lea r9, [rsp + 0x150]
mov qword [r9], r15
lea rax, str.ScopedBlockingCall
lea r8, [rsp + 0x148]
mov qword [r8], rax
lea rdx, [rsp + 0x140]
call fcn.1401843b0
jmp 0x1400129e2