Function at 0x140008100
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 [0x140131028]
xor rax, rsp
mov qword [rsp + 0x178], rax
lea rcx, str.EnforceNoExecutableFileHandles
call fcn.140065310
mov dil, 1
test al, al
je 0x1400081dc
mov ecx, 4
call fcn.140094aec
mov rdi, rax
mov dword [rax], 6
movabs r13, 0xaaaaaaaaaaaaaaaa
lea rcx, [rsp + 0x70]
mov qword [rcx + 0x10], r13
movaps xmm6, xmmword [0x140115d80]
movaps xmmword [rcx], xmm6
mov rdx, rsi
call fcn.14001b210
xorps xmm7, xmm7
lea rbx, [rsp + 0x50]
movaps xmmword [rbx], xmm7
mov qword [rbx + 0x10], 0
xor r12d, r12d
lea r14, [rsp + 0x130]
jmp 0x140008275
mov rcx, qword [rsp + 0x50]
mov qword [rsp + 0x58], r14
call fcn.140094ae4
cmp byte [rsp + 0x87], 0
jns 0x1400081cd
mov rcx, qword [rsp + 0x70]
call fcn.140094ae4
test rdi, rdi
jne 0x140008212
test bl, bl
je 0x140008703
xor edi, edi
mov rcx, qword [rsp + 0x178]
xor rcx, rsp
call fcn.140096c60
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 0x14000822d
add rax, 0xfffffffffffffffc
mov rcx, rdi
add rcx, rax
jne 0x140008217
jmp 0x14000894c
mov rcx, rdi
call fcn.140094ae4
jmp 0x1400081d2
test r15, r15
je 0x1400086fa
mov rcx, r15
mov rdx, r14
call fcn.14006d450
add r15, 0x18
mov qword [rsp + 0x58], r15
cmp byte [rsp + 0x147], 0
jns 0x14000826b
mov rcx, qword [rsp + 0x130]
call fcn.140094ae4
add r12, 4
cmp r12, 4
je 0x1400082c4
mov ecx, dword [rdi + r12]
movaps xmmword [rsp + 0x130], xmm7
mov qword [rsp + 0x140], 0
mov rdx, r14
call fcn.14002bd10
test al, al
je 0x140008254
mov r15, qword [rsp + 0x58]
cmp r15, qword [rsp + 0x60]
jne 0x140008237
mov rcx, rbx
mov rdx, r14
call fcn.14002e300
jmp 0x140008254
mov rcx, qword [rsp + 0xa0]
call fcn.140094ae4
jmp 0x140008395
xorps xmm7, xmm7
movaps xmmword [rsp + 0x30], xmm7
mov qword [rsp + 0x40], 0
call qword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
je 0x1400084c5
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.140078ba0
mov rcx, rbx
mov rdx, r14
xor r8d, r8d
call fcn.14007abd0
lea rbx, [rsp + 0xa0]
movaps xmmword [rbx], xmm7
mov qword [rbx + 0x10], 0
mov ecx, 0x65
mov rdx, rbx
call fcn.14002bd10
test al, al
je 0x1400085ce
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.140035fd0
cmp byte [r14 + 0x17], 0
js 0x1400082b2
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.140078ba0
mov rcx, r15
mov rdx, r12
xor r8d, r8d
call fcn.14007abd0
cmp byte [rsp + 0xb7], 0
jns 0x140008410
mov r14, qword [rsp + 0xa0]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebp, eax
mov rcx, r15
call fcn.14005bd20
cmp ebp, 0xffffffff
je 0x1400085ce
lea rcx, [rsp + 0xa0]
call fcn.140035340
test al, al
je 0x1400085ce
cmp byte [rsp + 0x47], 0
movzx eax, byte [rsp + 0xb7]
js 0x1400086ca
test al, al
jns 0x1400084f4
mov rdx, qword [rsp + 0xa0]
mov r8, qword [rsp + 0xa8]
lea rcx, [rsp + 0x30]
call fcn.140009610
cmp byte [rsp + 0xb7], 0
jns 0x14000848d
mov rcx, qword [rsp + 0xa0]
call fcn.140094ae4
lea rcx, [rsp + 0xc0]
call fcn.14005bd20
mov rbx, qword [rsp + 0x58]
cmp rbx, qword [rsp + 0x60]
je 0x1400084e3
test rbx, rbx
je 0x1400086fd
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.14006d450
add rbx, 0x18
mov qword [rsp + 0x58], rbx
mov r14, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
cmp r14, rbp
je 0x140008513
lea r15, [rsp + 0x130]
lea r12, [rsp + 0x70]
jmp 0x140008534
lea rcx, [rsp + 0x50]
lea rdx, [rsp + 0x30]
call fcn.14002e300
jmp 0x1400084c5
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x40], rax
movaps xmm0, xmmword [rsp + 0xa0]
movaps xmmword [rsp + 0x30], xmm0
jmp 0x14000848d
mov bl, 1
jmp 0x14000856e
mov rcx, qword [rsp + 0x130]
call fcn.140094ae4
add r14, 0x18
cmp r14, rbp
sete al
or al, bl
cmp al, 1
je 0x14000856b
mov qword [rsp + 0x140], r13
movaps xmmword [rsp + 0x130], xmm6
mov rcx, r15
mov rdx, r14
call fcn.14001b210
mov rcx, r15
mov rdx, r12
xor r8d, r8d
call fcn.14000fd20
mov ebx, eax
cmp byte [rsp + 0x147], 0
js 0x140008517
jmp 0x140008524
xor bl, 1
cmp byte [rsp + 0x47], 0
jns 0x14000857f
mov rcx, qword [rsp + 0x30]
call fcn.140094ae4
mov r14, qword [rsp + 0x50]
test r14, r14
je 0x1400081b9
mov r15, qword [rsp + 0x58]
mov rcx, r14
cmp r15, r14
je 0x1400081af
add r15, 0xffffffffffffffe8
jmp 0x1400085bc
mov rcx, qword [r15]
call fcn.140094ae4
lea rax, [r15 - 0x18]
cmp r15, r14
mov r15, rax
je 0x1400081aa
test r15, r15
je 0x1400086f7
cmp byte [r15 + 0x17], 0
js 0x1400085a4
jmp 0x1400085ac
cmp byte [rsp + 0xb7], 0
jns 0x1400085e5
mov rcx, qword [rsp + 0xa0]
call fcn.140094ae4
xorps xmm0, xmm0
lea r14, [rsp + 0xa0]
movaps xmmword [r14], xmm0
mov qword [r14 + 0x10], 0
mov ecx, 0x67
mov rdx, r14
call fcn.14002bd10
test al, al
je 0x1400086a1
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.140078ba0
mov rcx, r15
mov rdx, r12
xor r8d, r8d
call fcn.14007abd0
cmp byte [rsp + 0xb7], 0
jns 0x140008674
mov r14, qword [rsp + 0xa0]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebp, eax
mov rcx, r15
call fcn.14005bd20
cmp ebp, 0xffffffff
je 0x1400086a1
lea rcx, [rsp + 0xa0]
call fcn.140035340
test al, al
jne 0x140008441
cmp byte [rsp + 0xb7], 0
jns 0x1400086b8
mov rcx, qword [rsp + 0xa0]
call fcn.140094ae4
lea rcx, [rsp + 0xc0]
call fcn.14005bd20
jmp 0x1400084c5
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.140009690
jmp 0x140008476
int3
int3
int3
int3
mov qword [rsp + 0x150], r13
movaps xmmword [rsp + 0x140], xmm6
movaps xmmword [rsp + 0x130], xmm6
lea rdx, [0x14011b7a4]
lea rcx, [rsp + 0x110]
call fcn.1400121c0
mov ecx, 0x18
call fcn.140094aec
mov qword [rsp + 0xc0], rax
lea r15, [rax + 0x18]
mov qword [rsp + 0xd0], r15
test rax, rax
je 0x140008955
mov rdi, rax
cmp byte [rsp + 0x127], 0
jns 0x1400087c0
mov r14, qword [rsp + 0x110]
mov rbx, qword [rsp + 0x118]
cmp rbx, 0xa
jbe 0x1400087d9
movabs r12, 0x7fffffffffffffef
cmp rbx, r12
ja 0x140008958
mov r13, rbx
or r13, 7
inc r13
js 0x14000895b
lea rcx, [r13*2]
call fcn.140094aec
mov qword [rdi], rax
add r12, 0x11
or r12, r13
mov qword [rdi + 0x10], r12
mov qword [rdi + 8], rbx
mov rdi, rax
jmp 0x1400087dc
mov rax, qword [rsp + 0x120]
mov qword [rdi + 0x10], rax
movups xmm0, xmmword [rsp + 0x110]
movups xmmword [rdi], xmm0
jmp 0x140008806
mov byte [rdi + 0x17], bl
cmp rdi, r14
ja 0x1400087f2
lea rax, [rdi + rbx*2]
add rax, 2
cmp rax, r14
ja 0x140008700
inc rbx
add rbx, rbx
mov rcx, rdi
mov rdx, r14
mov r8, rbx
call fcn.1400986f0
lea rdi, [rsp + 0xc0]
mov qword [rdi + 8], r15
lea rcx, [rsp + 0x130]
mov rdx, rdi
call fcn.14001de40
mov rdi, qword [rdi]
test rdi, rdi
je 0x14000887a
mov rbx, qword [rsp + 0xc8]
mov rcx, rdi
cmp rbx, rdi
je 0x14000886d
add rbx, 0xffffffffffffffe8
jmp 0x140008854
mov rcx, qword [rbx]
call fcn.140094ae4
lea rax, [rbx - 0x18]
cmp rbx, rdi
mov rbx, rax
je 0x140008865
test rbx, rbx
je 0x14000894f
cmp byte [rbx + 0x17], 0
jns 0x140008848
jmp 0x140008840
mov rcx, qword [rsp + 0xc0]
mov qword [rsp + 0xc8], rdi
call fcn.140094ae4
cmp byte [rsp + 0x127], 0
jns 0x140008891
mov rcx, qword [rsp + 0x110]
call fcn.140094ae4
cmp byte [rsp + 0x130], 0
je 0x140008947
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.140015e20
mov edi, eax
cmp byte [rbx - 8], 0
je 0x1400081dc
mov rsi, qword [rsp + 0x138]
test rsi, rsi
je 0x1400081dc
mov rbx, qword [rsp + 0x140]
mov rcx, rsi
cmp rbx, rsi
je 0x140008935
add rbx, 0xffffffffffffffe8
test rbx, rbx
je 0x140008952
mov rcx, qword [rbx]
test rcx, rcx
je 0x140008921
mov rax, qword [rbx + 8]
mov rdx, rax
sub rdx, rcx
dec rax
cmp rdx, rax
ja 0x140008949
mov qword [rbx + 8], rcx
call fcn.140094ae4
lea rax, [rbx - 0x18]
cmp rbx, rsi
mov rbx, rax
jne 0x1400088f9
mov rcx, qword [rsp + 0x138]
mov qword [rsp + 0x140], rsi
call fcn.140094ae4
jmp 0x1400081dc
ud2
int3
int3
int3
int3
int3
int3
int3