Function at 0x140013660
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 [0x14013b040]
xor rax, rsp
mov qword [rsp + 0x178], rax
lea rcx, str.EnforceNoExecutableFileHandles
call fcn.14007a510
mov dil, 1
test al, al
je 0x14001377e
test bl, bl
jne 0x1400137b4
mov ecx, 4
call fcn.14009d274
mov rdi, rax
mov dword [rax], 6
movabs rsi, 0xaaaaaaaaaaaaaaaa
lea rcx, [rsp + 0x70]
mov qword [rcx + 0x10], rsi
movaps xmm6, xmmword [0x14011c0c0]
movaps xmmword [rcx], xmm6
mov rdx, rbp
call fcn.14002a150
xorps xmm7, xmm7
lea rbx, [rsp + 0x50]
movaps xmmword [rbx], xmm7
mov qword [rbx + 0x10], 0
xor r12d, r12d
lea r14, [rsp + 0x100]
jmp 0x1400139bb
mov eax, 4
test rax, rax
je 0x14001372f
add rax, 0xfffffffffffffffc
mov rcx, rdi
add rcx, rax
jne 0x140013719
jmp 0x140013efb
mov rcx, rdi
call fcn.14009d26c
jmp 0x140013778
mov rcx, qword [rsp + 0x100]
mov qword [rsp + 0x108], rsi
call fcn.14009d26c
jmp 0x14001377e
mov rcx, qword [rsp + 0x50]
mov qword [rsp + 0x58], rsi
call fcn.14009d26c
cmp byte [rsp + 0x87], 0
jns 0x140013773
mov rcx, qword [rsp + 0x70]
call fcn.14009d26c
test rdi, rdi
jne 0x140013714
test bl, bl
je 0x1400137b4
xor edi, edi
mov rcx, qword [rsp + 0x178]
xor rcx, rsp
call fcn.14009f1f0
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 [0x14011c0c0]
movaps xmmword [rsp + 0x110], xmm0
movaps xmmword [rsp + 0x100], xmm0
lea rax, [rsp + 0x15c]
mov byte [rax + 0x13], 2
lea rcx, [0x140127718]
lea rdx, [rsp + 0x158]
cmp rdx, rcx
seta dl
cmp rax, rcx
setbe al
or al, dl
je 0x140013efe
mov dword [rsp + 0x158], 0x440057
mov word [rsp + 0x15c], 0
mov ecx, 0x18
call fcn.14009d274
mov qword [rsp + 0xc0], rax
lea rcx, [rax + 0x18]
mov qword [rsp + 0xd0], rcx
test rax, rax
je 0x140013f01
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.1400313b0
mov rsi, qword [rdi]
test rsi, rsi
je 0x1400138c1
mov rdi, qword [rsp + 0xc8]
mov rcx, rsi
cmp rdi, rsi
je 0x1400138b4
add rdi, 0xffffffffffffffe8
jmp 0x14001389b
mov rcx, qword [rdi]
call fcn.14009d26c
lea rax, [rdi - 0x18]
cmp rdi, rsi
mov rdi, rax
je 0x1400138ac
test rdi, rdi
je 0x140013ef2
cmp byte [rdi + 0x17], 0
js 0x140013887
jmp 0x14001388f
mov rcx, qword [rsp + 0xc0]
mov qword [rsp + 0xc8], rsi
call fcn.14009d26c
cmp byte [rsp + 0x16f], 0
jns 0x1400138d8
mov rcx, qword [rsp + 0x158]
call fcn.14009d26c
cmp byte [rsp + 0x118], 0
je 0x140013f04
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.1400284c0
mov edi, eax
cmp byte [rbx + 0x18], 1
jne 0x14001377e
mov rsi, qword [rsp + 0x100]
test rsi, rsi
je 0x14001377e
mov rbx, qword [rsp + 0x108]
mov rcx, rsi
cmp rbx, rsi
je 0x140013741
add rbx, 0xffffffffffffffe8
jmp 0x14001395f
mov qword [rbx + 8], rcx
call fcn.14009d26c
lea rax, [rbx - 0x18]
cmp rbx, rsi
mov rbx, rax
je 0x140013739
test rbx, rbx
je 0x140013eef
mov rcx, qword [rbx]
test rcx, rcx
je 0x14001394f
mov rax, qword [rbx + 8]
mov rdx, rax
sub rdx, rcx
dec rax
cmp rdx, rax
jbe 0x140013946
jmp 0x140013ef8
mov rcx, rbx
mov rdx, r14
call fcn.140039870
mov r15, rax
mov qword [rsp + 0x58], r15
cmp byte [rsp + 0x117], 0
jns 0x1400139b1
mov rcx, qword [rsp + 0x100]
call fcn.14009d26c
add r12, 4
cmp r12, 4
je 0x140013a39
mov ecx, dword [rdi + r12]
movaps xmmword [rsp + 0x100], xmm7
mov qword [rsp + 0x110], 0
mov rdx, r14
call fcn.140031990
test al, al
je 0x14001399a
mov r15, qword [rsp + 0x58]
cmp r15, qword [rsp + 0x60]
jae 0x140013987
test r15, r15
je 0x140013ef5
cmp byte [rsp + 0x117], 0
jns 0x140013a1f
mov rdx, qword [rsp + 0x100]
mov r8, qword [rsp + 0x108]
mov rcx, r15
call fcn.140069af0
add r15, 0x18
jmp 0x140013995
mov rax, qword [rsp + 0x110]
mov qword [r15 + 0x10], rax
movaps xmm0, xmmword [rsp + 0x100]
movups xmmword [r15], xmm0
jmp 0x140013a16
xorps xmm0, xmm0
movaps xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], 0
call qword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
je 0x140013df0
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.140058150
mov rcx, r14
xor edx, edx
xor r8d, r8d
call fcn.140058400
mov qword [rsp + 0x150], 0xa
mov al, byte [0x14014c88a]
test al, al
jne 0x140013f31
xorps xmm0, xmm0
lea rbx, [rsp + 0xa0]
movaps xmmword [rbx], xmm0
mov qword [rbx + 0x10], 0
mov ecx, 0x65
mov rdx, rbx
call fcn.140031990
test al, al
je 0x140013f07
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.140013160
cmp byte [r14 + 0x17], 0
jns 0x140013b2f
mov rcx, qword [rsp + 0xa0]
call fcn.14009d26c
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.140058150
mov rcx, r12
xor edx, edx
xor r8d, r8d
call fcn.140058400
mov qword [rsp + 0x140], 0xa
mov al, byte [0x14014c88a]
test al, al
jne 0x140013f63
mov r13, rbp
cmp byte [rsp + 0xb7], 0
jns 0x140013bc8
mov r14, qword [rsp + 0xa0]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebp, eax
lea rcx, [rsp + 0x100]
call fcn.14007f040
cmp ebp, 0xffffffff
je 0x140013cd8
lea rcx, [rsp + 0xa0]
call fcn.140039300
test al, al
je 0x140013cd8
cmp byte [rsp + 0x47], 0
movzx r8d, byte [rsp + 0xb7]
mov rbp, r13
js 0x140013ec5
test r8b, r8b
js 0x140013c75
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.14007f040
mov r14, qword [rsp + 0x58]
cmp r14, qword [rsp + 0x60]
jae 0x140013cbc
test r14, r14
je 0x140013f2e
cmp byte [rsp + 0x47], 0
jns 0x140013ca8
mov rdx, qword [rsp + 0x30]
mov r8, qword [rsp + 0x38]
mov rcx, r14
call fcn.140069af0
add r14, 0x18
jmp 0x140013cce
mov rdx, qword [rsp + 0xa0]
mov r8, qword [rsp + 0xa8]
lea rcx, [rsp + 0x30]
call fcn.140005270
cmp byte [rsp + 0xb7], 0
jns 0x140013c34
mov rcx, qword [rsp + 0xa0]
call fcn.14009d26c
jmp 0x140013c34
mov rax, qword [rsp + 0x40]
mov qword [r14 + 0x10], rax
movaps xmm0, xmmword [rsp + 0x30]
movups xmmword [r14], xmm0
jmp 0x140013c6f
lea rcx, [rsp + 0x50]
lea rdx, [rsp + 0x30]
call fcn.140039870
mov r14, rax
mov qword [rsp + 0x58], r14
jmp 0x140013df5
cmp byte [rsp + 0xb7], 0
jns 0x140013cef
mov rcx, qword [rsp + 0xa0]
call fcn.14009d26c
xorps xmm0, xmm0
lea r14, [rsp + 0xa0]
movaps xmmword [r14], xmm0
mov qword [r14 + 0x10], 0
mov ecx, 0x67
mov rdx, r14
call fcn.140031990
test al, al
je 0x140013f0f
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.140058150
mov rcx, r12
xor edx, edx
xor r8d, r8d
call fcn.140058400
mov qword [rsp + 0x140], 0xa
mov al, byte [0x14014c88a]
test al, al
jne 0x140013f95
cmp byte [rsp + 0xb7], 0
jns 0x140013d97
mov r14, qword [rsp + 0xa0]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebp, eax
lea rcx, [rsp + 0x100]
call fcn.14007f040
cmp ebp, 0xffffffff
je 0x140013dc9
lea rcx, [rsp + 0xa0]
call fcn.140039300
test al, al
jne 0x140013bfe
cmp byte [rsp + 0xb7], 0
mov rbp, r13
jns 0x140013de3
mov rcx, qword [rsp + 0xa0]
call fcn.14009d26c
lea rcx, [rsp + 0xc0]
call fcn.14007f040
mov r14, qword [rsp + 0x58]
mov r15, qword [rsp + 0x50]
cmp r15, r14
je 0x140013e0e
lea r12, [rsp + 0x100]
lea r13, [rsp + 0x70]
jmp 0x140013e2f
mov bl, 1
jmp 0x140013e69
mov rcx, qword [rsp + 0x100]
call fcn.14009d26c
add r15, 0x18
cmp r15, r14
sete al
or al, bl
cmp al, 1
je 0x140013e66
mov qword [rsp + 0x110], rsi
movaps xmmword [rsp + 0x100], xmm6
mov rcx, r12
mov rdx, r15
call fcn.14002a150
mov rcx, r12
mov rdx, r13
xor r8d, r8d
call fcn.14000aca0
mov ebx, eax
cmp byte [rsp + 0x117], 0
js 0x140013e12
jmp 0x140013e1f
xor bl, 1
cmp byte [rsp + 0x47], 0
jns 0x140013e7a
mov rcx, qword [rsp + 0x30]
call fcn.14009d26c
mov rsi, qword [rsp + 0x50]
test rsi, rsi
je 0x14001375f
mov r14, qword [rsp + 0x58]
mov rcx, rsi
cmp r14, rsi
je 0x140013755
add r14, 0xffffffffffffffe8
jmp 0x140013eb7
mov rcx, qword [r14]
call fcn.14009d26c
lea rax, [r14 - 0x18]
cmp r14, rsi
mov r14, rax
je 0x140013750
test r14, r14
je 0x140013eec
cmp byte [r14 + 0x17], 0
js 0x140013e9f
jmp 0x140013ea7
test r8b, r8b
cmovs r8, qword [rsp + 0xa8]
cmovs rbx, qword [rsp + 0xa0]
lea rcx, [rsp + 0x30]
mov rdx, rbx
call fcn.140005370
jmp 0x140013c8f
int3
int3
int3
int3
int3
int3
int3
int3
int3
mov r13, rbp
jmp 0x140013cd8
cmp byte [rsp + 0xb7], 0
jns 0x140013f26
mov rcx, qword [rsp + 0xa0]
call fcn.14009d26c
mov rbp, r13
jmp 0x140013de3
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.1400ed770
jmp 0x140013abe
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.1400ed770
jmp 0x140013bb3
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.1400ed770
jmp 0x140013d85