Function at 0x1400128e0
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 [0x14012e028]
xor rax, rsp
mov qword [rsp + 0x178], rax
lea rcx, str.EnforceNoExecutableFileHandles
call fcn.140065110
mov dil, 1
test al, al
je 0x1400129ff
movabs r12, 0xaaaaaaaaaaaaaaa
mov ecx, 4
call fcn.1400961cc
mov rbx, rax
mov dword [rax], 6
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rcx, [rsp + 0x60]
mov qword [rcx + 0x10], rax
movaps xmm6, xmmword [0x1401148f0]
movaps xmmword [rcx], xmm6
mov qword [rsp + 0x38], rsi
mov rdx, rsi
call fcn.140018cd0
xor edi, edi
xorps xmm7, xmm7
lea r15, [rsp + 0x130]
xor r14d, r14d
xor esi, esi
mov rbp, rbx
mov qword [rsp + 0x30], rbx
jmp 0x140012a74
mov rcx, qword [r14 - 0x18]
call fcn.14009614c
add r14, 0xffffffffffffffe8
cmp r14, rdi
je 0x1400129ce
cmp byte [r14 - 1], 0
js 0x140012995
jmp 0x14001299e
mov bpl, 1
cmp byte [rsp + 0x57], 0
jns 0x1400129c4
mov rcx, qword [rsp + 0x40]
call fcn.14009614c
test rdi, rdi
je 0x1400129d6
cmp rdi, r14
jne 0x1400129a7
mov rcx, rdi
call fcn.14009614c
cmp byte [rsp + 0x77], 0
jns 0x1400129e7
mov rcx, qword [rsp + 0x60]
call fcn.14009614c
test rbx, rbx
je 0x1400129f4
mov rcx, rbx
call fcn.14009614c
test bpl, bpl
je 0x140013159
xor edi, edi
mov rcx, qword [rsp + 0x178]
xor rcx, rsp
call fcn.140098480
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
test r14, r14
je 0x140013374
mov rcx, r14
mov rdx, r15
call fcn.14006cd90
add r14, 0x18
cmp byte [rsp + 0x147], 0
jns 0x140012a64
mov rcx, qword [rsp + 0x130]
call fcn.14009614c
lea rax, [rbp + 4]
cmp rbp, rbx
mov rbp, rax
je 0x140012bbe
mov ecx, dword [rbp]
movaps xmmword [rsp + 0x130], xmm7
mov qword [rsp + 0x140], 0
mov rdx, r15
call fcn.14002e330
test al, al
je 0x140012a4d
cmp r14, rsi
jne 0x140012a35
mov rbx, r14
sub rbx, rdi
sar rbx, 3
movabs rax, 0xaaaaaaaaaaaaaaab
imul rbx, rax
lea rsi, [rbx + 1]
cmp rsi, r12
ja 0x14001337f
lea rax, [rbx + rbx]
cmp rax, rsi
cmova rsi, rax
movabs rax, 0x555555555555555
cmp rbx, rax
cmovae rsi, r12
test rsi, rsi
je 0x140013377
cmp rsi, r12
ja 0x140013382
lea rax, [rsi*8]
lea rcx, [rax + rax*2]
call fcn.1400961cc
mov r13, rax
lea r12, [rbx + rbx*2]
shl r12, 3
add r12, r13
je 0x140013385
mov rcx, r12
mov rdx, r15
call fcn.14006cd90
mov rbx, r12
cmp r14, rdi
je 0x140012b72
mov rax, r14
mov rbx, r12
mov rcx, qword [rax - 8]
mov qword [rbx - 8], rcx
movups xmm0, xmmword [rax - 0x18]
movups xmmword [rbx - 0x18], xmm0
add rbx, 0xffffffffffffffe8
movups xmmword [rax - 0x18], xmm7
mov qword [rax - 8], 0
lea rcx, [rax - 0x18]
mov rax, rcx
cmp rcx, rdi
jne 0x140012b2d
cmp byte [r14 - 1], 0
jns 0x140012b69
mov rcx, qword [r14 - 0x18]
call fcn.14009614c
add r14, 0xffffffffffffffe8
cmp r14, rdi
jne 0x140012b59
lea rax, [rsi + rsi*2]
lea rsi, [rax*8]
add rsi, r13
add r12, 0x18
test rdi, rdi
je 0x140012b92
mov rcx, rdi
call fcn.14009614c
mov rdi, rbx
mov r14, r12
mov rbx, qword [rsp + 0x30]
movabs r12, 0xaaaaaaaaaaaaaaa
jmp 0x140012a4d
mov rcx, qword [rsp + 0x80]
call fcn.14009614c
jmp 0x140012cf0
xorps xmm7, xmm7
movaps xmmword [rsp + 0x40], xmm7
mov qword [rsp + 0x50], 0
call qword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
je 0x140012e2d
lea r15, [rsp + 0xc0]
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [r15 + 0x40], rax
movaps xmmword [r15 + 0x30], xmm6
movaps xmmword [r15 + 0x20], xmm6
movaps xmmword [r15 + 0x10], xmm6
movaps xmmword [r15], xmm6
lea rdx, str.GetSecureSystemTemp
lea r8, str....._base_files_file_util_win.cc
lea r12, [rsp + 0x130]
mov rcx, r12
mov r9d, 0x2b3
call fcn.140072e20
mov rcx, r15
mov rdx, r12
xor r8d, r8d
call fcn.140079920
lea r15, [rsp + 0x80]
movaps xmmword [r15], xmm7
mov qword [r15 + 0x10], 0
mov ecx, 0x65
mov rdx, r15
call fcn.14002e330
test al, al
je 0x140013103
lea rax, str.SystemTemp
lea rdx, [rsp + 0xa0]
mov qword [rdx], rax
mov qword [rdx + 8], 0xa
mov rcx, r12
call fcn.140078a10
movzx eax, byte [rsp + 0x147]
mov ecx, eax
and ecx, 0x7f
test al, al
cmovs r12, qword [rsp + 0x130]
lea r8, [rsp + 0xb0]
mov qword [r8], r12
cmovs rcx, qword [rsp + 0x138]
mov qword [r8 + 8], rcx
lea r12, [rsp + 0x80]
lea rdx, [rsp + 0x110]
mov rcx, r12
call fcn.140078fe0
cmp byte [rsp + 0x147], 0
jns 0x140012ce2
mov rcx, qword [rsp + 0x130]
call fcn.14009614c
cmp byte [rsp + 0x97], 0
js 0x140012bac
lea rbp, [rsp + 0x110]
mov rax, qword [rbp + 0x10]
mov qword [rsp + 0x90], rax
movups xmm0, xmmword [rbp]
movaps xmmword [rsp + 0x80], xmm0
lea r13, [rsp + 0x130]
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [r13 + 0x40], rax
movaps xmmword [r13 + 0x30], xmm6
movaps xmmword [r13 + 0x20], xmm6
movaps xmmword [r13 + 0x10], xmm6
movaps xmmword [r13], xmm6
lea rdx, str.PathExists
lea r8, str....._base_files_file_util_win.cc
mov rcx, rbp
mov r9d, 0x209
call fcn.140072e20
mov rcx, r13
mov rdx, rbp
xor r8d, r8d
call fcn.140079920
cmp byte [rsp + 0x97], 0
jns 0x140012d76
mov r12, qword [rsp + 0x80]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebp, eax
mov rcx, r13
call fcn.14005e6c0
cmp ebp, 0xffffffff
je 0x140012ec9
lea rcx, [rsp + 0x80]
call fcn.1400350a0
test al, al
je 0x140012ec9
cmp byte [rsp + 0x57], 0
movzx eax, byte [rsp + 0x97]
js 0x1400130cc
test al, al
movabs r15, 0xaaaaaaaaaaaaaaa
jns 0x140012e52
mov rdx, qword [rsp + 0x80]
mov r8, qword [rsp + 0x88]
lea rcx, [rsp + 0x40]
call fcn.140007310
cmp byte [rsp + 0x97], 0
jns 0x140012dfd
mov rcx, qword [rsp + 0x80]
call fcn.14009614c
lea rcx, [rsp + 0xc0]
call fcn.14005e6c0
cmp r14, rsi
je 0x140012fdc
test r14, r14
je 0x140013124
lea rdx, [rsp + 0x40]
mov rcx, r14
call fcn.14006cd90
add r14, 0x18
movabs rsi, 0xaaaaaaaaaaaaaaaa
cmp rdi, r14
je 0x1400129b0
lea r15, [rsp + 0x130]
lea r12, [rsp + 0x60]
mov r13, rdi
jmp 0x140012e92
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x50], rax
movaps xmm0, xmmword [rsp + 0x80]
movaps xmmword [rsp + 0x40], xmm0
jmp 0x140012dfd
mov rcx, qword [rsp + 0x130]
call fcn.14009614c
add r13, 0x18
cmp r13, r14
setne al
xor bpl, 1
test al, bpl
je 0x1400129b3
mov qword [rsp + 0x140], rsi
movaps xmmword [rsp + 0x130], xmm6
mov rcx, r15
mov rdx, r13
call fcn.140018cd0
mov rcx, r15
mov rdx, r12
xor r8d, r8d
call fcn.14000ebb0
mov ebp, eax
cmp byte [rsp + 0x147], 0
js 0x140012e6e
jmp 0x140012e7b
cmp byte [rsp + 0x97], 0
jns 0x140012ee0
mov rcx, qword [rsp + 0x80]
call fcn.14009614c
xorps xmm0, xmm0
lea r12, [rsp + 0x80]
movaps xmmword [r12], xmm0
mov qword [r12 + 0x10], 0
mov ecx, 0x67
mov rdx, r12
call fcn.14002e330
test al, al
je 0x14001312e
lea r13, [rsp + 0x130]
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [r13 + 0x40], rax
movaps xmmword [r13 + 0x30], xmm6
movaps xmmword [r13 + 0x20], xmm6
movaps xmmword [r13 + 0x10], xmm6
movaps xmmword [r13], xmm6
lea rdx, str.PathExists
lea r8, str....._base_files_file_util_win.cc
lea rbp, [rsp + 0x110]
mov rcx, rbp
mov r9d, 0x209
call fcn.140072e20
mov rcx, r13
mov rdx, rbp
xor r8d, r8d
call fcn.140079920
cmp byte [rsp + 0x97], 0
jns 0x140012f7c
mov r12, qword [rsp + 0x80]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebp, eax
mov rcx, r13
call fcn.14005e6c0
cmp ebp, 0xffffffff
je 0x140012fa9
lea rcx, [rsp + 0x80]
call fcn.1400350a0
test al, al
jne 0x140012da7
cmp byte [rsp + 0x97], 0
jns 0x140012fc0
mov rcx, qword [rsp + 0x80]
call fcn.14009614c
movabs rsi, 0xaaaaaaaaaaaaaaaa
lea rcx, [rsp + 0xc0]
call fcn.14005e6c0
jmp 0x140012e37
mov rsi, r14
sub rsi, rdi
sar rsi, 3
movabs rax, 0xaaaaaaaaaaaaaaab
imul rsi, rax
lea rax, [rsi + 1]
cmp rax, r15
ja 0x140013388
lea rcx, [rsi + rsi]
cmp rcx, rax
cmova rax, rcx
movabs rcx, 0x555555555555555
cmp rsi, rcx
cmovae rax, r15
test rax, rax
je 0x140013127
cmp rax, r15
ja 0x14001338b
shl rax, 3
lea rcx, [rax + rax*2]
call fcn.1400961cc
lea r15, [rsi + rsi*2]
shl r15, 3
add r15, rax
je 0x14001338e
lea rdx, [rsp + 0x40]
mov rcx, r15
call fcn.14006cd90
mov rsi, r15
cmp r14, rdi
je 0x1400130b0
xorps xmm0, xmm0
mov rax, r14
mov rsi, r15
mov rcx, qword [rax - 8]
mov qword [rsi - 8], rcx
movups xmm1, xmmword [rax - 0x18]
movups xmmword [rsi - 0x18], xmm1
add rsi, 0xffffffffffffffe8
movups xmmword [rax - 0x18], xmm0
mov qword [rax - 8], 0
lea rcx, [rax - 0x18]
mov rax, rcx
cmp rcx, rdi
jne 0x14001306b
cmp byte [r14 - 1], 0
jns 0x1400130a7
mov rcx, qword [r14 - 0x18]
call fcn.14009614c
add r14, 0xffffffffffffffe8
cmp r14, rdi
jne 0x140013097
add r15, 0x18
test rdi, rdi
je 0x1400130c1
mov rcx, rdi
call fcn.14009614c
mov rdi, rsi
mov r14, r15
jmp 0x140012e2d
mov r8d, eax
and r8d, 0x7f
test al, al
cmovs r8, qword [rsp + 0x88]
cmovs r15, qword [rsp + 0x80]
lea rcx, [rsp + 0x40]
mov rdx, r15
call fcn.140007390
movabs r15, 0xaaaaaaaaaaaaaaa
jmp 0x140012de6
cmp byte [rsp + 0x97], 0
jns 0x14001311a
mov rcx, qword [rsp + 0x80]
call fcn.14009614c
mov rbx, qword [rsp + 0x30]
jmp 0x140012ee0
int3
xor eax, eax
jmp 0x14001303c
cmp byte [rsp + 0x97], 0
jns 0x140013145
mov rcx, qword [rsp + 0x80]
call fcn.14009614c
movabs rsi, 0xaaaaaaaaaaaaaaaa
mov rbx, qword [rsp + 0x30]
jmp 0x140012fca
mov qword [rsp + 0x150], rsi
movaps xmmword [rsp + 0x140], xmm6
movaps xmmword [rsp + 0x130], xmm6
lea rdx, [0x140119f9c]
lea rcx, [rsp + 0x110]
call fcn.140013ae0
mov ecx, 0x18
call fcn.1400961cc
mov qword [rsp + 0xc0], rax
lea rsi, [rax + 0x18]
mov qword [rsp + 0xd0], rsi
test rax, rax
je 0x140013391
mov rdi, rax
cmp byte [rsp + 0x127], 0
jns 0x140013212
mov r14, qword [rsp + 0x110]
mov rbx, qword [rsp + 0x118]
cmp rbx, 0xa
jbe 0x14001322b
movabs r15, 0x7fffffffffffffef
cmp rbx, r15
ja 0x140013394
mov r12, rbx
or r12, 7
inc r12
js 0x140013397
lea rcx, [r12 + r12]
call fcn.1400961cc
mov qword [rdi], rax
add r15, 0x11
or r15, r12
mov qword [rdi + 0x10], r15
mov qword [rdi + 8], rbx
mov rdi, rax
jmp 0x14001322e
mov rax, qword [rsp + 0x120]
mov qword [rdi + 0x10], rax
movups xmm0, xmmword [rsp + 0x110]
movups xmmword [rdi], xmm0
jmp 0x140013258
mov byte [rdi + 0x17], bl
cmp rdi, r14
ja 0x140013244
lea rax, [rdi + rbx*2]
add rax, 2
cmp rax, r14
ja 0x140013371
inc rbx
add rbx, rbx
mov rcx, rdi
mov rdx, r14
mov r8, rbx
call fcn.140099f10
lea rdi, [rsp + 0xc0]
mov qword [rdi + 8], rsi
lea rcx, [rsp + 0x130]
mov rdx, rdi
call fcn.140029590
mov rsi, qword [rdi]
test rsi, rsi
je 0x1400132bd
mov rdi, qword [rsp + 0xc8]
mov rcx, rsi
cmp rdi, rsi
jne 0x1400132a0
jmp 0x1400132b0
mov rcx, qword [rdi - 0x18]
call fcn.14009614c
add rdi, 0xffffffffffffffe8
cmp rdi, rsi
je 0x1400132a8
cmp byte [rdi - 1], 0
jns 0x140013297
jmp 0x14001328e
mov rcx, qword [rsp + 0xc0]
mov qword [rsp + 0xc8], rsi
call fcn.14009614c
cmp byte [rsp + 0x127], 0
jns 0x1400132d4
mov rcx, qword [rsp + 0x110]
call fcn.14009614c
cmp byte [rsp + 0x130], 0
mov rcx, qword [rsp + 0x38]
je 0x14001336f
lea rbx, [rsp + 0x138]
mov dword [rsp + 0x28], 2
mov byte [rsp + 0x20], 0
mov rdx, rbx
mov r8d, 0x20
xor r9d, r9d
call fcn.140019260
mov edi, eax
cmp byte [rbx - 8], 0
je 0x1400129ff
mov rsi, qword [rsp + 0x138]
test rsi, rsi
je 0x1400129ff
mov rbx, qword [rsp + 0x140]
mov rcx, rsi
cmp rbx, rsi
je 0x14001335d
mov rcx, qword [rbx - 0x18]
test rcx, rcx
je 0x14001334c
mov qword [rbx - 0x10], rcx
call fcn.14009614c
add rbx, 0xffffffffffffffe8
cmp rbx, rsi
jne 0x14001333a
mov rcx, qword [rsp + 0x138]
mov qword [rsp + 0x140], rsi
call fcn.14009614c
jmp 0x1400129ff
ud2
int3
int3
xor r13d, r13d
jmp 0x140012b03
int3
int3
int3
int3
int3
int3
int3
int3
int3