Function at 0x1400f54f0
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 0x1400f55d9
mov rsi, 0xffffffffffffffff
nop dword [rax]
cmp byte [rdi + rsi + 1], 0
lea rsi, [rsi + 1]
jne 0x1400f5520
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 0x1400f55cf
cmp rsi, 8
jb 0x1400f5565
lea rax, [rdi + rsi]
cmp r14, rax
jae 0x1400f56f7
lea rax, [r14 + rsi]
cmp rax, rdi
jbe 0x1400f56f7
xor eax, eax
mov rcx, rax
not rcx
add rcx, rsi
test sil, 3
je 0x1400f5592
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 0x1400f5580
cmp rcx, 3
jb 0x1400f55cf
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 0x1400f55a0
mov byte [r14 + rsi], 0
jmp 0x1400f5d13
lea rcx, str.PATH
call method.__sanitizer.GetEnv_char_const_
test rax, rax
je 0x1400f56ef
mov r13, rax
mov r12, 0xffffffffffffffdf
nop dword [rax + rax]
cmp byte [rdi + r12 + 0x21], 0
lea r12, [r12 + 1]
jne 0x1400f5600
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 0x1400f5758
cmp qword [rsp + 0x38], 0xfff
ja 0x1400f5663
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 0x1400f572b
cmp rbx, 0x1000
je 0x1400f5758
mov ebp, edx
and ebp, 7
add rbx, 0xfffffffffffff007
cmp rbx, 7
jb 0x1400f56d9
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 0x1400f56b0
test rbp, rbp
je 0x1400f5758
xor eax, eax
mov byte [rcx + rax], 0
add rax, 1
cmp rbp, rax
jne 0x1400f56e0
jmp 0x1400f5758
xor r14d, r14d
jmp 0x1400f5d13
cmp rsi, 0x20
jae 0x1400f5704
xor eax, eax
jmp 0x1400f5e0e
mov rax, rsi
and rax, 0xffffffffffffffe0
lea rdx, [rax - 0x20]
mov rcx, rdx
shr rcx, 5
add rcx, 1
cmp rdx, 0x60
jae 0x1400f5d2a
xor edx, edx
jmp 0x1400f5db0
and rdx, 0xfffffffffffffff8
add rdx, rcx
cmp rdx, rcx
jbe 0x1400f5758
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.msvcrt.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 0x1400f57de
lea r13, [rbp + 1]
cmp byte [rbp], 0
je 0x1400f5d04
mov cl, byte [r13]
mov rbp, r13
cmp cl, 0x3b
je 0x1400f5836
mov eax, ecx
mov rbp, r13
nop
test al, al
je 0x1400f5810
movzx eax, byte [rbp + 1]
add rbp, 1
cmp al, 0x3b
jne 0x1400f57f0
jmp 0x1400f5836
test cl, cl
je 0x1400f5831
xor eax, eax
nop word cs:[rax + rax]
lea rbp, [rax + 1]
cmp byte [r13 + rax + 1], 0
mov rax, rbp
jne 0x1400f5820
jmp 0x1400f5833
xor ebp, ebp
add rbp, r13
mov r9, rbp
sub r9, r13
lea rax, [r12 + r9]
add rax, 0x22
cmp rax, 0x1000
ja 0x1400f57d0
test r9, r9
je 0x1400f5a20
mov rax, qword [rsp + 0x30]
mov byte [rax], cl
cmp r9, 1
je 0x1400f5a20
mov r8, r13
not r8
add r8, rbp
mov edx, 1
cmp r8, 8
jb 0x1400f59b1
lea rcx, [rax + 1]
lea rbx, [r9 + r13]
cmp rcx, rbx
jae 0x1400f589c
lea rcx, [rax + r9]
lea rbx, [r13 + 1]
cmp rbx, rcx
jb 0x1400f59b1
cmp r8, 0x20
jae 0x1400f58a9
xor ecx, ecx
jmp 0x1400f5985
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 0x1400f58d0
xor esi, esi
jmp 0x1400f5942
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 0x1400f58e0
test r10, r10
je 0x1400f5976
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 0x1400f5950
cmp r8, rcx
je 0x1400f5a20
test r8b, 0x18
je 0x1400f59aa
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 0x1400f5990
cmp r8, rbx
jne 0x1400f59b1
jmp 0x1400f5a20
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 0x1400f59e3
nop word [rax + rax]
movzx ecx, byte [r13 + rdx]
mov byte [rax + rdx], cl
add rdx, 1
add rbx, 0xffffffffffffffff
jne 0x1400f59d0
cmp rsi, 3
jb 0x1400f5a20
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 0x1400f59f0
mov rax, qword [rsp + 0x40]
cmp rax, r9
jbe 0x1400f5f6f
mov rax, qword [rsp + 0x30]
mov byte [rax + r9], 0x2f
lea rax, [r9 + 1]
mov rcx, qword [rsp + 0x40]
cmp rcx, rax
jbe 0x1400f5f76
cmp r12, 0xffffffffffffffe0
je 0x1400f5b00
mov r8, qword [rsp + 0x30]
add rax, r8
cmp r15, 8
jb 0x1400f5a81
cmp rax, qword [rsp + 0x78]
jae 0x1400f5b35
lea rcx, [r8 + r9]
add rcx, r12
add rcx, 0x21
cmp rcx, rdi
jbe 0x1400f5b35
xor r10d, r10d
mov rdx, r10
test r15b, 3
je 0x1400f5ab1
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 0x1400f5aa0
not r10
lea rax, [r10 + r12]
add rax, 0x20
cmp rax, 3
jb 0x1400f5afb
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 0x1400f5ad0
mov rcx, qword [rsp + 0x40]
lea rax, [r12 + r9]
add rax, 0x21
cmp rcx, rax
jbe 0x1400f5f96
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 0x1400f57d0
jmp 0x1400f5c42
cmp r15, 0x20
jae 0x1400f5b47
xor edx, edx
mov rsi, qword [rsp + 0x50]
jmp 0x1400f5c20
cmp r12, 0x60
jae 0x1400f5b51
xor edx, edx
jmp 0x1400f5bb8
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 0x1400f5b60
test byte [rsp + 0x70], 3
mov rsi, qword [rsp + 0x68]
je 0x1400f5bfb
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 0x1400f5be0
cmp r15, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
je 0x1400f5afb
mov r10, qword [rsp + 0x48]
mov rdx, r10
test r15b, 0x18
je 0x1400f5a84
nop dword [rax]
mov rcx, qword [rdi + rdx]
mov qword [rax + rdx], rcx
add rdx, 8
cmp rsi, rdx
jne 0x1400f5c20
mov r10, rsi
cmp r15, rsi
je 0x1400f5afb
jmp 0x1400f5a84
mov rdi, 0xffffffffffffffff
mov rsi, qword [rsp + 0x30]
nop
cmp byte [rsi + rdi + 1], 0
lea rdi, [rdi + 1]
jne 0x1400f5c50
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 0x1400f5cff
cmp rdi, 8
jb 0x1400f5c95
lea rax, [rsi + rdi]
cmp r14, rax
jae 0x1400f5e3f
lea rax, [r14 + rdi]
cmp rsi, rax
jae 0x1400f5e3f
xor eax, eax
mov rcx, rax
not rcx
add rcx, rdi
test dil, 3
je 0x1400f5cc2
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 0x1400f5cb0
cmp rcx, 3
jb 0x1400f5cff
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 0x1400f5cd0
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 0x1400f5d50
test cl, 3
je 0x1400f5dfb
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 0x1400f5de0
cmp rsi, rax
je 0x1400f55cf
test sil, 0x18
je 0x1400f5567
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 0x1400f5e20
cmp rsi, rax
je 0x1400f55cf
jmp 0x1400f5567
cmp rdi, 0x20
jae 0x1400f5e4c
xor eax, eax
jmp 0x1400f5f41
mov rax, rdi
and rax, 0xffffffffffffffe0
lea rdx, [rax - 0x20]
mov rcx, rdx
shr rcx, 5
add rcx, 1
cmp rdx, 0x60
jae 0x1400f5e6c
xor edx, edx
jmp 0x1400f5ee5
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 0x1400f5e85
test cl, 3
je 0x1400f5f2e
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 0x1400f5f13
cmp rdi, rax
je 0x1400f5cff
test dil, 0x18
je 0x1400f5c97
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 0x1400f5f50
cmp rdi, rax
je 0x1400f5cff
jmp 0x1400f5c97
mov qword [rsp + 0x20], rax
jmp 0x1400f5fa2
mov qword [rsp + 0x20], rcx
lea rcx, str....._sanitizer_common_sanitizer_common.h
lea r8, str.__i_______size___
mov edx, 0x1ff
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, 0x1ff
call method.__sanitizer.CheckFailed_char_const__int__char_const__unsigned_long_long__unsigned_long_long_
int3