Function at 0x100277c2
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x384
push ebx
push esi
push edi
mov esi, ecx
push 1
inc dword [esi + 0x3c4]
mov eax, dword [esi + 0x3c4]
pop edi
cmp dword [ebp + 0xc], edi
jne 0x10027834
mov eax, dword [ebp + 8]
xor ebx, ebx
cmp dword [esi + 0x3fc], ebx
je 0x10027800
cmp eax, ebx
jne 0x10027800
lea ecx, [esi + 0x60]
cmp dword [esi + 0x180], ecx
je 0x10027857
mov edx, dword [esi + 0x180]
lea ecx, [esi + 0x180]
cmp edx, 0x100445c0
je 0x10027820
cmp eax, ebx
je 0x10027825
cmp edx, 0x10044260
jne 0x10027825
lea edx, [esi + 0x60]
mov dword [ecx], edx
push edi
push ebx
push eax
neg eax
sbb eax, eax
and al, 0xfd
add eax, 4
push eax
jmp 0x1002785c
xor ebx, ebx
cmp dword [esi + 0x3fc], ebx
je 0x10027869
cmp dword [ebp + 0xc], 0xc8
jne 0x10027869
cmp dword [ebp + 8], ebx
je 0x1002786e
lea ecx, [esi + 0x60]
cmp dword [esi + 0x180], ecx
jne 0x10027869
push edi
push ebx
push ebx
push 8
lea ecx, [esi - 0x20]
call fcn.10028916
jmp 0x10027a01
cmp dword [ebp + 8], ebx
jne 0x1002787a
dec eax
mov dword [esi + 0x3c4], eax
jmp 0x10027a07
mov eax, dword [ebp + 0xc]
dec eax
dec eax
je 0x100279f9
dec eax
je 0x100279ef
sub eax, 4
je 0x100279e2
dec eax
je 0x100279bd
sub eax, 3
je 0x100278c2
sub eax, 0xbf
jne 0x10027a01
push ebx
push 0x6c
push 0x111
push dword [esi - 0x1c]
call dword [sym.imp.USER32.dll_PostMessageA]
jmp 0x10027a01
cmp dword [esi + 0x41c], ebx
jne 0x10027a01
mov eax, dword [esi + 0x1f4]
cmp eax, ebx
je 0x10027a01
push eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
test eax, eax
jle 0x10027a01
mov edi, dword [esi + 0x1f4]
mov dword [ebp + 8], edi
call dword [sym.imp.USER32.dll_GetFocus]
cmp eax, edi
je 0x10027a01
mov edi, 0x12c
lea eax, [ebp - 0x258]
push edi
push eax
push dword [ebp + 8]
call fcn.1002bb6e
add esp, 0xc
test eax, eax
jle 0x10027a01
cmp byte [ebp - 0x258], bl
je 0x10027a01
push str.MyWebSearchBar__Shared0E
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
cmp eax, ebx
mov dword [ebp + 8], eax
je 0x10027a01
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push edi
lea eax, [ebp - 0x384]
push section.MyWebSea_1
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
push edi
lea eax, [ebp - 0x12c]
push 0x1004612c
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x258]
push eax
lea eax, [ebp - 0x384]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x10027a01
cmp byte [ebp - 0x12c], bl
je 0x10027a01
lea eax, [ebp - 0x12c]
push eax
push dword [esi + 0x1f4]
call fcn.1002bb94
pop ecx
pop ecx
jmp 0x10027a01
cmp dword [esi + 0x3d8], ebx
lea eax, [esi + 0x3d8]
je 0x10027a01
mov dword [eax], ebx
lea eax, [ebp + 8]
push eax
push ebx
push 0x67
push ebx
lea ecx, [esi - 0x20]
mov dword [ebp + 8], ebx
call fcn.1002675b
jmp 0x10027a01
mov eax, dword [esi - 0x20]
lea ecx, [esi - 0x20]
push ebx
push ebx
call dword [eax + 0x14]
jmp 0x10027a01
lea ecx, [esi - 0x20]
call fcn.10029a88
jmp 0x10027a01
lea ecx, [esi - 0x20]
call fcn.100297c8
dec dword [esi + 0x3c4]
pop edi
pop esi
pop ebx
leave
ret 8