Function at 0x45e980
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d92e4
mov eax, dword fs:[0]
push eax
sub esp, 0x46c
mov eax, dword [0x56b06c]
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 ebx, ecx
sub esp, 0x18
xor eax, eax
mov ecx, esp
push 0x24
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
push str.EB73A3BC_D90F_4935_9FD9_62B371BF0A82
mov word [ecx], ax
call fcn.00412c70
mov dl, 1
lea ecx, [ebp - 0x28]
call fcn.00423e60
add esp, 0x18
mov dword [ebp - 4], 0
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
mov dword [ebp - method.Mutex.virtual_0], vtable.Mutex.0
cmovae eax, dword [ebp - 0x28]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov edi, eax
mov dword [ebp - 0x464], edi
push 0
push edi
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x45ea2b
mov esi, 2
jmp 0x45ed60
push 0
lea eax, [ebp - 0x478]
mov dword [ebp - 0x478], 1
push eax
lea eax, [ebp - 0x424]
mov dword [ebp - 0x474], 0
push eax
mov dword [ebp - 0x470], 0
mov dword [ebp - 0x46c], 0
call dword [sym.imp.gdiplus.dll_GdiplusStartup]
xorps xmm0, xmm0
mov dword [ebp - 0x460], 0x54c9f4
movups xmmword [ebp - 0x45c], xmm0
mov dword [ebp - 0x44c], 0
mov dword [ebp - 0x448], 0
mov byte [ebp - 4], 3
mov edi, dword [0x573818]
add edi, 0x10
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov esi, dword [0x573964]
push 4
mov dword [ebp - 0x428], eax
mov ecx, dword [esi + 8]
inc ecx
push ecx
push dword [esi]
call fcn.004b9abf
add esp, 0xc
test eax, eax
je 0x45eb11
mov dword [esi], eax
mov eax, dword [esi + 8]
push 4
inc eax
push eax
push dword [esi + 4]
call fcn.004b9abf
add esp, 0xc
test eax, eax
je 0x45eb11
mov ecx, dword [esi + 8]
mov dword [esi + 4], eax
lea edx, [ecx*4]
mov ecx, dword [esi]
add ecx, edx
je 0x45eb02
mov eax, dword [ebp - 0x428]
mov dword [ecx], eax
mov eax, dword [esi + 4]
add eax, edx
je 0x45eb0e
lea ecx, [ebp - 0x460]
mov dword [eax], ecx
inc dword [esi + 8]
mov esi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push edi
call esi
call fcn.00439400
cmp al, 1
jne 0x45eb34
call fcn.00439940
cmp eax, 0xb
je 0x45eb34
xor esi, esi
jmp 0x45ecec
push ebx
lea ecx, [ebp - 0x420]
call fcn.004560d0
mov byte [ebp - 4], 4
cmp dword [ebp - 0x3fc], 0
jne 0x45eb58
lea ecx, [ebp - 0x420]
call fcn.00463f80
mov eax, dword [ebp - 0x40c]
test eax, eax
jne 0x45eb80
call fcn.004921d1
mov dword [ebp - 0x40c], eax
test eax, eax
jne 0x45eb80
push 0xe
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor esi, esi
jmp 0x45ece1
push 0
push 0
push eax
call fcn.004922d3
lea eax, [ebp - 0x420]
mov dword [ebp - 0x418], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0x56bfe4
mov dword [ebp - 0x414], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x56bffc]
mov dword [ebp - 0x410], eax
lea eax, [ebp - 0x418]
push 0x56bfe4
mov dword [0x56bffc], eax
call esi
push 0
push 0x45b170
push 0
push dword [ebp - 0x3fc]
push dword [0x572dac]
call dword [sym.imp.USER32.dll_CreateDialogIndirectParamW]
test eax, eax
jne 0x45ebf0
xor esi, esi
jmp 0x45ece1
push 5
push dword [ebp - 0x41c]
call dword [sym.imp.USER32.dll_ShowWindow]
mov edi, dword [sym.imp.USER32.dll_PeekMessageW]
mov ebx, 1
xor esi, esi
nop dword [eax + eax]
test ebx, ebx
je 0x45ec40
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x444]
push eax
call edi
test eax, eax
jne 0x45ec40
mov eax, dword [ebp - 0x460]
lea ecx, [ebp - 0x460]
push esi
call dword [eax + 4]
inc esi
test eax, eax
jne 0x45ec14
xor ebx, ebx
push 0
push 0
push 0
lea eax, [ebp - 0x444]
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
cmp eax, 0xffffffff
je 0x45ec10
test eax, eax
je 0x45ecd6
lea eax, [ebp - 0x444]
push eax
mov eax, dword [ebp - 0x460]
lea ecx, [ebp - 0x460]
call dword [eax]
test eax, eax
jne 0x45ec8f
lea eax, [ebp - 0x444]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x444]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
mov eax, dword [ebp - 0x440]
cmp eax, 0x118
ja 0x45ecaa
je 0x45ecc6
cmp eax, 0xf
je 0x45ecc6
cmp eax, 0xa0
jmp 0x45ecaf
cmp eax, 0x200
je 0x45ecc6
mov ecx, 1
xor eax, eax
test ecx, ecx
mov ebx, ecx
cmove eax, esi
mov esi, eax
jmp 0x45ec10
xor ecx, ecx
xor eax, eax
test ecx, ecx
cmove eax, esi
mov esi, eax
jmp 0x45ec10
mov esi, dword [ebp - 0x43c]
call fcn.0046e2b0
lea ecx, [ebp - 0x420]
call fcn.00456780
mov eax, dword [ebp - 0x450]
test eax, eax
je 0x45ed09
push eax
call fcn.004b4845
add esp, 4
mov dword [ebp - 0x450], 0
mov eax, dword [ebp - 0x45c]
mov dword [ebp - 0x44c], 0
mov dword [ebp - 0x448], 0
test eax, eax
je 0x45ed3a
push eax
call fcn.004b4845
add esp, 4
mov dword [ebp - 0x45c], 0
push dword [ebp - 0x424]
mov dword [ebp - 0x458], 0
mov dword [ebp - 0x454], 0
call dword [sym.imp.gdiplus.dll_GdiplusShutdown]
mov edi, dword [ebp - 0x464]
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x45eda4
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45ed9a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45edc2
push edx
push ecx
call fcn.004835cc
add esp, 8
mov eax, esi
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.0048358b
mov esp, ebp
pop ebp
ret
call fcn.004b1db8
int3