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

Disassembly:
push rdi
sub rsp, 0x60
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x78], rbx
mov qword [rsp + 0x80], rsi
mov rax, qword [0x180087258]
mov qword [rsp + 0x70], rax
mov ebx, 1
cmp dword [0x1800e6858], 0
jne 0x18000d063
mov dword [0x1800e6858], ebx
call fcn.18004b880
xor r8d, r8d
mov edx, 0x104
lea rcx, [0x1800e6860]
test eax, eax
je 0x18000d05e
call fcn.180033c60
test eax, eax
je 0x18000d063
lea rdi, [0x1800e6860]
xor eax, eax
or rcx, 0xffffffffffffffff
repne scasw ax, word [rdi]
mov rax, qword [str.SysWow64]
mov qword [rdi - 2], rax
mov rax, qword [0x1800a6130]
mov qword [rdi + 6], rax
mov eax, dword [0x1800a6138]
mov dword [rdi + 0xe], eax
jmp 0x18000d063
call fcn.180033c70
lea r8, [0x1800e6860]
lea rdx, str._sowinoav3.dll
lea rcx, [rsp + 0x70]
call fcn.180026420
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x18000d0b9
cmp dword [0x1800e52c0], 0
je 0x18000d0b4
lea r9, str.CanRegisterCoexistWithOEM__is_not_Coexist
lea r8, str.CheckRegInfo
mov edx, reloc.WS2_32.dll_ntohs
lea rcx, [0x1800e5208]
call fcn.180018f90
nop
jmp 0x18000d317
lea r8, str.GlobalTEC_OCULAR_NOTICE_SDFILEICON
xor edx, edx
mov ecx, 0x1f0001
call qword [sym.imp.KERNEL32.dll_OpenMutexW]
test rax, rax
je 0x18000d109
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [0x1800e52c0], 0
je 0x18000d104
lea r9, str.CanRegisterCoexistWithOEM__General_Start_SD
lea r8, str.CheckRegInfo
mov edx, reloc.WS2_32.dll_ntohs
lea rcx, [0x1800e5208]
call fcn.180018f90
nop
jmp 0x18000d317
cmp dword [0x1800e52c0], 0
je 0x18000d131
lea r9, str.CanRegisterCoexistWithOEM__Open_fail
lea r8, str.CheckRegInfo
mov edx, reloc.WS2_32.dll_ntohs
lea rcx, [0x1800e5208]
call fcn.180018f90
lea r8, str.GlobalOEM_TEC_OCULAR_NOTICE_SDFILEICON
xor edx, edx
mov ecx, 0x1f0001
call qword [sym.imp.KERNEL32.dll_OpenMutexW]
test rax, rax
je 0x18000d182
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [0x1800e52c0], 0
je 0x18000d17b
lea r9, str.CanRegisterCoexistWithOEM__oem_already_start_sd
lea r8, str.CheckRegInfo
mov edx, reloc.WS2_32.dll_ntohs
lea rcx, [0x1800e5208]
call fcn.180018f90
xor ebx, ebx
jmp 0x18000d317
cmp dword [0x1800e52c0], 0
je 0x18000d1aa
lea r9, str.CanRegisterCoexistWithOEM__Open_OEM_fail
lea r8, str.CheckRegInfo
mov edx, reloc.WS2_32.dll_ntohs
lea rcx, [0x1800e5208]
call fcn.180018f90
lea rcx, [rsp + 0x38]
call fcn.18002aa50
nop
mov r9d, 0x20019
lea r8, str.softwareTECOcular.3Agent
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x38]
call fcn.18002a830
test rax, rax
je 0x18000d256
xor r8d, r8d
lea rdx, str.RunSDAgent
lea rcx, [rsp + 0x38]
call fcn.18002a080
mov esi, eax
xor r8d, r8d
lea rdx, str.RunSDAgent2
lea rcx, [rsp + 0x38]
call fcn.18002a080
mov edi, eax
cmp dword [0x1800e52c0], 0
je 0x18000d234
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], esi
lea r9, str.CanRegisterCoexistWithOEM__License__d___d_
lea r8, str.CheckRegInfo
mov edx, reloc.WS2_32.dll_ntohs
lea rcx, [0x1800e5208]
call fcn.180018f90
lea rcx, [rsp + 0x38]
call fcn.180029fd0
test esi, esi
jne 0x18000d246
test edi, edi
je 0x18000d256
lea rcx, [rsp + 0x38]
call fcn.18002a7f0
nop
jmp 0x18000d317
lea rcx, [rsp + 0x38]
call fcn.18002a7f0
lea rcx, [rsp + 0x48]
call fcn.18002aa50
nop
mov r9d, 0x20019
lea r8, str.softwareTECOemOcular.3Agent
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x48]
call fcn.18002a830
test rax, rax
je 0x18000d30b
xor r8d, r8d
lea rdx, str.RunSDAgent
lea rcx, [rsp + 0x48]
call fcn.18002a080
mov ebx, eax
xor r8d, r8d
lea rdx, str.RunSDAgent2
lea rcx, [rsp + 0x48]
call fcn.18002a080
mov edi, eax
cmp dword [0x1800e52c0], 0
je 0x18000d2ea
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ebx
lea r9, str.CanRegisterCoexistWithOEM__OEM_License__d___d_
lea r8, str.CheckRegInfo
mov edx, reloc.WS2_32.dll_ntohs
lea rcx, [0x1800e5208]
call fcn.180018f90
lea rcx, [rsp + 0x48]
call fcn.180029fd0
test ebx, ebx
jne 0x18000d2fc
test edi, edi
je 0x18000d30b
xor ebx, ebx
lea rcx, [rsp + 0x48]
call fcn.18002a7f0
nop
jmp 0x18000d317
lea rcx, [rsp + 0x48]
call fcn.18002a7f0
xor ebx, ebx
lea rcx, [rsp + 0x70]
call fcn.180025870
cmp dword [0x1800e52c0], 0
je 0x18000d34d
mov dword [rsp + 0x20], ebx
lea r9, str.CanRegisterCoexistWithOEM__bCan__d_
lea r8, str.CheckRegInfo
mov edx, reloc.WS2_32.dll_ntohs
lea rcx, [0x1800e5208]
call fcn.180018f90
mov eax, ebx
mov rbx, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret