Function at 0x1400c5e40
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, 0x88
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x1400c5f29
mov rsi, 0xffffffffffffffff
nop dword [rax]
cmp byte [rdi + rsi + 1], 0
lea rsi, [rsi + 1]
jne 0x1400c5e70
lea rcx, [rsi + 1]
xor edx, edx
xor r8d, r8d
call method.__sanitizer.InternalAlloc_unsigned_long_long____sanitizer::SizeClassAllocator32LocalCache___sanitizer::SizeClassAllocator32___sanitizer::AP32_____unsigned_long_long_
mov r14, rax
test rsi, rsi
je 0x1400c5f1f
cmp rsi, 8
jb 0x1400c5eb5
lea rax, [rdi + rsi]
cmp r14, rax
jae 0x1400c6047
lea rax, [r14 + rsi]
cmp rax, rdi
jbe 0x1400c6047
xor eax, eax
mov rcx, rax
not rcx
add rcx, rsi
test sil, 3
je 0x1400c5ee2
mov edx, esi
and edx, 3
nop dword [rax + rax]
movzx ebx, byte [rdi + rax]
mov byte [r14 + rax], bl
add rax, 1
add rdx, 0xffffffffffffffff
jne 0x1400c5ed0
cmp rcx, 3
jb 0x1400c5f1f
nop dword [rax + rax]
movzx ecx, byte [rdi + rax]
mov byte [r14 + rax], cl
movzx ecx, byte [rdi + rax + 1]
mov byte [r14 + rax + 1], cl
movzx ecx, byte [rdi + rax + 2]
mov byte [r14 + rax + 2], cl
movzx ecx, byte [rdi + rax + 3]
mov byte [r14 + rax + 3], cl
add rax, 4
cmp rsi, rax
jne 0x1400c5ef0
mov byte [r14 + rsi], 0
jmp 0x1400c6663
lea rcx, str.PATH
call method.__sanitizer.GetEnv_char_const_
test rax, rax
je 0x1400c603f
mov r13, rax
mov r12, 0xffffffffffffffdf
nop dword [rax + rax]
cmp byte [rdi + r12 + 0x21], 0
lea r12, [r12 + 1]
jne 0x1400c5f50
xorps xmm0, xmm0
movaps xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], 0
lea rcx, [rsp + 0x30]
mov edx, 0x1000
call method.__sanitizer::InternalMmapVectorNoCtor_char_.Realloc_unsigned_long_long_
mov rbx, qword [rsp + 0x40]
lea r15, [r12 + 0x20]
cmp rbx, 0xfff
ja 0x1400c60a8
cmp qword [rsp + 0x38], 0xfff
ja 0x1400c5fb3
lea rcx, [rsp + 0x30]
mov edx, 0x1000
call method.__sanitizer::InternalMmapVectorNoCtor_char_.Realloc_unsigned_long_long_
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x30]
lea rcx, [rbx + rbp]
mov edx, 0x1000
sub rdx, rbx
mov eax, edx
or eax, ecx
test al, 0xf
je 0x1400c607b
cmp rbx, 0x1000
je 0x1400c60a8
mov ebp, edx
and ebp, 7
add rbx, 0xfffffffffffff007
cmp rbx, 7
jb 0x1400c6029
and rdx, 0xfffffffffffffff8
nop word cs:[rax + rax]
nop dword [rax]
mov byte [rcx], 0
mov byte [rcx + 1], 0
mov byte [rcx + 2], 0
mov byte [rcx + 3], 0
mov byte [rcx + 4], 0
mov byte [rcx + 5], 0
mov byte [rcx + 6], 0
mov byte [rcx + 7], 0
add rcx, 8
add rdx, 0xfffffffffffffff8
jne 0x1400c6000
test rbp, rbp
je 0x1400c60a8
xor eax, eax
mov byte [rcx + rax], 0
add rax, 1
cmp rbp, rax
jne 0x1400c6030
jmp 0x1400c60a8
xor r14d, r14d
jmp 0x1400c6663
cmp rsi, 0x20
jae 0x1400c6054
xor eax, eax
jmp 0x1400c675e
mov rax, rsi
and rax, 0xffffffffffffffe0
lea rdx, [rax - 0x20]
mov rcx, rdx
shr rcx, 5
add rcx, 1
cmp rdx, 0x60
jae 0x1400c667a
xor edx, edx
jmp 0x1400c6700
and rdx, 0xfffffffffffffff8
add rdx, rcx
cmp rdx, rcx
jbe 0x1400c60a8
lea r8, [rbx + rbp]
add r8, 0x10
cmp rdx, r8
cmova r8, rdx
sub r8, rcx
add r8, 0xf
and r8, 0xfffffffffffffff0
xor edx, edx
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov qword [rsp + 0x40], 0x1000
lea rax, [rdi + r12]
add rax, 0x20
mov qword [rsp + 0x78], rax
mov rax, r12
shr rax, 5
lea rdx, [rax + 1]
mov rcx, r15
and rcx, 0xffffffffffffffe0
mov qword [rsp + 0x48], rcx
mov rcx, r15
and rcx, 0xfffffffffffffff8
mov qword [rsp + 0x50], rcx
mov rcx, rdx
mov qword [rsp + 0x70], rdx
and rdx, 0xfffffffffffffffc
mov qword [rsp + 0x58], rdx
lea rcx, [rdi + 0x10]
mov qword [rsp + 0x60], rcx
add al, 1
movzx eax, al
and eax, 3
shl rax, 5
mov qword [rsp + 0x68], rax
mov eax, r12d
and eax, 3
mov qword [rsp + 0x80], rax
xor r14d, r14d
jmp 0x1400c612e
lea r13, [rbp + 1]
cmp byte [rbp], 0
je 0x1400c6654
mov cl, byte [r13]
mov rbp, r13
cmp cl, 0x3b
je 0x1400c6186
mov eax, ecx
mov rbp, r13
nop
test al, al
je 0x1400c6160
movzx eax, byte [rbp + 1]
add rbp, 1
cmp al, 0x3b
jne 0x1400c6140
jmp 0x1400c6186
test cl, cl
je 0x1400c6181
xor eax, eax
nop word cs:[rax + rax]
lea rbp, [rax + 1]
cmp byte [r13 + rax + 1], 0
mov rax, rbp
jne 0x1400c6170
jmp 0x1400c6183
xor ebp, ebp
add rbp, r13
mov r9, rbp
sub r9, r13
lea rax, [r12 + r9]
add rax, 0x22
cmp rax, 0x1000
ja 0x1400c6120
test r9, r9
je 0x1400c6370
mov rax, qword [rsp + 0x30]
mov byte [rax], cl
cmp r9, 1
je 0x1400c6370
mov r8, r13
not r8
add r8, rbp
mov edx, 1
cmp r8, 8
jb 0x1400c6301
lea rcx, [rax + 1]
lea rbx, [r9 + r13]
cmp rcx, rbx
jae 0x1400c61ec
lea rcx, [rax + r9]
lea rbx, [r13 + 1]
cmp rbx, rcx
jb 0x1400c6301
cmp r8, 0x20
jae 0x1400c61f9
xor ecx, ecx
jmp 0x1400c62d5
mov rcx, r8
and rcx, 0xffffffffffffffe0
lea rbx, [rcx - 0x20]
mov rdx, rbx
shr rdx, 5
add rdx, 1
mov r10d, edx
and r10d, 3
cmp rbx, 0x60
jae 0x1400c6220
xor esi, esi
jmp 0x1400c6292
and rdx, 0xfffffffffffffffc
xor esi, esi
nop word cs:[rax + rax]
movups xmm0, xmmword [r13 + rsi + 1]
movups xmm1, xmmword [r13 + rsi + 0x11]
movups xmmword [rax + rsi + 1], xmm0
movups xmmword [rax + rsi + 0x11], xmm1
movups xmm0, xmmword [r13 + rsi + 0x21]
movups xmm1, xmmword [r13 + rsi + 0x31]
movups xmmword [rax + rsi + 0x21], xmm0
movups xmmword [rax + rsi + 0x31], xmm1
movups xmm0, xmmword [r13 + rsi + 0x41]
movups xmm1, xmmword [r13 + rsi + 0x51]
movups xmmword [rax + rsi + 0x41], xmm0
movups xmmword [rax + rsi + 0x51], xmm1
movups xmm0, xmmword [r13 + rsi + 0x61]
movups xmm1, xmmword [r13 + rsi + 0x71]
movups xmmword [rax + rsi + 0x61], xmm0
movups xmmword [rax + rsi + 0x71], xmm1
sub rsi, 0xffffffffffffff80
add rdx, 0xfffffffffffffffc
jne 0x1400c6230
test r10, r10
je 0x1400c62c6
nop word [rax + rax]
mov rdx, rsi
or rdx, 1
movups xmm0, xmmword [r13 + rdx]
movups xmm1, xmmword [r13 + rdx + 0x10]
movups xmmword [rax + rdx], xmm0
movups xmmword [rax + rdx + 0x10], xmm1
add rsi, 0x20
add r10, 0xffffffffffffffff
jne 0x1400c62a0
cmp r8, rcx
je 0x1400c6370
test r8b, 0x18
je 0x1400c62fa
mov rbx, r8
and rbx, 0xfffffffffffffff8
lea rdx, [rbx + 1]
mov rsi, qword [r13 + rcx + 1]
mov qword [rax + rcx + 1], rsi
add rcx, 8
cmp rbx, rcx
jne 0x1400c62e0
cmp r8, rbx
jne 0x1400c6301
jmp 0x1400c6370
or rcx, 1
mov rdx, rcx
mov ebx, ebp
sub ebx, edx
sub ebx, r13d
mov rsi, rdx
not rsi
add rsi, rbp
sub rsi, r13
and rbx, 3
je 0x1400c6333
nop word [rax + rax]
movzx ecx, byte [r13 + rdx]
mov byte [rax + rdx], cl
add rdx, 1
add rbx, 0xffffffffffffffff
jne 0x1400c6320
cmp rsi, 3
jb 0x1400c6370
nop dword [rax]
movzx ecx, byte [r13 + rdx]
mov byte [rax + rdx], cl
movzx ecx, byte [r13 + rdx + 1]
mov byte [rax + rdx + 1], cl
movzx ecx, byte [r13 + rdx + 2]
mov byte [rax + rdx + 2], cl
movzx ecx, byte [r13 + rdx + 3]
mov byte [rax + rdx + 3], cl
add rdx, 4
cmp r9, rdx
jne 0x1400c6340
mov rax, qword [rsp + 0x40]
cmp rax, r9
jbe 0x1400c68bf
mov rax, qword [rsp + 0x30]
mov byte [rax + r9], 0x2f
lea rax, [r9 + 1]
mov rcx, qword [rsp + 0x40]
cmp rcx, rax
jbe 0x1400c68c6
cmp r12, 0xffffffffffffffe0
je 0x1400c6450
mov r8, qword [rsp + 0x30]
add rax, r8
cmp r15, 8
jb 0x1400c63d1
cmp rax, qword [rsp + 0x78]
jae 0x1400c6485
lea rcx, [r8 + r9]
add rcx, r12
add rcx, 0x21
cmp rcx, rdi
jbe 0x1400c6485
xor r10d, r10d
mov rdx, r10
test r15b, 3
je 0x1400c6401
mov rbx, qword [rsp + 0x80]
mov rdx, r10
nop dword [rax + rax]
movzx ecx, byte [rdi + rdx]
mov byte [rax + rdx], cl
add rdx, 1
add rbx, 0xffffffffffffffff
jne 0x1400c63f0
not r10
lea rax, [r10 + r12]
add rax, 0x20
cmp rax, 3
jb 0x1400c644b
lea rax, [r8 + r9]
add rax, 4
nop word [rax + rax]
movzx ecx, byte [rdi + rdx]
mov byte [rax + rdx - 3], cl
movzx ecx, byte [rdi + rdx + 1]
mov byte [rax + rdx - 2], cl
movzx ecx, byte [rdi + rdx + 2]
mov byte [rax + rdx - 1], cl
movzx ecx, byte [rdi + rdx + 3]
mov byte [rax + rdx], cl
add rdx, 4
cmp r15, rdx
jne 0x1400c6420
mov rcx, qword [rsp + 0x40]
lea rax, [r12 + r9]
add rax, 0x21
cmp rcx, rax
jbe 0x1400c68e6
add r9, qword [rsp + 0x30]
mov byte [r12 + r9 + 0x21], 0
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x1400c6120
jmp 0x1400c6592
cmp r15, 0x20
jae 0x1400c6497
xor edx, edx
mov rsi, qword [rsp + 0x50]
jmp 0x1400c6570
cmp r12, 0x60
jae 0x1400c64a1
xor edx, edx
jmp 0x1400c6508
lea rsi, [r8 + r9]
add rsi, 0x71
mov rcx, qword [rsp + 0x58]
xor edx, edx
movups xmm0, xmmword [rdi + rdx]
movups xmm1, xmmword [rdi + rdx + 0x10]
movups xmmword [rsi + rdx - 0x70], xmm0
movups xmmword [rsi + rdx - 0x60], xmm1
movups xmm0, xmmword [rdi + rdx + 0x20]
movups xmm1, xmmword [rdi + rdx + 0x30]
movups xmmword [rsi + rdx - 0x50], xmm0
movups xmmword [rsi + rdx - 0x40], xmm1
movups xmm0, xmmword [rdi + rdx + 0x40]
movups xmm1, xmmword [rdi + rdx + 0x50]
movups xmmword [rsi + rdx - 0x30], xmm0
movups xmmword [rsi + rdx - 0x20], xmm1
movups xmm0, xmmword [rdi + rdx + 0x60]
movups xmm1, xmmword [rdi + rdx + 0x70]
movups xmmword [rsi + rdx - 0x10], xmm0
movups xmmword [rsi + rdx], xmm1
sub rdx, 0xffffffffffffff80
add rcx, 0xfffffffffffffffc
jne 0x1400c64b0
test byte [rsp + 0x70], 3
mov rsi, qword [rsp + 0x68]
je 0x1400c654b
lea rcx, [rdx + rbp]
sub rcx, r13
add rcx, r8
add rcx, 0x11
add rdx, qword [rsp + 0x60]
xor ebx, ebx
nop dword [rax]
movups xmm0, xmmword [rdx + rbx - 0x10]
movups xmm1, xmmword [rdx + rbx]
movups xmmword [rcx + rbx - 0x10], xmm0
movups xmmword [rcx + rbx], xmm1
add rbx, 0x20
cmp rsi, rbx
jne 0x1400c6530
cmp r15, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
je 0x1400c644b
mov r10, qword [rsp + 0x48]
mov rdx, r10
test r15b, 0x18
je 0x1400c63d4
nop dword [rax]
mov rcx, qword [rdi + rdx]
mov qword [rax + rdx], rcx
add rdx, 8
cmp rsi, rdx
jne 0x1400c6570
mov r10, rsi
cmp r15, rsi
je 0x1400c644b
jmp 0x1400c63d4
mov rdi, 0xffffffffffffffff
mov rsi, qword [rsp + 0x30]
nop
cmp byte [rsi + rdi + 1], 0
lea rdi, [rdi + 1]
jne 0x1400c65a0
lea rcx, [rdi + 1]
xor edx, edx
xor r8d, r8d
call method.__sanitizer.InternalAlloc_unsigned_long_long____sanitizer::SizeClassAllocator32LocalCache___sanitizer::SizeClassAllocator32___sanitizer::AP32_____unsigned_long_long_
mov r14, rax
test rdi, rdi
je 0x1400c664f
cmp rdi, 8
jb 0x1400c65e5
lea rax, [rsi + rdi]
cmp r14, rax
jae 0x1400c678f
lea rax, [r14 + rdi]
cmp rsi, rax
jae 0x1400c678f
xor eax, eax
mov rcx, rax
not rcx
add rcx, rdi
test dil, 3
je 0x1400c6612
mov edx, edi
and edx, 3
nop dword [rax + rax]
movzx ebx, byte [rsi + rax]
mov byte [r14 + rax], bl
add rax, 1
add rdx, 0xffffffffffffffff
jne 0x1400c6600
cmp rcx, 3
jb 0x1400c664f
nop dword [rax + rax]
movzx ecx, byte [rsi + rax]
mov byte [r14 + rax], cl
movzx ecx, byte [rsi + rax + 1]
mov byte [r14 + rax + 1], cl
movzx ecx, byte [rsi + rax + 2]
mov byte [r14 + rax + 2], cl
movzx ecx, byte [rsi + rax + 3]
mov byte [r14 + rax + 3], cl
add rax, 4
cmp rdi, rax
jne 0x1400c6620
mov byte [r14 + rdi], 0
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
call method.__sanitizer.UnmapOrDie_void__unsigned_long_long_
mov rax, r14
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rbp, rsi
and rbp, 0xffffffffffffffe0
add rbp, 0xffffffffffffffe0
shr rbp, 5
add rbp, 1
and rbp, 0xfffffffffffffffc
xor edx, edx
nop word cs:[rax + rax]
nop dword [rax]
movups xmm0, xmmword [rdi + rdx]
movups xmm1, xmmword [rdi + rdx + 0x10]
movups xmmword [r14 + rdx], xmm0
movups xmmword [r14 + rdx + 0x10], xmm1
movups xmm0, xmmword [rdi + rdx + 0x20]
movups xmm1, xmmword [rdi + rdx + 0x30]
movups xmmword [r14 + rdx + 0x20], xmm0
movups xmmword [r14 + rdx + 0x30], xmm1
movups xmm0, xmmword [rdi + rdx + 0x40]
movups xmm1, xmmword [rdi + rdx + 0x50]
movups xmmword [r14 + rdx + 0x40], xmm0
movups xmmword [r14 + rdx + 0x50], xmm1
movups xmm0, xmmword [rdi + rdx + 0x60]
movups xmm1, xmmword [rdi + rdx + 0x70]
movups xmmword [r14 + rdx + 0x60], xmm0
movups xmmword [r14 + rdx + 0x70], xmm1
sub rdx, 0xffffffffffffff80
add rbp, 0xfffffffffffffffc
jne 0x1400c66a0
test cl, 3
je 0x1400c674b
lea rcx, [r14 + rdx]
add rcx, 0x10
add rdx, rdi
add rdx, 0x10
mov ebx, esi
and bl, 0x60
add bl, 0xe0
shr bl, 5
add bl, 1
movzx ebp, bl
and ebp, 3
shl rbp, 5
xor ebx, ebx
nop
movups xmm0, xmmword [rdx + rbx - 0x10]
movups xmm1, xmmword [rdx + rbx]
movups xmmword [rcx + rbx - 0x10], xmm0
movups xmmword [rcx + rbx], xmm1
add rbx, 0x20
cmp rbp, rbx
jne 0x1400c6730
cmp rsi, rax
je 0x1400c5f1f
test sil, 0x18
je 0x1400c5eb7
mov rcx, rax
mov rax, rsi
and rax, 0xfffffffffffffff8
nop dword [rax + rax]
mov rdx, qword [rdi + rcx]
mov qword [r14 + rcx], rdx
add rcx, 8
cmp rax, rcx
jne 0x1400c6770
cmp rsi, rax
je 0x1400c5f1f
jmp 0x1400c5eb7
cmp rdi, 0x20
jae 0x1400c679c
xor eax, eax
jmp 0x1400c6891
mov rax, rdi
and rax, 0xffffffffffffffe0
lea rdx, [rax - 0x20]
mov rcx, rdx
shr rcx, 5
add rcx, 1
cmp rdx, 0x60
jae 0x1400c67bc
xor edx, edx
jmp 0x1400c6835
mov rbp, rdi
and rbp, 0xffffffffffffffe0
add rbp, 0xffffffffffffffe0
shr rbp, 5
add rbp, 1
and rbp, 0xfffffffffffffffc
xor edx, edx
movups xmm0, xmmword [rsi + rdx]
movups xmm1, xmmword [rsi + rdx + 0x10]
movups xmmword [r14 + rdx], xmm0
movups xmmword [r14 + rdx + 0x10], xmm1
movups xmm0, xmmword [rsi + rdx + 0x20]
movups xmm1, xmmword [rsi + rdx + 0x30]
movups xmmword [r14 + rdx + 0x20], xmm0
movups xmmword [r14 + rdx + 0x30], xmm1
movups xmm0, xmmword [rsi + rdx + 0x40]
movups xmm1, xmmword [rsi + rdx + 0x50]
movups xmmword [r14 + rdx + 0x40], xmm0
movups xmmword [r14 + rdx + 0x50], xmm1
movups xmm0, xmmword [rsi + rdx + 0x60]
movups xmm1, xmmword [rsi + rdx + 0x70]
movups xmmword [r14 + rdx + 0x60], xmm0
movups xmmword [r14 + rdx + 0x70], xmm1
sub rdx, 0xffffffffffffff80
add rbp, 0xfffffffffffffffc
jne 0x1400c67d5
test cl, 3
je 0x1400c687e
lea rcx, [r14 + rdx]
add rcx, 0x10
add rdx, rsi
add rdx, 0x10
mov ebx, edi
and bl, 0x60
add bl, 0xe0
shr bl, 5
add bl, 1
movzx ebp, bl
and ebp, 3
shl rbp, 5
xor ebx, ebx
movups xmm0, xmmword [rdx + rbx - 0x10]
movups xmm1, xmmword [rdx + rbx]
movups xmmword [rcx + rbx - 0x10], xmm0
movups xmmword [rcx + rbx], xmm1
add rbx, 0x20
cmp rbp, rbx
jne 0x1400c6863
cmp rdi, rax
je 0x1400c664f
test dil, 0x18
je 0x1400c65e7
mov rcx, rax
mov rax, rdi
and rax, 0xfffffffffffffff8
nop dword [rax + rax]
mov rdx, qword [rsi + rcx]
mov qword [r14 + rcx], rdx
add rcx, 8
cmp rax, rcx
jne 0x1400c68a0
cmp rdi, rax
je 0x1400c664f
jmp 0x1400c65e7
mov qword [rsp + 0x20], rax
jmp 0x1400c68f2
mov qword [rsp + 0x20], rcx
lea rcx, str....._sanitizer_common_sanitizer_common.h
lea r8, str.__i_______size___
mov edx, 0x20a
mov r9, rax
call method.__sanitizer.CheckFailed_char_const__int__char_const__unsigned_long_long__unsigned_long_long_
add r9, r12
add r9, 0x21
mov qword [rsp + 0x20], rcx
lea rcx, str....._sanitizer_common_sanitizer_common.h
lea r8, str.__i_______size___
mov edx, 0x20a
call method.__sanitizer.CheckFailed_char_const__int__char_const__unsigned_long_long__unsigned_long_long_
int3