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

Disassembly:
mov eax, 0x1176d5cc
call fcn.116bf770
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.11688600
add esp, 0xc
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x116774bd
mov ebx, dword [sym.imp.KERNEL32.dll_OpenMutexW]
push str.GlobalTEC_OCULAR_NOTICE_SDFILEICON
push 0
push 0x1f0001
call ebx
test eax, eax
jne 0x116774e6
mov eax, dword [0x117bf470]
mov edi, str.CheckRegInfo
test eax, eax
mov esi, 0x117bebdc
je 0x1167736d
push str.CanRegisterCoexistWithOEM__Open_fail
push edi
push 0xffffffffffffffff
push esi
call fcn.116bd9a0
add esp, 0x10
push str.GlobalOEM_TEC_OCULAR_NOTICE_SDFILEICON
push 0
push 0x1f0001
call ebx
xor ebx, ebx
cmp eax, ebx
jne 0x11677507
cmp dword [0x117bf470], ebx
je 0x1167739e
push str.CanRegisterCoexistWithOEM__Open_OEM_fail
push edi
push 0xffffffffffffffff
push esi
call fcn.116bd9a0
add esp, 0x10
lea ecx, [ebp - 0x24]
call fcn.11694100
push 0x20019
push str.softwareTECOcular.3Agent
push SysStringLen
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 1
call fcn.11694270
test eax, eax
mov ebx, str.RunSDAgent2
je 0x11677424
push 0
push str.RunSDAgent
lea ecx, [ebp - 0x24]
call fcn.11694410
push 0
push ebx
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x14], eax
call fcn.11694410
cmp dword [0x117bf470], 0
mov dword [ebp - 0x18], eax
je 0x11677408
push eax
push dword [ebp - 0x14]
push str.CanRegisterCoexistWithOEM__License__d___d_
push edi
push 0xffffffffffffffff
push esi
call fcn.116bd9a0
add esp, 0x18
lea ecx, [ebp - 0x24]
call fcn.116942c0
cmp dword [ebp - 0x14], 0
jne 0x11677533
cmp dword [ebp - 0x18], 0
jne 0x11677533
and byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.116941f0
lea ecx, [ebp - 0x1c]
call fcn.11694100
push 0x20019
push str.softwareTECOemOcular.3Agent
push SysStringLen
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call fcn.11694270
test eax, eax
je 0x116774aa
push 0
push str.RunSDAgent
lea ecx, [ebp - 0x1c]
call fcn.11694410
push 0
push ebx
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x14], eax
call fcn.11694410
cmp dword [0x117bf470], 0
mov ebx, eax
je 0x11677494
push ebx
push dword [ebp - 0x14]
push str.CanRegisterCoexistWithOEM__OEM_License__d___d_
push edi
push 0xffffffffffffffff
push esi
call fcn.116bd9a0
add esp, 0x18
lea ecx, [ebp - 0x1c]
call fcn.116942c0
cmp dword [ebp - 0x14], 0
jne 0x11677529
test ebx, ebx
jne 0x11677529
and byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.116941f0
xor ebx, ebx
jmp 0x11677542
mov eax, dword [0x117bf470]
mov edi, str.CheckRegInfo
test eax, eax
mov esi, 0x117bebdc
je 0x116774e1
push str.CanRegisterCoexistWithOEM__is_not_Coexist
push edi
push 0xffffffffffffffff
push esi
call fcn.116bd9a0
add esp, 0x10
push 1
pop ebx
jmp 0x11677542
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x117bf470]
mov edi, str.CheckRegInfo
test eax, eax
mov esi, 0x117bebdc
je 0x116774e1
push str.CanRegisterCoexistWithOEM__General_Start_SD
jmp 0x116774d5
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [0x117bf470], ebx
je 0x11677542
push str.CanRegisterCoexistWithOEM__oem_already_start_sd
push edi
push 0xffffffffffffffff
push esi
call fcn.116bd9a0
add esp, 0x10
jmp 0x11677542
xor ebx, ebx
lea ecx, [ebp - 0x1c]
and byte [ebp - 4], bl
jmp 0x1167753d
and byte [ebp - 4], 0
push 1
pop ebx
lea ecx, [ebp - 0x24]
call fcn.116941f0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.11685680
cmp dword [0x117bf470], 0
je 0x11677569
push ebx
push str.CanRegisterCoexistWithOEM__bCan__d_
push edi
push 0xffffffffffffffff
push esi
call fcn.116bd9a0
add esp, 0x14
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, ebx
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret