Function at 0x459990
Capabilities:
Check mutex on windows

Disassembly:
push 0xffffffffffffffff
push 0x4ec190
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x52a6ec]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x52a6ec]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
push str.A946A6A9_917E_4949_B9BC_6BADA8C7FD63
xor ebp, ebp
push ebp
xor bl, bl
push ebp
mov byte [esp + 0x2c], bl
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
push esi
mov dword [esp + 0x28], esi
call fcn.0045c080
add esp, 4
test al, al
je 0x4599ff
push 0x1388
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
sete bl
mov byte [esp + 0x20], bl
mov dword [esp + 0x50], ebp
test bl, bl
je 0x459a3a
mov dword [esp + 0x14], 0x80000001
mov byte [esp + 0x50], 1
call fcn.0045d9a0
test al, al
je 0x459a48
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x459a33
cmp eax, 0x80000001
je 0x459a33
push eax
call dword [section..rdata]
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x459bb2
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
mov byte [esp + 0x50], 2
mov eax, dword [0x52a1ec]
mov edx, dword [eax + 0xc]
mov ecx, 0x52a1ec
call edx
add eax, 0x10
mov dword [esp + 0x18], eax
push 0x50bebc
push str.Events
push str.SoftwareGoogleCommonRlz
push str._s_s_s
lea eax, [esp + 0x28]
mov byte [esp + 0x60], 3
call fcn.0045e200
mov esi, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
add esp, 0x10
lea eax, [esp + 0x28]
push eax
mov edx, 0x20019
mov eax, esi
call fcn.00404dd0
cmp eax, ebp
je 0x459aea
lea eax, [esi - 0x10]
mov byte [esp + 0x50], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x459ad2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x28]
mov esi, dword [section..rdata]
cmp eax, ebp
je 0x459b8c
push eax
jmp 0x459b8a
mov ebx, dword [esp + 0x28]
xor edi, edi
push ebp
push ebp
push ebp
push ebp
lea edx, [esp + 0x44]
push edx
lea eax, [esp + 0x4c]
push eax
push edi
xor ecx, ecx
push ebx
mov word [esp + 0x58], cx
mov dword [esp + 0x54], 5
call dword [0x4f902c]
mov esi, eax
cmp esi, ebp
jne 0x459b55
xor eax, eax
cmp word [esp + 0x38], bp
je 0x459b55
inc eax
cmp word [esp + eax*2 + 0x38], bp
jne 0x459b24
cmp eax, 3
jne 0x459b55
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x40]
mov dword [esp + 0x20], ebp
call fcn.0045c5a0
add esp, 4
test al, al
je 0x459b55
cmp dword [esp + 0x1c], 4
je 0x459bd1
inc edi
cmp esi, ebp
je 0x459af0
mov byte [esp + 0x50], 2
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x459b7f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [section..rdata]
cmp ebx, ebp
je 0x459b8c
push ebx
call esi
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x459b9e
cmp eax, 0x80000001
je 0x459b9e
push eax
call esi
mov esi, dword [esp + 0x24]
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.004c9392
add esp, 0x40
ret
lea ecx, [esp + 0x18]
call fcn.0045ef50
lea esi, [esp + 0x28]
call fcn.00405e70
lea eax, [esp + 0x14]
call fcn.0045dec0
lea esi, [esp + 0x20]
call fcn.0045c160
xor al, al
jmp 0x459bb2