Function at 0x140010ac4
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 rdi, rdx
mov rsi, rcx
xor ebx, ebx
cmp qword [rcx + 0xc30], rbx
je 0x140010b14
cmp qword [rcx + 0xc38], rbx
je 0x140010b14
lea eax, [rbx + 1]
jmp 0x140010dbb
test rdi, rdi
jne 0x140010b20
xor eax, eax
jmp 0x140010dbb
xor edx, edx
mov r8d, 0x410
lea rcx, [rbp - 0x60]
call sub.VCRUNTIME140.dll_memset
mov r14d, 0x82
mov edx, r14d
lea rcx, [rbp - 0x60]
lea rax, [rbp - 0x60]
sub rdi, rax
lea rax, [rdx + 0x7fffff7c]
test rax, rax
je 0x140010b67
movzx eax, word [rcx + rdi]
test ax, ax
je 0x140010b67
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x140010b45
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], bx
lea r8, [0x14001e40c]
mov edi, 0x104
mov edx, edi
lea rcx, [rbp - 0x60]
call fcn.140010734
lea rcx, [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_SetDllDirectoryW]
test eax, eax
jne 0x140010bb1
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]
xor edx, edx
mov r8d, 0x410
lea rcx, [rbp + 0x3b0]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rbp + 0x3b0]
lea rdx, [rbp - 0x60]
lea rax, [rbp + 0x3b0]
sub rdx, rax
lea rax, [r14 + 0x7fffff7c]
test rax, rax
je 0x140010bfc
movzx eax, word [rcx + rdx]
test ax, ax
je 0x140010bfc
mov word [rcx], ax
add rcx, 2
sub r14, 1
jne 0x140010bda
lea rax, [rcx - 2]
test r14, r14
cmovne rax, rcx
mov word [rax], bx
lea r8, str.ucrtbase.dll
mov rdx, rdi
lea rcx, [rbp + 0x3b0]
call fcn.140010734
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, rdi
lea rcx, [rbp - 0x60]
call fcn.140010734
lea rax, vtable.zoom_windows_util::AutoLockFile.0
mov qword [rsp + 0x50], rax
mov rdi, rbx
mov qword [rsp + 0x58], rbx
lea rcx, [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140010c9c
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 rdi, rax
mov qword [rsp + 0x58], rax
lea rax, [rdi - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140010d8f
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.140015750
test al, al
je 0x140010da6
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.14001059c
lea rdx, [0x14001f010]
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 [rsi + 0xc40], ecx
lea rcx, [rbp - 0x60]
call fcn.1400108b8
mov qword [rsi + 0xc30], rax
lea r14, [rsi + 0xc38]
mov qword [r14], rbx
test rax, rax
je 0x140010d8f
lea rdx, str.cpt_create_helper
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140010d8f
mov rcx, r14
call qword [0x140019d50]
cmp qword [rsi + 0xc30], rbx
je 0x140010da6
cmp qword [rsi + 0xc38], rbx
je 0x140010da6
mov ebx, 1
lea rcx, [rdi - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x140010db9
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
mov rcx, qword [rbp + 0x7c0]
xor rcx, rsp
call fcn.140015a80
lea r11, [rsp + 0x8d0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret