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

Disassembly:
mov eax, 0x1176dad0
call fcn.116bfcd0
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.116884f0
add esp, 0xc
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x116773b6
mov ebx, dword [sym.imp.KERNEL32.dll_OpenMutexW]
push str.GlobalTEC_OCULAR_NOTICE_SDFILEICON
push 0
push 0x1f0001
call ebx
test eax, eax
jne 0x116773df
mov eax, dword [0x117bf398]
mov edi, str.CheckRegInfo
test eax, eax
mov esi, 0x117beb04
je 0x11677266
push str.CanRegisterCoexistWithOEM__Open_fail
push edi
push 0xffffffffffffffff
push esi
call fcn.116bdf00
add esp, 0x10
push str.GlobalOEM_TEC_OCULAR_NOTICE_SDFILEICON
push 0
push 0x1f0001
call ebx
xor ebx, ebx
cmp eax, ebx
jne 0x11677400
cmp dword [0x117bf398], ebx
je 0x11677297
push str.CanRegisterCoexistWithOEM__Open_OEM_fail
push edi
push 0xffffffffffffffff
push esi
call fcn.116bdf00
add esp, 0x10
lea ecx, [ebp - 0x24]
call fcn.11693ff0
push 0x20019
push str.softwareTECOcular.3Agent
push SysStringLen
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 1
call fcn.11694160
test eax, eax
mov ebx, str.RunSDAgent2
je 0x1167731d
push 0
push str.RunSDAgent
lea ecx, [ebp - 0x24]
call fcn.11694300
push 0
push ebx
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x14], eax
call fcn.11694300
cmp dword [0x117bf398], 0
mov dword [ebp - 0x18], eax
je 0x11677301
push eax
push dword [ebp - 0x14]
push str.CanRegisterCoexistWithOEM__License__d___d_
push edi
push 0xffffffffffffffff
push esi
call fcn.116bdf00
add esp, 0x18
lea ecx, [ebp - 0x24]
call fcn.116941b0
cmp dword [ebp - 0x14], 0
jne 0x1167742c
cmp dword [ebp - 0x18], 0
jne 0x1167742c
and byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.116940e0
lea ecx, [ebp - 0x1c]
call fcn.11693ff0
push 0x20019
push str.softwareTECOemOcular.3Agent
push SysStringLen
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call fcn.11694160
test eax, eax
je 0x116773a3
push 0
push str.RunSDAgent
lea ecx, [ebp - 0x1c]
call fcn.11694300
push 0
push ebx
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x14], eax
call fcn.11694300
cmp dword [0x117bf398], 0
mov ebx, eax
je 0x1167738d
push ebx
push dword [ebp - 0x14]
push str.CanRegisterCoexistWithOEM__OEM_License__d___d_
push edi
push 0xffffffffffffffff
push esi
call fcn.116bdf00
add esp, 0x18
lea ecx, [ebp - 0x1c]
call fcn.116941b0
cmp dword [ebp - 0x14], 0
jne 0x11677422
test ebx, ebx
jne 0x11677422
and byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.116940e0
xor ebx, ebx
jmp 0x1167743b
mov eax, dword [0x117bf398]
mov edi, str.CheckRegInfo
test eax, eax
mov esi, 0x117beb04
je 0x116773da
push str.CanRegisterCoexistWithOEM__is_not_Coexist
push edi
push 0xffffffffffffffff
push esi
call fcn.116bdf00
add esp, 0x10
push 1
pop ebx
jmp 0x1167743b
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x117bf398]
mov edi, str.CheckRegInfo
test eax, eax
mov esi, 0x117beb04
je 0x116773da
push str.CanRegisterCoexistWithOEM__General_Start_SD
jmp 0x116773ce
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [0x117bf398], ebx
je 0x1167743b
push str.CanRegisterCoexistWithOEM__oem_already_start_sd
push edi
push 0xffffffffffffffff
push esi
call fcn.116bdf00
add esp, 0x10
jmp 0x1167743b
xor ebx, ebx
lea ecx, [ebp - 0x1c]
and byte [ebp - 4], bl
jmp 0x11677436
and byte [ebp - 4], 0
push 1
pop ebx
lea ecx, [ebp - 0x24]
call fcn.116940e0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.11685570
cmp dword [0x117bf398], 0
je 0x11677462
push ebx
push str.CanRegisterCoexistWithOEM__bCan__d_
push edi
push 0xffffffffffffffff
push esi
call fcn.116bdf00
add esp, 0x14
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, ebx
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret