Function at 0x14006a030
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x2180]
mov eax, 0x2280
call fcn.14009b900
sub rsp, rax
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rsp + 0x22b8], rbx
mov qword [rsp + 0x22c0], rsi
mov rax, qword [0x14013f130]
xor rax, rsp
mov qword [rbp + 0x2170], rax
mov rsi, rcx
xor r14d, r14d
mov dword [rsp + 0x20], r14d
call fcn.140051360
mov rcx, rax
mov r8b, 1
lea rdx, [rbp + 0x60]
call fcn.1400510d0
nop
lea rcx, [rbp + 0x60]
cmp qword [rbp + 0x78], 0x10
cmovae rcx, qword [rbp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14006a0b5
test al, 0x10
je 0x14006a107
call fcn.140051360
mov rcx, rax
xor r8d, r8d
lea rdx, [rsp + 0x28]
call fcn.1400510d0
mov rbx, rax
lea rax, [rbp + 0x60]
cmp rax, rbx
je 0x14006a0fd
lea rcx, [rbp + 0x60]
call fcn.140007080
movups xmm0, xmmword [rbx]
movups xmmword [rbp + 0x60], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rbp + 0x70], xmm1
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], send
mov byte [rbx], 0
lea rcx, [rsp + 0x28]
call fcn.140007080
lea rcx, [rbp + 0x60]
cmp qword [rbp + 0x78], 0x10
cmovae rcx, qword [rbp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14006a40c
test al, 0x10
jne 0x14006a40c
xor edx, edx
mov r8d, 0x110
lea rcx, [rsp + 0x50]
call fcn.1400b93c0
lea r12, [0x140000000]
lea rax, [r12 + 0x108528]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x20], 1
lea rax, vtable.std::basic_istream_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rbp], rax
mov dword [rbp - 4], 0x98
mov qword [rsp + 0x58], r14
lea rdx, [rsp + 0x60]
lea rcx, [rbp]
call fcn.1400175f0
nop
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rsp + rcx + 0x50], rax
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rsp + rcx + 0x4c], edx
lea rcx, [rsp + 0x60]
call fcn.1400164d0
nop
lea rdx, [rbp + 0x60]
cmp qword [rbp + 0x78], 0x10
cmovae rdx, qword [rbp + 0x60]
mov r8d, 1
lea rcx, [rsp + 0x60]
call fcn.140017360
mov ebx, 6
lea r15d, [rbx - 4]
test rax, rax
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x50]
jne 0x14006a200
add rcx, rax
mov edx, ebx
cmp qword [rcx + 0x48], 0
cmovne edx, r15d
or edx, dword [rcx + 0x10]
jmp 0x14006a211
add rcx, rax
mov edx, 4
cmp qword [rcx + 0x48], 0
cmovne edx, r14d
xor r8d, r8d
call fcn.140005f40
cmp qword [rbp - 0x20], 0
je 0x14006a3b8
mov edi, 0xfff
lea rdx, [rbp + 0x170]
lea rcx, [rsp + 0x50]
call fcn.14006aad0
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
test byte [rsp + rcx + 0x60], bl
je 0x14006a257
mov rdi, qword [rsp + 0x58]
test rdi, rdi
jle 0x14006a3b8
add rdi, rdi
cmp rdi, 0x2000
jae 0x14006a457
mov word [rbp + rdi + 0x170], r14w
lea rdx, [rbp + 0x170]
lea rcx, [rsp + 0x28]
call fcn.140006320
lea rdi, [rsi + 0xf8]
mov rdx, rax
mov rcx, rdi
call fcn.14000ae10
lea rcx, [rsp + 0x28]
call fcn.140007080
call fcn.140084bd0
cmp eax, 1
jl 0x14006a3b8
xor edx, edx
mov r8d, 0xe8
lea rcx, [rbp + 0x80]
call fcn.1400b93c0
lea rax, [r12 + 0xfdef8]
mov qword [rbp + 0x80], rax
mov dword [rsp + 0x20], 5
lea rax, vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov qword [rbp + 0x108], rax
mov dword [rbp + 0x104], 0x78
xor r8d, r8d
lea rdx, [rbp + 0x88]
lea rcx, [rbp + 0x108]
call fcn.1400075d0
nop
mov rax, qword [rbp + 0x80]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + rcx + 0x80], rax
mov rax, qword [rbp + 0x80]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rbp + rcx + 0x7c], edx
mov edx, r15d
lea rcx, [rbp + 0x88]
call fcn.140009f10
nop
lea rdx, str._screen_
lea rcx, [rbp + 0x80]
call fcn.14000ae60
mov rcx, rax
lea rdx, str.ScreenCapturerIpc::reportHostCrash_
call fcn.14000ae60
mov r8, qword [rdi + 0x10]
cmp qword [rdi + 0x18], 0x10
jb 0x14006a374
mov rdi, qword [rdi]
mov rdx, rdi
mov rcx, rax
call fcn.14000e8c0
lea rdx, [rsp + 0x28]
lea rcx, [rbp + 0x88]
call fcn.140009e60
nop
lea rdx, [rsp + 0x28]
mov ecx, 1
call fcn.140084ea0
nop
lea rcx, [rsp + 0x28]
call fcn.140007080
nop
lea rcx, [rbp + 0x80]
call fcn.140008760
lea rcx, [rsp + 0x60]
call fcn.140016400
test rax, rax
jne 0x14006a3ee
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x50]
add rcx, rax
cmp qword [rcx + 0x48], 0
cmovne ebx, r15d
or ebx, dword [rcx + 0x10]
xor r8d, r8d
mov edx, ebx
call fcn.140005f40
lea rcx, [rbp + 0x60]
cmp qword [rbp + 0x78], 0x10
cmovae rcx, qword [rbp + 0x60]
call fcn.1400c3488
nop
lea rcx, [rsp + 0x50]
call fcn.14006a460
mov rcx, qword [rsi + 0x18]
test rcx, rcx
je 0x14006a423
mov rax, qword [rcx]
lea rdx, [rsi + 0xf8]
call qword [rax + 0x38]
nop
lea rcx, [rbp + 0x60]
call fcn.140007080
mov rcx, qword [rbp + 0x2170]
xor rcx, rsp
call fcn.14009ab00
lea r11, [rsp + 0x2280]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.14009b65c
nop
int3