Function at 0x1400085f0
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, 0x1b8
movaps xmmword [rsp + 0x1a0], xmm7
movaps xmmword [rsp + 0x190], xmm6
mov rbx, rcx
mov rax, qword [0x140139028]
xor rax, rsp
mov qword [rsp + 0x188], rax
lea rcx, str.EnforceNoExecutableFileHandles
call fcn.140077730
mov dil, 1
test al, al
je 0x1400086d7
mov ecx, 4
call fcn.14009f7f4
mov rdi, rax
mov dword [rax], 6
movabs rsi, 0xaaaaaaaaaaaaaaaa
lea rcx, [rsp + 0x80]
mov qword [rcx + 0x10], rsi
movaps xmm6, xmmword [0x140118af0]
movaps xmmword [rcx], xmm6
mov qword [rsp + 0x38], rbx
mov rdx, rbx
call fcn.1400264b0
xorps xmm7, xmm7
lea rbx, [rsp + 0x60]
movaps xmmword [rbx], xmm7
mov qword [rbx + 0x10], 0
xor r12d, r12d
lea r14, [rsp + 0x110]
jmp 0x14000876a
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x68], rsi
call fcn.14009f888
cmp byte [rsp + 0x97], 0
jns 0x1400086c8
mov rcx, qword [rsp + 0x80]
call fcn.14009f888
test rdi, rdi
jne 0x14000870d
test bl, bl
je 0x140008cf3
xor edi, edi
mov rcx, qword [rsp + 0x188]
xor rcx, rsp
call fcn.1400a19c0
mov eax, edi
movaps xmm6, xmmword [rsp + 0x190]
movaps xmm7, xmmword [rsp + 0x1a0]
add rsp, 0x1b8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov eax, 4
test rax, rax
je 0x140008728
add rax, 0xfffffffffffffffc
mov rcx, rdi
add rcx, rax
jne 0x140008712
jmp 0x140008f07
mov rcx, rdi
call fcn.14009f888
jmp 0x1400086cd
mov rcx, rbx
mov rdx, r14
call fcn.140030b80
mov r15, rax
mov qword [rsp + 0x68], r15
cmp byte [rsp + 0x127], 0
jns 0x14000875c
mov rcx, qword [rsp + 0x110]
call fcn.14009f888
add r12, 4
cmp r12, 4
je 0x14000881a
mov ecx, dword [rdi + r12]
movaps xmmword [rsp + 0x110], xmm7
mov qword [rsp + 0x120], 0
mov rdx, r14
call fcn.14002ce70
test al, al
je 0x140008745
mov r15, qword [rsp + 0x68]
cmp r15, qword [rsp + 0x70]
jae 0x140008732
test r15, r15
je 0x140008f04
cmp byte [rsp + 0x127], 0
jns 0x1400087ce
mov rdx, qword [rsp + 0x110]
mov r8, qword [rsp + 0x118]
mov rcx, r15
call fcn.1400617d0
add r15, 0x18
jmp 0x140008740
mov rax, qword [rsp + 0x120]
mov qword [r15 + 0x10], rax
movaps xmm0, xmmword [rsp + 0x110]
movups xmmword [r15], xmm0
jmp 0x1400087c5
movzx ecx, al
lea r9, [rsp + 0x168]
mov qword [r9], rbx
lea rax, str.ScopedBlockingCall
lea r8, [rsp + 0xb0]
mov qword [r8], rax
lea rdx, [rsp + 0x160]
call fcn.1400794f0
jmp 0x14000889f
xorps xmm0, xmm0
movaps xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], 0
call qword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
je 0x140008bfe
lea r14, [rsp + 0xd0]
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 + 0x110]
mov rcx, rbx
mov r9d, 0x2b9
call fcn.1400595f0
mov rcx, r14
xor edx, edx
xor r8d, r8d
call fcn.1400787e0
mov qword [rsp + 0x160], 0xa
mov al, byte [0x14014a82a]
test al, al
jne 0x1400087e8
xorps xmm0, xmm0
lea rbx, [rsp + 0xb0]
movaps xmmword [rbx], xmm0
mov qword [rbx + 0x10], 0
mov ecx, 0x65
mov rdx, rbx
call fcn.14002ce70
test al, al
je 0x140008ae9
lea rax, str.SystemTemp
lea r8, [rsp + 0xa0]
mov qword [r8], rax
mov qword [r8 + 8], 0xa
lea r14, [rsp + 0xb0]
lea rdx, [rsp + 0x110]
mov rcx, r14
call fcn.140036b50
cmp byte [r14 + 0x17], 0
jns 0x140008910
mov rcx, qword [rsp + 0xb0]
call fcn.14009f888
lea r12, [rsp + 0x110]
mov rax, qword [r12 + 0x10]
mov qword [rsp + 0xc0], rax
movups xmm0, xmmword [r12]
movaps xmmword [rsp + 0xb0], 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 + 0x168]
mov rcx, r15
mov r9d, 0x20b
call fcn.1400595f0
mov rcx, r12
xor edx, edx
xor r8d, r8d
call fcn.1400787e0
mov qword [rsp + 0x150], 0xa
mov al, byte [0x14014a82a]
test al, al
jne 0x140008a9b
cmp byte [rsp + 0xc7], 0
jns 0x1400089a6
mov r14, qword [rsp + 0xb0]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebp, eax
lea rcx, [rsp + 0x110]
call fcn.14007fc60
cmp ebp, 0xffffffff
je 0x140008ae9
lea rcx, [rsp + 0xb0]
call fcn.140035ae0
test al, al
je 0x140008ae9
cmp byte [rsp + 0x57], 0
movzx r8d, byte [rsp + 0xc7]
js 0x140008eda
test r8b, r8b
jns 0x140008a6b
mov rdx, qword [rsp + 0xb0]
mov r8, qword [rsp + 0xb8]
lea rcx, [rsp + 0x40]
call fcn.140007af0
cmp byte [rsp + 0xc7], 0
jns 0x140008a26
mov rcx, qword [rsp + 0xb0]
call fcn.14009f888
lea rcx, [rsp + 0xd0]
call fcn.14007fc60
mov r14, qword [rsp + 0x68]
cmp r14, qword [rsp + 0x70]
jae 0x140008acd
test r14, r14
je 0x140008f10
cmp byte [rsp + 0x57], 0
jns 0x140008a87
mov rdx, qword [rsp + 0x40]
mov r8, qword [rsp + 0x48]
mov rcx, r14
call fcn.1400617d0
add r14, 0x18
jmp 0x140008adf
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x50], rax
movaps xmm0, xmmword [rsp + 0xb0]
movaps xmmword [rsp + 0x40], xmm0
jmp 0x140008a26
mov rax, qword [rsp + 0x50]
mov qword [r14 + 0x10], rax
movaps xmm0, xmmword [rsp + 0x40]
movups xmmword [r14], xmm0
jmp 0x140008a65
movzx ecx, al
lea r9, [rsp + 0x160]
mov qword [r9], r15
lea rax, str.ScopedBlockingCall
lea r8, [rsp + 0x158]
mov qword [r8], rax
lea rdx, [rsp + 0x150]
call fcn.1400794f0
jmp 0x140008994
lea rcx, [rsp + 0x60]
lea rdx, [rsp + 0x40]
call fcn.140030b80
mov r14, rax
mov qword [rsp + 0x68], r14
jmp 0x140008c03
cmp byte [rsp + 0xc7], 0
jns 0x140008b00
mov rcx, qword [rsp + 0xb0]
call fcn.14009f888
xorps xmm0, xmm0
lea r14, [rsp + 0xb0]
movaps xmmword [r14], xmm0
mov qword [r14 + 0x10], 0
mov ecx, 0x67
mov rdx, r14
call fcn.14002ce70
test al, al
je 0x140008bda
lea r12, [rsp + 0x110]
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 + 0x168]
mov rcx, r15
mov r9d, 0x20b
call fcn.1400595f0
mov rcx, r12
xor edx, edx
xor r8d, r8d
call fcn.1400787e0
mov qword [rsp + 0x150], 0xa
mov al, byte [0x14014a82a]
test al, al
jne 0x140008ea8
cmp byte [rsp + 0xc7], 0
jns 0x140008ba8
mov r14, qword [rsp + 0xb0]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebp, eax
lea rcx, [rsp + 0x110]
call fcn.14007fc60
cmp ebp, 0xffffffff
je 0x140008bda
lea rcx, [rsp + 0xb0]
call fcn.140035ae0
test al, al
jne 0x1400089dc
cmp byte [rsp + 0xc7], 0
jns 0x140008bf1
mov rcx, qword [rsp + 0xb0]
call fcn.14009f888
lea rcx, [rsp + 0xd0]
call fcn.14007fc60
mov r14, qword [rsp + 0x68]
mov r15, qword [rsp + 0x60]
cmp r15, r14
je 0x140008c1f
lea r12, [rsp + 0x110]
lea r13, [rsp + 0x80]
jmp 0x140008c40
mov bl, 1
jmp 0x140008c7a
mov rcx, qword [rsp + 0x110]
call fcn.14009f888
add r15, 0x18
cmp r15, r14
sete al
or al, bl
cmp al, 1
je 0x140008c77
mov qword [rsp + 0x120], rsi
movaps xmmword [rsp + 0x110], xmm6
mov rcx, r12
mov rdx, r15
call fcn.1400264b0
mov rcx, r12
mov rdx, r13
xor r8d, r8d
call fcn.14000a370
mov ebx, eax
cmp byte [rsp + 0x127], 0
js 0x140008c23
jmp 0x140008c30
xor bl, 1
cmp byte [rsp + 0x57], 0
jns 0x140008c8b
mov rcx, qword [rsp + 0x40]
call fcn.14009f888
mov rsi, qword [rsp + 0x60]
test rsi, rsi
je 0x1400086b1
mov r14, qword [rsp + 0x68]
mov rcx, rsi
cmp r14, rsi
je 0x1400086a7
add r14, 0xffffffffffffffe8
jmp 0x140008cc8
mov rcx, qword [r14]
call fcn.14009f888
lea rax, [r14 - 0x18]
cmp r14, rsi
mov r14, rax
je 0x1400086a2
test r14, r14
je 0x140008f01
cmp byte [r14 + 0x17], 0
js 0x140008cb0
jmp 0x140008cb8
mov rcx, qword [rsp + 0x178]
mov qword [rax + 0x10], rcx
movups xmm0, xmmword [rsp + 0x168]
movups xmmword [rax], xmm0
jmp 0x140008d60
movaps xmmword [rsp + 0x120], xmm6
movaps xmmword [rsp + 0x110], xmm6
lea rdx, [0x140126b84]
lea rcx, [rsp + 0x168]
call fcn.1400d2d80
mov ecx, 0x18
call fcn.14009f7f4
mov qword [rsp + 0xd0], rax
lea rsi, [rax + 0x18]
mov qword [rsp + 0xe0], rsi
test rax, rax
je 0x140008f13
cmp byte [rsp + 0x17f], 0
jns 0x140008cda
mov rdx, qword [rsp + 0x168]
mov r8, qword [rsp + 0x170]
mov rcx, rax
call fcn.1400617d0
lea rdi, [rsp + 0xd0]
mov qword [rdi + 8], rsi
lea rcx, [rsp + 0x110]
mov rdx, rdi
call fcn.140027710
mov rsi, qword [rdi]
test rsi, rsi
je 0x140008dd4
mov rdi, qword [rsp + 0xd8]
mov rcx, rsi
cmp rdi, rsi
je 0x140008dc7
add rdi, 0xffffffffffffffe8
jmp 0x140008dae
mov rcx, qword [rdi]
call fcn.14009f888
lea rax, [rdi - 0x18]
cmp rdi, rsi
mov rdi, rax
je 0x140008dbf
test rdi, rdi
je 0x140008f0d
cmp byte [rdi + 0x17], 0
js 0x140008d9a
jmp 0x140008da2
mov rcx, qword [rsp + 0xd0]
mov qword [rsp + 0xd8], rsi
call fcn.14009f888
cmp byte [rsp + 0x17f], 0
jns 0x140008deb
mov rcx, qword [rsp + 0x168]
call fcn.14009f888
cmp byte [rsp + 0x128], 0
je 0x140008f16
mov dword [rsp + 0x28], 2
mov byte [rsp + 0x20], 0
lea rbx, [rsp + 0x110]
mov rcx, qword [rsp + 0x38]
mov rdx, rbx
mov r8d, 0x20
xor r9d, r9d
call fcn.14001a620
mov edi, eax
cmp byte [rbx + 0x18], 0
je 0x1400086d7
mov rsi, qword [rsp + 0x110]
test rsi, rsi
je 0x1400086d7
mov rbx, qword [rsp + 0x118]
mov rcx, rsi
cmp rbx, rsi
je 0x140008e5f
add rbx, 0xffffffffffffffe8
jmp 0x140008e86
mov rcx, qword [rsp + 0x110]
mov qword [rsp + 0x118], rsi
call fcn.14009f888
jmp 0x1400086d7
mov qword [rbx + 8], rcx
call fcn.14009f888
lea rax, [rbx - 0x18]
cmp rbx, rsi
mov rbx, rax
je 0x140008e57
test rbx, rbx
je 0x140008f0a
mov rcx, qword [rbx]
test rcx, rcx
je 0x140008e7a
mov rax, qword [rbx + 8]
mov rdx, rax
sub rdx, rcx
dec rax
cmp rdx, rax
jbe 0x140008e71
int3
movzx ecx, al
lea r9, [rsp + 0x160]
mov qword [r9], r15
lea rax, str.ScopedBlockingCall
lea r8, [rsp + 0x158]
mov qword [r8], rax
lea rdx, [rsp + 0x150]
call fcn.1400794f0
jmp 0x140008b96
test r8b, r8b
cmovs r8, qword [rsp + 0xb8]
cmovs rbx, qword [rsp + 0xb0]
lea rcx, [rsp + 0x40]
mov rdx, rbx
call fcn.140007be0
jmp 0x140008a0f
int3
int3
int3
int3
int3
int3
int3
int3