Function at 0x140009ac0
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 rbx, rcx
mov rax, qword [0x140219028]
xor rax, rsp
mov qword [rsp + 0x178], rax
lea rcx, str.EnforceNoExecutableFileHandles
call fcn.140106420
mov dil, 1
test al, al
je 0x140009ba7
mov ecx, 4
call fcn.14012c264
mov rdi, rax
mov dword [rax], 6
movabs rsi, 0xaaaaaaaaaaaaaaaa
lea rcx, [rsp + 0x80]
mov qword [rcx + 0x10], rsi
movaps xmm6, xmmword [0x1401ee3a0]
movaps xmmword [rcx], xmm6
mov qword [rsp + 0x38], rbx
mov rdx, rbx
call fcn.14002ca60
xorps xmm7, xmm7
lea rbx, [rsp + 0x60]
movaps xmmword [rbx], xmm7
mov qword [rbx + 0x10], 0
xor r12d, r12d
lea r14, [rsp + 0x110]
jmp 0x140009c36
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x68], rsi
call fcn.14012c25c
cmp byte [rsp + 0x97], 0
jns 0x140009b98
mov rcx, qword [rsp + 0x80]
call fcn.14012c25c
test rdi, rdi
jne 0x140009bdd
test bl, bl
je 0x14000a0d6
xor edi, edi
mov rcx, qword [rsp + 0x178]
xor rcx, rsp
call fcn.14012ec00
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 eax, 4
test rax, rax
je 0x140009bf8
add rax, 0xfffffffffffffffc
mov rcx, rdi
add rcx, rax
jne 0x140009be2
jmp 0x14000a28c
mov rcx, rdi
call fcn.14012c25c
jmp 0x140009b9d
mov rcx, rbx
mov rdx, r14
call fcn.140042160
mov r15, rax
mov qword [rsp + 0x68], r15
cmp byte [rsp + 0x127], 0
jns 0x140009c2c
mov rcx, qword [rsp + 0x110]
call fcn.14012c25c
add r12, 4
cmp r12, 4
je 0x140009c92
mov ecx, dword [rdi + r12]
movaps xmmword [rsp + 0x110], xmm7
mov qword [rsp + 0x120], 0
mov rdx, r14
call fcn.14003f9b0
test al, al
je 0x140009c15
mov r15, qword [rsp + 0x68]
cmp r15, qword [rsp + 0x70]
jae 0x140009c02
test r15, r15
je 0x14000a0b7
mov rcx, r15
mov rdx, r14
call fcn.1400f4ad0
add r15, 0x18
jmp 0x140009c10
mov rcx, qword [rsp + 0xb0]
call fcn.14012c25c
jmp 0x140009d5f
xorps xmm7, xmm7
movaps xmmword [rsp + 0x40], xmm7
mov qword [rsp + 0x50], 0
call qword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
je 0x140009faf
lea rbx, [rsp + 0xd0]
movaps xmmword [rbx + 0x30], xmm6
movaps xmmword [rbx + 0x20], xmm6
movaps xmmword [rbx + 0x10], xmm6
movaps xmmword [rbx], xmm6
lea rdx, str.GetSecureSystemTemp
lea r8, str....._base_files_file_util_win.cc
lea r14, [rsp + 0x110]
mov rcx, r14
mov r9d, 0x2b9
call fcn.1400ba440
mov rcx, rbx
mov rdx, r14
xor r8d, r8d
call fcn.1400d84a0
lea rbx, [rsp + 0xb0]
movaps xmmword [rbx], xmm7
mov qword [rbx + 0x10], 0
mov ecx, 0x65
mov rdx, rbx
call fcn.14003f9b0
test al, al
je 0x140009ebc
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.14004aa50
cmp byte [r14 + 0x17], 0
js 0x140009c80
lea r15, [rsp + 0x110]
mov rax, qword [r15 + 0x10]
mov qword [rsp + 0xc0], rax
movups xmm0, xmmword [r15]
movaps xmmword [rsp + 0xb0], xmm0
movaps xmmword [r15 + 0x30], xmm6
movaps xmmword [r15 + 0x20], xmm6
movaps xmmword [r15 + 0x10], xmm6
movaps xmmword [r15], xmm6
lea rdx, str.PathExists
lea r8, str....._base_files_file_util_win.cc
lea r12, [rsp + 0x158]
mov rcx, r12
mov r9d, 0x20b
call fcn.1400ba440
mov rcx, r15
mov rdx, r12
xor r8d, r8d
call fcn.1400d84a0
cmp byte [rsp + 0xc7], 0
jns 0x140009dd6
mov r14, qword [rsp + 0xb0]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebp, eax
mov rcx, r15
call fcn.1400ae170
cmp ebp, 0xffffffff
je 0x140009ebc
lea rcx, [rsp + 0xb0]
call fcn.1400595c0
test al, al
je 0x140009ebc
cmp byte [rsp + 0x57], 0
movzx eax, byte [rsp + 0xc7]
js 0x14000a087
test al, al
jns 0x140009e84
mov rdx, qword [rsp + 0xb0]
mov r8, qword [rsp + 0xb8]
lea rcx, [rsp + 0x40]
call fcn.140016a30
cmp byte [rsp + 0xc7], 0
jns 0x140009e4f
mov rcx, qword [rsp + 0xb0]
call fcn.14012c25c
lea rcx, [rsp + 0xd0]
call fcn.1400ae170
mov r14, qword [rsp + 0x68]
cmp r14, qword [rsp + 0x70]
jae 0x140009ea0
test r14, r14
je 0x14000a0ba
lea rdx, [rsp + 0x40]
mov rcx, r14
call fcn.1400f4ad0
add r14, 0x18
jmp 0x140009eb2
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x50], rax
movaps xmm0, xmmword [rsp + 0xb0]
movaps xmmword [rsp + 0x40], xmm0
jmp 0x140009e4f
lea rcx, [rsp + 0x60]
lea rdx, [rsp + 0x40]
call fcn.140042160
mov r14, rax
mov qword [rsp + 0x68], r14
jmp 0x140009fb4
cmp byte [rsp + 0xc7], 0
jns 0x140009ed3
mov rcx, qword [rsp + 0xb0]
call fcn.14012c25c
xorps xmm0, xmm0
lea r14, [rsp + 0xb0]
movaps xmmword [r14], xmm0
mov qword [r14 + 0x10], 0
mov ecx, 0x67
mov rdx, r14
call fcn.14003f9b0
test al, al
je 0x140009f8b
lea r15, [rsp + 0x110]
movaps xmmword [r15 + 0x30], xmm6
movaps xmmword [r15 + 0x20], xmm6
movaps xmmword [r15 + 0x10], xmm6
movaps xmmword [r15], xmm6
lea rdx, str.PathExists
lea r8, str....._base_files_file_util_win.cc
lea r12, [rsp + 0x158]
mov rcx, r12
mov r9d, 0x20b
call fcn.1400ba440
mov rcx, r15
mov rdx, r12
xor r8d, r8d
call fcn.1400d84a0
cmp byte [rsp + 0xc7], 0
jns 0x140009f5e
mov r14, qword [rsp + 0xb0]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebp, eax
mov rcx, r15
call fcn.1400ae170
cmp ebp, 0xffffffff
je 0x140009f8b
lea rcx, [rsp + 0xb0]
call fcn.1400595c0
test al, al
jne 0x140009e07
cmp byte [rsp + 0xc7], 0
jns 0x140009fa2
mov rcx, qword [rsp + 0xb0]
call fcn.14012c25c
lea rcx, [rsp + 0xd0]
call fcn.1400ae170
mov r14, qword [rsp + 0x68]
mov r15, qword [rsp + 0x60]
cmp r15, r14
je 0x140009fd0
lea r12, [rsp + 0x110]
lea r13, [rsp + 0x80]
jmp 0x140009ff1
mov bl, 1
jmp 0x14000a02b
mov rcx, qword [rsp + 0x110]
call fcn.14012c25c
add r15, 0x18
cmp r15, r14
sete al
or al, bl
cmp al, 1
je 0x14000a028
mov qword [rsp + 0x120], rsi
movaps xmmword [rsp + 0x110], xmm6
mov rcx, r12
mov rdx, r15
call fcn.14002ca60
mov rcx, r12
mov rdx, r13
xor r8d, r8d
call fcn.140017130
mov ebx, eax
cmp byte [rsp + 0x127], 0
js 0x140009fd4
jmp 0x140009fe1
xor bl, 1
cmp byte [rsp + 0x57], 0
jns 0x14000a03c
mov rcx, qword [rsp + 0x40]
call fcn.14012c25c
mov rsi, qword [rsp + 0x60]
test rsi, rsi
je 0x140009b81
mov r14, qword [rsp + 0x68]
mov rcx, rsi
cmp r14, rsi
je 0x140009b77
add r14, 0xffffffffffffffe8
jmp 0x14000a079
mov rcx, qword [r14]
call fcn.14012c25c
lea rax, [r14 - 0x18]
cmp r14, rsi
mov r14, rax
je 0x140009b72
test r14, r14
je 0x14000a0b4
cmp byte [r14 + 0x17], 0
js 0x14000a061
jmp 0x14000a069
mov r8d, eax
and r8d, 0x7f
test al, al
cmovs r8, qword [rsp + 0xb8]
cmovs rbx, qword [rsp + 0xb0]
lea rcx, [rsp + 0x40]
mov rdx, rbx
call fcn.140017000
jmp 0x140009e38
int3
int3
int3
mov rcx, qword [rsp + 0x168]
mov qword [rax + 0x10], rcx
movups xmm0, xmmword [rsp + 0x158]
movups xmmword [rax], xmm0
jmp 0x14000a143
movaps xmmword [rsp + 0x120], xmm6
movaps xmmword [rsp + 0x110], xmm6
lea rdx, [0x1401f98b8]
lea rcx, [rsp + 0x158]
call fcn.140167e60
mov ecx, 0x18
call fcn.14012c264
mov qword [rsp + 0xd0], rax
lea rsi, [rax + 0x18]
mov qword [rsp + 0xe0], rsi
test rax, rax
je 0x14000a292
cmp byte [rsp + 0x16f], 0
jns 0x14000a0bd
mov rdx, qword [rsp + 0x158]
mov r8, qword [rsp + 0x160]
mov rcx, rax
call fcn.140014af0
lea rdi, [rsp + 0xd0]
mov qword [rdi + 8], rsi
lea rcx, [rsp + 0x110]
mov rdx, rdi
call fcn.14002e180
mov rsi, qword [rdi]
test rsi, rsi
je 0x14000a1b7
mov rdi, qword [rsp + 0xd8]
mov rcx, rsi
cmp rdi, rsi
je 0x14000a1aa
add rdi, 0xffffffffffffffe8
jmp 0x14000a191
mov rcx, qword [rdi]
call fcn.14012c25c
lea rax, [rdi - 0x18]
cmp rdi, rsi
mov rdi, rax
je 0x14000a1a2
test rdi, rdi
je 0x14000a28f
cmp byte [rdi + 0x17], 0
jns 0x14000a185
jmp 0x14000a17d
mov rcx, qword [rsp + 0xd0]
mov qword [rsp + 0xd8], rsi
call fcn.14012c25c
cmp byte [rsp + 0x16f], 0
jns 0x14000a1ce
mov rcx, qword [rsp + 0x158]
call fcn.14012c25c
cmp byte [rsp + 0x128], 0
je 0x14000a286
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.1400282b0
mov edi, eax
cmp byte [rbx + 0x18], 0
je 0x140009ba7
mov rsi, qword [rsp + 0x110]
test rsi, rsi
je 0x140009ba7
mov rbx, qword [rsp + 0x118]
mov rcx, rsi
cmp rbx, rsi
je 0x14000a274
add rbx, 0xffffffffffffffe8
test rbx, rbx
je 0x14000a295
mov rcx, qword [rbx]
test rcx, rcx
je 0x14000a260
mov rax, qword [rbx + 8]
mov rdx, rax
sub rdx, rcx
dec rax
cmp rdx, rax
ja 0x14000a289
mov qword [rbx + 8], rcx
call fcn.14012c25c
lea rax, [rbx - 0x18]
cmp rbx, rsi
mov rbx, rax
jne 0x14000a238
mov rcx, qword [rsp + 0x110]
mov qword [rsp + 0x118], rsi
call fcn.14012c25c
jmp 0x140009ba7
int3
int3
int3
int3
int3
int3