Function at 0x140005f80
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 [0x14012f028]
xor rax, rsp
mov qword [rsp + 0x178], rax
lea rcx, str.EnforceNoExecutableFileHandles
call fcn.140062700
mov dil, 1
test al, al
je 0x140006067
mov ecx, 4
call fcn.140093d8c
mov rdi, rax
mov dword [rax], 6
movabs rsi, 0xaaaaaaaaaaaaaaaa
lea rcx, [rsp + 0x80]
mov qword [rcx + 0x10], rsi
movaps xmm6, xmmword [0x140114ca0]
movaps xmmword [rcx], xmm6
mov qword [rsp + 0x38], rbx
mov rdx, rbx
call fcn.14001a600
xorps xmm7, xmm7
lea rbx, [rsp + 0x60]
movaps xmmword [rbx], xmm7
mov qword [rbx + 0x10], 0
xor r12d, r12d
lea r14, [rsp + 0x110]
jmp 0x1400060f6
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x68], rsi
call fcn.140093dd0
cmp byte [rsp + 0x97], 0
jns 0x140006058
mov rcx, qword [rsp + 0x80]
call fcn.140093dd0
test rdi, rdi
jne 0x14000609d
test bl, bl
je 0x140006596
xor edi, edi
mov rcx, qword [rsp + 0x178]
xor rcx, rsp
call fcn.140095f80
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 0x1400060b8
add rax, 0xfffffffffffffffc
mov rcx, rdi
add rcx, rax
jne 0x1400060a2
jmp 0x14000674c
mov rcx, rdi
call fcn.140093dd0
jmp 0x14000605d
mov rcx, rbx
mov rdx, r14
call fcn.14002cc70
mov r15, rax
mov qword [rsp + 0x68], r15
cmp byte [rsp + 0x127], 0
jns 0x1400060ec
mov rcx, qword [rsp + 0x110]
call fcn.140093dd0
add r12, 4
cmp r12, 4
je 0x140006152
mov ecx, dword [rdi + r12]
movaps xmmword [rsp + 0x110], xmm7
mov qword [rsp + 0x120], 0
mov rdx, r14
call fcn.14002b7a0
test al, al
je 0x1400060d5
mov r15, qword [rsp + 0x68]
cmp r15, qword [rsp + 0x70]
jae 0x1400060c2
test r15, r15
je 0x140006577
mov rcx, r15
mov rdx, r14
call fcn.1400679b0
add r15, 0x18
jmp 0x1400060d0
mov rcx, qword [rsp + 0xb0]
call fcn.140093dd0
jmp 0x14000621f
xorps xmm7, xmm7
movaps xmmword [rsp + 0x40], xmm7
mov qword [rsp + 0x50], 0
call qword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
je 0x14000646f
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.140072460
mov rcx, rbx
mov rdx, r14
xor r8d, r8d
call fcn.140076ee0
lea rbx, [rsp + 0xb0]
movaps xmmword [rbx], xmm7
mov qword [rbx + 0x10], 0
mov ecx, 0x65
mov rdx, rbx
call fcn.14002b7a0
test al, al
je 0x14000637c
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.140034a30
cmp byte [r14 + 0x17], 0
js 0x140006140
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.140072460
mov rcx, r15
mov rdx, r12
xor r8d, r8d
call fcn.140076ee0
cmp byte [rsp + 0xc7], 0
jns 0x140006296
mov r14, qword [rsp + 0xb0]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebp, eax
mov rcx, r15
call fcn.140058c10
cmp ebp, 0xffffffff
je 0x14000637c
lea rcx, [rsp + 0xb0]
call fcn.140033840
test al, al
je 0x14000637c
cmp byte [rsp + 0x57], 0
movzx eax, byte [rsp + 0xc7]
js 0x140006547
test al, al
jns 0x140006344
mov rdx, qword [rsp + 0xb0]
mov r8, qword [rsp + 0xb8]
lea rcx, [rsp + 0x40]
call fcn.140006b20
cmp byte [rsp + 0xc7], 0
jns 0x14000630f
mov rcx, qword [rsp + 0xb0]
call fcn.140093dd0
lea rcx, [rsp + 0xd0]
call fcn.140058c10
mov r14, qword [rsp + 0x68]
cmp r14, qword [rsp + 0x70]
jae 0x140006360
test r14, r14
je 0x14000657a
lea rdx, [rsp + 0x40]
mov rcx, r14
call fcn.1400679b0
add r14, 0x18
jmp 0x140006372
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x50], rax
movaps xmm0, xmmword [rsp + 0xb0]
movaps xmmword [rsp + 0x40], xmm0
jmp 0x14000630f
lea rcx, [rsp + 0x60]
lea rdx, [rsp + 0x40]
call fcn.14002cc70
mov r14, rax
mov qword [rsp + 0x68], r14
jmp 0x140006474
cmp byte [rsp + 0xc7], 0
jns 0x140006393
mov rcx, qword [rsp + 0xb0]
call fcn.140093dd0
xorps xmm0, xmm0
lea r14, [rsp + 0xb0]
movaps xmmword [r14], xmm0
mov qword [r14 + 0x10], 0
mov ecx, 0x67
mov rdx, r14
call fcn.14002b7a0
test al, al
je 0x14000644b
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.140072460
mov rcx, r15
mov rdx, r12
xor r8d, r8d
call fcn.140076ee0
cmp byte [rsp + 0xc7], 0
jns 0x14000641e
mov r14, qword [rsp + 0xb0]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebp, eax
mov rcx, r15
call fcn.140058c10
cmp ebp, 0xffffffff
je 0x14000644b
lea rcx, [rsp + 0xb0]
call fcn.140033840
test al, al
jne 0x1400062c7
cmp byte [rsp + 0xc7], 0
jns 0x140006462
mov rcx, qword [rsp + 0xb0]
call fcn.140093dd0
lea rcx, [rsp + 0xd0]
call fcn.140058c10
mov r14, qword [rsp + 0x68]
mov r15, qword [rsp + 0x60]
cmp r15, r14
je 0x140006490
lea r12, [rsp + 0x110]
lea r13, [rsp + 0x80]
jmp 0x1400064b1
mov bl, 1
jmp 0x1400064eb
mov rcx, qword [rsp + 0x110]
call fcn.140093dd0
add r15, 0x18
cmp r15, r14
sete al
or al, bl
cmp al, 1
je 0x1400064e8
mov qword [rsp + 0x120], rsi
movaps xmmword [rsp + 0x110], xmm6
mov rcx, r12
mov rdx, r15
call fcn.14001a600
mov rcx, r12
mov rdx, r13
xor r8d, r8d
call fcn.14000cd90
mov ebx, eax
cmp byte [rsp + 0x127], 0
js 0x140006494
jmp 0x1400064a1
xor bl, 1
cmp byte [rsp + 0x57], 0
jns 0x1400064fc
mov rcx, qword [rsp + 0x40]
call fcn.140093dd0
mov rsi, qword [rsp + 0x60]
test rsi, rsi
je 0x140006041
mov r14, qword [rsp + 0x68]
mov rcx, rsi
cmp r14, rsi
je 0x140006037
add r14, 0xffffffffffffffe8
jmp 0x140006539
mov rcx, qword [r14]
call fcn.140093dd0
lea rax, [r14 - 0x18]
cmp r14, rsi
mov r14, rax
je 0x140006032
test r14, r14
je 0x140006574
cmp byte [r14 + 0x17], 0
js 0x140006521
jmp 0x140006529
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.140006ba0
jmp 0x1400062f8
int3
int3
int3
mov rcx, qword [rsp + 0x168]
mov qword [rax + 0x10], rcx
movups xmm0, xmmword [rsp + 0x158]
movups xmmword [rax], xmm0
jmp 0x140006603
movaps xmmword [rsp + 0x120], xmm6
movaps xmmword [rsp + 0x110], xmm6
lea rdx, [0x14011a6ec]
lea rcx, [rsp + 0x158]
call fcn.1400c7b70
mov ecx, 0x18
call fcn.140093d8c
mov qword [rsp + 0xd0], rax
lea rsi, [rax + 0x18]
mov qword [rsp + 0xe0], rsi
test rax, rax
je 0x140006752
cmp byte [rsp + 0x16f], 0
jns 0x14000657d
mov rdx, qword [rsp + 0x158]
mov r8, qword [rsp + 0x160]
mov rcx, rax
call fcn.14000d470
lea rdi, [rsp + 0xd0]
mov qword [rdi + 8], rsi
lea rcx, [rsp + 0x110]
mov rdx, rdi
call fcn.14001b8d0
mov rsi, qword [rdi]
test rsi, rsi
je 0x140006677
mov rdi, qword [rsp + 0xd8]
mov rcx, rsi
cmp rdi, rsi
je 0x14000666a
add rdi, 0xffffffffffffffe8
jmp 0x140006651
mov rcx, qword [rdi]
call fcn.140093dd0
lea rax, [rdi - 0x18]
cmp rdi, rsi
mov rdi, rax
je 0x140006662
test rdi, rdi
je 0x14000674f
cmp byte [rdi + 0x17], 0
jns 0x140006645
jmp 0x14000663d
mov rcx, qword [rsp + 0xd0]
mov qword [rsp + 0xd8], rsi
call fcn.140093dd0
cmp byte [rsp + 0x16f], 0
jns 0x14000668e
mov rcx, qword [rsp + 0x158]
call fcn.140093dd0
cmp byte [rsp + 0x128], 0
je 0x140006746
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.140015e40
mov edi, eax
cmp byte [rbx + 0x18], 0
je 0x140006067
mov rsi, qword [rsp + 0x110]
test rsi, rsi
je 0x140006067
mov rbx, qword [rsp + 0x118]
mov rcx, rsi
cmp rbx, rsi
je 0x140006734
add rbx, 0xffffffffffffffe8
test rbx, rbx
je 0x140006755
mov rcx, qword [rbx]
test rcx, rcx
je 0x140006720
mov rax, qword [rbx + 8]
mov rdx, rax
sub rdx, rcx
dec rax
cmp rdx, rax
ja 0x140006749
mov qword [rbx + 8], rcx
call fcn.140093dd0
lea rax, [rbx - 0x18]
cmp rbx, rsi
mov rbx, rax
jne 0x1400066f8
mov rcx, qword [rsp + 0x110]
mov qword [rsp + 0x118], rsi
call fcn.140093dd0
jmp 0x140006067
int3
int3
int3
int3
int3
int3