Function at 0x140009650
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.140108170
mov dil, 1
test al, al
je 0x140009737
mov ecx, 4
call fcn.14012cd5c
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.14002c2a0
xorps xmm7, xmm7
lea rbx, [rsp + 0x60]
movaps xmmword [rbx], xmm7
mov qword [rbx + 0x10], 0
xor r12d, r12d
lea r14, [rsp + 0x110]
jmp 0x1400097c6
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x68], rsi
call fcn.14012cd4c
cmp byte [rsp + 0x97], 0
jns 0x140009728
mov rcx, qword [rsp + 0x80]
call fcn.14012cd4c
test rdi, rdi
jne 0x14000976d
test bl, bl
je 0x140009c66
xor edi, edi
mov rcx, qword [rsp + 0x178]
xor rcx, rsp
call fcn.14012f6f0
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 0x140009788
add rax, 0xfffffffffffffffc
mov rcx, rdi
add rcx, rax
jne 0x140009772
jmp 0x140009e1c
mov rcx, rdi
call fcn.14012cd4c
jmp 0x14000972d
mov rcx, rbx
mov rdx, r14
call fcn.140041ce0
mov r15, rax
mov qword [rsp + 0x68], r15
cmp byte [rsp + 0x127], 0
jns 0x1400097bc
mov rcx, qword [rsp + 0x110]
call fcn.14012cd4c
add r12, 4
cmp r12, 4
je 0x140009822
mov ecx, dword [rdi + r12]
movaps xmmword [rsp + 0x110], xmm7
mov qword [rsp + 0x120], 0
mov rdx, r14
call fcn.14003f2d0
test al, al
je 0x1400097a5
mov r15, qword [rsp + 0x68]
cmp r15, qword [rsp + 0x70]
jae 0x140009792
test r15, r15
je 0x140009c47
mov rcx, r15
mov rdx, r14
call fcn.1400f4790
add r15, 0x18
jmp 0x1400097a0
mov rcx, qword [rsp + 0xb0]
call fcn.14012cd4c
jmp 0x1400098ef
xorps xmm7, xmm7
movaps xmmword [rsp + 0x40], xmm7
mov qword [rsp + 0x50], 0
call qword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
je 0x140009b3f
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.1400bab70
mov rcx, rbx
mov rdx, r14
xor r8d, r8d
call fcn.1400d8580
lea rbx, [rsp + 0xb0]
movaps xmmword [rbx], xmm7
mov qword [rbx + 0x10], 0
mov ecx, 0x65
mov rdx, rbx
call fcn.14003f2d0
test al, al
je 0x140009a4c
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.14004a2e0
cmp byte [r14 + 0x17], 0
js 0x140009810
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.1400bab70
mov rcx, r15
mov rdx, r12
xor r8d, r8d
call fcn.1400d8580
cmp byte [rsp + 0xc7], 0
jns 0x140009966
mov r14, qword [rsp + 0xb0]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebp, eax
mov rcx, r15
call fcn.1400ae4f0
cmp ebp, 0xffffffff
je 0x140009a4c
lea rcx, [rsp + 0xb0]
call fcn.1400597c0
test al, al
je 0x140009a4c
cmp byte [rsp + 0x57], 0
movzx eax, byte [rsp + 0xc7]
js 0x140009c17
test al, al
jns 0x140009a14
mov rdx, qword [rsp + 0xb0]
mov r8, qword [rsp + 0xb8]
lea rcx, [rsp + 0x40]
call fcn.140016af0
cmp byte [rsp + 0xc7], 0
jns 0x1400099df
mov rcx, qword [rsp + 0xb0]
call fcn.14012cd4c
lea rcx, [rsp + 0xd0]
call fcn.1400ae4f0
mov r14, qword [rsp + 0x68]
cmp r14, qword [rsp + 0x70]
jae 0x140009a30
test r14, r14
je 0x140009c4a
lea rdx, [rsp + 0x40]
mov rcx, r14
call fcn.1400f4790
add r14, 0x18
jmp 0x140009a42
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x50], rax
movaps xmm0, xmmword [rsp + 0xb0]
movaps xmmword [rsp + 0x40], xmm0
jmp 0x1400099df
lea rcx, [rsp + 0x60]
lea rdx, [rsp + 0x40]
call fcn.140041ce0
mov r14, rax
mov qword [rsp + 0x68], r14
jmp 0x140009b44
cmp byte [rsp + 0xc7], 0
jns 0x140009a63
mov rcx, qword [rsp + 0xb0]
call fcn.14012cd4c
xorps xmm0, xmm0
lea r14, [rsp + 0xb0]
movaps xmmword [r14], xmm0
mov qword [r14 + 0x10], 0
mov ecx, 0x67
mov rdx, r14
call fcn.14003f2d0
test al, al
je 0x140009b1b
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.1400bab70
mov rcx, r15
mov rdx, r12
xor r8d, r8d
call fcn.1400d8580
cmp byte [rsp + 0xc7], 0
jns 0x140009aee
mov r14, qword [rsp + 0xb0]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebp, eax
mov rcx, r15
call fcn.1400ae4f0
cmp ebp, 0xffffffff
je 0x140009b1b
lea rcx, [rsp + 0xb0]
call fcn.1400597c0
test al, al
jne 0x140009997
cmp byte [rsp + 0xc7], 0
jns 0x140009b32
mov rcx, qword [rsp + 0xb0]
call fcn.14012cd4c
lea rcx, [rsp + 0xd0]
call fcn.1400ae4f0
mov r14, qword [rsp + 0x68]
mov r15, qword [rsp + 0x60]
cmp r15, r14
je 0x140009b60
lea r12, [rsp + 0x110]
lea r13, [rsp + 0x80]
jmp 0x140009b81
mov bl, 1
jmp 0x140009bbb
mov rcx, qword [rsp + 0x110]
call fcn.14012cd4c
add r15, 0x18
cmp r15, r14
sete al
or al, bl
cmp al, 1
je 0x140009bb8
mov qword [rsp + 0x120], rsi
movaps xmmword [rsp + 0x110], xmm6
mov rcx, r12
mov rdx, r15
call fcn.14002c2a0
mov rcx, r12
mov rdx, r13
xor r8d, r8d
call fcn.140017410
mov ebx, eax
cmp byte [rsp + 0x127], 0
js 0x140009b64
jmp 0x140009b71
xor bl, 1
cmp byte [rsp + 0x57], 0
jns 0x140009bcc
mov rcx, qword [rsp + 0x40]
call fcn.14012cd4c
mov rsi, qword [rsp + 0x60]
test rsi, rsi
je 0x140009711
mov r14, qword [rsp + 0x68]
mov rcx, rsi
cmp r14, rsi
je 0x140009707
add r14, 0xffffffffffffffe8
jmp 0x140009c09
mov rcx, qword [r14]
call fcn.14012cd4c
lea rax, [r14 - 0x18]
cmp r14, rsi
mov r14, rax
je 0x140009702
test r14, r14
je 0x140009c44
cmp byte [r14 + 0x17], 0
js 0x140009bf1
jmp 0x140009bf9
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.1400170c0
jmp 0x1400099c8
int3
int3
int3
mov rcx, qword [rsp + 0x168]
mov qword [rax + 0x10], rcx
movups xmm0, xmmword [rsp + 0x158]
movups xmmword [rax], xmm0
jmp 0x140009cd3
movaps xmmword [rsp + 0x120], xmm6
movaps xmmword [rsp + 0x110], xmm6
lea rdx, [0x1401f98d8]
lea rcx, [rsp + 0x158]
call fcn.140168480
mov ecx, 0x18
call fcn.14012cd5c
mov qword [rsp + 0xd0], rax
lea rsi, [rax + 0x18]
mov qword [rsp + 0xe0], rsi
test rax, rax
je 0x140009e22
cmp byte [rsp + 0x16f], 0
jns 0x140009c4d
mov rdx, qword [rsp + 0x158]
mov r8, qword [rsp + 0x160]
mov rcx, rax
call fcn.1400144b0
lea rdi, [rsp + 0xd0]
mov qword [rdi + 8], rsi
lea rcx, [rsp + 0x110]
mov rdx, rdi
call fcn.14002ea90
mov rsi, qword [rdi]
test rsi, rsi
je 0x140009d47
mov rdi, qword [rsp + 0xd8]
mov rcx, rsi
cmp rdi, rsi
je 0x140009d3a
add rdi, 0xffffffffffffffe8
jmp 0x140009d21
mov rcx, qword [rdi]
call fcn.14012cd4c
lea rax, [rdi - 0x18]
cmp rdi, rsi
mov rdi, rax
je 0x140009d32
test rdi, rdi
je 0x140009e1f
cmp byte [rdi + 0x17], 0
jns 0x140009d15
jmp 0x140009d0d
mov rcx, qword [rsp + 0xd0]
mov qword [rsp + 0xd8], rsi
call fcn.14012cd4c
cmp byte [rsp + 0x16f], 0
jns 0x140009d5e
mov rcx, qword [rsp + 0x158]
call fcn.14012cd4c
cmp byte [rsp + 0x128], 0
je 0x140009e16
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.140027820
mov edi, eax
cmp byte [rbx + 0x18], 0
je 0x140009737
mov rsi, qword [rsp + 0x110]
test rsi, rsi
je 0x140009737
mov rbx, qword [rsp + 0x118]
mov rcx, rsi
cmp rbx, rsi
je 0x140009e04
add rbx, 0xffffffffffffffe8
test rbx, rbx
je 0x140009e25
mov rcx, qword [rbx]
test rcx, rcx
je 0x140009df0
mov rax, qword [rbx + 8]
mov rdx, rax
sub rdx, rcx
dec rax
cmp rdx, rax
ja 0x140009e19
mov qword [rbx + 8], rcx
call fcn.14012cd4c
lea rax, [rbx - 0x18]
cmp rbx, rsi
mov rbx, rax
jne 0x140009dc8
mov rcx, qword [rsp + 0x110]
mov qword [rsp + 0x118], rsi
call fcn.14012cd4c
jmp 0x140009737
int3
int3
int3
int3
int3
int3