Function at 0x140009710
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 rsi, rcx
mov rax, qword [0x140135028]
xor rax, rsp
mov qword [rsp + 0x178], rax
lea rcx, str.EnforceNoExecutableFileHandles
call fcn.1400675d0
mov dil, 1
test al, al
je 0x1400097ec
mov ecx, 4
call fcn.14009b6c4
mov rdi, rax
mov dword [rax], 6
movabs r13, 0xaaaaaaaaaaaaaaaa
lea rcx, [rsp + 0x70]
mov qword [rcx + 0x10], r13
movaps xmm6, xmmword [0x14011bbd0]
movaps xmmword [rcx], xmm6
mov rdx, rsi
call fcn.140016ff0
xorps xmm7, xmm7
lea rbx, [rsp + 0x50]
movaps xmmword [rbx], xmm7
mov qword [rbx + 0x10], 0
xor r12d, r12d
lea r14, [rsp + 0x130]
jmp 0x140009885
mov rcx, qword [rsp + 0x50]
mov qword [rsp + 0x58], r14
call fcn.14009b57c
cmp byte [rsp + 0x87], 0
jns 0x1400097dd
mov rcx, qword [rsp + 0x70]
call fcn.14009b57c
test rdi, rdi
jne 0x140009822
test bl, bl
je 0x140009d13
xor edi, edi
mov rcx, qword [rsp + 0x178]
xor rcx, rsp
call fcn.14009d810
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 0x14000983d
add rax, 0xfffffffffffffffc
mov rcx, rdi
add rcx, rax
jne 0x140009827
jmp 0x140009f5c
mov rcx, rdi
call fcn.14009b57c
jmp 0x1400097e2
test r15, r15
je 0x140009d0a
mov rcx, r15
mov rdx, r14
call fcn.14006e420
add r15, 0x18
mov qword [rsp + 0x58], r15
cmp byte [rsp + 0x147], 0
jns 0x14000987b
mov rcx, qword [rsp + 0x130]
call fcn.14009b57c
add r12, 4
cmp r12, 4
je 0x1400098d4
mov ecx, dword [rdi + r12]
movaps xmmword [rsp + 0x130], xmm7
mov qword [rsp + 0x140], 0
mov rdx, r14
call fcn.14002d2f0
test al, al
je 0x140009864
mov r15, qword [rsp + 0x58]
cmp r15, qword [rsp + 0x60]
jne 0x140009847
mov rcx, rbx
mov rdx, r14
call fcn.14002e850
jmp 0x140009864
mov rcx, qword [rsp + 0xa0]
call fcn.14009b57c
jmp 0x1400099a5
xorps xmm7, xmm7
movaps xmmword [rsp + 0x30], xmm7
mov qword [rsp + 0x40], 0
call qword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
je 0x140009ad5
lea rbx, [rsp + 0xc0]
mov qword [rbx + 0x40], r13
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 + 0x130]
mov rcx, r14
mov r9d, 0x2b3
call fcn.140078ed0
mov rcx, rbx
mov rdx, r14
xor r8d, r8d
call fcn.140081720
lea rbx, [rsp + 0xa0]
movaps xmmword [rbx], xmm7
mov qword [rbx + 0x10], 0
mov ecx, 0x65
mov rdx, rbx
call fcn.14002d2f0
test al, al
je 0x140009bde
lea rax, str.SystemTemp
lea r8, [rsp + 0x90]
mov qword [r8], rax
mov qword [r8 + 8], 0xa
lea r14, [rsp + 0xa0]
lea rdx, [rsp + 0x130]
mov rcx, r14
call fcn.1400368e0
cmp byte [r14 + 0x17], 0
js 0x1400098c2
lea r15, [rsp + 0x130]
mov rax, qword [r15 + 0x10]
mov qword [rsp + 0xb0], rax
movups xmm0, xmmword [r15]
movaps xmmword [rsp + 0xa0], xmm0
mov qword [r15 + 0x40], r13
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 + 0x110]
mov rcx, r12
mov r9d, 0x209
call fcn.140078ed0
mov rcx, r15
mov rdx, r12
xor r8d, r8d
call fcn.140081720
cmp byte [rsp + 0xb7], 0
jns 0x140009a20
mov r14, qword [rsp + 0xa0]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebp, eax
mov rcx, r15
call fcn.14005f5c0
cmp ebp, 0xffffffff
je 0x140009bde
lea rcx, [rsp + 0xa0]
call fcn.140035b50
test al, al
je 0x140009bde
cmp byte [rsp + 0x47], 0
movzx eax, byte [rsp + 0xb7]
js 0x140009cda
test al, al
jns 0x140009b04
mov rdx, qword [rsp + 0xa0]
mov r8, qword [rsp + 0xa8]
lea rcx, [rsp + 0x30]
call fcn.1400089d0
cmp byte [rsp + 0xb7], 0
jns 0x140009a9d
mov rcx, qword [rsp + 0xa0]
call fcn.14009b57c
lea rcx, [rsp + 0xc0]
call fcn.14005f5c0
mov rbx, qword [rsp + 0x58]
cmp rbx, qword [rsp + 0x60]
je 0x140009af3
test rbx, rbx
je 0x140009d0d
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.14006e420
add rbx, 0x18
mov qword [rsp + 0x58], rbx
mov r14, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
cmp r14, rbp
je 0x140009b23
lea r15, [rsp + 0x130]
lea r12, [rsp + 0x70]
jmp 0x140009b44
lea rcx, [rsp + 0x50]
lea rdx, [rsp + 0x30]
call fcn.14002e850
jmp 0x140009ad5
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x40], rax
movaps xmm0, xmmword [rsp + 0xa0]
movaps xmmword [rsp + 0x30], xmm0
jmp 0x140009a9d
mov bl, 1
jmp 0x140009b7e
mov rcx, qword [rsp + 0x130]
call fcn.14009b57c
add r14, 0x18
cmp r14, rbp
sete al
or al, bl
cmp al, 1
je 0x140009b7b
mov qword [rsp + 0x140], r13
movaps xmmword [rsp + 0x130], xmm6
mov rcx, r15
mov rdx, r14
call fcn.140016ff0
mov rcx, r15
mov rdx, r12
xor r8d, r8d
call fcn.14000fd30
mov ebx, eax
cmp byte [rsp + 0x147], 0
js 0x140009b27
jmp 0x140009b34
xor bl, 1
cmp byte [rsp + 0x47], 0
jns 0x140009b8f
mov rcx, qword [rsp + 0x30]
call fcn.14009b57c
mov r14, qword [rsp + 0x50]
test r14, r14
je 0x1400097c9
mov r15, qword [rsp + 0x58]
mov rcx, r14
cmp r15, r14
je 0x1400097bf
add r15, 0xffffffffffffffe8
jmp 0x140009bcc
mov rcx, qword [r15]
call fcn.14009b57c
lea rax, [r15 - 0x18]
cmp r15, r14
mov r15, rax
je 0x1400097ba
test r15, r15
je 0x140009d07
cmp byte [r15 + 0x17], 0
js 0x140009bb4
jmp 0x140009bbc
cmp byte [rsp + 0xb7], 0
jns 0x140009bf5
mov rcx, qword [rsp + 0xa0]
call fcn.14009b57c
xorps xmm0, xmm0
lea r14, [rsp + 0xa0]
movaps xmmword [r14], xmm0
mov qword [r14 + 0x10], 0
mov ecx, 0x67
mov rdx, r14
call fcn.14002d2f0
test al, al
je 0x140009cb1
lea r15, [rsp + 0x130]
mov qword [r15 + 0x40], r13
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 + 0x110]
mov rcx, r12
mov r9d, 0x209
call fcn.140078ed0
mov rcx, r15
mov rdx, r12
xor r8d, r8d
call fcn.140081720
cmp byte [rsp + 0xb7], 0
jns 0x140009c84
mov r14, qword [rsp + 0xa0]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebp, eax
mov rcx, r15
call fcn.14005f5c0
cmp ebp, 0xffffffff
je 0x140009cb1
lea rcx, [rsp + 0xa0]
call fcn.140035b50
test al, al
jne 0x140009a51
cmp byte [rsp + 0xb7], 0
jns 0x140009cc8
mov rcx, qword [rsp + 0xa0]
call fcn.14009b57c
lea rcx, [rsp + 0xc0]
call fcn.14005f5c0
jmp 0x140009ad5
mov r8d, eax
and r8d, 0x7f
test al, al
cmovs r8, qword [rsp + 0xa8]
cmovs rbx, qword [rsp + 0xa0]
lea rcx, [rsp + 0x30]
mov rdx, rbx
call fcn.140008a50
jmp 0x140009a86
int3
int3
int3
int3
mov qword [rsp + 0x150], r13
movaps xmmword [rsp + 0x140], xmm6
movaps xmmword [rsp + 0x130], xmm6
lea rdx, [0x140122324]
lea rcx, [rsp + 0x110]
call fcn.140012930
mov ecx, 0x18
call fcn.14009b6c4
mov qword [rsp + 0xc0], rax
lea r15, [rax + 0x18]
mov qword [rsp + 0xd0], r15
test rax, rax
je 0x140009f65
mov rdi, rax
cmp byte [rsp + 0x127], 0
jns 0x140009dd0
mov r14, qword [rsp + 0x110]
mov rbx, qword [rsp + 0x118]
cmp rbx, 0xa
jbe 0x140009de9
movabs r12, 0x7fffffffffffffef
cmp rbx, r12
ja 0x140009f68
mov r13, rbx
or r13, 7
inc r13
js 0x140009f6b
lea rcx, [r13*2]
call fcn.14009b6c4
mov qword [rdi], rax
add r12, 0x11
or r12, r13
mov qword [rdi + 0x10], r12
mov qword [rdi + 8], rbx
mov rdi, rax
jmp 0x140009dec
mov rax, qword [rsp + 0x120]
mov qword [rdi + 0x10], rax
movups xmm0, xmmword [rsp + 0x110]
movups xmmword [rdi], xmm0
jmp 0x140009e16
mov byte [rdi + 0x17], bl
cmp rdi, r14
ja 0x140009e02
lea rax, [rdi + rbx*2]
add rax, 2
cmp rax, r14
ja 0x140009d10
inc rbx
add rbx, rbx
mov rcx, rdi
mov rdx, r14
mov r8, rbx
call fcn.14009f2a0
lea rdi, [rsp + 0xc0]
mov qword [rdi + 8], r15
lea rcx, [rsp + 0x130]
mov rdx, rdi
call fcn.140027390
mov rdi, qword [rdi]
test rdi, rdi
je 0x140009e8a
mov rbx, qword [rsp + 0xc8]
mov rcx, rdi
cmp rbx, rdi
je 0x140009e7d
add rbx, 0xffffffffffffffe8
jmp 0x140009e64
mov rcx, qword [rbx]
call fcn.14009b57c
lea rax, [rbx - 0x18]
cmp rbx, rdi
mov rbx, rax
je 0x140009e75
test rbx, rbx
je 0x140009f5f
cmp byte [rbx + 0x17], 0
jns 0x140009e58
jmp 0x140009e50
mov rcx, qword [rsp + 0xc0]
mov qword [rsp + 0xc8], rdi
call fcn.14009b57c
cmp byte [rsp + 0x127], 0
jns 0x140009ea1
mov rcx, qword [rsp + 0x110]
call fcn.14009b57c
cmp byte [rsp + 0x130], 0
je 0x140009f57
lea rbx, [rsp + 0x138]
mov dword [rsp + 0x28], 2
mov byte [rsp + 0x20], 0
mov rcx, rsi
mov rdx, rbx
mov r8d, 0x20
xor r9d, r9d
call fcn.140017210
mov edi, eax
cmp byte [rbx - 8], 0
je 0x1400097ec
mov rsi, qword [rsp + 0x138]
test rsi, rsi
je 0x1400097ec
mov rbx, qword [rsp + 0x140]
mov rcx, rsi
cmp rbx, rsi
je 0x140009f45
add rbx, 0xffffffffffffffe8
test rbx, rbx
je 0x140009f62
mov rcx, qword [rbx]
test rcx, rcx
je 0x140009f31
mov rax, qword [rbx + 8]
mov rdx, rax
sub rdx, rcx
dec rax
cmp rdx, rax
ja 0x140009f59
mov qword [rbx + 8], rcx
call fcn.14009b57c
lea rax, [rbx - 0x18]
cmp rbx, rsi
mov rbx, rax
jne 0x140009f09
mov rcx, qword [rsp + 0x138]
mov qword [rsp + 0x140], rsi
call fcn.14009b57c
jmp 0x1400097ec
ud2
int3
int3
int3
int3
int3
int3
int3