Function at 0x14000ee80
Capabilities:
Check if file exists
Get file attributes
Print debug messages

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x7d0]
sub rsp, 0x8d0
mov rax, qword [0x140028010]
xor rax, rsp
mov qword [rbp + 0x7c0], rax
mov rsi, rdx
mov rdi, rcx
xor ebx, ebx
cmp qword [rcx + 0xc30], rbx
je 0x14000eed0
cmp qword [rcx + 0xc38], rbx
je 0x14000eed0
lea eax, [rbx + 1]
jmp 0x14000f10f
test rsi, rsi
jne 0x14000eedc
xor eax, eax
jmp 0x14000f10f
mov r14d, 0x410
mov r8d, r14d
xor edx, edx
lea rcx, [rbp - 0x60]
call sub.VCRUNTIME140.dll_memset
mov r8, rsi
mov esi, 0x104
mov edx, esi
lea rcx, [rbp - 0x60]
call fcn.14000ea84
lea r8, [0x14001d7d8]
mov edx, esi
lea rcx, [rbp - 0x60]
call fcn.14000eaf0
lea rcx, [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_SetDllDirectoryW]
test eax, eax
jne 0x14000ef3a
lea rcx, str._CptShareAPIWrapper::Init__Failed_to_call_SetDllDirectory_to:
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea rcx, [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov r8, r14
xor edx, edx
lea rcx, [rbp + 0x3b0]
call sub.VCRUNTIME140.dll_memset
lea r8, [rbp - 0x60]
mov rdx, rsi
lea rcx, [rbp + 0x3b0]
call fcn.14000ea84
lea r8, str.ucrtbase.dll
mov rdx, rsi
lea rcx, [rbp + 0x3b0]
call fcn.14000eaf0
xor edx, edx
lea r8d, [rdx + 8]
lea rcx, [rbp + 0x3b0]
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
lea r8, str.CptShare.dll
mov rdx, rsi
lea rcx, [rbp - 0x60]
call fcn.14000eaf0
lea rax, vtable.zoom_windows_util::AutoLockFile.0
mov qword [rsp + 0x50], rax
mov rsi, rbx
mov qword [rsp + 0x58], rbx
lea rcx, [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14000eff0
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0x80000000
lea r8d, [r9 + 1]
lea rcx, [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
mov qword [rsp + 0x58], rax
lea rax, [rsi - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14000f0e3
mov word [rsp + 0x4c], bx
mov word [rsp + 0x48], bx
mov word [rsp + 0x44], bx
mov word [rsp + 0x40], bx
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x44]
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x4c]
lea rcx, [rbp - 0x60]
call fcn.140014830
test al, al
je 0x14000f0fa
mov r14d, 0x40
mov r8d, r14d
xor edx, edx
lea rcx, [rsp + 0x60]
call sub.VCRUNTIME140.dll_memset
movzx eax, word [rsp + 0x40]
movzx ecx, word [rsp + 0x44]
movzx r8d, word [rsp + 0x48]
movzx r9d, word [rsp + 0x4c]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], r8d
lea r8, str._d._d._d._d
mov edx, r14d
lea rcx, [rsp + 0x60]
call fcn.14000e8ec
lea rdx, [0x14001e2f0]
lea rcx, [rsp + 0x60]
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
mov ecx, ebx
test eax, eax
sete cl
mov dword [rdi + 0xc40], ecx
lea rcx, [rbp - 0x60]
call fcn.14000ec74
mov qword [rdi + 0xc30], rax
lea r14, [rdi + 0xc38]
mov qword [r14], rbx
test rax, rax
je 0x14000f0e3
lea rdx, str.cpt_create_helper
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14000f0e3
mov rcx, r14
call qword [0x140018df0]
cmp qword [rdi + 0xc30], rbx
je 0x14000f0fa
cmp qword [rdi + 0xc38], rbx
je 0x14000f0fa
mov ebx, 1
lea rcx, [rsi - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x14000f10d
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
mov rcx, qword [rbp + 0x7c0]
xor rcx, rsp
call fcn.140014b90
lea r11, [rsp + 0x8d0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret