Function at 0x140018b20
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 [0x140231028]
xor rax, rsp
mov qword [rsp + 0x178], rax
lea rcx, str.EnforceNoExecutableFileHandles
call fcn.1400cba30
mov dil, 1
test al, al
je 0x140018c3e
test bl, bl
jne 0x140018c74
mov ecx, 4
call fcn.1401298a8
mov rdi, rax
mov dword [rax], 6
movabs rsi, 0xaaaaaaaaaaaaaaaa
lea rcx, [rsp + 0x70]
mov qword [rcx + 0x10], rsi
movaps xmm6, xmmword [0x1401fd0c0]
movaps xmmword [rcx], xmm6
mov rdx, rbp
call fcn.140047ca0
xorps xmm7, xmm7
lea rbx, [rsp + 0x50]
movaps xmmword [rbx], xmm7
mov qword [rbx + 0x10], 0
xor r12d, r12d
lea r14, [rsp + 0x100]
jmp 0x140018e7b
mov eax, 4
test rax, rax
je 0x140018bef
add rax, 0xfffffffffffffffc
mov rcx, rdi
add rcx, rax
jne 0x140018bd9
jmp 0x1400193bb
mov rcx, rdi
call fcn.1401298a0
jmp 0x140018c38
mov rcx, qword [rsp + 0x100]
mov qword [rsp + 0x108], rsi
call fcn.1401298a0
jmp 0x140018c3e
mov rcx, qword [rsp + 0x50]
mov qword [rsp + 0x58], rsi
call fcn.1401298a0
cmp byte [rsp + 0x87], 0
jns 0x140018c33
mov rcx, qword [rsp + 0x70]
call fcn.1401298a0
test rdi, rdi
jne 0x140018bd4
test bl, bl
je 0x140018c74
xor edi, edi
mov rcx, qword [rsp + 0x178]
xor rcx, rsp
call fcn.14012c2d0
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
movaps xmm0, xmmword [0x1401fd0c0]
movaps xmmword [rsp + 0x110], xmm0
movaps xmmword [rsp + 0x100], xmm0
lea rax, [rsp + 0x15c]
mov byte [rax + 0x13], 2
lea rcx, [0x14020eedc]
lea rdx, [rsp + 0x158]
cmp rdx, rcx
seta dl
cmp rax, rcx
setbe al
or al, dl
je 0x1400193be
mov dword [rsp + 0x158], 0x440057
mov word [rsp + 0x15c], 0
mov ecx, 0x18
call fcn.1401298a8
mov qword [rsp + 0xc0], rax
lea rcx, [rax + 0x18]
mov qword [rsp + 0xd0], rcx
test rax, rax
je 0x1400193c1
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.1400511f0
mov rsi, qword [rdi]
test rsi, rsi
je 0x140018d81
mov rdi, qword [rsp + 0xc8]
mov rcx, rsi
cmp rdi, rsi
je 0x140018d74
add rdi, 0xffffffffffffffe8
jmp 0x140018d5b
mov rcx, qword [rdi]
call fcn.1401298a0
lea rax, [rdi - 0x18]
cmp rdi, rsi
mov rdi, rax
je 0x140018d6c
test rdi, rdi
je 0x1400193b2
cmp byte [rdi + 0x17], 0
js 0x140018d47
jmp 0x140018d4f
mov rcx, qword [rsp + 0xc0]
mov qword [rsp + 0xc8], rsi
call fcn.1401298a0
cmp byte [rsp + 0x16f], 0
jns 0x140018d98
mov rcx, qword [rsp + 0x158]
call fcn.1401298a0
cmp byte [rsp + 0x118], 0
je 0x1400193c4
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.140045860
mov edi, eax
cmp byte [rbx + 0x18], 1
jne 0x140018c3e
mov rsi, qword [rsp + 0x100]
test rsi, rsi
je 0x140018c3e
mov rbx, qword [rsp + 0x108]
mov rcx, rsi
cmp rbx, rsi
je 0x140018c01
add rbx, 0xffffffffffffffe8
jmp 0x140018e1f
mov qword [rbx + 8], rcx
call fcn.1401298a0
lea rax, [rbx - 0x18]
cmp rbx, rsi
mov rbx, rax
je 0x140018bf9
test rbx, rbx
je 0x1400193af
mov rcx, qword [rbx]
test rcx, rcx
je 0x140018e0f
mov rax, qword [rbx + 8]
mov rdx, rax
sub rdx, rcx
dec rax
cmp rdx, rax
jbe 0x140018e06
jmp 0x1400193b8
mov rcx, rbx
mov rdx, r14
call fcn.1400679f0
mov r15, rax
mov qword [rsp + 0x58], r15
cmp byte [rsp + 0x117], 0
jns 0x140018e71
mov rcx, qword [rsp + 0x100]
call fcn.1401298a0
add r12, 4
cmp r12, 4
je 0x140018ef9
mov ecx, dword [rdi + r12]
movaps xmmword [rsp + 0x100], xmm7
mov qword [rsp + 0x110], 0
mov rdx, r14
call fcn.14004f510
test al, al
je 0x140018e5a
mov r15, qword [rsp + 0x58]
cmp r15, qword [rsp + 0x60]
jae 0x140018e47
test r15, r15
je 0x1400193b5
cmp byte [rsp + 0x117], 0
jns 0x140018edf
mov rdx, qword [rsp + 0x100]
mov r8, qword [rsp + 0x108]
mov rcx, r15
call fcn.1400b8f80
add r15, 0x18
jmp 0x140018e55
mov rax, qword [rsp + 0x110]
mov qword [r15 + 0x10], rax
movaps xmm0, xmmword [rsp + 0x100]
movups xmmword [r15], xmm0
jmp 0x140018ed6
xorps xmm0, xmm0
movaps xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], 0
call qword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
je 0x1400192b0
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, 0x2bf
call fcn.1400c8fe0
mov rcx, r14
xor edx, edx
xor r8d, r8d
call fcn.1400b4360
mov qword [rsp + 0x150], 0xb
mov al, byte [0x14024358b]
test al, al
jne 0x1400193f1
xorps xmm0, xmm0
lea rbx, [rsp + 0xa0]
movaps xmmword [rbx], xmm0
mov qword [rbx + 0x10], 0
mov ecx, 0x65
mov rdx, rbx
call fcn.14004f510
test al, al
je 0x1400193c7
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.140055620
cmp byte [r14 + 0x17], 0
jns 0x140018fef
mov rcx, qword [rsp + 0xa0]
call fcn.1401298a0
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, 0x211
call fcn.1400c8fe0
mov rcx, r12
xor edx, edx
xor r8d, r8d
call fcn.1400b4360
mov qword [rsp + 0x140], 0xb
mov al, byte [0x14024358b]
test al, al
jne 0x140019423
mov r13, rbp
cmp byte [rsp + 0xb7], 0
jns 0x140019088
mov r14, qword [rsp + 0xa0]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebp, eax
lea rcx, [rsp + 0x100]
call fcn.1400f4cf0
cmp ebp, 0xffffffff
je 0x140019198
lea rcx, [rsp + 0xa0]
call fcn.140067570
test al, al
je 0x140019198
cmp byte [rsp + 0x47], 0
movzx r8d, byte [rsp + 0xb7]
mov rbp, r13
js 0x140019385
test r8b, r8b
js 0x140019135
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x40], rax
movaps xmm0, xmmword [rsp + 0xa0]
movaps xmmword [rsp + 0x30], xmm0
lea rcx, [rsp + 0xc0]
call fcn.1400f4cf0
mov r14, qword [rsp + 0x58]
cmp r14, qword [rsp + 0x60]
jae 0x14001917c
test r14, r14
je 0x1400193ee
cmp byte [rsp + 0x47], 0
jns 0x140019168
mov rdx, qword [rsp + 0x30]
mov r8, qword [rsp + 0x38]
mov rcx, r14
call fcn.1400b8f80
add r14, 0x18
jmp 0x14001918e
mov rdx, qword [rsp + 0xa0]
mov r8, qword [rsp + 0xa8]
lea rcx, [rsp + 0x30]
call fcn.140013420
cmp byte [rsp + 0xb7], 0
jns 0x1400190f4
mov rcx, qword [rsp + 0xa0]
call fcn.1401298a0
jmp 0x1400190f4
mov rax, qword [rsp + 0x40]
mov qword [r14 + 0x10], rax
movaps xmm0, xmmword [rsp + 0x30]
movups xmmword [r14], xmm0
jmp 0x14001912f
lea rcx, [rsp + 0x50]
lea rdx, [rsp + 0x30]
call fcn.1400679f0
mov r14, rax
mov qword [rsp + 0x58], r14
jmp 0x1400192b5
cmp byte [rsp + 0xb7], 0
jns 0x1400191af
mov rcx, qword [rsp + 0xa0]
call fcn.1401298a0
xorps xmm0, xmm0
lea r14, [rsp + 0xa0]
movaps xmmword [r14], xmm0
mov qword [r14 + 0x10], 0
mov ecx, 0x67
mov rdx, r14
call fcn.14004f510
test al, al
je 0x1400193cf
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, 0x211
call fcn.1400c8fe0
mov rcx, r12
xor edx, edx
xor r8d, r8d
call fcn.1400b4360
mov qword [rsp + 0x140], 0xb
mov al, byte [0x14024358b]
test al, al
jne 0x140019455
cmp byte [rsp + 0xb7], 0
jns 0x140019257
mov r14, qword [rsp + 0xa0]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebp, eax
lea rcx, [rsp + 0x100]
call fcn.1400f4cf0
cmp ebp, 0xffffffff
je 0x140019289
lea rcx, [rsp + 0xa0]
call fcn.140067570
test al, al
jne 0x1400190be
cmp byte [rsp + 0xb7], 0
mov rbp, r13
jns 0x1400192a3
mov rcx, qword [rsp + 0xa0]
call fcn.1401298a0
lea rcx, [rsp + 0xc0]
call fcn.1400f4cf0
mov r14, qword [rsp + 0x58]
mov r15, qword [rsp + 0x50]
cmp r15, r14
je 0x1400192ce
lea r12, [rsp + 0x100]
lea r13, [rsp + 0x70]
jmp 0x1400192ef
mov bl, 1
jmp 0x140019329
mov rcx, qword [rsp + 0x100]
call fcn.1401298a0
add r15, 0x18
cmp r15, r14
sete al
or al, bl
cmp al, 1
je 0x140019326
mov qword [rsp + 0x110], rsi
movaps xmmword [rsp + 0x100], xmm6
mov rcx, r12
mov rdx, r15
call fcn.140047ca0
mov rcx, r12
mov rdx, r13
xor r8d, r8d
call fcn.140017020
mov ebx, eax
cmp byte [rsp + 0x117], 0
js 0x1400192d2
jmp 0x1400192df
xor bl, 1
cmp byte [rsp + 0x47], 0
jns 0x14001933a
mov rcx, qword [rsp + 0x30]
call fcn.1401298a0
mov rsi, qword [rsp + 0x50]
test rsi, rsi
je 0x140018c1f
mov r14, qword [rsp + 0x58]
mov rcx, rsi
cmp r14, rsi
je 0x140018c15
add r14, 0xffffffffffffffe8
jmp 0x140019377
mov rcx, qword [r14]
call fcn.1401298a0
lea rax, [r14 - 0x18]
cmp r14, rsi
mov r14, rax
je 0x140018c10
test r14, r14
je 0x1400193ac
cmp byte [r14 + 0x17], 0
js 0x14001935f
jmp 0x140019367
test r8b, r8b
cmovs r8, qword [rsp + 0xa8]
cmovs rbx, qword [rsp + 0xa0]
lea rcx, [rsp + 0x30]
mov rdx, rbx
call fcn.140013520
jmp 0x14001914f
int3
int3
int3
int3
int3
int3
int3
int3
int3
mov r13, rbp
jmp 0x140019198
cmp byte [rsp + 0xb7], 0
jns 0x1400193e6
mov rcx, qword [rsp + 0xa0]
call fcn.1401298a0
mov rbp, r13
jmp 0x1400192a3
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.140183b80
jmp 0x140018f7e
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.140183b80
jmp 0x140019073
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.140183b80
jmp 0x140019245