Function at 0x459ff0
Capabilities:
Check mutex on windows

Disassembly:
push 0xffffffffffffffff
push 0x5166b8
mov eax, dword fs:[0]
push eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x56c3c0]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x34]
push ecx
push edx
push esi
push eax
call fcn.00486410
add esp, 0x14
test eax, eax
jne 0x45a0ca
push 1
lea ecx, [esp + 0x30]
push ecx
mov ecx, 0x57148c
call fcn.0047c420
mov esi, eax
push 0x30
lea edx, [esp + 0x38]
push edx
mov ecx, 0x57148c
mov dword [esp + 0x24], 0
call fcn.0047c420
mov esi, dword [esi]
mov eax, dword [eax]
push 0x10
push esi
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45a09b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov dword [esp + 0x1c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45a0c3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x45a224
call fcn.0049f0da
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x45a0e4
push 0x80004005
call fcn.0044b810
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x34], eax
lea edi, [esi + 0x3e]
push edi
lea ecx, [esp + 0x38]
mov dword [esp + 0x20], 1
call fcn.0044c7e0
push edi
push 0x522aec
call fcn.00468970
mov ebp, dword [esp + 0x3c]
add esp, 8
push ebp
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
test eax, eax
je 0x45a1c5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x45a1d2
push 2
lea ecx, [esp + 0x28]
push ecx
mov ecx, 0x57148c
call fcn.0047c420
mov esi, eax
push 0x31
lea edx, [esp + 0x2c]
push edx
mov ecx, 0x57148c
mov byte [esp + 0x24], 2
call fcn.0047c420
mov esi, dword [esi]
mov eax, dword [eax]
push 0x10
push esi
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45a198
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0x1c], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45a1bd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x10]
jmp 0x45a0a2
push 0x522ad8
call fcn.00468970
add esp, 4
lea edi, [ebx + 0x51c]
mov ecx, 0x22b
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
push 0x10
lea ecx, [ebx + 0x41c]
push ebp
push ecx
movsb byte es:[edi], byte [esi]
call fcn.004d9b43
add esp, 0xc
mov ecx, ebx
call fcn.00456570
lea eax, [ebp - 0x10]
mov dword [esp + 0x1c], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x45a21f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0x14