Function at 0x43bb40
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50b590
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x55300c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
push 0x14
xor eax, eax
mov dword [ebp - 0x18], 0
push str._ooc_gsoinput_mutex_
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00406c50
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0
call fcn.00439a70
mov byte [ebp - 4], 1
mov edx, eax
cmp dword [eax + 0x14], 8
jb 0x43bbad
mov edx, dword [eax]
mov ecx, dword [eax + 0x10]
mov esi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
sub eax, esi
mov dword [ebp - 0x44], esi
cmp ecx, eax
ja 0x43bbec
cmp dword [ebp - 0x14], 8
lea edi, [esi + ecx]
lea eax, [ecx + ecx]
mov dword [ebp - 0x18], edi
push eax
mov eax, dword [ebp - 0x44]
lea esi, [ebp - 0x28]
cmovae esi, dword [ebp - 0x28]
push edx
lea eax, [esi + eax*2]
push eax
call fcn.004b5d30
add esp, 0xc
xor eax, eax
mov word [esi + edi*2], ax
jmp 0x43bbfe
push ecx
push edx
mov byte [ebp - 0x44], 0
push dword [ebp - 0x44]
push ecx
lea ecx, [ebp - 0x28]
call fcn.00404560
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x43bc3c
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43bc32
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43bd93
push edx
push ecx
call fcn.00481e07
add esp, 8
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 0xb7
je 0x43bc9a
call esi
cmp eax, 5
je 0x43bc9a
push dword [ebp - 0x44]
lea eax, [ebx + 0x20]
push eax
push 0x5539f0
call fcn.004476d0
movzx edi, ax
add esp, 0xc
mov eax, dword [ebx + 0x14]
test eax, eax
jne 0x43bcd9
call fcn.00481b29
mov dword [ebx + 0x14], eax
test eax, eax
jne 0x43bcd9
push 0xe
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor esi, esi
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x43bd75
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43bd6b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43bd98
jmp 0x43bd6b
push 0
push 0
push eax
call fcn.00481c2b
test di, di
je 0x43bc9a
lea esi, [ebx + 8]
test esi, esi
je 0x43bd9d
test ebx, ebx
je 0x43bd9d
mov dword [esi], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0x553af4
mov dword [esi + 4], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x553b0c]
mov dword [esi + 8], eax
push 0x553af4
mov dword [0x553b0c], esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [0x5539e4]
mov eax, dword [0x5539ec]
mov edx, dword [0x5539e0]
sub eax, ecx
push 0
push dword [0x55f104]
push 0
push 0
push eax
mov eax, dword [0x5539e8]
sub eax, edx
push eax
push ecx
push edx
push 0x8000000
push 0
push edi
push 0x20
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov esi, eax
jmp 0x43bc9c
push edx
push ecx
call fcn.00481e07
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00482225
mov esp, ebp
pop ebp
ret
call fcn.004c022b
call fcn.004c022b
push 1
push 0xc0000005
call fcn.00439160
int3