Function at 0x100789b0
Capabilities:
Check mutex on windows

Disassembly:
push 0xffffffffffffffff
push 0x1009ab88
mov eax, dword fs:[0]
push eax
sub esp, 0x264
mov eax, dword [0x100d4254]
xor eax, esp
mov dword [esp + 0x260], eax
push ebx
push esi
push edi
mov eax, dword [0x100d4254]
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 [0x100d3c5c], 0
jne 0x10078a10
push 0xfa
call esi
cmp byte [0x100d3c5c], 0
je 0x10078a00
mov eax, dword [0x100d636c]
mov edi, dword [sym.imp.KERNEL32.dll_CreateMutexW]
test al, 1
jne 0x10078a4e
push str.NewPPDMutex
push 0
or eax, 1
push 0
mov dword [0x100d636c], eax
call edi
push 0x1009c850
mov dword [0x100d6368], eax
mov dword [0x100d6360], 0
call fcn.10086f39
add esp, 4
cmp dword [0x100d6360], 0
jne 0x10078b01
mov al, byte [0x100d6348]
test al, al
jne 0x10078a8c
lea eax, [esp + 0x10]
push eax
call fcn.10078000
add esp, 4
mov ecx, 0x100d6350
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 [0x100d6348]
movzx eax, al
push eax
push ecx
mov ecx, esp
push 0x100d6350
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_class_QString_const__]
call fcn.10078150
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 0x10078d37
lea eax, [esp + 0x68]
push eax
push ecx
mov ecx, esp
push 0x100d6350
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_class_QString_const__]
mov eax, dword [0x100d636c]
test al, 1
jne 0x10078b4c
push str.NewPPDMutex
push 0
or eax, 1
push 0
mov dword [0x100d636c], eax
call edi
push 0x1009c850
mov dword [0x100d6368], eax
mov dword [0x100d6360], 0
call fcn.10086f39
add esp, 4
mov ecx, 0x100d635c
call fcn.10078030
test al, al
jne 0x10078b6b
push 0xfa
call esi
mov eax, 0x3ec
jmp 0x10078d37
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 0x10078c50
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.10078780
add esp, 4
mov eax, 0x42d
jmp 0x10078d37
push 0xfa
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x10078cd2
cmp eax, 0x102
je 0x10078ccb
cmp eax, 0xffffffff
jne 0x10078d2e
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.10078780
mov esi, 0x3ea
jmp 0x10078d2b
mov esi, 0x3e8
jmp 0x10078d2e
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.10078780
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.10086f4e
add esp, 0x270
ret