Function at 0x18000c140
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 [0x180081bb8]
mov qword [rsp + 0x70], rax
mov ebx, 1
cmp dword [0x1800df308], 0
jne 0x18000c1d3
mov dword [0x1800df308], ebx
call fcn.1800488d0
xor r8d, r8d
mov edx, 0x104
lea rcx, [0x1800df310]
test eax, eax
je 0x18000c1ce
call fcn.180030bd0
test eax, eax
je 0x18000c1d3
lea rdi, [0x1800df310]
xor eax, eax
or rcx, 0xffffffffffffffff
repne scasw ax, word [rdi]
mov rax, qword [str.SysWow64]
mov qword [rdi - 2], rax
mov rax, qword [0x1800a0440]
mov qword [rdi + 6], rax
mov eax, dword [0x1800a0448]
mov dword [rdi + 0xe], eax
jmp 0x18000c1d3
call fcn.180030d10
lea r8, [0x1800df310]
lea rdx, str._sowinoav3.dll
lea rcx, [rsp + 0x70]
call fcn.180023e40
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x18000c229
cmp dword [0x1800dde20], 0
je 0x18000c224
lea r9, str.CanRegisterCoexistWithOEM__is_not_Coexist
lea r8, str.CheckRegInfo
mov edx, reloc.WS2_32.dll_ntohs
lea rcx, [0x1800ddd68]
call fcn.180017680
nop
jmp 0x18000c487
lea r8, str.GlobalTEC_OCULAR_NOTICE_SDFILEICON
xor edx, edx
mov ecx, 0x1f0001
call qword [sym.imp.KERNEL32.dll_OpenMutexW]
test rax, rax
je 0x18000c279
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [0x1800dde20], 0
je 0x18000c274
lea r9, str.CanRegisterCoexistWithOEM__General_Start_SD
lea r8, str.CheckRegInfo
mov edx, reloc.WS2_32.dll_ntohs
lea rcx, [0x1800ddd68]
call fcn.180017680
nop
jmp 0x18000c487
cmp dword [0x1800dde20], 0
je 0x18000c2a1
lea r9, str.CanRegisterCoexistWithOEM__Open_fail
lea r8, str.CheckRegInfo
mov edx, reloc.WS2_32.dll_ntohs
lea rcx, [0x1800ddd68]
call fcn.180017680
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 0x18000c2f2
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [0x1800dde20], 0
je 0x18000c2eb
lea r9, str.CanRegisterCoexistWithOEM__oem_already_start_sd
lea r8, str.CheckRegInfo
mov edx, reloc.WS2_32.dll_ntohs
lea rcx, [0x1800ddd68]
call fcn.180017680
xor ebx, ebx
jmp 0x18000c487
cmp dword [0x1800dde20], 0
je 0x18000c31a
lea r9, str.CanRegisterCoexistWithOEM__Open_OEM_fail
lea r8, str.CheckRegInfo
mov edx, reloc.WS2_32.dll_ntohs
lea rcx, [0x1800ddd68]
call fcn.180017680
lea rcx, [rsp + 0x38]
call fcn.180027d10
nop
mov r9d, 0x20019
lea r8, str.softwareTECOcular.3Agent
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x38]
call fcn.180027af0
test rax, rax
je 0x18000c3c6
xor r8d, r8d
lea rdx, str.RunSDAgent
lea rcx, [rsp + 0x38]
call fcn.180027340
mov esi, eax
xor r8d, r8d
lea rdx, str.RunSDAgent2
lea rcx, [rsp + 0x38]
call fcn.180027340
mov edi, eax
cmp dword [0x1800dde20], 0
je 0x18000c3a4
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, [0x1800ddd68]
call fcn.180017680
lea rcx, [rsp + 0x38]
call fcn.180027290
test esi, esi
jne 0x18000c3b6
test edi, edi
je 0x18000c3c6
lea rcx, [rsp + 0x38]
call fcn.180027ab0
nop
jmp 0x18000c487
lea rcx, [rsp + 0x38]
call fcn.180027ab0
lea rcx, [rsp + 0x48]
call fcn.180027d10
nop
mov r9d, 0x20019
lea r8, str.softwareTECOemOcular.3Agent
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x48]
call fcn.180027af0
test rax, rax
je 0x18000c47b
xor r8d, r8d
lea rdx, str.RunSDAgent
lea rcx, [rsp + 0x48]
call fcn.180027340
mov ebx, eax
xor r8d, r8d
lea rdx, str.RunSDAgent2
lea rcx, [rsp + 0x48]
call fcn.180027340
mov edi, eax
cmp dword [0x1800dde20], 0
je 0x18000c45a
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, [0x1800ddd68]
call fcn.180017680
lea rcx, [rsp + 0x48]
call fcn.180027290
test ebx, ebx
jne 0x18000c46c
test edi, edi
je 0x18000c47b
xor ebx, ebx
lea rcx, [rsp + 0x48]
call fcn.180027ab0
nop
jmp 0x18000c487
lea rcx, [rsp + 0x48]
call fcn.180027ab0
xor ebx, ebx
lea rcx, [rsp + 0x70]
call fcn.180023290
cmp dword [0x1800dde20], 0
je 0x18000c4bd
mov dword [rsp + 0x20], ebx
lea r9, str.CanRegisterCoexistWithOEM__bCan__d_
lea r8, str.CheckRegInfo
mov edx, reloc.WS2_32.dll_ntohs
lea rcx, [0x1800ddd68]
call fcn.180017680
mov eax, ebx
mov rbx, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret