Function at 0x1400123d0
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 [0x14029b028]
xor rax, rsp
mov qword [rsp + 0x178], rax
lea rcx, str.EnforceNoExecutableFileHandles
call fcn.140023e90
mov dil, 1
test al, al
je 0x140012b8f
movabs r15, 0xaaaaaaaaaaaaaaa
mov ecx, 4
call fcn.140184834
mov r14, rax
mov dword [rax], 6
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rcx, [rsp + 0x60]
mov qword [rcx + 0x10], rax
movaps xmm6, xmmword [0x1402724c0]
movaps xmmword [rcx], xmm6
mov qword [rsp + 0x38], rsi
mov rdx, rsi
call fcn.14003ac80
xor r13d, r13d
xorps xmm7, xmm7
lea rbx, [rsp + 0x130]
xor edi, edi
xor esi, esi
mov rbp, r14
mov qword [rsp + 0x30], r14
mov ecx, dword [rbp]
movaps xmmword [rsp + 0x130], xmm7
mov qword [rsp + 0x140], 0
mov rdx, rbx
call fcn.1400561e0
test al, al
je 0x1400125df
cmp rdi, rsi
je 0x1400124c9
test rdi, rdi
je 0x140012e10
mov rcx, rdi
mov rdx, rbx
call fcn.140109380
add rdi, 0x18
jmp 0x1400125df
mov rbx, rdi
sub rbx, r13
sar rbx, 3
movabs rax, 0xaaaaaaaaaaaaaaab
imul rbx, rax
lea rsi, [rbx + 1]
cmp rsi, r15
ja 0x140012e13
lea rax, [rbx + rbx]
cmp rax, rsi
cmova rsi, rax
movabs rax, 0x555555555555555
cmp rbx, rax
cmovae rsi, r15
test rsi, rsi
je 0x140012608
cmp rsi, r15
ja 0x140012e16
lea rax, [rsi*8]
lea rcx, [rax + rax*2]
call fcn.140184834
mov r15, rax
lea r12, [rbx + rbx*2]
shl r12, 3
add r12, r15
je 0x140012e19
mov rcx, r12
lea rdx, [rsp + 0x130]
call fcn.140109380
mov rbx, r12
cmp rdi, r13
je 0x1400125ae
mov rax, rdi
mov rbx, r12
mov rdx, r13
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, rdx
jne 0x140012562
lea r14, [rdi - 0x18]
cmp byte [rdi - 1], 0
jns 0x1400125a1
mov rcx, qword [rdi - 0x18]
call fcn.14018482c
mov rdi, r14
cmp r14, r13
jne 0x14001258e
mov r14, qword [rsp + 0x30]
lea rax, [rsi + rsi*2]
lea rsi, [r15 + rax*8]
add r12, 0x18
test r13, r13
je 0x1400125c7
mov rcx, r13
call fcn.14018482c
mov r13, rbx
mov rdi, r12
movabs r15, 0xaaaaaaaaaaaaaaa
lea rbx, [rsp + 0x130]
cmp byte [rsp + 0x147], 0
jns 0x1400125f6
mov rcx, qword [rsp + 0x130]
call fcn.14018482c
lea rax, [rbp + 4]
cmp rbp, r14
mov rbp, rax
jne 0x140012480
jmp 0x140012610
xor r15d, r15d
jmp 0x140012530
xorps xmm7, xmm7
movaps xmmword [rsp + 0x40], xmm7
mov qword [rsp + 0x50], 0
call qword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
je 0x140012aa4
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, 0x2b2
call fcn.1400ed710
mov rcx, r15
mov rdx, r12
xor r8d, r8d
call fcn.14011a620
lea r15, [rsp + 0x80]
movaps xmmword [r15], xmm7
mov qword [r15 + 0x10], 0
mov ecx, 0x65
mov rdx, r15
call fcn.1400561e0
test al, al
je 0x140012e1c
lea rax, str.SystemTemp
lea rdx, [rsp + 0xa0]
mov qword [rdx], rax
mov qword [rdx + 8], 0xa
mov rcx, r12
call fcn.1401253a0
movzx eax, byte [rsp + 0x147]
test al, al
cmovs r12, qword [rsp + 0x130]
lea r8, [rsp + 0xb0]
mov qword [r8], r12
cmovs rax, qword [rsp + 0x138]
mov qword [r8 + 8], rax
lea r12, [rsp + 0x80]
lea rdx, [rsp + 0x110]
mov rcx, r12
call fcn.140125960
cmp byte [rsp + 0x147], 0
jns 0x14001272f
mov rcx, qword [rsp + 0x130]
call fcn.14018482c
mov rbx, r13
cmp byte [rsp + 0x97], 0
jns 0x140012749
mov rcx, qword [rsp + 0x80]
call fcn.14018482c
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.1400ed710
mov rcx, r13
mov rdx, rbp
xor r8d, r8d
call fcn.14011a620
cmp byte [rsp + 0x97], 0
jns 0x1400127cf
mov r12, qword [rsp + 0x80]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebp, eax
mov rcx, r13
call fcn.14011a160
cmp ebp, 0xffffffff
jne 0x1400128ec
cmp byte [rsp + 0x97], 0
jns 0x140012802
mov rcx, qword [rsp + 0x80]
call fcn.14018482c
xorps xmm0, xmm0
lea r12, [rsp + 0x80]
movaps xmmword [r12], xmm0
mov qword [r12 + 0x10], 0
mov ecx, 0x67
mov rdx, r12
call fcn.1400561e0
test al, al
je 0x140012e40
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.1400ed710
mov rcx, r13
mov rdx, rbp
xor r8d, r8d
call fcn.14011a620
cmp byte [rsp + 0x97], 0
jns 0x14001289e
mov r12, qword [rsp + 0x80]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebp, eax
mov rcx, r13
call fcn.14011a160
cmp ebp, 0xffffffff
jne 0x140012902
cmp byte [rsp + 0x97], 0
mov r13, rbx
jns 0x1400128d0
mov rcx, qword [rsp + 0x80]
call fcn.14018482c
movabs rsi, 0xaaaaaaaaaaaaaaaa
lea rcx, [rsp + 0xc0]
call fcn.14011a160
jmp 0x140012aae
lea rcx, [rsp + 0x80]
call fcn.1400709f0
test al, al
jne 0x140012913
jmp 0x1400127eb
lea rcx, [rsp + 0x80]
call fcn.1400709f0
test al, al
je 0x1400128b6
cmp byte [rsp + 0x57], 0
movzx r8d, byte [rsp + 0x97]
mov r13, rbx
js 0x140012ddd
test r8b, r8b
movabs rbx, 0xaaaaaaaaaaaaaaa
jns 0x14001296c
mov rdx, qword [rsp + 0x80]
mov r8, qword [rsp + 0x88]
lea rcx, [rsp + 0x40]
call fcn.14000a0a0
cmp byte [rsp + 0x97], 0
jns 0x140012986
mov rcx, qword [rsp + 0x80]
call fcn.14018482c
jmp 0x140012986
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x50], rax
movaps xmm0, xmmword [rsp + 0x80]
movaps xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0xc0]
call fcn.14011a160
cmp rdi, rsi
je 0x1400129b7
test rdi, rdi
je 0x140012e6e
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.140109380
add rdi, 0x18
jmp 0x140012aa4
mov rsi, rdi
sub rsi, r13
sar rsi, 3
movabs rax, 0xaaaaaaaaaaaaaaab
imul rsi, rax
lea rax, [rsi + 1]
cmp rax, rbx
ja 0x140012e71
lea rcx, [rsi + rsi]
cmp rcx, rax
cmova rax, rcx
movabs rcx, 0x555555555555555
cmp rsi, rcx
cmovae rax, rbx
test rax, rax
je 0x140012e74
cmp rax, rbx
ja 0x140012e7b
shl rax, 3
lea rcx, [rax + rax*2]
call fcn.140184834
lea r15, [rsi + rsi*2]
shl r15, 3
add r15, rax
je 0x140012e7e
lea rdx, [rsp + 0x40]
mov rcx, r15
call fcn.140109380
mov rsi, r15
cmp rdi, r13
je 0x140012a8d
xorps xmm0, xmm0
mov rax, rdi
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, r13
jne 0x140012a46
lea rbx, [rdi - 0x18]
cmp byte [rdi - 1], 0
jns 0x140012a85
mov rcx, qword [rdi - 0x18]
call fcn.14018482c
mov rdi, rbx
cmp rbx, r13
jne 0x140012a72
add r15, 0x18
test r13, r13
je 0x140012a9e
mov rcx, r13
call fcn.14018482c
mov r13, rsi
mov rdi, r15
movabs rsi, 0xaaaaaaaaaaaaaaaa
cmp r13, rdi
je 0x140012b1f
lea r15, [rsp + 0x130]
lea r12, [rsp + 0x60]
mov rbx, r13
mov qword [rsp + 0x140], rsi
movaps xmmword [rsp + 0x130], xmm6
mov rcx, r15
mov rdx, r13
call fcn.14003ac80
mov rcx, r15
mov rdx, r12
xor r8d, r8d
call fcn.14001bc50
mov ebp, eax
cmp byte [rsp + 0x147], 0
jns 0x140012b05
mov rcx, qword [rsp + 0x130]
call fcn.14018482c
add r13, 0x18
cmp r13, rdi
sete al
or al, bpl
cmp al, 1
jne 0x140012ac3
xor bpl, 1
mov r13, rbx
jmp 0x140012b22
mov bpl, 1
cmp byte [rsp + 0x57], 0
jns 0x140012b33
mov rcx, qword [rsp + 0x40]
call fcn.14018482c
test r13, r13
je 0x140012b6a
cmp r13, rdi
je 0x140012b58
lea rsi, [rdi - 0x18]
cmp byte [rdi - 1], 0
jns 0x140012b50
mov rcx, qword [rdi - 0x18]
call fcn.14018482c
mov rdi, rsi
cmp rsi, r13
jne 0x140012b3d
mov rcx, r13
call fcn.14018482c
movabs rsi, 0xaaaaaaaaaaaaaaaa
cmp byte [rsp + 0x77], 0
jns 0x140012b7b
mov rcx, qword [rsp + 0x60]
call fcn.14018482c
test r14, r14
je 0x140012b88
mov rcx, r14
call fcn.14018482c
test bpl, bpl
je 0x140012bc5
xor edi, edi
mov rcx, qword [rsp + 0x178]
xor rcx, rsp
call fcn.1401874c0
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 qword [rsp + 0x150], rsi
movaps xmmword [rsp + 0x140], xmm6
movaps xmmword [rsp + 0x130], xmm6
lea rdx, [0x14027a408]
lea rcx, [rsp + 0x110]
call fcn.1401c4820
mov ecx, 0x18
call fcn.140184834
mov qword [rsp + 0xc0], rax
lea rsi, [rax + 0x18]
mov qword [rsp + 0xd0], rsi
test rax, rax
je 0x140012e81
mov rdi, rax
cmp byte [rsp + 0x127], 0
jns 0x140012c40
mov r14, qword [rsp + 0x110]
mov rbx, qword [rsp + 0x118]
cmp rbx, 0xa
ja 0x140012c59
mov byte [rdi + 0x17], bl
jmp 0x140012c9a
mov rax, qword [rsp + 0x120]
mov qword [rdi + 0x10], rax
movups xmm0, xmmword [rsp + 0x110]
movups xmmword [rdi], xmm0
jmp 0x140012cc4
movabs r15, 0x7fffffffffffffef
cmp rbx, r15
ja 0x140012e87
mov r12, rbx
or r12, 7
inc r12
js 0x140012e8a
lea rcx, [r12 + r12]
call fcn.140184834
mov qword [rdi], rax
add r15, 0x11
or r15, r12
mov qword [rdi + 0x10], r15
mov qword [rdi + 8], rbx
mov rdi, rax
cmp rdi, r14
ja 0x140012cb0
lea rax, [rdi + rbx*2]
add rax, 2
cmp rax, r14
ja 0x140012e84
inc rbx
add rbx, rbx
mov rcx, rdi
mov rdx, r14
mov r8, rbx
call fcn.140188f50
lea rdi, [rsp + 0xc0]
mov qword [rdi + 8], rsi
lea rcx, [rsp + 0x130]
mov rdx, rdi
call fcn.140051b60
mov rsi, qword [rdi]
test rsi, rsi
je 0x140012d28
mov rax, qword [rsp + 0xc8]
mov rcx, rsi
cmp rax, rsi
je 0x140012d1b
lea rdi, [rax - 0x18]
cmp byte [rax - 1], 0
jns 0x140012d0b
mov rcx, qword [rax - 0x18]
call fcn.14018482c
mov rax, rdi
cmp rdi, rsi
jne 0x140012cf8
mov rcx, qword [rsp + 0xc0]
mov qword [rsp + 0xc8], rsi
call fcn.14018482c
cmp byte [rsp + 0x127], 0
jns 0x140012d3f
mov rcx, qword [rsp + 0x110]
call fcn.14018482c
cmp byte [rsp + 0x130], 0
mov rcx, qword [rsp + 0x38]
je 0x140012e0e
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.14003c800
mov edi, eax
cmp byte [rbx - 8], 0
je 0x140012b8f
mov rsi, qword [rsp + 0x138]
test rsi, rsi
je 0x140012b8f
mov rax, qword [rsp + 0x140]
mov rcx, rsi
cmp rax, rsi
je 0x140012dcb
lea rbx, [rax - 0x18]
mov rcx, qword [rax - 0x18]
test rcx, rcx
je 0x140012dbb
mov qword [rax - 0x10], rcx
call fcn.14018482c
mov rax, rbx
cmp rbx, rsi
jne 0x140012da5
mov rcx, qword [rsp + 0x138]
mov qword [rsp + 0x140], rsi
call fcn.14018482c
jmp 0x140012b8f
test r8b, r8b
cmovs r8, qword [rsp + 0x88]
cmovs r15, qword [rsp + 0x80]
lea rcx, [rsp + 0x40]
mov rdx, r15
call fcn.14000a120
movabs rbx, 0xaaaaaaaaaaaaaaa
jmp 0x140012953
ud2
int3
int3
int3
int3
mov rbx, r13
cmp byte [rsp + 0x97], 0
jns 0x140012e36
mov rcx, qword [rsp + 0x80]
call fcn.14018482c
mov r14, qword [rsp + 0x30]
jmp 0x140012802
cmp byte [rsp + 0x97], 0
jns 0x140012e57
mov rcx, qword [rsp + 0x80]
call fcn.14018482c
movabs rsi, 0xaaaaaaaaaaaaaaaa
mov r14, qword [rsp + 0x30]
mov r13, rbx
jmp 0x1400128da
int3
int3
xor eax, eax
jmp 0x140012a17
int3
int3
int3
int3
int3
int3