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

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x30], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x140375828]
xor rax, rsp
mov qword [rbp - 8], rax
mov r14, rdx
mov rsi, rcx
xor ebx, ebx
mov dword [rbp - 0x50], ebx
xor edx, edx
lea rcx, [rbp - 0x50]
call fcn.14005c0c8
nop
mov rdi, qword [rax]
test rdi, rdi
je 0x140042c1f
mov rax, qword [rdi + 8]
movsxd rcx, dword [rax + 4]
add rcx, 8
add rcx, rdi
mov rax, qword [rcx]
call qword [rax]
mov rdx, qword [r14]
mov qword [r14], rdi
test rdx, rdx
je 0x140042c40
mov rax, qword [rdx + 8]
movsxd rcx, dword [rax + 4]
add rdx, 8
add rcx, rdx
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rax, qword [rbp - 0x50]
test rax, rax
je 0x140042c5f
mov rcx, qword [rax + 8]
movsxd rdx, dword [rcx + 4]
lea rcx, [rax + 8]
add rcx, rdx
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rcx, qword [rsi]
mov rax, qword [rsi + 8]
sub rax, rcx
sar rax, 3
cmp rax, 1
jne 0x140042e02
mov rcx, qword [rcx]
mov rax, qword [rcx]
call qword [rax + 0x40]
test al, al
je 0x140042e02
mov rax, qword [rsi]
mov rcx, qword [rax]
mov rax, qword [rcx]
lea rdx, [rbp - 0x48]
call qword [rax + 0x98]
nop
lea rdx, [rbp - 0x28]
mov rcx, rax
call fcn.140044570
nop
lea rax, vtable.CefStringBase_struct_CefStringTraitsUTF16_.0
mov qword [rbp - 0x48], rax
mov rcx, qword [rbp - 0x40]
test rcx, rcx
je 0x140042cdf
cmp byte [rbp - 0x38], 0
je 0x140042cd7
call qword [sym.imp.libcef.dll_cef_string_utf16_clear]
mov edx, 0x18
mov rcx, qword [rbp - 0x40]
call fcn.1401dd1a8
mov qword [rbp - 0x40], rbx
mov byte [rbp - 0x38], 0
lea rcx, [rbp - 0x28]
call fcn.140045a30
mov rcx, rax
call fcn.140045af0
lea rcx, [rbp - 0x28]
cmp rcx, rax
je 0x140042d0c
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rax
lea rcx, [rbp - 0x28]
call fcn.140026920
mov rcx, qword [rbp - 0x18]
test rcx, rcx
jne 0x140042d1d
lea ebx, [rcx + 2]
jmp 0x140042de4
lea rax, [rbp - 0x28]
mov r9, qword [rbp - 0x28]
mov r10, qword [rbp - 0x10]
cmp r10, 8
cmovae rax, r9
lea rax, [rax + rcx*2]
lea rcx, [rbp - 0x28]
cmovae rcx, r9
mov rdx, rbx
mov r8, rax
sub r8, rcx
inc r8
shr r8, 1
cmp rcx, rax
cmova r8, rbx
test r8, r8
je 0x140042d7d
mov eax, 0x5c
nop dword [rax]
cmp word [rcx], 0x2f
jne 0x140042d69
mov word [rcx], ax
add rcx, 2
inc rdx
cmp rdx, r8
jne 0x140042d60
mov r10, qword [rbp - 0x10]
mov r9, qword [rbp - 0x28]
lea rcx, [rbp - 0x28]
cmp r10, 8
cmovae rcx, r9
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x140042da7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov dl, 1
call fcn.14003f8a0
mov ebx, eax
jmp 0x140042de4
shr eax, 4
and al, 1
movzx edx, al
lea rcx, [rbp - 0x50]
call fcn.14005c0c8
nop
mov rdx, rax
mov rcx, r14
call fcn.14000a2e0
nop
mov rax, qword [rbp - 0x50]
test rax, rax
je 0x140042de4
mov rcx, qword [rax + 8]
movsxd rdx, dword [rcx + 4]
lea rcx, [rax + 8]
add rcx, rdx
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov r8, qword [rbp - 0x10]
cmp r8, 8
jb 0x140042dfe
inc r8
mov rdx, qword [rbp - 0x28]
lea rcx, [rbp - 0x28]
call fcn.1400271e0
mov eax, ebx
jmp 0x140042e07
mov eax, 2
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1401dd140
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret