Function at 0x430850
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a1769
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x4cc0a0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0x38]
push 1
lea eax, [ebp - 0x54]
mov dword [ebp - 4], 1
push eax
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
push 0
push 0
push 1
lea eax, [ebp - 0x54]
push eax
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
lea eax, [ebp - 0x54]
mov dword [ebp - 0x60], 0xc
mov dword [ebp - 0x5c], eax
lea eax, [ebp + 0x20]
push eax
lea eax, [ebp - 0x78]
mov dword [ebp - 0x58], 0
push eax
call fcn.00431ef0
mov esi, eax
lea eax, [ebp + 8]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x90]
push eax
call fcn.00431ef0
push esi
mov edx, eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40]
call fcn.00420980
add esp, 0x14
mov eax, dword [ebp - 0x7c]
cmp eax, 8
jb 0x430907
inc eax
lea ecx, [ebp - 0x90]
push eax
push dword [ebp - 0x90]
call fcn.00406ec0
xor eax, eax
mov dword [ebp - 0x7c], 7
mov dword [ebp - 0x80], 0
mov word [ebp - 0x90], ax
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x64]
cmp eax, 8
jb 0x430937
inc eax
lea ecx, [ebp - 0x78]
push eax
push dword [ebp - 0x78]
call fcn.00406ec0
xor eax, eax
mov dword [ebp - 0x64], 7
push 0xffffffffffffffff
push eax
mov word [ebp - 0x78], ax
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov word [ebp - 0x28], ax
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x14], 7
call fcn.004072e0
push 7
push 0
push str.Global_
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 7
call fcn.00409330
cmp eax, 0xffffffff
jne 0x4309eb
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x78]
push str.Global_
push eax
call fcn.00414c50
add esp, 0xc
mov esi, eax
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x4309d2
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x4309b5
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00406ec0
xor eax, eax
mov dword [ebp - 0x14], 7
push esi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.00409420
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x64]
cmp eax, 8
jb 0x4309eb
inc eax
lea ecx, [ebp - 0x78]
push eax
push dword [ebp - 0x78]
call fcn.00406ec0
push 6
push str._multp
lea ecx, [ebp - 0x28]
call fcn.00407020
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push 0
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [0x4ce830], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x430a41
mov eax, dword [0x4ce830]
test eax, eax
je 0x430a41
push eax
mov byte [edi], 1
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x4ce830], 0
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x430a56
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00406ec0
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
cmp eax, 8
jb 0x430a7f
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00406ec0
xor eax, eax
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x30], 0
cmp eax, 0x10
jb 0x430aa8
inc eax
lea ecx, [ebp + 8]
push eax
push dword [ebp + 8]
call fcn.00409a60
mov eax, dword [ebp + 0x34]
mov dword [ebp + 0x1c], 0xf
mov dword [ebp + 0x18], 0
mov byte [ebp + 8], 0
cmp eax, 0x10
jb 0x430acf
inc eax
lea ecx, [ebp + 0x20]
push eax
push dword [ebp + 0x20]
call fcn.00409a60
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00442377
mov esp, ebp
pop ebp
ret