Function at 0x412250
Capabilities:
Check mutex on windows

Disassembly:
push 0xffffffffffffffff
push 0x422408
mov eax, dword fs:[0]
push eax
sub esp, 0x264
mov eax, dword [0x43893c]
xor eax, esp
mov dword [esp + 0x260], eax
push ebx
push esi
push edi
mov eax, dword [0x43893c]
xor eax, esp
push eax
lea eax, [esp + 0x274]
mov dword fs:[0], eax
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x1f4
call esi
cmp byte [0x43840c], 0
jne 0x4122b0
push 0xfa
call esi
cmp byte [0x43840c], 0
je 0x4122a0
mov eax, dword [0x439430]
mov edi, dword [sym.imp.KERNEL32.dll_CreateMutexW]
test al, 1
jne 0x4122ee
push str.NewPPDMutex
push 0
or eax, 1
push 0
mov dword [0x439430], eax
call edi
push 0x423ea0
mov dword [0x43942c], eax
mov dword [0x439424], 0
call fcn.0041ef7f
add esp, 4
cmp dword [0x439424], 0
jne 0x4123a1
mov al, byte [0x43940c]
test al, al
jne 0x41232c
lea eax, [esp + 0x10]
push eax
call fcn.004118a0
add esp, 4
mov ecx, 0x439414
push eax
call dword [sym.imp.Qt5Core.dll_public:_class_QString____thiscall_QString::operator_class_QString__]
lea ecx, [esp + 0x10]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
mov al, byte [0x43940c]
movzx eax, al
push eax
push ecx
mov ecx, esp
push 0x439414
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_class_QString_const__]
call fcn.004119f0
add esp, 8
push 0xfa
call esi
lea eax, [esp + 0x10]
push eax
push 0
push 0
push 0
lea ecx, [esp + 0x3c]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QMessageLogger::constructor_char_const___int__char_const__]
mov ecx, eax
call dword [sym.imp.Qt5Core.dll_public:_class_QDebug___thiscall_QMessageLogger::debug_void_]
push str.ppd__g_sharedMemory.attached__
mov ecx, eax
mov dword [esp + 0x280], 0
call dword [sym.imp.Qt5Core.dll_public:_class_QDebug____thiscall_QDebug::operator___char_const__]
lea ecx, [esp + 0x10]
mov dword [esp + 0x27c], 0xffffffff
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QDebug::destructor_void_]
mov eax, 0x44c
jmp 0x4125d7
lea eax, [esp + 0x68]
push eax
push ecx
mov ecx, esp
push 0x439414
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_class_QString_const__]
mov eax, dword [0x439430]
test al, 1
jne 0x4123ec
push str.NewPPDMutex
push 0
or eax, 1
push 0
mov dword [0x439430], eax
call edi
push 0x423ea0
mov dword [0x43942c], eax
mov dword [0x439424], 0
call fcn.0041ef7f
add esp, 4
mov ecx, 0x439420
call fcn.004118d0
test al, al
jne 0x41240b
push 0xfa
call esi
mov eax, 0x3ec
jmp 0x4125d7
mov ebx, dword [esp + 0x68]
xor esi, esi
push ebx
push esi
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
jne 0x4124f0
push 0x22
push str.error:ppd_OpenProcess_processID_1
call dword [sym.imp.Qt5Core.dll_private:_static_struct_QTypedArrayData_unsigned_short_int_____cdecl_QString::fromAscii_helper_char_const___int_]
mov dword [esp + 0x18], eax
add esp, 4
mov byte [esp + 0x28], 0x20
mov ecx, esp
mov dword [esp + 0x280], 1
push dword [esp + 0x28]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QChar::constructor_struct_QLatin1Char_]
push 0xa
push edi
push ebx
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x24]
call dword [sym.imp.Qt5Core.dll_public:_class_QString___thiscall_QString::arg_unsigned_long_int__int__int__class_QChar_]
mov esi, eax
lea eax, [esp + 0x20]
mov byte [esp + 0x27c], 2
push eax
push edi
push edi
push edi
lea ecx, [esp + 0x3c]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QMessageLogger::constructor_char_const___int__char_const__]
mov ecx, eax
call dword [sym.imp.Qt5Core.dll_public:_class_QDebug___thiscall_QMessageLogger::debug_void_]
push esi
mov ecx, eax
mov byte [esp + 0x280], 3
call dword [sym.imp.Qt5Core.dll_public:_class_QDebug____thiscall_QDebug::operator___class_QString_const__]
lea ecx, [esp + 0x20]
mov byte [esp + 0x27c], 2
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QDebug::destructor_void_]
lea ecx, [esp + 0x18]
mov byte [esp + 0x27c], 1
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x10]
mov dword [esp + 0x27c], 0xffffffff
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea eax, [esp + 0x68]
push eax
call fcn.00412020
add esp, 4
mov eax, 0x42d
jmp 0x4125d7
push 0xfa
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x412572
cmp eax, 0x102
je 0x41256b
cmp eax, 0xffffffff
jne 0x4125ce
lea eax, [esp + 0x1c]
push eax
push 0
push 0
push 0
lea ecx, [esp + 0x50]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QMessageLogger::constructor_char_const___int__char_const__]
mov ecx, eax
call dword [sym.imp.Qt5Core.dll_public:_class_QDebug___thiscall_QMessageLogger::debug_void_]
push str.ppd_WAIT_FAILED
mov ecx, eax
mov dword [esp + 0x280], 5
call dword [sym.imp.Qt5Core.dll_public:_class_QDebug____thiscall_QDebug::operator___char_const__]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x27c], 0xffffffff
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QDebug::destructor_void_]
lea eax, [esp + 0x68]
push eax
call fcn.00412020
mov esi, 0x3ea
jmp 0x4125cb
mov esi, 0x3e8
jmp 0x4125ce
lea eax, [esp + 0x14]
push eax
push 0
push 0
push 0
lea ecx, [esp + 0x64]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QMessageLogger::constructor_char_const___int__char_const__]
mov ecx, eax
call dword [sym.imp.Qt5Core.dll_public:_class_QDebug___thiscall_QMessageLogger::debug_void_]
push str.ppd_WAIT_OBJECT_0
mov ecx, eax
mov dword [esp + 0x280], 4
call dword [sym.imp.Qt5Core.dll_public:_class_QDebug____thiscall_QDebug::operator___char_const__]
lea ecx, [esp + 0x14]
mov dword [esp + 0x27c], 0xffffffff
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QDebug::destructor_void_]
lea eax, [esp + 0x68]
push eax
call fcn.00412020
mov esi, 0x3e9
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
mov ecx, dword [esp + 0x274]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x260]
xor ecx, esp
call fcn.0041ef94
add esp, 0x270
ret