Function at 0x43aea0
Capabilities:
Check mutex on windows

Disassembly:
push 0xffffffffffffffff
push 0x45e068
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov eax, dword [esp + 0x20]
push ebx
push ebp
push esi
push edi
push eax
xor edi, edi
push 1
mov esi, ecx
push edi
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
cmp eax, edi
mov dword [esp + 0x30], eax
je 0x43b0fa
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x43af92
mov ecx, dword [esp + 0x30]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dl, byte [esp + 0x30]
mov dword [esp + 0x14], edi
mov byte [esp + 0x10], dl
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
mov ecx, dword [esp + 0x38]
lea eax, [esp + 0x10]
push eax
push ecx
mov ecx, esi
mov dword [esp + 0x30], edi
call fcn.0043b240
mov ebp, dword [esp + 0x3c]
mov ebx, dword [esp + 0x34]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x43af84
mov edx, ecx
sub edx, eax
sar edx, 2
cmp edi, edx
jae 0x43af63
test ebp, ebp
je 0x43af60
mov eax, dword [eax + edi*4]
mov ecx, esi
push eax
push ebx
call fcn.0043b1e0
push eax
mov dword [ebp], eax
call dword [sym.imp.USER32.dll_IsWindow]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
inc edi
jmp 0x43af2f
test eax, eax
je 0x43af84
sub ecx, eax
test ecx, 0xfffffffc
je 0x43af84
push eax
call sub.MFC42u.DLL_operatordelete
add esp, 4
mov eax, 1
jmp 0x43b0fc
push eax
call sub.MFC42u.DLL_operatordelete
add esp, 4
jmp 0x43b0fa
lea ebx, [esi + 0x14]
push ebx
mov dword [esp + 0x40], ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
add esi, 4
sub ecx, edi
sar ecx, 2
cmp ecx, 1
jae 0x43b065
mov ecx, esi
call fcn.00437070
cmp eax, 1
jbe 0x43afce
mov ecx, esi
call fcn.00437070
mov ebx, eax
jmp 0x43afd3
mov ebx, 1
mov ecx, esi
call fcn.00437070
mov ebp, eax
add ebp, ebx
mov eax, ebp
jns 0x43afe4
xor eax, eax
lea edx, [eax*4]
push edx
call sub.MFC42u.DLL_operatornew
add esp, 4
mov ebx, eax
mov eax, dword [esi + 4]
mov ecx, esi
push ebx
push edi
push eax
call fcn.0040ea80
lea ecx, [esp + 0x30]
mov dword [esp + 0x38], eax
push ecx
push 1
push eax
mov ecx, esi
call fcn.0042bec0
mov edx, dword [esp + 0x38]
mov eax, dword [esi + 8]
add edx, 4
mov ecx, esi
push edx
push eax
push edi
call fcn.0040ea80
mov ecx, dword [esi + 8]
mov edx, dword [esi + 4]
push ecx
push edx
mov ecx, esi
call fcn.004146a0
mov eax, dword [esi + 4]
push eax
call sub.MFC42u.DLL_operatordelete
lea ecx, [ebx + ebp*4]
add esp, 4
mov dword [esi + 0xc], ecx
mov ecx, esi
call fcn.00437070
lea edx, [ebx + eax*4 + 4]
mov dword [esi + 4], ebx
mov ebx, dword [esp + 0x3c]
mov dword [esi + 8], edx
jmp 0x43b0f3
mov eax, edi
sub eax, edi
sar eax, 2
cmp eax, 1
jae 0x43b0b5
lea ecx, [edi + 4]
push ecx
push edi
push edi
mov ecx, esi
call fcn.0040ea80
mov eax, dword [esi + 8]
lea edx, [esp + 0x30]
mov ecx, eax
push edx
sub ecx, edi
mov edx, 1
sar ecx, 2
sub edx, ecx
mov ecx, esi
push edx
push eax
call fcn.0042bec0
mov ecx, dword [esi + 8]
mov eax, edi
cmp edi, ecx
je 0x43b0ef
mov edx, dword [esp + 0x30]
mov dword [eax], edx
add eax, 4
cmp eax, ecx
jne 0x43b0a6
jmp 0x43b0ef
push edi
lea eax, [edi - 4]
push edi
push eax
mov ecx, esi
call fcn.0040ea80
mov ecx, dword [esi + 8]
lea eax, [ecx - 4]
cmp edi, eax
je 0x43b0db
mov edx, dword [eax - 4]
sub eax, 4
sub ecx, 4
cmp eax, edi
mov dword [ecx], edx
jne 0x43b0cc
lea eax, [edi + 4]
cmp edi, eax
je 0x43b0ef
mov ecx, dword [esp + 0x30]
mov dword [edi], ecx
add edi, 4
cmp edi, eax
jne 0x43b0e2
add dword [esi + 8], 4
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 0x10