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

Disassembly:
mov eax, 0x1176d6fc
call fcn.116bf8a0
sub esp, 0x18
mov eax, dword [0x11773dfc]
push ebx
push esi
push edi
mov dword [ebp - 0x10], eax
and dword [ebp - 4], 0
call fcn.1165367d
push eax
lea eax, [ebp - 0x10]
push str._sowinoav3.dll
push eax
call fcn.11688710
add esp, 0xc
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x116775d9
mov ebx, dword [sym.imp.KERNEL32.dll_OpenMutexW]
push str.GlobalTEC_OCULAR_NOTICE_SDFILEICON
push 0
push 0x1f0001
call ebx
test eax, eax
jne 0x11677602
mov eax, dword [0x117bf508]
mov edi, str.CheckRegInfo
test eax, eax
mov esi, 0x117bec74
je 0x11677489
push str.CanRegisterCoexistWithOEM__Open_fail
push edi
push 0xffffffffffffffff
push esi
call fcn.116bdad0
add esp, 0x10
push str.GlobalOEM_TEC_OCULAR_NOTICE_SDFILEICON
push 0
push 0x1f0001
call ebx
xor ebx, ebx
cmp eax, ebx
jne 0x11677623
cmp dword [0x117bf508], ebx
je 0x116774ba
push str.CanRegisterCoexistWithOEM__Open_OEM_fail
push edi
push 0xffffffffffffffff
push esi
call fcn.116bdad0
add esp, 0x10
lea ecx, [ebp - 0x24]
call fcn.11694210
push 0x20019
push str.softwareTECOcular.3Agent
push SysStringLen
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 1
call fcn.11694380
test eax, eax
mov ebx, str.RunSDAgent2
je 0x11677540
push 0
push str.RunSDAgent
lea ecx, [ebp - 0x24]
call fcn.11694520
push 0
push ebx
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x14], eax
call fcn.11694520
cmp dword [0x117bf508], 0
mov dword [ebp - 0x18], eax
je 0x11677524
push eax
push dword [ebp - 0x14]
push str.CanRegisterCoexistWithOEM__License__d___d_
push edi
push 0xffffffffffffffff
push esi
call fcn.116bdad0
add esp, 0x18
lea ecx, [ebp - 0x24]
call fcn.116943d0
cmp dword [ebp - 0x14], 0
jne 0x1167764f
cmp dword [ebp - 0x18], 0
jne 0x1167764f
and byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.11694300
lea ecx, [ebp - 0x1c]
call fcn.11694210
push 0x20019
push str.softwareTECOemOcular.3Agent
push SysStringLen
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call fcn.11694380
test eax, eax
je 0x116775c6
push 0
push str.RunSDAgent
lea ecx, [ebp - 0x1c]
call fcn.11694520
push 0
push ebx
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x14], eax
call fcn.11694520
cmp dword [0x117bf508], 0
mov ebx, eax
je 0x116775b0
push ebx
push dword [ebp - 0x14]
push str.CanRegisterCoexistWithOEM__OEM_License__d___d_
push edi
push 0xffffffffffffffff
push esi
call fcn.116bdad0
add esp, 0x18
lea ecx, [ebp - 0x1c]
call fcn.116943d0
cmp dword [ebp - 0x14], 0
jne 0x11677645
test ebx, ebx
jne 0x11677645
and byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.11694300
xor ebx, ebx
jmp 0x1167765e
mov eax, dword [0x117bf508]
mov edi, str.CheckRegInfo
test eax, eax
mov esi, 0x117bec74
je 0x116775fd
push str.CanRegisterCoexistWithOEM__is_not_Coexist
push edi
push 0xffffffffffffffff
push esi
call fcn.116bdad0
add esp, 0x10
push 1
pop ebx
jmp 0x1167765e
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x117bf508]
mov edi, str.CheckRegInfo
test eax, eax
mov esi, 0x117bec74
je 0x116775fd
push str.CanRegisterCoexistWithOEM__General_Start_SD
jmp 0x116775f1
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [0x117bf508], ebx
je 0x1167765e
push str.CanRegisterCoexistWithOEM__oem_already_start_sd
push edi
push 0xffffffffffffffff
push esi
call fcn.116bdad0
add esp, 0x10
jmp 0x1167765e
xor ebx, ebx
lea ecx, [ebp - 0x1c]
and byte [ebp - 4], bl
jmp 0x11677659
and byte [ebp - 4], 0
push 1
pop ebx
lea ecx, [ebp - 0x24]
call fcn.11694300
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.11685790
cmp dword [0x117bf508], 0
je 0x11677685
push ebx
push str.CanRegisterCoexistWithOEM__bCan__d_
push edi
push 0xffffffffffffffff
push esi
call fcn.116bdad0
add esp, 0x14
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, ebx
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret