Function at 0x459740
Capabilities:
Check mutex on windows

Disassembly:
push 0xffffffffffffffff
push 0x4ec1e0
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push ebp
push esi
push edi
mov eax, dword [0x52a6ec]
xor eax, esp
push eax
lea eax, [esp + 0x38]
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 + 0x30], bl
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov edi, eax
push edi
mov dword [esp + 0x2c], edi
call fcn.0045c080
add esp, 4
test al, al
je 0x4597a4
push 0x1388
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
sete bl
mov byte [esp + 0x24], bl
mov dword [esp + 0x40], ebp
test bl, bl
je 0x459800
mov dword [esp + 0x14], 0x80000001
mov byte [esp + 0x40], 1
call fcn.0045d9a0
test al, al
jne 0x4597e3
call fcn.0045da90
test al, al
je 0x45980c
lea esi, [esp + 0x18]
mov dword [esp + 0x18], ebp
call fcn.0045d950
test eax, eax
js 0x4597e3
cmp dword [esp + 0x18], 1
jg 0x45980c
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x4597f9
cmp eax, 0x80000001
je 0x4597f9
push eax
call dword [section..rdata]
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x459978
call fcn.00459990
test al, al
je 0x4597e3
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebp
mov ebx, 2
mov byte [esp + 0x40], bl
mov eax, dword [0x52a1ec]
mov edx, dword [eax + 0xc]
mov ecx, 0x52a1ec
call edx
add eax, 0x10
mov dword [esp + 0x18], eax
push str.RLSs
push str.SoftwareGoogleCommonRlz
push 0x507648
lea eax, [esp + 0x24]
mov byte [esp + 0x4c], 3
call fcn.0045e200
mov esi, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
add esp, 0xc
lea eax, [esp + 0x2c]
push eax
mov edx, 0x20006
mov eax, esi
call fcn.00404dd0
test eax, eax
je 0x4598e4
lea eax, [esi - 0x10]
mov byte [esp + 0x40], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45989d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x2c]
mov esi, dword [section..rdata]
cmp eax, ebp
je 0x4598ae
push eax
call esi
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x4598c0
cmp eax, 0x80000001
je 0x4598c0
push eax
call esi
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret
mov ecx, dword [esp + 0x2c]
push 0x50bebc
push ecx
call dword [0x4f9068]
push 0x50bebc
lea edx, [esp + 0x30]
push edx
lea edi, [esp + 0x24]
lea esi, [esp + 0x28]
mov dword [esp + 0x24], ebx
call fcn.00414e80
cmp eax, ebp
je 0x459954
cmp eax, 0xea
je 0x459954
lea ecx, [esp + 0x18]
call fcn.0045ef50
lea esi, [esp + 0x2c]
call fcn.00405e70
lea eax, [esp + 0x14]
call fcn.0045dec0
lea esi, [esp + 0x24]
call fcn.0045c160
mov al, 1
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret
lea ecx, [esp + 0x18]
call fcn.0045ef50
lea esi, [esp + 0x2c]
call fcn.00405e70
lea eax, [esp + 0x14]
call fcn.0045dec0
lea esi, [esp + 0x24]
call fcn.0045c160
xor al, al
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret