Function at 0x42dc50
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a3328
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x4cf22c]
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 edx, ecx
mov dword [ebp - 0x1c], edx
mov eax, dword [edx + 0x48]
mov esi, dword [eax]
cmp esi, eax
je 0x42de95
mov ebx, dword [sym.imp.KERNEL32.dll_ReleaseMutex]
cmp byte [esi + 0x54], 0
je 0x42de4f
mov eax, dword [esi + 0x7c]
xor edx, edx
cmp eax, 0xfffffffe
mov dword [ebp - 0x14], 0
lea ecx, [eax + 1]
cmovne edx, ecx
mov dword [ebp - 0x18], edx
lea edx, [esi + 0x60]
mov dword [ebp - 4], 0
cmp dword [edx + 0x14], 0x10
jb 0x42dcc7
mov edx, dword [edx]
mov ecx, edx
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], 0
lea edi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42dce0
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x38]
call fcn.0040b740
cmp dword [ebp - 0x24], 0x10
lea eax, [ebp - 0x38]
cmovae eax, dword [ebp - 0x38]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov edi, eax
test edi, edi
jne 0x42dd13
xor bl, bl
jmp 0x42dd32
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x42dd30
push edi
call ebx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor edi, edi
xor bl, bl
jmp 0x42dd32
mov bl, 1
mov edx, dword [ebp - 0x24]
cmp edx, 0x10
jb 0x42dd66
mov ecx, dword [ebp - 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x42dd5c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42deb1
push edx
push ecx
call fcn.00466e3f
add esp, 8
test bl, bl
je 0x42de31
mov eax, dword [esi + 0x58]
mov ecx, dword [eax + 0x28]
test ecx, ecx
je 0x42de27
mov ebx, dword [esi + 0x50]
imul ebx, dword [esi + 0x4c]
mov edx, dword [ecx + 0x1c]
mov dword [ebp - 0x14], edx
shl ebx, 2
cmp ebx, edx
jge 0x42de27
mov eax, dword [esi + 0x24]
mov dword [ecx + 0x10], eax
mov eax, dword [esi + 0x50]
mov dword [ecx + 4], eax
mov eax, dword [esi + 0x18]
mov dword [ecx + 0x14], eax
mov eax, dword [esi + 0x20]
mov dword [ecx + 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [ecx + 8], eax
mov eax, dword [esi + 0x1c]
mov dword [ecx + 0xc], eax
mov eax, dword [esi + 0x4c]
mov dword [ecx], eax
mov dword [ecx + 0x20], ebx
add ecx, 0x24
mov eax, dword [esi + 0x48]
mov dword [ebp - 0x20], eax
test ebx, ebx
je 0x42de27
test ecx, ecx
jne 0x42ddde
call fcn.00484d99
mov dword [eax], 0x16
jmp 0x42de22
test eax, eax
je 0x42ddf3
cmp edx, ebx
jb 0x42ddf3
push ebx
push eax
push ecx
call fcn.0047db10
add esp, 0xc
jmp 0x42de27
push edx
push 0
push ecx
call fcn.0047e610
add esp, 0xc
cmp dword [ebp - 0x20], 0
jne 0x42de12
call fcn.00484d99
mov dword [eax], 0x16
jmp 0x42de22
cmp dword [ebp - 0x14], ebx
jae 0x42de27
call fcn.00484d99
mov dword [eax], 0x22
call fcn.00485299
mov eax, dword [ebp - 0x18]
mov byte [esi + 0x54], 0
mov dword [esi + 0x7c], eax
mov dword [ebp - 4], 0xffffffff
mov ebx, dword [sym.imp.KERNEL32.dll_ReleaseMutex]
test edi, edi
je 0x42de4c
push edi
call ebx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x1c]
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x42de75
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x42de71
cmp esi, dword [eax + 8]
jne 0x42de71
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x42de61
mov esi, eax
jmp 0x42de8c
mov esi, eax
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x42de8c
nop
mov eax, dword [ecx]
mov esi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x42de80
cmp esi, dword [edx + 0x48]
jne 0x42dc93
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.004667cd
mov esp, ebp
pop ebp
ret
call fcn.004852a9
int3